How would I add blur to a DFrame?

I’m making a menu for a standalone RP door system. I have a base DFrame that i want to set the material to.
I’ve looked on the forums and only found how to blur rounded boxes in GM:HudPaint, not for any derma windows.
I don’t know where to start or how to recreate it in derma. Also, i’ve searched on google and wasn’t able to find a thing about blur’ing a DFrame.
If someone could lead me in the right direction, that would be awesome.

EDIT:** Oh, I guess you want the actual FRAME to be blurred, maybe try


That just darkens and blurs the screen behind the DFrame. It doesn’t do anything to the frame itself.

[editline]26th January 2016[/editline]

local blur = Material("pp/blurscreen")
	local function DrawBlur(panel, amount)
	local x, y = panel:LocalToScreen(0, 0)
	local scrW, scrH = ScrW(), ScrH()
	surface.SetDrawColor(255, 255, 255)
	for i = 1, 3 do
		blur:SetFloat("$blur", (i / 3) * (amount or 6))
		surface.DrawTexturedRect(x * -1, y * -1, scrW, scrH)

Dug deep and found this function on the forums. It allows you to call this

DrawBlur(self, 3)

Call that in panel.Paint function and you will be able to set the amount of blur. I used 3 for the amount.