importing a tcl/tk widget

Laura Creighton lac at strakt.com
Tue Nov 6 07:34:28 EST 2001


create_window(x0, y0, window=your_favourite_widget, options ...)
doesn't work for you?

see: http://www.pythonware.com/library/tkinter/introduction/canvas-window.htm

does it work if you embed your widget in a frame, and then embed that
frame in the canvas?

Or do you want to put arbitrary tcl code in your canvas?

Laura Creighton

>Hi All,
>  I wanted to know if anyone knew of a way to import a tcl/tk widget
>into a Tkinter canvas widget.  I know that you can write a Tkinter
>wrapper function but I don't really know how to do this.  If anyone
>can help, and/or point me to a good website/book that would be great
>thanks.




More information about the Python-list mailing list