/usr/include/libbonoboui-2.0/bonobo/bonobo-window.h is in libbonoboui2-dev 2.24.5-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* bonobo-win.c: The Bonobo Window implementation.
*
* Author:
* Michael Meeks (michael@helixcode.com)
*
* Copyright 2000 Helix Code, Inc.
*/
#ifndef _BONOBO_WINDOW_H_
#define _BONOBO_WINDOW_H_
#include <glib.h>
#include <gtk/gtk.h>
#include <bonobo/bonobo-object.h>
#include <bonobo/bonobo-ui-engine.h>
#include <bonobo/bonobo-ui-container.h>
G_BEGIN_DECLS
#define BONOBO_TYPE_WINDOW (bonobo_window_get_type ())
#define BONOBO_WINDOW(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), BONOBO_TYPE_WINDOW, BonoboWindow))
#define BONOBO_WINDOW_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), BONOBO_TYPE_WINDOW, BonoboWindowClass))
#define BONOBO_IS_WINDOW(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), BONOBO_TYPE_WINDOW))
#define BONOBO_IS_WINDOW_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), BONOBO_TYPE_WINDOW))
typedef struct _BonoboWindowPrivate BonoboWindowPrivate;
typedef struct _BonoboWindow BonoboWindow;
struct _BonoboWindow {
GtkWindow parent;
BonoboWindowPrivate *priv;
};
typedef struct {
GtkWindowClass parent_class;
gpointer dummy[4];
} BonoboWindowClass;
GType bonobo_window_get_type (void) G_GNUC_CONST;
GtkWidget *bonobo_window_construct (BonoboWindow *win,
BonoboUIContainer *ui_container,
const char *win_name,
const char *title);
GtkWidget *bonobo_window_new (const char *win_name,
const char *title);
void bonobo_window_set_contents (BonoboWindow *win,
GtkWidget *contents);
GtkWidget *bonobo_window_get_contents (BonoboWindow *win);
BonoboUIEngine *bonobo_window_get_ui_engine (BonoboWindow *win);
BonoboUIContainer *bonobo_window_get_ui_container (BonoboWindow *win);
void bonobo_window_set_name (BonoboWindow *win,
const char *win_name);
char *bonobo_window_get_name (BonoboWindow *win);
GtkAccelGroup *bonobo_window_get_accel_group (BonoboWindow *win);
void bonobo_window_add_popup (BonoboWindow *win,
GtkMenu *popup,
const char *path);
/*
* NB. popups are automaticaly removed on destroy, you probably don't
* want to use this.
*/
void bonobo_window_remove_popup (BonoboWindow *win,
const char *path);
G_END_DECLS
#endif /* _BONOBO_WINDOW_H_ */
|