index, gtk-- homepage

class Gtk_Container

#include <gtk--/container.h>
Base classes: Gtk_Widget
Is derived by: Gtk_Bin Gtk_Box Gtk_CList Gtk_Fixed Gtk_List Gtk_MenuShell Gtk_Notebook Gtk_Paned Gtk_ScrolledWindow Gtk_Table Gtk_Toolbar Gtk_Tree

Public member index

Protected member index

Private member index

Public member descriptions

add_label

virtual void Gtk_Container::add_label(const gchar *text);

static Gtk_c_signals_Container *sigs_bk;

foreach_full

void Gtk_Container::foreach_full(GtkCallback callback, GtkCallbackMarshal marshal, gpointer callback_data, GtkDestroyNotify notify);

What to do with those ? void gtk_container_add_with_args (GtkContainer *container, GtkWidget *widget, ...); void gtk_container_addv (GtkContainer *container, GtkWidget *widget, guint n_args, GtkArg *args);

set_focus_vadjustment

void Gtk_Container::set_focus_vadjustment(Gtk_Adjustment *adjustment);

These methods require gtk1.0.1 void set_focus_child(Gtk_Widget *child); // is a signal

set_focus_vadjustment

void Gtk_Container::set_focus_vadjustment(const Gtk_Adjustment &adjustment);

void set_focus_child(const Gtk_Widget &child);

children

G_List<GtkWidget*>* Gtk_Container::children();

THIS METHOD RETURNS AN ALLOCATED OBJECT


add

Signal1<Gtk_Widget*> Gtk_Container::add;

C_PP_CLASS_INIT_HOOK(sigs_bk = s); Calling add signal can be used to add a widget to the container. Derived widgets may restrict what kind of widgets can be added to that container. Existing containers do that already and for example Gtk_List only accepts Gtk_ListItems.

Ownership of the inserted object will NOT be moved to the container, so you'll still need to handle deletion of widgets inserted to the container. This allows you to add objects in local or class scope to containers.

(TODO: some method to allow moving ownership to container for automatic deletion of objects dynamically allocated with new)


Protected member descriptions

Private member descriptions

(pages generated by PERCEPS -script.)