artproviderexample.plug-in.py

来自「boa-constructor 基于wxPython and Python 的G」· Python 代码 · 共 12 行

PY
12
字号
# Important: This file should be placed in the Plug-ins directory if you want 
#            it to execute

import wx
import PaletteStore

import ArtProviderExample

# register art ids for use at design-time
PaletteStore.artProviderArtIds.extend(ArtProviderExample.ART_IDS)
# install the art provider in the IDE global environment
wx.ArtProvider.PushProvider(ArtProviderExample.ArtProviderExample())

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?