Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: NotebookPage

[12:7] extends: object

An auxiliary object used by GtkNotebook.

Members

  • handleObj
  • lib
  • retainedCallbacks
  • signalHandlerNames
  • signalSetterHandlers

Methods

  • NotebookPage (Handle = null)

    Creates a new NotebookPage by wrapping a native handle or another wrapper.

    • @p Handle is the native handle or another wrapper whose handle to adopt.
  • 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 exposing handle(), or null. Returns null when the argument carries no pointer.

    • @p Source is the raw handle, raw buffer, wrapper, or null.
    • @r A raw pointer carrier or null when no pointer is present.
  • getLib ()

    Returns the opened native library for this generated wrapper.

    • @r The opened native library.
  • handle ()

    Returns the wrapped NativeHandle.

    • @r The wrapped NativeHandle.
  • isNull ()

    Returns true when the wrapped handle is null.

    • @r A bool.
  • describe ()

    Returns a small string for debugging generated wrappers.

    • @r A string.
  • asObject ()

    Wraps this handle as Object.

    • @r A Object object.
  • getProperty (string Name)

    Reads one generated property by name.

  • setProperty (string Name, Value)

    Writes one generated property by name.

  • setDetachable (bool Value)

    Whether the tab is detachable.

    • @p Value is the new property value.
    • @r None.
  • setMenulabel (string Value)

    The text of the menu widget.

    • @p Value is the new property value.
    • @r None.
  • setPosition (int Value)

    The index of the child in the parent.

    • @p Value is the new property value.
    • @r None.
  • setReorderable (bool Value)

    Whether the tab is reorderable by user action.

    • @p Value is the new property value.
    • @r None.
  • setTabexpand (bool Value)

    Whether to expand the child's tab.

    • @p Value is the new property value.
    • @r None.
  • setTabfill (bool Value)

    Whether the child's tab should fill the allocated area.

    • @p Value is the new property value.
    • @r None.
  • setTablabel (string Value)

    The text of the tab widget.

    • @p Value is the new property value.
    • @r None.
  • get_child ()

    Returns the notebook child to which @page belongs.

class: NotebookPageMeta

[224:14] static extends: object

Generated metadata helpers for NotebookPage class surfaces.

Methods

  • properties ()

    Returns property metadata for NotebookPage.

    • @r A list.