ruby-****@sourc*****
ruby-****@sourc*****
2014年 9月 8日 (月) 21:12:29 JST
------------------------- REMOTE_ADDR = 106.188.29.172 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/ja/hiki.cgi?Gtk%3A%3ABox ------------------------- @@ -1,4 +1,6 @@ = Gtk::Box クラス +((*Ruby/GTK2*)) + Gtk::Box is an abstract widget which encapsulates functionallity for a particular kind of container, one that organizes a variable number of widgets into a rectangular area. The rectangular area of a Gtk::Box is organized into either a single row or a single column of child widgets depending upon whether the box is of type Gtk::HBox or Gtk::VBox, respectively. Thus, all children of a Gtk::Box are allocated one dimension in common, which is the height of a row, or the width of a column. @@ -19,6 +21,12 @@ Use Gtk::Box#set_child_packing to reset the expand, fill, and padding attributes of any Gtk::Box child. Use Gtk::Box#query_child_packing to query these fields. +((*Ruby/GTK3*)) + +((*要編集*)) + == オブジェクト階層 * Object * GLib::Instantiatable @@ -33,7 +39,23 @@ * Gtk::Buildable * Atk::Implementor * GLib::Interface +* Gtk::Orientable ((*Ruby/GTK3*)) +== クラスメソッド +--- Gtk::Box.new(orientation, spacing) + ((*Ruby/GTK3 only*)) + + 新しくGtk::Boxオブジェクトを作成します。 + * orientation: 子ウィジェットを並べる方向。Gtk::Orientation::HORIZONTAL(:horizontal)もしくはGtk::Orientation::VERTICAL(:vertical)を指定する。 + * spacing: 子ウィジェット同士のデフォルトの間隔(ピクセル) + * 戻り値: Gtk::Boxオブジェクト + == インスタンスメソッド --- pack_start(child, expand = true, fill = true, padding = 0) Adds child to box, packed with reference to the start of box. The child is packed after any other child packed with reference to the start of box. @@ -109,12 +125,48 @@ * padding: the new value of the padding field. * pack_type: the new value of the pack. +--- baseline_position() + ((*Ruby/GTK3 only*)) + + ((*要編集*)) + +--- baseline_position=() + ((*Ruby/GTK3 only*)) + + ((*要編集*)) + +--- set_baseline_position() + ((*Ruby/GTK3 only*)) + + ((*要編集*)) + == プロパティ --- homogeneous: true or false (Read/Write) Whether the children should all be the same size --- spacing: Integer (Read/Write) The amount of space between children + +--- baseline-position: + ((*Ruby/GTK3 only*)) + + ((*要編集*)) == 関連ページ * Gtk::HBox a derived class that organizes widgets into a row. @@ -124,5 +160,42 @@ * Gtk::Layout a Gtk::Container for organizing widgets into arbitrary layouts. == 更新履歴 +* 2014-09-08 Ruby/GTK3関連の情報を追加。 - ((<きたがわ>)) * 2014-06-15 インクルードされているモジュールの項目を追加。 - ((<きたがわ>)) * - ((<Masao>))