[Tutor] GUI component

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Fri Apr 23 20:56:00 EDT 2004



On Thu, 22 Apr 2004, bintang kurniawan wrote:

>  im new beginer in python laguage, and would like to now more on GUI
> programming (TK inter). my question is :


Hi Bintang,


Ah!  Ok, there's a lot of tutorials on Tkinter here:

    http://www.python.org/topics/tkinter/doc.html



> 1. how to inherrit component and add some additional function to it.


The example here:

    http://www.python.org/doc/current/lib/node633.html

shows how to inherit from a Tkinter frame; we can do the same extension to
other widgets by inheritance.



> 2. where can i find Combobox and DataGrid component? and how to install
> to the python environtment?

Those two widgets are part of an Tkinter extention called the Python
Megawidgets (PMW).  You can find the PMW here:

    http://pmw.sourceforge.net/


If you have more questions, please feel free to ask!




More information about the Tutor mailing list