Re: Help! (Losing widget names)

2002-03-20 Thread Stephen Witkop
On Wed, 2002-03-20 at 08:34, David Eduardo Gomez Noguera wrote: > On 20 Mar 2002 21:02:56 +0800 > John Breen <[EMAIL PROTECTED]> wrote: > > > On Wed, 2002-03-20 at 20:56, David Eduardo Gomez Noguera wrote: > > > On 20 Mar 2002 18:29:42 +0800 > > > John Breen <[EMAIL PROTECTED]> wrote: > > > > >

Re: Help! (Losing widget names)

2002-03-20 Thread David Eduardo Gomez Noguera
On 20 Mar 2002 21:02:56 +0800 John Breen <[EMAIL PROTECTED]> wrote: > On Wed, 2002-03-20 at 20:56, David Eduardo Gomez Noguera wrote: > > On 20 Mar 2002 18:29:42 +0800 > > John Breen <[EMAIL PROTECTED]> wrote: > > > > You are using glade, right? > yes > > > > > Glade uses gtk_object_data_set/ge

Re: "losing" widget names

2002-03-20 Thread Paul Davis
>Ok, I got moving widgets from one container to another to work. The >gtk_widget_reparent() worked fine. > >Now, I want to ONLY create the new window (and widgets) if they don't >already exist. I've tried this: [ ... ] i've never seen any GTK+ code that uses the lookup_widget() approach. it

Re: Help! (Losing widget names)

2002-03-20 Thread John Breen
On Wed, 2002-03-20 at 20:56, David Eduardo Gomez Noguera wrote: > On 20 Mar 2002 18:29:42 +0800 > John Breen <[EMAIL PROTECTED]> 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. l

Help! (Losing widget names)

2002-03-20 Thread John Breen
I didn't get a reply to this the first time, so her goes again... Help! I have managed to get my widgets to reparent using the code snippet on the gtk+ website. That goes cool. Unfortunately, when I do reparent the widgets, they seem to lose the contents of their name field. This makes it im

"losing" widget names

2002-03-19 Thread John Breen
Ok, I got moving widgets from one container to another to work. The gtk_widget_reparent() worked fine. Now, I want to ONLY create the new window (and widgets) if they don't already exist. I've tried this: %<--- void o