Re: Copying widgets
- From: Paul Davis <pbd Op Net>
- To: James Vanns <jamesv galleon co uk>
- Cc: gtk-list gnome org
- Subject: Re: Copying widgets
- Date: Wed, 16 Jan 2002 10:26:25 -0500
>This does not work either :-(
>oldclist = newclist; /* doesn't work */
>g_memmove does not work.
>gtk_widget_destory (oldlist); oldclist = newclist;
>gtk_widget_show(oldlist); /* does not work */
>
>If I have created a new Clist how am I meant to get the old list to
>point to that one? OOP (and GTK+ is object oriented, yet C based is it
>not!?) _theory_ says you can set one object to the value/address of
>another.
it does, but it doesn't say that you can use the `=' operator to do it.
>Please, no long discussions on OO theory - just an answer to the GTK+
>question. Any help on the GTK+ theory appreciated however.
there are generally no deep copy constructors for GTK+ objects.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]