|
Depends on your GUI toolkit and
widget.
For instance, in wxPython's wx.BitmapButton widget, there's a specific method to set the bitmap, and then the underlying C++ code interfaces with the GDI portion of the Win32 API and draws it for you. I'm not too sure about Tkinter, but I assume
it's the same way.
With regards to games, I suggest you check out www.pygame.org, instead of trying to use a GUI framework as it makes basic game development very simple, whereas a GUI framework doesn't. Especially with adding images to shapes on screen. Regards, Liam
Clarke-Hutchinson| Contact Centre
Advisor| Ministry of Economic Development
A new monthly electronic newsletter covering all aspects of MED's work is now available. Subscribers can choose to receive news from any or all of seven categories, free of charge: Growth and Innovation, Strategic Directions, Energy and Resources, Business News, ICT, Consumer Issues and Tourism. See http://news.business.govt.nz for more details.
govt.nz - connecting you to New
Zealand central & local government services
|
_______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
