DFrame.GetBackgroundBlur

From GMod Wiki

Jump to: navigation, search
Function
Syntax DFrame:SetBackgroundBlur( )
Description:
Returns true if the Frames background is blurred, false if not.
Returns: nil
In Object: DFrame
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DFrame.GetBackgroundBlur]DFrame.GetBackgroundBlur [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionReturns the background blur.
Used onNewerClient.png
Code
 
local DermaPanel = vgui.Create( "DFrame" )
DermaPanel:SetPos( 50,50 ) 
DermaPanel:SetSize( 1000, 900 )
DermaPanel:SetTitle( "Testing Derma Stuff" ) 
DermaPanel:SetBackgroundBlur( true )
print(DermaPanel:GetBackgroundBlur())
DermaPanel:MakePopup()
 
Outputtrue
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox