[wxPython-users] Menu icons

Saketh Bhamidipati saketh.bhamidipati at gmail.com
Sat Aug 12 17:52:44 PDT 2006


On 8/12/06, Robin Dunn <robin at alldunn.com> wrote:
>
> Saketh Bhamidipati wrote:
> > Can you give wx.Menus icons, like you can with wx.MenuItems via
> > SetBitmap? If so, how?
>
> The same way as doing it for regular menu items.  Create a wx.MenuItem,
> set the label and the bitmap, and also give the item a SubMenu and then
> append the item to its menu.
>
> --
> Robin Dunn
> Software Craftsman
> http://wxPython.org  Java give you jitters?  Relax with wxPython!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
>
> It works. Thanks, Robin!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200608=
12/eedbcab3/attachment.htm


More information about the wxpython-users mailing list