g_object_copy()
- From: Russell Shaw <rjshaw iprimus com au>
- To: gtk-app-devel-list gnome org
- Subject: g_object_copy()
- Date: Fri, 31 Oct 2003 22:44:05 +1100
Hi,
How do i make an independant duplicate of an item descended from g_object() ?
I have a dialog that copies an object, modifies and previews the settings
of it, then replaces the original if ok. I can't write code to do all the
deep copy, because some of the data are pointers to gdk/gtk objects.
Specifically, how do i duplicate a GdkPixmap?
If deep-copy is not implemented in Gtk/Gdk, shouldn't it be added?
It would make bindings to python which has deep-copy ability more
transparent.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]