| LibMateComponentUI API Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
MateComponentWindowPrivate; struct MateComponentWindow; MateComponentWindowClass; GtkWidget * matecomponent_window_construct (MateComponentWindow *win,MateComponentUIContainer *ui_container,const char *win_name,const char *title); GtkWidget * matecomponent_window_new (const char *win_name,const char *title); void matecomponent_window_set_contents (MateComponentWindow *win,GtkWidget *contents); GtkWidget * matecomponent_window_get_contents (MateComponentWindow *win); MateComponentUIEngine * matecomponent_window_get_ui_engine (MateComponentWindow *win); MateComponentUIContainer * matecomponent_window_get_ui_container (MateComponentWindow *win); void matecomponent_window_set_name (MateComponentWindow *win,const char *win_name); char * matecomponent_window_get_name (MateComponentWindow *win); GtkAccelGroup * matecomponent_window_get_accel_group (MateComponentWindow *win); void matecomponent_window_add_popup (MateComponentWindow *win,GtkMenu *popup,const char *path); void matecomponent_window_remove_popup (MateComponentWindow *win,const char *path);
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkWindow
+----MateComponentWindow
typedef struct {
GtkWindowClass parent_class;
gpointer dummy[4];
} MateComponentWindowClass;
GtkWidget * matecomponent_window_construct (MateComponentWindow *win,MateComponentUIContainer *ui_container,const char *win_name,const char *title);
Don't use this ever - use construct time properties instead. TODO: Remove this when we are allowed API changes.
|
the window to construct |
|
|
|
the window name |
|
the window's title for the title bar |
Returns : |
a constructed window |
GtkWidget * matecomponent_window_new (const char *win_name,const char *title);
|
the window name |
|
the window's title for the title bar |
Returns : |
a new MateComponentWindow |
void matecomponent_window_set_contents (MateComponentWindow *win,GtkWidget *contents);
Insert a widget into the main window contents.
|
the matecomponent window |
|
the new widget for it to contain. |
GtkWidget * matecomponent_window_get_contents (MateComponentWindow *win);
|
the matecomponent window |
Returns : |
the contained widget |
MateComponentUIEngine * matecomponent_window_get_ui_engine (MateComponentWindow *win);
|
the matecomponent window |
Returns : |
the MateComponentUIEngine |
MateComponentUIContainer * matecomponent_window_get_ui_container (MateComponentWindow *win);
|
the matecomponent window |
Returns : |
the MateComponentUIContainer |
void matecomponent_window_set_name (MateComponentWindow *win,const char *win_name);
Set the name of the window - used for configuration serialization.
|
the matecomponent window |
|
the window name |
char * matecomponent_window_get_name (MateComponentWindow *win);
|
the matecomponent window |
Returns : |
the name of the window |
GtkAccelGroup * matecomponent_window_get_accel_group (MateComponentWindow *win);
|
the matecomponent window |
Returns : |
the associated accelerator group for this window |
void matecomponent_window_add_popup (MateComponentWindow *win,GtkMenu *popup,const char *path);
Add a popup menu at path
|
the window |
|
|
|
the path |
void matecomponent_window_remove_popup (MateComponentWindow *win,const char *path);
Remove the popup at path
|
the window |
|
the path |