ruby-****@lists*****
ruby-****@lists*****
2003年 4月 20日 (日) 18:42:46 JST
------------------------- REMOTE_ADDR = 61.204.181.66 REMOTE_HOST = ------------------------- ------------------------- = class Gtk::Frame The frame widget is a Gtk::Bin that surrounds its child with a decorative frame and an optional label. If present, the label is drawn in a gap in the top side of the frame. The position of the label can be controlled with Gtk::Frame#label_align=. == super class * ((<Gtk::Bin>)) == class methods --- Gtk::Frame.new(label = nil) Create a new Frame, with optional label label. If label is nil, the label is omitted. * label: label text(String) * Returns: Create a new Gtk::Frame == public instance methods --- label If the frame's label widget is a Gtk::Label, return the text in the label widget. (The frame will have a Gtk::Label for the label widget if a non-nil argument was passed to Gtk::Frame.new.) * Returns: the text in the label, or nil if there was no label widget or the lable widget was not a Gtk::Label. --- label=(label) Set the text of the label. If label is nil, the current label, if any, is removed. * label: label text(String) * Returns: label --- set_label(label) Same as label=. * label: label text(String) * Returns: self --- label_align Retrieves the X and Y alignment of the frame's label. See Gtk::Frame#label_align=. * Returns: [xalign, yalign]. * xalign: location to store X alignment of frame's label, or nil * yalign: location to store X alignment of frame's label, or nil --- set_label_align(xalign, yalign) Set the alignment of the Frame widget's label. The default value for a newly created Frame is 0.0. * xalign: The position of the label along the top edge of the widget. A value of 0.0 represents left alignment; 1.0 represents right alignment. * yalign: The y alignment of the label. Currently ignored. * Returns: self --- label_xalign Retrieves the X alignment of the frame's label. * Returns: the X alignment of the frame's label. --- label_xalign=(xalign) Sets the X alignment of the frame's label. * xalign: the X alignment of the frame's label. * Returns: xalign --- set_label_xalign(xalign) Same as label_xalign=. * xalign: the X alignment of the frame's label. * Returns: self --- label_yalign Retrieves the Y alignment of the frame's label. * Returns: the Y alignment of the frame's label. --- label_yalign=(yalign) Sets the Y alignment of the frame's label. * yalign: the Y alignment of the frame's label. * Returns: yalign --- set_label_yalign(xalign) Same as label_yalign=. * yalign: the Y alignment of the frame's label. * Returns: self --- label_widget Retrieves the label widget for the frame. See Gtk::Frame#label_widget=. * Returns: the label widget, or nil if there is none. --- label_widget=(widget) Set the label widget for the frame. This is the widget that will appear embedded in the top edge of the frame as a title. * widget: the new label widget * Returns: widget --- set_label_widget(widget) Same as label_widget=. * widget: the new label widget * Returns: self --- shadow_type Gets the shadow type for the handlebox. * Returns: shadow type(((<GtkShadowType|Gtk#GtkShadowType>))) --- shadow_type=(shadow_type) Sets the shadow type for the handlebox. * shadow_type: shadow type(((<GtkShadowType|Gtk#GtkShadowType>))) * Returns: shadow_type --- set_shadow_type(shadow_type) Same as shadow=. * shadow_type: shadow type(((<GtkShadowType|Gtk#GtkShadowType>))) * Returns: self ((<Masao>))