C# 클래스 GnomeSubtitles.Core.Util

파일 보기 프로젝트 열기: GNOME/gnome-subtitles

공개 프로퍼티들

프로퍼티 타입 설명
SpinButtonTimeWidthChars int

공개 메소드들

메소드 설명
ColumnWidth ( Gtk.Widget widget, string text ) : int
CreateTreeViewColumn ( string title, int width, Gtk.CellRenderer cell, TreeCellDataFunc dataFunction ) : Gtk.TreeViewColumn
GetFormattedText ( string text ) : string
GetSystemNewlineType ( ) : NewlineType
IntToPath ( int index ) : Gtk.TreePath

Returns a TreePath corresponding to the specified index.

IntsToPaths ( int indices ) : Gtk.TreePath[]

Returns an array of TreePath from an array of ints.

IsPathValid ( Gtk.TreePath path ) : bool
MillisecondsToTimeText ( int milliseconds ) : string
OnTimeInput ( object o, Gtk.InputArgs args ) : void
OnTimeOutput ( object o, OutputArgs args ) : void
OpenBugReport ( ) : void
OpenSendEmail ( string email ) : void
OpenUrl ( string url ) : void
PathNext ( Gtk.TreePath path ) : Gtk.TreePath

Returns the path that succeeds the specified path.

PathPrevious ( Gtk.TreePath path ) : Gtk.TreePath

Returns the path that precedes the specified path.

PathToInt ( Gtk.TreePath path ) : int

Returns the index of a TreePath.

PathsAreEqual ( Gtk.TreePath path1, Gtk.TreePath path2 ) : bool

Checks whether two path are equal. They are considered equal if they have the same indice.

QuoteFilename ( string filename ) : string

Quotes a filename.

SecondsToTimeText ( double seconds ) : string
SetSpinButtonAdjustment ( Gtk.SpinButton spinButton, System.TimeSpan upperLimit, bool canNegate ) : void
SetSpinButtonAdjustment ( Gtk.SpinButton spinButton, int upperLimit, bool canNegate ) : void
SetSpinButtonMaxAdjustment ( Gtk.SpinButton spinButton, TimingMode timingMode, bool toNegate ) : void
SetSpinButtonTimingMode ( Gtk.SpinButton spinButton, TimingMode timingMode ) : void
TextWidth ( Gtk.Widget widget, string text, int margins ) : int
TimeSpanToText ( System.TimeSpan time ) : string

Converts a timespan to a text representation.

The resulting string is in the format [-]hh:mm:ss.fff. This format is accepted by TimeSpan.Parse.

TimeTextToMilliseconds ( string text ) : int
ToString ( float number ) : string

Returns the invariant culture string of a number.

메소드 상세

ColumnWidth() 공개 정적인 메소드

public static ColumnWidth ( Gtk.Widget widget, string text ) : int
widget Gtk.Widget
text string
리턴 int

CreateTreeViewColumn() 공개 정적인 메소드

public static CreateTreeViewColumn ( string title, int width, Gtk.CellRenderer cell, TreeCellDataFunc dataFunction ) : Gtk.TreeViewColumn
title string
width int
cell Gtk.CellRenderer
dataFunction TreeCellDataFunc
리턴 Gtk.TreeViewColumn

GetFormattedText() 공개 정적인 메소드

public static GetFormattedText ( string text ) : string
text string
리턴 string

GetSystemNewlineType() 공개 정적인 메소드

public static GetSystemNewlineType ( ) : NewlineType
리턴 NewlineType

IntToPath() 공개 정적인 메소드

Returns a TreePath corresponding to the specified index.
public static IntToPath ( int index ) : Gtk.TreePath
index int
리턴 Gtk.TreePath

IntsToPaths() 공개 정적인 메소드

Returns an array of TreePath from an array of ints.
public static IntsToPaths ( int indices ) : Gtk.TreePath[]
indices int
리턴 Gtk.TreePath[]

IsPathValid() 공개 정적인 메소드

public static IsPathValid ( Gtk.TreePath path ) : bool
path Gtk.TreePath
리턴 bool

MillisecondsToTimeText() 공개 정적인 메소드

public static MillisecondsToTimeText ( int milliseconds ) : string
milliseconds int
리턴 string

OnTimeInput() 공개 정적인 메소드

public static OnTimeInput ( object o, Gtk.InputArgs args ) : void
o object
args Gtk.InputArgs
리턴 void

OnTimeOutput() 공개 정적인 메소드

public static OnTimeOutput ( object o, OutputArgs args ) : void
o object
args OutputArgs
리턴 void

OpenBugReport() 공개 정적인 메소드

public static OpenBugReport ( ) : void
리턴 void

OpenSendEmail() 공개 정적인 메소드

public static OpenSendEmail ( string email ) : void
email string
리턴 void

OpenUrl() 공개 정적인 메소드

public static OpenUrl ( string url ) : void
url string
리턴 void

PathNext() 공개 정적인 메소드

Returns the path that succeeds the specified path.
public static PathNext ( Gtk.TreePath path ) : Gtk.TreePath
path Gtk.TreePath
리턴 Gtk.TreePath

PathPrevious() 공개 정적인 메소드

Returns the path that precedes the specified path.
public static PathPrevious ( Gtk.TreePath path ) : Gtk.TreePath
path Gtk.TreePath
리턴 Gtk.TreePath

PathToInt() 공개 정적인 메소드

Returns the index of a TreePath.
public static PathToInt ( Gtk.TreePath path ) : int
path Gtk.TreePath
리턴 int

PathsAreEqual() 공개 정적인 메소드

Checks whether two path are equal. They are considered equal if they have the same indice.
public static PathsAreEqual ( Gtk.TreePath path1, Gtk.TreePath path2 ) : bool
path1 Gtk.TreePath
path2 Gtk.TreePath
리턴 bool

QuoteFilename() 공개 정적인 메소드

Quotes a filename.
public static QuoteFilename ( string filename ) : string
filename string
리턴 string

SecondsToTimeText() 공개 정적인 메소드

public static SecondsToTimeText ( double seconds ) : string
seconds double
리턴 string

SetSpinButtonAdjustment() 공개 정적인 메소드

public static SetSpinButtonAdjustment ( Gtk.SpinButton spinButton, System.TimeSpan upperLimit, bool canNegate ) : void
spinButton Gtk.SpinButton
upperLimit System.TimeSpan
canNegate bool
리턴 void

SetSpinButtonAdjustment() 공개 정적인 메소드

public static SetSpinButtonAdjustment ( Gtk.SpinButton spinButton, int upperLimit, bool canNegate ) : void
spinButton Gtk.SpinButton
upperLimit int
canNegate bool
리턴 void

SetSpinButtonMaxAdjustment() 공개 정적인 메소드

public static SetSpinButtonMaxAdjustment ( Gtk.SpinButton spinButton, TimingMode timingMode, bool toNegate ) : void
spinButton Gtk.SpinButton
timingMode TimingMode
toNegate bool
리턴 void

SetSpinButtonTimingMode() 공개 정적인 메소드

public static SetSpinButtonTimingMode ( Gtk.SpinButton spinButton, TimingMode timingMode ) : void
spinButton Gtk.SpinButton
timingMode TimingMode
리턴 void

TextWidth() 공개 정적인 메소드

public static TextWidth ( Gtk.Widget widget, string text, int margins ) : int
widget Gtk.Widget
text string
margins int
리턴 int

TimeSpanToText() 공개 정적인 메소드

Converts a timespan to a text representation.
The resulting string is in the format [-]hh:mm:ss.fff. This format is accepted by TimeSpan.Parse.
public static TimeSpanToText ( System.TimeSpan time ) : string
time System.TimeSpan The time to convert to text.
리턴 string

TimeTextToMilliseconds() 공개 정적인 메소드

public static TimeTextToMilliseconds ( string text ) : int
text string
리턴 int

ToString() 공개 정적인 메소드

Returns the invariant culture string of a number.
public static ToString ( float number ) : string
number float
리턴 string

프로퍼티 상세

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

public static int SpinButtonTimeWidthChars
리턴 int