Re: GtkBuilder Public API - Last call
- From: "Matthias Clasen" <matthias clasen gmail com>
- To: "Yevgen Muntyan" <muntyan tamu edu>
- Cc: Gtk+ Developers <gtk-devel-list gnome org>, Johan Dahlin <jdahlin async com br>, Christian Robottom Reis <kiko async com br>
- Subject: Re: GtkBuilder Public API - Last call
- Date: Wed, 13 Jun 2007 10:02:15 -0400
On 6/13/07, Yevgen Muntyan <muntyan tamu edu> wrote:
> Widgets which set a name in a constructor are already semi-broken
> anyway. Widget names are supposed to be an application/user feature,
> not something thats used in the implementation of a widget.
Programmers are also not supposed to set style properties. Nevertheless
it happens, and widget name is one of tools for that. It is a documented
use which shouldn't break, isn't it?
How do you draw the line between "implementation of a widget" and
"an application" part exactly? Note that what you said makes it look
like calling gtk_widget_set_name() by a widget implementation is
not supposed to happen; while doing it by GtkBuilder is indeed right
and good; is it quite logical? GtkBuilder is more a user than the widget?
GtkBuilder is just setting the name that was specified in the xml, so
it is not violating the principle that the widget name belongs to the
app/user, since
the xml is part of the app.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]