You are not logged in.

#1 2008-09-11 01:39:55

ironbug
Member
Registered: 2007-11-04
Posts: 19

choosing the right gui toolkit for project (python)

for you pythonistas out there:

part of the program im working on requires a specific text box widget: i need to be able to highlight text in the box and create a custom right-click menu that will use the highlighted text as input to whatever functions are in the menu.  this might be very basic, i dunno... i've never messed around with gui stuff before.  a point in the right direction would be greatly appreciated.

i was thinking about just using tkinter because it's cross platform and seems simple, but i really only need to develop this software for windows if you have better reccomendations in light of that.

thanks.

Offline

#2 2008-09-11 01:50:59

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: choosing the right gui toolkit for project (python)

I'm gonna go with wxpython, you can copy paste some of their tutorial code (its an actual interactive app) to get your boilerplate going and then add the context sensitive menu from there. Its not too hard, and you should be able to use a normal text box, you won't need the STC (styled text control, based on scintilla).

Any toolkit will do what you need.

Dusty

Offline

#3 2008-09-11 02:54:05

ironbug
Member
Registered: 2007-11-04
Posts: 19

Re: choosing the right gui toolkit for project (python)

thanks a million

Offline

Board footer

Powered by FluxBB