Table of Contents

Class CellArea

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class CellArea : InitiallyUnowned, IObject, INotifyPropertyChanged, IDisposable, Buildable, CellLayout, IHandle, GTypeProvider
Inheritance
CellArea
Implements
Derived
Inherited Members

Constructors

CellArea()

public CellArea()

CellArea(params ConstructArgument[])

protected CellArea(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

CellArea(IntPtr, bool)

protected CellArea(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

AddEditableSignal

Signal Descriptor for OnAddEditable.

public static readonly Signal<CellArea, CellArea.AddEditableSignalArgs> AddEditableSignal

Field Value

Signal<CellArea, CellArea.AddEditableSignalArgs>

ApplyAttributesSignal

Signal Descriptor for OnApplyAttributes.

public static readonly Signal<CellArea, CellArea.ApplyAttributesSignalArgs> ApplyAttributesSignal

Field Value

Signal<CellArea, CellArea.ApplyAttributesSignalArgs>

EditWidgetPropertyDefinition

public static readonly Property<CellEditable, CellArea> EditWidgetPropertyDefinition

Field Value

Property<CellEditable, CellArea>

EditedCellPropertyDefinition

public static readonly Property<CellRenderer?, CellArea> EditedCellPropertyDefinition

Field Value

Property<CellRenderer, CellArea>

FocusCellPropertyDefinition

public static readonly Property<CellRenderer?, CellArea> FocusCellPropertyDefinition

Field Value

Property<CellRenderer, CellArea>

FocusChangedSignal

Signal Descriptor for OnFocusChanged.

public static readonly Signal<CellArea, CellArea.FocusChangedSignalArgs> FocusChangedSignal

Field Value

Signal<CellArea, CellArea.FocusChangedSignalArgs>

RemoveEditableSignal

Signal Descriptor for OnRemoveEditable.

public static readonly Signal<CellArea, CellArea.RemoveEditableSignalArgs> RemoveEditableSignal

Field Value

Signal<CellArea, CellArea.RemoveEditableSignalArgs>

Properties

EditWidget

public CellEditable EditWidget { get; }

Property Value

CellEditable

EditedCell

public CellRenderer? EditedCell { get; }

Property Value

CellRenderer

FocusCell

public CellRenderer? FocusCell { get; set; }

Property Value

CellRenderer

Methods

Activate(CellAreaContext, Widget, Rectangle, CellRendererState, bool)

public bool Activate(CellAreaContext context, Widget widget, Rectangle cellArea, CellRendererState flags, bool editOnly)

Parameters

context CellAreaContext
widget Widget
cellArea Rectangle
flags CellRendererState
editOnly bool

Returns

bool

ActivateCell(Widget, CellRenderer, Event, Rectangle, CellRendererState)

public bool ActivateCell(Widget widget, CellRenderer renderer, Event @event, Rectangle cellArea, CellRendererState flags)

Parameters

widget Widget
renderer CellRenderer
event Event
cellArea Rectangle
flags CellRendererState

Returns

bool

Add(CellRenderer)

public void Add(CellRenderer renderer)

Parameters

renderer CellRenderer

AddFocusSibling(CellRenderer, CellRenderer)

public void AddFocusSibling(CellRenderer renderer, CellRenderer sibling)

Parameters

renderer CellRenderer
sibling CellRenderer

ApplyAttributes(TreeModel, TreeIter, bool, bool)

public void ApplyAttributes(TreeModel treeModel, TreeIter iter, bool isExpander, bool isExpanded)

Parameters

treeModel TreeModel
iter TreeIter
isExpander bool
isExpanded bool

AttributeConnect(CellRenderer, string, int)

public void AttributeConnect(CellRenderer renderer, string attribute, int column)

Parameters

renderer CellRenderer
attribute string
column int

AttributeDisconnect(CellRenderer, string)

public void AttributeDisconnect(CellRenderer renderer, string attribute)

Parameters

renderer CellRenderer
attribute string

AttributeGetColumn(CellRenderer, string)

public int AttributeGetColumn(CellRenderer renderer, string attribute)

Parameters

renderer CellRenderer
attribute string

Returns

int

CellGetProperty(CellRenderer, string, Value)

public void CellGetProperty(CellRenderer renderer, string propertyName, Value value)

Parameters

renderer CellRenderer
propertyName string
value Value

CellGetValist(CellRenderer, string, IntPtr)

public void CellGetValist(CellRenderer renderer, string firstPropertyName, IntPtr varArgs)

Parameters

renderer CellRenderer
firstPropertyName string
varArgs IntPtr

CellSetProperty(CellRenderer, string, Value)

public void CellSetProperty(CellRenderer renderer, string propertyName, Value value)

Parameters

renderer CellRenderer
propertyName string
value Value

CellSetValist(CellRenderer, string, IntPtr)

public void CellSetValist(CellRenderer renderer, string firstPropertyName, IntPtr varArgs)

Parameters

renderer CellRenderer
firstPropertyName string
varArgs IntPtr

CopyContext(CellAreaContext)

public CellAreaContext CopyContext(CellAreaContext context)

Parameters

context CellAreaContext

Returns

CellAreaContext

CreateContext()

public CellAreaContext CreateContext()

Returns

CellAreaContext

Event(CellAreaContext, Widget, Event, Rectangle, CellRendererState)

public int Event(CellAreaContext context, Widget widget, Event @event, Rectangle cellArea, CellRendererState flags)

Parameters

context CellAreaContext
widget Widget
event Event
cellArea Rectangle
flags CellRendererState

Returns

int

Focus(DirectionType)

public bool Focus(DirectionType direction)

Parameters

direction DirectionType

Returns

bool

Foreach(CellCallback)

public void Foreach(CellCallback callback)

Parameters

callback CellCallback

ForeachAlloc(CellAreaContext, Widget, Rectangle, Rectangle, CellAllocCallback)

public void ForeachAlloc(CellAreaContext context, Widget widget, Rectangle cellArea, Rectangle backgroundArea, CellAllocCallback callback)

Parameters

context CellAreaContext
widget Widget
cellArea Rectangle
backgroundArea Rectangle
callback CellAllocCallback

GetArea()

public CellArea? GetArea()

Returns

CellArea

GetBuildableId()

public string? GetBuildableId()

Returns

string

GetCurrentPathString()

public string GetCurrentPathString()

Returns

string

GetEditWidget()

public CellEditable? GetEditWidget()

Returns

CellEditable

GetEditedCell()

public CellRenderer? GetEditedCell()

Returns

CellRenderer

GetFocusCell()

public CellRenderer? GetFocusCell()

Returns

CellRenderer

GetFocusFromSibling(CellRenderer)

public CellRenderer? GetFocusFromSibling(CellRenderer renderer)

Parameters

renderer CellRenderer

Returns

CellRenderer

GetFocusSiblings(CellRenderer)

public List GetFocusSiblings(CellRenderer renderer)

Parameters

renderer CellRenderer

Returns

List

GetGType()

public static Type GetGType()

Returns

Type

GetPreferredHeight(CellAreaContext, Widget, out int, out int)

public void GetPreferredHeight(CellAreaContext context, Widget widget, out int minimumHeight, out int naturalHeight)

Parameters

context CellAreaContext
widget Widget
minimumHeight int
naturalHeight int

GetPreferredHeightForWidth(CellAreaContext, Widget, int, out int, out int)

public void GetPreferredHeightForWidth(CellAreaContext context, Widget widget, int width, out int minimumHeight, out int naturalHeight)

Parameters

context CellAreaContext
widget Widget
width int
minimumHeight int
naturalHeight int

GetPreferredWidth(CellAreaContext, Widget, out int, out int)

public void GetPreferredWidth(CellAreaContext context, Widget widget, out int minimumWidth, out int naturalWidth)

Parameters

context CellAreaContext
widget Widget
minimumWidth int
naturalWidth int

GetPreferredWidthForHeight(CellAreaContext, Widget, int, out int, out int)

public void GetPreferredWidthForHeight(CellAreaContext context, Widget widget, int height, out int minimumWidth, out int naturalWidth)

Parameters

context CellAreaContext
widget Widget
height int
minimumWidth int
naturalWidth int

GetRequestMode()

public SizeRequestMode GetRequestMode()

Returns

SizeRequestMode

HasRenderer(CellRenderer)

public bool HasRenderer(CellRenderer renderer)

Parameters

renderer CellRenderer

Returns

bool

IsActivatable()

public bool IsActivatable()

Returns

bool

IsFocusSibling(CellRenderer, CellRenderer)

public bool IsFocusSibling(CellRenderer renderer, CellRenderer sibling)

Parameters

renderer CellRenderer
sibling CellRenderer

Returns

bool

Remove(CellRenderer)

public void Remove(CellRenderer renderer)

Parameters

renderer CellRenderer

RemoveFocusSibling(CellRenderer, CellRenderer)

public void RemoveFocusSibling(CellRenderer renderer, CellRenderer sibling)

Parameters

renderer CellRenderer
sibling CellRenderer

Reorder(CellRenderer, int)

public void Reorder(CellRenderer cell, int position)

Parameters

cell CellRenderer
position int

RequestRenderer(CellRenderer, Orientation, Widget, int, out int, out int)

public void RequestRenderer(CellRenderer renderer, Orientation orientation, Widget widget, int forSize, out int minimumSize, out int naturalSize)

Parameters

renderer CellRenderer
orientation Orientation
widget Widget
forSize int
minimumSize int
naturalSize int

SetCellDataFunc(CellRenderer, CellLayoutDataFunc?)

public void SetCellDataFunc(CellRenderer cell, CellLayoutDataFunc? func)

Parameters

cell CellRenderer
func CellLayoutDataFunc

SetFocusCell(CellRenderer?)

public void SetFocusCell(CellRenderer? renderer)

Parameters

renderer CellRenderer

Snapshot(CellAreaContext, Widget, Snapshot, Rectangle, Rectangle, CellRendererState, bool)

public void Snapshot(CellAreaContext context, Widget widget, Snapshot snapshot, Rectangle backgroundArea, Rectangle cellArea, CellRendererState flags, bool paintFocus)

Parameters

context CellAreaContext
widget Widget
snapshot Snapshot
backgroundArea Rectangle
cellArea Rectangle
flags CellRendererState
paintFocus bool

StopEditing(bool)

public void StopEditing(bool canceled)

Parameters

canceled bool

Events

OnAddEditable

public event SignalHandler<CellArea, CellArea.AddEditableSignalArgs> OnAddEditable

Event Type

SignalHandler<CellArea, CellArea.AddEditableSignalArgs>

OnApplyAttributes

public event SignalHandler<CellArea, CellArea.ApplyAttributesSignalArgs> OnApplyAttributes

Event Type

SignalHandler<CellArea, CellArea.ApplyAttributesSignalArgs>

OnFocusChanged

public event SignalHandler<CellArea, CellArea.FocusChangedSignalArgs> OnFocusChanged

Event Type

SignalHandler<CellArea, CellArea.FocusChangedSignalArgs>

OnRemoveEditable

public event SignalHandler<CellArea, CellArea.RemoveEditableSignalArgs> OnRemoveEditable

Event Type

SignalHandler<CellArea, CellArea.RemoveEditableSignalArgs>