/usr/include/libbonoboui-2.0/bonobo/bonobo-widget.h is in libbonoboui2-dev 2.24.5-4.
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 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/**
* bonobo-widget.h: Bonobo Widget object.
*
* Authors:
* Nat Friedman (nat@nat.org)
* Michael Meeks (michael@ximian.com)
*
* Copyright 1999-2001 Ximian, Inc.
*/
#ifndef _BONOBO_WIDGET_H_
#define _BONOBO_WIDGET_H_
#include <glib.h>
#include <gtk/gtk.h>
#include <bonobo/Bonobo.h>
#include <bonobo/bonobo-object.h>
G_BEGIN_DECLS
#define BONOBO_TYPE_WIDGET (bonobo_widget_get_type ())
#define BONOBO_WIDGET(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), BONOBO_TYPE_WIDGET, BonoboWidget))
#define BONOBO_WIDGET_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), BONOBO_TYPE_WIDGET, BonoboWidgetClass))
#define BONOBO_IS_WIDGET(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), BONOBO_TYPE_WIDGET))
#define BONOBO_IS_WIDGET_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), BONOBO_TYPE_WIDGET))
struct _BonoboWidget;
typedef struct _BonoboWidget BonoboWidget;
#include <bonobo/bonobo-control-frame.h>
struct _BonoboWidgetPrivate;
typedef struct _BonoboWidgetPrivate BonoboWidgetPrivate;
struct _BonoboWidget {
GtkBin bin;
BonoboWidgetPrivate *priv;
};
typedef struct {
GtkBinClass bin_class;
gpointer dummy[4];
} BonoboWidgetClass;
GType bonobo_widget_get_type (void) G_GNUC_CONST;
Bonobo_Unknown bonobo_widget_get_objref (BonoboWidget *bw);
/*
* BonoboWidget for Controls.
*/
GtkWidget *bonobo_widget_new_control (const char *moniker,
Bonobo_UIContainer uic);
GtkWidget *bonobo_widget_new_control_from_objref (Bonobo_Control control,
Bonobo_UIContainer uic);
BonoboControlFrame *bonobo_widget_get_control_frame (BonoboWidget *bw);
Bonobo_UIContainer bonobo_widget_get_ui_container (BonoboWidget *bw);
typedef void (*BonoboWidgetAsyncFn) (BonoboWidget *widget,
CORBA_Environment *ev,
gpointer user_data);
GtkWidget *bonobo_widget_new_control_async (const char *moniker,
Bonobo_UIContainer uic,
BonoboWidgetAsyncFn fn,
gpointer user_data);
/*
* Constructors (for derivation and wrapping only)
*/
BonoboWidget *bonobo_widget_construct_control_from_objref (BonoboWidget *bw,
Bonobo_Control control,
Bonobo_UIContainer uic,
CORBA_Environment *ev);
BonoboWidget *bonobo_widget_construct_control (BonoboWidget *bw,
const char *moniker,
Bonobo_UIContainer uic,
CORBA_Environment *ev);
/*
* Setting properties on a Control's Property Bag,
* These take Name, TypeCode, Value triplets.
*/
void bonobo_widget_set_property (BonoboWidget *control,
const char *first_prop,
...) G_GNUC_NULL_TERMINATED;
void bonobo_widget_get_property (BonoboWidget *control,
const char *first_prop,
...) G_GNUC_NULL_TERMINATED;
/* Compat */
#define bonobo_widget_get_uih(w) bonobo_widget_get_ui_container (w)
G_END_DECLS
#endif
|