C# Class Xwt.GtkBackend.Gtk3Extensions

Mostra file Open project: mono/xwt Class Usage Examples

Public Methods

Method Description
AddContent ( this dialog, Gtk widget, bool expand = true, bool fill = true, uint padding ) : 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
GetFromSurface ( Cairo surface, int src_x, int src_y, int width, int height ) : Gdk.Pixbuf
GetHasWindow ( this widget ) : bool
GetSelectedAction ( this context ) : Gdk.DragAction
GetSize ( this cr, Gtk widget, Gdk &cell_area, int &x_offset, int &y_offset, int &width, int &height ) : void
GetSize ( this window, int &w, int &h ) : void
GetSliderPosition ( this scale ) : double
GetText ( this args ) : string
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
SetTextColumn ( this comboBox, int column ) : void
ToGtk3StateFlags ( this state ) : Gtk.StateFlags
ToPixbuf ( this window, int src_x, int src_y, int width, int height ) : Gdk.Pixbuf

Private Methods

Method Description
gdk_pixbuf_get_from_surface ( IntPtr surface, int src_x, int src_y, int width, int height ) : IntPtr
gdk_pixbuf_get_from_window ( IntPtr win, int src_x, int src_y, int width, int height ) : IntPtr

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

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

GetFromSurface() public static method

public static GetFromSurface ( Cairo surface, int src_x, int src_y, int width, int height ) : Gdk.Pixbuf
surface Cairo
src_x int
src_y int
width int
height int
return Gdk.Pixbuf

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

GetSize() public static method

public static GetSize ( this cr, Gtk widget, Gdk &cell_area, int &x_offset, int &y_offset, int &width, int &height ) : void
cr this
widget Gtk
cell_area Gdk
x_offset int
y_offset int
width int
height int
return void

GetSize() public static method

public static GetSize ( this window, int &w, int &h ) : void
window this
w int
h int
return void

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

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

SetTextColumn() public static method

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

ToGtk3StateFlags() public static method

public static ToGtk3StateFlags ( this state ) : Gtk.StateFlags
state this
return Gtk.StateFlags

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