Class CellView
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class CellView : Widget, Accessible, Buildable, CellLayout, ConstraintTarget, Orientable, NativeObject, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
CellView
- Implements
- Inherited Members
Constructors
CellView(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 CellView(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
CellView(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected CellView(CreationData data)
Parameters
dataCreationData
CellView(CellViewHandle)
protected CellView(CellViewHandle handle)
Parameters
handleCellViewHandle
Fields
CellAreaContextPropertyDefinition
public static readonly Property<CellAreaContext?, CellView> CellAreaContextPropertyDefinition
Field Value
CellAreaPropertyDefinition
public static readonly Property<CellArea?, CellView> CellAreaPropertyDefinition
Field Value
DrawSensitivePropertyDefinition
public static readonly Property<bool, CellView> DrawSensitivePropertyDefinition
Field Value
FitModelPropertyDefinition
public static readonly Property<bool, CellView> FitModelPropertyDefinition
Field Value
ModelPropertyDefinition
public static readonly Property<TreeModel, CellView> ModelPropertyDefinition
Field Value
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
CellArea
public CellArea? CellArea { get; }
Property Value
CellAreaContext
public CellAreaContext? CellAreaContext { get; }
Property Value
DrawSensitive
public bool DrawSensitive { get; set; }
Property Value
FitModel
public bool FitModel { get; set; }
Property Value
Model
public TreeModel Model { get; set; }
Property Value
Methods
Announce(string, AccessibleAnnouncementPriority)
[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)
Parameters
messagestringpriorityAccessibleAnnouncementPriority
GetAccessibleParent()
[Version("4.10")]
public Accessible? GetAccessibleParent()
Returns
GetAccessibleRole()
public AccessibleRole GetAccessibleRole()
Returns
GetArea()
public CellArea? GetArea()
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
GetDisplayedRow()
public TreePath? GetDisplayedRow()
Returns
GetDrawSensitive()
public bool GetDrawSensitive()
Returns
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
GetFitModel()
public bool GetFitModel()
Returns
GetGType()
public static Type GetGType()
Returns
GetModel()
public TreeModel? 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
stateAccessiblePlatformState
Returns
New()
public static CellView New()
Returns
NewFromPointer(nint, bool)
Creates a new managed CellView instance for a given pointer.
public static CellView NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithContext(CellArea, CellAreaContext)
public static CellView NewWithContext(CellArea area, CellAreaContext context)
Parameters
areaCellAreacontextCellAreaContext
Returns
NewWithMarkup(string)
public static CellView NewWithMarkup(string markup)
Parameters
markupstring
Returns
NewWithProperties(ConstructArgument[])
Creates a new CellView and sets the properties specified by the construct arguments.
public static CellView NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
NewWithText(string)
public static CellView NewWithText(string text)
Parameters
textstring
Returns
NewWithTexture(Texture)
public static CellView NewWithTexture(Texture texture)
Parameters
textureTexture
Returns
Reorder(CellRenderer, int)
public void Reorder(CellRenderer cell, int position)
Parameters
cellCellRendererpositionint
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
SetAccessibleParent(Accessible?, Accessible?)
[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)
Parameters
parentAccessiblenextSiblingAccessible
SetCellDataFunc(CellRenderer, CellLayoutDataFunc?)
public void SetCellDataFunc(CellRenderer cell, CellLayoutDataFunc? func)
Parameters
cellCellRendererfuncCellLayoutDataFunc
SetDisplayedRow(TreePath?)
public void SetDisplayedRow(TreePath? path)
Parameters
pathTreePath
SetDrawSensitive(bool)
public void SetDrawSensitive(bool drawSensitive)
Parameters
drawSensitivebool
SetFitModel(bool)
public void SetFitModel(bool fitModel)
Parameters
fitModelbool
SetModel(TreeModel?)
public void SetModel(TreeModel? model)
Parameters
modelTreeModel
SetOrientation(Orientation)
public void SetOrientation(Orientation orientation)
Parameters
orientationOrientation
UpdateNextAccessibleSibling(Accessible?)
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSiblingAccessible
UpdatePlatformState(AccessiblePlatformState)
[Version("4.18")]
public void UpdatePlatformState(AccessiblePlatformState state)
Parameters
stateAccessiblePlatformState