Which GUI toolkit suits this app??

Want to discuss something with the Inkscape community that doesn't relate to Inkscape? Discuss it here.
xalan
Posts: 1
Joined: Mon Jun 08, 2009 1:55 pm

Which GUI toolkit suits this app??

Postby xalan » Mon Jun 08, 2009 2:21 pm

Hello Folks:

Before I describe my problem, I would like to give a big thanks for Inkscape, now diagrams/graphics in my papers rock! Thanks for such a wonderful tool.

I have a problem that I hope knowledgeable people on this forum might help with or direct me to more appropriate forum. My objective is to build a following application: A user will load an image file, and will interact with the image file on the canvas. The interaction may include: drawing lines, selection areas (mostly rectangles), may some curves/splines. Before it may raise any doubts, I want to state that I am no mood to fork inkscape, neither am I planning such evil things :) What I desire is a very small subset of things that inkscape does. My objective is to capture the events that user does on the canvas. For eg, if she draws a line, I want the end pixel coordinate of that line, if she draws a rectangle, then coordinates of the opposite corners etc. So I want to develop a GUI application that does those aforementioned things, and I want to build this application quickly.

My question is: what GUI toolkits are suited for my purpose? Since I want to build app quickly, performance is not primary criteria. I can use interpreted languages like python. I have heard about wxwidgets/wxpython, will that help? What is the toolkit that inkscape uses? I really like its user interface, and would like to mimic it (imitation is the best form of flattery :)) The only constraint that I have right now is that the GUI toolkit must play nice with C/C++. Since Python is extensible into C/C++, no probs.

Though I am feverishly googling this issue, I would also appreciate pointers to howto articles, pieces of code. I will be reading line/rectangle drawing code in inkscape.

Thanks.

Return to “Off topic”