Glavna stranica | Popis datoteka | Članovi klasa u datoteci

/home/srle/Projects/sisadmin/src/support.h

Dokumenacija za ovu datoteku.
00001 /********************************************************************************
00002  *      Studentski Informacijski servis, 2004                                                                           *
00003  ********************************************************************************
00004  *  SiS.Admin                                                                                                                                   *
00005  *  support.h                                                                                                                                   *
00006  *      Header file za support funkcije programa                                                                        *
00007  *                                                                                                                                                              *
00008  *  Srdjan Segvic - srle                                                                                                                *
00009  ********************************************************************************
00010  ********************************************************************************
00011  *  This program is free software; you can redistribute it and/or modify                *
00012  *  it under the terms of the GNU General Public License as published by                *
00013  *  the Free Software Foundation; either version 2 of the License, or                   *
00014  *  (at your option) any later version.                                                                                 *
00015  *                                                                                                                                                              *
00016  *  This program is distributed in the hope that it will be useful,                             *
00017  *  but WITHOUT ANY WARRANTY; without even the implied warranty of                              *
00018  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                               *
00019  *  GNU Library General Public License for more details.                                                *
00020  *                                                                                                                                                              *
00021  *  You should have received a copy of the GNU General Public License                   *
00022  *  along with this program; if not, write to the Free Software                                 *
00023  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  *
00024  ********************************************************************************/
00025 
00026 #ifdef HAVE_CONFIG_H
00027 #  include <config.h>
00028 #endif
00029 
00030 #include <gtk/gtk.h>
00031 
00032 /*
00033  * Standard gettext macros.
00034  */
00035 #ifdef ENABLE_NLS
00036 #  include <libintl.h>
00037 #  undef _
00038 #  define _(String) dgettext (PACKAGE, String)
00039 #  ifdef gettext_noop
00040 #    define N_(String) gettext_noop (String)
00041 #  else
00042 #    define N_(String) (String)
00043 #  endif
00044 #else
00045 #  define textdomain(String) (String)
00046 #  define gettext(String) (String)
00047 #  define dgettext(Domain,Message) (Message)
00048 #  define dcgettext(Domain,Message,Type) (Message)
00049 #  define bindtextdomain(Domain,Directory) (Domain)
00050 #  define _(String) (String)
00051 #  define N_(String) (String)
00052 #endif
00053 
00054 
00055 /*
00056  * Public Functions.
00057  */
00058 
00059 /*
00060  * This function returns a widget in a component created by Glade.
00061  * Call it with the toplevel widget in the component (i.e. a window/dialog),
00062  * or alternatively any widget in the component, and the name of the widget
00063  * you want returned.
00064  */
00065 GtkWidget*  lookup_widget              (GtkWidget       *widget,
00066                                         const gchar     *widget_name);
00067 
00068 
00069 /* Use this function to set the directory containing installed pixmaps. */
00070 void        add_pixmap_directory       (const gchar     *directory);
00071 
00072 
00073 /*
00074  * Private Functions.
00075  */
00076 
00077 /* This is used to create the pixmaps used in the interface. */
00078 GtkWidget*  create_pixmap              (GtkWidget       *widget,
00079                                         const gchar     *filename);
00080 
00081 /* This is used to create the pixbufs used in the interface. */
00082 GdkPixbuf*  create_pixbuf              (const gchar     *filename);
00083 
00084 /* This is used to set ATK action descriptions. */
00085 void        glade_set_atk_action_description (AtkAction       *action,
00086                                               const gchar     *action_name,
00087                                               const gchar     *description);
00088 

Generirano Thu Sep 16 17:26:20 2004 projekt: SiS.Admin generator: doxygen 1.3.2