Table of Contents

Class FlowBox

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

Methods

Append(IntPtr, IntPtr)

Calls native method gtk_flow_box_append. Version: 4.6

[Version("4.6")]
public static extern void Append(IntPtr self, IntPtr child)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

BindModel(IntPtr, IntPtr, FlowBoxCreateWidgetFunc, IntPtr, DestroyNotify)

Calls native method gtk_flow_box_bind_model.

public static extern void BindModel(IntPtr box, IntPtr model, FlowBoxCreateWidgetFunc createWidgetFunc, IntPtr userData, DestroyNotify userDataFreeFunc)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

model IntPtr

Transfer ownership: None Nullable: True

createWidgetFunc FlowBoxCreateWidgetFunc

Transfer ownership: None Nullable: False

userData IntPtr

Transfer ownership: None Nullable: True

userDataFreeFunc DestroyNotify

Transfer ownership: None Nullable: False

GetActivateOnSingleClick(IntPtr)

Calls native method gtk_flow_box_get_activate_on_single_click.

public static extern bool GetActivateOnSingleClick(IntPtr box)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetChildAtIndex(IntPtr, int)

Calls native method gtk_flow_box_get_child_at_index.

public static extern IntPtr GetChildAtIndex(IntPtr box, int idx)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

idx int

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetChildAtPos(IntPtr, int, int)

Calls native method gtk_flow_box_get_child_at_pos.

public static extern IntPtr GetChildAtPos(IntPtr box, int x, int y)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

x int

Transfer ownership: None Nullable: False

y int

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetColumnSpacing(IntPtr)

Calls native method gtk_flow_box_get_column_spacing.

public static extern uint GetColumnSpacing(IntPtr box)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetGType()

Calls native function gtk_flow_box_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetHomogeneous(IntPtr)

Calls native method gtk_flow_box_get_homogeneous.

public static extern bool GetHomogeneous(IntPtr box)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetMaxChildrenPerLine(IntPtr)

Calls native method gtk_flow_box_get_max_children_per_line.

public static extern uint GetMaxChildrenPerLine(IntPtr box)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetMinChildrenPerLine(IntPtr)

Calls native method gtk_flow_box_get_min_children_per_line.

public static extern uint GetMinChildrenPerLine(IntPtr box)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetRowSpacing(IntPtr)

Calls native method gtk_flow_box_get_row_spacing.

public static extern uint GetRowSpacing(IntPtr box)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetSelectionMode(IntPtr)

Calls native method gtk_flow_box_get_selection_mode.

public static extern SelectionMode GetSelectionMode(IntPtr box)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

Returns

SelectionMode

Transfer ownership: None Nullable: False

Insert(IntPtr, IntPtr, int)

Calls native method gtk_flow_box_insert.

public static extern void Insert(IntPtr box, IntPtr widget, int position)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

widget IntPtr

Transfer ownership: None Nullable: False

position int

Transfer ownership: None Nullable: False

InvalidateFilter(IntPtr)

Calls native method gtk_flow_box_invalidate_filter.

public static extern void InvalidateFilter(IntPtr box)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

InvalidateSort(IntPtr)

Calls native method gtk_flow_box_invalidate_sort.

public static extern void InvalidateSort(IntPtr box)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

New()

Calls native constructor gtk_flow_box_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: None Nullable: False

Prepend(IntPtr, IntPtr)

Calls native method gtk_flow_box_prepend. Version: 4.6

[Version("4.6")]
public static extern void Prepend(IntPtr self, IntPtr child)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

Remove(IntPtr, IntPtr)

Calls native method gtk_flow_box_remove.

public static extern void Remove(IntPtr box, IntPtr widget)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

widget IntPtr

Transfer ownership: None Nullable: False

RemoveAll(IntPtr)

Calls native method gtk_flow_box_remove_all. Version: 4.12

[Version("4.12")]
public static extern void RemoveAll(IntPtr box)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

SelectAll(IntPtr)

Calls native method gtk_flow_box_select_all.

public static extern void SelectAll(IntPtr box)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

SelectChild(IntPtr, IntPtr)

Calls native method gtk_flow_box_select_child.

public static extern void SelectChild(IntPtr box, IntPtr child)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

SelectedForeach(IntPtr, FlowBoxForeachFunc, IntPtr)

Calls native method gtk_flow_box_selected_foreach.

public static extern void SelectedForeach(IntPtr box, FlowBoxForeachFunc func, IntPtr data)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

func FlowBoxForeachFunc

Transfer ownership: None Nullable: False

data IntPtr

Transfer ownership: None Nullable: True

SetActivateOnSingleClick(IntPtr, bool)

Calls native method gtk_flow_box_set_activate_on_single_click.

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

Parameters

box IntPtr

Transfer ownership: None Nullable: False

single bool

Transfer ownership: None Nullable: False

SetColumnSpacing(IntPtr, uint)

Calls native method gtk_flow_box_set_column_spacing.

public static extern void SetColumnSpacing(IntPtr box, uint spacing)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

spacing uint

Transfer ownership: None Nullable: False

SetFilterFunc(IntPtr, FlowBoxFilterFunc, IntPtr, DestroyNotify)

Calls native method gtk_flow_box_set_filter_func.

public static extern void SetFilterFunc(IntPtr box, FlowBoxFilterFunc filterFunc, IntPtr userData, DestroyNotify destroy)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

filterFunc FlowBoxFilterFunc

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True

destroy DestroyNotify

Transfer ownership: None Nullable: False

SetHadjustment(IntPtr, IntPtr)

Calls native method gtk_flow_box_set_hadjustment.

public static extern void SetHadjustment(IntPtr box, IntPtr adjustment)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

adjustment IntPtr

Transfer ownership: None Nullable: False

SetHomogeneous(IntPtr, bool)

Calls native method gtk_flow_box_set_homogeneous.

public static extern void SetHomogeneous(IntPtr box, bool homogeneous)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

homogeneous bool

Transfer ownership: None Nullable: False

SetMaxChildrenPerLine(IntPtr, uint)

Calls native method gtk_flow_box_set_max_children_per_line.

public static extern void SetMaxChildrenPerLine(IntPtr box, uint nChildren)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

nChildren uint

Transfer ownership: None Nullable: False

SetMinChildrenPerLine(IntPtr, uint)

Calls native method gtk_flow_box_set_min_children_per_line.

public static extern void SetMinChildrenPerLine(IntPtr box, uint nChildren)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

nChildren uint

Transfer ownership: None Nullable: False

SetRowSpacing(IntPtr, uint)

Calls native method gtk_flow_box_set_row_spacing.

public static extern void SetRowSpacing(IntPtr box, uint spacing)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

spacing uint

Transfer ownership: None Nullable: False

SetSelectionMode(IntPtr, SelectionMode)

Calls native method gtk_flow_box_set_selection_mode.

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

Parameters

box IntPtr

Transfer ownership: None Nullable: False

mode SelectionMode

Transfer ownership: None Nullable: False

SetSortFunc(IntPtr, FlowBoxSortFunc, IntPtr, DestroyNotify)

Calls native method gtk_flow_box_set_sort_func.

public static extern void SetSortFunc(IntPtr box, FlowBoxSortFunc sortFunc, IntPtr userData, DestroyNotify destroy)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

sortFunc FlowBoxSortFunc

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True

destroy DestroyNotify

Transfer ownership: None Nullable: False

SetVadjustment(IntPtr, IntPtr)

Calls native method gtk_flow_box_set_vadjustment.

public static extern void SetVadjustment(IntPtr box, IntPtr adjustment)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

adjustment IntPtr

Transfer ownership: None Nullable: False

UnselectAll(IntPtr)

Calls native method gtk_flow_box_unselect_all.

public static extern void UnselectAll(IntPtr box)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

UnselectChild(IntPtr, IntPtr)

Calls native method gtk_flow_box_unselect_child.

public static extern void UnselectChild(IntPtr box, IntPtr child)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False