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
constructArguments
ConstructArgument[]
FlowBox(FlowBoxHandle)
public FlowBox(FlowBoxHandle handle)
Parameters
handle
FlowBoxHandle
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
message
stringpriority
AccessibleAnnouncementPriority
Append(Widget)
[Version("4.6")]
public void Append(Widget child)
Parameters
child
Widget
BindModel(ListModel?, FlowBoxCreateWidgetFunc)
public void BindModel(ListModel? model, FlowBoxCreateWidgetFunc createWidgetFunc)
Parameters
model
ListModelcreateWidgetFunc
FlowBoxCreateWidgetFunc
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
idx
int
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
state
AccessiblePlatformState
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
child
Widget
Remove(Widget)
public void Remove(Widget widget)
Parameters
widget
Widget
RemoveAll()
[Version("4.12")]
public void RemoveAll()
ResetProperty(AccessibleProperty)
public void ResetProperty(AccessibleProperty property)
Parameters
property
AccessibleProperty
ResetRelation(AccessibleRelation)
public void ResetRelation(AccessibleRelation relation)
Parameters
relation
AccessibleRelation
ResetState(AccessibleState)
public void ResetState(AccessibleState state)
Parameters
state
AccessibleState
SelectAll()
public void SelectAll()
SelectChild(FlowBoxChild)
public void SelectChild(FlowBoxChild child)
Parameters
child
FlowBoxChild
SelectedForeach(FlowBoxForeachFunc)
public void SelectedForeach(FlowBoxForeachFunc func)
Parameters
func
FlowBoxForeachFunc
SetAccessibleParent(Accessible?, Accessible?)
[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)
Parameters
parent
AccessiblenextSibling
Accessible
SetActivateOnSingleClick(bool)
public void SetActivateOnSingleClick(bool single)
Parameters
single
bool
SetColumnSpacing(uint)
public void SetColumnSpacing(uint spacing)
Parameters
spacing
uint
SetFilterFunc(FlowBoxFilterFunc?)
public void SetFilterFunc(FlowBoxFilterFunc? filterFunc)
Parameters
filterFunc
FlowBoxFilterFunc
SetHadjustment(Adjustment)
public void SetHadjustment(Adjustment adjustment)
Parameters
adjustment
Adjustment
SetHomogeneous(bool)
public void SetHomogeneous(bool homogeneous)
Parameters
homogeneous
bool
SetMaxChildrenPerLine(uint)
public void SetMaxChildrenPerLine(uint nChildren)
Parameters
nChildren
uint
SetMinChildrenPerLine(uint)
public void SetMinChildrenPerLine(uint nChildren)
Parameters
nChildren
uint
SetOrientation(Orientation)
public void SetOrientation(Orientation orientation)
Parameters
orientation
Orientation
SetRowSpacing(uint)
public void SetRowSpacing(uint spacing)
Parameters
spacing
uint
SetSelectionMode(SelectionMode)
public void SetSelectionMode(SelectionMode mode)
Parameters
mode
SelectionMode
SetSortFunc(FlowBoxSortFunc?)
public void SetSortFunc(FlowBoxSortFunc? sortFunc)
Parameters
sortFunc
FlowBoxSortFunc
SetVadjustment(Adjustment)
public void SetVadjustment(Adjustment adjustment)
Parameters
adjustment
Adjustment
UnselectAll()
public void UnselectAll()
UnselectChild(FlowBoxChild)
public void UnselectChild(FlowBoxChild child)
Parameters
child
FlowBoxChild
UpdateNextAccessibleSibling(Accessible?)
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSibling
Accessible
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