Which GUI toolkit suits this app??

Post a reply

:
In an effort to prevent automatic submissions, we require that you enter both of the words displayed below into the text field underneath.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek: :tool_selector: :tool_node: :tool_tweak: :tool_zoom: :tool_rectangle: :tool_3dbox: :tool_ellipse: :tool_star: :tool_spiral: :tool_pencil: :tool_pen: :tool_calligraphic: :tool_paintbucket: :tool_text: :tool_connector: :tool_gradient: :tool_dropper:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: Which GUI toolkit suits this app??

Which GUI toolkit suits this app??

Post by 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.

Top