Re: GtkBuilder Public API - Last call
- From: Johan Dahlin <johan gnome org>
- To: Johan Dahlin <johan gnome org>
- Cc: Tim Janik <timj gtk org>, Christian Persch <chpe gnome org>, Morten Welinder <mwelinder gmail com>, Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: GtkBuilder Public API - Last call
- Date: Fri, 15 Jun 2007 15:18:13 -0300
Johan Dahlin wrote:
> Morten Welinder wrote:
>>> 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.
>
> Right, useful but not a blocker IMO.
>
> I'll open a bug to add support for this after landing the initial version of
> GtkBuilder.
Filed as;
http://bugzilla.gnome.org/show_bug.cgi?id=447972
Johan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]