## matecomponent-window matecomponent-window |

## Synopsis

                        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);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkWidget
                         +----GtkContainer
                               +----GtkBin
                                     +----GtkWindow
                                           +----MateComponentWindow

## Implemented Interfaces

MateComponentWindow implements AtkImplementorIface and GtkBuildable.

## Properties

      "win-name"                 gchar*                : Read / Write / Construct

## Description

## Details

### MateComponentWindowPrivate

    typedef struct _MateComponentWindowPrivate MateComponentWindowPrivate;

### struct MateComponentWindow

    struct MateComponentWindow;

### MateComponentWindowClass

    typedef struct {
    	GtkWindowClass    parent_class;

    	gpointer dummy[4];
    } MateComponentWindowClass;

### matecomponent_window_construct ()

    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.

`win` : | the window to construct
`ui_container` : |
`win_name` : | the window name
`title` : | the window's title for the title bar
Returns : | a constructed window

### matecomponent_window_new ()

    GtkWidget *         matecomponent_window_new                   (const char *win_name,
                                                             const char *title);

`win_name` : | the window name
`title` : | the window's title for the title bar
Returns : | a new MateComponentWindow

### matecomponent_window_set_contents ()

    void                matecomponent_window_set_contents          (MateComponentWindow *win,
                                                             GtkWidget *contents);

Insert a widget into the main window contents.

`win` : | the matecomponent window
`contents` : | the new widget for it to contain.

### matecomponent_window_get_contents ()

    GtkWidget *         matecomponent_window_get_contents          (MateComponentWindow *win);

`win` : | the matecomponent window
Returns : | the contained widget

### matecomponent_window_get_ui_engine ()

    MateComponentUIEngine *    matecomponent_window_get_ui_engine         (MateComponentWindow *win);

`win` : | the matecomponent window
Returns : | the MateComponentUIEngine

### matecomponent_window_get_ui_container ()

    MateComponentUIContainer * matecomponent_window_get_ui_container      (MateComponentWindow *win);

`win` : | the matecomponent window
Returns : | the MateComponentUIContainer

### matecomponent_window_set_name ()

    void                matecomponent_window_set_name              (MateComponentWindow *win,
                                                             const char *win_name);

Set the name of the window - used for configuration serialization.

`win` : | the matecomponent window
`win_name` : | the window name

### matecomponent_window_get_name ()

    char *              matecomponent_window_get_name              (MateComponentWindow *win);

`win` : | the matecomponent window
Returns : | the name of the window

### matecomponent_window_get_accel_group ()

    GtkAccelGroup *     matecomponent_window_get_accel_group       (MateComponentWindow *win);

`win` : | the matecomponent window
Returns : | the associated accelerator group for this window

### matecomponent_window_add_popup ()

    void                matecomponent_window_add_popup             (MateComponentWindow *win,
                                                             GtkMenu *popup,
                                                             const char *path);

Add a popup `menu` at `path`

`win` : | the window
`popup` : |
`path` : | the path

### matecomponent_window_remove_popup ()

    void                matecomponent_window_remove_popup          (MateComponentWindow *win,
                                                             const char *path);

Remove the popup at `path`

`win` : | the window
`path` : | the path

## Property Details

### The `"win-name"` property

      "win-name"                 gchar*                : Read / Write / Construct

Name of the window - used for configuration serialization.

Default value: NULL