Qt vs. Gtk+ holy war Was: Steps to get to GTK+ 3.0
- Date: Thu, 5 Jun 2008 11:10:35 +0100
- From: "Alberto Ruiz" <aruiz@xxxxxxxxx>
- Subject: Qt vs. Gtk+ holy war Was: Steps to get to GTK+ 3.0
2008/6/5 Xavier Bestel <xavier.bestel@xxxxxxx>:
Good point btw.
On Thu, 2008-06-05 at 08:59 +0200, Jean-Yves Lefort wrote:
[...]
> Likewise, you can implement a class "Foo" containing an int property[...]
> "bar" using the GObject way:
>
> #define G_TYPE_FOO (g_foo_get_type())
> #define G_FOO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), G_TYPE_FOO, GFoo))
> #define G_FOO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), G_TYPE_FOO, GFooClass))
> #define G_IS_FOO(obj) (G_TYPE_CHECK_INSTANE_TYPE((obj), G_TYPE_FOO))
> #define G_IS_FOO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), G_TYPE_FOO))
> #define G_FOO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), G_TYPE_FOO, GFooClass))
>[...]
> or using the Qt way:
>
> class QFoo : public QObject
> {
> Q_OBJECT
>
> Q_PROPERTY(int bar READ bar WRITE setBar)
>The Vala way ?
> Which way do you prefer?
Good point btw.
Okay, Qt vs. Gtk+ is a very interesting topic indeed, may I ask people interested in it to change the subject so we stop adding noise to the thread? pretty please?
--
Cheers,
Alberto Ruiz
_______________________________________________ gtk-devel-list mailing list gtk-devel-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-devel-list
- Follow-Ups:
- Re: Qt vs. Gtk+ holy war Was: Steps to get to GTK+ 3.0
- From: Xavier Bestel
- Re: Qt vs. Gtk+ holy war Was: Steps to get to GTK+ 3.0
- Prev by Date: Patch biohazard report
- Next by Date: Re: Qt vs. Gtk+ holy war Was: Steps to get to GTK+ 3.0
- Previous by thread: Patch biohazard report
- Next by thread: Re: Qt vs. Gtk+ holy war Was: Steps to get to GTK+ 3.0
- Index(es):