wxpython如何设置图标_wxPython wx.ArtProvider 可直接调用的图标 | 学步园

wx.ArtProvider,wxpython中可直接调用的图标

看wxpython的文档,有wx.ArtProvider类,内置了一些图标,包括:

* wx.ART_ADD_BOOKMARK

* wx.ART_DEL_BOOKMARK

* wx.ART_HELP_SIDE_PANEL

* wx.ART_HELP_SETTINGS

* wx.ART_HELP_BOOK

* wx.ART_HELP_FOLDER

* wx.ART_HELP_PAGE

* wx.ART_GO_BACK

* wx.ART_GO_FORWARD

* wx.ART_GO_UP

* wx.ART_GO_DOWN

* wx.ART_GO_TO_PARENT

* wx.ART_GO_HOME

* wx.ART_FILE_OPEN

* wx.ART_FILE_SAVE

* wx.ART_FILE_SAVE_AS

* wx.ART_PRINT

* wx.ART_HELP

* wx.ART_TIP

* wx.ART_REPORT_VIEW

* wx.ART_LIST_VIEW

* wx.ART_NEW_DIR

* wx.ART_HARDDISK

* wx.ART_FLOPPY

* wx.ART_CDROM

* wx.ART_REMOVABLE

* wx.ART_FOLDER

* wx.ART_FOLDER_OPEN

* wx.ART_GO_DIR_UP

* wx.ART_EXECUTABLE_FILE

* wx.ART_NORMAL_FILE

* wx.ART_TICK_MARK

* wx.ART_CROSS_MARK

* wx.ART_ERROR

* wx.ART_QUESTION

* wx.ART_WARNING

* wx.ART_INFORMATION

* wx.ART_MISSING_IMAGE

* wx.ART_COPY

* wx.ART_CUT

* wx.ART_PASTE

* wx.ART_DELETE

* wx.ART_NEW

* wx.ART_UNDO

* wx.ART_REDO

* wx.ART_QUIT

* wx.ART_FIND

* wx.ART_FIND_AND_REPLACE

不过查遍了wxPython的文档,也没见这些图标是什么样的。于是写了个程序,把图标显示出来看了看。图标虽然不多,不过基本上工具栏上常用的图标都有了。这里把图标贴出来方便使用:

图标的类型包括:

* wx.ART_TOOLBAR

* wx.ART_MENU

* wx.ART_FRAME_ICON

* wx.ART_CMN_DIALOG

* wx.ART_HELP_BROWSER

* wx.ART_MESSAGE_BOX

* wx.ART_BUTTON

* wx.ART_OTHER

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值