wx.WindowIDRef¶A WindowIDRef object wraps an
IDvalue and marks it as being in-use until all references to thatIDare gone.
Class Hierarchy¶
Inheritance diagram for class WindowIDRef:
Methods Summary¶Default constructor |
|
Alias for GetValue allowing the IDRef to be passed as the source parameter to |
|
Get the |
|
See |
|
Alias for GetValue allowing the IDRef to be passed as the WindowID parameter when creating widgets or other places an integer type is needed. |
|
Properties Summary¶See |
|
See |
Class API¶Possible constructors:
WindowIDRef() -> None
WindowIDRef(id) -> None
WindowIDRef(idref) -> None
A WindowIDRef object wraps an ID value and marks it as being in-use
until all references to that ID are gone.
__init__ (self)
Default constructor
None
__init__ (self, id)
Create reference from an ID
id (int)
None
__init__ (self, idref)
Copy an ID reference
idref (WindowIDRef)
None
Alias for GetValue allowing the IDRef to be passed as the source parameter to wx.EvtHandler.Bind.
int
Get the ID value
int
bool
bool
bool
Alias for GetValue allowing the IDRef to be passed as the WindowID parameter when creating widgets or other places an integer type is needed.
int
bool
bool
bool