Re: Help! (Losing widget names)
- From: John Breen <locutus borg apana org au>
- To: davidgn servidor unam mx
- Cc: gtk-list gnome org
- Subject: Re: Help! (Losing widget names)
- Date: 20 Mar 2002 21:02:56 +0800
On Wed, 2002-03-20 at 20:56, David Eduardo Gomez Noguera wrote:
> On 20 Mar 2002 18:29:42 +0800
> John Breen <locutus borg apana org au> wrote:
>
> You are using glade, right?
yes
>
> Glade uses gtk_object_data_set/get on the parent GtkWindow Widget with every widget that is inside it and its name. lookup_widget is just a glade function that uses gtk_object_data_get to get the widget back. So your function should update that information too.
>
>
ok, but consider:
window1
|
+- frame1
|
+- clist1
window2
now, if i reparent frame1 to window2, so that i have
window1
window2
|
+- frame1
|
+- clist1
clist1 ALSO gets moved to window2. I don't want to have to enumerate
through all the children of frame1 setting all its childrens' names....
I Delphi/Kylix (Kylix uses QT), it doesn't lose object name
properties....
cheers,
John Breen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]