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)
gnome_icon_selection_stop_loading ()
Stop the loading of images when we are in
the loop in show_icons, otherwise it does nothing and is
harmless, it should be used say if the dialog was hidden
or when we want to quickly stop loading the images to do
something else without destroying the icon selection object.
The remaining icons can be shown by
gnome_icon_selection_show_icons.
gnome_icon_selection_get_gil ()
Gets the GnomeIconList widget that is
used for the display of icons
gnome_icon_selection_get_box ()
Gets the GtkVBox widget that is
used to pack the different elements of the selection
into.