An Introduction to Tkinter
前页 | Chapter 45. Toplevel Window Methods | 后页

# Icon Methods

## iconbitmap

`iconbitmap(bitmap)`, `iconbitmap()`. Set (get) the icon bitmap to use when this window is iconified. This method are ignored by some window managers (including Windows).

Note that this method can only be used to display monochrome icons. To display a color icon, put it in a Label widget and display it using the iconwindow method instead (see below).

## iconmask

`iconmask(bitmap)`, `iconmask()`. Set (get) the icon bitmap mask to use when this window is iconified. This method are ignored by some window managers (including Windows).

## iconname

`iconname(newName=None)`, `iconname()`. Set (get) the icon name to use when this window is iconified. This method are ignored by some window managers (including Windows).

## iconposition

`iconposition(x, y)`, `iconposition()`. Set (get) the icon position hint to use when this window is iconified. This method are ignored by some window managers (including Windows).

## iconwindow

`iconwindow(window)`, `iconwindow()`. Set (get) the icon window to use as an icon when this window is iconified. This method are ignored by some window managers (including Windows).

前页 | Home | 后页
Window Geometry Methods | Up | Property Access Methods