RE: Here is a tiny idea for a QT based GUI library
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tuesday 13 November 2001 06:18, Manuel M. T. Chakravarty wrote:
The time consuming part in creating such a system are the C bindings, not the XML stuff. In fact, similar functionality is available for GTK+ already for a long while. The cool point about it is that the graphical interface builder Glade
can generate these XML files, which you just load into your application using a library called libglade (that corresponds to the QWidgetFactory that you mention above). I guess, KDE's interface builder can do the same.
Yes, I know. I used to be a poor GTK+ coder myself. :) I'm a konvert.
The C bindings are already available, so you can just use them it seems.
The point Manuel was making is that it takes a lot of time & effort to code up the Haskell binding to the C libraries. Just having a way to load up the interface from the XML spec isn't enough - you need a complete enough binding to be able to manipulate the interface from Haskell at run time. This is not a GTK vs. Qt argument. We *have* most of a GTK+ binding and it would be a shame to divide our efforts when said efforts are in short supply. When we have one complete GUI binding, then let's think about making another one. Cheers, Simon
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Simon, On Tuesday 13 November 2001 14:47, Simon Marlow wrote:
The point Manuel was making is that it takes a lot of time & effort to code up the Haskell binding to the C libraries. Just having a way to load up the interface from the XML spec isn't enough - you need a complete enough binding to be able to manipulate the interface from Haskell at run time. This is not a GTK vs. Qt argument.
We *have* most of a GTK+ binding and it would be a shame to divide our efforts when said efforts are in short supply. When we have one complete GUI binding, then let's think about making another one.
I don't mean to divert any mindshare :) The fact is that these features have just been available, and if there are interested hackers it should now be possible to create a haskell interface for qt/kde. Previously, it wasn't possible; especially since it was too difficult to co-operate with C++ code. The C bindings is good news for those would like to call KDE functions from their haskell code. On a sidenote, the C bindings were generated with a hacked version of "kdoc", which is the C++/IDL documentation system used in KDE project. It might be possible to autogenerate haskell bindings for QT using this compiler, sort of like what gtk-- wants to achieve (but cannot ;) Thanks, - -- Eray Ozkural (exa) <erayo@cs.bilkent.edu.tr> Comp. Sci. Dept., Bilkent University, Ankara www: http://www.cs.bilkent.edu.tr/~erayo GPG public key fingerprint: 360C 852F 88B0 A745 F31B EA0F 7C07 AE16 874D 539C -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE78YFCfAeuFodNU5wRAvGGAJ0Wg6DA5rbSMMMJMCZaFfN4/b1yjQCgjmHa K7bdZ34g/b8ESsch5XaUrg0= =oHNm -----END PGP SIGNATURE-----
participants (2)
-
Eray Ozkural (exa) -
Simon Marlow