标签:工作 npoi oop tst 文本 设置 show java main
import wx; app = wx.App(); win = wx.Frame(None,title="老穆视频",pos=(900,20),size=(300,60),style=wx.STAY_ON_TOP) win.Show(); #loadButton = wx.Button(win,label=‘Open‘,pos=(255,5),size=(80,25)); #saveButton = wx.Button(win,label=‘Save‘,pos=(315,5),size=(80,25)); #filename = wx.TextCtrl(win,pos=(5,5),size=(300,25)); richText = wx.TextCtrl(win,value="本视频由老穆工作室提供,版权所有。仿冒必究!",pos=(0,0),size=(300,60),style=wx.TE_MULTILINE | wx.HSCROLL); richText.SetInsertionPoint(0) #设置richText控件的文本样式 richText.SetStyle(2,6,wx.TextAttr("white","black")) points=richText.GetFont().GetPointSize() app.MainLoop();
标签:工作 npoi oop tst 文本 设置 show java main
原文地址:https://www.cnblogs.com/muamaker/p/9379858.html