Name
GnomeIconSelection -- An icon listing/chooser display.
Object Hierarchy
GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkVBox
+----GnomeIconSelection |
Description
This provides an icon chooser display.
Details
struct GnomeIconSelection
struct GnomeIconSelection; |
gnome_icon_selection_new ()
GtkWidget* gnome_icon_selection_new (void); |
Creates a new icon selection widget, it uses GnomeIconList
for the listing of icons
gnome_icon_selection_add_defaults ()
Adds the default pixmap directory into the selection
widget. It doesn't show the icons in the selection until you
do gnome_icon_selection_show_icons.
gnome_icon_selection_add_directory ()
Adds the icons from the directory dir to the
selection widget. It doesn't show the icons in the selection
until you do gnome_icon_selection_show_icons.
gnome_icon_selection_clear ()
Clear the currently shown icons, the ones
that weren't shown yet are not cleared unless the not_shown
parameter is given, in which case even those are cleared.
gnome_icon_selection_get_icon ()
Gets the currently selected icon name, if
full_path is true, it returns the full path to the icon,
if none is selected it returns NULL
gnome_icon_selection_select_icon ()
Selects the icon filename. This icon must have
already been added and shown * (see gnome_icon_selection_show_icons)