| Gtk2Hs | Contents | Index

Graphics.UI.Gtk.Abstract.Object

Portability | portable (depends on GHC)
Stability | provisional
Maintainer | gtk2hs-users@lists.sourceforge.net

Contents

Detail
Class Hierarchy
Types
Methods

Description

The base class of the Gtk+ type hierarchy.

- Each widget is a represented as a purely abstract data type. It can only be accessed through and the special access functions that are defined in each widget file.

Synopsis

data Object
class GObjectClass o => ObjectClass o
castToObject :: GObjectClass obj => obj -> Object
toObject :: ObjectClass o => o -> Object
makeNewObject :: ObjectClass obj => (ForeignPtr obj -> obj) -> IO (Ptr obj) -> IO obj

Detail
`Object` is the base class for all widgets, and for a few non-widget objects such as `Adjustment`. `Object` predates `GObject`; non-widgets that derive from `Object` rather than `GObject` do so for backward compatibility reasons.
Class Hierarchy

     |  GObject
     |   +----Object
     |         +----Widget
     |         +----Adjustment
     |         +----CellRenderer
     |         +----FileFilter
     |         +----ItemFactory
     |         +----Tooltips
     |         +----TreeViewColumn

Types
data Object

Instances

GObjectClass Object
ObjectClass Object

class GObjectClass o => ObjectClass o

Instances

ObjectClass FileFilter
ObjectClass CellRendererProgress
ObjectClass CellRendererToggle
ObjectClass CellRendererCombo
ObjectClass CellRendererText
ObjectClass CellRendererPixbuf
ObjectClass CellRenderer
ObjectClass TreeViewColumn
ObjectClass Tooltips
ObjectClass ItemFactory
ObjectClass IMMulticontext
ObjectClass IMContext
ObjectClass Adjustment
ObjectClass ProgressBar
ObjectClass Preview
ObjectClass Invisible
ObjectClass VSeparator
ObjectClass HSeparator
ObjectClass Separator
ObjectClass VScrollbar
ObjectClass HScrollbar
ObjectClass Scrollbar
ObjectClass VScale
ObjectClass HScale
ObjectClass Scale
ObjectClass Range
ObjectClass VRuler
ObjectClass HRuler
ObjectClass Ruler
ObjectClass SpinButton
ObjectClass Entry
ObjectClass DrawingArea
ObjectClass CellView
ObjectClass Calendar
ObjectClass TreeView
ObjectClass Toolbar
ObjectClass TextView
ObjectClass Table
ObjectClass Socket
ObjectClass Notebook
ObjectClass MenuBar
ObjectClass Menu
ObjectClass MenuShell
ObjectClass List
ObjectClass Layout
ObjectClass IconView
ObjectClass VPaned
ObjectClass HPaned
ObjectClass Paned
ObjectClass Fixed
ObjectClass CTree
ObjectClass CList
ObjectClass Statusbar
ObjectClass FileChooserButton
ObjectClass Combo
ObjectClass HBox
ObjectClass FileChooserWidget
ObjectClass FontSelection
ObjectClass ColorSelection
ObjectClass VBox
ObjectClass VButtonBox
ObjectClass HButtonBox
ObjectClass ButtonBox
ObjectClass Box
ObjectClass SeparatorToolItem
ObjectClass RadioToolButton
ObjectClass ToggleToolButton
ObjectClass MenuToolButton
ObjectClass ToolButton
ObjectClass ToolItem
ObjectClass ComboBoxEntry
ObjectClass ComboBox
ObjectClass Expander
ObjectClass Viewport
ObjectClass ScrolledWindow
ObjectClass HandleBox
ObjectClass EventBox
ObjectClass Plug
ObjectClass MessageDialog
ObjectClass InputDialog
ObjectClass FontSelectionDialog
ObjectClass FileChooserDialog
ObjectClass FileSelection
ObjectClass ColorSelectionDialog
ObjectClass AboutDialog
ObjectClass Dialog
ObjectClass Window
ObjectClass ListItem
ObjectClass SeparatorMenuItem
ObjectClass ImageMenuItem
ObjectClass TearoffMenuItem
ObjectClass RadioMenuItem
ObjectClass CheckMenuItem
ObjectClass MenuItem
ObjectClass Item
ObjectClass OptionMenu
ObjectClass FontButton
ObjectClass ColorButton
ObjectClass RadioButton
ObjectClass CheckButton
ObjectClass ToggleButton
ObjectClass Button
ObjectClass AspectFrame
ObjectClass Frame
ObjectClass Alignment
ObjectClass Bin
ObjectClass Container
ObjectClass Image
ObjectClass Arrow
ObjectClass TipsQuery
ObjectClass AccelLabel
ObjectClass Label
ObjectClass Misc
ObjectClass Widget
ObjectClass Object
ObjectClass SourceView
ObjectClass MozEmbed
ObjectClass GLDrawingArea

castToObject :: GObjectClass obj => obj -> Object
toObject :: ObjectClass o => o -> Object
Methods
makeNewObject :: ObjectClass obj => (ForeignPtr obj -> obj) -> IO (Ptr obj) -> IO obj
Produced by Haddock version 2.4.2