Yasushi Shoji wrote:
>
> hello,
>
> I think the problem I have is kind of same thing as the Gnome dialog
> which showed up on this list a while ago.
>
> My problem with Gtk::Dialog is that Dialog:action_area is under the
> Dialog:vbox in glade xml.
>
> the hierarchy might be right internally, but you can't access
> Dialog:action_area easily from Dialog:vbox. OTOH, you can access
> Dialog:action_area from GtkDialog using action_area method.
>
> So my question is that why did glade choose to use internal
> representation on its xml, even though GtkDialog, or all compound
> widget for that matter, creates its child.
I just thought it would be better if Glade used the real widget
hierarchy when it saved the XML. Maybe that was the wrong decision.
I don't know.
> changing hierarchy brakes backward compatibility, but... can we at
> least think about this again?
>
> or is it just too late to be changed?
I'd rather not change it now, unless there is a major problem with it.
To access Dialog:action_area from Dialog:vbox why don't you just
get the parent of the Dialog:vbox, i.e. the GtkDialog, and then use the
action_area method?
Damon
+---------------------------------------------------------------------+
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the line "unsubscribe glade-devel" in the body of the message.