source: trunk/third/bonobo/bonobo/bonobo-ui-icon.h @ 17169

Revision 17169, 1.9 KB checked in by ghudson, 23 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r17168, which included commits to RCS files with non-trunk default branches.
Line 
1/* bonobo-ui-icon.h: Icon widget for the Bonobo UI engine
2 *
3 * Copyright (C) 2001 Ximian, Inc.
4 *
5 * Author: Federico Mena-Quintero <federico@ximian.com>
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15 * Library General Public License for more details.
16 *
17 * You should have received a copy of the GNU Library General Public
18 * License along with this library; if not, write to the
19 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 * Boston, MA 02111-1307, USA.
21 */
22
23#ifndef _BONOBO_UI_ICON_H_
24#define _BONOBO_UI_ICON_H_
25
26#include <gdk-pixbuf/gdk-pixbuf.h>
27#include <gtk/gtkwidget.h>
28
29
30
31#define BONOBO_UI_ICON_TYPE            (bonobo_ui_icon_get_type ())
32#define BONOBO_UI_ICON(obj)            (GTK_CHECK_CAST ((obj), BONOBO_UI_ICON_TYPE, BonoboUIIcon))
33#define BONOBO_UI_ICON_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((obj), BONOBO_UI_ICON_TYPE, BonoboUIIcon))
34#define BONOBO_IS_UI_ICON(obj)         (GTK_CHECK_TYPE ((obj), BONOBO_UI_ICON_TYPE))
35#define BONOBO_IS_UI_ICON_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), BONOBO_IS_UI_ICON_CLASS))
36
37typedef struct BonoboUIIconPrivate BonoboUIIconPrivate;
38
39typedef struct {
40        GtkWidget widget;
41
42        /* Private data */
43        BonoboUIIconPrivate *priv;
44} BonoboUIIcon;
45
46typedef struct {
47        GtkWidgetClass parent_class;
48} BonoboUIIconClass;
49
50GtkType bonobo_ui_icon_get_type (void);
51
52GtkWidget *bonobo_ui_icon_new (void);
53
54void bonobo_ui_icon_set_images (BonoboUIIcon *icon, GdkPixbuf **images);
55
56gboolean bonobo_ui_icon_set_from_pixbuf (BonoboUIIcon *icon, GdkPixbuf *base);
57
58
59
60#endif
Note: See TracBrowser for help on using the repository browser.