Home | Trees | Index | Help |
|
---|
Package wx :: Package lib :: Module filebrowsebutton :: Class FileBrowseButton |
|
object
--+ |Object
--+ |EvtHandler
--+ |Window
--+ |Panel
--+ | FileBrowseButton
DirBrowseButton
,
FileBrowseButtonWithHistory
A control to allow the user to type in a filename or browse with the standard file dialog to select file
Method Summary | |
---|---|
| |
Create the browse-button control | |
Setup the graphic representation of the dialog | |
Create the label/caption | |
Create the text control | |
Convenient enabling/disabling of entire control | |
Retrieve the label's current text | |
retrieve current value of text control | |
Going to browse for file... | |
OnChanged(self,
evt)
| |
SetBackgroundColour(self,
color)
| |
Set the label's current text | |
set current value of text control |
Property Summary |
---|
Instance Method Details |
---|
__init__(self,
parent,
id=-1,
pos=wx.Point(-1, -1),
size=wx.Size(-1, -1),
style=524288,
labelText='File Entry:',
buttonText='Browse',
toolTip='Type filename or click browse to choose file',
dialogTitle='Choose a file',
startDirectory='.',
initialValue='',
fileMask='*.*',
fileMode=1,
changeCallback=<function <lambda> at 0xb58d809c>,
labelWidth=0)
|
createBrowseButton(self)Create the browse-button control |
createDialog(self, parent, id, pos, size, style)Setup the graphic representation of the dialog |
createLabel(self)Create the label/caption |
createTextControl(self)Create the text control |
Enable(self, value)Convenient enabling/disabling of entire control
|
GetLabel(self)Retrieve the label's current text
|
GetValue(self)retrieve current value of text control |
OnBrowse(self, event=None)Going to browse for file... |
SetLabel(self, value)Set the label's current text
|
SetValue(self, value, callBack=1)set current value of text control |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:07:52 2007 | http://epydoc.sf.net |