Table of Contents

Class NotebookPage

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class NotebookPage : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
NotebookPage
Implements
Inherited Members

Constructors

NotebookPage(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public NotebookPage(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

NotebookPage(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected NotebookPage(CreationData data)

Parameters

data CreationData

NotebookPage(NotebookPageHandle)

protected NotebookPage(NotebookPageHandle handle)

Parameters

handle NotebookPageHandle

Fields

ChildPropertyDefinition

public static readonly Property<Widget?, NotebookPage> ChildPropertyDefinition

Field Value

Property<Widget, NotebookPage>

DetachablePropertyDefinition

public static readonly Property<bool, NotebookPage> DetachablePropertyDefinition

Field Value

Property<bool, NotebookPage>

MenuLabelPropertyDefinition

public static readonly Property<string?, NotebookPage> MenuLabelPropertyDefinition

Field Value

Property<string, NotebookPage>

MenuPropertyDefinition

public static readonly Property<Widget?, NotebookPage> MenuPropertyDefinition

Field Value

Property<Widget, NotebookPage>

PositionPropertyDefinition

public static readonly Property<int, NotebookPage> PositionPropertyDefinition

Field Value

Property<int, NotebookPage>

ReorderablePropertyDefinition

public static readonly Property<bool, NotebookPage> ReorderablePropertyDefinition

Field Value

Property<bool, NotebookPage>

TabExpandPropertyDefinition

public static readonly Property<bool, NotebookPage> TabExpandPropertyDefinition

Field Value

Property<bool, NotebookPage>

TabFillPropertyDefinition

public static readonly Property<bool, NotebookPage> TabFillPropertyDefinition

Field Value

Property<bool, NotebookPage>

TabLabelPropertyDefinition

public static readonly Property<string?, NotebookPage> TabLabelPropertyDefinition

Field Value

Property<string, NotebookPage>

TabPropertyDefinition

public static readonly Property<Widget?, NotebookPage> TabPropertyDefinition

Field Value

Property<Widget, NotebookPage>

Properties

Child

public Widget? Child { get; }

Property Value

Widget

Detachable

public bool Detachable { get; set; }

Property Value

bool

Menu

public Widget? Menu { get; }

Property Value

Widget

MenuLabel

public string? MenuLabel { get; set; }

Property Value

string

Position

public int Position { get; set; }

Property Value

int

Reorderable

public bool Reorderable { get; set; }

Property Value

bool

Tab

public Widget? Tab { get; }

Property Value

Widget

TabExpand

public bool TabExpand { get; set; }

Property Value

bool

TabFill

public bool TabFill { get; set; }

Property Value

bool

TabLabel

public string? TabLabel { get; set; }

Property Value

string

Methods

GetChild()

public Widget GetChild()

Returns

Widget

GetGType()

public static Type GetGType()

Returns

Type

NewFromPointer(nint, bool)

Creates a new managed NotebookPage instance for a given pointer.

public static NotebookPage NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

NotebookPage

NewWithProperties(ConstructArgument[])

Creates a new NotebookPage and sets the properties specified by the construct arguments.

public static NotebookPage NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

NotebookPage