ruby-****@sourc*****
ruby-****@sourc*****
2014年 6月 15日 (日) 19:25:42 JST
------------------------- REMOTE_ADDR = 106.188.30.133 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/ja/hiki.cgi?Gtk%3A%3AAspectFrame ------------------------- @@ -1,7 +1,7 @@ -= class Gtk::AspectFrame += Gtk::AspectFrame クラス The Gtk::AspectFrame is useful when you want pack a widget so that it can resize but always retains the same aspect ratio. For instance, one might be drawing a small preview of a larger image. Gtk::AspectFrame derives from Gtk::Frame, so it can draw a label and a frame around the child. The frame will be "shrink-wrapped" to the size of the child. -== Object Hierarchy +== オブジェクト階層 * Object * GLib::Instantiatable * GLib::Object @@ -12,7 +12,13 @@ * Gtk::Frame * Gtk::AspectFrame -== Class Methods +== インクルードされているモジュール + +* Gtk::Buildable +* Atk::Implementor +* GLib::Interface + +== クラスメソッド --- Gtk::AspectFrame.new(label, xalign, yalign, ratio, obey_child) Create a new Gtk::AspectFrame. * label: Label text. @@ -22,7 +28,13 @@ * obey_child: If true, ratio is ignored, and the aspect ratio is taken from the requistion of the child. * Returns: the new Gtk::AspectFrame. -== Instance Methods +== インスタンスメソッド --- set(xalign, yalign, ratio, obey_child) Set parameters for an existing Gtk::AspectFrame. * xalign: Horizontal alignment of the child within the allocation of the Gtk::AspectFrame. This ranges from 0.0 (left aligned) to 1.0 (right aligned) @@ -87,7 +93,13 @@ * yalign: The xalign value * Returns: yalign -== Properties +== プロパティ --- obey-child: true or false (Read/Write) Force aspect ratio to match that of the frame's child @@ -99,4 +105,13 @@ --- yalign: Float (Read/Write) Y alignment of the child -- ((<Masao>)) \ No newline at end of file + +== 更新履歴 +* 2014-06-15 インクルードされているモジュールの項目を追加。 - ((<きたがわ>)) +* - ((<Masao>))