Re: GtkBuilder Public API - Last call



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]