gi-gtk-3.0.11: Gtk bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.StackSidebar

Contents

Description

A GtkStackSidebar enables you to quickly and easily provide a consistent "sidebar" object for your user interface.

In order to use a GtkStackSidebar, you simply use a GtkStack to organize your UI flow, and add the sidebar to your sidebar area. You can use stackSidebarSetStack to connect the StackSidebar to the Stack.

CSS nodes

GtkStackSidebar has a single CSS node with name stacksidebar and style class .sidebar.

When circumstances require it, GtkStackSidebar adds the .needs-attention style class to the widgets representing the stack pages.

Synopsis

Exported types

Methods

getStack

stackSidebarGetStack Source #

Arguments

:: (HasCallStack, MonadIO m, IsStackSidebar a) 
=> a

sidebar: a StackSidebar

-> m (Maybe Stack)

Returns: the associated Stack or Nothing if none has been set explicitly

Retrieves the stack. See stackSidebarSetStack.

Since: 3.16

new

stackSidebarNew Source #

Arguments

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

Returns: the new StackSidebar

Creates a new sidebar.

Since: 3.16

setStack

stackSidebarSetStack Source #

Arguments

:: (HasCallStack, MonadIO m, IsStackSidebar a, IsStack b) 
=> a

sidebar: a StackSidebar

-> b

stack: a Stack

-> m () 

Set the Stack associated with this StackSidebar.

The sidebar widget will automatically update according to the order (packing) and items within the given Stack.

Since: 3.16

Properties

stack

data StackSidebarStackPropertyInfo Source #

Instances

AttrInfo StackSidebarStackPropertyInfo Source # 
type AttrOrigin StackSidebarStackPropertyInfo Source # 
type AttrLabel StackSidebarStackPropertyInfo Source # 
type AttrGetType StackSidebarStackPropertyInfo Source # 
type AttrBaseTypeConstraint StackSidebarStackPropertyInfo Source # 
type AttrSetTypeConstraint StackSidebarStackPropertyInfo Source # 
type AttrAllowedOps StackSidebarStackPropertyInfo Source #