![]() |
![]() |
![]() |
GtkExtra Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
#include <gtkextra.h> GtkIconFileSel; GtkWidget* gtk_icon_file_selection_new (const gchar *title); void gtk_icon_file_selection_construct (GtkIconFileSel *filesel, const gchar *title); void gtk_icon_file_selection_show_tree (GtkIconFileSel *filesel, gboolean show); gint gtk_icon_file_selection_open_dir (GtkIconFileSel *filesel, const gchar *path); void gtk_icon_file_selection_show_hidden (GtkIconFileSel *filesel, gboolean visible); void gtk_icon_file_selection_set_filter (GtkIconFileSel *filesel, const gchar *filter); const gchar * gtk_icon_file_selection_get_selection (GtkIconFileSel *filesel);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkIconFileSel
It is a nice looking file selection dialog using icons. It combines GtkDirTree and GtkFileList to navigate the file system and select files. It has also two entries to select the file and filter.
GtkWidget* gtk_icon_file_selection_new (const gchar *title);
|
|
Returns : |
void gtk_icon_file_selection_construct (GtkIconFileSel *filesel, const gchar *title);
Sets the window title for GtkIconFileSelection widget.
|
the GtkIconFileSelection widget. |
|
window title. |
void gtk_icon_file_selection_show_tree (GtkIconFileSel *filesel, gboolean show);
Show icon file selection tree in filesel widget.
|
the GtkIconFileSelection widget. |
|
TRUE(show) or FALSE(don't show). |
gint gtk_icon_file_selection_open_dir (GtkIconFileSel *filesel, const gchar *path);
Show the file from path directory in filesel widget.
|
the GtkIconFileSelection widget. |
|
directory path. |
Returns : |
TRUE or FALSE depending on success |
void gtk_icon_file_selection_show_hidden (GtkIconFileSel *filesel, gboolean visible);
Set the visibility of hidden files.
|
the GtkIconFileSelection widget. |
|
TRUE(show hidden files) or FALSE(don't show hidden files). |
void gtk_icon_file_selection_set_filter (GtkIconFileSel *filesel, const gchar *filter);
Set a filter for the files show in filelist.
|
the GtkIconFileSelection widget. |
|
filter to be applied on files. |
const gchar * gtk_icon_file_selection_get_selection (GtkIconFileSel *filesel);
Gets the current selection applied on GtkIconFileSelection.
|
the GtkIconFileSelection widget. |
Returns : |
the current selection. |