Project Homepage Sourceforge Page CVS Repository Freshmeat.net Page Download project Author's Homepage

support.h

Go to the documentation of this file.
00001 /*!\file support.h
00002   \brief support functionality
00003   This file was originally created by glade
00004 */
00005 /* NOTICE:
00006     Copyright (C) 2004  Karl N. Redman (SleepingStill.com)
00007 
00008     This program is free software; you can redistribute it and/or modify
00009     it under the terms of the GNU General Public License as published by
00010     the Free Software Foundation; either version 2 of the License, or
00011     (at your option) any later version.
00012 
00013     This program is distributed in the hope that it will be useful,
00014     but WITHOUT ANY WARRANTY; without even the implied warranty of
00015     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016     GNU General Public License for more details.
00017 
00018     You should have received a copy of the GNU General Public License
00019     along with this program; if not, write to the Free Software
00020     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00021 
00022     For further information contact: parasyte@sleepingstill.com
00023 */
00024 
00025 #ifdef HAVE_CONFIG_H
00026 #  include <config.h>
00027 #endif
00028 
00029 #include <gtk/gtk.h>
00030 
00031 #ifndef _SUPPORT_H_
00032 #define _SUPPORT_H_
00033 
00034 /*
00035  * Public Functions.
00036  */
00037 
00038 /*!
00039  * This function returns a widget in a component created by Glade.
00040  * Call it with the toplevel widget in the component (i.e. a window/dialog),
00041  * or alternatively any widget in the component, and the name of the widget
00042  * you want returned.
00043  */
00044 GtkWidget*  lookup_widget              (GtkWidget       *widget,
00045                                         const gchar     *widget_name);
00046 
00047 /*! get_widget() is deprecated. Use lookup_widget instead. */
00048 #define get_widget lookup_widget
00049 
00050 /*! Use this function to set the directory containing installed pixmaps. */
00051 void        add_pixmap_directory       (const gchar     *directory);
00052 
00053 
00054 /*
00055  * Private Functions.
00056  */
00057 
00058 /*! This is used to create the pixmaps in the interface. */
00059 GtkWidget*  create_pixmap              (GtkWidget       *widget,
00060                                         const gchar     *filename);
00061 
00062 #endif //_SUPPORT_H_

Generated on Thu Mar 18 07:26:17 2004 for run-free by doxygen 1.3.5