ChinaUnix.net
相关文章推荐:

vfp internet transfer controls 60

我想请问现下使用vfp的人还多么/ vfp还有用处吗?会不会受到欢迎!!!

by lazycat1982 - IT职业生涯 - 2003-08-30 22:20:24 阅读(732) 回复(2)

相关讨论

import wx import wx.media import os ID_Load = wx.NewId() ID_Play = wx.NewId() class Frame(wx.Frame): def __init__( self, parent=None, id=wx.ID_ANY, title='MediaCtrl', pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE ): wx.Frame.__init__(self, parent, id, title, pos, size, style) menuBar = wx.MenuBar() fileMenu = ...

by wxPhoenix - Python文档中心 - 2007-04-28 16:03:45 阅读(741) 回复(0)

overview = """\ The Editor class implements a simple text editor using wxPython. You can create a custom editor by subclassing Editor. Even though much of the editor is implemented in Python, it runs surprisingly smoothly on normal hardware with small files. """ import wx class Frame(wx.Frame): ID_Hello = wx.NewId() def __init__( self, parent=None, id=wx.ID_ANY, title='wx....

by wxPhoenix - Python文档中心 - 2007-04-19 19:03:47 阅读(666) 回复(0)

import wx class Frame(wx.Frame): def __init__( self, parent=None, id=wx.ID_ANY, title='ListBox', pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE ): wx.Frame.__init__(self, parent, id, title, pos, size, style) self.SetIcon(wx.Icon('wxWidgets.ico', wx.BITMAP_TYPE_ICO)) Panel = wx.Panel(self, wx.ID_ANY) wx.StaticText(Panel, wx.ID_ANY, 'Select One:', (...

by wxPhoenix - Python文档中心 - 2007-04-19 19:03:01 阅读(577) 回复(0)

overview = """\ This is a control that simulates an LED clock display. It only accepts numeric input. """ import wx import wx.gizmos import time class Frame(wx.Frame): def __init__( self, parent=None, id=wx.ID_ANY, title='wx.lib.LEDNumberCtrl', pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE ): wx.Frame.__init__(self, parent, id, title, pos...

by wxPhoenix - Python文档中心 - 2007-04-19 19:01:25 阅读(653) 回复(0)

import wx import wx.grid class Frame(wx.Frame): def __init__( self, parent=None, id=-1, title='wx.grid.Grid', pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE ): wx.Frame.__init__(self, parent, id, title, pos, size, style) self.SetIcon(wx.Icon('wxWidgets.ico', wx.BITMAP_TYPE_ICO)) self.CreateStatusBar() self.Grid = wx.grid.Grid(self, -1) self.Grid.C...

by wxPhoenix - Python文档中心 - 2007-04-19 18:59:37 阅读(767) 回复(0)

Overview = """\ A Gauge is a horizontal or vertical bar which shows a quantity in a graphical fashion. It is often used to indicate progress through lengthy tasks, such as file copying or data analysis. When the Gauge is initialized, it's "complete" value is usually set; at any rate, before using the Gauge, the maximum value of the control must be set. As the task progresses, the Gauge is updat...

by wxPhoenix - Python文档中心 - 2007-04-19 18:58:29 阅读(664) 回复(0)

overview = """\ The Editor class implements a simple text editor using wxPython. You can create a custom editor by subclassing Editor. Even though much of the editor is implemented in Python, it runs surprisingly smoothly on normal hardware with small files. """ import wx import wx.lib.editor class Frame(wx.Frame): def __init__( self, parent=None, id=wx.ID_ANY, title='wx.li...

by wxPhoenix - Python文档中心 - 2007-04-19 18:57:17 阅读(644) 回复(0)

Overview = """\ A ComboBox is like a combination of an edit control and a listbox. It can be displayed as static list with editable or read-only text field; or a drop-down list with text field; or a drop-down list without a text field. Normally, ComboBox have be created for read-only controls. Meanwhile it can be dynamically created (that is, it is initially empty but then we 'grow' it out of...

by wxPhoenix - Python文档中心 - 2007-04-19 18:56:21 阅读(733) 回复(0)

Overview = """\ A Choice control is used to select one of a list of strings. Unlike a listbox, only the current selection is visible until the user pulls down the menu of choices. This demo illustrates how to set up the Choice control and how to extract the selected choice once it is selected. Note that the syntax of the constructor is different than the C++ implementation. The number of cho...

by wxPhoenix - Python文档中心 - 2007-04-19 18:55:03 阅读(657) 回复(0)

Overview = """\ A checklistbox is like a Listbox, but allows items to be checked or unchecked rather than relying on extended selection (e.g. shift-select) to select multiple items in the list. This class is currently implemented under Windows and GTK. """ import wx class Frame(wx.Frame): def __init__( self, parent, id=-1, title='CheckListBox', pos=wx.DefaultPosition, size=wx.DefaultS...

by wxPhoenix - Python文档中心 - 2007-04-19 18:54:04 阅读(917) 回复(0)