Class FlowBox
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class FlowBox : Widget, Accessible, Buildable, ConstraintTarget, Orientable, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
FlowBox
- Implements
- Inherited Members
Constructors
FlowBox(params ConstructArgument[])
public FlowBox(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
FlowBox(FlowBoxHandle)
public FlowBox(FlowBoxHandle handle)
Parameters
handleFlowBoxHandle
Fields
AcceptUnpairedReleasePropertyDefinition
public static readonly Property<bool, FlowBox> AcceptUnpairedReleasePropertyDefinition
Field Value
ActivateCursorChildSignal
Signal Descriptor for OnActivateCursorChild.
public static readonly Signal<FlowBox> ActivateCursorChildSignal
Field Value
ActivateOnSingleClickPropertyDefinition
public static readonly Property<bool, FlowBox> ActivateOnSingleClickPropertyDefinition
Field Value
ChildActivatedSignal
Signal Descriptor for OnChildActivated.
public static readonly Signal<FlowBox, FlowBox.ChildActivatedSignalArgs> ChildActivatedSignal
Field Value
ColumnSpacingPropertyDefinition
public static readonly Property<uint, FlowBox> ColumnSpacingPropertyDefinition
Field Value
HomogeneousPropertyDefinition
public static readonly Property<bool, FlowBox> HomogeneousPropertyDefinition
Field Value
MaxChildrenPerLinePropertyDefinition
public static readonly Property<uint, FlowBox> MaxChildrenPerLinePropertyDefinition
Field Value
MinChildrenPerLinePropertyDefinition
public static readonly Property<uint, FlowBox> MinChildrenPerLinePropertyDefinition
Field Value
MoveCursorSignal
Signal Descriptor for OnMoveCursor.
public static readonly ReturningSignal<FlowBox, FlowBox.MoveCursorSignalArgs, bool> MoveCursorSignal
Field Value
RowSpacingPropertyDefinition
public static readonly Property<uint, FlowBox> RowSpacingPropertyDefinition
Field Value
SelectAllSignal
Signal Descriptor for OnSelectAll.
public static readonly Signal<FlowBox> SelectAllSignal
Field Value
SelectedChildrenChangedSignal
Signal Descriptor for OnSelectedChildrenChanged.
public static readonly Signal<FlowBox> SelectedChildrenChangedSignal
Field Value
SelectionModePropertyDefinition
public static readonly Property<SelectionMode, FlowBox> SelectionModePropertyDefinition
Field Value
ToggleCursorChildSignal
Signal Descriptor for OnToggleCursorChild.
public static readonly Signal<FlowBox> ToggleCursorChildSignal
Field Value
UnselectAllSignal
Signal Descriptor for OnUnselectAll.
public static readonly Signal<FlowBox> UnselectAllSignal
Field Value
Properties
AcceptUnpairedRelease
public bool AcceptUnpairedRelease { get; set; }
Property Value
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
ActivateOnSingleClick
public bool ActivateOnSingleClick { get; set; }
Property Value
ColumnSpacing
public uint ColumnSpacing { get; set; }
Property Value
Homogeneous
public bool Homogeneous { get; set; }
Property Value
MaxChildrenPerLine
public uint MaxChildrenPerLine { get; set; }
Property Value
MinChildrenPerLine
public uint MinChildrenPerLine { get; set; }
Property Value
RowSpacing
public uint RowSpacing { get; set; }
Property Value
SelectionMode
public SelectionMode SelectionMode { get; set; }
Property Value
Methods
Announce(string, AccessibleAnnouncementPriority)
[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)
Parameters
messagestringpriorityAccessibleAnnouncementPriority
Append(Widget)
[Version("4.6")]
public void Append(Widget child)
Parameters
childWidget
BindModel(ListModel?, FlowBoxCreateWidgetFunc)
public void BindModel(ListModel? model, FlowBoxCreateWidgetFunc createWidgetFunc)
Parameters
modelListModelcreateWidgetFuncFlowBoxCreateWidgetFunc
GetAccessibleParent()
[Version("4.10")]
public Accessible? GetAccessibleParent()
Returns
GetAccessibleRole()
public AccessibleRole GetAccessibleRole()
Returns
GetActivateOnSingleClick()
public bool GetActivateOnSingleClick()
Returns
GetAtContext()
[Version("4.10")]
public ATContext GetAtContext()
Returns
GetBounds(out int, out int, out int, out int)
[Version("4.10")]
public bool GetBounds(out int x, out int y, out int width, out int height)
Parameters
Returns
GetBuildableId()
public string? GetBuildableId()
Returns
GetChildAtIndex(int)
public FlowBoxChild? GetChildAtIndex(int idx)
Parameters
idxint
Returns
GetChildAtPos(int, int)
public FlowBoxChild? GetChildAtPos(int x, int y)
Parameters
Returns
GetColumnSpacing()
public uint GetColumnSpacing()
Returns
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
GetGType()
public static Type GetGType()
Returns
GetHomogeneous()
public bool GetHomogeneous()
Returns
GetMaxChildrenPerLine()
public uint GetMaxChildrenPerLine()
Returns
GetMinChildrenPerLine()
public uint GetMinChildrenPerLine()
Returns
GetNextAccessibleSibling()
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
GetOrientation()
public Orientation GetOrientation()
Returns
GetPlatformState(AccessiblePlatformState)
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
stateAccessiblePlatformState
Returns
GetRowSpacing()
public uint GetRowSpacing()
Returns
GetSelectionMode()
public SelectionMode GetSelectionMode()
Returns
Insert(Widget, int)
public void Insert(Widget widget, int position)
Parameters
InvalidateFilter()
public void InvalidateFilter()
InvalidateSort()
public void InvalidateSort()
New()
public static FlowBox New()
Returns
Prepend(Widget)
[Version("4.6")]
public void Prepend(Widget child)
Parameters
childWidget
Remove(Widget)
public void Remove(Widget widget)
Parameters
widgetWidget
RemoveAll()
[Version("4.12")]
public void RemoveAll()
ResetProperty(AccessibleProperty)
public void ResetProperty(AccessibleProperty property)
Parameters
propertyAccessibleProperty
ResetRelation(AccessibleRelation)
public void ResetRelation(AccessibleRelation relation)
Parameters
relationAccessibleRelation
ResetState(AccessibleState)
public void ResetState(AccessibleState state)
Parameters
stateAccessibleState
SelectAll()
public void SelectAll()
SelectChild(FlowBoxChild)
public void SelectChild(FlowBoxChild child)
Parameters
childFlowBoxChild
SelectedForeach(FlowBoxForeachFunc)
public void SelectedForeach(FlowBoxForeachFunc func)
Parameters
funcFlowBoxForeachFunc
SetAccessibleParent(Accessible?, Accessible?)
[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)
Parameters
parentAccessiblenextSiblingAccessible
SetActivateOnSingleClick(bool)
public void SetActivateOnSingleClick(bool single)
Parameters
singlebool
SetColumnSpacing(uint)
public void SetColumnSpacing(uint spacing)
Parameters
spacinguint
SetFilterFunc(FlowBoxFilterFunc?)
public void SetFilterFunc(FlowBoxFilterFunc? filterFunc)
Parameters
filterFuncFlowBoxFilterFunc
SetHadjustment(Adjustment)
public void SetHadjustment(Adjustment adjustment)
Parameters
adjustmentAdjustment
SetHomogeneous(bool)
public void SetHomogeneous(bool homogeneous)
Parameters
homogeneousbool
SetMaxChildrenPerLine(uint)
public void SetMaxChildrenPerLine(uint nChildren)
Parameters
nChildrenuint
SetMinChildrenPerLine(uint)
public void SetMinChildrenPerLine(uint nChildren)
Parameters
nChildrenuint
SetOrientation(Orientation)
public void SetOrientation(Orientation orientation)
Parameters
orientationOrientation
SetRowSpacing(uint)
public void SetRowSpacing(uint spacing)
Parameters
spacinguint
SetSelectionMode(SelectionMode)
public void SetSelectionMode(SelectionMode mode)
Parameters
modeSelectionMode
SetSortFunc(FlowBoxSortFunc?)
public void SetSortFunc(FlowBoxSortFunc? sortFunc)
Parameters
sortFuncFlowBoxSortFunc
SetVadjustment(Adjustment)
public void SetVadjustment(Adjustment adjustment)
Parameters
adjustmentAdjustment
UnselectAll()
public void UnselectAll()
UnselectChild(FlowBoxChild)
public void UnselectChild(FlowBoxChild child)
Parameters
childFlowBoxChild
UpdateNextAccessibleSibling(Accessible?)
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSiblingAccessible
Events
OnActivateCursorChild
public event SignalHandler<FlowBox> OnActivateCursorChild
Event Type
OnChildActivated
public event SignalHandler<FlowBox, FlowBox.ChildActivatedSignalArgs> OnChildActivated
Event Type
OnMoveCursor
public event ReturningSignalHandler<FlowBox, FlowBox.MoveCursorSignalArgs, bool> OnMoveCursor
Event Type
OnSelectAll
public event SignalHandler<FlowBox> OnSelectAll
Event Type
OnSelectedChildrenChanged
public event SignalHandler<FlowBox> OnSelectedChildrenChanged
Event Type
OnToggleCursorChild
public event SignalHandler<FlowBox> OnToggleCursorChild
Event Type
OnUnselectAll
public event SignalHandler<FlowBox> OnUnselectAll