-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEvent.xs
More file actions
1063 lines (765 loc) · 16.8 KB
/
Copy pathEvent.xs
File metadata and controls
1063 lines (765 loc) · 16.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/////////////////////////////////////////////////////////////////////////////
// Name: Event.xs
// Purpose: XS for Wx::EvtHandler, Wx::Event and derived classes
// Author: Mattia Barbon
// Modified by:
// Created: 29/10/2000
// RCS-ID: $Id: Event.xs 3232 2012-03-19 05:38:20Z mdootson $
// Copyright: (c) 2000-2009 Mattia Barbon
// Licence: This program is free software; you can redistribute it and/or
// modify it under the same terms as Perl itself
/////////////////////////////////////////////////////////////////////////////
#define PERL_NO_GET_CONTEXT
#include "cpp/wxapi.h"
#include <wx/event.h>
#include <wx/window.h>
#include <wx/dc.h>
#include <wx/menu.h>
#include <stdarg.h>
#include <wx/clntdata.h>
// re-include for client data
#include "cpp/helpers.h"
#undef THIS
#include "cpp/e_cback.h"
#include "cpp/e_cback.cpp"
#include "cpp/event.h"
WXPLI_BOOT_ONCE(Wx_Evt);
#define boot_Wx_Evt wxPli_boot_Wx_Evt
MODULE=Wx_Evt PACKAGE=Wx
INCLUDE: XS/EvtHandler.xs
MODULE=Wx_Evt PACKAGE=Wx::Event
# unimplemented ( and probably will never be: problems with object
# cloning/destruction )
# GetObjectType
static void
wxEvent::CLONE()
CODE:
wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
## // thread OK
void
wxEvent::DESTROY()
CODE:
wxPli_thread_sv_unregister( aTHX_ wxPli_get_class( aTHX_ ST(0) ), THIS, ST(0) );
delete THIS;
# void
# wxEvent::Destroy()
# CODE:
# delete THIS;
void
wxEvent::GetEventObject()
PPCODE:
// to avoid problems with deletion, only windows are supported
wxObject* obj = THIS->GetEventObject();
wxWindow* win = wxDynamicCast( obj, wxWindow );
EXTEND( SP, 1 );
if(win == NULL)
PUSHs( &PL_sv_undef );
else
PUSHs( wxPli_object_2_sv( aTHX_ NEWSV( 0, 0 ), win ) );
wxEventType
wxEvent::GetEventType()
int
wxEvent::GetId()
bool
wxEvent::GetSkipped()
long
wxEvent::GetTimestamp()
void
wxEvent::SetEventType( type )
wxEventType type
## will likely need to be restricted to wxWindow (for ownership problems)
void
wxEvent::SetEventObject( object )
wxObject* object
void
wxEvent::SetId( id )
wxWindowID id
void
wxEvent::SetTimestamp( timeStamp )
long timeStamp
void
wxEvent::Skip( skip = true )
bool skip
#if WXPERL_W_VERSION_GE( 2, 5, 1 )
bool
wxEvent::ShouldPropagate()
#endif
#if WXPERL_W_VERSION_GE( 2, 5, 3 )
int
wxEvent::StopPropagation()
void
wxEvent::ResumePropagation( propagationLevel )
int propagationLevel
#else
#if WXPERL_W_VERSION_GE( 2, 5, 1 )
void
wxEvent::SetPropagate( doIt )
bool doIt
#endif
#endif
MODULE=Wx_Evt PACKAGE=Wx::CommandEvent
wxCommandEvent*
wxCommandEvent::new( type = 0, id = 0 )
wxEventType type
wxWindowID id
Wx_UserDataCD*
wxCommandEvent::GetClientData()
CODE:
RETVAL = (wxPliUserDataCD*)THIS->GetClientObject();
OUTPUT:
RETVAL
long
wxCommandEvent::GetExtraLong()
int
wxCommandEvent::GetInt()
int
wxCommandEvent::GetSelection()
wxString
wxCommandEvent::GetString()
bool
wxCommandEvent::IsChecked()
bool
wxCommandEvent::IsSelection()
void
wxCommandEvent::SetClientData( data )
Wx_UserDataCD* data
CODE:
THIS->SetClientObject( data );
void
wxCommandEvent::SetExtraLong( extraLong )
long extraLong
void
wxCommandEvent::SetInt( intCommand )
int intCommand
void
wxCommandEvent::SetString( string )
wxString string
MODULE=Wx_Evt PACKAGE=Wx::ContextMenuEvent
wxContextMenuEvent*
wxContextMenuEvent::new( type = 0, id = 0, pos = wxDefaultPosition )
wxEventType type
wxWindowID id
wxPoint pos
wxPoint
wxContextMenuEvent::GetPosition()
void
wxContextMenuEvent::SetPosition( pos )
wxPoint pos
MODULE=Wx_Evt PACKAGE=Wx::PlEvent
SV*
wxPlEvent::new( type, id )
wxEventType type
wxWindowID id
CODE:
wxPlEvent* THIS = new wxPlEvent( CLASS, type, id );
RETVAL = newRV_noinc( SvRV( THIS->m_callback.GetSelf() ) );
wxPli_thread_sv_register( aTHX_ "Wx::PlEvent", THIS, RETVAL );
OUTPUT: RETVAL
## // thread OK
void
wxPlEvent::DESTROY()
CODE:
wxPli_thread_sv_unregister( aTHX_ "Wx::PlEvent", THIS, ST(0) );
if( THIS && wxPli_object_is_deleteable( aTHX_ ST(0) ) )
{
THIS->m_callback.DeleteSelf( true );
delete THIS;
}
MODULE=Wx_Evt PACKAGE=Wx::PlCommandEvent
SV*
wxPlCommandEvent::new( type, id )
wxEventType type
wxWindowID id
CODE:
wxPlCommandEvent* THIS = new wxPlCommandEvent( CLASS, type, id );
RETVAL = newRV_noinc( SvRV( THIS->m_callback.GetSelf() ) );
wxPli_thread_sv_register( aTHX_ "Wx::PlCommandEvent", THIS, RETVAL );
OUTPUT: RETVAL
## // thread OK
void
wxPlCommandEvent::DESTROY()
CODE:
wxPli_thread_sv_unregister( aTHX_ "Wx::PlCommandEvent", THIS, ST(0) );
if( THIS && wxPli_object_is_deleteable( aTHX_ ST(0) ) )
{
THIS->m_callback.DeleteSelf( true );
delete THIS;
}
MODULE=Wx_Evt PACKAGE=Wx::PlThreadEvent
wxPlThreadEvent*
wxPlThreadEvent::new( type, id, data )
wxEventType type
wxWindowID id
SV* data
CODE:
RETVAL = new wxPlThreadEvent( aTHX_ CLASS, type, id, data );
OUTPUT: RETVAL
int
wxPlThreadEvent::_GetData()
CODE:
RETVAL = THIS ? THIS->_GetData() : 0;
OUTPUT: RETVAL
SV*
wxPlThreadEvent::GetData()
CODE:
RETVAL = THIS ? THIS->GetData() : &PL_sv_undef;
OUTPUT: RETVAL
void
SetStash( hv_ref )
SV* hv_ref
CODE:
wxPlThreadEvent::SetStash( hv_ref );
MODULE=Wx_Evt PACKAGE=Wx::ActivateEvent
wxActivateEvent*
wxActivateEvent::new( type = 0, active = true, id = 0 )
wxEventType type
bool active
wxWindowID id
bool
wxActivateEvent::GetActive()
MODULE=Wx_Evt PACKAGE=Wx::CloseEvent
wxCloseEvent*
wxCloseEvent::new( commandEventType = 0, id = 0 )
wxEventType commandEventType
wxWindowID id
bool
wxCloseEvent::CanVeto()
bool
wxCloseEvent::GetLoggingOff()
void
wxCloseEvent::SetCanVeto( canVeto )
bool canVeto
void
wxCloseEvent::SetLoggingOff( loggingOff )
bool loggingOff
void
wxCloseEvent::Veto( veto = true )
bool veto
MODULE=Wx_Evt PACKAGE=Wx::EraseEvent
wxEraseEvent*
wxEraseEvent::new( id = 0, dc = 0 )
wxWindowID id
wxDC* dc
wxDC*
wxEraseEvent::GetDC()
OUTPUT:
RETVAL
CLEANUP:
wxPli_object_set_deleteable( aTHX_ ST(0), false );
MODULE=Wx_Evt PACKAGE=Wx::FocusEvent
wxFocusEvent*
wxFocusEvent::new( eventType = 0, id = 0 )
wxEventType eventType
wxWindowID id
wxWindow*
wxFocusEvent::GetWindow()
MODULE=Wx_Evt PACKAGE=Wx::IconizeEvent
bool
wxIconizeEvent::Iconized()
CODE:
#if WXPERL_W_VERSION_LT( 2, 9, 0 )
RETVAL = THIS->Iconized();
#else
RETVAL = THIS->IsIconized();
#endif
OUTPUT: RETVAL
bool
wxIconizeEvent::IsIconized()
CODE:
#if WXPERL_W_VERSION_LT( 2, 9, 0 )
RETVAL = THIS->Iconized();
#else
RETVAL = THIS->IsIconized();
#endif
OUTPUT: RETVAL
MODULE=Wx_Evt PACKAGE=Wx::KeyEvent
wxKeyEvent*
wxKeyEvent::new( keyEventType )
wxEventType keyEventType
bool
wxKeyEvent::AltDown()
#if WXPERL_W_VERSION_GE( 2, 5, 3 )
bool
wxKeyEvent::CmdDown()
#endif
bool
wxKeyEvent::ControlDown()
int
wxKeyEvent::GetKeyCode()
#ifdef wxHAS_RAW_KEY_CODES
int
wxKeyEvent::GetRawKeyCode()
#endif
#if wxUSE_UNICODE && WXPERL_W_VERSION_GE( 2, 5, 3 )
wxChar
wxKeyEvent::GetUnicodeKey()
#endif
#if WXPERL_W_VERSION_GE( 2, 7, 0 )
int
wxKeyEvent::GetModifiers()
#endif
long
wxKeyEvent::GetX()
long
wxKeyEvent::GetY()
bool
wxKeyEvent::MetaDown()
bool
wxKeyEvent::HasModifiers()
bool
wxKeyEvent::ShiftDown()
#if WXPERL_W_VERSION_GE( 2, 9, 3 )
void
wxKeyEvent::DoAllowNextEvent()
bool
wxKeyEvent::IsNextEventAllowed()
#endif
MODULE=Wx_Evt PACKAGE=Wx::HelpEvent
wxHelpEvent*
wxHelpEvent::new()
wxPoint*
wxHelpEvent::GetPosition()
CODE:
RETVAL = new wxPoint( THIS->GetPosition() );
OUTPUT:
RETVAL
wxString
wxHelpEvent::GetLink()
wxString
wxHelpEvent::GetTarget()
void
wxHelpEvent::SetPosition( point )
wxPoint point
void
wxHelpEvent::SetLink( link )
wxString link
void
wxHelpEvent::SetTarget( target )
wxString target
MODULE=Wx_Evt PACKAGE=Wx::IdleEvent
wxIdleEvent*
wxIdleEvent::new()
bool
wxIdleEvent::MoreRequested()
void
wxIdleEvent::RequestMore( needMore = true )
bool needMore
#if WXPERL_W_VERSION_LT( 2, 9, 0 )
bool
CanSend( window )
wxWindow* window
CODE:
RETVAL = wxIdleEvent::CanSend( window );
OUTPUT: RETVAL
#endif
void
SetMode( mode )
wxIdleMode mode
CODE:
wxIdleEvent::SetMode( mode );
wxIdleMode
GetMode()
CODE:
RETVAL = wxIdleEvent::GetMode();
OUTPUT: RETVAL
MODULE=Wx_Evt PACKAGE=Wx::InitDialogEvent
wxInitDialogEvent*
wxInitDialogEvent::new( id = 0 )
wxWindowID id
MODULE=Wx_Evt PACKAGE=Wx::JoystickEvent
wxJoystickEvent*
wxJoystickEvent::new( eventType = 0, state = 0, joystick = wxJOYSTICK1, change = 0 )
wxEventType eventType
int state
int joystick
int change
bool
wxJoystickEvent::ButtonDown( button = wxJOY_BUTTON_ANY )
int button
bool
wxJoystickEvent::ButtonIsDown( button = wxJOY_BUTTON_ANY )
int button
bool
wxJoystickEvent::ButtonUp( button = wxJOY_BUTTON_ANY )
int button
int
wxJoystickEvent::GetButtonChange()
int
wxJoystickEvent::GetButtonState()
int
wxJoystickEvent::GetJoystick()
wxPoint*
wxJoystickEvent::GetPosition()
CODE:
RETVAL = new wxPoint( THIS->GetPosition() );
OUTPUT:
RETVAL
int
wxJoystickEvent::GetZPosition()
bool
wxJoystickEvent::IsButton()
bool
wxJoystickEvent::IsMove()
bool
wxJoystickEvent::IsZMove()
MODULE=Wx_Evt PACKAGE=Wx::MenuEvent
wxMenuEvent*
wxMenuEvent::new( eventType = 0, id = 0 )
wxEventType eventType
wxWindowID id
int
wxMenuEvent::GetMenuId()
bool
wxMenuEvent::IsPopup()
#if WXPERL_W_VERSION_GE( 2, 6, 0 )
wxMenu*
wxMenuEvent::GetMenu()
#endif
MODULE=Wx_Evt PACKAGE=Wx::MaximizeEvent
wxMouseEvent*
wxMouseEvent::new( id = 0 )
wxWindowID id
MODULE=Wx_Evt PACKAGE=Wx::MouseEvent
wxMouseEvent*
wxMouseEvent::new( eventType = 0 )
wxEventType eventType
bool
wxMouseEvent::AltDown()
bool
wxMouseEvent::Button( button = -1 )
int button
bool
wxMouseEvent::ButtonDClick( button = -1 )
int button
bool
wxMouseEvent::ButtonDown( button = -1 )
int button
bool
wxMouseEvent::ButtonUp( button = -1 )
int button
#if WXPERL_W_VERSION_GE( 2, 5, 3 )
bool
wxMouseEvent::CmdDown()
#endif
bool
wxMouseEvent::ControlDown()
bool
wxMouseEvent::Dragging()
bool
wxMouseEvent::Entering()
wxPoint*
wxMouseEvent::GetPosition()
CODE:
RETVAL = new wxPoint( THIS->GetPosition() );
OUTPUT:
RETVAL
void
wxMouseEvent::GetPositionXY()
PREINIT:
long x;
long y;
PPCODE:
THIS->GetPosition( &x, &y );
EXTEND( SP, 2 );
PUSHs( sv_2mortal( newSViv( x ) ) );
PUSHs( sv_2mortal( newSViv( y ) ) );
wxPoint*
wxMouseEvent::GetLogicalPosition( dc )
wxDC* dc
CODE:
RETVAL = new wxPoint( THIS->GetLogicalPosition( *dc ) );
OUTPUT:
RETVAL
long
wxMouseEvent::GetX()
long
wxMouseEvent::GetY()
int
wxMouseEvent::GetWheelRotation()
int
wxMouseEvent::GetWheelDelta()
int
wxMouseEvent::GetLinesPerAction()
#if WXPERL_W_VERSION_GE( 2, 9, 0 )
int
wxMouseEvent::GetWheelAxis()
#endif
bool
wxMouseEvent::IsButton()
bool
wxMouseEvent::IsPageScroll()
bool
wxMouseEvent::Leaving()
bool
wxMouseEvent::LeftDClick()
bool
wxMouseEvent::LeftDown()
bool
wxMouseEvent::LeftIsDown()
bool
wxMouseEvent::LeftUp()
bool
wxMouseEvent::MetaDown()
bool
wxMouseEvent::MiddleDClick()
bool
wxMouseEvent::MiddleDown()
bool
wxMouseEvent::MiddleIsDown()
bool
wxMouseEvent::MiddleUp()
bool
wxMouseEvent::Moving()
bool
wxMouseEvent::RightDClick()
bool
wxMouseEvent::RightDown()
bool
wxMouseEvent::RightIsDown()
bool
wxMouseEvent::RightUp()
#if WXPERL_W_VERSION_GE( 2, 9, 0 )
bool
wxMouseEvent::Aux1DClick()
bool
wxMouseEvent::Aux1Down()
bool
wxMouseEvent::Aux1IsDown()
bool
wxMouseEvent::Aux1Up()
bool
wxMouseEvent::Aux2DClick()
bool
wxMouseEvent::Aux2Down()
bool
wxMouseEvent::Aux2IsDown()
bool
wxMouseEvent::Aux2Up()
#endif
bool
wxMouseEvent::ShiftDown()
int
wxMouseEvent::GetButton()
#if WXPERL_W_VERSION_GE( 2, 9, 0 )
int
wxMouseEvent::GetClickCount()
#endif
MODULE=Wx_Evt PACKAGE=Wx::MoveEvent
wxMoveEvent*
wxMoveEvent::new( point, id = 0 )
wxPoint point
wxWindowID id
wxPoint*
wxMoveEvent::GetPosition()
CODE:
RETVAL = new wxPoint( THIS->GetPosition() );
OUTPUT:
RETVAL
#if WXPERL_W_VERSION_GE( 2, 5, 1 )
wxRect*
wxMoveEvent::GetRect()
CODE:
RETVAL = new wxRect( THIS->GetRect() );
OUTPUT: RETVAL
#endif
MODULE=Wx_Evt PACKAGE=Wx::NotifyEvent
wxNotifyEvent*
wxNotifyEvent::new( eventType = wxEVT_NULL, id = 0 )
wxEventType eventType
wxWindowID id
bool
wxNotifyEvent::IsAllowed()
void
wxNotifyEvent::Veto()
void
wxNotifyEvent::Allow()
MODULE=Wx_Evt PACKAGE=Wx::PaintEvent
wxPaintEvent*
wxPaintEvent::new( id = 0 )
wxWindowID id
MODULE=Wx_Evt PACKAGE=Wx::SizeEvent
wxSizeEvent*
wxSizeEvent::new( size, id = 0 )
wxSize size
wxWindowID id
wxSize*
wxSizeEvent::GetSize()
CODE:
RETVAL = new wxSize( THIS->GetSize() );
OUTPUT:
RETVAL
#if WXPERL_W_VERSION_GE( 2, 5, 1 )
wxRect*
wxSizeEvent::GetRect()
CODE:
RETVAL = new wxRect( THIS->GetRect() );
OUTPUT: RETVAL
#endif
MODULE=Wx_Evt PACKAGE=Wx::ScrollEvent
int
wxScrollEvent::GetOrientation()
int
wxScrollEvent::GetPosition()
MODULE=Wx_Evt PACKAGE=Wx::ScrollWinEvent
wxScrollWinEvent*
wxScrollWinEvent::new( eventType = 0, pos = 0, orientation = 0 )
wxEventType eventType
int pos
int orientation
int
wxScrollWinEvent::GetOrientation()
int
wxScrollWinEvent::GetPosition()
MODULE=Wx_Evt PACKAGE=Wx::SetCursorEvent
wxSetCursorEvent*
wxSetCursorEvent::new( x = 0, y = 0 )
wxCoord x
wxCoord y
wxCoord
wxSetCursorEvent::GetX()
wxCoord
wxSetCursorEvent::GetY()
void
wxSetCursorEvent::SetCursor( cursor )
wxCursor* cursor
C_ARGS: *cursor
wxCursor*
wxSetCursorEvent::GetCursor()
CODE:
RETVAL = new wxCursor( THIS->GetCursor() );
OUTPUT: RETVAL
bool
wxSetCursorEvent::HasCursor()
MODULE=Wx_Evt PACKAGE=Wx::SysColourChangedEvent
wxSysColourChangedEvent*
wxSysColourChangedEvent::new()
MODULE=Wx_Evt PACKAGE=Wx::UpdateUIEvent
bool
CanUpdate( window )
wxWindow* window
CODE:
RETVAL = wxUpdateUIEvent::CanUpdate( window );
OUTPUT: RETVAL
wxUpdateUIMode
GetMode()
CODE:
RETVAL = wxUpdateUIEvent::GetMode();
OUTPUT: RETVAL
void
SetMode( mode )
wxUpdateUIMode mode
CODE:
wxUpdateUIEvent::SetMode( mode );
long
GetUpdateInterval()
CODE:
RETVAL = wxUpdateUIEvent::GetUpdateInterval();
OUTPUT: RETVAL
void
ResetUpdateTime()
CODE:
wxUpdateUIEvent::ResetUpdateTime();
void
SetUpdateInterval( interval )
long interval
CODE:
wxUpdateUIEvent::SetUpdateInterval( interval );
wxUpdateUIEvent*
wxUpdateUIEvent::new( commandId = 0 )
wxWindowID commandId
void
wxUpdateUIEvent::Check( check )
bool check
#if WXPERL_W_VERSION_GE( 2, 7, 2 )
void
wxUpdateUIEvent::Show( show )
bool show
#endif
void
wxUpdateUIEvent::Enable( enable )
bool enable
bool
wxUpdateUIEvent::GetChecked()
#if WXPERL_W_VERSION_GE( 2, 7, 2 )
bool
wxUpdateUIEvent::GetShown()
#endif
bool
wxUpdateUIEvent::GetSetEnabled()
bool
wxUpdateUIEvent::GetSetChecked()
#if WXPERL_W_VERSION_GE( 2, 7, 2 )
bool
wxUpdateUIEvent::GetSetShown()
#endif
bool
wxUpdateUIEvent::GetEnabled()
wxString
wxUpdateUIEvent::GetText()
void
wxUpdateUIEvent::SetText( text )
wxString text
bool
wxUpdateUIEvent::GetSetText()
MODULE=Wx_Evt PACKAGE=Wx::NavigationKeyEvent
wxNavigationKeyEvent*
wxNavigationKeyEvent::new()
bool
wxNavigationKeyEvent::GetDirection()
void
wxNavigationKeyEvent::SetDirection(direction)
bool direction
bool
wxNavigationKeyEvent::IsWindowChange()
void
wxNavigationKeyEvent::SetWindowChange(change)
bool change
wxWindow*
wxNavigationKeyEvent::GetCurrentFocus()
void
wxNavigationKeyEvent::SetCurrentFocus(focus)
wxWindow* focus
#if WXPERL_W_VERSION_GE( 2, 5, 4 )
bool