Class Notebook
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class Notebook : Widget, IObject, INotifyPropertyChanged, IDisposable, Accessible, Buildable, ConstraintTarget, IHandle, GTypeProvider
- Inheritance
-
Notebook
- Implements
- Inherited Members
Constructors
Notebook()
public Notebook()
Notebook(params ConstructArgument[])
protected Notebook(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
Notebook(IntPtr, bool)
protected Notebook(IntPtr ptr, bool ownedRef)
Parameters
Fields
ChangeCurrentPageSignal
Signal Descriptor for OnChangeCurrentPage.
public static readonly ReturningSignal<Notebook, Notebook.ChangeCurrentPageSignalArgs, bool> ChangeCurrentPageSignal
Field Value
CreateWindowSignal
Signal Descriptor for OnCreateWindow.
public static readonly ReturningSignal<Notebook, Notebook.CreateWindowSignalArgs, Notebook?> CreateWindowSignal
Field Value
EnablePopupPropertyDefinition
public static readonly Property<bool, Notebook> EnablePopupPropertyDefinition
Field Value
FocusTabSignal
Signal Descriptor for OnFocusTab.
public static readonly ReturningSignal<Notebook, Notebook.FocusTabSignalArgs, bool> FocusTabSignal
Field Value
GroupNamePropertyDefinition
public static readonly Property<string?, Notebook> GroupNamePropertyDefinition
Field Value
MoveFocusOutSignal
Signal Descriptor for OnMoveFocusOut.
public static readonly Signal<Notebook, Notebook.MoveFocusOutSignalArgs> MoveFocusOutSignal
Field Value
PageAddedSignal
Signal Descriptor for OnPageAdded.
public static readonly Signal<Notebook, Notebook.PageAddedSignalArgs> PageAddedSignal
Field Value
PagePropertyDefinition
public static readonly Property<int, Notebook> PagePropertyDefinition
Field Value
PageRemovedSignal
Signal Descriptor for OnPageRemoved.
public static readonly Signal<Notebook, Notebook.PageRemovedSignalArgs> PageRemovedSignal
Field Value
PageReorderedSignal
Signal Descriptor for OnPageReordered.
public static readonly Signal<Notebook, Notebook.PageReorderedSignalArgs> PageReorderedSignal
Field Value
PagesPropertyDefinition
public static readonly Property<ListModel, Notebook> PagesPropertyDefinition
Field Value
ReorderTabSignal
Signal Descriptor for OnReorderTab.
public static readonly ReturningSignal<Notebook, Notebook.ReorderTabSignalArgs, bool> ReorderTabSignal
Field Value
ScrollablePropertyDefinition
public static readonly Property<bool, Notebook> ScrollablePropertyDefinition
Field Value
SelectPageSignal
Signal Descriptor for OnSelectPage.
public static readonly ReturningSignal<Notebook, Notebook.SelectPageSignalArgs, bool> SelectPageSignal
Field Value
ShowBorderPropertyDefinition
public static readonly Property<bool, Notebook> ShowBorderPropertyDefinition
Field Value
ShowTabsPropertyDefinition
public static readonly Property<bool, Notebook> ShowTabsPropertyDefinition
Field Value
SwitchPageSignal
Signal Descriptor for OnSwitchPage.
public static readonly Signal<Notebook, Notebook.SwitchPageSignalArgs> SwitchPageSignal
Field Value
TabPosPropertyDefinition
public static readonly Property<PositionType, Notebook> TabPosPropertyDefinition
Field Value
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
EnablePopup
public bool EnablePopup { get; set; }
Property Value
GroupName
public string? GroupName { get; set; }
Property Value
Page
public int Page { get; set; }
Property Value
Pages
public ListModel Pages { get; }
Property Value
Scrollable
public bool Scrollable { get; set; }
Property Value
ShowBorder
public bool ShowBorder { get; set; }
Property Value
ShowTabs
public bool ShowTabs { get; set; }
Property Value
TabPos
public PositionType TabPos { get; set; }
Property Value
Methods
Announce(string, AccessibleAnnouncementPriority)
[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)
Parameters
message
stringpriority
AccessibleAnnouncementPriority
AppendPage(Widget, Widget?)
public int AppendPage(Widget child, Widget? tabLabel)
Parameters
Returns
AppendPageMenu(Widget, Widget?, Widget?)
public int AppendPageMenu(Widget child, Widget? tabLabel, Widget? menuLabel)
Parameters
Returns
DetachTab(Widget)
public void DetachTab(Widget child)
Parameters
child
Widget
GetAccessibleParent()
[Version("4.10")]
public Accessible? GetAccessibleParent()
Returns
GetAccessibleRole()
public AccessibleRole GetAccessibleRole()
Returns
GetActionWidget(PackType)
public Widget? GetActionWidget(PackType packType)
Parameters
packType
PackType
Returns
GetAtContext()
[Version("4.10")]
public ATContext GetAtContext()
Returns
GetBounds(out int, out int, out int, out int)
[Version("4.10")]
public bool GetBounds(out int x, out int y, out int width, out int height)
Parameters
Returns
GetBuildableId()
public string? GetBuildableId()
Returns
GetCurrentPage()
public int GetCurrentPage()
Returns
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
GetGType()
public static Type GetGType()
Returns
GetGroupName()
public string? GetGroupName()
Returns
GetMenuLabel(Widget)
public Widget? GetMenuLabel(Widget child)
Parameters
child
Widget
Returns
GetMenuLabelText(Widget)
public string? GetMenuLabelText(Widget child)
Parameters
child
Widget
Returns
GetNPages()
public int GetNPages()
Returns
GetNextAccessibleSibling()
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
GetNthPage(int)
public Widget? GetNthPage(int pageNum)
Parameters
pageNum
int
Returns
GetPage(Widget)
public NotebookPage GetPage(Widget child)
Parameters
child
Widget
Returns
GetPages()
public ListModel GetPages()
Returns
GetPlatformState(AccessiblePlatformState)
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
state
AccessiblePlatformState
Returns
GetScrollable()
public bool GetScrollable()
Returns
GetShowBorder()
public bool GetShowBorder()
Returns
GetShowTabs()
public bool GetShowTabs()
Returns
GetTabDetachable(Widget)
public bool GetTabDetachable(Widget child)
Parameters
child
Widget
Returns
GetTabLabel(Widget)
public Widget? GetTabLabel(Widget child)
Parameters
child
Widget
Returns
GetTabLabelText(Widget)
public string? GetTabLabelText(Widget child)
Parameters
child
Widget
Returns
GetTabPos()
public PositionType GetTabPos()
Returns
GetTabReorderable(Widget)
public bool GetTabReorderable(Widget child)
Parameters
child
Widget
Returns
InsertPage(Widget, Widget?, int)
public int InsertPage(Widget child, Widget? tabLabel, int position)
Parameters
Returns
InsertPageMenu(Widget, Widget?, Widget?, int)
public int InsertPageMenu(Widget child, Widget? tabLabel, Widget? menuLabel, int position)
Parameters
Returns
New()
public static Notebook New()
Returns
NextPage()
public void NextPage()
PageNum(Widget)
public int PageNum(Widget child)
Parameters
child
Widget
Returns
PopupDisable()
public void PopupDisable()
PopupEnable()
public void PopupEnable()
PrependPage(Widget, Widget?)
public int PrependPage(Widget child, Widget? tabLabel)
Parameters
Returns
PrependPageMenu(Widget, Widget?, Widget?)
public int PrependPageMenu(Widget child, Widget? tabLabel, Widget? menuLabel)
Parameters
Returns
PrevPage()
public void PrevPage()
RemovePage(int)
public void RemovePage(int pageNum)
Parameters
pageNum
int
ReorderChild(Widget, int)
public void ReorderChild(Widget child, int position)
Parameters
ResetProperty(AccessibleProperty)
public void ResetProperty(AccessibleProperty property)
Parameters
property
AccessibleProperty
ResetRelation(AccessibleRelation)
public void ResetRelation(AccessibleRelation relation)
Parameters
relation
AccessibleRelation
ResetState(AccessibleState)
public void ResetState(AccessibleState state)
Parameters
state
AccessibleState
SetAccessibleParent(Accessible?, Accessible?)
[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)
Parameters
parent
AccessiblenextSibling
Accessible
SetActionWidget(Widget, PackType)
public void SetActionWidget(Widget widget, PackType packType)
Parameters
SetCurrentPage(int)
public void SetCurrentPage(int pageNum)
Parameters
pageNum
int
SetGroupName(string?)
public void SetGroupName(string? groupName)
Parameters
groupName
string
SetMenuLabel(Widget, Widget?)
public void SetMenuLabel(Widget child, Widget? menuLabel)
Parameters
SetMenuLabelText(Widget, string)
public void SetMenuLabelText(Widget child, string menuText)
Parameters
SetScrollable(bool)
public void SetScrollable(bool scrollable)
Parameters
scrollable
bool
SetShowBorder(bool)
public void SetShowBorder(bool showBorder)
Parameters
showBorder
bool
SetShowTabs(bool)
public void SetShowTabs(bool showTabs)
Parameters
showTabs
bool
SetTabDetachable(Widget, bool)
public void SetTabDetachable(Widget child, bool detachable)
Parameters
SetTabLabel(Widget, Widget?)
public void SetTabLabel(Widget child, Widget? tabLabel)
Parameters
SetTabLabelText(Widget, string)
public void SetTabLabelText(Widget child, string tabText)
Parameters
SetTabPos(PositionType)
public void SetTabPos(PositionType pos)
Parameters
pos
PositionType
SetTabReorderable(Widget, bool)
public void SetTabReorderable(Widget child, bool reorderable)
Parameters
UpdateNextAccessibleSibling(Accessible?)
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSibling
Accessible
Events
OnChangeCurrentPage
public event ReturningSignalHandler<Notebook, Notebook.ChangeCurrentPageSignalArgs, bool> OnChangeCurrentPage
Event Type
OnCreateWindow
public event ReturningSignalHandler<Notebook, Notebook.CreateWindowSignalArgs, Notebook?> OnCreateWindow
Event Type
OnFocusTab
public event ReturningSignalHandler<Notebook, Notebook.FocusTabSignalArgs, bool> OnFocusTab
Event Type
OnMoveFocusOut
public event SignalHandler<Notebook, Notebook.MoveFocusOutSignalArgs> OnMoveFocusOut
Event Type
OnPageAdded
public event SignalHandler<Notebook, Notebook.PageAddedSignalArgs> OnPageAdded
Event Type
OnPageRemoved
public event SignalHandler<Notebook, Notebook.PageRemovedSignalArgs> OnPageRemoved
Event Type
OnPageReordered
public event SignalHandler<Notebook, Notebook.PageReorderedSignalArgs> OnPageReordered
Event Type
OnReorderTab
public event ReturningSignalHandler<Notebook, Notebook.ReorderTabSignalArgs, bool> OnReorderTab
Event Type
OnSelectPage
public event ReturningSignalHandler<Notebook, Notebook.SelectPageSignalArgs, bool> OnSelectPage
Event Type
OnSwitchPage
public event SignalHandler<Notebook, Notebook.SwitchPageSignalArgs> OnSwitchPage