C# Class Tangerine.IconThemeUtils

ファイルを表示 Open project: snorp/tangerine

Public Methods

Method Description
HasIcon ( string name ) : bool
LoadIcon ( int size ) : Gdk.Pixbuf
LoadIcon ( string name, int size ) : Gdk.Pixbuf
LoadIcon ( string name, int size, bool fallBackOnResource ) : Gdk.Pixbuf
SetWindowIcon ( Gtk window ) : void
SetWindowIcon ( Gtk window, string iconName ) : void

Private Methods

Method Description
g_object_class_find_property ( IntPtr klass, string name ) : IntPtr
g_object_set ( IntPtr obj, string property, IntPtr value, IntPtr nullarg ) : void
g_type_class_peek ( IntPtr gtype ) : IntPtr
gtk_icon_theme_get_default ( ) : IntPtr
gtk_icon_theme_has_icon ( IntPtr theme, string name ) : bool
gtk_icon_theme_load_icon ( IntPtr theme, string name, int size, int flags, IntPtr error ) : IntPtr

Method Details

HasIcon() public static method

public static HasIcon ( string name ) : bool
name string
return bool

LoadIcon() public static method

public static LoadIcon ( int size ) : Gdk.Pixbuf
size int
return Gdk.Pixbuf

LoadIcon() public static method

public static LoadIcon ( string name, int size ) : Gdk.Pixbuf
name string
size int
return Gdk.Pixbuf

LoadIcon() public static method

public static LoadIcon ( string name, int size, bool fallBackOnResource ) : Gdk.Pixbuf
name string
size int
fallBackOnResource bool
return Gdk.Pixbuf

SetWindowIcon() public static method

public static SetWindowIcon ( Gtk window ) : void
window Gtk
return void

SetWindowIcon() public static method

public static SetWindowIcon ( Gtk window, string iconName ) : void
window Gtk
iconName string
return void