org.gnu.gnome
Class IconEntry
public class IconEntry
extends VBox
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.
IconEntry(Handle handle) - Construct a new IconEntry from a handle to a native resource.
|
IconEntry(String historyId, String dialogTitle) - Construct a new IconEntry
|
IconEntry
public IconEntry(Handle handle)
Construct a new IconEntry from a handle to a native resource.
IconEntry
public IconEntry(String historyId,
String dialogTitle)
Construct a new IconEntry
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.
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.