Re: questions on gtk
- From: "David J. Topper" <topper virginia edu>
- To: sumith chitanand <sumithnc rediffmail com>
- Cc: gtk-list gnome org, tk-list gnome org
- Subject: Re: questions on gtk
- Date: Thu, 05 Jul 2001 22:47:41 -0400
sumith chitanand wrote:
> 1.i have the mouse pointer position. how do I draw a widget at this position or how can I insert text at that point?
You need to look into the Gnome or Gtk Canvas. The latter is a "hack" of the former which I actually have had better
luck with.
It gets a bit complicated, but there is an example included with both above which shows you how to draw a widget in the
canvas. You'll have to build it up from there.
If there's an easier way, I'd love to hear it.
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]