Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: BinLayout

[16:7] extends: object

A layout manager for widgets with a single child. GtkBinLayout will stack each child of a widget on top of each other, using the [property@Gtk.Widget:hexpand], [property@Gtk.Widget:vexpand], [property@Gtk.Widget:halign], and [property@Gtk.Widget:valign] properties of each child to determine where they should be positioned.

Members

  • handleObj
  • lib
  • retainedCallbacks
  • signalHandlerNames
  • signalSetterHandlers

Methods

  • BinLayout ()

    Creates a new GtkBinLayout instance.

  • 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.
  • asLayoutManager ()

    Wraps this handle as LayoutManager.

    • @r A LayoutManager object.