source: trunk/third/bonobo/bonobo/bonobo-wrapper.h @ 15509

Revision 15509, 1.4 KB checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r15508, which included commits to RCS files with non-trunk default branches.
Line 
1/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2/**
3 * bonobo-wrapper.h: Wrapper for plug/socket children in Bonobo
4 *
5 * Author: Federico Mena <federico@nuclecu.unam.mx>
6 *
7 * Copyright (C) 1999 the Free Software Foundation
8 */
9
10#ifndef BONOBO_WRAPPER_H
11#define BONOBO_WRAPPER_H
12
13#include <libgnome/gnome-defs.h>
14#include <gtk/gtkbin.h>
15
16BEGIN_GNOME_DECLS
17
18
19#define GNOME_TYPE_WRAPPER            (bonobo_wrapper_get_type ())
20#define BONOBO_WRAPPER(obj)            (GTK_CHECK_CAST ((obj), GNOME_TYPE_WRAPPER, BonoboWrapper))
21#define BONOBO_WRAPPER_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_WRAPPER, BonoboWrapperClass))
22#define BONOBO_IS_WRAPPER(obj)         (GTK_CHECK_TYPE ((obj), GNOME_TYPE_WRAPPER))
23#define BONOBO_IS_WRAPPER_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_WRAPPER))
24
25
26typedef struct _BonoboWrapperPrivate BonoboWrapperPrivate;
27
28typedef struct {
29        GtkBin bin;
30
31        /* Private data. */
32        BonoboWrapperPrivate *priv;
33} BonoboWrapper;
34
35typedef struct {
36        GtkBinClass parent_class;
37} BonoboWrapperClass;
38
39
40GtkType          bonobo_wrapper_get_type                (void);
41GtkWidget       *bonobo_wrapper_new             (void);
42
43void             bonobo_wrapper_set_covered     (BonoboWrapper *wrapper, gboolean covered);
44gboolean         bonobo_wrapper_is_covered      (BonoboWrapper *wrapper);
45
46gboolean         bonobo_wrapper_get_visibility  (BonoboWrapper *wrapper);
47void             bonobo_wrapper_set_visibility  (BonoboWrapper *wrapper, gboolean visible);
48
49END_GNOME_DECLS
50
51#endif
Note: See TracBrowser for help on using the repository browser.