addDefaults
public void addDefaults()
Add the default Gnome icon directories.
addDirectory
public void addDirectory(String dir)
Add icons from the specified directory.
dir
- The director to add.
clear
public void clear(boolean notShown)
Clear all icons (even the icons that are not shown if notShown
is true.
getIcon
public String getIcon(boolean fullPath)
Get the filename of the selected icon. If fullPath is true
the full path of the filename is returned.
getType
public static Type getType()
Retrieve the runtime type used by the GLib library.
gnome_icon_selection_add_defaults
protected static final void gnome_icon_selection_add_defaults(Handle gis)
gnome_icon_selection_add_directory
protected static final void gnome_icon_selection_add_directory(Handle gis,
String dir)
gnome_icon_selection_clear
protected static final void gnome_icon_selection_clear(Handle gis,
boolean notShown)
gnome_icon_selection_get_box
protected static final Handle gnome_icon_selection_get_box(Handle gis)
gnome_icon_selection_get_gil
protected static final Handle gnome_icon_selection_get_gil(Handle gis)
gnome_icon_selection_get_icon
protected static final String gnome_icon_selection_get_icon(Handle gis,
boolean fullPath)
gnome_icon_selection_get_type
protected static final int gnome_icon_selection_get_type()
gnome_icon_selection_new
protected static final Handle gnome_icon_selection_new()
gnome_icon_selection_select_icon
protected static final void gnome_icon_selection_select_icon(Handle gis,
String filename)
gnome_icon_selection_show_icons
protected static final void gnome_icon_selection_show_icons(Handle gis)
gnome_icon_selection_stop_loading
protected static final void gnome_icon_selection_stop_loading(Handle gis)
selectIcon
public void selectIcon(String filename)
Select the icon specified by the filename provided. The filename
is not the full path, just the last component.
showIcons
public void showIcons()
Load and display the icons.