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
constructArgumentsConstructArgument[]
NotebookPage(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected NotebookPage(CreationData data)
Parameters
dataCreationData
NotebookPage(NotebookPageHandle)
protected NotebookPage(NotebookPageHandle handle)
Parameters
handleNotebookPageHandle
Fields
ChildPropertyDefinition
public static readonly Property<Widget?, NotebookPage> ChildPropertyDefinition
Field Value
DetachablePropertyDefinition
public static readonly Property<bool, NotebookPage> DetachablePropertyDefinition
Field Value
MenuLabelPropertyDefinition
public static readonly Property<string?, NotebookPage> MenuLabelPropertyDefinition
Field Value
MenuPropertyDefinition
public static readonly Property<Widget?, NotebookPage> MenuPropertyDefinition
Field Value
PositionPropertyDefinition
public static readonly Property<int, NotebookPage> PositionPropertyDefinition
Field Value
ReorderablePropertyDefinition
public static readonly Property<bool, NotebookPage> ReorderablePropertyDefinition
Field Value
TabExpandPropertyDefinition
public static readonly Property<bool, NotebookPage> TabExpandPropertyDefinition
Field Value
TabFillPropertyDefinition
public static readonly Property<bool, NotebookPage> TabFillPropertyDefinition
Field Value
TabLabelPropertyDefinition
public static readonly Property<string?, NotebookPage> TabLabelPropertyDefinition
Field Value
TabPropertyDefinition
public static readonly Property<Widget?, NotebookPage> TabPropertyDefinition
Field Value
Properties
Child
public Widget? Child { get; }
Property Value
Detachable
public bool Detachable { get; set; }
Property Value
Menu
public Widget? Menu { get; }
Property Value
MenuLabel
public string? MenuLabel { get; set; }
Property Value
Position
public int Position { get; set; }
Property Value
Reorderable
public bool Reorderable { get; set; }
Property Value
Tab
public Widget? Tab { get; }
Property Value
TabExpand
public bool TabExpand { get; set; }
Property Value
TabFill
public bool TabFill { get; set; }
Property Value
TabLabel
public string? TabLabel { get; set; }
Property Value
Methods
GetChild()
public Widget GetChild()
Returns
GetGType()
public static Type GetGType()
Returns
NewFromPointer(nint, bool)
Creates a new managed NotebookPage instance for a given pointer.
public static NotebookPage NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new NotebookPage and sets the properties specified by the construct arguments.
public static NotebookPage NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.