"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "gtkfind-1.1/create.h" of archive gtkfind-1.1.tar.gz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 /* create.h */
    2 /* header file for create.c */
    3 /* Copyright (C) 1999 Matthew Grossman <mattg@oz.net>
    4 
    5   This program is free software; you can redistribute it and/or modify
    6   it under the terms of the GNU General Public License as published by
    7   the Free Software Foundation; either version 2 of the License, or
    8   (at your option) any later version.
    9 
   10   This program is distributed in the hope that it will be useful,
   11   but WITHOUT ANY WARRANTY; without even the implied warranty of
   12   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13   GNU General Public License for more details.
   14 
   15   You should have received a copy of the GNU General Public License
   16   along with this program; if not, write to the Free Software
   17   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   18 */
   19 
   20 #ifndef CREATE_H
   21 #define CREATE_H
   22 
   23 #include<sys/types.h>
   24 #include<gtk/gtk.h>
   25 
   26 GtkWidget *create_vbox(GtkWidget *container);
   27 GtkWidget *create_hbox(GtkWidget *container);
   28 GtkWidget *create_hseparator(GtkWidget *container);
   29 GtkWidget *create_label(GtkWidget *container, char *text);
   30 GtkWidget *create_button(GtkWidget *container, void (*callback)(gpointer *),
   31 			 gpointer *callback_data);
   32 GtkWidget *create_entry(GtkWidget *container);
   33 GtkWidget *create_toggle_button(GtkWidget *container,
   34 				void (*callback)(gpointer *),
   35 				gpointer *callback_data, gint state,
   36 				char *label);
   37 GtkWidget *create_filesel(char *title,
   38 			  void (*ok)(GtkWidget *,GtkFileSelection *),
   39 			  void (*cancel)(GtkWidget *,GtkFileSelection *));
   40 
   41 #endif /* !CREATE_H */