gi-gtk-declarative-0.6.3: Declarative GTK+ programming in Haskell

Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Declarative.Container.Notebook

Contents

Description

Implementation of Notebook as a declarative container.

Synopsis

Documentation

data Page event Source #

Describes a page to be added to a Notebook

page :: Text -> Widget event -> Page event Source #

Create a page with a textual label and an arbitrary content widget.

pageWithTab :: Widget event -> Widget event -> Page event Source #

Create a page with arbitrary widgets for both label and content.

notebook :: Vector (Attribute Notebook event) -> Vector (Page event) -> Widget event Source #

Create a Notebook by combining multiple pages.

Orphan instances

IsContainer Notebook Widget Source # 
Instance details

Methods

appendChild :: Notebook -> Widget event -> Widget0 -> IO () Source #

replaceChild :: Notebook -> Widget event -> Int32 -> Widget0 -> Widget0 -> IO () Source #

ToChildren Notebook Vector Widget Source # 
Instance details