Class Index | Cross Index | Namespace Index |
Contained in: Gtk
Derived from:
Gtk::Widget
Derived by:
Gtk::Bin
Gtk::Box
Gtk::CList
Gtk::Fixed
Gtk::Layout
Gtk::List
Gtk::MenuShell
Gtk::Notebook
Gtk::Packer
Gtk::Paned
Gtk::Socket
Gtk::Table
Gtk::Toolbar
Gtk::Tree
#include <gtk--/container.h>
public function member index: |
||
void | add | (Widget& p0); |
emitable signal void | check_resize | (); |
GtkType | child_type | (); |
emitable signal gint | focus | (GtkDirectionType); |
void | foreach_ | (GtkCallback callback, gpointer data); |
void | foreach_full_ | (GtkCallback callback, GtkCallbackMarshal marshal, gpointer data, GtkDestroyNotify notify); |
GtkContainer* | gtkobj | (); |
const GtkContainer* | gtkobj | () const; |
static bool | isA | (Object* object); |
void | register_toplevel | (); |
void | remove | (Widget& p0); |
void | resize_children | (); |
void | set_border_width | (guint width); |
void | set_focus_child | (Widget& p0); |
void | set_focus_child | (Widget* p0); |
void | set_focus_hadjustment | (Adjustment& adjustment); |
void | set_focus_vadjustment | (Adjustment& adjustment); |
void | set_resize_mode | (GtkResizeMode resize_mode); |
void | unregister_toplevel | (); |
virtual | ~Container | (); |
protected function member index: |
||
Container | (); | |
virtual void | add_impl | (Widget& p0); |
virtual void | check_resize_impl | (); |
virtual GtkType | child_type_impl | (); |
virtual gint | focus_impl | (GtkDirectionType p0); |
virtual void | remove_impl | (Widget& p0); |
virtual void | set_focus_child_impl | (Widget* p0); |
private function member index: |
||
void | add | (Widget*); |
Adds an item to the list or item slot for the container. The meaning of this operation varies from one container to the next.For single item containers, this means replace the current contents with the specified widget.
For multi item containers, this inserts without a location (should be avoided)
Ownership follows gtk+ rules (reference counting). Reference insertions and insertion of unmanaged pointers will not confer ownership. A managed pointer will be referenced and thus unless referenced externally will be deleted with the container.
This is largely an internal used mainly for things like creating duplicates of internal lists and other such operations. The result is lossy as it only gets the the main child and not its external pieces.For example notebook pages contain a page, a label, and a menu item. But this only operates on the pages.
Removes an item if found in the container.