ruby-****@sourc*****
ruby-****@sourc*****
2014年 6月 16日 (月) 16:55:53 JST
------------------------- REMOTE_ADDR = 106.188.103.9 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/ja/hiki.cgi?Gtk%3A%3AProgressBar ------------------------- @@ -1,4 +1,4 @@ -= class Gtk::ProgressBar += Gtk::ProgressBar クラス The Gtk::ProgressBar is typically used to display the progress of a long running operation. It provides a visual clue that processing is underway. The Gtk::ProgressBar can be used in two different modes: percentage mode and activity mode. When an application can determine how much work needs to take place (e.g. read a fixed number of bytes from a file) and can monitor its progress, it can use the Gtk::ProgressBar in percentage mode and the user sees a growing bar indicating the percentage of the work that has been completed. In this mode, the application is required to call Gtk::ProgressBar#fraction= periodically to update the progress bar. @@ -7,7 +7,7 @@ There is quite a bit of flexibility provided to control the appearance of the Gtk::ProgressBar. Methods are provided to control the orientation of the bar, optional text can be displayed along with the bar, and the step size used in activity mode can be set. -== Object Hierarchy +== オブジェクト階層 * Object * GLib::Instantiatable * GLib::Object @@ -16,12 +16,18 @@ * Gtk::Progress * Gtk::ProgressBar -== Class Methods +== インクルードされているモジュール + +* Gtk::Buildable +* Atk::Implementor +* GLib::Interface + +== クラスメソッド --- Gtk::ProgressBar.new Creates a new Gtk::ProgressBar. * Returns: a Gtk::ProgressBar. -== Instance Methods +== インスタンスメソッド --- fraction Returns the current fraction of the task that's been completed. * Returns: a fraction from 0.0 to 1.0 @@ -74,8 +80,23 @@ Same as Gtk::ProgressBar#text=. * text : a UTF-8 string * Returns: self + +--- ellipsize=() + ((*要編集*)) + +--- set_ellipsize() + ((*要編集*)) + +--- ellipsize() + ((*要編集*)) -== Constants +== 定数 === GtkProgressBarOrientation --- LEFT_TO_RIGHT A horizontal progress bar growing from left to right. @@ -86,7 +101,22 @@ --- TOP_TO_BOTTOM A vertical progress bar growing from top to bottom. -== Properties +== プロパティ --- activity-blocks: Integer (Read/Write) The number of blocks which can fit in the progress bar area in activity mode (Deprecated) @@ -114,5 +129,24 @@ --- text: String (Read/Write) Text to be displayed in the progress bar +--- ellipsize: + ((*要編集*)) -((<Masao>)) +== 更新履歴 +* 2014-06-16 クラスのメンバで漏れていたものを追加。 - ((<きたがわ>)) +* ((<Masao>))