A WindowIDRef object wraps anID
value and marks it as being in-use until all references to thatID
are gone.
__init__ |
Default constructor |
GetId |
Alias for GetValue allowing the IDRef to be passed as the source parameter to wx.EvtHandler.Bind . |
GetValue |
Get the ID value |
__eq__ |
|
__ge__ |
|
__gt__ |
|
__hash__ |
|
__int__ |
Alias for GetValue allowing the IDRef to be passed as the WindowID parameter when creating widgets or etc. |
__le__ |
|
__lt__ |
|
__ne__ |
|
__repr__ |
wx.
WindowIDRef
(object)¶Possible constructors:
WindowIDRef()
WindowIDRef(id)
WindowIDRef(idref)
A WindowIDRef object wraps an ID
value and marks it as being in-use
until all references to that ID
are gone.
__init__
(self, *args, **kw)¶__init__ (self)
Default constructor
__init__ (self, id)
Create reference from an ID
Parameters: | id (int) – |
---|
__init__ (self, idref)
Copy an ID
reference
Parameters: | idref (WindowIDRef ) – |
---|
GetId
(self)¶Alias for GetValue allowing the IDRef to be passed as the source parameter to wx.EvtHandler.Bind
.
Return type: | int |
---|
GetValue
(self)¶Get the ID
value
Return type: | int |
---|
__eq__
(self, id)¶Return type: | bool |
---|
__ge__
(self, id)¶Return type: | bool |
---|
__gt__
(self, id)¶Return type: | bool |
---|
__hash__
(self)¶__int__
(self)¶Alias for GetValue allowing the IDRef to be passed as the WindowID parameter when creating widgets or etc.
Return type: | int |
---|
__le__
(self, id)¶Return type: | bool |
---|
__lt__
(self, id)¶Return type: | bool |
---|
__ne__
(self, id)¶Return type: | bool |
---|
__repr__
(self)¶