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
Fields
AddEditableSignal
Signal Descriptor for OnAddEditable.
public static readonly Signal<CellArea, CellArea.AddEditableSignalArgs> AddEditableSignal
Field Value
ApplyAttributesSignal
Signal Descriptor for OnApplyAttributes.
public static readonly Signal<CellArea, CellArea.ApplyAttributesSignalArgs> ApplyAttributesSignal
Field Value
EditWidgetPropertyDefinition
public static readonly Property<CellEditable, CellArea> EditWidgetPropertyDefinition
Field Value
EditedCellPropertyDefinition
public static readonly Property<CellRenderer?, CellArea> EditedCellPropertyDefinition
Field Value
FocusCellPropertyDefinition
public static readonly Property<CellRenderer?, CellArea> FocusCellPropertyDefinition
Field Value
FocusChangedSignal
Signal Descriptor for OnFocusChanged.
public static readonly Signal<CellArea, CellArea.FocusChangedSignalArgs> FocusChangedSignal
Field Value
RemoveEditableSignal
Signal Descriptor for OnRemoveEditable.
public static readonly Signal<CellArea, CellArea.RemoveEditableSignalArgs> RemoveEditableSignal
Field Value
Properties
EditWidget
public CellEditable EditWidget { get; }
Property Value
EditedCell
public CellRenderer? EditedCell { get; }
Property Value
FocusCell
public CellRenderer? FocusCell { get; set; }
Property Value
Methods
Activate(CellAreaContext, Widget, Rectangle, CellRendererState, bool)
public bool Activate(CellAreaContext context, Widget widget, Rectangle cellArea, CellRendererState flags, bool editOnly)
Parameters
context
CellAreaContextwidget
WidgetcellArea
Rectangleflags
CellRendererStateeditOnly
bool
Returns
ActivateCell(Widget, CellRenderer, Event, Rectangle, CellRendererState)
public bool ActivateCell(Widget widget, CellRenderer renderer, Event @event, Rectangle cellArea, CellRendererState flags)
Parameters
widget
Widgetrenderer
CellRendererevent
EventcellArea
Rectangleflags
CellRendererState
Returns
Add(CellRenderer)
public void Add(CellRenderer renderer)
Parameters
renderer
CellRenderer
AddFocusSibling(CellRenderer, CellRenderer)
public void AddFocusSibling(CellRenderer renderer, CellRenderer sibling)
Parameters
renderer
CellRenderersibling
CellRenderer
ApplyAttributes(TreeModel, TreeIter, bool, bool)
public void ApplyAttributes(TreeModel treeModel, TreeIter iter, bool isExpander, bool isExpanded)
Parameters
AttributeConnect(CellRenderer, string, int)
public void AttributeConnect(CellRenderer renderer, string attribute, int column)
Parameters
renderer
CellRendererattribute
stringcolumn
int
AttributeDisconnect(CellRenderer, string)
public void AttributeDisconnect(CellRenderer renderer, string attribute)
Parameters
renderer
CellRendererattribute
string
AttributeGetColumn(CellRenderer, string)
public int AttributeGetColumn(CellRenderer renderer, string attribute)
Parameters
renderer
CellRendererattribute
string
Returns
CellGetProperty(CellRenderer, string, Value)
public void CellGetProperty(CellRenderer renderer, string propertyName, Value value)
Parameters
renderer
CellRendererpropertyName
stringvalue
Value
CellGetValist(CellRenderer, string, IntPtr)
public void CellGetValist(CellRenderer renderer, string firstPropertyName, IntPtr varArgs)
Parameters
renderer
CellRendererfirstPropertyName
stringvarArgs
IntPtr
CellSetProperty(CellRenderer, string, Value)
public void CellSetProperty(CellRenderer renderer, string propertyName, Value value)
Parameters
renderer
CellRendererpropertyName
stringvalue
Value
CellSetValist(CellRenderer, string, IntPtr)
public void CellSetValist(CellRenderer renderer, string firstPropertyName, IntPtr varArgs)
Parameters
renderer
CellRendererfirstPropertyName
stringvarArgs
IntPtr
CopyContext(CellAreaContext)
public CellAreaContext CopyContext(CellAreaContext context)
Parameters
context
CellAreaContext
Returns
CreateContext()
public CellAreaContext CreateContext()
Returns
Event(CellAreaContext, Widget, Event, Rectangle, CellRendererState)
public int Event(CellAreaContext context, Widget widget, Event @event, Rectangle cellArea, CellRendererState flags)
Parameters
context
CellAreaContextwidget
Widgetevent
EventcellArea
Rectangleflags
CellRendererState
Returns
Focus(DirectionType)
public bool Focus(DirectionType direction)
Parameters
direction
DirectionType
Returns
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
CellAreaContextwidget
WidgetcellArea
RectanglebackgroundArea
Rectanglecallback
CellAllocCallback
GetArea()
public CellArea? GetArea()
Returns
GetBuildableId()
public string? GetBuildableId()
Returns
GetCurrentPathString()
public string GetCurrentPathString()
Returns
GetEditWidget()
public CellEditable? GetEditWidget()
Returns
GetEditedCell()
public CellRenderer? GetEditedCell()
Returns
GetFocusCell()
public CellRenderer? GetFocusCell()
Returns
GetFocusFromSibling(CellRenderer)
public CellRenderer? GetFocusFromSibling(CellRenderer renderer)
Parameters
renderer
CellRenderer
Returns
GetFocusSiblings(CellRenderer)
public List GetFocusSiblings(CellRenderer renderer)
Parameters
renderer
CellRenderer
Returns
GetGType()
public static Type GetGType()
Returns
GetPreferredHeight(CellAreaContext, Widget, out int, out int)
public void GetPreferredHeight(CellAreaContext context, Widget widget, out int minimumHeight, out int naturalHeight)
Parameters
context
CellAreaContextwidget
WidgetminimumHeight
intnaturalHeight
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
CellAreaContextwidget
Widgetwidth
intminimumHeight
intnaturalHeight
int
GetPreferredWidth(CellAreaContext, Widget, out int, out int)
public void GetPreferredWidth(CellAreaContext context, Widget widget, out int minimumWidth, out int naturalWidth)
Parameters
context
CellAreaContextwidget
WidgetminimumWidth
intnaturalWidth
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
CellAreaContextwidget
Widgetheight
intminimumWidth
intnaturalWidth
int
GetRequestMode()
public SizeRequestMode GetRequestMode()
Returns
HasRenderer(CellRenderer)
public bool HasRenderer(CellRenderer renderer)
Parameters
renderer
CellRenderer
Returns
IsActivatable()
public bool IsActivatable()
Returns
IsFocusSibling(CellRenderer, CellRenderer)
public bool IsFocusSibling(CellRenderer renderer, CellRenderer sibling)
Parameters
renderer
CellRenderersibling
CellRenderer
Returns
Remove(CellRenderer)
public void Remove(CellRenderer renderer)
Parameters
renderer
CellRenderer
RemoveFocusSibling(CellRenderer, CellRenderer)
public void RemoveFocusSibling(CellRenderer renderer, CellRenderer sibling)
Parameters
renderer
CellRenderersibling
CellRenderer
Reorder(CellRenderer, int)
public void Reorder(CellRenderer cell, int position)
Parameters
cell
CellRendererposition
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
CellRendererorientation
Orientationwidget
WidgetforSize
intminimumSize
intnaturalSize
int
SetCellDataFunc(CellRenderer, CellLayoutDataFunc?)
public void SetCellDataFunc(CellRenderer cell, CellLayoutDataFunc? func)
Parameters
cell
CellRendererfunc
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
CellAreaContextwidget
Widgetsnapshot
SnapshotbackgroundArea
RectanglecellArea
Rectangleflags
CellRendererStatepaintFocus
bool
StopEditing(bool)
public void StopEditing(bool canceled)
Parameters
canceled
bool
Events
OnAddEditable
public event SignalHandler<CellArea, CellArea.AddEditableSignalArgs> OnAddEditable
Event Type
OnApplyAttributes
public event SignalHandler<CellArea, CellArea.ApplyAttributesSignalArgs> OnApplyAttributes
Event Type
OnFocusChanged
public event SignalHandler<CellArea, CellArea.FocusChangedSignalArgs> OnFocusChanged
Event Type
OnRemoveEditable
public event SignalHandler<CellArea, CellArea.RemoveEditableSignalArgs> OnRemoveEditable