A GnomeIconEntry is a button that pops up a window displaying a
collection of icons. The user can select one of the icons found in
/usr/share/pixmaps or browse the file system to find icons in other
directories. The pull-down list of directory names maintains a
history of previously opened directories.
fireIconEntryEvent
protected void fireIconEntryEvent(IconEntryEvent event)
getEventListenerClass
public Class getEventListenerClass(String signal)
getEventType
public EventType getEventType(String signal)
getFilename
public String getFilename()
Retrieve the filename of the icon selected
getType
public static Type getType()
Retrieve the runtime type used by the GLib library.
gnome_icon_entry_get_filename
protected static final String gnome_icon_entry_get_filename(Handle ientry)
gnome_icon_entry_get_type
protected static final int gnome_icon_entry_get_type()
gnome_icon_entry_new
protected static final Handle gnome_icon_entry_new(String historyId,
String browserDialogTitle)
gnome_icon_entry_pick_dialog
protected static final Handle gnome_icon_entry_pick_dialog(Handle ientry)
gnome_icon_entry_set_browse_dialog_title
protected static final void gnome_icon_entry_set_browse_dialog_title(Handle ientry,
String browseDialogTitle)
gnome_icon_entry_set_filename
protected static final boolean gnome_icon_entry_set_filename(Handle ientry,
String filename)
gnome_icon_entry_set_history_id
protected static final void gnome_icon_entry_set_history_id(Handle ientry,
String historyId)
gnome_icon_entry_set_max_saved
protected static final void gnome_icon_entry_set_max_saved(Handle ientry,
int max)
gnome_icon_entry_set_pixmap_subdir
protected static final void gnome_icon_entry_set_pixmap_subdir(Handle ientry,
String subdir)
setBrowseDialogTitle
public void setBrowseDialogTitle(String browseDialogTitle)
Set the title for the Browse Dialog.
setFilename
public void setFilename(String filename)
Set the filename of an icon.
setHistoryId
public void setHistoryId(String id)
Set the history id
setMaxSaved
public void setMaxSaved(int maxSaved)
Sets the maximum number of save entries in the browse dialog.
maxSaved
-
setSubdirectory
public void setSubdirectory(String subdir)
Set the subdirectory in which to look for icons.