> > extension mode, just as the Gimp.  To be more specific: In our program
> > the pen's cursor should be restricted to the programs main window.  It
> > should not be possible to move it over the enitre screen.  The program

No workaround needed.  In the Gimp, mapping the tablet (or part of it) to
just
the drawing area is no problem.  So, I assume that mapping the tabled (or
part of it) to just a window with buttons also should be no problem.


From what you said before, "it should not be possible to move it over the
entire screen", I thought you don't want to move the cursor outside of the
window. If cursor can still move outside of the window, it is not a screen
mapping issue.  You can follow what Gimp or tkxinput did.

The program
> > should display an array of buttons, and when the user clicks on a
> > button, something should happen.

> In your program, open your buttons window when tools
> (Wacom stylus or mouse) are in that area.

Could you be a bit more specific?  How would you realize this buttons
menu?


After reading your first email again, I think my previous assumption was
wrong for this question as well.  Looks like your array of butons is not
related to tablet.  If you only need buttons in your application, adding
them to your application window should do the work.

My suggestion was to associate the buttons window to tablet data, i.e., open
the window when the tool is in a defined tablet area which is outside of
your main application area; close it when it is out.

Using tkxinput as a starting point isn't a bad idea. If you have any
specific questions related to tkxinput, please email us.

Ping
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Linuxwacom-discuss mailing list
Linuxwacom-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss

Reply via email to