View Full Version : Working with motif...counting and displaying coordinates when button clicked

May 7th, 2007, 08:08 PM
Hi everyone...
I m really green...well more then green i m completely new to Motif development, and i have a task of making a program that draws circles...

The thing i managed to do till now is that i created a main window and a drawing area...the problem i now have is to display coordinates of my clicks to that drawing area...and saving that values to some sort of int variables...i think if get that to work i think i can draw circles with XDrawArc() function...but i have some problems doing that so if someone could please help me with that problem.

thank you for your help!

I already posted this topic here... http://ubuntuforums.org/showthread.php?t=435553 , so if admin might delete it cos i hate re-posting...and its not a way to go...

Well thanx everyone for your help!