Gnome canvas pixels_per_unit error?
- From: topper virginia edu
- To: gnome-devel-list gnome org, gtk-list gnome org
- Subject: Gnome canvas pixels_per_unit error?
- Date: Wed, 28 Nov 2001 11:48:57 -0500
Hi folks,
I've got a little app that packs lots of GtkWidgets into a Gnome
canvas. It works fine, except when I try to "zoom" in and out as per
the test code. All my GnomeCanvasItems zoom fine. But my GtkWidgets
don't.
This is odd, since I see the button widget in canvas_primatives() works
fine.
This is my callback, just as in the aforementioned example:
void
zoom_changed (GtkAdjustment *adj, gpointer data)
{
gtk_canvas_set_pixels_per_unit (data, adj->value);
}
Any suggestions?
Thanks,
DT
--
Technical Director - Virginia Center for Computer Music
http://www.virginia.edu/music/vccm.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]