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.ClientDataContainer
  • Show Source
  • index
  • modules
  • next
  • previous
  • Home
  • Gallery
  • wx

This view

  • Original page
  • New address

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

phoenix_title wx.ClientDataContainer¶

This class is a mixin that provides storage and management of “client data”.

This data can either be of type - in which case the data container does not take care of freeing the data again or it is of type ClientData or its derivatives. In that case the container will free the memory itself later. Note that you must not assign both data and data derived from the ClientData class to a container.

Note

This functionality is currently duplicated in wx.EvtHandler in order to avoid having more than one vtable in that class hierarchy.

See also

wx.SharedClientDataContainer, wx.EvtHandler, ClientData


class_hierarchy Class Hierarchy¶

Inheritance diagram for class ClientDataContainer:

Inheritance diagram of ClientDataContainer


sub_classes Known Subclasses¶

wx.grid.GridCellAttrProvider


method_summary Methods Summary¶

__init__

Default constructor.

GetClientData

Get a pointer to the client data object.

GetClientObject

Alias for GetClientData

SetClientData

Set the client data object.

SetClientObject

Alias for SetClientData


property_summary Properties Summary¶

ClientData

See GetClientData and SetClientData


api Class API¶

class wx.ClientDataContainer(object)¶

Possible constructors:

ClientDataContainer() -> None

This class is a mixin that provides storage and management of “client data”.


Methods¶

__init__(self)¶

Default constructor.

Return type:

None



GetClientData(self)¶

Get a pointer to the client data object.

Return type:

Any



GetClientObject(self)¶

Alias for GetClientData



SetClientData(self, data)¶

Set the client data object.

Any previous object will be deleted.

Parameters:

data (ClientData)

Return type:

None



SetClientObject(self, data)¶

Alias for SetClientData


Properties¶

ClientData¶

See GetClientData and SetClientData

© 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.