ruby-****@lists*****
ruby-****@lists*****
2003年 3月 29日 (土) 03:45:35 JST
------------------------- REMOTE_ADDR = 211.7.202.36 REMOTE_HOST = ------------------------- = class Gtk::ButtonBox The primary purpose of this class is to keep track of the various properties of Gtk::HButtonBox and Gtk::VButtonBox widgets. == super class * Gtk::Box == public instance methods --- layout_style Retrieves the method being used to arrange the buttons in a button box. * Returns: GtkButtonBoxStyle. the method used to layout buttons in widget. --- layout_style=(style) Changes the way buttons are arranged in their container. * style: ((<GtkButtonBoxStyle|Gtk::ButtonBox#GtkButtonBoxStyle>)). the new layout style. * Returns: style --- set_layout_style(style) Same as layout_style=. * layout_style : the new layout style. * Returns: self --- set_child_secondary(child, is_secondary) Sets whether child should appear in a secondary group of children. A typical use of a secondary child is the help button in a dialog. This group appears after the other children if the style is Gtk::ButtonBox::START, Gtk::ButtonBox::SPREAD or Gtk::ButtonBox::EDGE, and before the the other children if the style is Gtk::ButtonBox::END. For horizontal button boxes, the definition of before/after depends on direction of the widget (see Gtk::Widget::set_direction). If the style is Gtk::ButtonBox::START or Gtk::ButtonBox::END, then the secondary children are aligned at the other end of the button box from the main children. For the other styles, they appear immediately next to the main children. *child: a child of widget *is_secondary : if true, the child appears in a secondary group of the button box. * Returns: self == constants === GtkButtonBoxStyle Used to dictate the style that a Gtk::ButtonBox uses to layout the buttons it contains. (See also: Gtk::VButtonBox and Gtk::HButtonBox). --- DEFAULT_STYLE Default packing. --- SPREAD Buttons are evenly spread across the Gtk::ButtonBox. --- EDGE Buttons are placed at the edges of the Gtk::ButtonBox. --- START Buttons are grouped towards the start of box, (on the left for a Gtk::HBox, or the top for a Gtk::VBox). --- END Buttons are grouped towards the end of a box, (on the right for a Gtk::HBox, or the bottom for a Gtk::VBox). == See Also * Gtk::VButtonBox is a Vertical sub-class of Gtk::ButtonBox. } Gtk::HButtonBox is a Horizontal sub-class of Gtk::ButtonBox. - ((<Masao>)) ------------------------- = class Gtk::ButtonBox The primary purpose of this class is to keep track of the various properties of Gtk::HButtonBox and Gtk::VButtonBox widgets. == super class * Gtk::Box == public instance methods --- layout_style Retrieves the method being used to arrange the buttons in a button box. * Returns: GtkButtonBoxStyle. the method used to layout buttons in widget. --- layout_style=(style) Changes the way buttons are arranged in their container. * style: ((<GtkButtonBoxStyle|Gtk::ButtonBox#GtkButtonBoxStyle>)). the new layout style. * Returns: style --- set_layout_style(style) Same as layout_style=. * layout_style : the new layout style. * Returns: self --- set_child_secondary(child, is_secondary) Sets whether child should appear in a secondary group of children. A typical use of a secondary child is the help button in a dialog. This group appears after the other children if the style is Gtk::ButtonBox::START, Gtk::ButtonBox::SPREAD or Gtk::ButtonBox::EDGE, and before the the other children if the style is Gtk::ButtonBox::END. For horizontal button boxes, the definition of before/after depends on direction of the widget (see Gtk::Widget::set_direction). If the style is Gtk::ButtonBox::START or Gtk::ButtonBox::END, then the secondary children are aligned at the other end of the button box from the main children. For the other styles, they appear immediately next to the main children. *child: a child of widget *is_secondary : if true, the child appears in a secondary group of the button box. * Returns: self == constants === GtkButtonBoxStyle Used to dictate the style that a Gtk::ButtonBox uses to layout the buttons it contains. (See also: Gtk::VButtonBox and Gtk::HButtonBox). --- DEFAULT_STYLE Default packing. --- SPREAD Buttons are evenly spread across the Gtk::ButtonBox. --- EDGE Buttons are placed at the edges of the Gtk::ButtonBox. --- START Buttons are grouped towards the start of box, (on the left for a Gtk::HBox, or the top for a Gtk::VBox). --- END Buttons are grouped towards the end of a box, (on the right for a Gtk::HBox, or the bottom for a Gtk::VBox). == See Also * Gtk::VButtonBox is a Vertical sub-class of Gtk::ButtonBox. + Gtk::HButtonBox is a Horizontal sub-class of Gtk::ButtonBox. - ((<Masao>))