Re: GtkBuilder Public API - Last call
- From: Johan Dahlin <johan gnome org>
- To: Morten Welinder <mwelinder gmail com>
- 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 11:05:05 -0300
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.
Johan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]