C# 클래스 Xwt.GtkBackend.Util

파일 보기 프로젝트 열기: mono/xwt

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

BuildTargetTable() 공개 정적인 메소드

public static BuildTargetTable ( TransferDataType types ) : Gtk.TargetList
types TransferDataType
리턴 Gtk.TargetList

GetBestSizeFit() 공개 정적인 메소드

public static GetBestSizeFit ( double size, Gtk availablesizes = null ) : Gtk.IconSize
size double
availablesizes Gtk
리턴 Gtk.IconSize

GetBestSizeFitSize() 공개 정적인 메소드

public static GetBestSizeFitSize ( double size ) : double
size double
리턴 double

GetDefaultScaleFactor() 공개 정적인 메소드

public static GetDefaultScaleFactor ( ) : double
리턴 double

GetScaleFactor() 공개 정적인 메소드

public static GetScaleFactor ( Gtk w ) : double
w Gtk
리턴 double

GetSelectionData() 공개 정적인 메소드

public static GetSelectionData ( ApplicationContext context, Gtk data, TransferDataStore target ) : bool
context ApplicationContext
data Gtk
target TransferDataStore
리턴 bool

SetDragData() 공개 정적인 메소드

public static SetDragData ( TransferDataSource data, Gtk args ) : void
data TransferDataSource
args Gtk
리턴 void

SetSelectionData() 공개 정적인 메소드

public static SetSelectionData ( Gtk data, string atomType, object val ) : void
data Gtk
atomType string
val object
리턴 void

ToGtkStock() 공개 정적인 메소드

public static ToGtkStock ( string id ) : GtkImage
id string
리턴 GtkImage

WithDefaultSize() 공개 정적인 메소드

public static WithDefaultSize ( this image, Gtk defaultIconSize ) : ImageDescription
image this
defaultIconSize Gtk
리턴 ImageDescription