source: trunk/third/bonobo/bonobo/bonobo-desktop-window.h @ 16750

Revision 16750, 1.7 KB checked in by ghudson, 23 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r16749, which included commits to RCS files with non-trunk default branches.
Line 
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
18BEGIN_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
26typedef struct _BonoboDesktopWindowPrivate BonoboDesktopWindowPrivate;
27
28typedef struct {
29        BonoboXObject base;
30        GtkWindow   *window;
31        BonoboDesktopWindowPrivate *priv;
32} BonoboDesktopWindow;
33
34typedef struct {
35        BonoboXObjectClass parent_class;
36
37        POA_Bonobo_Desktop_Window__epv epv;
38} BonoboDesktopWindowClass;
39
40GtkType              bonobo_desktop_window_get_type  (void);
41BonoboDesktopWindow *bonobo_desktop_window_construct (BonoboDesktopWindow *desk_win,
42                                                      GtkWindow           *toplevel);
43BonoboDesktopWindow *bonobo_desktop_window_new       (GtkWindow           *toplevel);
44void                 bonobo_desktop_window_control   (BonoboObject        *object,
45                                                      GtkWindow           *win);
46
47END_GNOME_DECLS
48
49#endif /* _BONOBO_DESKTOP_WINDOW_H_ */
Note: See TracBrowser for help on using the repository browser.