Graphics.UI.Gtk.Layout.HBox

gtk3-0.14.5: Binding to the Gtk+ 3 graphical user interface library

Maintainer | gtk2hs-users@lists.sourceforge.net
Stability | provisional
Portability | portable (depends on GHC)
Safe Haskell | None
Language | Haskell98

Graphics.UI.Gtk.Layout.HBox

Contents

- Detail
- Class Hierarchy
- Types
- Constructors

Description

A horizontal container box

Synopsis

- data HBox
- class BoxClass o => HBoxClass o
- castToHBox :: GObjectClass obj => obj -> HBox
- gTypeHBox :: GType
- toHBox :: HBoxClass o => o -> HBox
- hBoxNew :: Bool -> Int -> IO HBox

# Detail

`HBox` is a container that organizes child widgets into a single row.

Use the `Box` packing interface to determine the arrangement, spacing, width, and alignment of `HBox` children.

All children are allocated the same height.

# Class Hierarchy

    | GObject
    | +----Object
    | +----Widget
    | +----Container
    | +----Box
    | +----HBox
    | +----Combo
    | +----FileChooserButton
    | +----Statusbar

# Types

data HBox #

Instances

Eq HBox # |
Methods (==) :: HBox -> HBox -> Bool # (/=) :: HBox -> HBox -> Bool #
Ord HBox # |
Methods compare :: HBox -> HBox -> Ordering # (<) :: HBox -> HBox -> Bool # (<=) :: HBox -> HBox -> Bool # (>) :: HBox -> HBox -> Bool # (>=) :: HBox -> HBox -> Bool # max :: HBox -> HBox -> HBox # min :: HBox -> HBox -> HBox #
GObjectClass HBox # |
Methods toGObject :: HBox -> GObject # unsafeCastGObject :: GObject -> HBox #
HBoxClass HBox # |
BoxClass HBox # |
ContainerClass HBox # |
WidgetClass HBox # |

class BoxClass o => HBoxClass o #

Instances

HBoxClass Statusbar # |
HBoxClass FileChooserButton # |
HBoxClass InfoBar # |
HBoxClass HBox # |

castToHBox :: GObjectClass obj => obj -> HBox #

gTypeHBox :: GType #

toHBox :: HBoxClass o => o -> HBox #

# Constructors

hBoxNew #

Arguments

:: Bool | `homogeneous` - `True` if all children are to be given equal space allotments.
-> Int | `spacing` - the number of pixels to place by default between children.
-> IO HBox |

Creates a new `HBox`.