/* * (GLABELS) Label and Business Card Creation program for GNOME * * ui-sidebar.h: Object property sidebar header file * * Copyright (C) 2003 Jim Evins . * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __UI_SIDEBAR_H__ #define __UI_SIDEBAR_H__ #include #include #include #include "view.h" G_BEGIN_DECLS #define GL_TYPE_UI_SIDEBAR (gl_ui_sidebar_get_type ()) #define GL_UI_SIDEBAR(obj) \ (GTK_CHECK_CAST((obj), GL_TYPE_UI_SIDEBAR, glUISidebar )) #define GL_UI_SIDEBAR_CLASS(klass) \ (GTK_CHECK_CLASS_CAST ((klass), GL_TYPE_UI_SIDEBAR, glUISidebarClass)) #define GL_IS_UI_SIDEBAR(obj) \ (GTK_CHECK_TYPE ((obj), GL_TYPE_UI_SIDEBAR)) #define GL_IS_UI_SIDEBAR_CLASS(klass) \ (GTK_CHECK_CLASS_TYPE ((klass), GL_TYPE_UI_SIDEBAR)) typedef struct _glUISidebar glUISidebar; typedef struct _glUISidebarClass glUISidebarClass; struct _glUISidebar { GtkVBox parent_widget; BonoboUIComponent *ui_component; glView *view; GtkWidget *child; GtkWidget *empty_child; }; struct _glUISidebarClass { GtkVBoxClass parent_class; }; GType gl_ui_sidebar_get_type (void) G_GNUC_CONST; GObject *gl_ui_sidebar_new (BonoboUIComponent *ui_component); void gl_ui_sidebar_set_view (glUISidebar *sidebar, glView *view); G_END_DECLS #endif /* __UI_SIDEBAR_H__ */