gtk-0.14.6: Binding to the Gtk+ graphical user interface library.

Maintainergtk2hs-users@lists.sourceforge.net
Stabilityprovisional
Portabilityportable (depends on GHC)
Safe HaskellNone
LanguageHaskell98

Graphics.UI.Gtk.Abstract.Object

Contents

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

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.

Object has been removed in Gt3k, but this module still provides useful functions.

Class Hierarchy

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

Types

class GObjectClass o => ObjectClass o Source #

Instances

ObjectClass Builder Source # 
ObjectClass FileFilter Source # 
ObjectClass CellRendererProgress Source # 
ObjectClass CellRendererToggle Source # 
ObjectClass CellRendererCombo Source # 
ObjectClass CellRendererSpin Source # 
ObjectClass CellRendererAccel Source # 
ObjectClass CellRendererText Source # 
ObjectClass CellRendererPixbuf Source # 
ObjectClass CellRendererSpinner Source # 
ObjectClass CellRenderer Source # 
ObjectClass TreeViewColumn Source # 
ObjectClass Tooltips Source # 
ObjectClass IMContextSimple Source # 
ObjectClass IMMulticontext Source # 
ObjectClass IMContext Source # 
ObjectClass Adjustment Source # 
ObjectClass ProgressBar Source # 
ObjectClass Invisible Source # 
ObjectClass VSeparator Source # 
ObjectClass HSeparator Source # 
ObjectClass Separator Source # 
ObjectClass VScrollbar Source # 
ObjectClass HScrollbar Source # 
ObjectClass Scrollbar Source # 
ObjectClass VScale Source # 
ObjectClass HScale Source # 
ObjectClass Scale Source # 
ObjectClass Range Source # 
ObjectClass VRuler Source # 
ObjectClass HRuler Source # 
ObjectClass Ruler Source # 
ObjectClass SpinButton Source # 
ObjectClass Entry Source # 
ObjectClass Spinner Source # 
ObjectClass DrawingArea Source # 
ObjectClass CellView Source # 
ObjectClass Calendar Source # 
ObjectClass TreeView Source # 
ObjectClass Toolbar Source # 
ObjectClass TextView Source # 
ObjectClass Table Source # 
ObjectClass Notebook Source # 
ObjectClass MenuBar Source # 
ObjectClass RecentChooserMenu Source # 
ObjectClass Menu Source # 
ObjectClass MenuShell Source # 
ObjectClass Layout Source # 
ObjectClass IconView Source # 
ObjectClass VPaned Source # 
ObjectClass HPaned Source # 
ObjectClass Paned Source # 
ObjectClass Fixed Source # 
ObjectClass Statusbar Source # 
ObjectClass FileChooserButton Source # 
ObjectClass Combo Source # 
ObjectClass InfoBar Source # 
ObjectClass HBox Source # 
ObjectClass FileChooserWidget Source # 
ObjectClass FontSelection Source # 
ObjectClass ColorSelection Source # 
ObjectClass RecentChooserWidget Source # 
ObjectClass VBox Source # 
ObjectClass VButtonBox Source # 
ObjectClass HButtonBox Source # 
ObjectClass ButtonBox Source # 
ObjectClass Box Source # 
ObjectClass SeparatorToolItem Source # 
ObjectClass RadioToolButton Source # 
ObjectClass ToggleToolButton Source # 
ObjectClass MenuToolButton Source # 
ObjectClass ToolButton Source # 
ObjectClass ToolItem Source # 
ObjectClass ComboBoxEntry Source # 
ObjectClass ComboBox Source # 
ObjectClass Expander Source # 
ObjectClass Viewport Source # 
ObjectClass ScrolledWindow Source # 
ObjectClass HandleBox Source # 
ObjectClass EventBox Source # 
ObjectClass MessageDialog Source # 
ObjectClass FontSelectionDialog Source # 
ObjectClass FileChooserDialog Source # 
ObjectClass FileSelection Source # 
ObjectClass ColorSelectionDialog Source # 
ObjectClass AboutDialog Source # 
ObjectClass Dialog Source # 
ObjectClass OffscreenWindow Source # 
ObjectClass Assistant Source # 
ObjectClass Window Source # 
ObjectClass SeparatorMenuItem Source # 
ObjectClass ImageMenuItem Source # 
ObjectClass TearoffMenuItem Source # 
ObjectClass RadioMenuItem Source # 
ObjectClass CheckMenuItem Source # 
ObjectClass MenuItem Source # 
ObjectClass OptionMenu Source # 
ObjectClass FontButton Source # 
ObjectClass ColorButton Source # 
ObjectClass RadioButton Source # 
ObjectClass CheckButton Source # 
ObjectClass ToggleButton Source # 
ObjectClass LinkButton Source # 
ObjectClass VolumeButton Source # 
ObjectClass ScaleButton Source # 
ObjectClass Button Source # 
ObjectClass AspectFrame Source # 
ObjectClass Frame Source # 
ObjectClass Alignment Source # 
ObjectClass Bin Source # 
ObjectClass ToolItemGroup Source # 
ObjectClass ToolPalette Source # 
ObjectClass Container Source # 
ObjectClass Image Source # 
ObjectClass Arrow Source # 
ObjectClass AccelLabel Source # 
ObjectClass Label Source # 
ObjectClass Misc Source # 
ObjectClass HSV Source # 
ObjectClass Widget Source # 
ObjectClass RecentFilter Source # 
ObjectClass Object Source # 
ObjectClass Plug Source # 
ObjectClass Socket Source # 

Methods

makeNewObject :: ObjectClass obj => (ForeignPtr obj -> obj, FinalizerPtr obj) -> IO (Ptr obj) -> IO obj Source #

Weak references

type GWeakNotify = FunPtr (Ptr () -> Ptr GObject -> IO ()) Source #

objectWeakref :: ObjectClass o => o -> IO () -> IO GWeakNotify Source #

Attach a callback that will be called after the destroy hooks have been called

objectWeakunref :: ObjectClass o => o -> GWeakNotify -> IO () Source #

Detach a weak destroy callback function

Signals

objectDestroy :: ObjectClass self => Signal self (IO ()) Source #

Signals that all holders of a reference to the Object should release the reference that they hold. May result in finalization of the object if all references are released.

notifyProperty :: ObjectClass self => ReadWriteAttr self a b -> Signal self (IO ()) Source #

Register a notify callback that is triggered when the given property has been modified.

  • Note that this callback is triggered even if the actual value of the property has not changed.
  • Not all attributes are properties. A warning will be generated at runtime if the passed-in attribute is not a property of the class with which it was registered.