embed notepad into a frame widget

Matt 007 at corenetworks.com.au
Tue Mar 28 09:19:19 CEST 2006


all,

trying to load an application (notepad for instance) and have it sit 
inside a Python application window. When the main window maximises or 
minimises, the (notepad) app follows.

I am pretty sure I need to use a frame widget under tkinter (win32) but 
not exactly sure how to do it.

I can make the frame but not embed notepad.

do I use something like this?


from Tkinter import *
	master = Tk()
frame = Frame(width=768, height=576, bg="", colormap="new")
	frame.pack()
video.attach_window(frame.window_id())        <--- not sure!!
mainloop()


Thanks

-Matt



More information about the Python-list mailing list