Logo Search packages:      
Sourcecode: jags version File versions  Download package

gtk_common.h

/*
 **  Copyright (C) 2000-2003 Daniel Sundberg <sumpan@sumpan.com>
 **
 **  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.
 **
 ** Jags contact information:
 ** Made by:    Daniel Sundberg
 ** E-Mail:     sumpan@sumpan.com
 ** Homepage:   http://jags.sf.net
 ** 
 ** ChangeLog:
 **
 **   Sat Aug 9 2003 Daniel Sundberg <sumpan@sumpan.com>
 **     - Coding style
 **
 **   2001 Robert Kling <robkli-8@student.luth.se>
 **     - Added PopupDialog
 */

#include <gtk/gtk.h>

#ifndef __GTK_COMMON_H
#define __GTK_COMMON_H

GtkWidget *xpm_label_box(GtkWidget *parent, gchar *xpm_filename, gchar *label_text);
gchar *xpm_label_box_get_text(GtkWidget *);
GtkWidget *gtk_button_new_with_label_with_pixmap(gchar *label, gchar *pixmap);
gchar *gtk_button_get_text(GtkWidget *button);
GtkWidget *gtk_menu_item_new_with_label_with_pixmap(gchar *label, gchar *pixmap);
gchar *gtk_menu_item_get_text(GtkWidget *menu_item);
GtkWidget *gtk_tree_item_new_with_label_with_pixmap(gchar *label, gchar *pixmap);
gchar *gtk_tree_item_get_text(GtkWidget *tree_item);
GtkWidget *gtk_option_menu_new_with_glist(GList *glist);
void gtk_combo_set_default_text(GtkWidget *combo, gchar *text);
GtkWidget *gtk_icon2widget(gchar *icon, GtkWidget *parent);

/* Funtions by Robert Kling (robkli-8@student.luth.se */
void popup_dialog(gint height, gchar *title, gchar *text, gchar *button_text);
gint close_popup_dialog(GtkWidget *widget, gpointer data);

#endif

Generated by  Doxygen 1.6.0   Back to index