|
Public Types |
typedef SigC::Slot1< void,
Widget& > | ForeachSlot |
Public Member Functions |
| virtual | ~Container () |
| GtkContainer* | gobj () |
| | Provides access to the underlying C GtkObject.
|
| const GtkContainer* | gobj () const |
| | Provides access to the underlying C GtkObject.
|
| void | set_border_width (guint border_width) |
| guint | get_border_width () const |
| virtual void | add (Widget& widget) |
| void | remove (Widget& widget) |
| void | set_resize_mode (ResizeMode resize_mode) |
| ResizeMode | get_resize_mode () const |
| void | check_resize () |
| | Request that contained widgets check their size.
|
| void | foreach (const ForeachSlot& slot) |
| | Operate on contained items This is largely an internal used mainly for things like creating duplicates of internal lists and other such operations.
|
| Glib::ListHandle<Widget*> | get_children () |
| | (internal) Operate on contained items (see foreach())
|
| Glib::ListHandle<const Widget*> | get_children () const |
| void | propagate_expose (Widget& child, GdkEventExpose* event) |
| void | set_focus_chain (const Glib::ListHandle<Widget*>& focusable_widgets) |
| bool | has_focus_chain () const |
| Glib::ListHandle<Widget*> | get_focus_chain () |
| Glib::ListHandle<const Widget*> | get_focus_chain () const |
| void | unset_focus_chain () |
| void | set_reallocate_redraws (bool needs_redraws=true) |
| void | set_focus_child (Widget& widget) |
| | Sets the focus on a child.
|
| void | set_focus_vadjustment (Adjustment& adjustment) |
| Adjustment* | get_focus_vadjustment () |
| const Adjustment* | get_focus_vadjustment () const |
| void | set_focus_hadjustment (Adjustment& adjustment) |
| Adjustment* | get_focus_hadjustment () |
| const Adjustment* | get_focus_hadjustment () const |
| void | resize_children () |
| GType | child_type () const |
Glib::SignalProxy1< void,
Widget* > | signal_add () |
Glib::SignalProxy1< void,
Widget* > | signal_remove () |
| Glib::SignalProxy0<void> | signal_check_resize () |
Glib::SignalProxy1< void,
Widget* > | signal_set_focus_child () |
| Glib::PropertyProxy<guint> | property_border_width () |
| Glib::PropertyProxy<ResizeMode> | property_resize_mode () |
Glib::PropertyProxy_WriteOnly<
Widget* > | property_child () |
| void | show_all_children (bool recursive=true) |
Protected Member Functions |
| virtual GtkType | child_type_vfunc () |
| virtual void | forall_vfunc (gboolean include_internals, GtkCallback callback, gpointer callback_data) |
| virtual char* | composite_name_vfunc (GtkWidget* child) |
| virtual void | set_child_property_vfunc (GtkWidget* child, guint property_id, const GValue* value, GParamSpec* pspec) |
| virtual void | get_child_property_vfunc (GtkWidget* child, guint property_id, GValue* value, GParamSpec* pspec) |
| virtual void | on_add (Widget* widget) |
| virtual void | on_remove (Widget* widget) |
| virtual void | on_check_resize () |
| virtual void | on_set_focus_child (Widget* widget) |
| | Container () |
Related Functions |
(Note that these are not member functions.)
|
| Gtk::Container* | wrap (GtkContainer* object, bool take_copy=false) |
This is the abstract container from which all gtk+ widgets which hold other items derive from. It mainly houses virtual functions used for inserting and removing children. Containers in gtk+ may hold one item or many items depending on the implementation.
This interface is used for all single item holding containers. Multi-item containers provide their own unique interface as their items are generally more complex. The methods of the derived classes should be prefered over these.