BinLayout

open class BinLayout(pointer: <Error class: unknown class><<Error class: unknown class>>) : LayoutManager

GtkBinLayout is a GtkLayoutManager subclass useful for create "bins" of widgets.

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.

Constructors

Link copied to clipboard
constructor()

Creates a new GtkBinLayout instance.

constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val gtkBinLayoutPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val gtkLayoutManagerPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun allocate(widget: Widget, width: Int, height: Int, baseline: Int)

Assigns the given @width, @height, and @baseline to a @widget, and computes the position and sizes of the children of the @widget using the layout management policy of @manager.

Link copied to clipboard

Retrieves a GtkLayoutChild instance for the GtkLayoutManager, creating one if necessary.

Link copied to clipboard

Retrieves the request mode of @manager.

Link copied to clipboard
open fun getWidget(): Widget?

Retrieves the GtkWidget using the given GtkLayoutManager.

Link copied to clipboard
open fun layoutChanged()

Queues a resize on the GtkWidget using @manager, if any.