[ruby-gnome2-doc-cvs] [Hiki] update - Gtk::Misc

アーカイブの一覧に戻る

ruby-****@sourc***** ruby-****@sourc*****
2003年 8月 25日 (月) 10:00:50 JST


-------------------------
REMOTE_ADDR = 61.204.181.66
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/?Gtk%3A%3AMisc
-------------------------
  = class Gtk::Misc
  The Gtk::Misc widget is an abstract widget which is not useful itself, but is used to derive subclasses which have alignment and padding attributes. 
  The horizontal and vertical padding attributes allows extra space to be added around the widget. 
  The horizontal and vertical alignment attributes enable the widget to be positioned within its allocated area. Note that if the widget is added to a container in such a way that it expands automatically to fill its allocated area, the alignment settings will not alter the widgets position. 
  
- == Super Class
- * Gtk::Widget
+ == Object Hierarchy
+ * Object
+   * GLib::Instantiatable
+     * GLib::Object
+       * Gtk::Object
+         * Gtk::Widget
+           * Gtk::Misc
  
  == Instance Methods
  --- alignment
      Gets the X and Y alignment of the widget within its allocation. 
      * Returns: [xalign, yalign]
  --- set_alignment(xalign, yalign)
      Sets the alignment of the widget.
      * xalign: the horizontal alignment, from 0 (left) to 1 (right).  
      * yalign: the vertical alignment, from 0 (top) to 1 (bottom).  
      * Returns: self
  
  --- padding
      Gets the padding in the X and Y directions of the widget.
      * Returns: [xpad, ypad]
  
  --- set_padding(xpad, ypad)
      Sets the amount of space to add around the widget. 
      * xpad: the amount of space to add on the left and right of the widget, in pixels.  
      * ypad: the amount of space to add on the top and bottom of the widget, in pixels.  
  
  --- xalign
      Gets the xalign.
      * Returns: xalign
  --- xalign=(xalign)
      Sets the xalign.
      * xalign: the horizontal alignment, from 0 (left) to 1 (right).
      * Returns: xalign
  
  --- set_xalign(xalign)
      Same as xalign=.
      * xalign: the horizontal alignment, from 0 (left) to 1 (right).
      * Returns: self
  
  --- yalign
      Gets the yalign.
      * Returns: yalign
  --- yalign=(yalign)
      Sets the yalign.
      * yalign: the horizontal alignment, from 0 (left) to 1 (right).
      * Returns: yalign
  --- set_yalign(yalign)
      Same as yalign=.
      * yalign: the horizontal alignment, from 0 (left) to 1 (right).
      * Returns: self
  
  --- xpad
      Gets the xpad.
      * Returns: xpad
  --- xpad=(xpad)
      Sets the xpad.
      * xpad: the amount of space to add on the left and right of the widget, in pixels.  
      * Returns: xpad
  --- set_xpad(xpad)
      Same as xpad=.
      * xpad: the amount of space to add on the left and right of the widget, in pixels.  
      * Returns: self
  
  --- ypad
      Gets the ypad.
      * Returns: ypad
  --- ypad=(ypad)
      Sets the ypad.
      * ypad: the amount of space to add on the top and bottom of the widget, in pixels.  
      * Returns: ypad
  --- set_ypad(ypad)
      Same as ypad=.
      * ypad: the amount of space to add on the top and bottom of the widget, in pixels.
      * Returns: self 
+ 
+ == Properties
+ --- xalign: Float (Read/Write)
+     The horizontal alignment, from 0 (left) to 1 (right)
+ 
+ --- xpad: Integer (Read/Write)
+     The amount of space to add on the left and right of the widget, in pixels
+ 
+ --- yalign: Float (Read/Write)
+     The vertical alignment, from 0 (top) to 1 (bottom)
+ 
+ --- ypad: Integer (Read/Write)
+     The amount of space to add on the top and bottom of the widget, in pixels
  
  - ((<Masao>))





ruby-gnome2-cvs メーリングリストの案内
アーカイブの一覧に戻る