fireIconViewEvent
protected void fireIconViewEvent(IconViewEvent event)
getColumnSpacing
public int getColumnSpacing()
getColumns
public int getColumns()
Returns the number of columns for this IconView.
getEventListenerClass
public Class getEventListenerClass(String signal)
- getEventListenerClass in interface Container
getEventType
public EventType getEventType(String signal)
- getEventType in interface Container
getItemWidth
public int getItemWidth()
Returns the width of each item.
getMargin
public int getMargin()
getMarkupColumn
public int getMarkupColumn()
Returns the column with markup text for this IconView.
getModel
public TreeModel getModel()
Returns the model that the IconView is using. It will return
null if a model is the IconView currently does not have a model.
getOrientation
public Orientation getOrientation()
Returns the Orientation for this IconView.
getPathAtPosition
public TreePath getPathAtPosition(int x,
int y)
Find the path at the point (x,y) relative to widget coordinates.
x
- y
-
getPixbufColumn
public int getPixbufColumn()
Returns the column with Pixbufs for this IconView.
getRowSpacing
public int getRowSpacing()
getSelectedItems
public TreePath[] getSelectedItems()
Returns an array of all selected paths.
getSelectionMode
public SelectionMode getSelectionMode()
Returns the selection mode for this IconView.
getSpacing
public int getSpacing()
getTextColumn
public int getTextColumn()
Returns the column with text fro this IconView.
gtk_icon_view_get_column_spacing
protected static final int gtk_icon_view_get_column_spacing(Handle view)
gtk_icon_view_get_columns
protected static final int gtk_icon_view_get_columns(Handle view)
gtk_icon_view_get_item_width
protected static final int gtk_icon_view_get_item_width(Handle view)
gtk_icon_view_get_margin
protected static final int gtk_icon_view_get_margin(Handle view)
gtk_icon_view_get_markup_column
protected static final int gtk_icon_view_get_markup_column(Handle view)
gtk_icon_view_get_model
protected static final Handle gtk_icon_view_get_model(Handle view)
gtk_icon_view_get_orientation
protected static final int gtk_icon_view_get_orientation(Handle view)
gtk_icon_view_get_path_at_pos
protected static final Handle gtk_icon_view_get_path_at_pos(Handle view,
int x,
int y)
gtk_icon_view_get_pixbuf_column
protected static final int gtk_icon_view_get_pixbuf_column(Handle view)
gtk_icon_view_get_row_spacing
protected static final int gtk_icon_view_get_row_spacing(Handle view)
gtk_icon_view_get_selected_items
protected static final Handle[] gtk_icon_view_get_selected_items(Handle view)
gtk_icon_view_get_selection_mode
protected static final int gtk_icon_view_get_selection_mode(Handle view)
gtk_icon_view_get_spacing
protected static final int gtk_icon_view_get_spacing(Handle view)
gtk_icon_view_get_text_column
protected static final int gtk_icon_view_get_text_column(Handle view)
gtk_icon_view_get_type
protected static final int gtk_icon_view_get_type()
gtk_icon_view_item_activated
protected static final void gtk_icon_view_item_activated(Handle view,
Handle path)
gtk_icon_view_new
protected static final Handle gtk_icon_view_new()
gtk_icon_view_new_with_model
protected static final Handle gtk_icon_view_new_with_model(Handle model)
gtk_icon_view_path_is_selected
protected static final boolean gtk_icon_view_path_is_selected(Handle view,
Handle path)
gtk_icon_view_select_all
protected static final void gtk_icon_view_select_all(Handle view)
gtk_icon_view_select_path
protected static final void gtk_icon_view_select_path(Handle view,
Handle path)
gtk_icon_view_set_column_spacing
protected static final void gtk_icon_view_set_column_spacing(Handle view,
int spacing)
gtk_icon_view_set_columns
protected static final void gtk_icon_view_set_columns(Handle view,
int columns)
gtk_icon_view_set_item_width
protected static final void gtk_icon_view_set_item_width(Handle view,
int width)
gtk_icon_view_set_margin
protected static final void gtk_icon_view_set_margin(Handle view,
int margin)
gtk_icon_view_set_markup_column
protected static final void gtk_icon_view_set_markup_column(Handle view,
int column)
gtk_icon_view_set_model
protected static final void gtk_icon_view_set_model(Handle view,
Handle model)
gtk_icon_view_set_orientation
protected static final void gtk_icon_view_set_orientation(Handle view,
int orientation)
gtk_icon_view_set_pixbuf_column
protected static final void gtk_icon_view_set_pixbuf_column(Handle view,
int column)
gtk_icon_view_set_row_spacing
protected static final void gtk_icon_view_set_row_spacing(Handle view,
int spacing)
gtk_icon_view_set_selection_mode
protected static final void gtk_icon_view_set_selection_mode(Handle view,
int mode)
gtk_icon_view_set_spacing
protected static final void gtk_icon_view_set_spacing(Handle view,
int spacing)
gtk_icon_view_set_text_column
protected static final void gtk_icon_view_set_text_column(Handle view,
int column)
gtk_icon_view_unselect_all
protected static final void gtk_icon_view_unselect_all(Handle view)
gtk_icon_view_unselect_path
protected static final void gtk_icon_view_unselect_path(Handle view,
Handle path)
itemActivated
public void itemActivated(TreePath path)
Activate the item specified by path.
path
-
pathIsSelected
public boolean pathIsSelected(TreePath path)
returns true if the path is currently selected.
path
-
selectAll
public void selectAll()
Selects all of the icons. The IconView must have its' selection
mode set to SelectionMode.MILTIPLE.
selectPath
public void selectPath(TreePath path)
Selects the row at the specified path.
path
-
setColumnSpacing
public void setColumnSpacing(int columnSpacing)
columnSpacing
-
setColumns
public void setColumns(int columns)
Set the number of columns for this IconView.
columns
-
setItemWidth
public void setItemWidth(int width)
Sets the width of each item.
width
-
setMargin
public void setMargin(int margin)
margin
-
setMarkupColumn
public void setMarkupColumn(int column)
Sets the column with markup information for this IconView to be
the specified column. The markup column must be of type DataColumnString.
If the markup column is set to something it overrides the text column
set by setTextColumn
column
-
setModel
public void setModel(TreeModel model)
Sets the model for this IconView. If the IconView already has a
model it will remove it before setting the new model. If model
is null it will unset the old model.
model
-
setOrientation
public void setOrientation(Orientation orientation)
Sets the orientation of this IconView which determines whether
the labels are drawn beside instead of below the icons.
orientation
-
setPixbufColumn
public void setPixbufColumn(int column)
Sets the column with Pixbufs for this IconView to be the
specified column. This pixubf column must be of type
DataColumnPixbuf.
column
-
setRowSpacing
public void setRowSpacing(int rowSpacing)
rowSpacing
-
setSelectionMode
public void setSelectionMode(SelectionMode mode)
Sets the selection mode for this IconView.
mode
-
setSpacing
public void setSpacing(int spacing)
spacing
-
setTextColumn
public void setTextColumn(int column)
Sets the column with text for this IconView to be the specified column.
The text column must be of type DataColumnString.
column
-
unselectAll
public void unselectAll()
Unselects all of the icons.
unselectPath
public void unselectPath(TreePath path)
Unselects the row at the specified path.
path
-