wxRuby Documentation Home

Wx::ClientDataContainer

This class is a mixin that provides storage and management of “client data.” This data can either be of type void – 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 void data and data derived from the ClientData class to a container.

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

See also

EvtHandler, ClientData

Derived from

No base class

Data structures

Methods

ClientDataContainer.new

destructor()

ClientDataContainer#get_client_data

get_client_data()

Get the untyped client data.

ClientDataContainer#get_client_object

ClientData get_client_object()

Get a pointer to the client data object.

ClientDataContainer#set_client_data

set_client_data((arg-type) data)

Set the untyped client data.

ClientDataContainer#set_client_object

set_client_object(ClientData data)

Set the client data object. Any previous object will be deleted.

[This page automatically generated from the Textile source at Wed Sep 09 02:21:02 +0100 2009]