org.gnu.gnome
public class IconList extends Canvas
Deprecated:
See Also: org.gnu.gtk.IconView
| Constructor Summary | |
|---|---|
| IconList(int iconWidth, Adjustment adj, boolean isEditable, boolean isStaticText)
Construct a new IconList object. | |
| IconList(Handle handle)
Construct a new IconList from a handle to a native resource. | |
| Method Summary | |
|---|---|
| void | append(String iconFilename, String text)
Append an icon to the end of the list.
|
| void | clear()
Remove all icons from this list. |
| void | freeze()
Avoid excessive recomputes during insertion and deletion. |
| String | getIconFilename(int pos)
Retrieve the filename for an icon in the list.
|
| int | getNumIcons()
Get the number of icons in this list
|
| SelectionMode | getSelectionMode()
Retrieve the selection mode for this icon list.
|
| static Type | getType()
Retrieve the runtime type used by the GLib library. |
| void | insert(int pos, String iconFilename, String text)
Insert an icon into this list.
|
| void | remove(int pos)
Remove an icon from this list.
|
| void | selectAll()
Select all icons in the list. |
| void | selectIcon(int pos)
Select an icon in the list.
|
| void | setColumnSpacing(int pixels)
Set the column spacing for the list.
|
| void | setIconBorderWidth(int pixels)
Set the icon border for the list.
|
| void | setIconWidth(int width)
Set the icon width for the list.
|
| void | setRowSpacing(int pixels)
Set the row spacing for the list.
|
| void | setSelectionMode(SelectionMode mode)
Set the selection mode for this icon list.
|
| void | setSeparators(String sep)
Set the text that serves as the separator for this list. |
| void | setTextSpacing(int pixels)
Set the text spacing for the list.
|
| void | thaw()
Thaw a previous frozen list. |
| void | unselectAll()
Unselect all icons in the list. |
| void | unselectIcon(int pos)
Unselect an icon in the list.
|
Parameters: iconFilename The file name for the icon to insert. text The text to display below the icon.
Parameters: pos The position of the icon to retrieve the filename.
Returns: The number of icons in this list.
Returns: The selection mode for this list.
Parameters: pos The position for the insertion. iconFilename The file name for the icon to insert. text The text to display below the icon.
Parameters: pos The position of the icon to remove
Parameters: pos The position of the icon to select.
Parameters: pixels The column spacing for the list.
Parameters: pixels The amount of pixels that surround the icons in the list.
Parameters: width The width for icons in the list.
Parameters: pixels The row spacing for the list.
Parameters: mode The selection mode for this list.
Parameters: pixels The text spacing for the list
Parameters: pos The position of the icon to unselect.