happlets-lib-gtk: The "Haskell Applets" Gtk+ ver. 2 back-end for "happlets".

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]


This packages provides the Gtk+ v2 back-end to the "happlets" GUI framework. To create a Gtk+ applet, import the Happlets.Lib.Gtk module. Happlets.Lib.Gtk re-exports the Happlets module, so you can use all of the primitives provided by the Happlets module to construct your applet. In your "main" function, launch the main event loop by passing the Happlets.Lib.Gtk.gtkHapplet function as the Provider either to the Happlets.Initialize.happlet function or to the Happlets.Initialize.simpleHapplet function.

For an example of how to program your own Happlet, run the "cabal configure" command with the "--enable-tests" flag set. This will build the Happlets.Lib.Gtk.TestSuite executable program. Refer to the source code for TestSuite to see how the application is structured.

The goal of the Happlets project is to allow you to create very simple, thread-safe applications that contain nothing more than a single window with a drawing canvas that can respond to user input events, like mouse clicks, key-presses, or frame animation events. The intention is to create a minimal programming platform for small, single-purpose graphical applications which simply displays some interactive graphic, for example a plot of some data, or a simple game. Naturally, the Happlet program can be arbitrarily complex, but it may be better to consider other, FRP-based solutions if managing events becomes too difficult.


Change log None available
Dependencies base (>=4.7 && <4.9), cairo (>= && <, diagrams-cairo (>=1.4 && <2.0), diagrams-core (>=1.4 && <2.0), diagrams-lib (>= && <, glib (>= && <, gtk (>=0.13.0 && <0.15.0), happlets (>= && <, lens (>= && <, linear (>=1.20.0 && <, mtl (>=2.2.0 && <=2.2.1), pango (>= && <, semigroups (>=0.16.0 && <0.19.0), text (>= && <=, time (>= && <= [details]
License LicenseRef-AGPL
Copyright (C) 2017-2018 Ramin Honary, all rights reserved.
Author Ramin Honary
Maintainer RaminHAL9001@gmail.com
Category GUI, Game
Home page https://github.com/RaminHAL9001/happlets-lib-gtk
Uploaded by RaminHonary at 2018-05-26T00:12:58Z



Maintainer's Corner

For package maintainers and hackage trustees