Class ListView
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class ListView : ListBase, IObject, INotifyPropertyChanged, IDisposable, Accessible, Buildable, ConstraintTarget, Orientable, Scrollable, IHandle, GTypeProvider
- Inheritance
-
ListView
- Implements
- Inherited Members
Constructors
ListView()
public ListView()
ListView(params ConstructArgument[])
protected ListView(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
ListView(IntPtr, bool)
protected ListView(IntPtr ptr, bool ownedRef)
Parameters
Fields
ActivateSignal
Signal Descriptor for OnActivate.
public static readonly Signal<ListView, ListView.ActivateSignalArgs> ActivateSignal
Field Value
EnableRubberbandPropertyDefinition
public static readonly Property<bool, ListView> EnableRubberbandPropertyDefinition
Field Value
FactoryPropertyDefinition
public static readonly Property<ListItemFactory?, ListView> FactoryPropertyDefinition
Field Value
HeaderFactoryPropertyDefinition
public static readonly Property<ListItemFactory?, ListView> HeaderFactoryPropertyDefinition
Field Value
ModelPropertyDefinition
public static readonly Property<SelectionModel, ListView> ModelPropertyDefinition
Field Value
ShowSeparatorsPropertyDefinition
public static readonly Property<bool, ListView> ShowSeparatorsPropertyDefinition
Field Value
SingleClickActivatePropertyDefinition
public static readonly Property<bool, ListView> SingleClickActivatePropertyDefinition
Field Value
TabBehaviorPropertyDefinition
public static readonly Property<ListTabBehavior, ListView> TabBehaviorPropertyDefinition
Field Value
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
EnableRubberband
public bool EnableRubberband { get; set; }
Property Value
Factory
public ListItemFactory? Factory { get; set; }
Property Value
Hadjustment
public Adjustment? Hadjustment { get; set; }
Property Value
HeaderFactory
public ListItemFactory? HeaderFactory { get; set; }
Property Value
HscrollPolicy
public ScrollablePolicy HscrollPolicy { get; set; }
Property Value
Model
public SelectionModel Model { get; set; }
Property Value
ShowSeparators
public bool ShowSeparators { get; set; }
Property Value
SingleClickActivate
public bool SingleClickActivate { get; set; }
Property Value
TabBehavior
public ListTabBehavior TabBehavior { get; set; }
Property Value
Vadjustment
public Adjustment? Vadjustment { get; set; }
Property Value
VscrollPolicy
public ScrollablePolicy VscrollPolicy { get; set; }
Property Value
Methods
Announce(string, AccessibleAnnouncementPriority)
[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)
Parameters
message
stringpriority
AccessibleAnnouncementPriority
GetAccessibleParent()
[Version("4.10")]
public Accessible? GetAccessibleParent()
Returns
GetAccessibleRole()
public AccessibleRole GetAccessibleRole()
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
GetEnableRubberband()
public bool GetEnableRubberband()
Returns
GetFactory()
public ListItemFactory? GetFactory()
Returns
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
GetGType()
public static Type GetGType()
Returns
GetHadjustment()
public Adjustment? GetHadjustment()
Returns
GetHeaderFactory()
[Version("4.12")]
public ListItemFactory? GetHeaderFactory()
Returns
GetHscrollPolicy()
public ScrollablePolicy GetHscrollPolicy()
Returns
GetModel()
public SelectionModel? GetModel()
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
GetShowSeparators()
public bool GetShowSeparators()
Returns
GetSingleClickActivate()
public bool GetSingleClickActivate()
Returns
GetTabBehavior()
[Version("4.12")]
public ListTabBehavior GetTabBehavior()
Returns
GetVadjustment()
public Adjustment? GetVadjustment()
Returns
GetVscrollPolicy()
public ScrollablePolicy GetVscrollPolicy()
Returns
New(SelectionModel?, ListItemFactory?)
public static ListView New(SelectionModel? model, ListItemFactory? factory)
Parameters
model
SelectionModelfactory
ListItemFactory
Returns
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
ScrollTo(uint, ListScrollFlags, ScrollInfo?)
[Version("4.12")]
public void ScrollTo(uint pos, ListScrollFlags flags, ScrollInfo? scroll)
Parameters
pos
uintflags
ListScrollFlagsscroll
ScrollInfo
SetAccessibleParent(Accessible?, Accessible?)
[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)
Parameters
parent
AccessiblenextSibling
Accessible
SetEnableRubberband(bool)
public void SetEnableRubberband(bool enableRubberband)
Parameters
enableRubberband
bool
SetFactory(ListItemFactory?)
public void SetFactory(ListItemFactory? factory)
Parameters
factory
ListItemFactory
SetHadjustment(Adjustment?)
public void SetHadjustment(Adjustment? hadjustment)
Parameters
hadjustment
Adjustment
SetHeaderFactory(ListItemFactory?)
[Version("4.12")]
public void SetHeaderFactory(ListItemFactory? factory)
Parameters
factory
ListItemFactory
SetHscrollPolicy(ScrollablePolicy)
public void SetHscrollPolicy(ScrollablePolicy policy)
Parameters
policy
ScrollablePolicy
SetModel(SelectionModel?)
public void SetModel(SelectionModel? model)
Parameters
model
SelectionModel
SetOrientation(Orientation)
public void SetOrientation(Orientation orientation)
Parameters
orientation
Orientation
SetShowSeparators(bool)
public void SetShowSeparators(bool showSeparators)
Parameters
showSeparators
bool
SetSingleClickActivate(bool)
public void SetSingleClickActivate(bool singleClickActivate)
Parameters
singleClickActivate
bool
SetTabBehavior(ListTabBehavior)
[Version("4.12")]
public void SetTabBehavior(ListTabBehavior tabBehavior)
Parameters
tabBehavior
ListTabBehavior
SetVadjustment(Adjustment?)
public void SetVadjustment(Adjustment? vadjustment)
Parameters
vadjustment
Adjustment
SetVscrollPolicy(ScrollablePolicy)
public void SetVscrollPolicy(ScrollablePolicy policy)
Parameters
policy
ScrollablePolicy
UpdateNextAccessibleSibling(Accessible?)
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSibling
Accessible
Events
OnActivate
public event SignalHandler<ListView, ListView.ActivateSignalArgs> OnActivate