OverlayLayout

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

GtkOverlayLayout is the layout manager used by GtkOverlay.

It places widgets as overlays on top of the main child.

This is not a reusable layout manager, since it expects its widget to be a GtkOverlay. It only listed here so that its layout properties get documented.

Constructors

Link copied to clipboard
constructor()

Creates a new GtkOverlayLayout instance.

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val gtkLayoutManagerPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val gtkOverlayLayoutPointer: <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.