Name

HandleBox —

* This file reflects the Gtk object hierarchy in terms of Haskell classes. -

Synopsis

newtype
        AccelLabel
newtype
        Adjustment
newtype
        Alignment
newtype
        Arrow
newtype
        AspectFrame
newtype
        Bin
newtype
        Box
newtype
        Button
newtype
        ButtonBox
newtype
        CList
newtype
        CTree
newtype
        Calendar
newtype
        CellRenderer
newtype
        CellRendererPixbuf
newtype
        CellRendererText
newtype
        CellRendererToggle
newtype
        CheckButton
newtype
        CheckMenuItem
newtype
        ColorSelection
newtype
        ColorSelectionDialog
newtype
        Colormap
newtype
        Combo
newtype
        Container
newtype
        Curve
newtype
        Dialog
newtype
        DragContext
newtype
        DrawWindow
newtype
        Drawable
newtype
        DrawingArea
newtype
        Entry
newtype
        EventBox
newtype
        FileSelection
newtype
        Fixed
newtype
        Font
newtype
        FontFace
newtype
        FontFamiliy
newtype
        FontMap
newtype
        FontSelection
newtype
        FontSelectionDialog
newtype
        FontSet
newtype
        Frame
newtype
        GC
newtype
        GObject
newtype
        GammaCurve
newtype
        HBox
newtype
        HButtonBox
newtype
        HPaned
newtype
        HRuler
newtype
        HScale
newtype
        HScrollbar
newtype
        HSeparator
newtype
        HandleBox
newtype
        IMContext
newtype
        IMMulticontext
newtype
        IconFactory
newtype
        Image
newtype
        ImageMenuItem
newtype
        InputDialog
newtype
        Invisible
newtype
        Item
newtype
        ItemFactory
newtype
        Label
newtype
        Layout
newtype
        List
newtype
        ListItem
newtype
        ListStore
newtype
        Menu
newtype
        MenuBar
newtype
        MenuItem
newtype
        MenuShell
newtype
        MessageDialog
newtype
        Misc
newtype
        Notebook
newtype
        Object
newtype
        OptionMenu
newtype
        Paned
newtype
        PangoContext
newtype
        PangoLayout
newtype
        Pixbuf
newtype
        Pixmap
newtype
        Plug
newtype
        Preview
newtype
        ProgressBar
newtype
        RadioButton
newtype
        RadioMenuItem
newtype
        Range
newtype
        Ruler
newtype
        Scale
newtype
        Scrollbar
newtype
        ScrolledWindow
newtype
        Separator
newtype
        Settings
newtype
        Socket
newtype
        SpinButton
newtype
        Statusbar
newtype
        Style
newtype
        Table
newtype
        TearoffMenuItem
newtype
        TextBuffer
newtype
        TextChildAnchor
newtype
        TextMark
newtype
        TextTag
newtype
        TextTagTable
newtype
        TextView
newtype
        TipsQuery
newtype
        ToggleButton
newtype
        Toolbar
newtype
        Tooltips
newtype
        TreeModel
newtype
        TreeModelSort
newtype
        TreeSelection
newtype
        TreeStore
newtype
        TreeView
newtype
        TreeViewColumn
newtype
        VBox
newtype
        VButtonBox
newtype
        VPaned
newtype
        VRuler
newtype
        VScale
newtype
        VScrollbar
newtype
        VSeparator
newtype
        Viewport
newtype
        Widget
newtype
        Window
handleBoxNew:: IO HandleBox
handleBoxSetHandlePosition:: HandleBoxClass hb => hb -> PositionType -> IO ()
handleBoxSetShadowType:: HandleBoxClass hb => hb -> ShadowType -> IO ()
handleBoxSetSnapEdge:: HandleBoxClass hb => hb -> PositionType -> IO ()
onChildAttached:: HandleBoxClass hb => hb -> IO () -> IO (ConnectId hb)
onChildDetached:: HandleBoxClass hb => hb -> IO () -> IO (ConnectId hb)

Introduction

-

Datatypes

newtype AccelLabel

newtype AccelLabel =AccelLabel (ForeignPtr (AccelLabel))

newtype Adjustment

newtype Adjustment =Adjustment (ForeignPtr (Adjustment))

newtype Alignment

newtype Alignment =Alignment (ForeignPtr (Alignment))

newtype Arrow

newtype Arrow =Arrow (ForeignPtr (Arrow))

newtype AspectFrame

newtype AspectFrame =AspectFrame (ForeignPtr (AspectFrame))

newtype Bin

newtype Bin =Bin (ForeignPtr (Bin))

newtype Box

newtype Box =Box (ForeignPtr (Box))

newtype Button

button number button number

newtype Button =Button (ForeignPtr (Button))

newtype ButtonBox

newtype ButtonBox =ButtonBox (ForeignPtr (ButtonBox))

newtype CList

newtype CList =CList (ForeignPtr (CList))

newtype CTree

newtype CTree =CTree (ForeignPtr (CTree))

newtype Calendar

newtype Calendar =Calendar (ForeignPtr (Calendar))

newtype CellRenderer

newtype CellRenderer =CellRenderer (ForeignPtr (CellRenderer))

newtype CellRendererPixbuf

newtype CellRendererPixbuf =CellRendererPixbuf (ForeignPtr (CellRendererPixbuf))

newtype CellRendererText

newtype CellRendererText =CellRendererText (ForeignPtr (CellRendererText))

newtype CellRendererToggle

newtype CellRendererToggle =CellRendererToggle (ForeignPtr (CellRendererToggle))

newtype CheckButton

newtype CheckButton =CheckButton (ForeignPtr (CheckButton))

newtype CheckMenuItem

newtype CheckMenuItem =CheckMenuItem (ForeignPtr (CheckMenuItem))

newtype ColorSelection

newtype ColorSelection =ColorSelection (ForeignPtr (ColorSelection))

newtype ColorSelectionDialog

newtype ColorSelectionDialog =ColorSelectionDialog (ForeignPtr (ColorSelectionDialog))

newtype Colormap

newtype Colormap =Colormap (ForeignPtr (Colormap))

newtype Combo

newtype Combo =Combo (ForeignPtr (Combo))

newtype Container

newtype Container =Container (ForeignPtr (Container))

newtype Curve

newtype Curve =Curve (ForeignPtr (Curve))

newtype Dialog

newtype Dialog =Dialog (ForeignPtr (Dialog))

newtype DragContext

newtype DragContext =DragContext (ForeignPtr (DragContext))

newtype DrawWindow

newtype DrawWindow =DrawWindow (ForeignPtr (DrawWindow))

newtype Drawable

newtype Drawable =Drawable (ForeignPtr (Drawable))

newtype DrawingArea

newtype DrawingArea =DrawingArea (ForeignPtr (DrawingArea))

newtype Entry

newtype Entry =Entry (ForeignPtr (Entry))

newtype EventBox

newtype EventBox =EventBox (ForeignPtr (EventBox))

newtype FileSelection

newtype FileSelection =FileSelection (ForeignPtr (FileSelection))

newtype Fixed

newtype Fixed =Fixed (ForeignPtr (Fixed))

newtype Font

newtype Font =Font (ForeignPtr (Font))

newtype FontFace

newtype FontFace =FontFace (ForeignPtr (FontFace))

newtype FontFamiliy

newtype FontFamiliy =FontFamiliy (ForeignPtr (FontFamiliy))

newtype FontMap

newtype FontMap =FontMap (ForeignPtr (FontMap))

newtype FontSelection

newtype FontSelection =FontSelection (ForeignPtr (FontSelection))

newtype FontSelectionDialog

newtype FontSelectionDialog =FontSelectionDialog (ForeignPtr (FontSelectionDialog))

newtype FontSet

newtype FontSet =FontSet (ForeignPtr (FontSet))

newtype Frame

newtype Frame =Frame (ForeignPtr (Frame))

newtype GC

newtype GC =GC (ForeignPtr (GC))

newtype GObject

newtype GObject =GObject (ForeignPtr (GObject))

newtype GammaCurve

newtype GammaCurve =GammaCurve (ForeignPtr (GammaCurve))

newtype HBox

newtype HBox =HBox (ForeignPtr (HBox))

newtype HButtonBox

newtype HButtonBox =HButtonBox (ForeignPtr (HButtonBox))

newtype HPaned

newtype HPaned =HPaned (ForeignPtr (HPaned))

newtype HRuler

newtype HRuler =HRuler (ForeignPtr (HRuler))

newtype HScale

newtype HScale =HScale (ForeignPtr (HScale))

newtype HScrollbar

newtype HScrollbar =HScrollbar (ForeignPtr (HScrollbar))

newtype HSeparator

newtype HSeparator =HSeparator (ForeignPtr (HSeparator))

newtype HandleBox

newtype HandleBox =HandleBox (ForeignPtr (HandleBox))

newtype IMContext

newtype IMContext =IMContext (ForeignPtr (IMContext))

newtype IMMulticontext

newtype IMMulticontext =IMMulticontext (ForeignPtr (IMMulticontext))

newtype IconFactory

newtype IconFactory =IconFactory (ForeignPtr (IconFactory))

newtype Image

newtype Image =Image (ForeignPtr (Image))

newtype ImageMenuItem

newtype ImageMenuItem =ImageMenuItem (ForeignPtr (ImageMenuItem))

newtype InputDialog

newtype InputDialog =InputDialog (ForeignPtr (InputDialog))

newtype Invisible

newtype Invisible =Invisible (ForeignPtr (Invisible))

newtype Item

newtype Item =Item (ForeignPtr (Item))

newtype ItemFactory

newtype ItemFactory =ItemFactory (ForeignPtr (ItemFactory))

newtype Label

newtype Label =Label (ForeignPtr (Label))

newtype Layout

newtype Layout =Layout (ForeignPtr (Layout))

newtype List

newtype List =List (ForeignPtr (List))

newtype ListItem

newtype ListItem =ListItem (ForeignPtr (ListItem))

newtype ListStore

newtype ListStore =ListStore (ForeignPtr (ListStore))

newtype Menu

newtype Menu =Menu (ForeignPtr (Menu))

newtype MenuBar

newtype MenuBar =MenuBar (ForeignPtr (MenuBar))

newtype MenuItem

newtype MenuItem =MenuItem (ForeignPtr (MenuItem))

newtype MenuShell

newtype MenuShell =MenuShell (ForeignPtr (MenuShell))

newtype MessageDialog

newtype MessageDialog =MessageDialog (ForeignPtr (MessageDialog))

newtype Misc

newtype Misc =Misc (ForeignPtr (Misc))

newtype Notebook

newtype Notebook =Notebook (ForeignPtr (Notebook))

newtype Object

newtype Object =Object (ForeignPtr (Object))

newtype OptionMenu

newtype OptionMenu =OptionMenu (ForeignPtr (OptionMenu))

newtype Paned

newtype Paned =Paned (ForeignPtr (Paned))

newtype PangoContext

newtype PangoContext =PangoContext (ForeignPtr (PangoContext))

newtype PangoLayout

newtype PangoLayout =PangoLayout (ForeignPtr (PangoLayout))

newtype Pixbuf

newtype Pixbuf =Pixbuf (ForeignPtr (Pixbuf))

newtype Pixmap

newtype Pixmap =Pixmap (ForeignPtr (Pixmap))

newtype Plug

newtype Plug =Plug (ForeignPtr (Plug))

newtype Preview

newtype Preview =Preview (ForeignPtr (Preview))

newtype ProgressBar

newtype ProgressBar =ProgressBar (ForeignPtr (ProgressBar))

newtype RadioButton

newtype RadioButton =RadioButton (ForeignPtr (RadioButton))

newtype RadioMenuItem

newtype RadioMenuItem =RadioMenuItem (ForeignPtr (RadioMenuItem))

newtype Range

newtype Range =Range (ForeignPtr (Range))

newtype Ruler

newtype Ruler =Ruler (ForeignPtr (Ruler))

newtype Scale

newtype Scale =Scale (ForeignPtr (Scale))

newtype Scrollbar

newtype Scrollbar =Scrollbar (ForeignPtr (Scrollbar))

newtype ScrolledWindow

newtype ScrolledWindow =ScrolledWindow (ForeignPtr (ScrolledWindow))

newtype Separator

newtype Separator =Separator (ForeignPtr (Separator))

newtype Settings

newtype Settings =Settings (ForeignPtr (Settings))

newtype Socket

newtype Socket =Socket (ForeignPtr (Socket))

newtype SpinButton

newtype SpinButton =SpinButton (ForeignPtr (SpinButton))

newtype Statusbar

newtype Statusbar =Statusbar (ForeignPtr (Statusbar))

newtype Style

newtype Style =Style (ForeignPtr (Style))

newtype Table

newtype Table =Table (ForeignPtr (Table))

newtype TearoffMenuItem

newtype TearoffMenuItem =TearoffMenuItem (ForeignPtr (TearoffMenuItem))

newtype TextBuffer

newtype TextBuffer =TextBuffer (ForeignPtr (TextBuffer))

newtype TextChildAnchor

newtype TextChildAnchor =TextChildAnchor (ForeignPtr (TextChildAnchor))

newtype TextMark

newtype TextMark =TextMark (ForeignPtr (TextMark))

newtype TextTag

newtype TextTag =TextTag (ForeignPtr (TextTag))

newtype TextTagTable

newtype TextTagTable =TextTagTable (ForeignPtr (TextTagTable))

newtype TextView

newtype TextView =TextView (ForeignPtr (TextView))

newtype TipsQuery

newtype TipsQuery =TipsQuery (ForeignPtr (TipsQuery))

newtype ToggleButton

newtype ToggleButton =ToggleButton (ForeignPtr (ToggleButton))

newtype Toolbar

newtype Toolbar =Toolbar (ForeignPtr (Toolbar))

newtype Tooltips

newtype Tooltips =Tooltips (ForeignPtr (Tooltips))

newtype TreeModel

newtype TreeModel =TreeModel (ForeignPtr (TreeModel))

newtype TreeModelSort

newtype TreeModelSort =TreeModelSort (ForeignPtr (TreeModelSort))

newtype TreeSelection

newtype TreeSelection =TreeSelection (ForeignPtr (TreeSelection))

newtype TreeStore

newtype TreeStore =TreeStore (ForeignPtr (TreeStore))

newtype TreeView

newtype TreeView =TreeView (ForeignPtr (TreeView))

newtype TreeViewColumn

newtype TreeViewColumn =TreeViewColumn (ForeignPtr (TreeViewColumn))

newtype VBox

newtype VBox =VBox (ForeignPtr (VBox))

newtype VButtonBox

newtype VButtonBox =VButtonBox (ForeignPtr (VButtonBox))

newtype VPaned

newtype VPaned =VPaned (ForeignPtr (VPaned))

newtype VRuler

newtype VRuler =VRuler (ForeignPtr (VRuler))

newtype VScale

newtype VScale =VScale (ForeignPtr (VScale))

newtype VScrollbar

newtype VScrollbar =VScrollbar (ForeignPtr (VScrollbar))

newtype VSeparator

newtype VSeparator =VSeparator (ForeignPtr (VSeparator))

newtype Viewport

newtype Viewport =Viewport (ForeignPtr (Viewport))

newtype Widget

newtype Widget =Widget (ForeignPtr (Widget))

newtype Window

newtype Window =Window (ForeignPtr (Window))

Constructors

handleBoxNew

Create a new handle box.

handleBoxNew

Methods

handleBoxSetHandlePosition

Set the position of the handle.

handleBoxSetHandlePosition:: hb:: PositionType:: IO ()
hbpos

handleBoxSetShadowType

Set the shadow type of the detached box.

handleBoxSetShadowType:: hb:: ShadowType:: IO ()
hbshadow

handleBoxSetSnapEdge

Set the snap edge of the HandleBox.

handleBoxSetSnapEdge:: hb:: PositionType:: IO ()
hbpos

The snap edge is the edge of the detached child that must be aligned with the corresponding edge of the "ghost" left behind when the child was detached to reattach the torn-off window. Usually, the snap edge should be chosen so that it stays in the same place on the screen when the handlebox is torn off. If the snap edge is not set, then an appropriate value will be guessed from the handle position. If the handle position is PosRight or PosLeft, then the snap edge will be PosTop, otherwise it will be PosLeft.

Signals

onChildAttached

Emitted when the contents of the handlebox are reattached to the main window.

onChildAttached:: hb:: IO ():: IO (ConnectId hb)

(INTERNAL) We ignore the given Widget.

onChildDetached

Emitted when the HandleBox is detached form the main window.

onChildDetached:: hb:: IO ():: IO (ConnectId hb)