1 | /** |
---|
2 | * Bonobo Desktop Window Control implementation. |
---|
3 | * Enables applications to export their geometry control through CORBA. |
---|
4 | * |
---|
5 | * Author: |
---|
6 | * Miguel de Icaza (miguel@kernel.org) |
---|
7 | * |
---|
8 | * Copyright 1999 Helix Code, Inc. |
---|
9 | */ |
---|
10 | #ifndef _BONOBO_DESKTOP_WINDOW_H_ |
---|
11 | #define _BONOBO_DESKTOP_WINDOW_H_ |
---|
12 | |
---|
13 | #include <libgnome/gnome-defs.h> |
---|
14 | #include <gtk/gtkobject.h> |
---|
15 | #include <gtk/gtkwindow.h> |
---|
16 | #include <bonobo/bonobo-xobject.h> |
---|
17 | |
---|
18 | BEGIN_GNOME_DECLS |
---|
19 | |
---|
20 | #define BONOBO_DESKTOP_WINDOW_TYPE (bonobo_desktop_window_get_type ()) |
---|
21 | #define BONOBO_DESKTOP_WINDOW(o) (GTK_CHECK_CAST ((o), BONOBO_DESKTOP_WINDOW_TYPE, BonoboDesktopWindow)) |
---|
22 | #define BONOBO_DESKTOP_WINDOW_CLASS(k) (GTK_CHECK_CLASS_CAST((k), BONOBO_DESKTOP_WINDOW_TYPE, BonoboDesktopWindowClass)) |
---|
23 | #define BONOBO_IS_DESKTOP_WINDOW(o) (GTK_CHECK_TYPE ((o), BONOBO_DESKTOP_WINDOW_TYPE)) |
---|
24 | #define BONOBO_IS_DESKTOP_WINDOW_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), BONOBO_DESKTOP_WINDOW_TYPE)) |
---|
25 | |
---|
26 | typedef struct _BonoboDesktopWindowPrivate BonoboDesktopWindowPrivate; |
---|
27 | |
---|
28 | typedef struct { |
---|
29 | BonoboXObject base; |
---|
30 | GtkWindow *window; |
---|
31 | BonoboDesktopWindowPrivate *priv; |
---|
32 | } BonoboDesktopWindow; |
---|
33 | |
---|
34 | typedef struct { |
---|
35 | BonoboXObjectClass parent_class; |
---|
36 | |
---|
37 | POA_Bonobo_Desktop_Window__epv epv; |
---|
38 | } BonoboDesktopWindowClass; |
---|
39 | |
---|
40 | GtkType bonobo_desktop_window_get_type (void); |
---|
41 | BonoboDesktopWindow *bonobo_desktop_window_construct (BonoboDesktopWindow *desk_win, |
---|
42 | GtkWindow *toplevel); |
---|
43 | BonoboDesktopWindow *bonobo_desktop_window_new (GtkWindow *toplevel); |
---|
44 | void bonobo_desktop_window_control (BonoboObject *object, |
---|
45 | GtkWindow *win); |
---|
46 | |
---|
47 | END_GNOME_DECLS |
---|
48 | |
---|
49 | #endif /* _BONOBO_DESKTOP_WINDOW_H_ */ |
---|