Table of Contents

Class IconView

Namespace
Gtk.Internal
Assembly
Gtk-4.0.dll
public class IconView
Inheritance
IconView
Inherited Members

Methods

CreateDragIcon(IntPtr, TreePathHandle)

Calls native method gtk_icon_view_create_drag_icon.

public static extern IntPtr CreateDragIcon(IntPtr iconView, TreePathHandle path)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

path TreePathHandle

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: True

EnableModelDragDest(IntPtr, ContentFormatsHandle, DragAction)

Calls native method gtk_icon_view_enable_model_drag_dest.

public static extern void EnableModelDragDest(IntPtr iconView, ContentFormatsHandle formats, DragAction actions)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

formats ContentFormatsHandle

Transfer ownership: None Nullable: False

actions DragAction

Transfer ownership: None Nullable: False

EnableModelDragSource(IntPtr, ModifierType, ContentFormatsHandle, DragAction)

Calls native method gtk_icon_view_enable_model_drag_source.

public static extern void EnableModelDragSource(IntPtr iconView, ModifierType startButtonMask, ContentFormatsHandle formats, DragAction actions)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

startButtonMask ModifierType

Transfer ownership: None Nullable: False

formats ContentFormatsHandle

Transfer ownership: None Nullable: False

actions DragAction

Transfer ownership: None Nullable: False

GetActivateOnSingleClick(IntPtr)

Calls native method gtk_icon_view_get_activate_on_single_click.

public static extern bool GetActivateOnSingleClick(IntPtr iconView)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetColumnSpacing(IntPtr)

Calls native method gtk_icon_view_get_column_spacing.

public static extern int GetColumnSpacing(IntPtr iconView)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetColumns(IntPtr)

Calls native method gtk_icon_view_get_columns.

public static extern int GetColumns(IntPtr iconView)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetGType()

Calls native function gtk_icon_view_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetItemColumn(IntPtr, TreePathHandle)

Calls native method gtk_icon_view_get_item_column.

public static extern int GetItemColumn(IntPtr iconView, TreePathHandle path)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

path TreePathHandle

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetItemOrientation(IntPtr)

Calls native method gtk_icon_view_get_item_orientation.

public static extern Orientation GetItemOrientation(IntPtr iconView)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

Returns

Orientation

Transfer ownership: None Nullable: False

GetItemPadding(IntPtr)

Calls native method gtk_icon_view_get_item_padding.

public static extern int GetItemPadding(IntPtr iconView)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetItemRow(IntPtr, TreePathHandle)

Calls native method gtk_icon_view_get_item_row.

public static extern int GetItemRow(IntPtr iconView, TreePathHandle path)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

path TreePathHandle

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetItemWidth(IntPtr)

Calls native method gtk_icon_view_get_item_width.

public static extern int GetItemWidth(IntPtr iconView)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetMargin(IntPtr)

Calls native method gtk_icon_view_get_margin.

public static extern int GetMargin(IntPtr iconView)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetMarkupColumn(IntPtr)

Calls native method gtk_icon_view_get_markup_column.

public static extern int GetMarkupColumn(IntPtr iconView)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetModel(IntPtr)

Calls native method gtk_icon_view_get_model.

public static extern IntPtr GetModel(IntPtr iconView)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetPathAtPos(IntPtr, int, int)

Calls native method gtk_icon_view_get_path_at_pos.

public static extern TreePathOwnedHandle GetPathAtPos(IntPtr iconView, int x, int y)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

x int

Transfer ownership: None Nullable: False

y int

Transfer ownership: None Nullable: False

Returns

TreePathOwnedHandle

Transfer ownership: Full Nullable: True

GetPixbufColumn(IntPtr)

Calls native method gtk_icon_view_get_pixbuf_column.

public static extern int GetPixbufColumn(IntPtr iconView)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetReorderable(IntPtr)

Calls native method gtk_icon_view_get_reorderable.

public static extern bool GetReorderable(IntPtr iconView)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetRowSpacing(IntPtr)

Calls native method gtk_icon_view_get_row_spacing.

public static extern int GetRowSpacing(IntPtr iconView)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetSelectedItems(IntPtr)

Calls native method gtk_icon_view_get_selected_items.

public static extern ListOwnedHandle GetSelectedItems(IntPtr iconView)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

Returns

ListOwnedHandle

Transfer ownership: Full Nullable: False

GetSelectionMode(IntPtr)

Calls native method gtk_icon_view_get_selection_mode.

public static extern SelectionMode GetSelectionMode(IntPtr iconView)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

Returns

SelectionMode

Transfer ownership: None Nullable: False

GetSpacing(IntPtr)

Calls native method gtk_icon_view_get_spacing.

public static extern int GetSpacing(IntPtr iconView)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetTextColumn(IntPtr)

Calls native method gtk_icon_view_get_text_column.

public static extern int GetTextColumn(IntPtr iconView)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetTooltipColumn(IntPtr)

Calls native method gtk_icon_view_get_tooltip_column.

public static extern int GetTooltipColumn(IntPtr iconView)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

ItemActivated(IntPtr, TreePathHandle)

Calls native method gtk_icon_view_item_activated.

public static extern void ItemActivated(IntPtr iconView, TreePathHandle path)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

path TreePathHandle

Transfer ownership: None Nullable: False

New()

Calls native constructor gtk_icon_view_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: None Nullable: False

NewWithArea(IntPtr)

Calls native constructor gtk_icon_view_new_with_area.

public static extern IntPtr NewWithArea(IntPtr area)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

NewWithModel(IntPtr)

Calls native constructor gtk_icon_view_new_with_model.

public static extern IntPtr NewWithModel(IntPtr model)

Parameters

model IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

PathIsSelected(IntPtr, TreePathHandle)

Calls native method gtk_icon_view_path_is_selected.

public static extern bool PathIsSelected(IntPtr iconView, TreePathHandle path)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

path TreePathHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

ScrollToPath(IntPtr, TreePathHandle, bool, float, float)

Calls native method gtk_icon_view_scroll_to_path.

public static extern void ScrollToPath(IntPtr iconView, TreePathHandle path, bool useAlign, float rowAlign, float colAlign)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

path TreePathHandle

Transfer ownership: None Nullable: False

useAlign bool

Transfer ownership: None Nullable: False

rowAlign float

Transfer ownership: None Nullable: False

colAlign float

Transfer ownership: None Nullable: False

SelectAll(IntPtr)

Calls native method gtk_icon_view_select_all.

public static extern void SelectAll(IntPtr iconView)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

SelectPath(IntPtr, TreePathHandle)

Calls native method gtk_icon_view_select_path.

public static extern void SelectPath(IntPtr iconView, TreePathHandle path)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

path TreePathHandle

Transfer ownership: None Nullable: False

SelectedForeach(IntPtr, IconViewForeachFunc, IntPtr)

Calls native method gtk_icon_view_selected_foreach.

public static extern void SelectedForeach(IntPtr iconView, IconViewForeachFunc func, IntPtr data)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

func IconViewForeachFunc

Transfer ownership: None Nullable: False

data IntPtr

Transfer ownership: None Nullable: True

SetActivateOnSingleClick(IntPtr, bool)

Calls native method gtk_icon_view_set_activate_on_single_click.

public static extern void SetActivateOnSingleClick(IntPtr iconView, bool single)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

single bool

Transfer ownership: None Nullable: False

SetColumnSpacing(IntPtr, int)

Calls native method gtk_icon_view_set_column_spacing.

public static extern void SetColumnSpacing(IntPtr iconView, int columnSpacing)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

columnSpacing int

Transfer ownership: None Nullable: False

SetColumns(IntPtr, int)

Calls native method gtk_icon_view_set_columns.

public static extern void SetColumns(IntPtr iconView, int columns)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

columns int

Transfer ownership: None Nullable: False

SetCursor(IntPtr, TreePathHandle, IntPtr, bool)

Calls native method gtk_icon_view_set_cursor.

public static extern void SetCursor(IntPtr iconView, TreePathHandle path, IntPtr cell, bool startEditing)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

path TreePathHandle

Transfer ownership: None Nullable: False

cell IntPtr

Transfer ownership: None Nullable: True

startEditing bool

Transfer ownership: None Nullable: False

SetDragDestItem(IntPtr, TreePathHandle, IconViewDropPosition)

Calls native method gtk_icon_view_set_drag_dest_item.

public static extern void SetDragDestItem(IntPtr iconView, TreePathHandle path, IconViewDropPosition pos)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

path TreePathHandle

Transfer ownership: None Nullable: True

pos IconViewDropPosition

Transfer ownership: None Nullable: False

SetItemOrientation(IntPtr, Orientation)

Calls native method gtk_icon_view_set_item_orientation.

public static extern void SetItemOrientation(IntPtr iconView, Orientation orientation)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

orientation Orientation

Transfer ownership: None Nullable: False

SetItemPadding(IntPtr, int)

Calls native method gtk_icon_view_set_item_padding.

public static extern void SetItemPadding(IntPtr iconView, int itemPadding)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

itemPadding int

Transfer ownership: None Nullable: False

SetItemWidth(IntPtr, int)

Calls native method gtk_icon_view_set_item_width.

public static extern void SetItemWidth(IntPtr iconView, int itemWidth)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

itemWidth int

Transfer ownership: None Nullable: False

SetMargin(IntPtr, int)

Calls native method gtk_icon_view_set_margin.

public static extern void SetMargin(IntPtr iconView, int margin)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

margin int

Transfer ownership: None Nullable: False

SetMarkupColumn(IntPtr, int)

Calls native method gtk_icon_view_set_markup_column.

public static extern void SetMarkupColumn(IntPtr iconView, int column)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

column int

Transfer ownership: None Nullable: False

SetModel(IntPtr, IntPtr)

Calls native method gtk_icon_view_set_model.

public static extern void SetModel(IntPtr iconView, IntPtr model)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

model IntPtr

Transfer ownership: None Nullable: True

SetPixbufColumn(IntPtr, int)

Calls native method gtk_icon_view_set_pixbuf_column.

public static extern void SetPixbufColumn(IntPtr iconView, int column)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

column int

Transfer ownership: None Nullable: False

SetReorderable(IntPtr, bool)

Calls native method gtk_icon_view_set_reorderable.

public static extern void SetReorderable(IntPtr iconView, bool reorderable)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

reorderable bool

Transfer ownership: None Nullable: False

SetRowSpacing(IntPtr, int)

Calls native method gtk_icon_view_set_row_spacing.

public static extern void SetRowSpacing(IntPtr iconView, int rowSpacing)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

rowSpacing int

Transfer ownership: None Nullable: False

SetSelectionMode(IntPtr, SelectionMode)

Calls native method gtk_icon_view_set_selection_mode.

public static extern void SetSelectionMode(IntPtr iconView, SelectionMode mode)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

mode SelectionMode

Transfer ownership: None Nullable: False

SetSpacing(IntPtr, int)

Calls native method gtk_icon_view_set_spacing.

public static extern void SetSpacing(IntPtr iconView, int spacing)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

spacing int

Transfer ownership: None Nullable: False

SetTextColumn(IntPtr, int)

Calls native method gtk_icon_view_set_text_column.

public static extern void SetTextColumn(IntPtr iconView, int column)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

column int

Transfer ownership: None Nullable: False

SetTooltipCell(IntPtr, IntPtr, TreePathHandle, IntPtr)

Calls native method gtk_icon_view_set_tooltip_cell.

public static extern void SetTooltipCell(IntPtr iconView, IntPtr tooltip, TreePathHandle path, IntPtr cell)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

tooltip IntPtr

Transfer ownership: None Nullable: False

path TreePathHandle

Transfer ownership: None Nullable: False

cell IntPtr

Transfer ownership: None Nullable: True

SetTooltipColumn(IntPtr, int)

Calls native method gtk_icon_view_set_tooltip_column.

public static extern void SetTooltipColumn(IntPtr iconView, int column)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

column int

Transfer ownership: None Nullable: False

SetTooltipItem(IntPtr, IntPtr, TreePathHandle)

Calls native method gtk_icon_view_set_tooltip_item.

public static extern void SetTooltipItem(IntPtr iconView, IntPtr tooltip, TreePathHandle path)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

tooltip IntPtr

Transfer ownership: None Nullable: False

path TreePathHandle

Transfer ownership: None Nullable: False

UnselectAll(IntPtr)

Calls native method gtk_icon_view_unselect_all.

public static extern void UnselectAll(IntPtr iconView)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

UnselectPath(IntPtr, TreePathHandle)

Calls native method gtk_icon_view_unselect_path.

public static extern void UnselectPath(IntPtr iconView, TreePathHandle path)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

path TreePathHandle

Transfer ownership: None Nullable: False

UnsetModelDragDest(IntPtr)

Calls native method gtk_icon_view_unset_model_drag_dest.

public static extern void UnsetModelDragDest(IntPtr iconView)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False

UnsetModelDragSource(IntPtr)

Calls native method gtk_icon_view_unset_model_drag_source.

public static extern void UnsetModelDragSource(IntPtr iconView)

Parameters

iconView IntPtr

Transfer ownership: None Nullable: False