Table of Contents

Class DrawingArea

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

Methods

GetContentHeight(IntPtr)

Calls native method gtk_drawing_area_get_content_height.

public static extern int GetContentHeight(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetContentWidth(IntPtr)

Calls native method gtk_drawing_area_get_content_width.

public static extern int GetContentWidth(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetGType()

Calls native function gtk_drawing_area_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

New()

Calls native constructor gtk_drawing_area_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: None Nullable: False

SetContentHeight(IntPtr, int)

Calls native method gtk_drawing_area_set_content_height.

public static extern void SetContentHeight(IntPtr self, int height)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

height int

Transfer ownership: None Nullable: False

SetContentWidth(IntPtr, int)

Calls native method gtk_drawing_area_set_content_width.

public static extern void SetContentWidth(IntPtr self, int width)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

width int

Transfer ownership: None Nullable: False

SetDrawFunc(IntPtr, DrawingAreaDrawFunc, IntPtr, DestroyNotify)

Calls native method gtk_drawing_area_set_draw_func.

public static extern void SetDrawFunc(IntPtr self, DrawingAreaDrawFunc drawFunc, IntPtr userData, DestroyNotify destroy)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

drawFunc DrawingAreaDrawFunc

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True

destroy DestroyNotify

Transfer ownership: None Nullable: False