[1146:7] extends: object
Generated low-level callback wrapper for GIR callback create-window.
NotebookCreatewindowCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, page, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[1644:7] extends: object
Generated low-level callback wrapper for GIR callback select-page.
NotebookSelectpageCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, move_focus, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[1076:7] extends: object
Generated low-level callback wrapper for GIR callback change-current-page.
NotebookChangecurrentpageCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, page, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[1572:7] extends: object
Generated low-level callback wrapper for GIR callback reorder-tab.
NotebookReordertabCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, direction, move_to_last, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[1430:7] extends: object
Generated low-level callback wrapper for GIR callback page-removed.
NotebookPageremovedCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, child, page_num, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[1359:7] extends: object
Generated low-level callback wrapper for GIR callback page-added.
NotebookPageaddedCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, child, page_num, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[1288:7] extends: object
Generated low-level callback wrapper for GIR callback move-focus-out.
NotebookMovefocusoutCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, direction, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[1217:7] extends: object
Generated low-level callback wrapper for GIR callback focus-tab.
NotebookFocustabCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, tab, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[1786:14] static extends: object
Generated metadata helpers for Notebook class surfaces.
properties ()
Returns property metadata for
Notebook.
A list.signals ()
Returns signal metadata for
Notebook.
A list.[1715:7] extends: object
Generated low-level callback wrapper for GIR callback switch-page.
NotebookSwitchpageCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, page, page_num, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[62:7] extends: object
Switches between children using tabs.
GtkNotebook. Among other things, you can choose
on which edge the tabs appear (see [method@Gtk.Notebook.set_tab_pos]),
whether, if there are too many tabs to fit the notebook should be made bigger
or scrolling arrows added (see [method@Gtk.Notebook.set_scrollable]), and
whether there will be a popup menu allowing the users to switch pages. (see
[method@Gtk.Notebook.popup_enable]). # GtkNotebook as GtkBuildable The
GtkNotebook implementation of the GtkBuildable interface supports placing
children into tabs by specifying “tab” as the “type” attribute of a <child>
element. Note that the content of the tab must be created before the tab can
be filled. A tab child can be specified without specifying a <child> type
attribute. To add a child widget in the notebooks action area, specify
"action-start" or “action-end” as the “type” attribute of the <child>
element. An example of a UI definition fragment with GtkNotebook: xml <object class="GtkNotebook"> <child> <object class="GtkLabel" id="notebook-content"> <property name="label">Content</property> </object> </child> <child type="tab"> <object class="GtkLabel" id="notebook-tab"> <property name="label">Tab</property> </object> </child> </object> #
Shortcuts and Gestures GtkNotebook supports the following keyboard
shortcuts: - Shift+F10 or Menu opens the
context menu. - Home moves the focus to the first tab. -
End moves the focus to the last tab. Additionally, the following
signals have default keybindings: -
[signal@Gtk.Notebook::change-current-page] - [signal@Gtk.Notebook::focus-tab]
group-name, or to new windows by handling the
::create-window signal. # Actions GtkNotebook defines a set of built-in
actions: - menu.popup opens the tabs context menu. # CSS nodes notebook ├── header.top │ ├── [<action widget>] │ ├── tabs │ │ ├── [arrow] │ │ ├── tab │ │ │ ╰── <tab label> ┊ ┊ ┊ │ │ ├── tab[.reorderable-page] │ │ │ ╰── <tab label> │ │ ╰── [arrow] │ ╰── [<action widget>] │ ╰── stack ├── <child> ┊ ╰── <child> GtkNotebook has a main CSS node with name notebook, a subnode
with name header and below that a subnode with name tabs which contains
one subnode per tab with name tab. If action widgets are present, their CSS
nodes are placed next to the tabs node. If the notebook is scrollable, CSS
nodes with name arrow are placed as first and last child of the tabs
node. The main node gets the .frame style class when the notebook has a
border (see [method@Gtk.Notebook.set_show_border]). The header node gets one
of the style class .top, .bottom, .left or .right, depending on where
the tabs are placed. For reorderable pages, the tab node gets the
.reorderable-page class. A tab node gets the .dnd style class while it
is moved with drag-and-drop. The nodes are always arranged from
left-to-right, regardless of text direction. # Accessibility GtkNotebook
uses the following roles: - [enum@Gtk.AccessibleRole.group] for the notebook
widget - [enum@Gtk.AccessibleRole.tab_list] for the list of tabs -
[enum@Gtk.AccessibleRole.tab] role for each tab -
[enum@Gtk.AccessibleRole.tab_panel] for each pageNotebook ()
Creates a new
GtkNotebookwidget with no pages.
toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.asWidget ()
Wraps this handle as
Widget.
A Widget object.asAccessible ()
Wraps this handle as
Accessible.
A Accessible object.asBuildable ()
Wraps this handle as
Buildable.
A Buildable object.asConstraintTarget ()
Wraps this handle as
ConstraintTarget.
A ConstraintTarget object.connectSignal (string Name, CallbackObj)
Connects one generated callback wrapper to a named signal.
Name is the signal name.CallbackObj is the generated callback wrapper to connect.The connected handler id.disconnectSignalHandler (int HandlerId)
Disconnects one retained signal handler id.
HandlerId is the signal handler id to disconnect.None.setOnChangecurrentpage (callback Fn, UserData = null)
Emitted when the current page should be changed. The default bindings for this signal are Ctrl+Alt+PgUp, Ctrl+Alt+PgDn, Ctrl+PgUp and Ctrl+PgDn.
Fn is the Aussom callback.Fn is called with (Notebook Self, int Page).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnCreatewindow (callback Fn, UserData = null)
The ::create-window signal is emitted when a detachable tab is dropped on the root window. A handler for this signal can create a window containing a notebook where the tab will be attached. It is also responsible for moving/resizing the window and adding the necessary properties to the notebook (e.g. the
GtkNotebook:group-name ).
Fn is the Aussom callback.Fn is called with (Notebook Self, Widget Page).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnFocustab (callback Fn, UserData = null)
Emitted when a tab should be focused.
Fn is the Aussom callback.Fn is called with (Notebook Self, string Tab).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnMovefocusout (callback Fn, UserData = null)
Emitted when focus was moved out. The default bindings for this signal are Ctrl+Tab, Ctrl+Shift+Tab, Ctrl+←, Ctrl+→, Ctrl+↑ and Ctrl+↓.
Fn is the Aussom callback.Fn is called with (Notebook Self, string Direction).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnPageadded (callback Fn, UserData = null)
the ::page-added signal is emitted in the notebook right after a page is added to the notebook.
Fn is the Aussom callback.Fn is called with (Notebook Self, Widget Child, int Page_num).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnPageremoved (callback Fn, UserData = null)
the ::page-removed signal is emitted in the notebook right after a page is removed from the notebook.
Fn is the Aussom callback.Fn is called with (Notebook Self, Widget Child, int Page_num).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnPagereordered (callback Fn, UserData = null)
the ::page-reordered signal is emitted in the notebook right after a page has been reordered.
Fn is the Aussom callback.Fn is called with (Notebook Self, Widget Child, int Page_num).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnReordertab (callback Fn, UserData = null)
Emitted when the tab should be reordered. The default bindings for this signal are Alt+Home, Alt+End, Alt+PgUp, Alt+PgDn, Alt+←, Alt+→, Alt+↑ and Alt+↓.
Fn is the Aussom callback.Fn is called with (Notebook Self, string Direction, bool Move_to_last).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnSelectpage (callback Fn, UserData = null)
Emitted when a page should be selected. The default binding for this signal is ␣.
Fn is the Aussom callback.Fn is called with (Notebook Self, bool Move_focus).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnSwitchpage (callback Fn, UserData = null)
Emitted when the user or a function changes the current page.
Fn is the Aussom callback.Fn is called with (Notebook Self, Widget Page, int Page_num).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.getProperty (string Name)
Reads one generated property by name.
setProperty (string Name, Value)
Writes one generated property by name.
setEnablepopup (bool Value)
If %TRUE, pressing the right mouse button on the notebook shows a page switching menu.
Value is the new property value.None.setGroupname (string Value)
Group name for tab drag and drop.
Value is the new property value.None.setPage (int Value)
The index of the current page.
Value is the new property value.None.setScrollable (bool Value)
If %TRUE, scroll arrows are added if there are too many pages to fit.
Value is the new property value.None.setShowborder (bool Value)
Whether the border should be shown.
Value is the new property value.None.setShowtabs (bool Value)
Whether tabs should be shown.
Value is the new property value.None.setTabpos (string Value)
Which side of the notebook holds the tabs.
Value is the new property value.None.append_page (object child, object tab_label)
Appends a page to @notebook.
child is the GtkWidget to use as the contents of the page.tab_label is the GtkWidget to be used as the label for the page, or %NULL to use the default label, “page N”.append_page_menu (object child, object tab_label, object menu_label)
Appends a page to @notebook, specifying the widget to use as the label in the popup menu.
child is the GtkWidget to use as the contents of the page.tab_label is the GtkWidget to be used as the label for the page, or %NULL to use the default label, “page N”.menu_label is the widget to use as a label for the page-switch menu, if that is enabled. If %NULL, and @tab_label is a GtkLabel or %NULL, then the menu label will be a newly created label with the same text as @tab_label; if @tab_label is not a GtkLabel, @menu_label must be specified if the page-switch menu is to be used..detach_tab (object child)
Removes the child from the notebook. This function is very similar to [method@Gtk.Notebook.remove_page], but additionally informs the notebook that the removal is happening as part of a tab DND operation, which should not be cancelled.
child is a child.None.get_action_widget (string pack_type)
Gets one of the action widgets. See [method@Gtk.Notebook.set_action_widget].
pack_type is pack type of the action widget to receive.get_current_page ()
Returns the page number of the current page.
get_group_name ()
Gets the current group name for @notebook.
get_menu_label (object child)
Retrieves the menu label widget of the page containing @child.
child is a widget contained in a page of @notebook.get_menu_label_text (object child)
Retrieves the text of the menu label for the page containing @child.
child is the child widget of a page of the notebook..get_n_pages ()
Gets the number of pages in a notebook.
get_nth_page (int page_num)
Returns the child widget contained in page number @page_num.
page_num is the index of a page in the notebook, or -1 to get the last page.get_page (object child)
Returns the
GtkNotebookPagefor @child.
child is a child of @notebook.get_pages ()
Returns a
GListModelthat contains the pages of the notebook. This can be used to keep an up-to-date view. The model also implements [iface@Gtk.SelectionModel] and can be used to track and modify the visible page.
get_scrollable ()
Returns whether the tab label area has arrows for scrolling.
get_show_border ()
Returns whether a bevel will be drawn around the notebook pages.
get_show_tabs ()
Returns whether the tabs of the notebook are shown.
get_tab_detachable (object child)
Returns whether the tab contents can be detached from @notebook.
child is a child GtkWidget.get_tab_label (object child)
Returns the tab label widget for the page @child. %NULL is returned if
is not in @notebook or if no tab label has specifically been set for @child.child is the page.get_tab_label_text (object child)
Retrieves the text of the tab label for the page containing @child.
child is a widget contained in a page of @notebook.get_tab_pos ()
Gets the edge at which the tabs are drawn.
get_tab_reorderable (object child)
Gets whether the tab can be reordered via drag and drop or not.
child is a child GtkWidget.insert_page (object child, object tab_label, int position)
Insert a page into @notebook at the given position.
child is the GtkWidget to use as the contents of the page.tab_label is the GtkWidget to be used as the label for the page, or %NULL to use the default label, “page N”.position is the index (starting at 0) at which to insert the page, or -1 to append the page after all other pages.insert_page_menu (object child, object tab_label, object menu_label, int position)
Insert a page into @notebook at the given position, specifying the widget to use as the label in the popup menu.
child is the GtkWidget to use as the contents of the page.tab_label is the GtkWidget to be used as the label for the page, or %NULL to use the default label, “page N”.menu_label is the widget to use as a label for the page-switch menu, if that is enabled. If %NULL, and @tab_label is a GtkLabel or %NULL, then the menu label will be a newly created label with the same text as @tab_label; if @tab_label is not a GtkLabel, @menu_label must be specified if the page-switch menu is to be used..position is the index (starting at 0) at which to insert the page, or -1 to append the page after all other pages..next_page ()
Switches to the next page. Nothing happens if the current page is the last page.
None.page_num (object child)
Finds the index of the page which contains the given child widget.
child is a GtkWidget.popup_disable ()
Disables the popup menu.
None.popup_enable ()
Enables the popup menu. If the user clicks with the right mouse button on the tab labels, a menu with all the pages will be popped up.
None.prepend_page (object child, object tab_label)
Prepends a page to @notebook.
child is the GtkWidget to use as the contents of the page.tab_label is the GtkWidget to be used as the label for the page, or %NULL to use the default label, “page N”.prepend_page_menu (object child, object tab_label, object menu_label)
Prepends a page to @notebook, specifying the widget to use as the label in the popup menu.
child is the GtkWidget to use as the contents of the page.tab_label is the GtkWidget to be used as the label for the page, or %NULL to use the default label, “page N”.menu_label is the widget to use as a label for the page-switch menu, if that is enabled. If %NULL, and @tab_label is a GtkLabel or %NULL, then the menu label will be a newly created label with the same text as @tab_label; if @tab_label is not a GtkLabel, @menu_label must be specified if the page-switch menu is to be used..prev_page ()
Switches to the previous page. Nothing happens if the current page is the first page.
None.remove_page (int page_num)
Removes a page from the notebook given its index in the notebook.
page_num is the index of a notebook page, starting from 0. If -1, the last page will be removed..None.reorder_child (object child, int position)
Reorders the page containing @child, so that it appears in position
If @position is greater than or equal to the number of children in the list or negative, @child will be moved to the end of the list.child is the child to move.position is the new position, or -1 to move to the end.None.set_action_widget (object widget, string pack_type)
Sets @widget as one of the action widgets. Depending on the pack type the widget will be placed before or after the tabs. You can use a
GtkBoxif you need to pack more than one widget on the same side.
widget is a GtkWidget.pack_type is pack type of the action widget.None.set_current_page (int page_num)
Switches to the page number @page_num. Note that due to historical reasons, GtkNotebook refuses to switch to a page unless the child widget is visible. Therefore, it is recommended to show child widgets before adding them to a notebook.
page_num is index of the page to switch to, starting from 0. If negative, the last page will be used. If greater than the number of pages in the notebook, nothing will be done..None.set_group_name (string group_name)
Sets a group name for @notebook. Notebooks with the same name will be able to exchange tabs via drag and drop. A notebook with a %NULL group name will not be able to exchange tabs with any other notebook.
group_name is the name of the notebook group, or %NULL to unset it.None.set_menu_label (object child, object menu_label)
Changes the menu label for the page containing @child.
child is the child widget.menu_label is the menu label, or %NULL for default.None.set_menu_label_text (object child, string menu_text)
Creates a new label and sets it as the menu label of @child.
child is the child widget.menu_text is the label text.None.set_scrollable (bool scrollable)
Sets whether the tab label area will have arrows for scrolling if there are too many tabs to fit in the area.
scrollable is %TRUE if scroll arrows should be added.None.set_show_border (bool show_border)
Sets whether a bevel will be drawn around the notebook pages. This only has a visual effect when the tabs are not shown.
show_border is %TRUE if a bevel should be drawn around the notebook.None.set_show_tabs (bool show_tabs)
Sets whether to show the tabs for the notebook or not.
show_tabs is %TRUE if the tabs should be shown.None.set_tab_detachable (object child, bool detachable)
Sets whether the tab can be detached from @notebook to another notebook or widget. Note that two notebooks must share a common group identifier (see [method@Gtk.Notebook.set_group_name]) to allow automatic tabs interchange between them. If you want a widget to interact with a notebook through DnD (i.e.: accept dragged tabs from it) it must be set as a drop destination by adding to it a [class@Gtk.DropTarget] controller that accepts the GType
GTK_TYPE_NOTEBOOK_PAGE. The:valueof said drop target will be preloaded with a [class@Gtk.NotebookPage] object that corresponds to the dropped tab, so you can process the value via::acceptor::dropsignals. Note that you should use [method@Gtk.Notebook.detach_tab] instead of [method@Gtk.Notebook.remove_page] if you want to remove the tab from the source notebook as part of accepting a drop. Otherwise, the source notebook will think that the dragged tab was removed from underneath the ongoing drag operation, and will initiate a drag cancel animation.c static void on_drag_data_received (GtkWidget *widget, GdkDrop *drop, GtkSelectionData *data, guint time, gpointer user_data) { GtkDrag *drag; GtkWidget *notebook; GtkWidget **child; drag = gtk_drop_get_drag (drop); notebook = g_object_get_data (drag, "gtk-notebook-drag-origin"); child = (void*) gtk_selection_data_get_data (data); // process_widget (*child); gtk_notebook_detach_tab (GTK_NOTEBOOK (notebook), *child); }If you want a notebook to accept drags from other widgets, you will have to set your own DnD code to do it.
child is a child GtkWidget.detachable is whether the tab is detachable or not.None.set_tab_label (object child, object tab_label)
Changes the tab label for @child. If %NULL is specified for @tab_label, then the page will have the label “page N”.
child is the page.tab_label is the tab label widget to use, or %NULL for default tab label.None.set_tab_label_text (object child, string tab_text)
Creates a new label and sets it as the tab label for the page containing
child is the page.tab_text is the label text.None.set_tab_pos (string pos)
Sets the edge at which the tabs are drawn.
pos is the edge to draw the tabs at.None.set_tab_reorderable (object child, bool reorderable)
Sets whether the notebook tab can be reordered via drag and drop or not.
child is a child GtkWidget.reorderable is whether the tab is reorderable or not.None.pages ()
Returns
get_pagesas an Aussom list of wrapper objects. This companion method materializes the full collection up front; useget_pages()when lazy or change-notify access is required.
An Aussom list of elements.[1501:7] extends: object
Generated low-level callback wrapper for GIR callback page-reordered.
NotebookPagereorderedCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, child, page_num, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.