Re: Gtk widget + canvas problem
- From: "David J. Topper" <topper virginia edu>
- To: James R Eagan <eaganj bazza com>
- Cc: gnome-devel-list gnome org
- Subject: Re: Gtk widget + canvas problem
- Date: Thu, 22 Mar 2001 19:54:58 -0500
James R Eagan wrote:
> That sounds similar to a problem I was having recently with
> GnomeCanvasGroups. It turns out that moving a GnomeCanvasItem with
> gnome_canvas_item_set(item, "x", new_x, "y", new_y, NULL) is not the
> same as a gnome_canvas_item_move(item, dx, dy), so if you're using the
> first form, you might wish to try the second. If that doesn't do it,
> I'm sure someone who actually knows what they're talking about will pipe
> in ;-)
I use gnome_canvas_item_set() to position the item initially. Then I use
gnome_canvas_item_move() to move it. Basically the same methods used in
the gnome_canvas_test program that comes with the distro. I use the same
functions as in canvas_primatives.c. Seems like there's surely a bug.
DT
--
Technical Director - Virginia Center for Computer Music
http://www.people.virginia.edu/~djt7p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]