C# Class Xwt.GtkBackend.Util

Afficher le fichier Open project: mono/xwt

Méthodes publiques

Méthode Description
BuildTargetTable ( TransferDataType types ) : Gtk.TargetList
GetBestSizeFit ( double size, Gtk availablesizes = null ) : Gtk.IconSize
GetBestSizeFitSize ( double size ) : double
GetDefaultScaleFactor ( ) : double
GetScaleFactor ( Gtk w ) : double
GetSelectionData ( ApplicationContext context, Gtk data, TransferDataStore target ) : bool
SetDragData ( TransferDataSource data, Gtk args ) : void
SetSelectionData ( Gtk data, string atomType, object val ) : void
ToGtkStock ( string id ) : GtkImage
WithDefaultSize ( this image, Gtk defaultIconSize ) : ImageDescription

Private Methods

Méthode Description
AtomToType ( string targetName ) : TransferDataType
CreateTargetEntries ( TransferDataType type ) : Gtk.TargetEntry[]
Dispose ( this cr ) : void
GetDragTypes ( Gdk dropTypes ) : TransferDataType[]
GetTarget ( this cr ) : Cairo.Surface
SetSource ( this cr, Cairo pattern ) : void
SetSourceColor ( this cr, Cairo color ) : void
Util ( ) : System

Method Details

BuildTargetTable() public static méthode

public static BuildTargetTable ( TransferDataType types ) : Gtk.TargetList
types TransferDataType
Résultat Gtk.TargetList

GetBestSizeFit() public static méthode

public static GetBestSizeFit ( double size, Gtk availablesizes = null ) : Gtk.IconSize
size double
availablesizes Gtk
Résultat Gtk.IconSize

GetBestSizeFitSize() public static méthode

public static GetBestSizeFitSize ( double size ) : double
size double
Résultat double

GetDefaultScaleFactor() public static méthode

public static GetDefaultScaleFactor ( ) : double
Résultat double

GetScaleFactor() public static méthode

public static GetScaleFactor ( Gtk w ) : double
w Gtk
Résultat double

GetSelectionData() public static méthode

public static GetSelectionData ( ApplicationContext context, Gtk data, TransferDataStore target ) : bool
context ApplicationContext
data Gtk
target TransferDataStore
Résultat bool

SetDragData() public static méthode

public static SetDragData ( TransferDataSource data, Gtk args ) : void
data TransferDataSource
args Gtk
Résultat void

SetSelectionData() public static méthode

public static SetSelectionData ( Gtk data, string atomType, object val ) : void
data Gtk
atomType string
val object
Résultat void

ToGtkStock() public static méthode

public static ToGtkStock ( string id ) : GtkImage
id string
Résultat GtkImage

WithDefaultSize() public static méthode

public static WithDefaultSize ( this image, Gtk defaultIconSize ) : ImageDescription
image this
defaultIconSize Gtk
Résultat ImageDescription