Name
GnomeIconEntry -- A widget to select an icon.
Object Hierarchy
GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkVBox
+----GnomeIconEntry |
Description
This widget provides the facilities to select an icon. An icon is
displayed inside a button, when the button is pressed, an Icon
selector (a dialog with a GnomeIconSel widget) pops up to let the
user choose an icon. It also allows one to Drag and Drop the images
to and from the preview button.
Details
gnome_icon_entry_new ()
GtkWidget* gnome_icon_entry_new (char *history_id,
char *browse_dialog_title); |
Creates a new icon entry widget
gnome_icon_entry_set_pixmap_subdir ()
void gnome_icon_entry_set_pixmap_subdir
(GnomeIconEntry *ientry,
const char *subdir); |
Sets the subdirectory below gnome's default
pixmap directory to use as the default path for the file
entry.
gnome_icon_entry_gnome_file_entry ()
GtkWidget* gnome_icon_entry_gnome_file_entry
(GnomeIconEntry *ientry); |
Get the GnomeFileEntry widget that's part of the entry
gnome_icon_entry_gnome_entry ()
Get the GnomeEntry widget that's part of the entry
gnome_icon_entry_gtk_entry ()
Get the GtkEntry widget that's part of the entry
gnome_icon_entry_get_filename ()
Gets the file name of the image if it was possible
to load it into the preview. That is, it will only return a filename
if the image exists and it was possible to load it as an image.