ruby-****@sourc*****
ruby-****@sourc*****
2014年 6月 15日 (日) 18:56:54 JST
------------------------- REMOTE_ADDR = 106.188.30.133 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/ja/hiki.cgi?Gtk%3A%3AAlignment ------------------------- @@ -1,11 +1,11 @@ -= class Gtk::Alignment += Gtk::Alignment クラス The Gtk::Alignment widget controls the alignment and size of its child widget. It has four settings: xscale, yscale, xalign, and yalign. The scale settings are used to specify how much the child widget should expand to fill the space allocated to the Gtk::Alignment. The values can range from 0 (meaning the child doesn't expand at all) to 1 (meaning the child expands to fill all of the available space). The align settings are used to place the child widget within the available area. The values range from 0 (top or left) to 1 (bottom or right). Of course, if the scale settings are both set to 1, the alignment settings have no effect. -== Object Hierarchy +== オブジェクト階層 * Object * GLib::Instantiatable * GLib::Object @@ -15,7 +15,13 @@ * Gtk::Bin * Gtk::Alignment -== Class Methods +== インクルードされているモジュール + +* Gtk::Buildable +* Atk::Implementor +* GLib::Interface + +== クラスメソッド --- Gtk::Alignment.new(xalign, yalixn, xscale, yscale) Creates a new Gtk::Alignment. * xalign: the horizontal alignment of the child widget, from 0 (left) to 1 (right). @@ -24,7 +30,13 @@ * yscale: the amount that the child widget expands vertically to fill up unused space, from 0 to 1. The values are similar to xscale. * Returns: a new Gtk::Alignment. -== Instance Methods +== インスタンスメソッド --- set(xalign, yalign, xscale, yscale) Sets the Gtk::Alignment values. * xalign: the horizontal alignment of the child widget, from 0 (left) to 1 (right). @@ -89,7 +95,55 @@ * yscale: yscale value * Returns: self -== Properties +--- set_padding() + ((*要編集*)) + +--- padding() + ((*要編集*)) + +--- right_padding=() + ((*要編集*)) + +--- set_right_padding() + ((*要編集*)) + +--- right_padding() + ((*要編集*)) + +--- left_padding=() + ((*要編集*)) + +--- set_left_padding() + ((*要編集*)) + +--- left_padding() + ((*要編集*)) + +--- bottom_padding=() + ((*要編集*)) + +--- set_bottom_padding() + ((*要編集*)) + +--- bottom_padding() + ((*要編集*)) + +--- top_padding=() + ((*要編集*)) + +--- set_top_padding() + ((*要編集*)) + +--- top_padding() + ((*要編集*)) + +== プロパティ --- xalign: Float (Read/Write) Horizontal position of child in available space. 0.0 is left aligned, 1.0 is right aligned @@ -101,5 +149,67 @@ --- yscale: Float (Read/Write) If available vertical space is bigger than needed for the child, how much of it to use for the child. 0.0 means none, 1.0 means all + +--- right-padding: + ((*要編集*)) + +--- left-padding: + ((*要編集*)) + +--- bottom-padding: + ((*要編集*)) + +--- top-padding: + ((*要編集*)) -- ((<Masao>)) \ No newline at end of file +== 更新履歴 +* 2014-06-15 クラスのメンバ項目でリストから漏れているものを追加。 - ((<きたがわ>)) +* - ((<Masao>))