gi-gtk-4.0.5: Gtk bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gtk.Objects.OverlayLayout

Description

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.

Synopsis

Exported types

class (GObject o, IsDescendantOf OverlayLayout o) => IsOverlayLayout o Source #

Type class for types which can be safely cast to OverlayLayout, for instance with toOverlayLayout.

Instances

Instances details
(GObject o, IsDescendantOf OverlayLayout o) => IsOverlayLayout o Source # 
Instance details

Defined in GI.Gtk.Objects.OverlayLayout

toOverlayLayout :: (MonadIO m, IsOverlayLayout o) => o -> m OverlayLayout Source #

Cast to OverlayLayout, for types for which this is known to be safe. For general casts, use castTo.

Methods

new

overlayLayoutNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m OverlayLayout

Returns: the newly created instance

Creates a new GtkOverlayLayout instance.