GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Table of Contents
  • wx.WindowIDRef
  • Show Source
  • index
  • modules
  • next
  • previous
  • Home
  • Gallery
  • wx

This view

  • Original page
  • New address

GeezerVison is showing docs.wxpython.org — wx.WindowIDRef — wxPython 4.3.2 Docs

phoenix_title 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 Class Hierarchy¶

Inheritance diagram for class WindowIDRef:

Inheritance diagram of WindowIDRef


method_summary Methods Summary¶

__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__

__index__

See __int__

__int__

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

__le__

__lt__

__ne__

__repr__


property_summary Properties Summary¶

Id

See GetId

Value

See GetValue


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

overload 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

© Copyright 2012-2026, The wxPython Team. Created using Sphinx 9.1.0 and the python-docs-theme.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.