A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://wxpython.org/Phoenix/docs/html/wx.WindowIDRef.html below:

wx.WindowIDRef — wxPython Phoenix 4.2.4a1 documentation

wx.WindowIDRef¶

A WindowIDRef object wraps an ID value and marks it as being in-use until all references to that ID are gone.

Class Hierarchy¶

Inheritance diagram for class

WindowIDRef

:

Methods Summary¶ Properties Summary¶ Class API¶
class wx.WindowIDRef(object)¶

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.


Methods¶
__init__(self, *args, **kw)¶

Overloaded Implementations:

__init__ (self)

Default constructor

Return type:

None

__init__ (self, id)

Create reference from an ID

Parameters:

id (int)

Return type:

None

__init__ (self, idref)

Copy an ID reference

Parameters:

idref (WindowIDRef)

Return type:

None



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)¶

__index__(self)¶

See __int__

Return type:

int


__int__(self)¶

Alias for GetValue allowing the IDRef to be passed as the WindowID parameter when creating widgets or other places an integer type is needed.

Return type:

int


__le__(self, id)¶
Return type:

bool


__lt__(self, id)¶
Return type:

bool


__ne__(self, id)¶
Return type:

bool


__repr__(self)¶

Properties¶
Id¶

See GetId


Value¶

See GetValue


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4