|  |  | 

The Frame widget surrounds its single 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 set_label_align().
| Public Member Functions | |
| Frame (const Glib::ustring& label) | |
| Frame () | |
| Glib::ustring | get_label () const | 
| If the frame's label widget is a Gtk::Label, returns the text in the label widget. | |
| void | get_label_align (float& xalign, float& yalign) const | 
| Retrieves the X and Y alignment of the frame's label. | |
| const Widget* | get_label_widget () const | 
| Retrieves the label widget for the frame. | |
| Widget* | get_label_widget () | 
| Retrieves the label widget for the frame. | |
| ShadowType | get_shadow_type () const | 
| Retrieves the shadow type of the frame. | |
| const GtkFrame* | gobj () const | 
| Provides access to the underlying C GtkObject. | |
| GtkFrame* | gobj () | 
| Provides access to the underlying C GtkObject. | |
| Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_label () const | 
| Text of the frame's label. | |
| Glib::PropertyProxy<Glib::ustring> | property_label () | 
| Text of the frame's label. | |
| Glib::PropertyProxy_ReadOnly< Widget* > | property_label_widget () const | 
| A widget to display in place of the usual frame label. | |
| Glib::PropertyProxy<Widget*> | property_label_widget () | 
| A widget to display in place of the usual frame label. | |
| Glib::PropertyProxy_ReadOnly< double > | property_label_xalign () const | 
| The horizontal alignment of the label. | |
| Glib::PropertyProxy<double> | property_label_xalign () | 
| The horizontal alignment of the label. | |
| Glib::PropertyProxy_ReadOnly< double > | property_label_yalign () const | 
| The vertical alignment of the label. | |
| Glib::PropertyProxy<double> | property_label_yalign () | 
| The vertical alignment of the label. | |
| Glib::PropertyProxy_ReadOnly< ShadowType > | property_shadow_type () const | 
| Appearance of the frame border. | |
| Glib::PropertyProxy<ShadowType> | property_shadow_type () | 
| Appearance of the frame border. | |
| void | set_label (const Glib::ustring& label) | 
| Sets the text of the label. | |
| void | set_label_align (AlignmentEnum xalign, AlignmentEnum yalign=Gtk::ALIGN_CENTER) | 
| Sets the alignment of the frame widget's label. | |
| void | set_label_align (float xalign=0.0, float yalign=0.5) | 
| Sets the alignment of the frame widget's label. | |
| void | set_label_widget (Widget& label_widget) | 
| Sets the label widget for the frame. | |
| void | set_shadow_type (ShadowType type) | 
| Sets the shadow type for frame . | |
| void | unset_label () | 
| virtual | ~Frame () | 
| Protected Member Functions | |
| virtual void | compute_child_allocation_vfunc (Allocation& allocation) | 
| Related Functions | |
| (Note that these are not member functions.) | |
| Gtk::Frame* | wrap (GtkFrame* object, bool take_copy=false) | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| If the frame's label widget is a Gtk::Label, returns the text in the label widget. 
(The frame will have a Gtk::Label for the label widget if a non- 
 | 
| 
 | ||||||||||||
| Retrieves the X and Y alignment of the frame's label. See set_label_align(). 
 | 
| 
 | 
| Retrieves the label widget for the frame. See set_label_widget(). 
 | 
| 
 | 
| Retrieves the label widget for the frame. See set_label_widget(). 
 | 
| 
 | 
| Retrieves the shadow type of the frame. See set_shadow_type(). 
 | 
| 
 | 
| Provides access to the underlying C GtkObject. 
 Reimplemented from Gtk::Bin. Reimplemented in Gtk::AspectFrame. | 
| 
 | 
| Provides access to the underlying C GtkObject. 
 Reimplemented from Gtk::Bin. Reimplemented in Gtk::AspectFrame. | 
| 
 | 
| Text of the frame's label. You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 | 
| 
 | 
| Text of the frame's label. You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 | 
| 
 | 
| A widget to display in place of the usual frame label. You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 | 
| 
 | 
| A widget to display in place of the usual frame label. You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 | 
| 
 | 
| The horizontal alignment of the label. You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 | 
| 
 | 
| The horizontal alignment of the label. You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 | 
| 
 | 
| The vertical alignment of the label. You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 | 
| 
 | 
| The vertical alignment of the label. You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 | 
| 
 | 
| Appearance of the frame border. You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 | 
| 
 | 
| Appearance of the frame border. You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 | 
| 
 | 
| Sets the text of the label. 
If label is  
 | 
| 
 | ||||||||||||
| Sets the alignment of the frame widget's label. The default values for a newly created frame are 0.0 and 0.5. 
 | 
| 
 | ||||||||||||
| Sets the alignment of the frame widget's label. The default values for a newly created frame are 0.0 and 0.5. 
 | 
| 
 | 
| Sets the label widget for the frame. This is the widget that will appear embedded in the top edge of the frame as a title. 
 | 
| 
 | 
| Sets the shadow type for frame . 
 
 | 
| 
 | 
| 
 | 
| 
 | ||||||||||||
| 
 
 
 |