Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: MultiSelection

[12:7] extends: object

A selection model that allows selecting multiple elements.

Members

  • handleObj
  • lib
  • retainedCallbacks
  • signalHandlerNames
  • signalSetterHandlers

Methods

  • MultiSelection (model = null)

    Creates a new selection to handle @model.

    • @p model is the GListModel to manage.
  • 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.
  • asListModel ()

    Wraps this handle as ListModel.

    • @r A ListModel object.
  • asSectionModel ()

    Wraps this handle as SectionModel.

    • @r A SectionModel object.
  • asSelectionModel ()

    Wraps this handle as SelectionModel.

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

    Reads one generated property by name.

  • setProperty (string Name, Value)

    Writes one generated property by name.

  • setModel (object Value)

    The list managed by this selection.

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

    Returns the underlying model of @self.

  • set_model (object model)

    Sets the model that @self should wrap. If @model is %NULL, @self will be empty.

    • @p model is A GListModel to wrap.
    • @r None.
  • model ()

    Returns get_model as an Aussom list of wrapper objects. This companion method materializes the full collection up front; use get_model() when lazy or change-notify access is required.

    • @r An Aussom list of elements.

class: MultiSelectionMeta

[202:14] static extends: object

Generated metadata helpers for MultiSelection class surfaces.

Methods

  • properties ()

    Returns property metadata for MultiSelection.

    • @r A list.