Re: GtkBuilder Public API - Last call
- From: "Morten Welinder" <mwelinder gmail com>
- To: "Johan Dahlin" <johan gnome org>
- Cc: Tim Janik <timj gtk org>, Christian Persch <chpe gnome org>, Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: GtkBuilder Public API - Last call
- Date: Thu, 14 Jun 2007 09:54:31 -0400
user_type and user_data which I proposed doesn't make too much sense, it's
also difficult to support since you can't (AFAICT) use a GValue as user data.
It would be marginally useful for providing constant user data like...
* Strings: "oink"
* Translated strings: _("Moo!")
* Integers: GINT_TO_POINTER(12)
Having integer arguments saves you a function if you have, for example, "Up"
and "Down" buttons that are handled almost identically.
M.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]