diff options
author | Ian Main <imain@gnu.org> | 1998-03-06 05:03:15 +0000 |
---|---|---|
committer | Ian Main <imain@src.gnome.org> | 1998-03-06 05:03:15 +0000 |
commit | 2a4c36a73d3a12466bfebdc4dca1b8f31bd8695b (patch) | |
tree | 87837d9b114d5ed7a70dbd1170a7f09c1f526321 /gtk/gtkfilesel.h | |
parent | 4a35f24c470096c2d4edd9bfd95acab4efd60709 (diff) | |
download | gtk+-2a4c36a73d3a12466bfebdc4dca1b8f31bd8695b.tar.gz |
Added gtk_file_selection_show_fileop_buttons(GtkFileSelection *fs), and
Thu Mar 5 20:41:27 1998 Ian Main <imain@gnu.org>
* gtk/gtkfilesel.c: Added
gtk_file_selection_show_fileop_buttons(GtkFileSelection *fs), and
gtk_file_selection_hide_fileop_buttons(GtkFileSelection *fs).
Changed pulldown to only contain current directory name instead of
the full path. Removed Help button (it can now be packed into the
button_area if desired.
* gtk/gtkfilesel.h: Added GtkWidget *button_area (the fileop
buttons at the top are packed into this hbox), and GtkWidget
action_area (hbox below clists) to GtkFileSelection structure.
* gtk/testgtk.c: Changed the filesel example to show off the hiding/
showing of fileop buttons, and the packing area.
Diffstat (limited to 'gtk/gtkfilesel.h')
-rw-r--r-- | gtk/gtkfilesel.h | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/gtk/gtkfilesel.h b/gtk/gtkfilesel.h index 75c24d6035..797420e168 100644 --- a/gtk/gtkfilesel.h +++ b/gtk/gtkfilesel.h @@ -55,6 +55,14 @@ struct _GtkFileSelection GtkWidget *fileop_entry; gchar *fileop_file; gpointer cmpl_state; + + GtkWidget *fileop_c_dir; + GtkWidget *fileop_del_file; + GtkWidget *fileop_ren_file; + + GtkWidget *button_area; + GtkWidget *action_area; + }; struct _GtkFileSelectionClass @@ -64,10 +72,12 @@ struct _GtkFileSelectionClass guint gtk_file_selection_get_type (void); -GtkWidget* gtk_file_selection_new (const gchar *title); -void gtk_file_selection_set_filename (GtkFileSelection *filesel, - const gchar *filename); -gchar* gtk_file_selection_get_filename (GtkFileSelection *filesel); +GtkWidget* gtk_file_selection_new (const gchar *title); +void gtk_file_selection_set_filename (GtkFileSelection *filesel, + const gchar *filename); +gchar* gtk_file_selection_get_filename (GtkFileSelection *filesel); +void gtk_file_selection_show_fileop_buttons (GtkFileSelection *filesel); +void gtk_file_selection_hide_fileop_buttons (GtkFileSelection *filesel); #ifdef __cplusplus @@ -76,3 +86,13 @@ gchar* gtk_file_selection_get_filename (GtkFileSelection *filesel); #endif /* __GTK_FILESEL_H__ */ + + + + + + + + + + |