Re: how to remove a CanvasWidget from a canvas and put it on another canvas
- From: u07ih abdn ac uk
- To: thomas linuxpro org
- Cc: gnome-devel-list gnome org
- Subject: Re: how to remove a CanvasWidget from a canvas and put it on another canvas
- Date: Fri, 9 Jun 2000 00:14:33 +0100 (BST)
> Hi,
> is there a simplistic way to remove a CanvasWidget from a canvas that is
> being destroyed such that the actual GtkWidget can be used to create a
> CanvasWidget on another canvas?
If you do a gtk_widget_ref (widget); before destroying the canvas, then create
the new canvas, put the new canvaswidget on it, and do a gtk_widget_unref
(widget);
iain
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]