BrotherJack
BrotherJack

Reputation: 329

What is the wxPython Equivalent to Tkinter's Tk.iconbitmap?

So I'm learning wxPython and am converting an application I wrote in python + Tk to wxPython. I'm new to the framework and have just read the getting started page on the wxPython site. I'm wondering if anyone knows off-hand the wxPython equivalent for Tk.iconbitmap so that I can put a small image on the corner of the main window?

Upvotes: 0

Views: 113

Answers (1)

Frédéric Hamidi
Frédéric Hamidi

Reputation: 263157

That would be wx.Icon.

You can use wx.TopLevelWindow.SetIcon() to apply one to your main window.

Upvotes: 1

Related Questions