C# Class Xwt.GtkBackend.Gtk2Extensions

Mostra file Open project: mono/xwt

Public Methods

Method Description
AddContent ( this dialog, Gtk widget, bool expand = true, bool fill = true, uint padding ) : void
AddSignalHandler ( this widget, string name, Delegate handler, Type args_type ) : void
FixContainerLeak ( this c ) : void
GetBackgroundColor ( this widget ) : Xwt.Drawing.Color
GetBackgroundColor ( this widget, Gtk state ) : Xwt.Drawing.Color
GetCellRenderers ( this column ) : Gtk.CellRenderer[]
GetForegroundColor ( this widget ) : Xwt.Drawing.Color
GetForegroundColor ( this widget, Gtk state ) : Xwt.Drawing.Color
GetHasWindow ( this widget ) : bool
GetSelectedAction ( this context ) : Gdk.DragAction
GetSliderPosition ( this scale ) : double
GetText ( this args ) : string
GetTextColor ( this widget ) : Xwt.Drawing.Color
GetTextColor ( this widget, Gtk state ) : Xwt.Drawing.Color
ListTargets ( this context ) : Gdk.Atom[]
RemoveSignalHandler ( this widget, string name, Delegate handler ) : void
RenderPlaceholderText ( this entry, Gtk args, string placeHolderText, Pango &layout ) : void
SetAppPaintable ( this widget, bool value ) : void
SetBackgroundColor ( this widget, Gtk state, Xwt color ) : void
SetBackgroundColor ( this widget, Xwt color ) : void
SetChildBackgroundColor ( this container, Xwt color ) : void
SetContentSpacing ( this dialog, int spacing ) : void
SetForegroundColor ( this widget, Gtk state, Xwt color ) : void
SetForegroundColor ( this widget, Xwt color ) : void
SetHasWindow ( this widget, bool value ) : void
SetStateActive ( this widget ) : void
SetStateNormal ( this widget ) : void
SetTextColor ( this widget, Gtk state, Xwt color ) : void
SetTextColor ( this widget, Xwt color ) : void
SetTextColumn ( this comboBox, int column ) : void
ToPixbuf ( this window, int src_x, int src_y, int width, int height ) : Gdk.Pixbuf

Private Methods

Method Description
RenderPlaceholderText_internal ( Gtk widget, Gtk args, string placeHolderText, Pango &layout, float xalign, float yalign, int xpad, int ypad ) : void

Method Details

AddContent() public static method

public static AddContent ( this dialog, Gtk widget, bool expand = true, bool fill = true, uint padding ) : void
dialog this
widget Gtk
expand bool
fill bool
padding uint
return void

AddSignalHandler() public static method

public static AddSignalHandler ( this widget, string name, Delegate handler, Type args_type ) : void
widget this
name string
handler System.Delegate
args_type System.Type
return void

FixContainerLeak() public static method

public static FixContainerLeak ( this c ) : void
c this
return void

GetBackgroundColor() public static method

public static GetBackgroundColor ( this widget ) : Xwt.Drawing.Color
widget this
return Xwt.Drawing.Color

GetBackgroundColor() public static method

public static GetBackgroundColor ( this widget, Gtk state ) : Xwt.Drawing.Color
widget this
state Gtk
return Xwt.Drawing.Color

GetCellRenderers() public static method

public static GetCellRenderers ( this column ) : Gtk.CellRenderer[]
column this
return Gtk.CellRenderer[]

GetForegroundColor() public static method

public static GetForegroundColor ( this widget ) : Xwt.Drawing.Color
widget this
return Xwt.Drawing.Color

GetForegroundColor() public static method

public static GetForegroundColor ( this widget, Gtk state ) : Xwt.Drawing.Color
widget this
state Gtk
return Xwt.Drawing.Color

GetHasWindow() public static method

public static GetHasWindow ( this widget ) : bool
widget this
return bool

GetSelectedAction() public static method

public static GetSelectedAction ( this context ) : Gdk.DragAction
context this
return Gdk.DragAction

GetSliderPosition() public static method

public static GetSliderPosition ( this scale ) : double
scale this
return double

GetText() public static method

public static GetText ( this args ) : string
args this
return string

GetTextColor() public static method

public static GetTextColor ( this widget ) : Xwt.Drawing.Color
widget this
return Xwt.Drawing.Color

GetTextColor() public static method

public static GetTextColor ( this widget, Gtk state ) : Xwt.Drawing.Color
widget this
state Gtk
return Xwt.Drawing.Color

ListTargets() public static method

public static ListTargets ( this context ) : Gdk.Atom[]
context this
return Gdk.Atom[]

RemoveSignalHandler() public static method

public static RemoveSignalHandler ( this widget, string name, Delegate handler ) : void
widget this
name string
handler System.Delegate
return void

RenderPlaceholderText() public static method

public static RenderPlaceholderText ( this entry, Gtk args, string placeHolderText, Pango &layout ) : void
entry this
args Gtk
placeHolderText string
layout Pango
return void

SetAppPaintable() public static method

public static SetAppPaintable ( this widget, bool value ) : void
widget this
value bool
return void

SetBackgroundColor() public static method

public static SetBackgroundColor ( this widget, Gtk state, Xwt color ) : void
widget this
state Gtk
color Xwt
return void

SetBackgroundColor() public static method

public static SetBackgroundColor ( this widget, Xwt color ) : void
widget this
color Xwt
return void

SetChildBackgroundColor() public static method

public static SetChildBackgroundColor ( this container, Xwt color ) : void
container this
color Xwt
return void

SetContentSpacing() public static method

public static SetContentSpacing ( this dialog, int spacing ) : void
dialog this
spacing int
return void

SetForegroundColor() public static method

public static SetForegroundColor ( this widget, Gtk state, Xwt color ) : void
widget this
state Gtk
color Xwt
return void

SetForegroundColor() public static method

public static SetForegroundColor ( this widget, Xwt color ) : void
widget this
color Xwt
return void

SetHasWindow() public static method

public static SetHasWindow ( this widget, bool value ) : void
widget this
value bool
return void

SetStateActive() public static method

public static SetStateActive ( this widget ) : void
widget this
return void

SetStateNormal() public static method

public static SetStateNormal ( this widget ) : void
widget this
return void

SetTextColor() public static method

public static SetTextColor ( this widget, Gtk state, Xwt color ) : void
widget this
state Gtk
color Xwt
return void

SetTextColor() public static method

public static SetTextColor ( this widget, Xwt color ) : void
widget this
color Xwt
return void

SetTextColumn() public static method

public static SetTextColumn ( this comboBox, int column ) : void
comboBox this
column int
return void

ToPixbuf() public static method

public static ToPixbuf ( this window, int src_x, int src_y, int width, int height ) : Gdk.Pixbuf
window this
src_x int
src_y int
width int
height int
return Gdk.Pixbuf