Module GradientButton :: Class GradientButtonEvent
[hide private]
[frames] | no frames]

Class GradientButtonEvent

source code

     object --+                
              |                
wx._core.Object --+            
                  |            
     wx._core.Event --+        
                      |        
  wx._core.CommandEvent --+    
                          |    
    wx._core.PyCommandEvent --+
                              |
                             GradientButtonEvent

Event sent from the Gradient buttons when the button is activated.

Instance Methods [hide private]
 
__init__(self, eventType, id)
Default class constructor.
source code
 
SetButtonObj(self, btn)
Sets the event object for the event.
source code
 
GetButtonObj(self)
Returns the object associated with this event.
source code

Inherited from wx._core.PyCommandEvent: __del__, __swig_destroy__

Inherited from wx._core.PyCommandEvent (private): _GetSelf, _SetSelf

Inherited from wx._core.CommandEvent: Checked, Clone, GetClientData, GetClientObject, GetExtraLong, GetInt, GetSelection, GetString, IsChecked, IsSelection, SetClientData, SetClientObject, SetExtraLong, SetInt, SetString

Inherited from wx._core.Event: GetEventObject, GetEventType, GetId, GetSkipped, GetTimestamp, IsCommandEvent, ResumePropagation, SetEventObject, SetEventType, SetId, SetTimestamp, ShouldPropagate, Skip, StopPropagation

Inherited from wx._core.Object: Destroy, GetClassName, IsSameAs, __repr__

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Properties [hide private]

Inherited from wx._core.PyCommandEvent: thisown

Inherited from wx._core.CommandEvent: ClientData, ClientObject, ExtraLong, Int, Selection, String

Inherited from wx._core.Event: EventObject, EventType, Id, Skipped, Timestamp

Inherited from wx._core.Object: ClassName

Inherited from object: __class__

Method Details [hide private]

__init__(self, eventType, id)
(Constructor)

source code 

Default class constructor.

Parameters:
  • eventType - the event type;
  • id - the event id.
Overrides: object.__init__

SetButtonObj(self, btn)

source code 

Sets the event object for the event.

Parameters:
  • btn - the button object.