1 // This file has been generated by Py++.
2 
3 #include "boost/python.hpp"
4 #include "generators/include/python_CEGUI.h"
5 #include "ToggleButton.pypp.hpp"
6 
7 namespace bp = boost::python;
8 
9 struct ToggleButton_wrapper : CEGUI::ToggleButton, bp::wrapper< CEGUI::ToggleButton > {
10 
ToggleButton_wrapperToggleButton_wrapper11     ToggleButton_wrapper(::CEGUI::String const & type, ::CEGUI::String const & name )
12     : CEGUI::ToggleButton( boost::ref(type), boost::ref(name) )
13       , bp::wrapper< CEGUI::ToggleButton >(){
14         // constructor
15 
16     }
17 
addToggleButtonPropertiesToggleButton_wrapper18     void addToggleButtonProperties(  ){
19         CEGUI::ToggleButton::addToggleButtonProperties(  );
20     }
21 
getPostClickSelectStateToggleButton_wrapper22     virtual bool getPostClickSelectState(  ) const {
23         if( bp::override func_getPostClickSelectState = this->get_override( "getPostClickSelectState" ) )
24             return func_getPostClickSelectState(  );
25         else{
26             return this->CEGUI::ToggleButton::getPostClickSelectState(  );
27         }
28     }
29 
default_getPostClickSelectStateToggleButton_wrapper30     virtual bool default_getPostClickSelectState(  ) const {
31         return CEGUI::ToggleButton::getPostClickSelectState( );
32     }
33 
onMouseButtonUpToggleButton_wrapper34     virtual void onMouseButtonUp( ::CEGUI::MouseEventArgs & e ){
35         if( bp::override func_onMouseButtonUp = this->get_override( "onMouseButtonUp" ) )
36             func_onMouseButtonUp( boost::ref(e) );
37         else{
38             this->CEGUI::ToggleButton::onMouseButtonUp( boost::ref(e) );
39         }
40     }
41 
default_onMouseButtonUpToggleButton_wrapper42     virtual void default_onMouseButtonUp( ::CEGUI::MouseEventArgs & e ){
43         CEGUI::ToggleButton::onMouseButtonUp( boost::ref(e) );
44     }
45 
onSelectStateChangeToggleButton_wrapper46     virtual void onSelectStateChange( ::CEGUI::WindowEventArgs & e ){
47         if( bp::override func_onSelectStateChange = this->get_override( "onSelectStateChange" ) )
48             func_onSelectStateChange( boost::ref(e) );
49         else{
50             this->CEGUI::ToggleButton::onSelectStateChange( boost::ref(e) );
51         }
52     }
53 
default_onSelectStateChangeToggleButton_wrapper54     virtual void default_onSelectStateChange( ::CEGUI::WindowEventArgs & e ){
55         CEGUI::ToggleButton::onSelectStateChange( boost::ref(e) );
56     }
57 
addChild_implToggleButton_wrapper58     virtual void addChild_impl( ::CEGUI::Element * element ){
59         if( bp::override func_addChild_impl = this->get_override( "addChild_impl" ) )
60             func_addChild_impl( boost::python::ptr(element) );
61         else{
62             this->CEGUI::Window::addChild_impl( boost::python::ptr(element) );
63         }
64     }
65 
default_addChild_implToggleButton_wrapper66     virtual void default_addChild_impl( ::CEGUI::Element * element ){
67         CEGUI::Window::addChild_impl( boost::python::ptr(element) );
68     }
69 
addElementPropertiesToggleButton_wrapper70     void addElementProperties(  ){
71         CEGUI::Element::addElementProperties(  );
72     }
73 
addNamedElementPropertiesToggleButton_wrapper74     void addNamedElementProperties(  ){
75         CEGUI::NamedElement::addNamedElementProperties(  );
76     }
77 
addWindowPropertiesToggleButton_wrapper78     void addWindowProperties(  ){
79         CEGUI::Window::addWindowProperties(  );
80     }
81 
addWindowToDrawListToggleButton_wrapper82     void addWindowToDrawList( ::CEGUI::Window & wnd, bool at_back=false ){
83         CEGUI::Window::addWindowToDrawList( boost::ref(wnd), at_back );
84     }
85 
allocateRenderingWindowToggleButton_wrapper86     void allocateRenderingWindow(  ){
87         CEGUI::Window::allocateRenderingWindow(  );
88     }
89 
banPropertiesForAutoWindowToggleButton_wrapper90     virtual void banPropertiesForAutoWindow(  ){
91         if( bp::override func_banPropertiesForAutoWindow = this->get_override( "banPropertiesForAutoWindow" ) )
92             func_banPropertiesForAutoWindow(  );
93         else{
94             this->CEGUI::Window::banPropertiesForAutoWindow(  );
95         }
96     }
97 
default_banPropertiesForAutoWindowToggleButton_wrapper98     virtual void default_banPropertiesForAutoWindow(  ){
99         CEGUI::Window::banPropertiesForAutoWindow( );
100     }
101 
beginInitialisationToggleButton_wrapper102     virtual void beginInitialisation(  ) {
103         if( bp::override func_beginInitialisation = this->get_override( "beginInitialisation" ) )
104             func_beginInitialisation(  );
105         else{
106             this->CEGUI::Window::beginInitialisation(  );
107         }
108     }
109 
default_beginInitialisationToggleButton_wrapper110     void default_beginInitialisation(  ) {
111         CEGUI::Window::beginInitialisation( );
112     }
113 
bufferGeometryToggleButton_wrapper114     void bufferGeometry( ::CEGUI::RenderingContext const & ctx ){
115         CEGUI::Window::bufferGeometry( boost::ref(ctx) );
116     }
117 
calculateCurrentHoverStateToggleButton_wrapper118     bool calculateCurrentHoverState( ::CEGUI::Vector2f const & mouse_pos ){
119         return CEGUI::ButtonBase::calculateCurrentHoverState( boost::ref(mouse_pos) );
120     }
121 
cleanupChildrenToggleButton_wrapper122     virtual void cleanupChildren(  ){
123         if( bp::override func_cleanupChildren = this->get_override( "cleanupChildren" ) )
124             func_cleanupChildren(  );
125         else{
126             this->CEGUI::Window::cleanupChildren(  );
127         }
128     }
129 
default_cleanupChildrenToggleButton_wrapper130     virtual void default_cleanupChildren(  ){
131         CEGUI::Window::cleanupChildren( );
132     }
133 
cloneChildWidgetsToToggleButton_wrapper134     virtual void cloneChildWidgetsTo( ::CEGUI::Window & target ) const  {
135         if( bp::override func_cloneChildWidgetsTo = this->get_override( "cloneChildWidgetsTo" ) )
136             func_cloneChildWidgetsTo( boost::ref(target) );
137         else{
138             this->CEGUI::Window::cloneChildWidgetsTo( boost::ref(target) );
139         }
140     }
141 
default_cloneChildWidgetsToToggleButton_wrapper142     void default_cloneChildWidgetsTo( ::CEGUI::Window & target ) const  {
143         CEGUI::Window::cloneChildWidgetsTo( boost::ref(target) );
144     }
145 
clonePropertiesToToggleButton_wrapper146     virtual void clonePropertiesTo( ::CEGUI::Window & target ) const  {
147         if( bp::override func_clonePropertiesTo = this->get_override( "clonePropertiesTo" ) )
148             func_clonePropertiesTo( boost::ref(target) );
149         else{
150             this->CEGUI::Window::clonePropertiesTo( boost::ref(target) );
151         }
152     }
153 
default_clonePropertiesToToggleButton_wrapper154     void default_clonePropertiesTo( ::CEGUI::Window & target ) const  {
155         CEGUI::Window::clonePropertiesTo( boost::ref(target) );
156     }
157 
destroyToggleButton_wrapper158     virtual void destroy(  ) {
159         if( bp::override func_destroy = this->get_override( "destroy" ) )
160             func_destroy(  );
161         else{
162             this->CEGUI::Window::destroy(  );
163         }
164     }
165 
default_destroyToggleButton_wrapper166     void default_destroy(  ) {
167         CEGUI::Window::destroy( );
168     }
169 
drawSelfToggleButton_wrapper170     virtual void drawSelf( ::CEGUI::RenderingContext const & ctx ){
171         if( bp::override func_drawSelf = this->get_override( "drawSelf" ) )
172             func_drawSelf( boost::ref(ctx) );
173         else{
174             this->CEGUI::Window::drawSelf( boost::ref(ctx) );
175         }
176     }
177 
default_drawSelfToggleButton_wrapper178     virtual void default_drawSelf( ::CEGUI::RenderingContext const & ctx ){
179         CEGUI::Window::drawSelf( boost::ref(ctx) );
180     }
181 
endInitialisationToggleButton_wrapper182     virtual void endInitialisation(  ) {
183         if( bp::override func_endInitialisation = this->get_override( "endInitialisation" ) )
184             func_endInitialisation(  );
185         else{
186             this->CEGUI::Window::endInitialisation(  );
187         }
188     }
189 
default_endInitialisationToggleButton_wrapper190     void default_endInitialisation(  ) {
191         CEGUI::Window::endInitialisation( );
192     }
193 
fireAreaChangeEventsToggleButton_wrapper194     void fireAreaChangeEvents( bool const moved, bool const sized ){
195         CEGUI::Element::fireAreaChangeEvents( moved, sized );
196     }
197 
fireEventToggleButton_wrapper198     virtual void fireEvent( ::CEGUI::String const & name, ::CEGUI::EventArgs & args, ::CEGUI::String const & eventNamespace="" ) {
199         if( bp::override func_fireEvent = this->get_override( "fireEvent" ) )
200             func_fireEvent( boost::ref(name), boost::ref(args), boost::ref(eventNamespace) );
201         else{
202             this->CEGUI::EventSet::fireEvent( boost::ref(name), boost::ref(args), boost::ref(eventNamespace) );
203         }
204     }
205 
default_fireEventToggleButton_wrapper206     void default_fireEvent( ::CEGUI::String const & name, ::CEGUI::EventArgs & args, ::CEGUI::String const & eventNamespace="" ) {
207         CEGUI::EventSet::fireEvent( boost::ref(name), boost::ref(args), boost::ref(eventNamespace) );
208     }
209 
fireEvent_implToggleButton_wrapper210     void fireEvent_impl( ::CEGUI::String const & name, ::CEGUI::EventArgs & args ){
211         CEGUI::EventSet::fireEvent_impl( boost::ref(name), boost::ref(args) );
212     }
213 
generateAutoRepeatEventToggleButton_wrapper214     void generateAutoRepeatEvent( ::CEGUI::MouseButton button ){
215         CEGUI::Window::generateAutoRepeatEvent( button );
216     }
217 
getChildByNamePath_implToggleButton_wrapper218     virtual ::CEGUI::NamedElement * getChildByNamePath_impl( ::CEGUI::String const & name_path ) const {
219         if( bp::override func_getChildByNamePath_impl = this->get_override( "getChildByNamePath_impl" ) )
220             return func_getChildByNamePath_impl( boost::ref(name_path) );
221         else{
222             return this->CEGUI::NamedElement::getChildByNamePath_impl( boost::ref(name_path) );
223         }
224     }
225 
default_getChildByNamePath_implToggleButton_wrapper226     virtual ::CEGUI::NamedElement * default_getChildByNamePath_impl( ::CEGUI::String const & name_path ) const {
227         return CEGUI::NamedElement::getChildByNamePath_impl( boost::ref(name_path) );
228     }
229 
getChildByNameRecursive_implToggleButton_wrapper230     virtual ::CEGUI::NamedElement * getChildByNameRecursive_impl( ::CEGUI::String const & name ) const {
231         if( bp::override func_getChildByNameRecursive_impl = this->get_override( "getChildByNameRecursive_impl" ) )
232             return func_getChildByNameRecursive_impl( boost::ref(name) );
233         else{
234             return this->CEGUI::NamedElement::getChildByNameRecursive_impl( boost::ref(name) );
235         }
236     }
237 
default_getChildByNameRecursive_implToggleButton_wrapper238     virtual ::CEGUI::NamedElement * default_getChildByNameRecursive_impl( ::CEGUI::String const & name ) const {
239         return CEGUI::NamedElement::getChildByNameRecursive_impl( boost::ref(name) );
240     }
241 
getHitTestRect_implToggleButton_wrapper242     virtual ::CEGUI::Rectf getHitTestRect_impl(  ) const {
243         if( bp::override func_getHitTestRect_impl = this->get_override( "getHitTestRect_impl" ) )
244             return func_getHitTestRect_impl(  );
245         else{
246             return this->CEGUI::Window::getHitTestRect_impl(  );
247         }
248     }
249 
default_getHitTestRect_implToggleButton_wrapper250     virtual ::CEGUI::Rectf default_getHitTestRect_impl(  ) const {
251         return CEGUI::Window::getHitTestRect_impl( );
252     }
253 
getInnerRectClipper_implToggleButton_wrapper254     virtual ::CEGUI::Rectf getInnerRectClipper_impl(  ) const {
255         if( bp::override func_getInnerRectClipper_impl = this->get_override( "getInnerRectClipper_impl" ) )
256             return func_getInnerRectClipper_impl(  );
257         else{
258             return this->CEGUI::Window::getInnerRectClipper_impl(  );
259         }
260     }
261 
default_getInnerRectClipper_implToggleButton_wrapper262     virtual ::CEGUI::Rectf default_getInnerRectClipper_impl(  ) const {
263         return CEGUI::Window::getInnerRectClipper_impl( );
264     }
265 
getOuterRectClipper_implToggleButton_wrapper266     virtual ::CEGUI::Rectf getOuterRectClipper_impl(  ) const {
267         if( bp::override func_getOuterRectClipper_impl = this->get_override( "getOuterRectClipper_impl" ) )
268             return func_getOuterRectClipper_impl(  );
269         else{
270             return this->CEGUI::Window::getOuterRectClipper_impl(  );
271         }
272     }
273 
default_getOuterRectClipper_implToggleButton_wrapper274     virtual ::CEGUI::Rectf default_getOuterRectClipper_impl(  ) const {
275         return CEGUI::Window::getOuterRectClipper_impl( );
276     }
277 
getParentElementClipIntersectionToggleButton_wrapper278     ::CEGUI::Rectf getParentElementClipIntersection( ::CEGUI::Rectf const & unclipped_area ) const {
279         return CEGUI::Window::getParentElementClipIntersection( boost::ref(unclipped_area) );
280     }
281 
getRenderingContext_implToggleButton_wrapper282     virtual void getRenderingContext_impl( ::CEGUI::RenderingContext & ctx ) const  {
283         if( bp::override func_getRenderingContext_impl = this->get_override( "getRenderingContext_impl" ) )
284             func_getRenderingContext_impl( boost::ref(ctx) );
285         else{
286             this->CEGUI::Window::getRenderingContext_impl( boost::ref(ctx) );
287         }
288     }
289 
default_getRenderingContext_implToggleButton_wrapper290     void default_getRenderingContext_impl( ::CEGUI::RenderingContext & ctx ) const  {
291         CEGUI::Window::getRenderingContext_impl( boost::ref(ctx) );
292     }
293 
getScriptModuleToggleButton_wrapper294     ::CEGUI::ScriptModule * getScriptModule(  ) const {
295         return CEGUI::EventSet::getScriptModule(  );
296     }
297 
getUnclippedInnerRect_implToggleButton_wrapper298     virtual ::CEGUI::Rectf getUnclippedInnerRect_impl( bool skipAllPixelAlignment ) const {
299         if( bp::override func_getUnclippedInnerRect_impl = this->get_override( "getUnclippedInnerRect_impl" ) )
300             return func_getUnclippedInnerRect_impl( skipAllPixelAlignment );
301         else{
302             return this->CEGUI::Window::getUnclippedInnerRect_impl( skipAllPixelAlignment );
303         }
304     }
305 
default_getUnclippedInnerRect_implToggleButton_wrapper306     virtual ::CEGUI::Rectf default_getUnclippedInnerRect_impl( bool skipAllPixelAlignment ) const {
307         return CEGUI::Window::getUnclippedInnerRect_impl( skipAllPixelAlignment );
308     }
309 
getUnclippedOuterRect_implToggleButton_wrapper310     virtual ::CEGUI::Rectf getUnclippedOuterRect_impl( bool skipAllPixelAlignment ) const {
311         if( bp::override func_getUnclippedOuterRect_impl = this->get_override( "getUnclippedOuterRect_impl" ) )
312             return func_getUnclippedOuterRect_impl( skipAllPixelAlignment );
313         else{
314             return this->CEGUI::Element::getUnclippedOuterRect_impl( skipAllPixelAlignment );
315         }
316     }
317 
default_getUnclippedOuterRect_implToggleButton_wrapper318     virtual ::CEGUI::Rectf default_getUnclippedOuterRect_impl( bool skipAllPixelAlignment ) const {
319         return CEGUI::Element::getUnclippedOuterRect_impl( skipAllPixelAlignment );
320     }
321 
getWindowAttachedToCommonAncestorToggleButton_wrapper322     ::CEGUI::Window const * getWindowAttachedToCommonAncestor( ::CEGUI::Window const & wnd ) const {
323         return CEGUI::Window::getWindowAttachedToCommonAncestor( boost::ref(wnd) );
324     }
325 
handleFontRenderSizeChangeToggleButton_wrapper326     virtual bool handleFontRenderSizeChange( ::CEGUI::EventArgs const & args ){
327         if( bp::override func_handleFontRenderSizeChange = this->get_override( "handleFontRenderSizeChange" ) )
328             return func_handleFontRenderSizeChange( boost::ref(args) );
329         else{
330             return this->CEGUI::Window::handleFontRenderSizeChange( boost::ref(args) );
331         }
332     }
333 
default_handleFontRenderSizeChangeToggleButton_wrapper334     virtual bool default_handleFontRenderSizeChange( ::CEGUI::EventArgs const & args ){
335         return CEGUI::Window::handleFontRenderSizeChange( boost::ref(args) );
336     }
337 
initialiseClippersToggleButton_wrapper338     void initialiseClippers( ::CEGUI::RenderingContext const & ctx ){
339         CEGUI::Window::initialiseClippers( boost::ref(ctx) );
340     }
341 
initialiseComponentsToggleButton_wrapper342     virtual void initialiseComponents(  ) {
343         if( bp::override func_initialiseComponents = this->get_override( "initialiseComponents" ) )
344             func_initialiseComponents(  );
345         else{
346             this->CEGUI::Window::initialiseComponents(  );
347         }
348     }
349 
default_initialiseComponentsToggleButton_wrapper350     void default_initialiseComponents(  ) {
351         CEGUI::Window::initialiseComponents( );
352     }
353 
invalidate_implToggleButton_wrapper354     void invalidate_impl( bool const recursive ){
355         CEGUI::Window::invalidate_impl( recursive );
356     }
357 
isHitToggleButton_wrapper358     virtual bool isHit( ::CEGUI::Vector2f const & position, bool const allow_disabled=false ) const  {
359         if( bp::override func_isHit = this->get_override( "isHit" ) )
360             return func_isHit( boost::ref(position), allow_disabled );
361         else{
362             return this->CEGUI::Window::isHit( boost::ref(position), allow_disabled );
363         }
364     }
365 
default_isHitToggleButton_wrapper366     bool default_isHit( ::CEGUI::Vector2f const & position, bool const allow_disabled=false ) const  {
367         return CEGUI::Window::isHit( boost::ref(position), allow_disabled );
368     }
369 
isHitTargetWindowToggleButton_wrapper370     bool isHitTargetWindow( ::CEGUI::Vector2f const & position, bool allow_disabled ) const {
371         return CEGUI::Window::isHitTargetWindow( boost::ref(position), allow_disabled );
372     }
373 
isInnerRectSizeChangedToggleButton_wrapper374     bool isInnerRectSizeChanged(  ) const {
375         return CEGUI::Element::isInnerRectSizeChanged(  );
376     }
377 
isPropertyAtDefaultToggleButton_wrapper378     bool isPropertyAtDefault( ::CEGUI::Property const * property ) const {
379         return CEGUI::Window::isPropertyAtDefault( boost::python::ptr(property) );
380     }
381 
isTopOfZOrderToggleButton_wrapper382     bool isTopOfZOrder(  ) const {
383         return CEGUI::Window::isTopOfZOrder(  );
384     }
385 
layoutLookNFeelChildWidgetsToggleButton_wrapper386     void layoutLookNFeelChildWidgets(  ){
387         CEGUI::Window::layoutLookNFeelChildWidgets(  );
388     }
389 
markCachedWindowRectsInvalidToggleButton_wrapper390     void markCachedWindowRectsInvalid(  ){
391         CEGUI::Window::markCachedWindowRectsInvalid(  );
392     }
393 
moveToFront_implToggleButton_wrapper394     virtual bool moveToFront_impl( bool wasClicked ){
395         if( bp::override func_moveToFront_impl = this->get_override( "moveToFront_impl" ) )
396             return func_moveToFront_impl( wasClicked );
397         else{
398             return this->CEGUI::Window::moveToFront_impl( wasClicked );
399         }
400     }
401 
default_moveToFront_implToggleButton_wrapper402     virtual bool default_moveToFront_impl( bool wasClicked ){
403         return CEGUI::Window::moveToFront_impl( wasClicked );
404     }
405 
notifyChildrenOfSizeChangeToggleButton_wrapper406     void notifyChildrenOfSizeChange( bool const non_client, bool const client ){
407         CEGUI::Element::notifyChildrenOfSizeChange( non_client, client );
408     }
409 
notifyClippingChangedToggleButton_wrapper410     void notifyClippingChanged(  ){
411         CEGUI::Window::notifyClippingChanged(  );
412     }
413 
notifyScreenAreaChangedToggleButton_wrapper414     virtual void notifyScreenAreaChanged( bool recursive=true ) {
415         if( bp::override func_notifyScreenAreaChanged = this->get_override( "notifyScreenAreaChanged" ) )
416             func_notifyScreenAreaChanged( recursive );
417         else{
418             this->CEGUI::Window::notifyScreenAreaChanged( recursive );
419         }
420     }
421 
default_notifyScreenAreaChangedToggleButton_wrapper422     void default_notifyScreenAreaChanged( bool recursive=true ) {
423         CEGUI::Window::notifyScreenAreaChanged( recursive );
424     }
425 
onActivatedToggleButton_wrapper426     virtual void onActivated( ::CEGUI::ActivationEventArgs & e ){
427         if( bp::override func_onActivated = this->get_override( "onActivated" ) )
428             func_onActivated( boost::ref(e) );
429         else{
430             this->CEGUI::Window::onActivated( boost::ref(e) );
431         }
432     }
433 
default_onActivatedToggleButton_wrapper434     virtual void default_onActivated( ::CEGUI::ActivationEventArgs & e ){
435         CEGUI::Window::onActivated( boost::ref(e) );
436     }
437 
onAlphaChangedToggleButton_wrapper438     virtual void onAlphaChanged( ::CEGUI::WindowEventArgs & e ){
439         if( bp::override func_onAlphaChanged = this->get_override( "onAlphaChanged" ) )
440             func_onAlphaChanged( boost::ref(e) );
441         else{
442             this->CEGUI::Window::onAlphaChanged( boost::ref(e) );
443         }
444     }
445 
default_onAlphaChangedToggleButton_wrapper446     virtual void default_onAlphaChanged( ::CEGUI::WindowEventArgs & e ){
447         CEGUI::Window::onAlphaChanged( boost::ref(e) );
448     }
449 
onAlwaysOnTopChangedToggleButton_wrapper450     virtual void onAlwaysOnTopChanged( ::CEGUI::WindowEventArgs & e ){
451         if( bp::override func_onAlwaysOnTopChanged = this->get_override( "onAlwaysOnTopChanged" ) )
452             func_onAlwaysOnTopChanged( boost::ref(e) );
453         else{
454             this->CEGUI::Window::onAlwaysOnTopChanged( boost::ref(e) );
455         }
456     }
457 
default_onAlwaysOnTopChangedToggleButton_wrapper458     virtual void default_onAlwaysOnTopChanged( ::CEGUI::WindowEventArgs & e ){
459         CEGUI::Window::onAlwaysOnTopChanged( boost::ref(e) );
460     }
461 
onCaptureGainedToggleButton_wrapper462     virtual void onCaptureGained( ::CEGUI::WindowEventArgs & e ){
463         if( bp::override func_onCaptureGained = this->get_override( "onCaptureGained" ) )
464             func_onCaptureGained( boost::ref(e) );
465         else{
466             this->CEGUI::Window::onCaptureGained( boost::ref(e) );
467         }
468     }
469 
default_onCaptureGainedToggleButton_wrapper470     virtual void default_onCaptureGained( ::CEGUI::WindowEventArgs & e ){
471         CEGUI::Window::onCaptureGained( boost::ref(e) );
472     }
473 
onCaptureLostToggleButton_wrapper474     virtual void onCaptureLost( ::CEGUI::WindowEventArgs & e ){
475         if( bp::override func_onCaptureLost = this->get_override( "onCaptureLost" ) )
476             func_onCaptureLost( boost::ref(e) );
477         else{
478             this->CEGUI::ButtonBase::onCaptureLost( boost::ref(e) );
479         }
480     }
481 
default_onCaptureLostToggleButton_wrapper482     virtual void default_onCaptureLost( ::CEGUI::WindowEventArgs & e ){
483         CEGUI::ButtonBase::onCaptureLost( boost::ref(e) );
484     }
485 
onCharacterToggleButton_wrapper486     virtual void onCharacter( ::CEGUI::KeyEventArgs & e ){
487         if( bp::override func_onCharacter = this->get_override( "onCharacter" ) )
488             func_onCharacter( boost::ref(e) );
489         else{
490             this->CEGUI::Window::onCharacter( boost::ref(e) );
491         }
492     }
493 
default_onCharacterToggleButton_wrapper494     virtual void default_onCharacter( ::CEGUI::KeyEventArgs & e ){
495         CEGUI::Window::onCharacter( boost::ref(e) );
496     }
497 
onChildAddedToggleButton_wrapper498     virtual void onChildAdded( ::CEGUI::ElementEventArgs & e ){
499         if( bp::override func_onChildAdded = this->get_override( "onChildAdded" ) )
500             func_onChildAdded( boost::ref(e) );
501         else{
502             this->CEGUI::Window::onChildAdded( boost::ref(e) );
503         }
504     }
505 
default_onChildAddedToggleButton_wrapper506     virtual void default_onChildAdded( ::CEGUI::ElementEventArgs & e ){
507         CEGUI::Window::onChildAdded( boost::ref(e) );
508     }
509 
onChildRemovedToggleButton_wrapper510     virtual void onChildRemoved( ::CEGUI::ElementEventArgs & e ){
511         if( bp::override func_onChildRemoved = this->get_override( "onChildRemoved" ) )
512             func_onChildRemoved( boost::ref(e) );
513         else{
514             this->CEGUI::Window::onChildRemoved( boost::ref(e) );
515         }
516     }
517 
default_onChildRemovedToggleButton_wrapper518     virtual void default_onChildRemoved( ::CEGUI::ElementEventArgs & e ){
519         CEGUI::Window::onChildRemoved( boost::ref(e) );
520     }
521 
onClippingChangedToggleButton_wrapper522     virtual void onClippingChanged( ::CEGUI::WindowEventArgs & e ){
523         if( bp::override func_onClippingChanged = this->get_override( "onClippingChanged" ) )
524             func_onClippingChanged( boost::ref(e) );
525         else{
526             this->CEGUI::Window::onClippingChanged( boost::ref(e) );
527         }
528     }
529 
default_onClippingChangedToggleButton_wrapper530     virtual void default_onClippingChanged( ::CEGUI::WindowEventArgs & e ){
531         CEGUI::Window::onClippingChanged( boost::ref(e) );
532     }
533 
onDeactivatedToggleButton_wrapper534     virtual void onDeactivated( ::CEGUI::ActivationEventArgs & e ){
535         if( bp::override func_onDeactivated = this->get_override( "onDeactivated" ) )
536             func_onDeactivated( boost::ref(e) );
537         else{
538             this->CEGUI::Window::onDeactivated( boost::ref(e) );
539         }
540     }
541 
default_onDeactivatedToggleButton_wrapper542     virtual void default_onDeactivated( ::CEGUI::ActivationEventArgs & e ){
543         CEGUI::Window::onDeactivated( boost::ref(e) );
544     }
545 
onDestructionStartedToggleButton_wrapper546     virtual void onDestructionStarted( ::CEGUI::WindowEventArgs & e ){
547         if( bp::override func_onDestructionStarted = this->get_override( "onDestructionStarted" ) )
548             func_onDestructionStarted( boost::ref(e) );
549         else{
550             this->CEGUI::Window::onDestructionStarted( boost::ref(e) );
551         }
552     }
553 
default_onDestructionStartedToggleButton_wrapper554     virtual void default_onDestructionStarted( ::CEGUI::WindowEventArgs & e ){
555         CEGUI::Window::onDestructionStarted( boost::ref(e) );
556     }
557 
onDisabledToggleButton_wrapper558     virtual void onDisabled( ::CEGUI::WindowEventArgs & e ){
559         if( bp::override func_onDisabled = this->get_override( "onDisabled" ) )
560             func_onDisabled( boost::ref(e) );
561         else{
562             this->CEGUI::Window::onDisabled( boost::ref(e) );
563         }
564     }
565 
default_onDisabledToggleButton_wrapper566     virtual void default_onDisabled( ::CEGUI::WindowEventArgs & e ){
567         CEGUI::Window::onDisabled( boost::ref(e) );
568     }
569 
onDragDropItemDroppedToggleButton_wrapper570     virtual void onDragDropItemDropped( ::CEGUI::DragDropEventArgs & e ){
571         if( bp::override func_onDragDropItemDropped = this->get_override( "onDragDropItemDropped" ) )
572             func_onDragDropItemDropped( boost::ref(e) );
573         else{
574             this->CEGUI::Window::onDragDropItemDropped( boost::ref(e) );
575         }
576     }
577 
default_onDragDropItemDroppedToggleButton_wrapper578     virtual void default_onDragDropItemDropped( ::CEGUI::DragDropEventArgs & e ){
579         CEGUI::Window::onDragDropItemDropped( boost::ref(e) );
580     }
581 
onDragDropItemEntersToggleButton_wrapper582     virtual void onDragDropItemEnters( ::CEGUI::DragDropEventArgs & e ){
583         if( bp::override func_onDragDropItemEnters = this->get_override( "onDragDropItemEnters" ) )
584             func_onDragDropItemEnters( boost::ref(e) );
585         else{
586             this->CEGUI::Window::onDragDropItemEnters( boost::ref(e) );
587         }
588     }
589 
default_onDragDropItemEntersToggleButton_wrapper590     virtual void default_onDragDropItemEnters( ::CEGUI::DragDropEventArgs & e ){
591         CEGUI::Window::onDragDropItemEnters( boost::ref(e) );
592     }
593 
onDragDropItemLeavesToggleButton_wrapper594     virtual void onDragDropItemLeaves( ::CEGUI::DragDropEventArgs & e ){
595         if( bp::override func_onDragDropItemLeaves = this->get_override( "onDragDropItemLeaves" ) )
596             func_onDragDropItemLeaves( boost::ref(e) );
597         else{
598             this->CEGUI::Window::onDragDropItemLeaves( boost::ref(e) );
599         }
600     }
601 
default_onDragDropItemLeavesToggleButton_wrapper602     virtual void default_onDragDropItemLeaves( ::CEGUI::DragDropEventArgs & e ){
603         CEGUI::Window::onDragDropItemLeaves( boost::ref(e) );
604     }
605 
onEnabledToggleButton_wrapper606     virtual void onEnabled( ::CEGUI::WindowEventArgs & e ){
607         if( bp::override func_onEnabled = this->get_override( "onEnabled" ) )
608             func_onEnabled( boost::ref(e) );
609         else{
610             this->CEGUI::Window::onEnabled( boost::ref(e) );
611         }
612     }
613 
default_onEnabledToggleButton_wrapper614     virtual void default_onEnabled( ::CEGUI::WindowEventArgs & e ){
615         CEGUI::Window::onEnabled( boost::ref(e) );
616     }
617 
onFontChangedToggleButton_wrapper618     virtual void onFontChanged( ::CEGUI::WindowEventArgs & e ){
619         if( bp::override func_onFontChanged = this->get_override( "onFontChanged" ) )
620             func_onFontChanged( boost::ref(e) );
621         else{
622             this->CEGUI::Window::onFontChanged( boost::ref(e) );
623         }
624     }
625 
default_onFontChangedToggleButton_wrapper626     virtual void default_onFontChanged( ::CEGUI::WindowEventArgs & e ){
627         CEGUI::Window::onFontChanged( boost::ref(e) );
628     }
629 
onHiddenToggleButton_wrapper630     virtual void onHidden( ::CEGUI::WindowEventArgs & e ){
631         if( bp::override func_onHidden = this->get_override( "onHidden" ) )
632             func_onHidden( boost::ref(e) );
633         else{
634             this->CEGUI::Window::onHidden( boost::ref(e) );
635         }
636     }
637 
default_onHiddenToggleButton_wrapper638     virtual void default_onHidden( ::CEGUI::WindowEventArgs & e ){
639         CEGUI::Window::onHidden( boost::ref(e) );
640     }
641 
onHorizontalAlignmentChangedToggleButton_wrapper642     virtual void onHorizontalAlignmentChanged( ::CEGUI::ElementEventArgs & e ){
643         if( bp::override func_onHorizontalAlignmentChanged = this->get_override( "onHorizontalAlignmentChanged" ) )
644             func_onHorizontalAlignmentChanged( boost::ref(e) );
645         else{
646             this->CEGUI::Element::onHorizontalAlignmentChanged( boost::ref(e) );
647         }
648     }
649 
default_onHorizontalAlignmentChangedToggleButton_wrapper650     virtual void default_onHorizontalAlignmentChanged( ::CEGUI::ElementEventArgs & e ){
651         CEGUI::Element::onHorizontalAlignmentChanged( boost::ref(e) );
652     }
653 
onIDChangedToggleButton_wrapper654     virtual void onIDChanged( ::CEGUI::WindowEventArgs & e ){
655         if( bp::override func_onIDChanged = this->get_override( "onIDChanged" ) )
656             func_onIDChanged( boost::ref(e) );
657         else{
658             this->CEGUI::Window::onIDChanged( boost::ref(e) );
659         }
660     }
661 
default_onIDChangedToggleButton_wrapper662     virtual void default_onIDChanged( ::CEGUI::WindowEventArgs & e ){
663         CEGUI::Window::onIDChanged( boost::ref(e) );
664     }
665 
onInheritsAlphaChangedToggleButton_wrapper666     virtual void onInheritsAlphaChanged( ::CEGUI::WindowEventArgs & e ){
667         if( bp::override func_onInheritsAlphaChanged = this->get_override( "onInheritsAlphaChanged" ) )
668             func_onInheritsAlphaChanged( boost::ref(e) );
669         else{
670             this->CEGUI::Window::onInheritsAlphaChanged( boost::ref(e) );
671         }
672     }
673 
default_onInheritsAlphaChangedToggleButton_wrapper674     virtual void default_onInheritsAlphaChanged( ::CEGUI::WindowEventArgs & e ){
675         CEGUI::Window::onInheritsAlphaChanged( boost::ref(e) );
676     }
677 
onInvalidatedToggleButton_wrapper678     virtual void onInvalidated( ::CEGUI::WindowEventArgs & e ){
679         if( bp::override func_onInvalidated = this->get_override( "onInvalidated" ) )
680             func_onInvalidated( boost::ref(e) );
681         else{
682             this->CEGUI::Window::onInvalidated( boost::ref(e) );
683         }
684     }
685 
default_onInvalidatedToggleButton_wrapper686     virtual void default_onInvalidated( ::CEGUI::WindowEventArgs & e ){
687         CEGUI::Window::onInvalidated( boost::ref(e) );
688     }
689 
onKeyDownToggleButton_wrapper690     virtual void onKeyDown( ::CEGUI::KeyEventArgs & e ){
691         if( bp::override func_onKeyDown = this->get_override( "onKeyDown" ) )
692             func_onKeyDown( boost::ref(e) );
693         else{
694             this->CEGUI::Window::onKeyDown( boost::ref(e) );
695         }
696     }
697 
default_onKeyDownToggleButton_wrapper698     virtual void default_onKeyDown( ::CEGUI::KeyEventArgs & e ){
699         CEGUI::Window::onKeyDown( boost::ref(e) );
700     }
701 
onKeyUpToggleButton_wrapper702     virtual void onKeyUp( ::CEGUI::KeyEventArgs & e ){
703         if( bp::override func_onKeyUp = this->get_override( "onKeyUp" ) )
704             func_onKeyUp( boost::ref(e) );
705         else{
706             this->CEGUI::Window::onKeyUp( boost::ref(e) );
707         }
708     }
709 
default_onKeyUpToggleButton_wrapper710     virtual void default_onKeyUp( ::CEGUI::KeyEventArgs & e ){
711         CEGUI::Window::onKeyUp( boost::ref(e) );
712     }
713 
onMarginChangedToggleButton_wrapper714     virtual void onMarginChanged( ::CEGUI::WindowEventArgs & e ){
715         if( bp::override func_onMarginChanged = this->get_override( "onMarginChanged" ) )
716             func_onMarginChanged( boost::ref(e) );
717         else{
718             this->CEGUI::Window::onMarginChanged( boost::ref(e) );
719         }
720     }
721 
default_onMarginChangedToggleButton_wrapper722     virtual void default_onMarginChanged( ::CEGUI::WindowEventArgs & e ){
723         CEGUI::Window::onMarginChanged( boost::ref(e) );
724     }
725 
onMouseButtonDownToggleButton_wrapper726     virtual void onMouseButtonDown( ::CEGUI::MouseEventArgs & e ){
727         if( bp::override func_onMouseButtonDown = this->get_override( "onMouseButtonDown" ) )
728             func_onMouseButtonDown( boost::ref(e) );
729         else{
730             this->CEGUI::ButtonBase::onMouseButtonDown( boost::ref(e) );
731         }
732     }
733 
default_onMouseButtonDownToggleButton_wrapper734     virtual void default_onMouseButtonDown( ::CEGUI::MouseEventArgs & e ){
735         CEGUI::ButtonBase::onMouseButtonDown( boost::ref(e) );
736     }
737 
onMouseClickedToggleButton_wrapper738     virtual void onMouseClicked( ::CEGUI::MouseEventArgs & e ){
739         if( bp::override func_onMouseClicked = this->get_override( "onMouseClicked" ) )
740             func_onMouseClicked( boost::ref(e) );
741         else{
742             this->CEGUI::Window::onMouseClicked( boost::ref(e) );
743         }
744     }
745 
default_onMouseClickedToggleButton_wrapper746     virtual void default_onMouseClicked( ::CEGUI::MouseEventArgs & e ){
747         CEGUI::Window::onMouseClicked( boost::ref(e) );
748     }
749 
onMouseDoubleClickedToggleButton_wrapper750     virtual void onMouseDoubleClicked( ::CEGUI::MouseEventArgs & e ){
751         if( bp::override func_onMouseDoubleClicked = this->get_override( "onMouseDoubleClicked" ) )
752             func_onMouseDoubleClicked( boost::ref(e) );
753         else{
754             this->CEGUI::Window::onMouseDoubleClicked( boost::ref(e) );
755         }
756     }
757 
default_onMouseDoubleClickedToggleButton_wrapper758     virtual void default_onMouseDoubleClicked( ::CEGUI::MouseEventArgs & e ){
759         CEGUI::Window::onMouseDoubleClicked( boost::ref(e) );
760     }
761 
onMouseEntersToggleButton_wrapper762     virtual void onMouseEnters( ::CEGUI::MouseEventArgs & e ){
763         if( bp::override func_onMouseEnters = this->get_override( "onMouseEnters" ) )
764             func_onMouseEnters( boost::ref(e) );
765         else{
766             this->CEGUI::Window::onMouseEnters( boost::ref(e) );
767         }
768     }
769 
default_onMouseEntersToggleButton_wrapper770     virtual void default_onMouseEnters( ::CEGUI::MouseEventArgs & e ){
771         CEGUI::Window::onMouseEnters( boost::ref(e) );
772     }
773 
onMouseEntersAreaToggleButton_wrapper774     virtual void onMouseEntersArea( ::CEGUI::MouseEventArgs & e ){
775         if( bp::override func_onMouseEntersArea = this->get_override( "onMouseEntersArea" ) )
776             func_onMouseEntersArea( boost::ref(e) );
777         else{
778             this->CEGUI::Window::onMouseEntersArea( boost::ref(e) );
779         }
780     }
781 
default_onMouseEntersAreaToggleButton_wrapper782     virtual void default_onMouseEntersArea( ::CEGUI::MouseEventArgs & e ){
783         CEGUI::Window::onMouseEntersArea( boost::ref(e) );
784     }
785 
onMouseLeavesToggleButton_wrapper786     virtual void onMouseLeaves( ::CEGUI::MouseEventArgs & e ){
787         if( bp::override func_onMouseLeaves = this->get_override( "onMouseLeaves" ) )
788             func_onMouseLeaves( boost::ref(e) );
789         else{
790             this->CEGUI::ButtonBase::onMouseLeaves( boost::ref(e) );
791         }
792     }
793 
default_onMouseLeavesToggleButton_wrapper794     virtual void default_onMouseLeaves( ::CEGUI::MouseEventArgs & e ){
795         CEGUI::ButtonBase::onMouseLeaves( boost::ref(e) );
796     }
797 
onMouseLeavesAreaToggleButton_wrapper798     virtual void onMouseLeavesArea( ::CEGUI::MouseEventArgs & e ){
799         if( bp::override func_onMouseLeavesArea = this->get_override( "onMouseLeavesArea" ) )
800             func_onMouseLeavesArea( boost::ref(e) );
801         else{
802             this->CEGUI::Window::onMouseLeavesArea( boost::ref(e) );
803         }
804     }
805 
default_onMouseLeavesAreaToggleButton_wrapper806     virtual void default_onMouseLeavesArea( ::CEGUI::MouseEventArgs & e ){
807         CEGUI::Window::onMouseLeavesArea( boost::ref(e) );
808     }
809 
onMouseMoveToggleButton_wrapper810     virtual void onMouseMove( ::CEGUI::MouseEventArgs & e ){
811         if( bp::override func_onMouseMove = this->get_override( "onMouseMove" ) )
812             func_onMouseMove( boost::ref(e) );
813         else{
814             this->CEGUI::ButtonBase::onMouseMove( boost::ref(e) );
815         }
816     }
817 
default_onMouseMoveToggleButton_wrapper818     virtual void default_onMouseMove( ::CEGUI::MouseEventArgs & e ){
819         CEGUI::ButtonBase::onMouseMove( boost::ref(e) );
820     }
821 
onMouseTripleClickedToggleButton_wrapper822     virtual void onMouseTripleClicked( ::CEGUI::MouseEventArgs & e ){
823         if( bp::override func_onMouseTripleClicked = this->get_override( "onMouseTripleClicked" ) )
824             func_onMouseTripleClicked( boost::ref(e) );
825         else{
826             this->CEGUI::Window::onMouseTripleClicked( boost::ref(e) );
827         }
828     }
829 
default_onMouseTripleClickedToggleButton_wrapper830     virtual void default_onMouseTripleClicked( ::CEGUI::MouseEventArgs & e ){
831         CEGUI::Window::onMouseTripleClicked( boost::ref(e) );
832     }
833 
onMouseWheelToggleButton_wrapper834     virtual void onMouseWheel( ::CEGUI::MouseEventArgs & e ){
835         if( bp::override func_onMouseWheel = this->get_override( "onMouseWheel" ) )
836             func_onMouseWheel( boost::ref(e) );
837         else{
838             this->CEGUI::Window::onMouseWheel( boost::ref(e) );
839         }
840     }
841 
default_onMouseWheelToggleButton_wrapper842     virtual void default_onMouseWheel( ::CEGUI::MouseEventArgs & e ){
843         CEGUI::Window::onMouseWheel( boost::ref(e) );
844     }
845 
onMovedToggleButton_wrapper846     virtual void onMoved( ::CEGUI::ElementEventArgs & e ){
847         if( bp::override func_onMoved = this->get_override( "onMoved" ) )
848             func_onMoved( boost::ref(e) );
849         else{
850             this->CEGUI::Window::onMoved( boost::ref(e) );
851         }
852     }
853 
default_onMovedToggleButton_wrapper854     virtual void default_onMoved( ::CEGUI::ElementEventArgs & e ){
855         CEGUI::Window::onMoved( boost::ref(e) );
856     }
857 
onNameChangedToggleButton_wrapper858     virtual void onNameChanged( ::CEGUI::NamedElementEventArgs & e ){
859         if( bp::override func_onNameChanged = this->get_override( "onNameChanged" ) )
860             func_onNameChanged( boost::ref(e) );
861         else{
862             this->CEGUI::NamedElement::onNameChanged( boost::ref(e) );
863         }
864     }
865 
default_onNameChangedToggleButton_wrapper866     virtual void default_onNameChanged( ::CEGUI::NamedElementEventArgs & e ){
867         CEGUI::NamedElement::onNameChanged( boost::ref(e) );
868     }
869 
onNonClientChangedToggleButton_wrapper870     virtual void onNonClientChanged( ::CEGUI::ElementEventArgs & e ){
871         if( bp::override func_onNonClientChanged = this->get_override( "onNonClientChanged" ) )
872             func_onNonClientChanged( boost::ref(e) );
873         else{
874             this->CEGUI::Element::onNonClientChanged( boost::ref(e) );
875         }
876     }
877 
default_onNonClientChangedToggleButton_wrapper878     virtual void default_onNonClientChanged( ::CEGUI::ElementEventArgs & e ){
879         CEGUI::Element::onNonClientChanged( boost::ref(e) );
880     }
881 
onParentDestroyChangedToggleButton_wrapper882     virtual void onParentDestroyChanged( ::CEGUI::WindowEventArgs & e ){
883         if( bp::override func_onParentDestroyChanged = this->get_override( "onParentDestroyChanged" ) )
884             func_onParentDestroyChanged( boost::ref(e) );
885         else{
886             this->CEGUI::Window::onParentDestroyChanged( boost::ref(e) );
887         }
888     }
889 
default_onParentDestroyChangedToggleButton_wrapper890     virtual void default_onParentDestroyChanged( ::CEGUI::WindowEventArgs & e ){
891         CEGUI::Window::onParentDestroyChanged( boost::ref(e) );
892     }
893 
onParentSizedToggleButton_wrapper894     virtual void onParentSized( ::CEGUI::ElementEventArgs & e ){
895         if( bp::override func_onParentSized = this->get_override( "onParentSized" ) )
896             func_onParentSized( boost::ref(e) );
897         else{
898             this->CEGUI::Window::onParentSized( boost::ref(e) );
899         }
900     }
901 
default_onParentSizedToggleButton_wrapper902     virtual void default_onParentSized( ::CEGUI::ElementEventArgs & e ){
903         CEGUI::Window::onParentSized( boost::ref(e) );
904     }
905 
onRenderingEndedToggleButton_wrapper906     virtual void onRenderingEnded( ::CEGUI::WindowEventArgs & e ){
907         if( bp::override func_onRenderingEnded = this->get_override( "onRenderingEnded" ) )
908             func_onRenderingEnded( boost::ref(e) );
909         else{
910             this->CEGUI::Window::onRenderingEnded( boost::ref(e) );
911         }
912     }
913 
default_onRenderingEndedToggleButton_wrapper914     virtual void default_onRenderingEnded( ::CEGUI::WindowEventArgs & e ){
915         CEGUI::Window::onRenderingEnded( boost::ref(e) );
916     }
917 
onRenderingStartedToggleButton_wrapper918     virtual void onRenderingStarted( ::CEGUI::WindowEventArgs & e ){
919         if( bp::override func_onRenderingStarted = this->get_override( "onRenderingStarted" ) )
920             func_onRenderingStarted( boost::ref(e) );
921         else{
922             this->CEGUI::Window::onRenderingStarted( boost::ref(e) );
923         }
924     }
925 
default_onRenderingStartedToggleButton_wrapper926     virtual void default_onRenderingStarted( ::CEGUI::WindowEventArgs & e ){
927         CEGUI::Window::onRenderingStarted( boost::ref(e) );
928     }
929 
onRotatedToggleButton_wrapper930     virtual void onRotated( ::CEGUI::ElementEventArgs & e ){
931         if( bp::override func_onRotated = this->get_override( "onRotated" ) )
932             func_onRotated( boost::ref(e) );
933         else{
934             this->CEGUI::Window::onRotated( boost::ref(e) );
935         }
936     }
937 
default_onRotatedToggleButton_wrapper938     virtual void default_onRotated( ::CEGUI::ElementEventArgs & e ){
939         CEGUI::Window::onRotated( boost::ref(e) );
940     }
941 
onShownToggleButton_wrapper942     virtual void onShown( ::CEGUI::WindowEventArgs & e ){
943         if( bp::override func_onShown = this->get_override( "onShown" ) )
944             func_onShown( boost::ref(e) );
945         else{
946             this->CEGUI::Window::onShown( boost::ref(e) );
947         }
948     }
949 
default_onShownToggleButton_wrapper950     virtual void default_onShown( ::CEGUI::WindowEventArgs & e ){
951         CEGUI::Window::onShown( boost::ref(e) );
952     }
953 
onSizedToggleButton_wrapper954     virtual void onSized( ::CEGUI::ElementEventArgs & e ){
955         if( bp::override func_onSized = this->get_override( "onSized" ) )
956             func_onSized( boost::ref(e) );
957         else{
958             this->CEGUI::Window::onSized( boost::ref(e) );
959         }
960     }
961 
default_onSizedToggleButton_wrapper962     virtual void default_onSized( ::CEGUI::ElementEventArgs & e ){
963         CEGUI::Window::onSized( boost::ref(e) );
964     }
965 
onTextChangedToggleButton_wrapper966     virtual void onTextChanged( ::CEGUI::WindowEventArgs & e ){
967         if( bp::override func_onTextChanged = this->get_override( "onTextChanged" ) )
968             func_onTextChanged( boost::ref(e) );
969         else{
970             this->CEGUI::Window::onTextChanged( boost::ref(e) );
971         }
972     }
973 
default_onTextChangedToggleButton_wrapper974     virtual void default_onTextChanged( ::CEGUI::WindowEventArgs & e ){
975         CEGUI::Window::onTextChanged( boost::ref(e) );
976     }
977 
onTextParsingChangedToggleButton_wrapper978     virtual void onTextParsingChanged( ::CEGUI::WindowEventArgs & e ){
979         if( bp::override func_onTextParsingChanged = this->get_override( "onTextParsingChanged" ) )
980             func_onTextParsingChanged( boost::ref(e) );
981         else{
982             this->CEGUI::Window::onTextParsingChanged( boost::ref(e) );
983         }
984     }
985 
default_onTextParsingChangedToggleButton_wrapper986     virtual void default_onTextParsingChanged( ::CEGUI::WindowEventArgs & e ){
987         CEGUI::Window::onTextParsingChanged( boost::ref(e) );
988     }
989 
onVerticalAlignmentChangedToggleButton_wrapper990     virtual void onVerticalAlignmentChanged( ::CEGUI::ElementEventArgs & e ){
991         if( bp::override func_onVerticalAlignmentChanged = this->get_override( "onVerticalAlignmentChanged" ) )
992             func_onVerticalAlignmentChanged( boost::ref(e) );
993         else{
994             this->CEGUI::Element::onVerticalAlignmentChanged( boost::ref(e) );
995         }
996     }
997 
default_onVerticalAlignmentChangedToggleButton_wrapper998     virtual void default_onVerticalAlignmentChanged( ::CEGUI::ElementEventArgs & e ){
999         CEGUI::Element::onVerticalAlignmentChanged( boost::ref(e) );
1000     }
1001 
onWindowRendererAttachedToggleButton_wrapper1002     virtual void onWindowRendererAttached( ::CEGUI::WindowEventArgs & e ){
1003         if( bp::override func_onWindowRendererAttached = this->get_override( "onWindowRendererAttached" ) )
1004             func_onWindowRendererAttached( boost::ref(e) );
1005         else{
1006             this->CEGUI::Window::onWindowRendererAttached( boost::ref(e) );
1007         }
1008     }
1009 
default_onWindowRendererAttachedToggleButton_wrapper1010     virtual void default_onWindowRendererAttached( ::CEGUI::WindowEventArgs & e ){
1011         CEGUI::Window::onWindowRendererAttached( boost::ref(e) );
1012     }
1013 
onWindowRendererDetachedToggleButton_wrapper1014     virtual void onWindowRendererDetached( ::CEGUI::WindowEventArgs & e ){
1015         if( bp::override func_onWindowRendererDetached = this->get_override( "onWindowRendererDetached" ) )
1016             func_onWindowRendererDetached( boost::ref(e) );
1017         else{
1018             this->CEGUI::Window::onWindowRendererDetached( boost::ref(e) );
1019         }
1020     }
1021 
default_onWindowRendererDetachedToggleButton_wrapper1022     virtual void default_onWindowRendererDetached( ::CEGUI::WindowEventArgs & e ){
1023         CEGUI::Window::onWindowRendererDetached( boost::ref(e) );
1024     }
1025 
onZChange_implToggleButton_wrapper1026     virtual void onZChange_impl(  ){
1027         if( bp::override func_onZChange_impl = this->get_override( "onZChange_impl" ) )
1028             func_onZChange_impl(  );
1029         else{
1030             this->CEGUI::Window::onZChange_impl(  );
1031         }
1032     }
1033 
default_onZChange_implToggleButton_wrapper1034     virtual void default_onZChange_impl(  ){
1035         CEGUI::Window::onZChange_impl( );
1036     }
1037 
onZChangedToggleButton_wrapper1038     virtual void onZChanged( ::CEGUI::WindowEventArgs & e ){
1039         if( bp::override func_onZChanged = this->get_override( "onZChanged" ) )
1040             func_onZChanged( boost::ref(e) );
1041         else{
1042             this->CEGUI::Window::onZChanged( boost::ref(e) );
1043         }
1044     }
1045 
default_onZChangedToggleButton_wrapper1046     virtual void default_onZChanged( ::CEGUI::WindowEventArgs & e ){
1047         CEGUI::Window::onZChanged( boost::ref(e) );
1048     }
1049 
performChildWindowLayoutToggleButton_wrapper1050     virtual void performChildWindowLayout( bool nonclient_sized_hint=false, bool client_sized_hint=false ) {
1051         if( bp::override func_performChildWindowLayout = this->get_override( "performChildWindowLayout" ) )
1052             func_performChildWindowLayout( nonclient_sized_hint, client_sized_hint );
1053         else{
1054             this->CEGUI::Window::performChildWindowLayout( nonclient_sized_hint, client_sized_hint );
1055         }
1056     }
1057 
default_performChildWindowLayoutToggleButton_wrapper1058     void default_performChildWindowLayout( bool nonclient_sized_hint=false, bool client_sized_hint=false ) {
1059         CEGUI::Window::performChildWindowLayout( nonclient_sized_hint, client_sized_hint );
1060     }
1061 
performCopyToggleButton_wrapper1062     virtual bool performCopy( ::CEGUI::Clipboard & clipboard ) {
1063         if( bp::override func_performCopy = this->get_override( "performCopy" ) )
1064             return func_performCopy( boost::ref(clipboard) );
1065         else{
1066             return this->CEGUI::Window::performCopy( boost::ref(clipboard) );
1067         }
1068     }
1069 
default_performCopyToggleButton_wrapper1070     bool default_performCopy( ::CEGUI::Clipboard & clipboard ) {
1071         return CEGUI::Window::performCopy( boost::ref(clipboard) );
1072     }
1073 
performCutToggleButton_wrapper1074     virtual bool performCut( ::CEGUI::Clipboard & clipboard ) {
1075         if( bp::override func_performCut = this->get_override( "performCut" ) )
1076             return func_performCut( boost::ref(clipboard) );
1077         else{
1078             return this->CEGUI::Window::performCut( boost::ref(clipboard) );
1079         }
1080     }
1081 
default_performCutToggleButton_wrapper1082     bool default_performCut( ::CEGUI::Clipboard & clipboard ) {
1083         return CEGUI::Window::performCut( boost::ref(clipboard) );
1084     }
1085 
performPasteToggleButton_wrapper1086     virtual bool performPaste( ::CEGUI::Clipboard & clipboard ) {
1087         if( bp::override func_performPaste = this->get_override( "performPaste" ) )
1088             return func_performPaste( boost::ref(clipboard) );
1089         else{
1090             return this->CEGUI::Window::performPaste( boost::ref(clipboard) );
1091         }
1092     }
1093 
default_performPasteToggleButton_wrapper1094     bool default_performPaste( ::CEGUI::Clipboard & clipboard ) {
1095         return CEGUI::Window::performPaste( boost::ref(clipboard) );
1096     }
1097 
populateGeometryBufferToggleButton_wrapper1098     virtual void populateGeometryBuffer(  ){
1099         if( bp::override func_populateGeometryBuffer = this->get_override( "populateGeometryBuffer" ) )
1100             func_populateGeometryBuffer(  );
1101         else{
1102             this->CEGUI::Window::populateGeometryBuffer(  );
1103         }
1104     }
1105 
default_populateGeometryBufferToggleButton_wrapper1106     virtual void default_populateGeometryBuffer(  ){
1107         CEGUI::Window::populateGeometryBuffer( );
1108     }
1109 
queueGeometryToggleButton_wrapper1110     void queueGeometry( ::CEGUI::RenderingContext const & ctx ){
1111         CEGUI::Window::queueGeometry( boost::ref(ctx) );
1112     }
1113 
releaseRenderingWindowToggleButton_wrapper1114     void releaseRenderingWindow(  ){
1115         CEGUI::Window::releaseRenderingWindow(  );
1116     }
1117 
removeChild_implToggleButton_wrapper1118     virtual void removeChild_impl( ::CEGUI::Element * element ){
1119         if( bp::override func_removeChild_impl = this->get_override( "removeChild_impl" ) )
1120             func_removeChild_impl( boost::python::ptr(element) );
1121         else{
1122             this->CEGUI::Window::removeChild_impl( boost::python::ptr(element) );
1123         }
1124     }
1125 
default_removeChild_implToggleButton_wrapper1126     virtual void default_removeChild_impl( ::CEGUI::Element * element ){
1127         CEGUI::Window::removeChild_impl( boost::python::ptr(element) );
1128     }
1129 
removeWindowFromDrawListToggleButton_wrapper1130     void removeWindowFromDrawList( ::CEGUI::Window const & wnd ){
1131         CEGUI::Window::removeWindowFromDrawList( boost::ref(wnd) );
1132     }
1133 
setAreaToggleButton_wrapper1134     virtual void setArea( ::CEGUI::UVector2 const & pos, ::CEGUI::USize const & size ) {
1135         if( bp::override func_setArea = this->get_override( "setArea" ) )
1136             func_setArea( boost::ref(pos), boost::ref(size) );
1137         else{
1138             this->CEGUI::Element::setArea( boost::ref(pos), boost::ref(size) );
1139         }
1140     }
1141 
default_setAreaToggleButton_wrapper1142     void default_setArea( ::CEGUI::UVector2 const & pos, ::CEGUI::USize const & size ) {
1143         CEGUI::Element::setArea( boost::ref(pos), boost::ref(size) );
1144     }
1145 
setArea_implToggleButton_wrapper1146     virtual void setArea_impl( ::CEGUI::UVector2 const & pos, ::CEGUI::USize const & size, bool topLeftSizing=false, bool fireEvents=true ){
1147         if( bp::override func_setArea_impl = this->get_override( "setArea_impl" ) )
1148             func_setArea_impl( boost::ref(pos), boost::ref(size), topLeftSizing, fireEvents );
1149         else{
1150             this->CEGUI::Window::setArea_impl( boost::ref(pos), boost::ref(size), topLeftSizing, fireEvents );
1151         }
1152     }
1153 
default_setArea_implToggleButton_wrapper1154     virtual void default_setArea_impl( ::CEGUI::UVector2 const & pos, ::CEGUI::USize const & size, bool topLeftSizing=false, bool fireEvents=true ){
1155         CEGUI::Window::setArea_impl( boost::ref(pos), boost::ref(size), topLeftSizing, fireEvents );
1156     }
1157 
setHorizontalAlignmentToggleButton_wrapper1158     virtual void setHorizontalAlignment( ::CEGUI::HorizontalAlignment const alignment ) {
1159         if( bp::override func_setHorizontalAlignment = this->get_override( "setHorizontalAlignment" ) )
1160             func_setHorizontalAlignment( alignment );
1161         else{
1162             this->CEGUI::Element::setHorizontalAlignment( alignment );
1163         }
1164     }
1165 
default_setHorizontalAlignmentToggleButton_wrapper1166     void default_setHorizontalAlignment( ::CEGUI::HorizontalAlignment const alignment ) {
1167         CEGUI::Element::setHorizontalAlignment( alignment );
1168     }
1169 
setLookNFeelToggleButton_wrapper1170     virtual void setLookNFeel( ::CEGUI::String const & look ) {
1171         if( bp::override func_setLookNFeel = this->get_override( "setLookNFeel" ) )
1172             func_setLookNFeel( boost::ref(look) );
1173         else{
1174             this->CEGUI::Window::setLookNFeel( boost::ref(look) );
1175         }
1176     }
1177 
default_setLookNFeelToggleButton_wrapper1178     void default_setLookNFeel( ::CEGUI::String const & look ) {
1179         CEGUI::Window::setLookNFeel( boost::ref(look) );
1180     }
1181 
setMarginToggleButton_wrapper1182     virtual void setMargin( ::CEGUI::UBox const & margin ) {
1183         if( bp::override func_setMargin = this->get_override( "setMargin" ) )
1184             func_setMargin( boost::ref(margin) );
1185         else{
1186             this->CEGUI::Window::setMargin( boost::ref(margin) );
1187         }
1188     }
1189 
default_setMarginToggleButton_wrapper1190     void default_setMargin( ::CEGUI::UBox const & margin ) {
1191         CEGUI::Window::setMargin( boost::ref(margin) );
1192     }
1193 
setNameToggleButton_wrapper1194     virtual void setName( ::CEGUI::String const & name ) {
1195         if( bp::override func_setName = this->get_override( "setName" ) )
1196             func_setName( boost::ref(name) );
1197         else{
1198             this->CEGUI::NamedElement::setName( boost::ref(name) );
1199         }
1200     }
1201 
default_setNameToggleButton_wrapper1202     void default_setName( ::CEGUI::String const & name ) {
1203         CEGUI::NamedElement::setName( boost::ref(name) );
1204     }
1205 
setParentToggleButton_wrapper1206     virtual void setParent( ::CEGUI::Element * parent ){
1207         if( bp::override func_setParent = this->get_override( "setParent" ) )
1208             func_setParent( boost::python::ptr(parent) );
1209         else{
1210             this->CEGUI::Window::setParent( boost::python::ptr(parent) );
1211         }
1212     }
1213 
default_setParentToggleButton_wrapper1214     virtual void default_setParent( ::CEGUI::Element * parent ){
1215         CEGUI::Window::setParent( boost::python::ptr(parent) );
1216     }
1217 
setVerticalAlignmentToggleButton_wrapper1218     virtual void setVerticalAlignment( ::CEGUI::VerticalAlignment const alignment ) {
1219         if( bp::override func_setVerticalAlignment = this->get_override( "setVerticalAlignment" ) )
1220             func_setVerticalAlignment( alignment );
1221         else{
1222             this->CEGUI::Element::setVerticalAlignment( alignment );
1223         }
1224     }
1225 
default_setVerticalAlignmentToggleButton_wrapper1226     void default_setVerticalAlignment( ::CEGUI::VerticalAlignment const alignment ) {
1227         CEGUI::Element::setVerticalAlignment( alignment );
1228     }
1229 
subscribeScriptedEventToggleButton_wrapper1230     virtual ::CEGUI::RefCounted< CEGUI::BoundSlot > subscribeScriptedEvent( ::CEGUI::String const & name, ::CEGUI::String const & subscriber_name ) {
1231         if( bp::override func_subscribeScriptedEvent = this->get_override( "subscribeScriptedEvent" ) )
1232             return func_subscribeScriptedEvent( boost::ref(name), boost::ref(subscriber_name) );
1233         else{
1234             return this->CEGUI::EventSet::subscribeScriptedEvent( boost::ref(name), boost::ref(subscriber_name) );
1235         }
1236     }
1237 
default_subscribeScriptedEventToggleButton_wrapper1238     ::CEGUI::RefCounted< CEGUI::BoundSlot > default_subscribeScriptedEvent( ::CEGUI::String const & name, ::CEGUI::String const & subscriber_name ) {
1239         return CEGUI::EventSet::subscribeScriptedEvent( boost::ref(name), boost::ref(subscriber_name) );
1240     }
1241 
subscribeScriptedEventToggleButton_wrapper1242     virtual ::CEGUI::RefCounted< CEGUI::BoundSlot > subscribeScriptedEvent( ::CEGUI::String const & name, unsigned int group, ::CEGUI::String const & subscriber_name ) {
1243         if( bp::override func_subscribeScriptedEvent = this->get_override( "subscribeScriptedEvent" ) )
1244             return func_subscribeScriptedEvent( boost::ref(name), group, boost::ref(subscriber_name) );
1245         else{
1246             return this->CEGUI::EventSet::subscribeScriptedEvent( boost::ref(name), group, boost::ref(subscriber_name) );
1247         }
1248     }
1249 
default_subscribeScriptedEventToggleButton_wrapper1250     ::CEGUI::RefCounted< CEGUI::BoundSlot > default_subscribeScriptedEvent( ::CEGUI::String const & name, unsigned int group, ::CEGUI::String const & subscriber_name ) {
1251         return CEGUI::EventSet::subscribeScriptedEvent( boost::ref(name), group, boost::ref(subscriber_name) );
1252     }
1253 
transferChildSurfacesToggleButton_wrapper1254     void transferChildSurfaces(  ){
1255         CEGUI::Window::transferChildSurfaces(  );
1256     }
1257 
updateToggleButton_wrapper1258     virtual void update( float elapsed ) {
1259         if( bp::override func_update = this->get_override( "update" ) )
1260             func_update( elapsed );
1261         else{
1262             this->CEGUI::Window::update( elapsed );
1263         }
1264     }
1265 
default_updateToggleButton_wrapper1266     void default_update( float elapsed ) {
1267         CEGUI::Window::update( elapsed );
1268     }
1269 
updateGeometryRenderSettingsToggleButton_wrapper1270     void updateGeometryRenderSettings(  ){
1271         CEGUI::Window::updateGeometryRenderSettings(  );
1272     }
1273 
updateInternalStateToggleButton_wrapper1274     void updateInternalState( ::CEGUI::Vector2f const & mouse_pos ){
1275         CEGUI::ButtonBase::updateInternalState( boost::ref(mouse_pos) );
1276     }
1277 
updateSelfToggleButton_wrapper1278     virtual void updateSelf( float elapsed ){
1279         if( bp::override func_updateSelf = this->get_override( "updateSelf" ) )
1280             func_updateSelf( elapsed );
1281         else{
1282             this->CEGUI::Window::updateSelf( elapsed );
1283         }
1284     }
1285 
default_updateSelfToggleButton_wrapper1286     virtual void default_updateSelf( float elapsed ){
1287         CEGUI::Window::updateSelf( elapsed );
1288     }
1289 
validateWindowRendererToggleButton_wrapper1290     virtual bool validateWindowRenderer( ::CEGUI::WindowRenderer const * renderer ) const {
1291         if( bp::override func_validateWindowRenderer = this->get_override( "validateWindowRenderer" ) )
1292             return func_validateWindowRenderer( boost::python::ptr(renderer) );
1293         else{
1294             return this->CEGUI::Window::validateWindowRenderer( boost::python::ptr(renderer) );
1295         }
1296     }
1297 
default_validateWindowRendererToggleButton_wrapper1298     virtual bool default_validateWindowRenderer( ::CEGUI::WindowRenderer const * renderer ) const {
1299         return CEGUI::Window::validateWindowRenderer( boost::python::ptr(renderer) );
1300     }
1301 
writeAutoChildWindowXMLToggleButton_wrapper1302     virtual bool writeAutoChildWindowXML( ::CEGUI::XMLSerializer & xml_stream ) const {
1303         if( bp::override func_writeAutoChildWindowXML = this->get_override( "writeAutoChildWindowXML" ) )
1304             return func_writeAutoChildWindowXML( boost::ref(xml_stream) );
1305         else{
1306             return this->CEGUI::Window::writeAutoChildWindowXML( boost::ref(xml_stream) );
1307         }
1308     }
1309 
default_writeAutoChildWindowXMLToggleButton_wrapper1310     virtual bool default_writeAutoChildWindowXML( ::CEGUI::XMLSerializer & xml_stream ) const {
1311         return CEGUI::Window::writeAutoChildWindowXML( boost::ref(xml_stream) );
1312     }
1313 
writeChildWindowsXMLToggleButton_wrapper1314     virtual int writeChildWindowsXML( ::CEGUI::XMLSerializer & xml_stream ) const {
1315         if( bp::override func_writeChildWindowsXML = this->get_override( "writeChildWindowsXML" ) )
1316             return func_writeChildWindowsXML( boost::ref(xml_stream) );
1317         else{
1318             return this->CEGUI::Window::writeChildWindowsXML( boost::ref(xml_stream) );
1319         }
1320     }
1321 
default_writeChildWindowsXMLToggleButton_wrapper1322     virtual int default_writeChildWindowsXML( ::CEGUI::XMLSerializer & xml_stream ) const {
1323         return CEGUI::Window::writeChildWindowsXML( boost::ref(xml_stream) );
1324     }
1325 
writePropertiesXMLToggleButton_wrapper1326     virtual int writePropertiesXML( ::CEGUI::XMLSerializer & xml_stream ) const {
1327         if( bp::override func_writePropertiesXML = this->get_override( "writePropertiesXML" ) )
1328             return func_writePropertiesXML( boost::ref(xml_stream) );
1329         else{
1330             return this->CEGUI::Window::writePropertiesXML( boost::ref(xml_stream) );
1331         }
1332     }
1333 
default_writePropertiesXMLToggleButton_wrapper1334     virtual int default_writePropertiesXML( ::CEGUI::XMLSerializer & xml_stream ) const {
1335         return CEGUI::Window::writePropertiesXML( boost::ref(xml_stream) );
1336     }
1337 
writeXMLToStreamToggleButton_wrapper1338     virtual void writeXMLToStream( ::CEGUI::XMLSerializer & xml_stream ) const  {
1339         if( bp::override func_writeXMLToStream = this->get_override( "writeXMLToStream" ) )
1340             func_writeXMLToStream( boost::ref(xml_stream) );
1341         else{
1342             this->CEGUI::Window::writeXMLToStream( boost::ref(xml_stream) );
1343         }
1344     }
1345 
default_writeXMLToStreamToggleButton_wrapper1346     void default_writeXMLToStream( ::CEGUI::XMLSerializer & xml_stream ) const  {
1347         CEGUI::Window::writeXMLToStream( boost::ref(xml_stream) );
1348     }
1349 
1350 };
1351 
register_ToggleButton_class()1352 void register_ToggleButton_class(){
1353 
1354     { //::CEGUI::ToggleButton
1355         typedef bp::class_< ToggleButton_wrapper, bp::bases< CEGUI::ButtonBase >, boost::noncopyable > ToggleButton_exposer_t;
1356         ToggleButton_exposer_t ToggleButton_exposer = ToggleButton_exposer_t( "ToggleButton", "! Class providing logic buttons that can have their selected state toggled.\n", bp::init< CEGUI::String const &, CEGUI::String const & >(( bp::arg("type"), bp::arg("name") )) );
1357         bp::scope ToggleButton_scope( ToggleButton_exposer );
1358         { //::CEGUI::ToggleButton::addToggleButtonProperties
1359 
1360             typedef void ( ToggleButton_wrapper::*addToggleButtonProperties_function_type )(  ) ;
1361 
1362             ToggleButton_exposer.def(
1363                 "addToggleButtonProperties"
1364                 , addToggleButtonProperties_function_type( &ToggleButton_wrapper::addToggleButtonProperties ) );
1365 
1366         }
1367         { //::CEGUI::ToggleButton::getPostClickSelectState
1368 
1369             typedef bool ( ToggleButton_wrapper::*getPostClickSelectState_function_type )(  ) const;
1370 
1371             ToggleButton_exposer.def(
1372                 "getPostClickSelectState"
1373                 , getPostClickSelectState_function_type( &ToggleButton_wrapper::default_getPostClickSelectState ) );
1374 
1375         }
1376         { //::CEGUI::ToggleButton::isSelected
1377 
1378             typedef bool ( ::CEGUI::ToggleButton::*isSelected_function_type )(  ) const;
1379 
1380             ToggleButton_exposer.def(
1381                 "isSelected"
1382                 , isSelected_function_type( &::CEGUI::ToggleButton::isSelected )
1383                 , "!returns true if the toggle button is in the selected state.\n" );
1384 
1385         }
1386         { //::CEGUI::ToggleButton::onMouseButtonUp
1387 
1388             typedef void ( ToggleButton_wrapper::*onMouseButtonUp_function_type )( ::CEGUI::MouseEventArgs & ) ;
1389 
1390             ToggleButton_exposer.def(
1391                 "onMouseButtonUp"
1392                 , onMouseButtonUp_function_type( &ToggleButton_wrapper::default_onMouseButtonUp )
1393                 , ( bp::arg("e") )
1394                 , "base class overriddes\n" );
1395 
1396         }
1397         { //::CEGUI::ToggleButton::onSelectStateChange
1398 
1399             typedef void ( ToggleButton_wrapper::*onSelectStateChange_function_type )( ::CEGUI::WindowEventArgs & ) ;
1400 
1401             ToggleButton_exposer.def(
1402                 "onSelectStateChange"
1403                 , onSelectStateChange_function_type( &ToggleButton_wrapper::default_onSelectStateChange )
1404                 , ( bp::arg("e") )
1405                 , "! event triggered internally when toggle button select state changes.\n" );
1406 
1407         }
1408         { //::CEGUI::ToggleButton::setSelected
1409 
1410             typedef void ( ::CEGUI::ToggleButton::*setSelected_function_type )( bool ) ;
1411 
1412             ToggleButton_exposer.def(
1413                 "setSelected"
1414                 , setSelected_function_type( &::CEGUI::ToggleButton::setSelected )
1415                 , ( bp::arg("select") )
1416                 , "! sets whether the toggle button is in the selected state.\n" );
1417 
1418         }
1419         ToggleButton_exposer.add_static_property( "EventSelectStateChanged"
1420                         , bp::make_getter( &CEGUI::ToggleButton::EventSelectStateChanged
1421                                 , bp::return_value_policy< bp::return_by_value >() ) );
1422         { //::CEGUI::Window::addChild_impl
1423 
1424             typedef void ( ToggleButton_wrapper::*addChild_impl_function_type )( ::CEGUI::Element * ) ;
1425 
1426             ToggleButton_exposer.def(
1427                 "addChild_impl"
1428                 , addChild_impl_function_type( &ToggleButton_wrapper::default_addChild_impl )
1429                 , ( bp::arg("element") )
1430                 , "*!\n\
1431             opydoc Element.addChild_impl\n\
1432             *\n" );
1433 
1434         }
1435         { //::CEGUI::Element::addElementProperties
1436 
1437             typedef void ( ToggleButton_wrapper::*addElementProperties_function_type )(  ) ;
1438 
1439             ToggleButton_exposer.def(
1440                 "addElementProperties"
1441                 , addElementProperties_function_type( &ToggleButton_wrapper::addElementProperties )
1442                 , "*!\n\
1443             \n\
1444                 Add standard CEGUI.Element properties.\n\
1445             *\n" );
1446 
1447         }
1448         { //::CEGUI::NamedElement::addNamedElementProperties
1449 
1450             typedef void ( ToggleButton_wrapper::*addNamedElementProperties_function_type )(  ) ;
1451 
1452             ToggleButton_exposer.def(
1453                 "addNamedElementProperties"
1454                 , addNamedElementProperties_function_type( &ToggleButton_wrapper::addNamedElementProperties )
1455                 , "*!\n\
1456              Add standard CEGUI.NamedElement properties.\n\
1457             *\n" );
1458 
1459         }
1460         { //::CEGUI::Window::addWindowProperties
1461 
1462             typedef void ( ToggleButton_wrapper::*addWindowProperties_function_type )(  ) ;
1463 
1464             ToggleButton_exposer.def(
1465                 "addWindowProperties"
1466                 , addWindowProperties_function_type( &ToggleButton_wrapper::addWindowProperties )
1467                 , "*!\n\
1468             \n\
1469                 Add standard CEGUI.Window properties.\n\
1470             *\n" );
1471 
1472         }
1473         { //::CEGUI::Window::addWindowToDrawList
1474 
1475             typedef void ( ToggleButton_wrapper::*addWindowToDrawList_function_type )( ::CEGUI::Window &,bool ) ;
1476 
1477             ToggleButton_exposer.def(
1478                 "addWindowToDrawList"
1479                 , addWindowToDrawList_function_type( &ToggleButton_wrapper::addWindowToDrawList )
1480                 , ( bp::arg("wnd"), bp::arg("at_back")=(bool)(false) )
1481                 , "*!\n\
1482                 \n\
1483                     Add the given window to the drawing list at an appropriate position for\n\
1484                     it's settings and the required direction.  Basically, when  at_back\n\
1485                     is false, the window will appear in front of all other windows with the\n\
1486                     same 'always on top' setting.  When  at_back is true, the window will\n\
1487                     appear behind all other windows wih the same 'always on top' setting.\n\
1488             \n\
1489                 @param wnd\n\
1490                     Window object to be added to the drawing list.\n\
1491             \n\
1492                 @param at_back\n\
1493                     Indicates whether the window should be placed at the back of other\n\
1494                     windows in the same group. If this is false, the window is placed in\n\
1495                     front of other windows in the group.\n\
1496             \n\
1497                 @return\n\
1498                     Nothing.\n\
1499                 *\n" );
1500 
1501         }
1502         { //::CEGUI::Window::allocateRenderingWindow
1503 
1504             typedef void ( ToggleButton_wrapper::*allocateRenderingWindow_function_type )(  ) ;
1505 
1506             ToggleButton_exposer.def(
1507                 "allocateRenderingWindow"
1508                 , allocateRenderingWindow_function_type( &ToggleButton_wrapper::allocateRenderingWindow )
1509                 , "! helper to create and setup the auto RenderingWindow surface\n" );
1510 
1511         }
1512         { //::CEGUI::Window::banPropertiesForAutoWindow
1513 
1514             typedef void ( ToggleButton_wrapper::*banPropertiesForAutoWindow_function_type )(  ) ;
1515 
1516             ToggleButton_exposer.def(
1517                 "banPropertiesForAutoWindow"
1518                 , banPropertiesForAutoWindow_function_type( &ToggleButton_wrapper::default_banPropertiesForAutoWindow ) );
1519 
1520         }
1521         { //::CEGUI::Window::beginInitialisation
1522 
1523             typedef void ( ::CEGUI::Window::*beginInitialisation_function_type )(  ) ;
1524             typedef void ( ToggleButton_wrapper::*default_beginInitialisation_function_type )(  ) ;
1525 
1526             ToggleButton_exposer.def(
1527                 "beginInitialisation"
1528                 , beginInitialisation_function_type(&::CEGUI::Window::beginInitialisation)
1529                 , default_beginInitialisation_function_type(&ToggleButton_wrapper::default_beginInitialisation) );
1530 
1531         }
1532         { //::CEGUI::Window::bufferGeometry
1533 
1534             typedef void ( ToggleButton_wrapper::*bufferGeometry_function_type )( ::CEGUI::RenderingContext const & ) ;
1535 
1536             ToggleButton_exposer.def(
1537                 "bufferGeometry"
1538                 , bufferGeometry_function_type( &ToggleButton_wrapper::bufferGeometry )
1539                 , ( bp::arg("ctx") )
1540                 , "*!\n\
1541                 \n\
1542                     Perform drawing operations concerned with generating and buffering\n\
1543                     window geometry.\n\
1544             \n\
1545                 \note\n\
1546                     This function is a sub-function of drawSelf; it is provided to make it\n\
1547                     easier to override drawSelf without needing to duplicate large sections\n\
1548                     of the code from the default implementation.\n\
1549                 *\n" );
1550 
1551         }
1552         { //::CEGUI::ButtonBase::calculateCurrentHoverState
1553 
1554             typedef bool ( ToggleButton_wrapper::*calculateCurrentHoverState_function_type )( ::CEGUI::Vector2f const & ) ;
1555 
1556             ToggleButton_exposer.def(
1557                 "calculateCurrentHoverState"
1558                 , calculateCurrentHoverState_function_type( &ToggleButton_wrapper::calculateCurrentHoverState )
1559                 , ( bp::arg("mouse_pos") ) );
1560 
1561         }
1562         { //::CEGUI::Window::cleanupChildren
1563 
1564             typedef void ( ToggleButton_wrapper::*cleanupChildren_function_type )(  ) ;
1565 
1566             ToggleButton_exposer.def(
1567                 "cleanupChildren"
1568                 , cleanupChildren_function_type( &ToggleButton_wrapper::default_cleanupChildren )
1569                 , "*!\n\
1570             \n\
1571                 Cleanup child windows\n\
1572             *\n" );
1573 
1574         }
1575         { //::CEGUI::Window::cloneChildWidgetsTo
1576 
1577             typedef void ( ::CEGUI::Window::*cloneChildWidgetsTo_function_type )( ::CEGUI::Window & ) const;
1578             typedef void ( ToggleButton_wrapper::*default_cloneChildWidgetsTo_function_type )( ::CEGUI::Window & ) const;
1579 
1580             ToggleButton_exposer.def(
1581                 "cloneChildWidgetsTo"
1582                 , cloneChildWidgetsTo_function_type(&::CEGUI::Window::cloneChildWidgetsTo)
1583                 , default_cloneChildWidgetsTo_function_type(&ToggleButton_wrapper::default_cloneChildWidgetsTo)
1584                 , ( bp::arg("target") ) );
1585 
1586         }
1587         { //::CEGUI::Window::clonePropertiesTo
1588 
1589             typedef void ( ::CEGUI::Window::*clonePropertiesTo_function_type )( ::CEGUI::Window & ) const;
1590             typedef void ( ToggleButton_wrapper::*default_clonePropertiesTo_function_type )( ::CEGUI::Window & ) const;
1591 
1592             ToggleButton_exposer.def(
1593                 "clonePropertiesTo"
1594                 , clonePropertiesTo_function_type(&::CEGUI::Window::clonePropertiesTo)
1595                 , default_clonePropertiesTo_function_type(&ToggleButton_wrapper::default_clonePropertiesTo)
1596                 , ( bp::arg("target") ) );
1597 
1598         }
1599         { //::CEGUI::Window::destroy
1600 
1601             typedef void ( ::CEGUI::Window::*destroy_function_type )(  ) ;
1602             typedef void ( ToggleButton_wrapper::*default_destroy_function_type )(  ) ;
1603 
1604             ToggleButton_exposer.def(
1605                 "destroy"
1606                 , destroy_function_type(&::CEGUI::Window::destroy)
1607                 , default_destroy_function_type(&ToggleButton_wrapper::default_destroy) );
1608 
1609         }
1610         { //::CEGUI::Window::drawSelf
1611 
1612             typedef void ( ToggleButton_wrapper::*drawSelf_function_type )( ::CEGUI::RenderingContext const & ) ;
1613 
1614             ToggleButton_exposer.def(
1615                 "drawSelf"
1616                 , drawSelf_function_type( &ToggleButton_wrapper::default_drawSelf )
1617                 , ( bp::arg("ctx") )
1618                 , "*!\n\
1619                 \n\
1620                     Perform the actual rendering for this Window.\n\
1621             \n\
1622                 @param ctx\n\
1623                     RenderingContext holding the details of the RenderingSurface to be\n\
1624                     used for the Window rendering operations.\n\
1625             \n\
1626                 @return\n\
1627                     Nothing\n\
1628                 *\n" );
1629 
1630         }
1631         { //::CEGUI::Window::endInitialisation
1632 
1633             typedef void ( ::CEGUI::Window::*endInitialisation_function_type )(  ) ;
1634             typedef void ( ToggleButton_wrapper::*default_endInitialisation_function_type )(  ) ;
1635 
1636             ToggleButton_exposer.def(
1637                 "endInitialisation"
1638                 , endInitialisation_function_type(&::CEGUI::Window::endInitialisation)
1639                 , default_endInitialisation_function_type(&ToggleButton_wrapper::default_endInitialisation) );
1640 
1641         }
1642         { //::CEGUI::Element::fireAreaChangeEvents
1643 
1644             typedef void ( ToggleButton_wrapper::*fireAreaChangeEvents_function_type )( bool const,bool const ) ;
1645 
1646             ToggleButton_exposer.def(
1647                 "fireAreaChangeEvents"
1648                 , fireAreaChangeEvents_function_type( &ToggleButton_wrapper::fireAreaChangeEvents )
1649                 , ( bp::arg("moved"), bp::arg("sized") )
1650                 , "! helper to fire events based on changes to area rect\n" );
1651 
1652         }
1653         { //::CEGUI::EventSet::fireEvent
1654 
1655             typedef void ( ::CEGUI::EventSet::*fireEvent_function_type )( ::CEGUI::String const &,::CEGUI::EventArgs &,::CEGUI::String const & ) ;
1656             typedef void ( ToggleButton_wrapper::*default_fireEvent_function_type )( ::CEGUI::String const &,::CEGUI::EventArgs &,::CEGUI::String const & ) ;
1657 
1658             ToggleButton_exposer.def(
1659                 "fireEvent"
1660                 , fireEvent_function_type(&::CEGUI::EventSet::fireEvent)
1661                 , default_fireEvent_function_type(&ToggleButton_wrapper::default_fireEvent)
1662                 , ( bp::arg("name"), bp::arg("args"), bp::arg("eventNamespace")="" ) );
1663 
1664         }
1665         { //::CEGUI::EventSet::fireEvent_impl
1666 
1667             typedef void ( ToggleButton_wrapper::*fireEvent_impl_function_type )( ::CEGUI::String const &,::CEGUI::EventArgs & ) ;
1668 
1669             ToggleButton_exposer.def(
1670                 "fireEvent_impl"
1671                 , fireEvent_impl_function_type( &ToggleButton_wrapper::fireEvent_impl )
1672                 , ( bp::arg("name"), bp::arg("args") )
1673                 , "! Implementation event firing member\n" );
1674 
1675         }
1676         { //::CEGUI::Window::generateAutoRepeatEvent
1677 
1678             typedef void ( ToggleButton_wrapper::*generateAutoRepeatEvent_function_type )( ::CEGUI::MouseButton ) ;
1679 
1680             ToggleButton_exposer.def(
1681                 "generateAutoRepeatEvent"
1682                 , generateAutoRepeatEvent_function_type( &ToggleButton_wrapper::generateAutoRepeatEvent )
1683                 , ( bp::arg("button") )
1684                 , "*!\n\
1685             \n\
1686                 Fires off a repeated mouse button down event for this window.\n\
1687             *\n" );
1688 
1689         }
1690         { //::CEGUI::NamedElement::getChildByNamePath_impl
1691 
1692             typedef ::CEGUI::NamedElement * ( ToggleButton_wrapper::*getChildByNamePath_impl_function_type )( ::CEGUI::String const & ) const;
1693 
1694             ToggleButton_exposer.def(
1695                 "getChildByNamePath_impl"
1696                 , getChildByNamePath_impl_function_type( &ToggleButton_wrapper::default_getChildByNamePath_impl )
1697                 , ( bp::arg("name_path") )
1698                 , bp::return_value_policy< bp::reference_existing_object >()
1699                 , "*!\n\
1700              Retrieves a child at  name_path or 0 if none such exists\n\
1701             *\n" );
1702 
1703         }
1704         { //::CEGUI::NamedElement::getChildByNameRecursive_impl
1705 
1706             typedef ::CEGUI::NamedElement * ( ToggleButton_wrapper::*getChildByNameRecursive_impl_function_type )( ::CEGUI::String const & ) const;
1707 
1708             ToggleButton_exposer.def(
1709                 "getChildByNameRecursive_impl"
1710                 , getChildByNameRecursive_impl_function_type( &ToggleButton_wrapper::default_getChildByNameRecursive_impl )
1711                 , ( bp::arg("name") )
1712                 , bp::return_value_policy< bp::reference_existing_object >()
1713                 , "*!\n\
1714              Finds a child by  name or 0 if none such exists\n\
1715             *\n" );
1716 
1717         }
1718         { //::CEGUI::Element::getClientChildContentArea
1719 
1720             typedef ::CEGUI::Element::CachedRectf const & ( ::CEGUI::Element::*getClientChildContentArea_function_type )(  ) const;
1721 
1722             ToggleButton_exposer.def(
1723                 "getClientChildContentArea"
1724                 , getClientChildContentArea_function_type(&::CEGUI::Element::getClientChildContentArea)
1725                 , bp::return_value_policy< bp::copy_const_reference >() );
1726 
1727         }
1728         { //::CEGUI::Window::getHitTestRect_impl
1729 
1730             typedef ::CEGUI::Rectf ( ToggleButton_wrapper::*getHitTestRect_impl_function_type )(  ) const;
1731 
1732             ToggleButton_exposer.def(
1733                 "getHitTestRect_impl"
1734                 , getHitTestRect_impl_function_type( &ToggleButton_wrapper::default_getHitTestRect_impl )
1735                 , "! Default implementation of function to return Window inner clipper area.\n\
1736             ! Default implementation of function to return Window hit-test area.\n" );
1737 
1738         }
1739         { //::CEGUI::Window::getInnerRectClipper_impl
1740 
1741             typedef ::CEGUI::Rectf ( ToggleButton_wrapper::*getInnerRectClipper_impl_function_type )(  ) const;
1742 
1743             ToggleButton_exposer.def(
1744                 "getInnerRectClipper_impl"
1745                 , getInnerRectClipper_impl_function_type( &ToggleButton_wrapper::default_getInnerRectClipper_impl )
1746                 , "! Default implementation of function to return Window outer clipper area.\n\
1747             ! Default implementation of function to return Window inner clipper area.\n" );
1748 
1749         }
1750         { //::CEGUI::Element::getNonClientChildContentArea
1751 
1752             typedef ::CEGUI::Element::CachedRectf const & ( ::CEGUI::Element::*getNonClientChildContentArea_function_type )(  ) const;
1753 
1754             ToggleButton_exposer.def(
1755                 "getNonClientChildContentArea"
1756                 , getNonClientChildContentArea_function_type(&::CEGUI::Element::getNonClientChildContentArea)
1757                 , bp::return_value_policy< bp::copy_const_reference >() );
1758 
1759         }
1760         { //::CEGUI::Window::getOuterRectClipper_impl
1761 
1762             typedef ::CEGUI::Rectf ( ToggleButton_wrapper::*getOuterRectClipper_impl_function_type )(  ) const;
1763 
1764             ToggleButton_exposer.def(
1765                 "getOuterRectClipper_impl"
1766                 , getOuterRectClipper_impl_function_type( &ToggleButton_wrapper::default_getOuterRectClipper_impl )
1767                 , "! Default implementation of function to return Window outer clipper area.\n" );
1768 
1769         }
1770         { //::CEGUI::Window::getParentElementClipIntersection
1771 
1772             typedef ::CEGUI::Rectf ( ToggleButton_wrapper::*getParentElementClipIntersection_function_type )( ::CEGUI::Rectf const & ) const;
1773 
1774             ToggleButton_exposer.def(
1775                 "getParentElementClipIntersection"
1776                 , getParentElementClipIntersection_function_type( &ToggleButton_wrapper::getParentElementClipIntersection )
1777                 , ( bp::arg("unclipped_area") )
1778                 , "! helper function for calculating clipping rectangles.\n" );
1779 
1780         }
1781         { //::CEGUI::Window::getRenderedStringParser
1782 
1783             typedef ::CEGUI::RenderedStringParser & ( ::CEGUI::Window::*getRenderedStringParser_function_type )(  ) const;
1784 
1785             ToggleButton_exposer.def(
1786                 "getRenderedStringParser"
1787                 , getRenderedStringParser_function_type(&::CEGUI::Window::getRenderedStringParser)
1788                 , bp::return_value_policy< bp::reference_existing_object >() );
1789 
1790         }
1791         { //::CEGUI::Window::getRenderingContext_impl
1792 
1793             typedef void ( ::CEGUI::Window::*getRenderingContext_impl_function_type )( ::CEGUI::RenderingContext & ) const;
1794             typedef void ( ToggleButton_wrapper::*default_getRenderingContext_impl_function_type )( ::CEGUI::RenderingContext & ) const;
1795 
1796             ToggleButton_exposer.def(
1797                 "getRenderingContext_impl"
1798                 , getRenderingContext_impl_function_type(&::CEGUI::Window::getRenderingContext_impl)
1799                 , default_getRenderingContext_impl_function_type(&ToggleButton_wrapper::default_getRenderingContext_impl)
1800                 , ( bp::arg("ctx") ) );
1801 
1802         }
1803         { //::CEGUI::Window::getRootContainerSize
1804 
1805             typedef ::CEGUI::Sizef const & ( ::CEGUI::Window::*getRootContainerSize_function_type )(  ) const;
1806 
1807             ToggleButton_exposer.def(
1808                 "getRootContainerSize"
1809                 , getRootContainerSize_function_type(&::CEGUI::Window::getRootContainerSize)
1810                 , bp::return_value_policy< bp::copy_const_reference >() );
1811 
1812         }
1813         { //::CEGUI::EventSet::getScriptModule
1814 
1815             typedef ::CEGUI::ScriptModule * ( ToggleButton_wrapper::*getScriptModule_function_type )(  ) const;
1816 
1817             ToggleButton_exposer.def(
1818                 "getScriptModule"
1819                 , getScriptModule_function_type( &ToggleButton_wrapper::getScriptModule )
1820                 , bp::return_value_policy< bp::reference_existing_object >()
1821                 , "! Implementation event firing member\n\
1822             ! Helper to return the script module pointer or throw.\n" );
1823 
1824         }
1825         { //::CEGUI::Window::getUnclippedInnerRect_impl
1826 
1827             typedef ::CEGUI::Rectf ( ToggleButton_wrapper::*getUnclippedInnerRect_impl_function_type )( bool ) const;
1828 
1829             ToggleButton_exposer.def(
1830                 "getUnclippedInnerRect_impl"
1831                 , getUnclippedInnerRect_impl_function_type( &ToggleButton_wrapper::default_getUnclippedInnerRect_impl )
1832                 , ( bp::arg("skipAllPixelAlignment") ) );
1833 
1834         }
1835         { //::CEGUI::Element::getUnclippedOuterRect_impl
1836 
1837             typedef ::CEGUI::Rectf ( ToggleButton_wrapper::*getUnclippedOuterRect_impl_function_type )( bool ) const;
1838 
1839             ToggleButton_exposer.def(
1840                 "getUnclippedOuterRect_impl"
1841                 , getUnclippedOuterRect_impl_function_type( &ToggleButton_wrapper::default_getUnclippedOuterRect_impl )
1842                 , ( bp::arg("skipAllPixelAlignment") )
1843                 , "! Default implementation of function to return Element's outer rect area.\n" );
1844 
1845         }
1846         { //::CEGUI::Window::getWindowAttachedToCommonAncestor
1847 
1848             typedef ::CEGUI::Window const * ( ToggleButton_wrapper::*getWindowAttachedToCommonAncestor_function_type )( ::CEGUI::Window const & ) const;
1849 
1850             ToggleButton_exposer.def(
1851                 "getWindowAttachedToCommonAncestor"
1852                 , getWindowAttachedToCommonAncestor_function_type( &ToggleButton_wrapper::getWindowAttachedToCommonAncestor )
1853                 , ( bp::arg("wnd") )
1854                 , bp::return_value_policy< bp::reference_existing_object >()
1855                 , "*!\n\
1856             \n\
1857                 Helper function to return the ancestor Window of a wnd that is attached\n\
1858                 as a child to a window that is also an ancestor of a this.  Returns 0\n\
1859                 if a wnd and a this are not part of the same hierachy.\n\
1860              *\n" );
1861 
1862         }
1863         { //::CEGUI::Window::handleFontRenderSizeChange
1864 
1865             typedef bool ( ToggleButton_wrapper::*handleFontRenderSizeChange_function_type )( ::CEGUI::EventArgs const & ) ;
1866 
1867             ToggleButton_exposer.def(
1868                 "handleFontRenderSizeChange"
1869                 , handleFontRenderSizeChange_function_type( &ToggleButton_wrapper::default_handleFontRenderSizeChange )
1870                 , ( bp::arg("args") )
1871                 , "! handler function for when font render size changes.\n" );
1872 
1873         }
1874         { //::CEGUI::Window::initialiseClippers
1875 
1876             typedef void ( ToggleButton_wrapper::*initialiseClippers_function_type )( ::CEGUI::RenderingContext const & ) ;
1877 
1878             ToggleButton_exposer.def(
1879                 "initialiseClippers"
1880                 , initialiseClippers_function_type( &ToggleButton_wrapper::initialiseClippers )
1881                 , ( bp::arg("ctx") )
1882                 , "! Helper to intialise the needed clipping for geometry and render surface.\n" );
1883 
1884         }
1885         { //::CEGUI::Window::initialiseComponents
1886 
1887             typedef void ( ::CEGUI::Window::*initialiseComponents_function_type )(  ) ;
1888             typedef void ( ToggleButton_wrapper::*default_initialiseComponents_function_type )(  ) ;
1889 
1890             ToggleButton_exposer.def(
1891                 "initialiseComponents"
1892                 , initialiseComponents_function_type(&::CEGUI::Window::initialiseComponents)
1893                 , default_initialiseComponents_function_type(&ToggleButton_wrapper::default_initialiseComponents) );
1894 
1895         }
1896         { //::CEGUI::Window::invalidate_impl
1897 
1898             typedef void ( ToggleButton_wrapper::*invalidate_impl_function_type )( bool const ) ;
1899 
1900             ToggleButton_exposer.def(
1901                 "invalidate_impl"
1902                 , invalidate_impl_function_type( &ToggleButton_wrapper::invalidate_impl )
1903                 , ( bp::arg("recursive") )
1904                 , "! helper function to invalidate window and optionally child windows.\n" );
1905 
1906         }
1907         { //::CEGUI::Window::isHit
1908 
1909             typedef bool ( ::CEGUI::Window::*isHit_function_type )( ::CEGUI::Vector2f const &,bool const ) const;
1910             typedef bool ( ToggleButton_wrapper::*default_isHit_function_type )( ::CEGUI::Vector2f const &,bool const ) const;
1911 
1912             ToggleButton_exposer.def(
1913                 "isHit"
1914                 , isHit_function_type(&::CEGUI::Window::isHit)
1915                 , default_isHit_function_type(&ToggleButton_wrapper::default_isHit)
1916                 , ( bp::arg("position"), bp::arg("allow_disabled")=(bool const)(false) ) );
1917 
1918         }
1919         { //::CEGUI::Window::isHitTargetWindow
1920 
1921             typedef bool ( ToggleButton_wrapper::*isHitTargetWindow_function_type )( ::CEGUI::Vector2f const &,bool ) const;
1922 
1923             ToggleButton_exposer.def(
1924                 "isHitTargetWindow"
1925                 , isHitTargetWindow_function_type( &ToggleButton_wrapper::isHitTargetWindow )
1926                 , ( bp::arg("position"), bp::arg("allow_disabled") ) );
1927 
1928         }
1929         { //::CEGUI::Element::isInnerRectSizeChanged
1930 
1931             typedef bool ( ToggleButton_wrapper::*isInnerRectSizeChanged_function_type )(  ) const;
1932 
1933             ToggleButton_exposer.def(
1934                 "isInnerRectSizeChanged"
1935                 , isInnerRectSizeChanged_function_type( &ToggleButton_wrapper::isInnerRectSizeChanged )
1936                 , "! helper to return whether the inner rect size has changed\n" );
1937 
1938         }
1939         { //::CEGUI::Window::isPropertyAtDefault
1940 
1941             typedef bool ( ToggleButton_wrapper::*isPropertyAtDefault_function_type )( ::CEGUI::Property const * ) const;
1942 
1943             ToggleButton_exposer.def(
1944                 "isPropertyAtDefault"
1945                 , isPropertyAtDefault_function_type( &ToggleButton_wrapper::isPropertyAtDefault )
1946                 , ( bp::arg("property") )
1947                 , "*!\n\
1948             \n\
1949                 Returns whether a property is at it's default value.\n\
1950                 This function is different from Property.isDefatult as it takes the assigned look'n'feel\n\
1951                 (if the is one) into account.\n\
1952             *\n" );
1953 
1954         }
1955         { //::CEGUI::Window::isTopOfZOrder
1956 
1957             typedef bool ( ToggleButton_wrapper::*isTopOfZOrder_function_type )(  ) const;
1958 
1959             ToggleButton_exposer.def(
1960                 "isTopOfZOrder"
1961                 , isTopOfZOrder_function_type( &ToggleButton_wrapper::isTopOfZOrder )
1962                 , "*!\n\
1963                 \n\
1964                     Return whether the window is at the top of the Z-Order.  This will\n\
1965                     correctly take into account 'Always on top' windows as needed.\n\
1966             \n\
1967                 @return\n\
1968                     - true if the Window is at the top of the z-order in relation to sibling\n\
1969                       windows with the same 'always on top' setting.\n\
1970                     - false if the Window is not at the top of the z-order in relation to\n\
1971                       sibling windows with the same 'always on top' setting.\n\
1972                 *\n" );
1973 
1974         }
1975         { //::CEGUI::Window::layoutLookNFeelChildWidgets
1976 
1977             typedef void ( ToggleButton_wrapper::*layoutLookNFeelChildWidgets_function_type )(  ) ;
1978 
1979             ToggleButton_exposer.def(
1980                 "layoutLookNFeelChildWidgets"
1981                 , layoutLookNFeelChildWidgets_function_type( &ToggleButton_wrapper::layoutLookNFeelChildWidgets )
1982                 , "mark the rect caches defined on Window invalid (does not affect Element)\n" );
1983 
1984         }
1985         { //::CEGUI::Window::markCachedWindowRectsInvalid
1986 
1987             typedef void ( ToggleButton_wrapper::*markCachedWindowRectsInvalid_function_type )(  ) ;
1988 
1989             ToggleButton_exposer.def(
1990                 "markCachedWindowRectsInvalid"
1991                 , markCachedWindowRectsInvalid_function_type( &ToggleButton_wrapper::markCachedWindowRectsInvalid )
1992                 , "mark the rect caches defined on Window invalid (does not affect Element)\n" );
1993 
1994         }
1995         { //::CEGUI::Window::moveToFront_impl
1996 
1997             typedef bool ( ToggleButton_wrapper::*moveToFront_impl_function_type )( bool ) ;
1998 
1999             ToggleButton_exposer.def(
2000                 "moveToFront_impl"
2001                 , moveToFront_impl_function_type( &ToggleButton_wrapper::default_moveToFront_impl )
2002                 , ( bp::arg("wasClicked") )
2003                 , "*!\n\
2004                 \n\
2005                     Implements move to front behavior.\n\
2006             \n\
2007                 @return\n\
2008                     Should return true if some action was taken, or false if there was\n\
2009                     nothing to be done.\n\
2010                 *\n" );
2011 
2012         }
2013         { //::CEGUI::Element::notifyChildrenOfSizeChange
2014 
2015             typedef void ( ToggleButton_wrapper::*notifyChildrenOfSizeChange_function_type )( bool const,bool const ) ;
2016 
2017             ToggleButton_exposer.def(
2018                 "notifyChildrenOfSizeChange"
2019                 , notifyChildrenOfSizeChange_function_type( &ToggleButton_wrapper::notifyChildrenOfSizeChange )
2020                 , ( bp::arg("non_client"), bp::arg("client") ) );
2021 
2022         }
2023         { //::CEGUI::Window::notifyClippingChanged
2024 
2025             typedef void ( ToggleButton_wrapper::*notifyClippingChanged_function_type )(  ) ;
2026 
2027             ToggleButton_exposer.def(
2028                 "notifyClippingChanged"
2029                 , notifyClippingChanged_function_type( &ToggleButton_wrapper::notifyClippingChanged )
2030                 , "*!\n\
2031             \n\
2032                 Recursively inform all children that the clipping has changed and screen rects\n\
2033                 needs to be recached.\n\
2034             *\n" );
2035 
2036         }
2037         { //::CEGUI::Window::notifyScreenAreaChanged
2038 
2039             typedef void ( ::CEGUI::Window::*notifyScreenAreaChanged_function_type )( bool ) ;
2040             typedef void ( ToggleButton_wrapper::*default_notifyScreenAreaChanged_function_type )( bool ) ;
2041 
2042             ToggleButton_exposer.def(
2043                 "notifyScreenAreaChanged"
2044                 , notifyScreenAreaChanged_function_type(&::CEGUI::Window::notifyScreenAreaChanged)
2045                 , default_notifyScreenAreaChanged_function_type(&ToggleButton_wrapper::default_notifyScreenAreaChanged)
2046                 , ( bp::arg("recursive")=(bool)(true) ) );
2047 
2048         }
2049         { //::CEGUI::Window::onActivated
2050 
2051             typedef void ( ToggleButton_wrapper::*onActivated_function_type )( ::CEGUI::ActivationEventArgs & ) ;
2052 
2053             ToggleButton_exposer.def(
2054                 "onActivated"
2055                 , onActivated_function_type( &ToggleButton_wrapper::default_onActivated )
2056                 , ( bp::arg("e") )
2057                 , "*!\n\
2058                 \n\
2059                     Handler called when this window has become the active window.\n\
2060             \n\
2061                 @param e\n\
2062                     ActivationEventArgs class whose 'otherWindow' field is set to the window\n\
2063                     that previously was active, or NULL for none.\n\
2064                 *\n" );
2065 
2066         }
2067         { //::CEGUI::Window::onAlphaChanged
2068 
2069             typedef void ( ToggleButton_wrapper::*onAlphaChanged_function_type )( ::CEGUI::WindowEventArgs & ) ;
2070 
2071             ToggleButton_exposer.def(
2072                 "onAlphaChanged"
2073                 , onAlphaChanged_function_type( &ToggleButton_wrapper::default_onAlphaChanged )
2074                 , ( bp::arg("e") )
2075                 , "*!\n\
2076                 \n\
2077                     Handler called when the window's alpha blend value is changed.\n\
2078             \n\
2079                 @param e\n\
2080                     WindowEventArgs object whose 'window' pointer field is set to the window\n\
2081                     that triggered the event.  For this event the trigger window is always\n\
2082                     'this'.\n\
2083                 *\n" );
2084 
2085         }
2086         { //::CEGUI::Window::onAlwaysOnTopChanged
2087 
2088             typedef void ( ToggleButton_wrapper::*onAlwaysOnTopChanged_function_type )( ::CEGUI::WindowEventArgs & ) ;
2089 
2090             ToggleButton_exposer.def(
2091                 "onAlwaysOnTopChanged"
2092                 , onAlwaysOnTopChanged_function_type( &ToggleButton_wrapper::default_onAlwaysOnTopChanged )
2093                 , ( bp::arg("e") )
2094                 , "*!\n\
2095                 \n\
2096                     Handler called when the window's always-on-top setting is changed.\n\
2097             \n\
2098                 @param e\n\
2099                     WindowEventArgs object whose 'window' pointer field is set to the window\n\
2100                     that triggered the event.  For this event the trigger window is always\n\
2101                     'this'.\n\
2102                 *\n" );
2103 
2104         }
2105         { //::CEGUI::Window::onCaptureGained
2106 
2107             typedef void ( ToggleButton_wrapper::*onCaptureGained_function_type )( ::CEGUI::WindowEventArgs & ) ;
2108 
2109             ToggleButton_exposer.def(
2110                 "onCaptureGained"
2111                 , onCaptureGained_function_type( &ToggleButton_wrapper::default_onCaptureGained )
2112                 , ( bp::arg("e") )
2113                 , "*!\n\
2114                 \n\
2115                     Handler called when this window gains capture of mouse inputs.\n\
2116             \n\
2117                 @param e\n\
2118                     WindowEventArgs object whose 'window' pointer field is set to the window\n\
2119                     that triggered the event.  For this event the trigger window is always\n\
2120                     'this'.\n\
2121                 *\n" );
2122 
2123         }
2124         { //::CEGUI::ButtonBase::onCaptureLost
2125 
2126             typedef void ( ToggleButton_wrapper::*onCaptureLost_function_type )( ::CEGUI::WindowEventArgs & ) ;
2127 
2128             ToggleButton_exposer.def(
2129                 "onCaptureLost"
2130                 , onCaptureLost_function_type( &ToggleButton_wrapper::default_onCaptureLost )
2131                 , ( bp::arg("e") ) );
2132 
2133         }
2134         { //::CEGUI::Window::onCharacter
2135 
2136             typedef void ( ToggleButton_wrapper::*onCharacter_function_type )( ::CEGUI::KeyEventArgs & ) ;
2137 
2138             ToggleButton_exposer.def(
2139                 "onCharacter"
2140                 , onCharacter_function_type( &ToggleButton_wrapper::default_onCharacter )
2141                 , ( bp::arg("e") )
2142                 , "*!\n\
2143                 \n\
2144                     Handler called when a character-key has been pressed while this window\n\
2145                     has input focus.\n\
2146             \n\
2147                 @param e\n\
2148                     KeyEventArgs object whose 'codepoint' field is set to the Unicode code\n\
2149                     point (encoded as utf32) for the character typed, and whose 'sysKeys'\n\
2150                     field represents the combination of SystemKey that were active when the\n\
2151                     event was generated.  All other fields should be considered as 'junk'.\n\
2152                 *\n" );
2153 
2154         }
2155         { //::CEGUI::Window::onChildAdded
2156 
2157             typedef void ( ToggleButton_wrapper::*onChildAdded_function_type )( ::CEGUI::ElementEventArgs & ) ;
2158 
2159             ToggleButton_exposer.def(
2160                 "onChildAdded"
2161                 , onChildAdded_function_type( &ToggleButton_wrapper::default_onChildAdded )
2162                 , ( bp::arg("e") )
2163                 , "*!\n\
2164                 \n\
2165                     Handler called when a child window is added to this window.\n\
2166             \n\
2167                 @param e\n\
2168                     WindowEventArgs object whose 'window' pointer field is set to the window\n\
2169                     that has been added.\n\
2170                 *\n" );
2171 
2172         }
2173         { //::CEGUI::Window::onChildRemoved
2174 
2175             typedef void ( ToggleButton_wrapper::*onChildRemoved_function_type )( ::CEGUI::ElementEventArgs & ) ;
2176 
2177             ToggleButton_exposer.def(
2178                 "onChildRemoved"
2179                 , onChildRemoved_function_type( &ToggleButton_wrapper::default_onChildRemoved )
2180                 , ( bp::arg("e") )
2181                 , "*!\n\
2182                 \n\
2183                     Handler called when a child window is removed from this window.\n\
2184             \n\
2185                 @param e\n\
2186                     WindowEventArgs object whose 'window' pointer field is set the window\n\
2187                     that has been removed.\n\
2188                 *\n" );
2189 
2190         }
2191         { //::CEGUI::Window::onClippingChanged
2192 
2193             typedef void ( ToggleButton_wrapper::*onClippingChanged_function_type )( ::CEGUI::WindowEventArgs & ) ;
2194 
2195             ToggleButton_exposer.def(
2196                 "onClippingChanged"
2197                 , onClippingChanged_function_type( &ToggleButton_wrapper::default_onClippingChanged )
2198                 , ( bp::arg("e") )
2199                 , "*!\n\
2200                 \n\
2201                     Handler called when the window's setting for being clipped by it's\n\
2202                     parent is changed.\n\
2203             \n\
2204                 @param e\n\
2205                     WindowEventArgs object whose 'window' pointer field is set to the window\n\
2206                     that triggered the event.  For this event the trigger window is always\n\
2207                     'this'.\n\
2208                 *\n" );
2209 
2210         }
2211         { //::CEGUI::Window::onDeactivated
2212 
2213             typedef void ( ToggleButton_wrapper::*onDeactivated_function_type )( ::CEGUI::ActivationEventArgs & ) ;
2214 
2215             ToggleButton_exposer.def(
2216                 "onDeactivated"
2217                 , onDeactivated_function_type( &ToggleButton_wrapper::default_onDeactivated )
2218                 , ( bp::arg("e") )
2219                 , "*!\n\
2220                 \n\
2221                     Handler called when this window has lost input focus and has been\n\
2222                     deactivated.\n\
2223             \n\
2224                 @param e\n\
2225                     ActivationEventArgs object whose 'otherWindow' field is set to the\n\
2226                     window that has now become active, or NULL for none.\n\
2227                 *\n" );
2228 
2229         }
2230         { //::CEGUI::Window::onDestructionStarted
2231 
2232             typedef void ( ToggleButton_wrapper::*onDestructionStarted_function_type )( ::CEGUI::WindowEventArgs & ) ;
2233 
2234             ToggleButton_exposer.def(
2235                 "onDestructionStarted"
2236                 , onDestructionStarted_function_type( &ToggleButton_wrapper::default_onDestructionStarted )
2237                 , ( bp::arg("e") )
2238                 , "*!\n\
2239                 \n\
2240                     Handler called when this window's destruction sequence has begun.\n\
2241             \n\
2242                 @param e\n\
2243                     WindowEventArgs object whose 'window' pointer field is set to the window\n\
2244                     that triggered the event.  For this event the trigger window is always\n\
2245                     'this'.\n\
2246                 *\n" );
2247 
2248         }
2249         { //::CEGUI::Window::onDisabled
2250 
2251             typedef void ( ToggleButton_wrapper::*onDisabled_function_type )( ::CEGUI::WindowEventArgs & ) ;
2252 
2253             ToggleButton_exposer.def(
2254                 "onDisabled"
2255                 , onDisabled_function_type( &ToggleButton_wrapper::default_onDisabled )
2256                 , ( bp::arg("e") )
2257                 , "*!\n\
2258                 \n\
2259                     Handler called when the window is disabled.\n\
2260             \n\
2261                 @param e\n\
2262                     WindowEventArgs object whose 'window' pointer field is set to the window\n\
2263                     that triggered the event.  For this event the trigger window is always\n\
2264                     'this'.\n\
2265                 *\n" );
2266 
2267         }
2268         { //::CEGUI::Window::onDragDropItemDropped
2269 
2270             typedef void ( ToggleButton_wrapper::*onDragDropItemDropped_function_type )( ::CEGUI::DragDropEventArgs & ) ;
2271 
2272             ToggleButton_exposer.def(
2273                 "onDragDropItemDropped"
2274                 , onDragDropItemDropped_function_type( &ToggleButton_wrapper::default_onDragDropItemDropped )
2275                 , ( bp::arg("e") )
2276                 , "*!\n\
2277                 \n\
2278                     Handler called when a DragContainer is dragged over this window.\n\
2279             \n\
2280                 @param e\n\
2281                     DragDropEventArgs object initialised as follows:\n\
2282                     - window field is normaly set to point to 'this' window.\n\
2283                     - dragDropItem is a pointer to a DragContainer window that triggered\n\
2284                       the event.\n\
2285                 *\n" );
2286 
2287         }
2288         { //::CEGUI::Window::onDragDropItemEnters
2289 
2290             typedef void ( ToggleButton_wrapper::*onDragDropItemEnters_function_type )( ::CEGUI::DragDropEventArgs & ) ;
2291 
2292             ToggleButton_exposer.def(
2293                 "onDragDropItemEnters"
2294                 , onDragDropItemEnters_function_type( &ToggleButton_wrapper::default_onDragDropItemEnters )
2295                 , ( bp::arg("e") )
2296                 , "*!\n\
2297                 \n\
2298                     Handler called when a DragContainer is dragged over this window.\n\
2299             \n\
2300                 @param e\n\
2301                     DragDropEventArgs object initialised as follows:\n\
2302                     - window field is normaly set to point to 'this' window.\n\
2303                     - dragDropItem is a pointer to a DragContainer window that triggered\n\
2304                       the event.\n\
2305                 *\n" );
2306 
2307         }
2308         { //::CEGUI::Window::onDragDropItemLeaves
2309 
2310             typedef void ( ToggleButton_wrapper::*onDragDropItemLeaves_function_type )( ::CEGUI::DragDropEventArgs & ) ;
2311 
2312             ToggleButton_exposer.def(
2313                 "onDragDropItemLeaves"
2314                 , onDragDropItemLeaves_function_type( &ToggleButton_wrapper::default_onDragDropItemLeaves )
2315                 , ( bp::arg("e") )
2316                 , "*!\n\
2317                 \n\
2318                     Handler called when a DragContainer is dragged over this window.\n\
2319             \n\
2320                 @param e\n\
2321                     DragDropEventArgs object initialised as follows:\n\
2322                     - window field is normaly set to point to 'this' window.\n\
2323                     - dragDropItem is a pointer to a DragContainer window that triggered\n\
2324                       the event.\n\
2325                 *\n" );
2326 
2327         }
2328         { //::CEGUI::Window::onEnabled
2329 
2330             typedef void ( ToggleButton_wrapper::*onEnabled_function_type )( ::CEGUI::WindowEventArgs & ) ;
2331 
2332             ToggleButton_exposer.def(
2333                 "onEnabled"
2334                 , onEnabled_function_type( &ToggleButton_wrapper::default_onEnabled )
2335                 , ( bp::arg("e") )
2336                 , "*!\n\
2337                 \n\
2338                     Handler called when the window is enabled.\n\
2339             \n\
2340                 @param e\n\
2341                     WindowEventArgs object whose 'window' pointer field is set to the window\n\
2342                     that triggered the event.  For this event the trigger window is always\n\
2343                     'this'.\n\
2344                 *\n" );
2345 
2346         }
2347         { //::CEGUI::Window::onFontChanged
2348 
2349             typedef void ( ToggleButton_wrapper::*onFontChanged_function_type )( ::CEGUI::WindowEventArgs & ) ;
2350 
2351             ToggleButton_exposer.def(
2352                 "onFontChanged"
2353                 , onFontChanged_function_type( &ToggleButton_wrapper::default_onFontChanged )
2354                 , ( bp::arg("e") )
2355                 , "*!\n\
2356                 \n\
2357                     Handler called when the window's font is changed.\n\
2358             \n\
2359                 @param e\n\
2360                     WindowEventArgs object whose 'window' pointer field is set to the window\n\
2361                     that triggered the event.  For this event the trigger window is always\n\
2362                     'this'.\n\
2363                 *\n" );
2364 
2365         }
2366         { //::CEGUI::Window::onHidden
2367 
2368             typedef void ( ToggleButton_wrapper::*onHidden_function_type )( ::CEGUI::WindowEventArgs & ) ;
2369 
2370             ToggleButton_exposer.def(
2371                 "onHidden"
2372                 , onHidden_function_type( &ToggleButton_wrapper::default_onHidden )
2373                 , ( bp::arg("e") )
2374                 , "*!\n\
2375                 \n\
2376                     Handler called when the window is hidden.\n\
2377             \n\
2378                 @param e\n\
2379                     WindowEventArgs object whose 'window' pointer field is set to the window\n\
2380                     that triggered the event.  For this event the trigger window is always\n\
2381                     'this'.\n\
2382                 *\n" );
2383 
2384         }
2385         { //::CEGUI::Element::onHorizontalAlignmentChanged
2386 
2387             typedef void ( ToggleButton_wrapper::*onHorizontalAlignmentChanged_function_type )( ::CEGUI::ElementEventArgs & ) ;
2388 
2389             ToggleButton_exposer.def(
2390                 "onHorizontalAlignmentChanged"
2391                 , onHorizontalAlignmentChanged_function_type( &ToggleButton_wrapper::default_onHorizontalAlignmentChanged )
2392                 , ( bp::arg("e") )
2393                 , "*!\n\
2394                 \n\
2395                     Handler called when the horizontal alignment setting for the element is\n\
2396                     changed.\n\
2397             \n\
2398                 @param e\n\
2399                     ElementEventArgs object initialised as follows:\n\
2400                     - element field is set to point to the element object who's alignment has\n\
2401                       changed (typically 'this').\n\
2402                 *\n" );
2403 
2404         }
2405         { //::CEGUI::Window::onIDChanged
2406 
2407             typedef void ( ToggleButton_wrapper::*onIDChanged_function_type )( ::CEGUI::WindowEventArgs & ) ;
2408 
2409             ToggleButton_exposer.def(
2410                 "onIDChanged"
2411                 , onIDChanged_function_type( &ToggleButton_wrapper::default_onIDChanged )
2412                 , ( bp::arg("e") )
2413                 , "*!\n\
2414                 \n\
2415                     Handler called when the window's client assigned ID is changed.\n\
2416             \n\
2417                 @param e\n\
2418                     WindowEventArgs object whose 'window' pointer field is set to the window\n\
2419                     that triggered the event.  For this event the trigger window is always\n\
2420                     'this'.\n\
2421                 *\n" );
2422 
2423         }
2424         { //::CEGUI::Window::onInheritsAlphaChanged
2425 
2426             typedef void ( ToggleButton_wrapper::*onInheritsAlphaChanged_function_type )( ::CEGUI::WindowEventArgs & ) ;
2427 
2428             ToggleButton_exposer.def(
2429                 "onInheritsAlphaChanged"
2430                 , onInheritsAlphaChanged_function_type( &ToggleButton_wrapper::default_onInheritsAlphaChanged )
2431                 , ( bp::arg("e") )
2432                 , "*!\n\
2433                 \n\
2434                     Handler called when the window's setting for inheriting alpha-blending\n\
2435                     is changed.\n\
2436             \n\
2437                 @param e\n\
2438                     WindowEventArgs object whose 'window' pointer field is set to the window\n\
2439                     that triggered the event.  For this event the trigger window is always\n\
2440                     'this'.\n\
2441                 *\n" );
2442 
2443         }
2444         { //::CEGUI::Window::onInvalidated
2445 
2446             typedef void ( ToggleButton_wrapper::*onInvalidated_function_type )( ::CEGUI::WindowEventArgs & ) ;
2447 
2448             ToggleButton_exposer.def(
2449                 "onInvalidated"
2450                 , onInvalidated_function_type( &ToggleButton_wrapper::default_onInvalidated )
2451                 , ( bp::arg("e") )
2452                 , "*!\n\
2453                 \n\
2454                     Handler called when this window gets invalidated.\n\
2455             \n\
2456                 @param e\n\
2457                     WindowEventArgs object whose 'window' pointer field is set to the window\n\
2458                     that triggered the event.  For this event the trigger window is always\n\
2459                     'this'.\n\
2460                 *\n" );
2461 
2462         }
2463         { //::CEGUI::Window::onKeyDown
2464 
2465             typedef void ( ToggleButton_wrapper::*onKeyDown_function_type )( ::CEGUI::KeyEventArgs & ) ;
2466 
2467             ToggleButton_exposer.def(
2468                 "onKeyDown"
2469                 , onKeyDown_function_type( &ToggleButton_wrapper::default_onKeyDown )
2470                 , ( bp::arg("e") )
2471                 , "*!\n\
2472                 \n\
2473                     Handler called when a key as been depressed while this window has input\n\
2474                     focus.\n\
2475             \n\
2476                 @param e\n\
2477                     KeyEventArgs object whose 'scancode' field is set to the Key.Scan value\n\
2478                     representing the key that was pressed, and whose 'sysKeys' field\n\
2479                     represents the combination of SystemKey that were active when the event\n\
2480                     was generated.\n\
2481                 *\n" );
2482 
2483         }
2484         { //::CEGUI::Window::onKeyUp
2485 
2486             typedef void ( ToggleButton_wrapper::*onKeyUp_function_type )( ::CEGUI::KeyEventArgs & ) ;
2487 
2488             ToggleButton_exposer.def(
2489                 "onKeyUp"
2490                 , onKeyUp_function_type( &ToggleButton_wrapper::default_onKeyUp )
2491                 , ( bp::arg("e") )
2492                 , "*!\n\
2493                 \n\
2494                     Handler called when a key as been released while this window has input\n\
2495                     focus.\n\
2496             \n\
2497                 @param e\n\
2498                     KeyEventArgs object whose 'scancode' field is set to the Key.Scan value\n\
2499                     representing the key that was released, and whose 'sysKeys' field\n\
2500                     represents the combination of SystemKey that were active when the event\n\
2501                     was generated.  All other fields should be considered as 'junk'.\n\
2502                 *\n" );
2503 
2504         }
2505         { //::CEGUI::Window::onMarginChanged
2506 
2507             typedef void ( ToggleButton_wrapper::*onMarginChanged_function_type )( ::CEGUI::WindowEventArgs & ) ;
2508 
2509             ToggleButton_exposer.def(
2510                 "onMarginChanged"
2511                 , onMarginChanged_function_type( &ToggleButton_wrapper::default_onMarginChanged )
2512                 , ( bp::arg("e") ) );
2513 
2514         }
2515         { //::CEGUI::ButtonBase::onMouseButtonDown
2516 
2517             typedef void ( ToggleButton_wrapper::*onMouseButtonDown_function_type )( ::CEGUI::MouseEventArgs & ) ;
2518 
2519             ToggleButton_exposer.def(
2520                 "onMouseButtonDown"
2521                 , onMouseButtonDown_function_type( &ToggleButton_wrapper::default_onMouseButtonDown )
2522                 , ( bp::arg("e") )
2523                 , "*************************************************************************\n\
2524                Overridden event handlers\n\
2525             *************************************************************************\n" );
2526 
2527         }
2528         { //::CEGUI::Window::onMouseClicked
2529 
2530             typedef void ( ToggleButton_wrapper::*onMouseClicked_function_type )( ::CEGUI::MouseEventArgs & ) ;
2531 
2532             ToggleButton_exposer.def(
2533                 "onMouseClicked"
2534                 , onMouseClicked_function_type( &ToggleButton_wrapper::default_onMouseClicked )
2535                 , ( bp::arg("e") )
2536                 , "*!\n\
2537                 \n\
2538                     Handler called when a mouse button has been clicked (that is depressed\n\
2539                     and then released, within a specified time) within this window's area.\n\
2540             \n\
2541                 @param e\n\
2542                     MouseEventArgs object.  All fields are valid.\n\
2543                 *\n" );
2544 
2545         }
2546         { //::CEGUI::Window::onMouseDoubleClicked
2547 
2548             typedef void ( ToggleButton_wrapper::*onMouseDoubleClicked_function_type )( ::CEGUI::MouseEventArgs & ) ;
2549 
2550             ToggleButton_exposer.def(
2551                 "onMouseDoubleClicked"
2552                 , onMouseDoubleClicked_function_type( &ToggleButton_wrapper::default_onMouseDoubleClicked )
2553                 , ( bp::arg("e") )
2554                 , "*!\n\
2555                 \n\
2556                     Handler called when a mouse button has been double-clicked within this\n\
2557                     window's area.\n\
2558             \n\
2559                 @param e\n\
2560                     MouseEventArgs object.  All fields are valid.\n\
2561                 *\n" );
2562 
2563         }
2564         { //::CEGUI::Window::onMouseEnters
2565 
2566             typedef void ( ToggleButton_wrapper::*onMouseEnters_function_type )( ::CEGUI::MouseEventArgs & ) ;
2567 
2568             ToggleButton_exposer.def(
2569                 "onMouseEnters"
2570                 , onMouseEnters_function_type( &ToggleButton_wrapper::default_onMouseEnters )
2571                 , ( bp::arg("e") )
2572                 , "*!\n\
2573                 \n\
2574                     Handler called when the mouse cursor has entered this window's area and\n\
2575                     is actually over some part of this windows surface and not, for\n\
2576                     instance over a child window - even though technically in those cases\n\
2577                     the mouse is also within this Window's area, the handler will not be\n\
2578                     called.\n\
2579             \n\
2580                 @param e\n\
2581                     MouseEventArgs object.  All fields are valid.\n\
2582             \n\
2583                 @see\n\
2584                     Window.onMouseEntersArea\n\
2585                 *\n" );
2586 
2587         }
2588         { //::CEGUI::Window::onMouseEntersArea
2589 
2590             typedef void ( ToggleButton_wrapper::*onMouseEntersArea_function_type )( ::CEGUI::MouseEventArgs & ) ;
2591 
2592             ToggleButton_exposer.def(
2593                 "onMouseEntersArea"
2594                 , onMouseEntersArea_function_type( &ToggleButton_wrapper::default_onMouseEntersArea )
2595                 , ( bp::arg("e") )
2596                 , "*!\n\
2597                 \n\
2598                     Handler called when the mouse cursor has entered this window's area.\n\
2599             \n\
2600                 @param e\n\
2601                     MouseEventArgs object.  All fields are valid.\n\
2602                 *\n" );
2603 
2604         }
2605         { //::CEGUI::ButtonBase::onMouseLeaves
2606 
2607             typedef void ( ToggleButton_wrapper::*onMouseLeaves_function_type )( ::CEGUI::MouseEventArgs & ) ;
2608 
2609             ToggleButton_exposer.def(
2610                 "onMouseLeaves"
2611                 , onMouseLeaves_function_type( &ToggleButton_wrapper::default_onMouseLeaves )
2612                 , ( bp::arg("e") ) );
2613 
2614         }
2615         { //::CEGUI::Window::onMouseLeavesArea
2616 
2617             typedef void ( ToggleButton_wrapper::*onMouseLeavesArea_function_type )( ::CEGUI::MouseEventArgs & ) ;
2618 
2619             ToggleButton_exposer.def(
2620                 "onMouseLeavesArea"
2621                 , onMouseLeavesArea_function_type( &ToggleButton_wrapper::default_onMouseLeavesArea )
2622                 , ( bp::arg("e") )
2623                 , "*!\n\
2624                 \n\
2625                     Handler called when the mouse cursor has left this window's area.\n\
2626             \n\
2627                 @param e\n\
2628                     MouseEventArgs object.  All fields are valid.\n\
2629                 *\n" );
2630 
2631         }
2632         { //::CEGUI::ButtonBase::onMouseMove
2633 
2634             typedef void ( ToggleButton_wrapper::*onMouseMove_function_type )( ::CEGUI::MouseEventArgs & ) ;
2635 
2636             ToggleButton_exposer.def(
2637                 "onMouseMove"
2638                 , onMouseMove_function_type( &ToggleButton_wrapper::default_onMouseMove )
2639                 , ( bp::arg("e") )
2640                 , "*************************************************************************\n\
2641                Overridden event handlers\n\
2642             *************************************************************************\n" );
2643 
2644         }
2645         { //::CEGUI::Window::onMouseTripleClicked
2646 
2647             typedef void ( ToggleButton_wrapper::*onMouseTripleClicked_function_type )( ::CEGUI::MouseEventArgs & ) ;
2648 
2649             ToggleButton_exposer.def(
2650                 "onMouseTripleClicked"
2651                 , onMouseTripleClicked_function_type( &ToggleButton_wrapper::default_onMouseTripleClicked )
2652                 , ( bp::arg("e") )
2653                 , "*!\n\
2654                 \n\
2655                     Handler called when a mouse button has been triple-clicked within this\n\
2656                     window's area.\n\
2657             \n\
2658                 @param e\n\
2659                     MouseEventArgs object.  All fields are valid.\n\
2660                 *\n" );
2661 
2662         }
2663         { //::CEGUI::Window::onMouseWheel
2664 
2665             typedef void ( ToggleButton_wrapper::*onMouseWheel_function_type )( ::CEGUI::MouseEventArgs & ) ;
2666 
2667             ToggleButton_exposer.def(
2668                 "onMouseWheel"
2669                 , onMouseWheel_function_type( &ToggleButton_wrapper::default_onMouseWheel )
2670                 , ( bp::arg("e") )
2671                 , "*!\n\
2672                 \n\
2673                     Handler called when the mouse wheel (z-axis) position changes within\n\
2674                     this window's area.\n\
2675             \n\
2676                 @param e\n\
2677                     MouseEventArgs object.  All fields are valid.\n\
2678                 *\n" );
2679 
2680         }
2681         { //::CEGUI::Window::onMoved
2682 
2683             typedef void ( ToggleButton_wrapper::*onMoved_function_type )( ::CEGUI::ElementEventArgs & ) ;
2684 
2685             ToggleButton_exposer.def(
2686                 "onMoved"
2687                 , onMoved_function_type( &ToggleButton_wrapper::default_onMoved )
2688                 , ( bp::arg("e") )
2689                 , "*!\n\
2690                 \n\
2691                     Handler called when the window's position changes.\n\
2692             \n\
2693                 @param e\n\
2694                     WindowEventArgs object whose 'window' pointer field is set to the window\n\
2695                     that triggered the event.  For this event the trigger window is always\n\
2696                     'this'.\n\
2697                 *\n" );
2698 
2699         }
2700         { //::CEGUI::NamedElement::onNameChanged
2701 
2702             typedef void ( ToggleButton_wrapper::*onNameChanged_function_type )( ::CEGUI::NamedElementEventArgs & ) ;
2703 
2704             ToggleButton_exposer.def(
2705                 "onNameChanged"
2706                 , onNameChanged_function_type( &ToggleButton_wrapper::default_onNameChanged )
2707                 , ( bp::arg("e") )
2708                 , "*!\n\
2709                  Handler called when the element's name changes.\n\
2710             \n\
2711                 @param e\n\
2712                     NamedElementEventArgs object whose 'element' pointer field is set to the element\n\
2713                     that triggered the event. For this event the trigger element is always\n\
2714                     'this'.\n\
2715                 *\n" );
2716 
2717         }
2718         { //::CEGUI::Element::onNonClientChanged
2719 
2720             typedef void ( ToggleButton_wrapper::*onNonClientChanged_function_type )( ::CEGUI::ElementEventArgs & ) ;
2721 
2722             ToggleButton_exposer.def(
2723                 "onNonClientChanged"
2724                 , onNonClientChanged_function_type( &ToggleButton_wrapper::default_onNonClientChanged )
2725                 , ( bp::arg("e") )
2726                 , "*!\n\
2727                 \n\
2728                     Handler called when the element's non-client setting, affecting it's\n\
2729                     position and size relative to it's parent is changed.\n\
2730             \n\
2731                 @param e\n\
2732                     ElementEventArgs object whose 'element' pointer field is set to the element\n\
2733                     that triggered the event. For this event the trigger element is always\n\
2734                     'this'.\n\
2735                 *\n" );
2736 
2737         }
2738         { //::CEGUI::Window::onParentDestroyChanged
2739 
2740             typedef void ( ToggleButton_wrapper::*onParentDestroyChanged_function_type )( ::CEGUI::WindowEventArgs & ) ;
2741 
2742             ToggleButton_exposer.def(
2743                 "onParentDestroyChanged"
2744                 , onParentDestroyChanged_function_type( &ToggleButton_wrapper::default_onParentDestroyChanged )
2745                 , ( bp::arg("e") )
2746                 , "*!\n\
2747                 \n\
2748                     Handler called when the window's setting for being destroyed\n\
2749                     automatically be it's parent is changed.\n\
2750             \n\
2751                 @param e\n\
2752                     WindowEventArgs object whose 'window' pointer field is set to the window\n\
2753                     that triggered the event.  For this event the trigger window is always\n\
2754                     'this'.\n\
2755                 *\n" );
2756 
2757         }
2758         { //::CEGUI::Window::onParentSized
2759 
2760             typedef void ( ToggleButton_wrapper::*onParentSized_function_type )( ::CEGUI::ElementEventArgs & ) ;
2761 
2762             ToggleButton_exposer.def(
2763                 "onParentSized"
2764                 , onParentSized_function_type( &ToggleButton_wrapper::default_onParentSized )
2765                 , ( bp::arg("e") )
2766                 , "*!\n\
2767                 \n\
2768                     Handler called when this window's parent window has been resized.  If\n\
2769                     this window is the root  GUI Sheet window, this call will be made when\n\
2770                     the display size changes.\n\
2771             \n\
2772                 @param e\n\
2773                     WindowEventArgs object whose 'window' pointer field is set the the\n\
2774                     window that caused the event; this is typically either this window's\n\
2775                     parent window, or NULL to indicate the screen size has changed.\n\
2776                 *\n" );
2777 
2778         }
2779         { //::CEGUI::Window::onRenderingEnded
2780 
2781             typedef void ( ToggleButton_wrapper::*onRenderingEnded_function_type )( ::CEGUI::WindowEventArgs & ) ;
2782 
2783             ToggleButton_exposer.def(
2784                 "onRenderingEnded"
2785                 , onRenderingEnded_function_type( &ToggleButton_wrapper::default_onRenderingEnded )
2786                 , ( bp::arg("e") )
2787                 , "*!\n\
2788                 \n\
2789                     Handler called when rendering for this window has ended.\n\
2790             \n\
2791                 @param e\n\
2792                     WindowEventArgs object whose 'window' pointer field is set to the window\n\
2793                     that triggered the event.  For this event the trigger window is always\n\
2794                     'this'.\n\
2795                 *\n" );
2796 
2797         }
2798         { //::CEGUI::Window::onRenderingStarted
2799 
2800             typedef void ( ToggleButton_wrapper::*onRenderingStarted_function_type )( ::CEGUI::WindowEventArgs & ) ;
2801 
2802             ToggleButton_exposer.def(
2803                 "onRenderingStarted"
2804                 , onRenderingStarted_function_type( &ToggleButton_wrapper::default_onRenderingStarted )
2805                 , ( bp::arg("e") )
2806                 , "*!\n\
2807                 \n\
2808                     Handler called when rendering for this window has started.\n\
2809             \n\
2810                 @param e\n\
2811                     WindowEventArgs object whose 'window' pointer field is set to the window\n\
2812                     that triggered the event.  For this event the trigger window is always\n\
2813                     'this'.\n\
2814                 *\n" );
2815 
2816         }
2817         { //::CEGUI::Window::onRotated
2818 
2819             typedef void ( ToggleButton_wrapper::*onRotated_function_type )( ::CEGUI::ElementEventArgs & ) ;
2820 
2821             ToggleButton_exposer.def(
2822                 "onRotated"
2823                 , onRotated_function_type( &ToggleButton_wrapper::default_onRotated )
2824                 , ( bp::arg("e") ) );
2825 
2826         }
2827         { //::CEGUI::Window::onShown
2828 
2829             typedef void ( ToggleButton_wrapper::*onShown_function_type )( ::CEGUI::WindowEventArgs & ) ;
2830 
2831             ToggleButton_exposer.def(
2832                 "onShown"
2833                 , onShown_function_type( &ToggleButton_wrapper::default_onShown )
2834                 , ( bp::arg("e") )
2835                 , "*!\n\
2836                 \n\
2837                     Handler called when the window is shown (made visible).\n\
2838             \n\
2839                 @param e\n\
2840                     WindowEventArgs object whose 'window' pointer field is set to the window\n\
2841                     that triggered the event.  For this event the trigger window is always\n\
2842                     'this'.\n\
2843                 *\n" );
2844 
2845         }
2846         { //::CEGUI::Window::onSized
2847 
2848             typedef void ( ToggleButton_wrapper::*onSized_function_type )( ::CEGUI::ElementEventArgs & ) ;
2849 
2850             ToggleButton_exposer.def(
2851                 "onSized"
2852                 , onSized_function_type( &ToggleButton_wrapper::default_onSized )
2853                 , ( bp::arg("e") )
2854                 , "*************************************************************************\n\
2855                     Event trigger methods\n\
2856                 *************************************************************************\n\
2857                 *!\n\
2858                 \n\
2859                     Handler called when the window's size changes.\n\
2860             \n\
2861                 @param e\n\
2862                     WindowEventArgs object whose 'window' pointer field is set to the window\n\
2863                     that triggered the event.  For this event the trigger window is always\n\
2864                     'this'.\n\
2865                 *\n" );
2866 
2867         }
2868         { //::CEGUI::Window::onTextChanged
2869 
2870             typedef void ( ToggleButton_wrapper::*onTextChanged_function_type )( ::CEGUI::WindowEventArgs & ) ;
2871 
2872             ToggleButton_exposer.def(
2873                 "onTextChanged"
2874                 , onTextChanged_function_type( &ToggleButton_wrapper::default_onTextChanged )
2875                 , ( bp::arg("e") )
2876                 , "*!\n\
2877                 \n\
2878                     Handler called when the window's text is changed.\n\
2879             \n\
2880                 @param e\n\
2881                     WindowEventArgs object whose 'window' pointer field is set to the window\n\
2882                     that triggered the event.  For this event the trigger window is always\n\
2883                     'this'.\n\
2884                 *\n" );
2885 
2886         }
2887         { //::CEGUI::Window::onTextParsingChanged
2888 
2889             typedef void ( ToggleButton_wrapper::*onTextParsingChanged_function_type )( ::CEGUI::WindowEventArgs & ) ;
2890 
2891             ToggleButton_exposer.def(
2892                 "onTextParsingChanged"
2893                 , onTextParsingChanged_function_type( &ToggleButton_wrapper::default_onTextParsingChanged )
2894                 , ( bp::arg("e") )
2895                 , "*!\n\
2896                 \n\
2897                     Handler called when the window's setting for whether text parsing is\n\
2898                     enabled is changed.\n\
2899             \n\
2900                 @param e\n\
2901                     WindowEventArgs object whose 'window' pointer field is set to the window\n\
2902                     that triggered the event.  For this event the trigger window is always\n\
2903                     'this'.\n\
2904                 *\n" );
2905 
2906         }
2907         { //::CEGUI::Element::onVerticalAlignmentChanged
2908 
2909             typedef void ( ToggleButton_wrapper::*onVerticalAlignmentChanged_function_type )( ::CEGUI::ElementEventArgs & ) ;
2910 
2911             ToggleButton_exposer.def(
2912                 "onVerticalAlignmentChanged"
2913                 , onVerticalAlignmentChanged_function_type( &ToggleButton_wrapper::default_onVerticalAlignmentChanged )
2914                 , ( bp::arg("e") )
2915                 , "*!\n\
2916                 \n\
2917                     Handler called when the vertical alignment setting for the element is\n\
2918                     changed.\n\
2919             \n\
2920                 @param e\n\
2921                     ElementEventArgs object initialised as follows:\n\
2922                     - element field is set to point to the element object who's alignment has\n\
2923                       changed (typically 'this').\n\
2924                 *\n" );
2925 
2926         }
2927         { //::CEGUI::Window::onWindowRendererAttached
2928 
2929             typedef void ( ToggleButton_wrapper::*onWindowRendererAttached_function_type )( ::CEGUI::WindowEventArgs & ) ;
2930 
2931             ToggleButton_exposer.def(
2932                 "onWindowRendererAttached"
2933                 , onWindowRendererAttached_function_type( &ToggleButton_wrapper::default_onWindowRendererAttached )
2934                 , ( bp::arg("e") )
2935                 , "*!\n\
2936                 \n\
2937                     Handler called when a new window renderer object is attached.\n\
2938             \n\
2939                 @param e\n\
2940                     WindowEventArgs object initialised as follows:\n\
2941                     - window field is set to point to the Window object that just got a new\n\
2942                       window renderer attached. (typically 'this').\n\
2943                 *\n" );
2944 
2945         }
2946         { //::CEGUI::Window::onWindowRendererDetached
2947 
2948             typedef void ( ToggleButton_wrapper::*onWindowRendererDetached_function_type )( ::CEGUI::WindowEventArgs & ) ;
2949 
2950             ToggleButton_exposer.def(
2951                 "onWindowRendererDetached"
2952                 , onWindowRendererDetached_function_type( &ToggleButton_wrapper::default_onWindowRendererDetached )
2953                 , ( bp::arg("e") )
2954                 , "*!\n\
2955                 \n\
2956                     Handler called when the currently attached window renderer object is detached.\n\
2957             \n\
2958                 @param e\n\
2959                     WindowEventArgs object initialised as follows:\n\
2960                     - window field is set to point to the Window object that just got lost its\n\
2961                       window renderer. (typically 'this').\n\
2962                 *\n" );
2963 
2964         }
2965         { //::CEGUI::Window::onZChange_impl
2966 
2967             typedef void ( ToggleButton_wrapper::*onZChange_impl_function_type )(  ) ;
2968 
2969             ToggleButton_exposer.def(
2970                 "onZChange_impl"
2971                 , onZChange_impl_function_type( &ToggleButton_wrapper::default_onZChange_impl )
2972                 , "*!\n\
2973             \n\
2974                 Notify 'this' and all siblings of a ZOrder change event\n\
2975             *\n" );
2976 
2977         }
2978         { //::CEGUI::Window::onZChanged
2979 
2980             typedef void ( ToggleButton_wrapper::*onZChanged_function_type )( ::CEGUI::WindowEventArgs & ) ;
2981 
2982             ToggleButton_exposer.def(
2983                 "onZChanged"
2984                 , onZChanged_function_type( &ToggleButton_wrapper::default_onZChanged )
2985                 , ( bp::arg("e") )
2986                 , "*!\n\
2987                 \n\
2988                     Handler called when the z-order position of this window has changed.\n\
2989             \n\
2990                 @param e\n\
2991                     WindowEventArgs object whose 'window' pointer field is set to the window\n\
2992                     that triggered the event.  For this event the trigger window is always\n\
2993                     'this'.\n\
2994                 *\n" );
2995 
2996         }
2997         { //::CEGUI::Window::performChildWindowLayout
2998 
2999             typedef void ( ::CEGUI::Window::*performChildWindowLayout_function_type )( bool,bool ) ;
3000             typedef void ( ToggleButton_wrapper::*default_performChildWindowLayout_function_type )( bool,bool ) ;
3001 
3002             ToggleButton_exposer.def(
3003                 "performChildWindowLayout"
3004                 , performChildWindowLayout_function_type(&::CEGUI::Window::performChildWindowLayout)
3005                 , default_performChildWindowLayout_function_type(&ToggleButton_wrapper::default_performChildWindowLayout)
3006                 , ( bp::arg("nonclient_sized_hint")=(bool)(false), bp::arg("client_sized_hint")=(bool)(false) ) );
3007 
3008         }
3009         { //::CEGUI::Window::performCopy
3010 
3011             typedef bool ( ::CEGUI::Window::*performCopy_function_type )( ::CEGUI::Clipboard & ) ;
3012             typedef bool ( ToggleButton_wrapper::*default_performCopy_function_type )( ::CEGUI::Clipboard & ) ;
3013 
3014             ToggleButton_exposer.def(
3015                 "performCopy"
3016                 , performCopy_function_type(&::CEGUI::Window::performCopy)
3017                 , default_performCopy_function_type(&ToggleButton_wrapper::default_performCopy)
3018                 , ( bp::arg("clipboard") ) );
3019 
3020         }
3021         { //::CEGUI::Window::performCut
3022 
3023             typedef bool ( ::CEGUI::Window::*performCut_function_type )( ::CEGUI::Clipboard & ) ;
3024             typedef bool ( ToggleButton_wrapper::*default_performCut_function_type )( ::CEGUI::Clipboard & ) ;
3025 
3026             ToggleButton_exposer.def(
3027                 "performCut"
3028                 , performCut_function_type(&::CEGUI::Window::performCut)
3029                 , default_performCut_function_type(&ToggleButton_wrapper::default_performCut)
3030                 , ( bp::arg("clipboard") ) );
3031 
3032         }
3033         { //::CEGUI::Window::performPaste
3034 
3035             typedef bool ( ::CEGUI::Window::*performPaste_function_type )( ::CEGUI::Clipboard & ) ;
3036             typedef bool ( ToggleButton_wrapper::*default_performPaste_function_type )( ::CEGUI::Clipboard & ) ;
3037 
3038             ToggleButton_exposer.def(
3039                 "performPaste"
3040                 , performPaste_function_type(&::CEGUI::Window::performPaste)
3041                 , default_performPaste_function_type(&ToggleButton_wrapper::default_performPaste)
3042                 , ( bp::arg("clipboard") ) );
3043 
3044         }
3045         { //::CEGUI::Window::populateGeometryBuffer
3046 
3047             typedef void ( ToggleButton_wrapper::*populateGeometryBuffer_function_type )(  ) ;
3048 
3049             ToggleButton_exposer.def(
3050                 "populateGeometryBuffer"
3051                 , populateGeometryBuffer_function_type( &ToggleButton_wrapper::default_populateGeometryBuffer )
3052                 , "*!\n\
3053                 \n\
3054                     Update the rendering cache.\n\
3055             \n\
3056                     Populates the Window's GeometryBuffer ready for rendering.\n\
3057                 *\n" );
3058 
3059         }
3060         { //::CEGUI::Window::queueGeometry
3061 
3062             typedef void ( ToggleButton_wrapper::*queueGeometry_function_type )( ::CEGUI::RenderingContext const & ) ;
3063 
3064             ToggleButton_exposer.def(
3065                 "queueGeometry"
3066                 , queueGeometry_function_type( &ToggleButton_wrapper::queueGeometry )
3067                 , ( bp::arg("ctx") )
3068                 , "*!\n\
3069                 \n\
3070                     Perform drawing operations concerned with positioning, clipping and\n\
3071                     queueing of window geometry to RenderingSurfaces.\n\
3072             \n\
3073                 \note\n\
3074                     This function is a sub-function of drawSelf and is provided to make it\n\
3075                     easier to override drawSelf without needing to duplicate large sections\n\
3076                     of the code from the default implementation.\n\
3077                 *\n" );
3078 
3079         }
3080         { //::CEGUI::Window::releaseRenderingWindow
3081 
3082             typedef void ( ToggleButton_wrapper::*releaseRenderingWindow_function_type )(  ) ;
3083 
3084             ToggleButton_exposer.def(
3085                 "releaseRenderingWindow"
3086                 , releaseRenderingWindow_function_type( &ToggleButton_wrapper::releaseRenderingWindow )
3087                 , "! helper to clean up the auto RenderingWindow surface\n" );
3088 
3089         }
3090         { //::CEGUI::Window::removeChild_impl
3091 
3092             typedef void ( ToggleButton_wrapper::*removeChild_impl_function_type )( ::CEGUI::Element * ) ;
3093 
3094             ToggleButton_exposer.def(
3095                 "removeChild_impl"
3096                 , removeChild_impl_function_type( &ToggleButton_wrapper::default_removeChild_impl )
3097                 , ( bp::arg("element") )
3098                 , "*!\n\
3099             opydoc Element.removeChild_impl\n\
3100             *\n" );
3101 
3102         }
3103         { //::CEGUI::Window::removeWindowFromDrawList
3104 
3105             typedef void ( ToggleButton_wrapper::*removeWindowFromDrawList_function_type )( ::CEGUI::Window const & ) ;
3106 
3107             ToggleButton_exposer.def(
3108                 "removeWindowFromDrawList"
3109                 , removeWindowFromDrawList_function_type( &ToggleButton_wrapper::removeWindowFromDrawList )
3110                 , ( bp::arg("wnd") )
3111                 , "*!\n\
3112                 \n\
3113                     Removes the window from the drawing list.  If the window is not attached\n\
3114                     to the drawing list then nothing happens.\n\
3115             \n\
3116                 @param wnd\n\
3117                     Window object to be removed from the drawing list.\n\
3118             \n\
3119                 @return\n\
3120                     Nothing.\n\
3121                 *\n" );
3122 
3123         }
3124         { //::CEGUI::Element::setArea
3125 
3126             typedef void ( ::CEGUI::Element::*setArea_function_type )( ::CEGUI::UVector2 const &,::CEGUI::USize const & ) ;
3127             typedef void ( ToggleButton_wrapper::*default_setArea_function_type )( ::CEGUI::UVector2 const &,::CEGUI::USize const & ) ;
3128 
3129             ToggleButton_exposer.def(
3130                 "setArea"
3131                 , setArea_function_type(&::CEGUI::Element::setArea)
3132                 , default_setArea_function_type(&ToggleButton_wrapper::default_setArea)
3133                 , ( bp::arg("pos"), bp::arg("size") ) );
3134 
3135         }
3136         { //::CEGUI::Element::setArea
3137 
3138             typedef void ( ::CEGUI::Element::*setArea_function_type )( ::CEGUI::UDim const &,::CEGUI::UDim const &,::CEGUI::UDim const &,::CEGUI::UDim const & ) ;
3139 
3140             ToggleButton_exposer.def(
3141                 "setArea"
3142                 , setArea_function_type( &::CEGUI::Element::setArea )
3143                 , ( bp::arg("xpos"), bp::arg("ypos"), bp::arg("width"), bp::arg("height") )
3144                 , "!  overload\n" );
3145 
3146         }
3147         { //::CEGUI::Element::setArea
3148 
3149             typedef void ( ::CEGUI::Element::*setArea_function_type )( ::CEGUI::URect const & ) ;
3150 
3151             ToggleButton_exposer.def(
3152                 "setArea"
3153                 , setArea_function_type( &::CEGUI::Element::setArea )
3154                 , ( bp::arg("area") )
3155                 , "!  overload\n" );
3156 
3157         }
3158         { //::CEGUI::Window::setArea_impl
3159 
3160             typedef void ( ToggleButton_wrapper::*setArea_impl_function_type )( ::CEGUI::UVector2 const &,::CEGUI::USize const &,bool,bool ) ;
3161 
3162             ToggleButton_exposer.def(
3163                 "setArea_impl"
3164                 , setArea_impl_function_type( &ToggleButton_wrapper::default_setArea_impl )
3165                 , ( bp::arg("pos"), bp::arg("size"), bp::arg("topLeftSizing")=(bool)(false), bp::arg("fireEvents")=(bool)(true) )
3166                 , "! opydoc Element.setArea_impl\n" );
3167 
3168         }
3169         { //::CEGUI::Element::setHorizontalAlignment
3170 
3171             typedef void ( ::CEGUI::Element::*setHorizontalAlignment_function_type )( ::CEGUI::HorizontalAlignment const ) ;
3172             typedef void ( ToggleButton_wrapper::*default_setHorizontalAlignment_function_type )( ::CEGUI::HorizontalAlignment const ) ;
3173 
3174             ToggleButton_exposer.def(
3175                 "setHorizontalAlignment"
3176                 , setHorizontalAlignment_function_type(&::CEGUI::Element::setHorizontalAlignment)
3177                 , default_setHorizontalAlignment_function_type(&ToggleButton_wrapper::default_setHorizontalAlignment)
3178                 , ( bp::arg("alignment") ) );
3179 
3180         }
3181         { //::CEGUI::Window::setLookNFeel
3182 
3183             typedef void ( ::CEGUI::Window::*setLookNFeel_function_type )( ::CEGUI::String const & ) ;
3184             typedef void ( ToggleButton_wrapper::*default_setLookNFeel_function_type )( ::CEGUI::String const & ) ;
3185 
3186             ToggleButton_exposer.def(
3187                 "setLookNFeel"
3188                 , setLookNFeel_function_type(&::CEGUI::Window::setLookNFeel)
3189                 , default_setLookNFeel_function_type(&ToggleButton_wrapper::default_setLookNFeel)
3190                 , ( bp::arg("look") ) );
3191 
3192         }
3193         { //::CEGUI::Window::setMargin
3194 
3195             typedef void ( ::CEGUI::Window::*setMargin_function_type )( ::CEGUI::UBox const & ) ;
3196             typedef void ( ToggleButton_wrapper::*default_setMargin_function_type )( ::CEGUI::UBox const & ) ;
3197 
3198             ToggleButton_exposer.def(
3199                 "setMargin"
3200                 , setMargin_function_type(&::CEGUI::Window::setMargin)
3201                 , default_setMargin_function_type(&ToggleButton_wrapper::default_setMargin)
3202                 , ( bp::arg("margin") ) );
3203 
3204         }
3205         { //::CEGUI::NamedElement::setName
3206 
3207             typedef void ( ::CEGUI::NamedElement::*setName_function_type )( ::CEGUI::String const & ) ;
3208             typedef void ( ToggleButton_wrapper::*default_setName_function_type )( ::CEGUI::String const & ) ;
3209 
3210             ToggleButton_exposer.def(
3211                 "setName"
3212                 , setName_function_type(&::CEGUI::NamedElement::setName)
3213                 , default_setName_function_type(&ToggleButton_wrapper::default_setName)
3214                 , ( bp::arg("name") ) );
3215 
3216         }
3217         { //::CEGUI::Window::setParent
3218 
3219             typedef void ( ToggleButton_wrapper::*setParent_function_type )( ::CEGUI::Element * ) ;
3220 
3221             ToggleButton_exposer.def(
3222                 "setParent"
3223                 , setParent_function_type( &ToggleButton_wrapper::default_setParent )
3224                 , ( bp::arg("parent") )
3225                 , "*!\n\
3226                 \n\
3227                     Set the parent window for this window object.\n\
3228             \n\
3229                 @param parent\n\
3230                     Pointer to a Window object that is to be assigned as the parent to this\n\
3231                     Window.\n\
3232             \n\
3233                 @return\n\
3234                     Nothing\n\
3235                 *\n" );
3236 
3237         }
3238         { //::CEGUI::Element::setVerticalAlignment
3239 
3240             typedef void ( ::CEGUI::Element::*setVerticalAlignment_function_type )( ::CEGUI::VerticalAlignment const ) ;
3241             typedef void ( ToggleButton_wrapper::*default_setVerticalAlignment_function_type )( ::CEGUI::VerticalAlignment const ) ;
3242 
3243             ToggleButton_exposer.def(
3244                 "setVerticalAlignment"
3245                 , setVerticalAlignment_function_type(&::CEGUI::Element::setVerticalAlignment)
3246                 , default_setVerticalAlignment_function_type(&ToggleButton_wrapper::default_setVerticalAlignment)
3247                 , ( bp::arg("alignment") ) );
3248 
3249         }
3250         { //::CEGUI::EventSet::subscribeScriptedEvent
3251 
3252             typedef ::CEGUI::RefCounted< CEGUI::BoundSlot > ( ::CEGUI::EventSet::*subscribeScriptedEvent_function_type )( ::CEGUI::String const &,::CEGUI::String const & ) ;
3253             typedef ::CEGUI::RefCounted< CEGUI::BoundSlot > ( ToggleButton_wrapper::*default_subscribeScriptedEvent_function_type )( ::CEGUI::String const &,::CEGUI::String const & ) ;
3254 
3255             ToggleButton_exposer.def(
3256                 "subscribeScriptedEvent"
3257                 , subscribeScriptedEvent_function_type(&::CEGUI::EventSet::subscribeScriptedEvent)
3258                 , default_subscribeScriptedEvent_function_type(&ToggleButton_wrapper::default_subscribeScriptedEvent)
3259                 , ( bp::arg("name"), bp::arg("subscriber_name") ) );
3260 
3261         }
3262         { //::CEGUI::EventSet::subscribeScriptedEvent
3263 
3264             typedef ::CEGUI::RefCounted< CEGUI::BoundSlot > ( ::CEGUI::EventSet::*subscribeScriptedEvent_function_type )( ::CEGUI::String const &,unsigned int,::CEGUI::String const & ) ;
3265             typedef ::CEGUI::RefCounted< CEGUI::BoundSlot > ( ToggleButton_wrapper::*default_subscribeScriptedEvent_function_type )( ::CEGUI::String const &,unsigned int,::CEGUI::String const & ) ;
3266 
3267             ToggleButton_exposer.def(
3268                 "subscribeScriptedEvent"
3269                 , subscribeScriptedEvent_function_type(&::CEGUI::EventSet::subscribeScriptedEvent)
3270                 , default_subscribeScriptedEvent_function_type(&ToggleButton_wrapper::default_subscribeScriptedEvent)
3271                 , ( bp::arg("name"), bp::arg("group"), bp::arg("subscriber_name") ) );
3272 
3273         }
3274         { //::CEGUI::Window::transferChildSurfaces
3275 
3276             typedef void ( ToggleButton_wrapper::*transferChildSurfaces_function_type )(  ) ;
3277 
3278             ToggleButton_exposer.def(
3279                 "transferChildSurfaces"
3280                 , transferChildSurfaces_function_type( &ToggleButton_wrapper::transferChildSurfaces )
3281                 , "! transfer RenderingSurfaces to be owned by our target RenderingSurface.\n" );
3282 
3283         }
3284         { //::CEGUI::Window::update
3285 
3286             typedef void ( ::CEGUI::Window::*update_function_type )( float ) ;
3287             typedef void ( ToggleButton_wrapper::*default_update_function_type )( float ) ;
3288 
3289             ToggleButton_exposer.def(
3290                 "update"
3291                 , update_function_type(&::CEGUI::Window::update)
3292                 , default_update_function_type(&ToggleButton_wrapper::default_update)
3293                 , ( bp::arg("elapsed") ) );
3294 
3295         }
3296         { //::CEGUI::Window::updateGeometryRenderSettings
3297 
3298             typedef void ( ToggleButton_wrapper::*updateGeometryRenderSettings_function_type )(  ) ;
3299 
3300             ToggleButton_exposer.def(
3301                 "updateGeometryRenderSettings"
3302                 , updateGeometryRenderSettings_function_type( &ToggleButton_wrapper::updateGeometryRenderSettings )
3303                 , "*!\n\
3304             \n\
3305                 Update position and clip region on this Windows geometry  rendering\n\
3306                 surface.\n\
3307             *\n" );
3308 
3309         }
3310         { //::CEGUI::ButtonBase::updateInternalState
3311 
3312             typedef void ( ToggleButton_wrapper::*updateInternalState_function_type )( ::CEGUI::Vector2f const & ) ;
3313 
3314             ToggleButton_exposer.def(
3315                 "updateInternalState"
3316                 , updateInternalState_function_type( &ToggleButton_wrapper::updateInternalState )
3317                 , ( bp::arg("mouse_pos") )
3318                 , "*************************************************************************\n\
3319                   Implementation Functions\n\
3320                *************************************************************************\n\
3321                *!\n\
3322                \n\
3323                   Update the internal state of the widget with the mouse at the given position.\n\
3324             \n\
3325                @param mouse_pos\n\
3326                   Point object describing, in screen pixel co-ordinates, the location of the mouse cursor.\n\
3327             \n\
3328                @return\n\
3329                   Nothing\n\
3330                *\n" );
3331 
3332         }
3333         { //::CEGUI::Window::updateSelf
3334 
3335             typedef void ( ToggleButton_wrapper::*updateSelf_function_type )( float ) ;
3336 
3337             ToggleButton_exposer.def(
3338                 "updateSelf"
3339                 , updateSelf_function_type( &ToggleButton_wrapper::default_updateSelf )
3340                 , ( bp::arg("elapsed") )
3341                 , "*************************************************************************\n\
3342                     Implementation Functions\n\
3343                 *************************************************************************\n\
3344                 *!\n\
3345                 \n\
3346                     Perform actual update processing for this Window.\n\
3347             \n\
3348                 @param elapsed\n\
3349                     float value indicating the number of seconds elapsed since the last\n\
3350                     update call.\n\
3351             \n\
3352                 @return\n\
3353                     Nothing.\n\
3354                 *\n" );
3355 
3356         }
3357         { //::CEGUI::Window::validateWindowRenderer
3358 
3359             typedef bool ( ToggleButton_wrapper::*validateWindowRenderer_function_type )( ::CEGUI::WindowRenderer const * ) const;
3360 
3361             ToggleButton_exposer.def(
3362                 "validateWindowRenderer"
3363                 , validateWindowRenderer_function_type( &ToggleButton_wrapper::default_validateWindowRenderer )
3364                 , ( bp::arg("renderer") )
3365                 , "*!\n\
3366                 \n\
3367                     Function used in checking if a WindowRenderer is valid for this window.\n\
3368             \n\
3369                 @param renderer\n\
3370                   Window renderer that will be checked (it can be null!)\n\
3371             \n\
3372                 @return\n\
3373                     Returns true if the given WindowRenderer class name is valid for this window.\n\
3374                     False if not.\n\
3375                 *\n" );
3376 
3377         }
3378         { //::CEGUI::Window::writeAutoChildWindowXML
3379 
3380             typedef bool ( ToggleButton_wrapper::*writeAutoChildWindowXML_function_type )( ::CEGUI::XMLSerializer & ) const;
3381 
3382             ToggleButton_exposer.def(
3383                 "writeAutoChildWindowXML"
3384                 , writeAutoChildWindowXML_function_type( &ToggleButton_wrapper::default_writeAutoChildWindowXML )
3385                 , ( bp::arg("xml_stream") ) );
3386 
3387         }
3388         { //::CEGUI::Window::writeChildWindowsXML
3389 
3390             typedef int ( ToggleButton_wrapper::*writeChildWindowsXML_function_type )( ::CEGUI::XMLSerializer & ) const;
3391 
3392             ToggleButton_exposer.def(
3393                 "writeChildWindowsXML"
3394                 , writeChildWindowsXML_function_type( &ToggleButton_wrapper::default_writeChildWindowsXML )
3395                 , ( bp::arg("xml_stream") ) );
3396 
3397         }
3398         { //::CEGUI::Window::writePropertiesXML
3399 
3400             typedef int ( ToggleButton_wrapper::*writePropertiesXML_function_type )( ::CEGUI::XMLSerializer & ) const;
3401 
3402             ToggleButton_exposer.def(
3403                 "writePropertiesXML"
3404                 , writePropertiesXML_function_type( &ToggleButton_wrapper::default_writePropertiesXML )
3405                 , ( bp::arg("xml_stream") ) );
3406 
3407         }
3408         { //::CEGUI::Window::writeXMLToStream
3409 
3410             typedef void ( ::CEGUI::Window::*writeXMLToStream_function_type )( ::CEGUI::XMLSerializer & ) const;
3411             typedef void ( ToggleButton_wrapper::*default_writeXMLToStream_function_type )( ::CEGUI::XMLSerializer & ) const;
3412 
3413             ToggleButton_exposer.def(
3414                 "writeXMLToStream"
3415                 , writeXMLToStream_function_type(&::CEGUI::Window::writeXMLToStream)
3416                 , default_writeXMLToStream_function_type(&ToggleButton_wrapper::default_writeXMLToStream)
3417                 , ( bp::arg("xml_stream") ) );
3418 
3419         }
3420     }
3421 
3422 }
3423