Class ColumnViewCell
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class ColumnViewCell : ListItem, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
ColumnViewCell
- Implements
- Inherited Members
Constructors
ColumnViewCell(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public ColumnViewCell(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
ColumnViewCell(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected ColumnViewCell(CreationData data)
Parameters
dataCreationData
ColumnViewCell(ColumnViewCellHandle)
protected ColumnViewCell(ColumnViewCellHandle handle)
Parameters
handleColumnViewCellHandle
Fields
ChildPropertyDefinition
public static readonly Property<Widget?, ColumnViewCell> ChildPropertyDefinition
Field Value
FocusablePropertyDefinition
public static readonly Property<bool, ColumnViewCell> FocusablePropertyDefinition
Field Value
ItemPropertyDefinition
public static readonly Property<Object?, ColumnViewCell> ItemPropertyDefinition
Field Value
PositionPropertyDefinition
public static readonly Property<uint, ColumnViewCell> PositionPropertyDefinition
Field Value
SelectedPropertyDefinition
public static readonly Property<bool, ColumnViewCell> SelectedPropertyDefinition
Field Value
Properties
Child
public Widget? Child { get; set; }
Property Value
Focusable
public bool Focusable { get; set; }
Property Value
Item
public Object? Item { get; }
Property Value
Position
public uint Position { get; }
Property Value
Selected
public bool Selected { get; }
Property Value
Methods
GetChild()
[Version("4.12")]
public Widget? GetChild()
Returns
GetFocusable()
[Version("4.12")]
public bool GetFocusable()
Returns
GetGType()
public static Type GetGType()
Returns
GetItem()
[Version("4.12")]
public Object? GetItem()
Returns
GetPosition()
[Version("4.12")]
public uint GetPosition()
Returns
GetSelected()
[Version("4.12")]
public bool GetSelected()
Returns
NewFromPointer(nint, bool)
Creates a new managed ColumnViewCell instance for a given pointer.
public static ColumnViewCell NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new ColumnViewCell and sets the properties specified by the construct arguments.
public static ColumnViewCell NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetChild(Widget?)
[Version("4.12")]
public void SetChild(Widget? child)
Parameters
childWidget
SetFocusable(bool)
[Version("4.12")]
public void SetFocusable(bool focusable)
Parameters
focusablebool