bonobo-window

bonobo-window

Functions

Properties

char * win-name Read / Write / Construct

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkContainer
                    ╰── GtkBin
                        ╰── GtkWindow
                            ╰── BonoboWindow

Implemented Interfaces

BonoboWindow implements AtkImplementorIface and GtkBuildable.

Description

Functions

bonobo_window_construct ()

GtkWidget *
bonobo_window_construct (BonoboWindow *win,
                         BonoboUIContainer *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.

Parameters

win

the window to construct

 

iu_container

the UI container

 

win_name

the window name

 

title

the window's title for the title bar

 

Returns

a constructed window


bonobo_window_new ()

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

Parameters

win_name

the window name

 

title

the window's title for the title bar

 

Returns

a new BonoboWindow


bonobo_window_set_contents ()

void
bonobo_window_set_contents (BonoboWindow *win,
                            GtkWidget *contents);

Insert a widget into the main window contents.

Parameters

win

the bonobo window

 

contents

the new widget for it to contain.

 

bonobo_window_get_contents ()

GtkWidget *
bonobo_window_get_contents (BonoboWindow *win);

Parameters

win

the bonobo window

 

Returns

the contained widget


bonobo_window_get_ui_engine ()

BonoboUIEngine *
bonobo_window_get_ui_engine (BonoboWindow *win);

Parameters

win

the bonobo window

 

Returns

the BonoboUIEngine


bonobo_window_get_ui_container ()

BonoboUIContainer *
bonobo_window_get_ui_container (BonoboWindow *win);

Parameters

win

the bonobo window

 

Returns

the BonoboUIContainer


bonobo_window_set_name ()

void
bonobo_window_set_name (BonoboWindow *win,
                        const char *win_name);

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

Parameters

win

the bonobo window

 

win_name

the window name

 

bonobo_window_get_name ()

char *
bonobo_window_get_name (BonoboWindow *win);

Parameters

win

the bonobo window

 

Returns

the name of the window


bonobo_window_get_accel_group ()

GtkAccelGroup *
bonobo_window_get_accel_group (BonoboWindow *win);

Parameters

win

the bonobo window

 

Returns

the associated accelerator group for this window


bonobo_window_add_popup ()

void
bonobo_window_add_popup (BonoboWindow *win,
                         GtkMenu *popup,
                         const char *path);

Add a popup menu at path

Parameters

win

the window

 

menu

the menu widget

 

path

the path

 

bonobo_window_remove_popup ()

void
bonobo_window_remove_popup (BonoboWindow *win,
                            const char *path);

Remove the popup at path

Parameters

win

the window

 

path

the path

 

Types and Values

BonoboWindowPrivate

typedef struct _BonoboWindowPrivate BonoboWindowPrivate;

struct BonoboWindow

struct BonoboWindow;

BonoboWindowClass

typedef struct {
	GtkWindowClass    parent_class;

	gpointer dummy[4];
} BonoboWindowClass;

Property Details

The “win-name” property

  “win-name”                 char *

Name of the window - used for configuration serialization.

Owner: BonoboWindow

Flags: Read / Write / Construct

Default value: NULL