Re:Re: Would it be possible that gtk implementation in C++

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Aug 9, 2014 at 10:41 AM, 黄羽众 <ihyzi@xxxxxxx> wrote:
Another C++--, I have to say.

Many of us would consider that a complement.

Excuse for my unpolite, I can't find any point that interest me,
the highlights it describes is very common in many existing OOP language.

Yep, it's a bog-standard OOP language. The killer feature is its tight integration with GObject.

And the only point I remember is its ABI compatible with C, which also limit its language possibility.

I'm pretty sure both Vala and C are Turing-complete. :)

I think it's would rather better to spend time solving the problem like gtkmm can't provide a function like "builder.signal_connect(this)" to auto connect the signals defined in glade XML files rather than start another project to reinvent the wheel.

It sounds like you're looking for Gtk.Builder.connect_signals() [1]. It exists, but not in the gtkmm bindings. This suggests to me that the problem is C++, not GTK. There is a bug report [2], though, so jump in and get it fixed.

Robert

[1] http://references.valadoc.org/#!api=gtk+-3.0/Gtk.Builder.connect_signals
[2] https://bugzilla.gnome.org/show_bug.cgi?id=573482#c64


_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list





[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux