C# 클래스 LongoMatch.Gui.Helpers.Misc

파일 보기 프로젝트 열기: GNOME/longomatch 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
lastFilename string
missingIcons System.Collections.Hashtable

공개 메소드들

메소드 설명
ByteToDouble ( byte val ) : double
DiscoverFile ( string filename, object parent ) : System.MediaFile
FillEncodingFormat ( Gtk.ComboBox encodingBox, EncodingProfile def ) : ListStore
FillImageFormat ( Gtk.ComboBox formatBox, List standards, VideoStandard def ) : ListStore
FillQuality ( Gtk.ComboBox qualityBox, EncodingQuality def ) : ListStore
GetFileFilter ( ) : Gtk.FileFilter
LoadIcon ( string name, Gtk size, IconLookupFlags flags = IconLookupFlags.ForceSvg ) : Gdk.Pixbuf

Loads the icon for a given name and size.

LoadIcon ( string name, int size, IconLookupFlags flags = IconLookupFlags.ForceSvg ) : Gdk.Pixbuf

Loads the icon for a given name and size.

LoadMissingIcon ( Gtk size ) : Gdk.Pixbuf

Loads the missing icon for a given Gtk.IconSize.

LoadMissingIcon ( int sz ) : Gdk.Pixbuf

Loads the missing icon for a given size in pixels.

LoadStockIcon ( Gtk widget, string name, Gtk size ) : Gdk.Pixbuf

Loads the stock icon for a given name and size.

OpenFile ( object parent ) : System.MediaFile
OpenImage ( Gtk.Widget widget ) : Gdk.Pixbuf
RightButtonClicked ( Gdk evnt ) : bool
Scale ( Gdk.Pixbuf pixbuf, int max_width, int max_height, bool dispose = true ) : Gdk.Pixbuf
SetFocus ( Gtk.Container w, bool canFocus ) : void
ShortToDouble ( ushort val ) : double
ToGdkColor ( Color color ) : Gdk.Color
ToLgmColor ( Gdk.Color color, ushort alpha = ushort.MaxValue ) : Color

비공개 메소드들

메소드 설명
IsSkipedType ( Gtk.Widget w, Type skipTypes ) : bool

메소드 상세

ByteToDouble() 공개 정적인 메소드

public static ByteToDouble ( byte val ) : double
val byte
리턴 double

DiscoverFile() 공개 정적인 메소드

public static DiscoverFile ( string filename, object parent ) : System.MediaFile
filename string
parent object
리턴 System.MediaFile

FillEncodingFormat() 공개 정적인 메소드

public static FillEncodingFormat ( Gtk.ComboBox encodingBox, EncodingProfile def ) : ListStore
encodingBox Gtk.ComboBox
def EncodingProfile
리턴 Gtk.ListStore

FillImageFormat() 공개 정적인 메소드

public static FillImageFormat ( Gtk.ComboBox formatBox, List standards, VideoStandard def ) : ListStore
formatBox Gtk.ComboBox
standards List
def LongoMatch.Core.Common.VideoStandard
리턴 Gtk.ListStore

FillQuality() 공개 정적인 메소드

public static FillQuality ( Gtk.ComboBox qualityBox, EncodingQuality def ) : ListStore
qualityBox Gtk.ComboBox
def LongoMatch.Core.Common.EncodingQuality
리턴 Gtk.ListStore

GetFileFilter() 공개 정적인 메소드

public static GetFileFilter ( ) : Gtk.FileFilter
리턴 Gtk.FileFilter

LoadIcon() 공개 정적인 메소드

Loads the icon for a given name and size.
public static LoadIcon ( string name, Gtk size, IconLookupFlags flags = IconLookupFlags.ForceSvg ) : Gdk.Pixbuf
name string Icon Name.
size Gtk Icon Size as a Gtk.IconSize.
flags IconLookupFlags Lookup Flags like ForceSVG.
리턴 Gdk.Pixbuf

LoadIcon() 공개 정적인 메소드

Loads the icon for a given name and size.
public static LoadIcon ( string name, int size, IconLookupFlags flags = IconLookupFlags.ForceSvg ) : Gdk.Pixbuf
name string Icon Name.
size int Icon Size in pixels.
flags IconLookupFlags Lookup Flags like ForceSVG.
리턴 Gdk.Pixbuf

LoadMissingIcon() 공개 정적인 메소드

Loads the missing icon for a given Gtk.IconSize.
public static LoadMissingIcon ( Gtk size ) : Gdk.Pixbuf
size Gtk Size as a Gtk.IconSize.
리턴 Gdk.Pixbuf

LoadMissingIcon() 공개 정적인 메소드

Loads the missing icon for a given size in pixels.
public static LoadMissingIcon ( int sz ) : Gdk.Pixbuf
sz int Size in pixels.
리턴 Gdk.Pixbuf

LoadStockIcon() 공개 정적인 메소드

Loads the stock icon for a given name and size.
public static LoadStockIcon ( Gtk widget, string name, Gtk size ) : Gdk.Pixbuf
widget Gtk Widget to get the icon for. Themes can modify the stock icon for a specific widget.
name string Name.
size Gtk Size as Gtk.IconSize.
리턴 Gdk.Pixbuf

OpenFile() 공개 정적인 메소드

public static OpenFile ( object parent ) : System.MediaFile
parent object
리턴 System.MediaFile

OpenImage() 공개 정적인 메소드

public static OpenImage ( Gtk.Widget widget ) : Gdk.Pixbuf
widget Gtk.Widget
리턴 Gdk.Pixbuf

RightButtonClicked() 공개 정적인 메소드

public static RightButtonClicked ( Gdk evnt ) : bool
evnt Gdk
리턴 bool

Scale() 공개 정적인 메소드

public static Scale ( Gdk.Pixbuf pixbuf, int max_width, int max_height, bool dispose = true ) : Gdk.Pixbuf
pixbuf Gdk.Pixbuf
max_width int
max_height int
dispose bool
리턴 Gdk.Pixbuf

SetFocus() 공개 정적인 메소드

public static SetFocus ( Gtk.Container w, bool canFocus ) : void
w Gtk.Container
canFocus bool
리턴 void

ShortToDouble() 공개 정적인 메소드

public static ShortToDouble ( ushort val ) : double
val ushort
리턴 double

ToGdkColor() 공개 정적인 메소드

public static ToGdkColor ( Color color ) : Gdk.Color
color LongoMatch.Core.Common.Color
리턴 Gdk.Color

ToLgmColor() 공개 정적인 메소드

public static ToLgmColor ( Gdk.Color color, ushort alpha = ushort.MaxValue ) : Color
color Gdk.Color
alpha ushort
리턴 LongoMatch.Core.Common.Color

프로퍼티 상세

lastFilename 공개적으로 정적으로 프로퍼티

public static string lastFilename
리턴 string

missingIcons 공개적으로 정적으로 프로퍼티

public static Hashtable,System.Collections missingIcons
리턴 System.Collections.Hashtable