Home | Trees | Index | Help |
|
---|
Package wx :: Class MenuBar |
|
object
--+ |Object
--+ |EvtHandler
--+ |Window
--+ | MenuBar
Method Summary | |
---|---|
Window |
Construct and show a generic Window. |
__repr__(self)
| |
bool | Append(self,
menu,
title)
|
Attach(self,
frame)
| |
Check(self,
id,
check)
| |
Detach(self)
| |
bool |
Enable or disable the window for user input. |
EnableTop(self,
pos,
enable)
| |
MenuItem | FindItemById(self,
id)
|
int | FindMenu(self,
title)
|
int | FindMenuItem(self,
menu,
item)
|
wxFrame | GetFrame(self)
|
String | GetHelpString(self,
id)
|
String |
Generic way of getting a label from any window, for identification purposes. |
String | GetLabelTop(self,
pos)
|
Menu | GetMenu(self,
pos)
|
size_t | GetMenuCount(self)
|
bool | Insert(self,
pos,
menu,
title)
|
bool | IsAttached(self)
|
bool | IsChecked(self,
id)
|
bool |
Returns true if the window is enabled for input, false otherwise. |
bool | IsEnabledTop(self,
pos)
|
Menu | Remove(self,
pos)
|
Menu | Replace(self,
pos,
menu,
title)
|
SetHelpString(self,
id,
helpString)
| |
Set the text which the window shows in its label if applicable. | |
SetLabelTop(self,
pos,
label)
|
Instance Method Details |
---|
__init__(self,
style=0)
Construct and show a generic Window. |
Enable(self, id, enable)Enable or disable the window for user input. Note that when a parent window is disabled, all of its children are disabled as well and they are reenabled again when the parent is. Returns true if the window has been enabled or disabled, false if nothing was done, i.e. if the window had already been in the specified state.
|
GetLabel(self, id)Generic way of getting a label from any window, for identification purposes. The interpretation of this function differs from class to class. For frames and dialogs, the value returned is the title. For buttons or static text controls, it is the button text. This function can be useful for meta-programs such as testing tools or special-needs access programs)which need to identify windows by name.
|
IsEnabled(self, id)Returns true if the window is enabled for input, false otherwise.
|
SetLabel(self, id, label)Set the text which the window shows in its label if applicable.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20040428.rpd on Tue Apr 26 14:25:00 2005 | http://epydoc.sf.net |