Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- toolbar.SetToolBitmapSize((24, 24))
- wx.ArtProvider.GetBitmap(wx.ART_FILE_SAVE, wx.ART_TOOLBAR, (24, 24))
- # Define the size of the icons and buttons
- iconSize = (24, 24)
- # Set the size of the buttons
- toolbar.SetToolBitmapSize(iconSize)
- # Add some button
- saveIcon = wx.ArtProvider.GetBitmap(wx.ART_FILE_SAVE, wx.ART_TOOLBAR, iconSize)
- toolBar.AddSimpleTool(1, saveIcon, "Save", "Save current file")
Add Comment
Please, Sign In to add comment