Table of Contents

Class CellArea

Namespace
Gtk.Internal
Assembly
Gtk-4.0.dll
public class CellArea
Inheritance
CellArea
Inherited Members

Methods

Activate(IntPtr, IntPtr, IntPtr, RectangleHandle, CellRendererState, bool)

Calls native method gtk_cell_area_activate.

public static extern bool Activate(IntPtr area, IntPtr context, IntPtr widget, RectangleHandle cellArea, CellRendererState flags, bool editOnly)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

context IntPtr

Transfer ownership: None Nullable: False

widget IntPtr

Transfer ownership: None Nullable: False

cellArea RectangleHandle

Transfer ownership: None Nullable: False

flags CellRendererState

Transfer ownership: None Nullable: False

editOnly bool

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

ActivateCell(IntPtr, IntPtr, IntPtr, IntPtr, RectangleHandle, CellRendererState)

Calls native method gtk_cell_area_activate_cell.

public static extern bool ActivateCell(IntPtr area, IntPtr widget, IntPtr renderer, IntPtr @event, RectangleHandle cellArea, CellRendererState flags)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

widget IntPtr

Transfer ownership: None Nullable: False

renderer IntPtr

Transfer ownership: None Nullable: False

event IntPtr
cellArea RectangleHandle

Transfer ownership: None Nullable: False

flags CellRendererState

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

Add(IntPtr, IntPtr)

Calls native method gtk_cell_area_add.

public static extern void Add(IntPtr area, IntPtr renderer)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

renderer IntPtr

Transfer ownership: None Nullable: False

AddFocusSibling(IntPtr, IntPtr, IntPtr)

Calls native method gtk_cell_area_add_focus_sibling.

public static extern void AddFocusSibling(IntPtr area, IntPtr renderer, IntPtr sibling)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

renderer IntPtr

Transfer ownership: None Nullable: False

sibling IntPtr

Transfer ownership: None Nullable: False

ApplyAttributes(IntPtr, IntPtr, TreeIterHandle, bool, bool)

Calls native method gtk_cell_area_apply_attributes.

public static extern void ApplyAttributes(IntPtr area, IntPtr treeModel, TreeIterHandle iter, bool isExpander, bool isExpanded)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

treeModel IntPtr

Transfer ownership: None Nullable: False

iter TreeIterHandle

Transfer ownership: None Nullable: False

isExpander bool

Transfer ownership: None Nullable: False

isExpanded bool

Transfer ownership: None Nullable: False

AttributeConnect(IntPtr, IntPtr, NonNullableUtf8StringHandle, int)

Calls native method gtk_cell_area_attribute_connect.

public static extern void AttributeConnect(IntPtr area, IntPtr renderer, NonNullableUtf8StringHandle attribute, int column)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

renderer IntPtr

Transfer ownership: None Nullable: False

attribute NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

column int

Transfer ownership: None Nullable: False

AttributeDisconnect(IntPtr, IntPtr, NonNullableUtf8StringHandle)

Calls native method gtk_cell_area_attribute_disconnect.

public static extern void AttributeDisconnect(IntPtr area, IntPtr renderer, NonNullableUtf8StringHandle attribute)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

renderer IntPtr

Transfer ownership: None Nullable: False

attribute NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

AttributeGetColumn(IntPtr, IntPtr, NonNullableUtf8StringHandle)

Calls native method gtk_cell_area_attribute_get_column.

public static extern int AttributeGetColumn(IntPtr area, IntPtr renderer, NonNullableUtf8StringHandle attribute)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

renderer IntPtr

Transfer ownership: None Nullable: False

attribute NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

CellGetProperty(IntPtr, IntPtr, NonNullableUtf8StringHandle, ValueHandle)

Calls native method gtk_cell_area_cell_get_property.

public static extern void CellGetProperty(IntPtr area, IntPtr renderer, NonNullableUtf8StringHandle propertyName, ValueHandle value)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

renderer IntPtr

Transfer ownership: None Nullable: False

propertyName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

value ValueHandle

Transfer ownership: None Nullable: False

CellGetValist(IntPtr, IntPtr, NonNullableUtf8StringHandle, IntPtr)

Calls native method gtk_cell_area_cell_get_valist.

public static extern void CellGetValist(IntPtr area, IntPtr renderer, NonNullableUtf8StringHandle firstPropertyName, IntPtr varArgs)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

renderer IntPtr

Transfer ownership: None Nullable: False

firstPropertyName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

varArgs IntPtr

Transfer ownership: None Nullable: False

CellSetProperty(IntPtr, IntPtr, NonNullableUtf8StringHandle, ValueHandle)

Calls native method gtk_cell_area_cell_set_property.

public static extern void CellSetProperty(IntPtr area, IntPtr renderer, NonNullableUtf8StringHandle propertyName, ValueHandle value)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

renderer IntPtr

Transfer ownership: None Nullable: False

propertyName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

value ValueHandle

Transfer ownership: None Nullable: False

CellSetValist(IntPtr, IntPtr, NonNullableUtf8StringHandle, IntPtr)

Calls native method gtk_cell_area_cell_set_valist.

public static extern void CellSetValist(IntPtr area, IntPtr renderer, NonNullableUtf8StringHandle firstPropertyName, IntPtr varArgs)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

renderer IntPtr

Transfer ownership: None Nullable: False

firstPropertyName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

varArgs IntPtr

Transfer ownership: None Nullable: False

CopyContext(IntPtr, IntPtr)

Calls native method gtk_cell_area_copy_context.

public static extern IntPtr CopyContext(IntPtr area, IntPtr context)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

context IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

CreateContext(IntPtr)

Calls native method gtk_cell_area_create_context.

public static extern IntPtr CreateContext(IntPtr area)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

Event(IntPtr, IntPtr, IntPtr, IntPtr, RectangleHandle, CellRendererState)

Calls native method gtk_cell_area_event.

public static extern int Event(IntPtr area, IntPtr context, IntPtr widget, IntPtr @event, RectangleHandle cellArea, CellRendererState flags)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

context IntPtr

Transfer ownership: None Nullable: False

widget IntPtr

Transfer ownership: None Nullable: False

event IntPtr
cellArea RectangleHandle

Transfer ownership: None Nullable: False

flags CellRendererState

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

Focus(IntPtr, DirectionType)

Calls native method gtk_cell_area_focus.

public static extern bool Focus(IntPtr area, DirectionType direction)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

direction DirectionType

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

Foreach(IntPtr, CellCallback, IntPtr)

Calls native method gtk_cell_area_foreach.

public static extern void Foreach(IntPtr area, CellCallback callback, IntPtr callbackData)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

callback CellCallback

Transfer ownership: None Nullable: False

callbackData IntPtr

Transfer ownership: None Nullable: True

ForeachAlloc(IntPtr, IntPtr, IntPtr, RectangleHandle, RectangleHandle, CellAllocCallback, IntPtr)

Calls native method gtk_cell_area_foreach_alloc.

public static extern void ForeachAlloc(IntPtr area, IntPtr context, IntPtr widget, RectangleHandle cellArea, RectangleHandle backgroundArea, CellAllocCallback callback, IntPtr callbackData)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

context IntPtr

Transfer ownership: None Nullable: False

widget IntPtr

Transfer ownership: None Nullable: False

cellArea RectangleHandle

Transfer ownership: None Nullable: False

backgroundArea RectangleHandle

Transfer ownership: None Nullable: False

callback CellAllocCallback

Transfer ownership: None Nullable: False

callbackData IntPtr

Transfer ownership: None Nullable: True

GetCurrentPathString(IntPtr)

Calls native method gtk_cell_area_get_current_path_string.

public static extern NonNullableUtf8StringUnownedHandle GetCurrentPathString(IntPtr area)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

GetEditWidget(IntPtr)

Calls native method gtk_cell_area_get_edit_widget.

public static extern IntPtr GetEditWidget(IntPtr area)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetEditedCell(IntPtr)

Calls native method gtk_cell_area_get_edited_cell.

public static extern IntPtr GetEditedCell(IntPtr area)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetFocusCell(IntPtr)

Calls native method gtk_cell_area_get_focus_cell.

public static extern IntPtr GetFocusCell(IntPtr area)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetFocusFromSibling(IntPtr, IntPtr)

Calls native method gtk_cell_area_get_focus_from_sibling.

public static extern IntPtr GetFocusFromSibling(IntPtr area, IntPtr renderer)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

renderer IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetFocusSiblings(IntPtr, IntPtr)

Calls native method gtk_cell_area_get_focus_siblings.

public static extern ListUnownedHandle GetFocusSiblings(IntPtr area, IntPtr renderer)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

renderer IntPtr

Transfer ownership: None Nullable: False

Returns

ListUnownedHandle

Transfer ownership: None Nullable: False

GetGType()

Calls native function gtk_cell_area_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetPreferredHeight(IntPtr, IntPtr, IntPtr, out int, out int)

Calls native method gtk_cell_area_get_preferred_height.

public static extern void GetPreferredHeight(IntPtr area, IntPtr context, IntPtr widget, out int minimumHeight, out int naturalHeight)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

context IntPtr

Transfer ownership: None Nullable: False

widget IntPtr

Transfer ownership: None Nullable: False

minimumHeight int

Transfer ownership: Full Nullable: False

naturalHeight int

Transfer ownership: Full Nullable: False

GetPreferredHeightForWidth(IntPtr, IntPtr, IntPtr, int, out int, out int)

Calls native method gtk_cell_area_get_preferred_height_for_width.

public static extern void GetPreferredHeightForWidth(IntPtr area, IntPtr context, IntPtr widget, int width, out int minimumHeight, out int naturalHeight)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

context IntPtr

Transfer ownership: None Nullable: False

widget IntPtr

Transfer ownership: None Nullable: False

width int

Transfer ownership: None Nullable: False

minimumHeight int

Transfer ownership: Full Nullable: False

naturalHeight int

Transfer ownership: Full Nullable: False

GetPreferredWidth(IntPtr, IntPtr, IntPtr, out int, out int)

Calls native method gtk_cell_area_get_preferred_width.

public static extern void GetPreferredWidth(IntPtr area, IntPtr context, IntPtr widget, out int minimumWidth, out int naturalWidth)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

context IntPtr

Transfer ownership: None Nullable: False

widget IntPtr

Transfer ownership: None Nullable: False

minimumWidth int

Transfer ownership: Full Nullable: False

naturalWidth int

Transfer ownership: Full Nullable: False

GetPreferredWidthForHeight(IntPtr, IntPtr, IntPtr, int, out int, out int)

Calls native method gtk_cell_area_get_preferred_width_for_height.

public static extern void GetPreferredWidthForHeight(IntPtr area, IntPtr context, IntPtr widget, int height, out int minimumWidth, out int naturalWidth)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

context IntPtr

Transfer ownership: None Nullable: False

widget IntPtr

Transfer ownership: None Nullable: False

height int

Transfer ownership: None Nullable: False

minimumWidth int

Transfer ownership: Full Nullable: False

naturalWidth int

Transfer ownership: Full Nullable: False

GetRequestMode(IntPtr)

Calls native method gtk_cell_area_get_request_mode.

public static extern SizeRequestMode GetRequestMode(IntPtr area)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

Returns

SizeRequestMode

Transfer ownership: None Nullable: False

HasRenderer(IntPtr, IntPtr)

Calls native method gtk_cell_area_has_renderer.

public static extern bool HasRenderer(IntPtr area, IntPtr renderer)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

renderer IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

IsActivatable(IntPtr)

Calls native method gtk_cell_area_is_activatable.

public static extern bool IsActivatable(IntPtr area)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

IsFocusSibling(IntPtr, IntPtr, IntPtr)

Calls native method gtk_cell_area_is_focus_sibling.

public static extern bool IsFocusSibling(IntPtr area, IntPtr renderer, IntPtr sibling)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

renderer IntPtr

Transfer ownership: None Nullable: False

sibling IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

Remove(IntPtr, IntPtr)

Calls native method gtk_cell_area_remove.

public static extern void Remove(IntPtr area, IntPtr renderer)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

renderer IntPtr

Transfer ownership: None Nullable: False

RemoveFocusSibling(IntPtr, IntPtr, IntPtr)

Calls native method gtk_cell_area_remove_focus_sibling.

public static extern void RemoveFocusSibling(IntPtr area, IntPtr renderer, IntPtr sibling)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

renderer IntPtr

Transfer ownership: None Nullable: False

sibling IntPtr

Transfer ownership: None Nullable: False

RequestRenderer(IntPtr, IntPtr, Orientation, IntPtr, int, out int, out int)

Calls native method gtk_cell_area_request_renderer.

public static extern void RequestRenderer(IntPtr area, IntPtr renderer, Orientation orientation, IntPtr widget, int forSize, out int minimumSize, out int naturalSize)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

renderer IntPtr

Transfer ownership: None Nullable: False

orientation Orientation

Transfer ownership: None Nullable: False

widget IntPtr

Transfer ownership: None Nullable: False

forSize int

Transfer ownership: None Nullable: False

minimumSize int

Transfer ownership: Full Nullable: False

naturalSize int

Transfer ownership: Full Nullable: False

SetFocusCell(IntPtr, IntPtr)

Calls native method gtk_cell_area_set_focus_cell.

public static extern void SetFocusCell(IntPtr area, IntPtr renderer)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

renderer IntPtr

Transfer ownership: None Nullable: True

Snapshot(IntPtr, IntPtr, IntPtr, IntPtr, RectangleHandle, RectangleHandle, CellRendererState, bool)

Calls native method gtk_cell_area_snapshot.

public static extern void Snapshot(IntPtr area, IntPtr context, IntPtr widget, IntPtr snapshot, RectangleHandle backgroundArea, RectangleHandle cellArea, CellRendererState flags, bool paintFocus)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

context IntPtr

Transfer ownership: None Nullable: False

widget IntPtr

Transfer ownership: None Nullable: False

snapshot IntPtr

Transfer ownership: None Nullable: False

backgroundArea RectangleHandle

Transfer ownership: None Nullable: False

cellArea RectangleHandle

Transfer ownership: None Nullable: False

flags CellRendererState

Transfer ownership: None Nullable: False

paintFocus bool

Transfer ownership: None Nullable: False

StopEditing(IntPtr, bool)

Calls native method gtk_cell_area_stop_editing.

public static extern void StopEditing(IntPtr area, bool canceled)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

canceled bool

Transfer ownership: None Nullable: False