Gtk::CellRendererProgress
Gtk::CellRendererProgress クラス
Gtk::CellRendererProgress renders numbers as progress bars.
クラスメソッド
Gtk::CellRendererProgress.new
-
Creates a new Gtk::CellRendererProgress. Since 2.6
- Returns: the new Gtk::CellRendererProgress
インスタンスメソッド
text
-
Gets the String on the progress bar. Since 2.6
- Returns: the String on the progress bar
text=(text)
-
Sets a String on the progress bar. Since 2.6
- text: a String on the progress bar
- Returns: text
set_text(text)
-
Same as Gtk::CellRendererProgress#text=. Since 2.6
- text: A String on the progress bar
- Returns: self
value
-
Gets the percentage to which the progress bar will be "filled in". Since 2.6
- Returns: the percentage to which the progress bar will be "filled in".
value=(value)
-
Sets the percentage to which the progress bar will be "filled in". Since 2.6
- value: the percentage(Integer) to which the progress bar will be "filled in"
- Returns: value
set_value(value)
-
Same as Gtk::CellRendererProgress#value=. Since 2.6
- value: The percentage(Integer) to which the progress bar will be "filled in"
- Returns: self
orientation=()
- 要編集
set_orientation()
- 要編集
orientation()
- 要編集
text_yalign=()
- 要編集
set_text_yalign()
- 要編集
text_yalign()
- 要編集
text_xalign=()
- 要編集
set_text_xalign()
- 要編集
text_xalign()
- 要編集
pulse=()
- 要編集
set_pulse()
- 要編集
pulse()
- 要編集
プロパティ
text: String (Read/Write)
-
The "text" property determines the label which will be drawn over the progress bar. Setting this property to NULL causes the default label to be displayed. Setting this property to an empty string causes no label to be displayed. Since 2.6
- Default value: nil
value: Integer (Read/Write)
-
The "value" property determines the percentage to which the progress bar will be "filled in". Since 2.6
- Allowed values: [0,100]
- Default value: 0
orientation:
- 要編集
text-yalign:
- 要編集
text-xalign:
- 要編集
pulse:
- 要編集
キーワード:
参照:[Gtk::CellRendererProgress] [Ruby/GTK] [Ruby/GTK Object Hierarchy]