File: bonobo-wrapper.h

package info (click to toggle)
bonobo 1.0.22-2.2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 13,412 kB
  • ctags: 5,445
  • sloc: ansic: 51,714; sh: 7,733; makefile: 1,425; yacc: 318; xml: 266; sed: 16
file content (51 lines) | stat: -rw-r--r-- 1,466 bytes parent folder | download | duplicates (2)
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
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/**
 * bonobo-wrapper.h: Wrapper for plug/socket children in Bonobo
 *
 * Author: Federico Mena <federico@nuclecu.unam.mx>
 *
 * Copyright (C) 1999 the Free Software Foundation
 */

#ifndef BONOBO_WRAPPER_H
#define BONOBO_WRAPPER_H

#include <libgnome/gnome-defs.h>
#include <gtk/gtkbin.h>

BEGIN_GNOME_DECLS


#define GNOME_TYPE_WRAPPER            (bonobo_wrapper_get_type ())
#define BONOBO_WRAPPER(obj)            (GTK_CHECK_CAST ((obj), GNOME_TYPE_WRAPPER, BonoboWrapper))
#define BONOBO_WRAPPER_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_WRAPPER, BonoboWrapperClass))
#define BONOBO_IS_WRAPPER(obj)         (GTK_CHECK_TYPE ((obj), GNOME_TYPE_WRAPPER))
#define BONOBO_IS_WRAPPER_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_WRAPPER))


typedef struct _BonoboWrapperPrivate BonoboWrapperPrivate;

typedef struct {
	GtkBin bin;

	/* Private data. */
	BonoboWrapperPrivate *priv;
} BonoboWrapper;

typedef struct {
	GtkBinClass parent_class;
} BonoboWrapperClass;


GtkType		 bonobo_wrapper_get_type		(void);
GtkWidget	*bonobo_wrapper_new		(void);

void		 bonobo_wrapper_set_covered	(BonoboWrapper *wrapper, gboolean covered);
gboolean	 bonobo_wrapper_is_covered	(BonoboWrapper *wrapper);

gboolean	 bonobo_wrapper_get_visibility	(BonoboWrapper *wrapper);
void		 bonobo_wrapper_set_visibility	(BonoboWrapper *wrapper, gboolean visible);

END_GNOME_DECLS

#endif