Skip to content

Add haskell-gi/gi-gtk backend #252

@subterfugue

Description

@subterfugue

GTK2 has unfortunately been long abandoned, and gtk2 windows look very out of place. Even programs like GIMP have migrated off of it. And the package we use for the GTK3 backend has incomplete bindings. Here's what the package itself says:

For all new application development you should consider using haskell-gi as it has much more complete bindings. Cairo and WebKitGTK JavaScriptCore do not have GObject introspection data so you will still need to use the Gtk2Hs packages for those (even when using haskell-gi for everything else).

GTK4 has also been released, and only haskell-gi/gi-gtk has support for it. It will be viable to add such a backend, and maybe even deprecate the other ones in the future, because gi-gtk's interface for gtk3 is much better, and as i said before, gtk2 has long been deprecated and abandoned.

Furthermore, after this addition, it would also be helpful to add documentation in the wiki about the gtk backends for interactive plot creation.

Related to #241

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions