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

[ graphics, lgpl, library ] [ Propose Tags ] [ Report a vulnerability ]

This is the core library of the Gtk2Hs suite of libraries for Haskell based on Gtk+. Gtk+ is an extensive and mature multi-platform toolkit for creating graphical user interfaces.

Modules

[Last Documentation]

  • Graphics
    • UI
      • Graphics.UI.Gtk
        • Abstract
          • Graphics.UI.Gtk.Abstract.Bin
          • Graphics.UI.Gtk.Abstract.Box
          • Graphics.UI.Gtk.Abstract.ButtonBox
          • Graphics.UI.Gtk.Abstract.Container
          • Graphics.UI.Gtk.Abstract.IMContext
          • Graphics.UI.Gtk.Abstract.Misc
          • Graphics.UI.Gtk.Abstract.Object
          • Graphics.UI.Gtk.Abstract.Paned
          • Graphics.UI.Gtk.Abstract.Range
          • Graphics.UI.Gtk.Abstract.Scale
          • Graphics.UI.Gtk.Abstract.Scrollbar
          • Graphics.UI.Gtk.Abstract.Separator
          • Graphics.UI.Gtk.Abstract.Widget
        • ActionMenuToolbar
          • Graphics.UI.Gtk.ActionMenuToolbar.Action
          • Graphics.UI.Gtk.ActionMenuToolbar.ActionGroup
          • Graphics.UI.Gtk.ActionMenuToolbar.RadioAction
          • Graphics.UI.Gtk.ActionMenuToolbar.RecentAction
          • Graphics.UI.Gtk.ActionMenuToolbar.ToggleAction
          • Graphics.UI.Gtk.ActionMenuToolbar.UIManager
        • Graphics.UI.Gtk.Builder
        • Buttons
          • Graphics.UI.Gtk.Buttons.Button
          • Graphics.UI.Gtk.Buttons.CheckButton
          • Graphics.UI.Gtk.Buttons.LinkButton
          • Graphics.UI.Gtk.Buttons.RadioButton
          • Graphics.UI.Gtk.Buttons.ScaleButton
          • Graphics.UI.Gtk.Buttons.ToggleButton
          • Graphics.UI.Gtk.Buttons.VolumeButton
        • Graphics.UI.Gtk.Cairo
        • Display
          • Graphics.UI.Gtk.Display.AccelLabel
          • Graphics.UI.Gtk.Display.Image
          • Graphics.UI.Gtk.Display.InfoBar
          • Graphics.UI.Gtk.Display.Label
          • Graphics.UI.Gtk.Display.ProgressBar
          • Graphics.UI.Gtk.Display.Spinner
          • Graphics.UI.Gtk.Display.StatusIcon
          • Graphics.UI.Gtk.Display.Statusbar
        • Embedding
          • Graphics.UI.Gtk.Embedding.Embedding
          • Graphics.UI.Gtk.Embedding.Plug
          • Graphics.UI.Gtk.Embedding.Socket
          • Graphics.UI.Gtk.Embedding.Types
        • Entry
          • Graphics.UI.Gtk.Entry.Editable
          • Graphics.UI.Gtk.Entry.Entry
          • Graphics.UI.Gtk.Entry.EntryBuffer
          • Graphics.UI.Gtk.Entry.EntryCompletion
          • Graphics.UI.Gtk.Entry.HScale
          • Graphics.UI.Gtk.Entry.SpinButton
          • Graphics.UI.Gtk.Entry.VScale
        • Gdk
          • Graphics.UI.Gtk.Gdk.AppLaunchContext
          • Graphics.UI.Gtk.Gdk.Cursor
          • Graphics.UI.Gtk.Gdk.Display
          • Graphics.UI.Gtk.Gdk.DisplayManager
          • Graphics.UI.Gtk.Gdk.DrawWindow
          • Graphics.UI.Gtk.Gdk.Drawable
          • Graphics.UI.Gtk.Gdk.EventM
          • Graphics.UI.Gtk.Gdk.Events
          • Graphics.UI.Gtk.Gdk.GC
          • Graphics.UI.Gtk.Gdk.Gdk
          • Graphics.UI.Gtk.Gdk.Keymap
          • Graphics.UI.Gtk.Gdk.Keys
          • Graphics.UI.Gtk.Gdk.Pixbuf
          • Graphics.UI.Gtk.Gdk.PixbufAnimation
          • Graphics.UI.Gtk.Gdk.Pixmap
          • Graphics.UI.Gtk.Gdk.Region
          • Graphics.UI.Gtk.Gdk.Screen
        • General
          • Graphics.UI.Gtk.General.Clipboard
          • Graphics.UI.Gtk.General.Drag
          • Graphics.UI.Gtk.General.Enums
          • Graphics.UI.Gtk.General.General
          • Graphics.UI.Gtk.General.IconFactory
          • Graphics.UI.Gtk.General.IconTheme
          • Graphics.UI.Gtk.General.RcStyle
          • Graphics.UI.Gtk.General.Selection
          • Graphics.UI.Gtk.General.Settings
          • Graphics.UI.Gtk.General.StockItems
          • Graphics.UI.Gtk.General.Style
        • Layout
          • Graphics.UI.Gtk.Layout.Alignment
          • Graphics.UI.Gtk.Layout.AspectFrame
          • Graphics.UI.Gtk.Layout.Expander
          • Graphics.UI.Gtk.Layout.Fixed
          • Graphics.UI.Gtk.Layout.HBox
          • Graphics.UI.Gtk.Layout.HButtonBox
          • Graphics.UI.Gtk.Layout.HPaned
          • Graphics.UI.Gtk.Layout.Layout
          • Graphics.UI.Gtk.Layout.Notebook
          • Graphics.UI.Gtk.Layout.Table
          • Graphics.UI.Gtk.Layout.VBox
          • Graphics.UI.Gtk.Layout.VButtonBox
          • Graphics.UI.Gtk.Layout.VPaned
        • MenuComboToolbar
          • Graphics.UI.Gtk.MenuComboToolbar.CheckMenuItem
          • Graphics.UI.Gtk.MenuComboToolbar.Combo
          • Graphics.UI.Gtk.MenuComboToolbar.ComboBox
          • Graphics.UI.Gtk.MenuComboToolbar.ComboBoxEntry
          • Graphics.UI.Gtk.MenuComboToolbar.ImageMenuItem
          • Graphics.UI.Gtk.MenuComboToolbar.Menu
          • Graphics.UI.Gtk.MenuComboToolbar.MenuBar
          • Graphics.UI.Gtk.MenuComboToolbar.MenuItem
          • Graphics.UI.Gtk.MenuComboToolbar.MenuShell
          • Graphics.UI.Gtk.MenuComboToolbar.MenuToolButton
          • Graphics.UI.Gtk.MenuComboToolbar.OptionMenu
          • Graphics.UI.Gtk.MenuComboToolbar.RadioMenuItem
          • Graphics.UI.Gtk.MenuComboToolbar.RadioToolButton
          • Graphics.UI.Gtk.MenuComboToolbar.SeparatorMenuItem
          • Graphics.UI.Gtk.MenuComboToolbar.SeparatorToolItem
          • Graphics.UI.Gtk.MenuComboToolbar.TearoffMenuItem
          • Graphics.UI.Gtk.MenuComboToolbar.ToggleToolButton
          • Graphics.UI.Gtk.MenuComboToolbar.ToolButton
          • Graphics.UI.Gtk.MenuComboToolbar.ToolItem
          • Graphics.UI.Gtk.MenuComboToolbar.ToolItemGroup
          • Graphics.UI.Gtk.MenuComboToolbar.ToolPalette
          • Graphics.UI.Gtk.MenuComboToolbar.Toolbar
        • Misc
          • Graphics.UI.Gtk.Misc.Accessible
          • Graphics.UI.Gtk.Misc.Adjustment
          • Graphics.UI.Gtk.Misc.Arrow
          • Graphics.UI.Gtk.Misc.Calendar
          • Graphics.UI.Gtk.Misc.DrawingArea
          • Graphics.UI.Gtk.Misc.EventBox
          • Graphics.UI.Gtk.Misc.HandleBox
          • Graphics.UI.Gtk.Misc.IMContextSimple
          • Graphics.UI.Gtk.Misc.IMMulticontext
          • Graphics.UI.Gtk.Misc.SizeGroup
          • Graphics.UI.Gtk.Misc.Tooltip
          • Graphics.UI.Gtk.Misc.Tooltips
          • Graphics.UI.Gtk.Misc.Viewport
        • Graphics.UI.Gtk.ModelView
          • Graphics.UI.Gtk.ModelView.CellEditable
          • Graphics.UI.Gtk.ModelView.CellLayout
          • Graphics.UI.Gtk.ModelView.CellRenderer
          • Graphics.UI.Gtk.ModelView.CellRendererAccel
          • Graphics.UI.Gtk.ModelView.CellRendererCombo
          • Graphics.UI.Gtk.ModelView.CellRendererPixbuf
          • Graphics.UI.Gtk.ModelView.CellRendererProgress
          • Graphics.UI.Gtk.ModelView.CellRendererSpin
          • Graphics.UI.Gtk.ModelView.CellRendererSpinner
          • Graphics.UI.Gtk.ModelView.CellRendererText
          • Graphics.UI.Gtk.ModelView.CellRendererToggle
          • Graphics.UI.Gtk.ModelView.CellView
          • Graphics.UI.Gtk.ModelView.CustomStore
          • Graphics.UI.Gtk.ModelView.IconView
          • Graphics.UI.Gtk.ModelView.ListStore
          • Graphics.UI.Gtk.ModelView.TreeDrag
          • Graphics.UI.Gtk.ModelView.TreeModel
          • Graphics.UI.Gtk.ModelView.TreeModelFilter
          • Graphics.UI.Gtk.ModelView.TreeModelSort
          • Graphics.UI.Gtk.ModelView.TreeRowReference
          • Graphics.UI.Gtk.ModelView.TreeSelection
          • Graphics.UI.Gtk.ModelView.TreeSortable
          • Graphics.UI.Gtk.ModelView.TreeStore
          • Graphics.UI.Gtk.ModelView.TreeView
          • Graphics.UI.Gtk.ModelView.TreeViewColumn
        • Multiline
          • Graphics.UI.Gtk.Multiline.TextBuffer
          • Graphics.UI.Gtk.Multiline.TextIter
          • Graphics.UI.Gtk.Multiline.TextMark
          • Graphics.UI.Gtk.Multiline.TextTag
          • Graphics.UI.Gtk.Multiline.TextTagTable
          • Graphics.UI.Gtk.Multiline.TextView
        • Ornaments
          • Graphics.UI.Gtk.Ornaments.Frame
          • Graphics.UI.Gtk.Ornaments.HSeparator
          • Graphics.UI.Gtk.Ornaments.VSeparator
        • Printing
          • Graphics.UI.Gtk.Printing.PageSetup
          • Graphics.UI.Gtk.Printing.PaperSize
          • Graphics.UI.Gtk.Printing.PrintContext
          • Graphics.UI.Gtk.Printing.PrintOperation
          • Graphics.UI.Gtk.Printing.PrintSettings
        • Recent
          • Graphics.UI.Gtk.Recent.RecentChooser
          • Graphics.UI.Gtk.Recent.RecentChooserMenu
          • Graphics.UI.Gtk.Recent.RecentChooserWidget
          • Graphics.UI.Gtk.Recent.RecentFilter
          • Graphics.UI.Gtk.Recent.RecentInfo
          • Graphics.UI.Gtk.Recent.RecentManager
        • Scrolling
          • Graphics.UI.Gtk.Scrolling.HScrollbar
          • Graphics.UI.Gtk.Scrolling.ScrolledWindow
          • Graphics.UI.Gtk.Scrolling.VScrollbar
        • Selectors
          • Graphics.UI.Gtk.Selectors.ColorButton
          • Graphics.UI.Gtk.Selectors.ColorSelection
          • Graphics.UI.Gtk.Selectors.ColorSelectionDialog
          • Graphics.UI.Gtk.Selectors.FileChooser
          • Graphics.UI.Gtk.Selectors.FileChooserButton
          • Graphics.UI.Gtk.Selectors.FileChooserDialog
          • Graphics.UI.Gtk.Selectors.FileChooserWidget
          • Graphics.UI.Gtk.Selectors.FileFilter
          • Graphics.UI.Gtk.Selectors.FileSelection
          • Graphics.UI.Gtk.Selectors.FontButton
          • Graphics.UI.Gtk.Selectors.FontSelection
          • Graphics.UI.Gtk.Selectors.FontSelectionDialog
          • Graphics.UI.Gtk.Selectors.HSV
        • Special
          • Graphics.UI.Gtk.Special.HRuler
          • Graphics.UI.Gtk.Special.Ruler
          • Graphics.UI.Gtk.Special.VRuler
        • Windows
          • Graphics.UI.Gtk.Windows.AboutDialog
          • Graphics.UI.Gtk.Windows.Assistant
          • Graphics.UI.Gtk.Windows.Dialog
          • Graphics.UI.Gtk.Windows.Invisible
          • Graphics.UI.Gtk.Windows.MessageDialog
          • Graphics.UI.Gtk.Windows.OffscreenWindow
          • Graphics.UI.Gtk.Windows.Window
          • Graphics.UI.Gtk.Windows.WindowGroup
      • Graphics.UI.GtkInternals

Flags

Manual Flags

NameDescriptionDefault
deprecated

Include definitions in this library that are considered obsolete.

Enabled
Automatic Flags
NameDescriptionDefault
have-gio

Depend on GIO package, thereby enabling certain features.

Enabled
have-quartz-gtk

Assume that the installed GTK is the version for OS X backend by Quartz, and hence does not provide gdk_x11_drawable_get_xid

Disabled
fmode-binary

Set the default file translation mode for file I/O operations to _O_BINARY. Some GTK libraries open image files without specifying binary mode. If you have trouble loading gtk in ghci, then it may help to turn this option off.

Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.11.0, 0.11.1, 0.11.2, 0.12.0, 0.12.1, 0.12.2, 0.12.3, 0.12.3.1, 0.12.4, 0.12.5.0, 0.12.5.1, 0.12.5.2, 0.12.5.3, 0.12.5.4, 0.12.5.5, 0.12.5.6, 0.12.5.7, 0.13.0.0, 0.13.0.1, 0.13.0.2, 0.13.0.3, 0.13.1, 0.13.2, 0.13.3, 0.13.4, 0.13.6, 0.13.7, 0.13.8, 0.13.8.1, 0.13.9, 0.14.2, 0.14.3, 0.14.4, 0.14.5, 0.14.6, 0.14.7, 0.14.9, 0.14.10, 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.15.4, 0.15.5, 0.15.7, 0.15.8, 0.15.9 (info)
Dependencies array (<0.6), base (>=4 && <5), bytestring (<0.13), cairo (>=0.13.0.0 && <0.14), containers (<0.8), gio (>=0.13.0 && <0.14), glib (>=0.13.0.0 && <0.14), mtl (<2.4), pango (>=0.13.0.0 && <0.14), text (>=0.11.0.6 && <2.2) [details]
Tested with ghc ==9.10.1, ghc ==9.8.2, ghc ==9.6.6, ghc ==9.4.8, ghc ==9.2.8, ghc ==9.0.2, ghc ==8.10.7, ghc ==8.8.4, ghc ==8.6.5, ghc ==8.4.4, ghc ==8.2.2, ghc ==8.0.2
License LGPL-2.1-only
Copyright (c) 2001-2010 The Gtk2Hs Team
Author Axel Simon, Duncan Coutts and many others
Maintainer gtk2hs-users@lists.sourceforge.net
Category Graphics
Home page http://projects.haskell.org/gtk2hs/
Bug tracker https://github.com/gtk2hs/gtk2hs/issues
Source repo head: git clone https://github.com/gtk2hs/gtk2hs(gtk)
Uploaded by HamishMackenzie at 2024-07-13T13:00:40Z
Distributions Debian:0.15.5, Fedora:0.15.8, FreeBSD:0.13.9, LTSHaskell:0.15.9, NixOS:0.15.9, Stackage:0.15.9
Reverse Dependencies 125 direct, 3673 indirect [details]
Downloads 68213 total (194 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2024-07-13 [all 2 reports]