Class CellRenderer
public class CellRenderer
- Inheritance
-
CellRenderer
- Inherited Members
Methods
Activate(IntPtr, IntPtr, IntPtr, NonNullableUtf8StringHandle, RectangleHandle, RectangleHandle, CellRendererState)
Calls native method gtk_cell_renderer_activate.
public static extern bool Activate(IntPtr cell, IntPtr @event, IntPtr widget, NonNullableUtf8StringHandle path, RectangleHandle backgroundArea, RectangleHandle cellArea, CellRendererState flags)
Parameters
cell
IntPtrTransfer ownership: None Nullable: False
event
IntPtrwidget
IntPtrTransfer ownership: None Nullable: False
path
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
backgroundArea
RectangleHandleTransfer ownership: None Nullable: False
cellArea
RectangleHandleTransfer ownership: None Nullable: False
flags
CellRendererStateTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetAlignment(IntPtr, out float, out float)
Calls native method gtk_cell_renderer_get_alignment.
public static extern void GetAlignment(IntPtr cell, out float xalign, out float yalign)
Parameters
cell
IntPtrTransfer ownership: None Nullable: False
xalign
floatTransfer ownership: Full Nullable: False
yalign
floatTransfer ownership: Full Nullable: False
GetFixedSize(IntPtr, out int, out int)
Calls native method gtk_cell_renderer_get_fixed_size.
public static extern void GetFixedSize(IntPtr cell, out int width, out int height)
Parameters
cell
IntPtrTransfer ownership: None Nullable: False
width
intTransfer ownership: Full Nullable: False
height
intTransfer ownership: Full Nullable: False
GetGType()
Calls native function gtk_cell_renderer_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetIsExpanded(IntPtr)
Calls native method gtk_cell_renderer_get_is_expanded.
public static extern bool GetIsExpanded(IntPtr cell)
Parameters
cell
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetIsExpander(IntPtr)
Calls native method gtk_cell_renderer_get_is_expander.
public static extern bool GetIsExpander(IntPtr cell)
Parameters
cell
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetPadding(IntPtr, out int, out int)
Calls native method gtk_cell_renderer_get_padding.
public static extern void GetPadding(IntPtr cell, out int xpad, out int ypad)
Parameters
cell
IntPtrTransfer ownership: None Nullable: False
xpad
intTransfer ownership: Full Nullable: False
ypad
intTransfer ownership: Full Nullable: False
GetPreferredHeight(IntPtr, IntPtr, out int, out int)
Calls native method gtk_cell_renderer_get_preferred_height.
public static extern void GetPreferredHeight(IntPtr cell, IntPtr widget, out int minimumSize, out int naturalSize)
Parameters
cell
IntPtrTransfer ownership: None Nullable: False
widget
IntPtrTransfer ownership: None Nullable: False
minimumSize
intTransfer ownership: Full Nullable: False
naturalSize
intTransfer ownership: Full Nullable: False
GetPreferredHeightForWidth(IntPtr, IntPtr, int, out int, out int)
Calls native method gtk_cell_renderer_get_preferred_height_for_width.
public static extern void GetPreferredHeightForWidth(IntPtr cell, IntPtr widget, int width, out int minimumHeight, out int naturalHeight)
Parameters
cell
IntPtrTransfer ownership: None Nullable: False
widget
IntPtrTransfer ownership: None Nullable: False
width
intTransfer ownership: None Nullable: False
minimumHeight
intTransfer ownership: Full Nullable: False
naturalHeight
intTransfer ownership: Full Nullable: False
GetPreferredWidth(IntPtr, IntPtr, out int, out int)
Calls native method gtk_cell_renderer_get_preferred_width.
public static extern void GetPreferredWidth(IntPtr cell, IntPtr widget, out int minimumSize, out int naturalSize)
Parameters
cell
IntPtrTransfer ownership: None Nullable: False
widget
IntPtrTransfer ownership: None Nullable: False
minimumSize
intTransfer ownership: Full Nullable: False
naturalSize
intTransfer ownership: Full Nullable: False
GetPreferredWidthForHeight(IntPtr, IntPtr, int, out int, out int)
Calls native method gtk_cell_renderer_get_preferred_width_for_height.
public static extern void GetPreferredWidthForHeight(IntPtr cell, IntPtr widget, int height, out int minimumWidth, out int naturalWidth)
Parameters
cell
IntPtrTransfer ownership: None Nullable: False
widget
IntPtrTransfer ownership: None Nullable: False
height
intTransfer ownership: None Nullable: False
minimumWidth
intTransfer ownership: Full Nullable: False
naturalWidth
intTransfer ownership: Full Nullable: False
GetRequestMode(IntPtr)
Calls native method gtk_cell_renderer_get_request_mode.
public static extern SizeRequestMode GetRequestMode(IntPtr cell)
Parameters
cell
IntPtrTransfer ownership: None Nullable: False
Returns
- SizeRequestMode
Transfer ownership: None Nullable: False
GetSensitive(IntPtr)
Calls native method gtk_cell_renderer_get_sensitive.
public static extern bool GetSensitive(IntPtr cell)
Parameters
cell
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetState(IntPtr, IntPtr, CellRendererState)
Calls native method gtk_cell_renderer_get_state.
public static extern StateFlags GetState(IntPtr cell, IntPtr widget, CellRendererState cellState)
Parameters
cell
IntPtrTransfer ownership: None Nullable: True
widget
IntPtrTransfer ownership: None Nullable: True
cellState
CellRendererStateTransfer ownership: None Nullable: False
Returns
- StateFlags
Transfer ownership: None Nullable: False
GetVisible(IntPtr)
Calls native method gtk_cell_renderer_get_visible.
public static extern bool GetVisible(IntPtr cell)
Parameters
cell
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
IsActivatable(IntPtr)
Calls native method gtk_cell_renderer_is_activatable.
public static extern bool IsActivatable(IntPtr cell)
Parameters
cell
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
SetAlignment(IntPtr, float, float)
Calls native method gtk_cell_renderer_set_alignment.
public static extern void SetAlignment(IntPtr cell, float xalign, float yalign)
Parameters
cell
IntPtrTransfer ownership: None Nullable: False
xalign
floatTransfer ownership: None Nullable: False
yalign
floatTransfer ownership: None Nullable: False
SetFixedSize(IntPtr, int, int)
Calls native method gtk_cell_renderer_set_fixed_size.
public static extern void SetFixedSize(IntPtr cell, int width, int height)
Parameters
cell
IntPtrTransfer ownership: None Nullable: False
width
intTransfer ownership: None Nullable: False
height
intTransfer ownership: None Nullable: False
SetIsExpanded(IntPtr, bool)
Calls native method gtk_cell_renderer_set_is_expanded.
public static extern void SetIsExpanded(IntPtr cell, bool isExpanded)
Parameters
cell
IntPtrTransfer ownership: None Nullable: False
isExpanded
boolTransfer ownership: None Nullable: False
SetIsExpander(IntPtr, bool)
Calls native method gtk_cell_renderer_set_is_expander.
public static extern void SetIsExpander(IntPtr cell, bool isExpander)
Parameters
cell
IntPtrTransfer ownership: None Nullable: False
isExpander
boolTransfer ownership: None Nullable: False
SetPadding(IntPtr, int, int)
Calls native method gtk_cell_renderer_set_padding.
public static extern void SetPadding(IntPtr cell, int xpad, int ypad)
Parameters
cell
IntPtrTransfer ownership: None Nullable: False
xpad
intTransfer ownership: None Nullable: False
ypad
intTransfer ownership: None Nullable: False
SetSensitive(IntPtr, bool)
Calls native method gtk_cell_renderer_set_sensitive.
public static extern void SetSensitive(IntPtr cell, bool sensitive)
Parameters
cell
IntPtrTransfer ownership: None Nullable: False
sensitive
boolTransfer ownership: None Nullable: False
SetVisible(IntPtr, bool)
Calls native method gtk_cell_renderer_set_visible.
public static extern void SetVisible(IntPtr cell, bool visible)
Parameters
cell
IntPtrTransfer ownership: None Nullable: False
visible
boolTransfer ownership: None Nullable: False
Snapshot(IntPtr, IntPtr, IntPtr, RectangleHandle, RectangleHandle, CellRendererState)
Calls native method gtk_cell_renderer_snapshot.
public static extern void Snapshot(IntPtr cell, IntPtr snapshot, IntPtr widget, RectangleHandle backgroundArea, RectangleHandle cellArea, CellRendererState flags)
Parameters
cell
IntPtrTransfer ownership: None Nullable: False
snapshot
IntPtrTransfer ownership: None Nullable: False
widget
IntPtrTransfer ownership: None Nullable: False
backgroundArea
RectangleHandleTransfer ownership: None Nullable: False
cellArea
RectangleHandleTransfer ownership: None Nullable: False
flags
CellRendererStateTransfer ownership: None Nullable: False
StartEditing(IntPtr, IntPtr, IntPtr, NonNullableUtf8StringHandle, RectangleHandle, RectangleHandle, CellRendererState)
Calls native method gtk_cell_renderer_start_editing.
public static extern IntPtr StartEditing(IntPtr cell, IntPtr @event, IntPtr widget, NonNullableUtf8StringHandle path, RectangleHandle backgroundArea, RectangleHandle cellArea, CellRendererState flags)
Parameters
cell
IntPtrTransfer ownership: None Nullable: False
event
IntPtrwidget
IntPtrTransfer ownership: None Nullable: False
path
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
backgroundArea
RectangleHandleTransfer ownership: None Nullable: False
cellArea
RectangleHandleTransfer ownership: None Nullable: False
flags
CellRendererStateTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
StopEditing(IntPtr, bool)
Calls native method gtk_cell_renderer_stop_editing.
public static extern void StopEditing(IntPtr cell, bool canceled)