source: trunk/third/bonobo/bonobo/bonobo-selector-widget.h @ 15509

Revision 15509, 1.8 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-selector-widget.h: Bonobo Component Selector
4 *
5 * Author:
6 *   Michael Meeks (michael@helixcode.com)
7 *
8 * Copyright  2000 Helix Code, Inc.
9 */
10#ifndef BONOBO_SELECTOR_WIDGET_H
11#define BONOBO_SELECTOR_WIDGET_H
12
13#include <gtk/gtk.h>
14
15BEGIN_GNOME_DECLS
16
17#define BONOBO_SELECTOR_WIDGET(obj)             GTK_CHECK_CAST(obj,  bonobo_selector_widget_get_type (), BonoboSelectorWidget)
18#define BONOBO_SELECTOR_WIDGET_CLASS(klass)     GTK_CHECK_CLASS_CAST (klass, bonobo_selector_widget_get_type (), BonoboSelectorWidgetClass)
19#define BONOBO_IS_SELECTOR_WIDGET(obj)          GTK_CHECK_TYPE (obj, bonobo_selector_widget_get_type ())
20
21typedef struct _BonoboSelectorWidgetPrivate BonoboSelectorWidgetPrivate;
22
23typedef struct {
24        GtkVBox parent;
25
26        BonoboSelectorWidgetPrivate *priv;
27} BonoboSelectorWidget;
28
29typedef struct {
30        GtkVBoxClass parent_class;
31
32        /* Virtual methods */
33        gchar *(* get_id)          (BonoboSelectorWidget *sel);
34        gchar *(* get_name)        (BonoboSelectorWidget *sel);
35        gchar *(* get_description) (BonoboSelectorWidget *sel);
36        void   (* set_interfaces)  (BonoboSelectorWidget *sel,
37                                    const gchar         **interfaces);
38
39        /* User select */
40        void   (* final_select)    (BonoboSelectorWidget *sel);
41} BonoboSelectorWidgetClass;
42
43GtkType    bonobo_selector_widget_get_type (void);
44
45GtkWidget *bonobo_selector_widget_new      (void);
46
47void       bonobo_selector_widget_set_interfaces  (BonoboSelectorWidget *sel,
48                                                   const gchar **interfaces_required);
49
50gchar     *bonobo_selector_widget_get_id          (BonoboSelectorWidget *sel);
51gchar     *bonobo_selector_widget_get_name        (BonoboSelectorWidget *sel);
52gchar     *bonobo_selector_widget_get_description (BonoboSelectorWidget *sel);
53
54
55END_GNOME_DECLS
56
57#endif /* BONOBO_SELECTOR_H */
58
Note: See TracBrowser for help on using the repository browser.