Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: GridLayoutChild

[12:7] extends: object

GtkLayoutChild subclass for children in a GtkGridLayout.

Members

  • handleObj
  • lib
  • retainedCallbacks
  • signalHandlerNames
  • signalSetterHandlers

Methods

  • GridLayoutChild (Handle = null)

    Creates a new GridLayoutChild 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.
  • asLayoutChild ()

    Wraps this handle as LayoutChild.

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

    Reads one generated property by name.

  • setProperty (string Name, Value)

    Writes one generated property by name.

  • setColumn (int Value)

    The column to place the child in.

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

    The number of columns the child spans to.

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

    The row to place the child in.

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

    The number of rows the child spans to.

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

    Retrieves the column number to which @child attaches its left side.

  • get_column_span ()

    Retrieves the number of columns that @child spans to.

  • get_row ()

    Retrieves the row number to which @child attaches its top side.

  • get_row_span ()

    Retrieves the number of rows that @child spans to.

  • set_column (int column)

    Sets the column number to attach the left side of @child.

    • @p column is the attach point for @child.
    • @r None.
  • set_column_span (int span)

    Sets the number of columns @child spans to.

    • @p span is the span of @child.
    • @r None.
  • set_row (int row)

    Sets the row to place @child in.

    • @p row is the row for @child.
    • @r None.
  • set_row_span (int span)

    Sets the number of rows @child spans to.

    • @p span is the span of @child.
    • @r None.

class: GridLayoutChildMeta

[245:14] static extends: object

Generated metadata helpers for GridLayoutChild class surfaces.

Methods

  • properties ()

    Returns property metadata for GridLayoutChild.

    • @r A list.