wxruby-ruby19 1.9.8-x86-darwin-9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. data/lib/wx.rb +53 -0
  2. data/lib/wx/accessors.rb +52 -0
  3. data/lib/wx/classes/acceleratortable.rb +28 -0
  4. data/lib/wx/classes/animation.rb +18 -0
  5. data/lib/wx/classes/app.rb +45 -0
  6. data/lib/wx/classes/artprovider.rb +31 -0
  7. data/lib/wx/classes/auinotebook.rb +9 -0
  8. data/lib/wx/classes/bitmap.rb +28 -0
  9. data/lib/wx/classes/busycursor.rb +12 -0
  10. data/lib/wx/classes/checklistbox.rb +45 -0
  11. data/lib/wx/classes/choice.rb +4 -0
  12. data/lib/wx/classes/clientdc.rb +13 -0
  13. data/lib/wx/classes/clipboard.rb +16 -0
  14. data/lib/wx/classes/colour.rb +47 -0
  15. data/lib/wx/classes/combobox.rb +4 -0
  16. data/lib/wx/classes/commandevent.rb +7 -0
  17. data/lib/wx/classes/controlwithitems.rb +10 -0
  18. data/lib/wx/classes/dc.rb +57 -0
  19. data/lib/wx/classes/event.rb +5 -0
  20. data/lib/wx/classes/evthandler.rb +964 -0
  21. data/lib/wx/classes/font.rb +118 -0
  22. data/lib/wx/classes/functions.rb +44 -0
  23. data/lib/wx/classes/gauge.rb +12 -0
  24. data/lib/wx/classes/grid.rb +138 -0
  25. data/lib/wx/classes/helpcontroller.rb +5 -0
  26. data/lib/wx/classes/helpcontrollerhelpprovider.rb +23 -0
  27. data/lib/wx/classes/helpprovider.rb +15 -0
  28. data/lib/wx/classes/htmlhelpcontroller.rb +5 -0
  29. data/lib/wx/classes/htmlwindow.rb +14 -0
  30. data/lib/wx/classes/icon.rb +21 -0
  31. data/lib/wx/classes/iconbundle.rb +3 -0
  32. data/lib/wx/classes/image.rb +31 -0
  33. data/lib/wx/classes/imagelist.rb +3 -0
  34. data/lib/wx/classes/listbox.rb +4 -0
  35. data/lib/wx/classes/listctrl.rb +21 -0
  36. data/lib/wx/classes/locale.rb +28 -0
  37. data/lib/wx/classes/mediactrl.rb +48 -0
  38. data/lib/wx/classes/menu.rb +62 -0
  39. data/lib/wx/classes/menuitem.rb +7 -0
  40. data/lib/wx/classes/notebook.rb +9 -0
  41. data/lib/wx/classes/object.rb +14 -0
  42. data/lib/wx/classes/paintdc.rb +12 -0
  43. data/lib/wx/classes/point.rb +48 -0
  44. data/lib/wx/classes/previewframe.rb +13 -0
  45. data/lib/wx/classes/rect.rb +10 -0
  46. data/lib/wx/classes/simplehelpprovider.rb +38 -0
  47. data/lib/wx/classes/size.rb +49 -0
  48. data/lib/wx/classes/sizer.rb +22 -0
  49. data/lib/wx/classes/sound.rb +23 -0
  50. data/lib/wx/classes/styledtextctrl.rb +92 -0
  51. data/lib/wx/classes/textctrl.rb +14 -0
  52. data/lib/wx/classes/texturlevent.rb +6 -0
  53. data/lib/wx/classes/timer.rb +94 -0
  54. data/lib/wx/classes/toolbar.rb +29 -0
  55. data/lib/wx/classes/toolbartool.rb +4 -0
  56. data/lib/wx/classes/treectrl.rb +44 -0
  57. data/lib/wx/classes/window.rb +82 -0
  58. data/lib/wx/classes/xmlresource.rb +37 -0
  59. data/lib/wx/helpers.rb +30 -0
  60. data/lib/wx/keyword_ctors.rb +203 -0
  61. data/lib/wx/keyword_defs.rb +507 -0
  62. data/lib/wx/version.rb +3 -0
  63. data/lib/wxruby2.bundle +0 -0
  64. metadata +323 -0
@@ -0,0 +1,507 @@
1
+ # = WxSugar - Keyword Constructors Classes
2
+ #
3
+ # This extension defines the keyword parameters for +new+ methods for
4
+ # widgets, windows and frames. It's for use with *Keyword Constructors*
5
+ # and is no use on its own - except if you are looking for a bug or want
6
+ # to add a missing class.
7
+ #
8
+ # For each class, the parameters *must* be declared in the order that
9
+ # they are supplied to wxRuby. A parameter is specified by a symbol
10
+ # name, and, optionally, a default argument which will of whatever type
11
+ # the wxRuby core library accepts. Because hashes are unordered in Ruby
12
+ # 1.8, if a default argument is specified, this must be the last in a
13
+ # list of parameters.
14
+ #
15
+ # Some common parameters to constructors such as size, position, title,
16
+ # id and so forth always have a standard default argumnet, which is
17
+ # defined in keyword_ctors. In these cases, it is not necessary to
18
+ # supply the default argument in the definition.
19
+ module Wx
20
+ @defined_kw_classes = {}
21
+
22
+ # accepts a string unadorned name of a WxWidgets class, and block, which
23
+ # defines the constructor parameters and style flags for that class.
24
+ # If the named class exists in the available WxRuby, the block is run and
25
+ # the class may use keyword constructors. If the class is not available, the
26
+ # block is ignored.
27
+ def self.define_keyword_ctors(klass_name, &block)
28
+ # check this class hasn't already been defined
29
+ if @defined_kw_classes[klass_name]
30
+ raise ArgumentError, "Keyword ctor for #{klass_name} already defined"
31
+ else
32
+ @defined_kw_classes[klass_name] = true
33
+ end
34
+
35
+ begin
36
+ klass = Wx::const_get(klass_name)
37
+ rescue NameError
38
+ return nil
39
+ end
40
+ klass.module_eval { include Wx::KeywordConstructor }
41
+ klass.instance_eval(&block)
42
+ end
43
+ end
44
+
45
+ # Window : base class for all widgets and frames
46
+ Wx::define_keyword_ctors('Window') do
47
+ wx_ctor_params :id, :pos, :size, :style
48
+ wx_ctor_params :name => 'window'
49
+ end
50
+
51
+
52
+ ### FRAMES
53
+
54
+ # wxTopLevelWindow ABSTRACT: Any top level window, dialog or frame
55
+
56
+ # Normal frame
57
+ Wx::define_keyword_ctors('Frame') do
58
+ wx_ctor_params :id, :title, :pos, :size, :style => Wx::DEFAULT_FRAME_STYLE
59
+ wx_ctor_params :name => 'frame'
60
+ end
61
+
62
+ # MDI child frame
63
+ Wx::define_keyword_ctors('MDIChildFrame') do
64
+ wx_ctor_params :id, :title, :pos, :size, :style => Wx::DEFAULT_FRAME_STYLE
65
+ wx_ctor_params :name => 'frame'
66
+ end
67
+
68
+ # MDI parent frame
69
+ Wx::define_keyword_ctors('MDIParentFrame') do
70
+ wx_ctor_params :id, :title, :pos, :size
71
+ wx_ctor_params :style => Wx::DEFAULT_FRAME_STYLE|Wx::VSCROLL|Wx::HSCROLL
72
+ wx_ctor_params :name => 'frame'
73
+ end
74
+
75
+ # wxMiniFrame A frame with a small title bar
76
+ Wx::define_keyword_ctors('MiniFrame') do
77
+ wx_ctor_params :id, :title, :pos, :size
78
+ wx_ctor_params :style => Wx::DEFAULT_FRAME_STYLE
79
+ wx_ctor_params :name => 'frame'
80
+ end
81
+
82
+ # wxSplashScreen Splash screen class
83
+ # FIXME - this probably won't work at present because the 'parent' arg
84
+ # comes in a funny place in this class's ctor
85
+ #
86
+ # Wx::define_keyword_ctors('SplashScreen') do
87
+ # wx_ctor_params :bitmap => Wx::NULL_BITMAP
88
+ # wx_ctor_params :splashstyle, :milliseconds, :id => 1
89
+ # wx_ctor_params :parent => nil
90
+ # wx_ctor_params :title => ''
91
+ # wx_ctor_params :pos, :size
92
+ # wx_ctor_params :style => Wx::SIMPLE_BORDER|Wx::FRAME_NO_TASKBAR|Wx::STAY_ON_TOP
93
+ # end
94
+
95
+ # wxPropertySheetDialog Property sheet dialog
96
+ # wxTipWindow Shows text in a small window
97
+
98
+ # wxWizard A wizard dialog
99
+ Wx::define_keyword_ctors('Wizard') do
100
+ wx_ctor_params :id, :title, :bitmap => Wx::NULL_BITMAP
101
+ wx_ctor_params :pos # NB - no size argument for this class
102
+ wx_ctor_params :style => Wx::DEFAULT_DIALOG_STYLE
103
+ end
104
+
105
+
106
+ # MISCELLANEOUS WINDOWS
107
+
108
+ # A window whose colour changes according to current user settings
109
+ Wx::define_keyword_ctors('Panel') do
110
+ wx_ctor_params :id, :pos, :size, :style => Wx::TAB_TRAVERSAL
111
+ wx_ctor_params :name => 'panel'
112
+ end
113
+
114
+ # wxScrolledWindow Window with automatically managed scrollbars
115
+ Wx::define_keyword_ctors('ScrolledWindow') do
116
+ wx_ctor_params :id, :pos, :size, :style => Wx::VSCROLL|Wx::HSCROLL
117
+ wx_ctor_params :name => 'scrolledWindow'
118
+ end
119
+
120
+ # wxGrid A grid (table) window
121
+ Wx::define_keyword_ctors('Grid') do
122
+ wx_ctor_params :id, :pos, :size, :style => Wx::WANTS_CHARS
123
+ wx_ctor_params :name => 'grid'
124
+ end
125
+
126
+ # Window which can be split vertically or horizontally
127
+ Wx::define_keyword_ctors('SplitterWindow') do
128
+ wx_ctor_params :id, :pos, :size, :style => Wx::SP_3D
129
+ wx_ctor_params :name => 'splitterWindow'
130
+ end
131
+
132
+ # Implements the status bar on a frame
133
+ Wx::define_keyword_ctors('StatusBar') do
134
+ wx_ctor_params :id, :style => Wx::ST_SIZEGRIP
135
+ wx_ctor_params :name => 'statusBar'
136
+ end
137
+
138
+ # Toolbar class
139
+ Wx::define_keyword_ctors('ToolBar') do
140
+ wx_ctor_params :id, :pos, :size, :style => Wx::TB_HORIZONTAL|Wx::NO_BORDER
141
+ wx_ctor_params :name => 'toolBar' # not as documented in Wx 2.6.3
142
+ end
143
+
144
+ # ToolBarTool class
145
+ Wx::define_keyword_ctors('ToolBarTool') do
146
+ # By default we want Wx to generate an id for us, thus it doesn't
147
+ # respect the wxWidgets default constructor value which is
148
+ # ID_SEPARATOR
149
+ wx_ctor_params :id => Wx::ID_ANY
150
+ wx_ctor_params :label => ''
151
+ wx_ctor_params :bitmap
152
+ wx_ctor_params :disabled_bitmap => Wx::NULL_BITMAP
153
+ wx_ctor_params :kind => Wx::ITEM_NORMAL
154
+ wx_ctor_params :data => nil
155
+ wx_ctor_params :short_help => ''
156
+ wx_ctor_params :long_help => ''
157
+ end
158
+
159
+ # Notebook class
160
+ Wx::define_keyword_ctors('Notebook') do
161
+ wx_ctor_params :id, :pos, :size, :style, :name => 'noteBook'
162
+ end
163
+
164
+ # Similar to notebook but using list control - undocumented
165
+ Wx::define_keyword_ctors('Listbook') do
166
+ wx_ctor_params :id, :pos, :size, :style, :name => 'listBook'
167
+ end
168
+
169
+ # Similar to notebook but using choice control
170
+ Wx::define_keyword_ctors('Choicebook') do
171
+ wx_ctor_params :id, :pos, :size, :style, :name => 'choiceBook'
172
+ end
173
+
174
+ # wxSashWindow: Window with four optional sashes that can be dragged
175
+ Wx::define_keyword_ctors('SashWindow') do
176
+ wx_ctor_params :id, :pos, :size
177
+ wx_ctor_params :style => Wx::CLIP_CHILDREN|Wx::SW_3D
178
+ wx_ctor_params :name => 'sashWindow'
179
+ end
180
+
181
+ # wxSashLayoutWindow: Window that can be involved in an IDE-like layout
182
+ # arrangement
183
+ Wx::define_keyword_ctors('SashLayoutWindow') do
184
+ wx_ctor_params :id, :pos, :size
185
+ wx_ctor_params :style => Wx::CLIP_CHILDREN|Wx::SW_3D
186
+ wx_ctor_params :name => 'layoutWindow'
187
+ end
188
+
189
+ # wxVScrolledWindow: As wxScrolledWindow but supports lines of variable height
190
+
191
+ # wxWizardPage: A base class for the page in wizard dialog.
192
+ Wx::define_keyword_ctors('WizardPage') do
193
+ wx_ctor_params :bitmap => Wx::NULL_BITMAP
194
+ end
195
+
196
+ # wxWizardPageSimple: A page in wizard dialog.
197
+ Wx::define_keyword_ctors('WizardPageSimple') do
198
+ wx_ctor_params :prev => nil
199
+ wx_ctor_params :next => nil
200
+ wx_ctor_params :bitmap => Wx::NULL_BITMAP
201
+ end
202
+
203
+ ### DIALOGS
204
+ # wxDialog Base class for common dialogs
205
+ Wx::define_keyword_ctors('Dialog') do
206
+ wx_ctor_params :id, :title => ''
207
+ wx_ctor_params :pos, :size, :style => Wx::DEFAULT_DIALOG_STYLE
208
+ wx_ctor_params :name => 'dialogBox'
209
+ end
210
+
211
+ # wxColourDialog Colour chooser dialog
212
+ Wx::define_keyword_ctors('ColourDialog') do
213
+ wx_ctor_params :colour_data => nil
214
+ end
215
+
216
+ # wxDirDialog Directory selector dialog
217
+ Wx::define_keyword_ctors('DirDialog') do
218
+ wx_ctor_params :message => 'Choose a directory'
219
+ wx_ctor_params :default_path => ''
220
+ wx_ctor_params :style, :pos, :size, :name => 'wxDirCtrl'
221
+ end
222
+
223
+ # wxFileDialog File selector dialog
224
+ Wx::define_keyword_ctors('FileDialog') do
225
+ wx_ctor_params :message => 'Choose a file'
226
+ wx_ctor_params :default_dir => ''
227
+ wx_ctor_params :default_file => ''
228
+ wx_ctor_params :wildcard => '*.*'
229
+ wx_ctor_params :style, :pos
230
+ end
231
+
232
+ # wxFindReplaceDialog Text search/replace dialog
233
+ Wx::define_keyword_ctors('FindReplaceDialog') do
234
+ wx_ctor_params :find_replace_data => Wx::FindReplaceData.new()
235
+ wx_ctor_params :title => 'findReplaceDialog'
236
+ wx_ctor_params :style
237
+ end
238
+
239
+ # wxMultiChoiceDialog Dialog to get one or more selections from a list
240
+ # wxSingleChoiceDialog Dialog to get a single selection from a list and return the string
241
+
242
+ # Dialog to get a single line of text from the user
243
+ Wx::define_keyword_ctors('TextEntryDialog') do
244
+ wx_ctor_params :message => ''
245
+ wx_ctor_params :caption => 'Please enter text'
246
+ wx_ctor_params :default_value => ''
247
+ wx_ctor_params :style => Wx::OK|Wx::CANCEL|Wx::CENTRE
248
+ wx_ctor_params :pos
249
+ end
250
+
251
+ # wxPasswordEntryDialog Dialog to get a password from the user
252
+ # Wx::define_keyword_ctors('PasswordEntryDialog') do
253
+ # wx_ctor_params :message => ''
254
+ # wx_ctor_params :caption => 'Enter password'
255
+ # wx_ctor_params :default_value => ''
256
+ # wx_ctor_params :style => Wx::OK|Wx::CANCEL|Wx::CENTRE
257
+ # wx_ctor_params :pos
258
+ # end
259
+
260
+ # wxFontDialog Font chooser dialog
261
+ # wxPageSetupDialog Standard page setup dialog
262
+ Wx::define_keyword_ctors('PageSetupDialog') do
263
+ wx_ctor_params :data
264
+ end
265
+
266
+ # wxPrintDialog Standard print dialog
267
+ Wx::define_keyword_ctors('PrintDialog') do
268
+ wx_ctor_params :data
269
+ end
270
+
271
+
272
+ # Simple message box dialog
273
+ Wx::define_keyword_ctors('MessageDialog') do
274
+ wx_ctor_params :message => ''
275
+ wx_ctor_params :caption => 'Message box'
276
+ wx_ctor_params :style => Wx::OK|Wx::CANCEL
277
+ wx_ctor_params :pos
278
+ end
279
+
280
+ ### CONTROLS
281
+
282
+ # Push button control, displaying text
283
+ Wx::define_keyword_ctors('Button') do
284
+ wx_ctor_params :id, :label => ''
285
+ wx_ctor_params :pos, :size, :style
286
+ wx_ctor_params :validator, :name => 'button'
287
+ end
288
+
289
+ # Push button control, displaying a bitmap
290
+ Wx::define_keyword_ctors('BitmapButton') do
291
+ wx_ctor_params :id, :bitmap, :pos, :size, :style => Wx::BU_AUTODRAW
292
+ wx_ctor_params :validator, :name => 'button'
293
+ end
294
+
295
+ # A button which stays pressed when clicked by user.
296
+ Wx::define_keyword_ctors('ToggleButton') do
297
+ wx_ctor_params :id, :label, :pos, :size, :style
298
+ wx_ctor_params :validator, :name => 'checkBox'
299
+ end
300
+
301
+ # Control showing an entire calendar month
302
+ Wx::define_keyword_ctors('CalendarCtrl') do
303
+ wx_ctor_params :id, :date => Time.now()
304
+ wx_ctor_params :pos, :size, :style => Wx::CAL_SHOW_HOLIDAYS
305
+ wx_ctor_params :name => 'calendar'
306
+ end
307
+
308
+ # Checkbox control
309
+ Wx::define_keyword_ctors('CheckBox') do
310
+ wx_ctor_params :id, :label => ''
311
+ wx_ctor_params :pos, :size, :style
312
+ wx_ctor_params :validator, :name => 'checkBox'
313
+ end
314
+
315
+ # A listbox with a checkbox to the left of each item
316
+ Wx::define_keyword_ctors('CheckListBox') do
317
+ wx_ctor_params :id, :pos, :size, :choices, :style
318
+ wx_ctor_params :validator, :name => 'listBox'
319
+ end
320
+
321
+ # wxChoice Choice control (a combobox without the editable area)
322
+ Wx::define_keyword_ctors('Choice') do
323
+ wx_ctor_params :id, :pos, :size, :choices, :style
324
+ wx_ctor_params :validator, :name => 'choice'
325
+ end
326
+
327
+ # wxComboBox A choice with an editable area
328
+ Wx::define_keyword_ctors('ComboBox') do
329
+ wx_ctor_params :id, :value => ''
330
+ wx_ctor_params :pos, :size, :choices => []
331
+ wx_ctor_params :style
332
+ wx_ctor_params :validator, :name => 'comboBox'
333
+ end
334
+
335
+ # wxBitmapComboBox A choice with an editable area
336
+ Wx::define_keyword_ctors('BitmapComboBox') do
337
+ wx_ctor_params :id, :value => ''
338
+ wx_ctor_params :pos, :size, :choices => []
339
+ wx_ctor_params :style
340
+ wx_ctor_params :validator, :name => 'comboBox'
341
+ end
342
+
343
+ # wxDatePickerCtrl Small date picker control
344
+
345
+ # wxGauge A control to represent a varying quantity, such as time
346
+ # remaining
347
+ Wx::define_keyword_ctors('Gauge') do
348
+ wx_ctor_params :id, :range, :pos, :size, :style => Wx::GA_HORIZONTAL
349
+ wx_ctor_params :validator, :name => 'gauge'
350
+ end
351
+
352
+ # wxGenericDirCtrl A control for displaying a directory tree
353
+ Wx::define_keyword_ctors('GenericDirCtrl') do
354
+ # TODO :dir => Wx::DIR_DIALOG_DEFAULT_FOLDER_STR
355
+ wx_ctor_params :id, :dir => ''
356
+ wx_ctor_params :pos, :size,
357
+ :style => Wx::DIRCTRL_3D_INTERNAL|Wx::SUNKEN_BORDER
358
+ wx_ctor_params :filter => ''
359
+ wx_ctor_params :default_filter => 0
360
+ wx_ctor_params :name => 'genericDirCtrl'
361
+ end
362
+
363
+
364
+ # wxHtmlListBox A listbox showing HTML content
365
+ # wxListBox A list of strings for single or multiple selection
366
+ Wx::define_keyword_ctors('ListBox') do
367
+ wx_ctor_params :id, :pos, :size, :choices => []
368
+ wx_ctor_params :style
369
+ wx_ctor_params :validator, :name => 'listBox'
370
+ end
371
+
372
+ # wxListCtrl A control for displaying lists of strings and/or icons, plus a multicolumn report view
373
+ Wx::define_keyword_ctors('ListCtrl') do
374
+ wx_ctor_params :id, :pos, :size, :style => Wx::LC_ICON
375
+ wx_ctor_params :validator, :name => 'listCtrl'
376
+ end
377
+
378
+ # wxListView A simpler interface (facade for wxListCtrl in report mode
379
+
380
+ # wxTreeCtrl Tree (hierarchy) control
381
+ Wx::define_keyword_ctors('TreeCtrl') do
382
+ wx_ctor_params :id, :pos, :size, :style => Wx::TR_HAS_BUTTONS
383
+ wx_ctor_params :validator, :name => 'treeCtrl'
384
+ end
385
+
386
+ # wxSpinCtrl A spin control - i.e. spin button and text control
387
+ Wx::define_keyword_ctors('SpinCtrl') do
388
+ wx_ctor_params :id, :value => ''
389
+ wx_ctor_params :pos, :size, :style => Wx::SP_ARROW_KEYS
390
+ wx_ctor_params :min => 0
391
+ wx_ctor_params :max => 100
392
+ wx_ctor_params :initial => 0
393
+ wx_ctor_params :name => 'spinCtrl'
394
+ end
395
+
396
+ # One or more lines of non-editable text
397
+ Wx::define_keyword_ctors('StaticText') do
398
+ wx_ctor_params :id, :label, :pos, :size, :style, :name => 'staticText'
399
+ end
400
+
401
+ Wx::define_keyword_ctors('StaticBox') do
402
+ wx_ctor_params :id, :label, :pos, :size, :style, :name => 'staticBox'
403
+ end
404
+
405
+ Wx::define_keyword_ctors('StaticLine') do
406
+ wx_ctor_params :id, :pos, :size, :style => Wx::LI_HORIZONTAL
407
+ wx_ctor_params :name => 'staticBox'
408
+ end
409
+
410
+ # wxStaticBitmap A control to display a bitmap
411
+ Wx::define_keyword_ctors('StaticBitmap') do
412
+ wx_ctor_params :id, :label, :pos, :size, :style
413
+ end
414
+
415
+
416
+ # wxRadioBox A group of radio buttons
417
+ Wx::define_keyword_ctors('RadioBox') do
418
+ wx_ctor_params :id, :label => ''
419
+ wx_ctor_params :pos, :size, :choices => []
420
+ wx_ctor_params :major_dimension => 0
421
+ wx_ctor_params :style => Wx::RA_SPECIFY_COLS
422
+ wx_ctor_params :validator, :name => 'radioBox'
423
+ end
424
+
425
+ # wxRadioButton: A round button used with others in a mutually exclusive way
426
+ Wx::define_keyword_ctors('RadioButton') do
427
+ wx_ctor_params :id, :label => ''
428
+ wx_ctor_params :pos, :size, :style => 0
429
+ wx_ctor_params :validator, :name => 'radioButton'
430
+ end
431
+
432
+ # wxSlider A slider that can be dragged by the user
433
+ Wx::define_keyword_ctors('Slider') do
434
+ wx_ctor_params :id, :value => 0
435
+ wx_ctor_params :min_value, :max_value
436
+ wx_ctor_params :pos, :size, :style => Wx::SL_HORIZONTAL
437
+ wx_ctor_params :validator, :name => 'slider'
438
+ end
439
+
440
+ # wxSpinButton - Has two small up and down (or left and right) arrow buttons
441
+ Wx::define_keyword_ctors('SpinButton') do
442
+ wx_ctor_params :id, :pos, :size, :style => Wx::SP_HORIZONTAL
443
+ wx_ctor_params :name => 'spinButton'
444
+ end
445
+
446
+ # wxScrollBar - standalone scrollbar with arrows and thumb
447
+ Wx::define_keyword_ctors('ScrollBar') do
448
+ wx_ctor_params :id, :pos, :size, :style => Wx::SB_HORIZONTAL
449
+ wx_ctor_params :validator, :name => 'scrollBar'
450
+ end
451
+
452
+
453
+ # wxVListBox A listbox supporting variable height rows
454
+
455
+ # wxTextCtrl Single or multiline text editing control
456
+ Wx::define_keyword_ctors('TextCtrl') do
457
+ wx_ctor_params :id, :value => ''
458
+ wx_ctor_params :pos, :size, :style
459
+ wx_ctor_params :validator, :name => 'textCtrl'
460
+ end
461
+
462
+ # wxHtmlWindow - Control for displaying HTML
463
+ Wx::define_keyword_ctors('HtmlWindow') do
464
+ wx_ctor_params :id, :pos, :size, :style => Wx::HW_DEFAULT_STYLE
465
+ wx_ctor_params :name => 'htmlWindow'
466
+ end
467
+
468
+ # wxHyperTextCtrl - display a clickable URL
469
+ Wx::define_keyword_ctors('HyperlinkCtrl') do
470
+ wx_ctor_params :id, :label => ''
471
+ wx_ctor_params :url => ''
472
+ wx_ctor_params :pos, :size, :style => 0
473
+ wx_ctor_params :name => 'hyperlink'
474
+ end
475
+
476
+ Wx::define_keyword_ctors('StyledTextCtrl') do
477
+ wx_ctor_params :id, :pos, :size, :style => 0
478
+ wx_ctor_params :name => 'styledTextCtrl'
479
+ end
480
+
481
+
482
+ Wx::define_keyword_ctors('CollapsiblePane') do
483
+ wx_ctor_params :id, :label => ''
484
+ wx_ctor_params :pos, :size, :style => 0
485
+ wx_ctor_params :validator, :name => 'collapsiblePane'
486
+ end
487
+
488
+ Wx::define_keyword_ctors('MediaCtrl') do
489
+ wx_ctor_params :id, :filename => ''
490
+ wx_ctor_params :pos, :size, :style => 0
491
+ wx_ctor_params :backend => ''
492
+ wx_ctor_params :validator, :name => 'mediaCtrl'
493
+ end
494
+
495
+ Wx::define_keyword_ctors('SearchCtrl') do
496
+ wx_ctor_params :id, :value => ''
497
+ wx_ctor_params :pos, :size, :style => 0
498
+ wx_ctor_params :validator, :name => 'searchCtrl'
499
+ end
500
+
501
+
502
+ Wx::define_keyword_ctors('AnimationCtrl') do
503
+ wx_ctor_params :id, :anim
504
+ wx_ctor_params :pos, :size, :style => Wx::AC_DEFAULT_STYLE
505
+ wx_ctor_params :name => 'animationCtrl'
506
+ end
507
+