/*================================================================== * popdog.h - Header file for popup dialogs * * Swami * Copyright (C) 1999-2003 Josh Green * * 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 or point your web browser to http://www.gnu.org. * * To contact the author of this program: * Email: Josh Green * Swami homepage: http://swami.sourceforge.net *==================================================================*/ #ifndef __POPDOG_WIDG_H__ #define __POPDOG_WIDG_H__ #include #include #define GTK_TYPE_POPDOG (gtk_popdog_get_type()) #define GTK_POPDOG(obj) (GTK_CHECK_CAST((obj), GTK_TYPE_POPDOG, GtkPopDog)) #define GTK_POPDOG_CLASS(klass) (GTK_CHECK_CLASS_CAST((klass), GTK_TYPE_POPDOG, GtkPopDogClass)) #define GTK_IS_POPDOG(obj) (GTK_CHECK_TYPE((obj), GTK_TYPE_POPDOG)) #define GTK_IS_POPDOG_CLASS(klass) (GTK_CHECK_CLASS_TYPE((klass), GTK_TYPE_POPDOG)) typedef struct _GtkPopDog GtkPopDog; typedef struct _GtkPopDogClass GtkPopDogClass; struct _GtkPopDog { GtkWindow window; GtkWidget *vbox; GtkWidget *action_area; }; struct _GtkPopDogClass { GtkWindowClass parent_class; }; GtkType gtk_popdog_get_type (void); GtkWidget *gtk_popdog_new (gchar * title); #endif