1 /*
2 * Interface wrapper code.
3 *
4 * Generated by SIP 4.19.16
5 *
6 * Copyright: (c) 2018 by Total Control Software
7 * License: wxWindows License
8 */
9
10 #include "sipAPI_aui.h"
11
12 #include <wx/aui/framemanager.h>
13
14 #include <wx/gdicmn.h>
15 #include <wx/gdicmn.h>
16 #include <wx/frame.h>
17 #include <wx/bitmap.h>
18 #include <wx/gdicmn.h>
19 #include <wx/window.h>
20
21
22 PyDoc_STRVAR(doc_wxAuiPaneInfo_BestSize, "BestSize(size) -> AuiPaneInfo\n"
23 "BestSize(x, y) -> AuiPaneInfo\n"
24 "\n"
25 "BestSize() sets the ideal size for the pane.\n"
26 "");
27
28 extern "C" {static PyObject *meth_wxAuiPaneInfo_BestSize(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_BestSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)29 static PyObject *meth_wxAuiPaneInfo_BestSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
30 {
31 PyObject *sipParseErr = SIP_NULLPTR;
32
33 {
34 const ::wxSize* size;
35 int sizeState = 0;
36 ::wxAuiPaneInfo *sipCpp;
37
38 static const char *sipKwdList[] = {
39 sipName_size,
40 };
41
42 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, sipType_wxSize, &size, &sizeState))
43 {
44 ::wxAuiPaneInfo*sipRes;
45
46 PyErr_Clear();
47
48 Py_BEGIN_ALLOW_THREADS
49 sipRes = &sipCpp->BestSize(*size);
50 Py_END_ALLOW_THREADS
51 sipReleaseType(const_cast< ::wxSize *>(size),sipType_wxSize,sizeState);
52
53 if (PyErr_Occurred())
54 return 0;
55
56 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
57 }
58 }
59
60 {
61 int x;
62 int y;
63 ::wxAuiPaneInfo *sipCpp;
64
65 static const char *sipKwdList[] = {
66 sipName_x,
67 sipName_y,
68 };
69
70 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &x, &y))
71 {
72 ::wxAuiPaneInfo*sipRes;
73
74 PyErr_Clear();
75
76 Py_BEGIN_ALLOW_THREADS
77 sipRes = &sipCpp->BestSize(x,y);
78 Py_END_ALLOW_THREADS
79
80 if (PyErr_Occurred())
81 return 0;
82
83 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
84 }
85 }
86
87 /* Raise an exception if the arguments couldn't be parsed. */
88 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_BestSize, SIP_NULLPTR);
89
90 return SIP_NULLPTR;
91 }
92
93
94 PyDoc_STRVAR(doc_wxAuiPaneInfo_Centre, "Centre() -> AuiPaneInfo\n"
95 "\n"
96 "Center() sets the pane dock position to the left side of the frame.");
97
98 extern "C" {static PyObject *meth_wxAuiPaneInfo_Centre(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_Centre(PyObject * sipSelf,PyObject * sipArgs)99 static PyObject *meth_wxAuiPaneInfo_Centre(PyObject *sipSelf, PyObject *sipArgs)
100 {
101 PyObject *sipParseErr = SIP_NULLPTR;
102
103 {
104 ::wxAuiPaneInfo *sipCpp;
105
106 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
107 {
108 ::wxAuiPaneInfo*sipRes;
109
110 PyErr_Clear();
111
112 Py_BEGIN_ALLOW_THREADS
113 sipRes = &sipCpp->Centre();
114 Py_END_ALLOW_THREADS
115
116 if (PyErr_Occurred())
117 return 0;
118
119 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
120 }
121 }
122
123 /* Raise an exception if the arguments couldn't be parsed. */
124 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_Centre, SIP_NULLPTR);
125
126 return SIP_NULLPTR;
127 }
128
129
130 PyDoc_STRVAR(doc_wxAuiPaneInfo_Center, "Center() -> AuiPaneInfo\n"
131 "\n"
132 "Center() sets the pane dock position to the left side of the frame.");
133
134 extern "C" {static PyObject *meth_wxAuiPaneInfo_Center(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_Center(PyObject * sipSelf,PyObject * sipArgs)135 static PyObject *meth_wxAuiPaneInfo_Center(PyObject *sipSelf, PyObject *sipArgs)
136 {
137 PyObject *sipParseErr = SIP_NULLPTR;
138
139 {
140 ::wxAuiPaneInfo *sipCpp;
141
142 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
143 {
144 ::wxAuiPaneInfo*sipRes;
145
146 PyErr_Clear();
147
148 Py_BEGIN_ALLOW_THREADS
149 sipRes = &sipCpp->Center();
150 Py_END_ALLOW_THREADS
151
152 if (PyErr_Occurred())
153 return 0;
154
155 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
156 }
157 }
158
159 /* Raise an exception if the arguments couldn't be parsed. */
160 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_Center, SIP_NULLPTR);
161
162 return SIP_NULLPTR;
163 }
164
165
166 PyDoc_STRVAR(doc_wxAuiPaneInfo_CentrePane, "CentrePane() -> AuiPaneInfo\n"
167 "\n"
168 "CentrePane() specifies that the pane should adopt the default center\n"
169 "pane settings.");
170
171 extern "C" {static PyObject *meth_wxAuiPaneInfo_CentrePane(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_CentrePane(PyObject * sipSelf,PyObject * sipArgs)172 static PyObject *meth_wxAuiPaneInfo_CentrePane(PyObject *sipSelf, PyObject *sipArgs)
173 {
174 PyObject *sipParseErr = SIP_NULLPTR;
175
176 {
177 ::wxAuiPaneInfo *sipCpp;
178
179 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
180 {
181 ::wxAuiPaneInfo*sipRes;
182
183 PyErr_Clear();
184
185 Py_BEGIN_ALLOW_THREADS
186 sipRes = &sipCpp->CentrePane();
187 Py_END_ALLOW_THREADS
188
189 if (PyErr_Occurred())
190 return 0;
191
192 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
193 }
194 }
195
196 /* Raise an exception if the arguments couldn't be parsed. */
197 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_CentrePane, SIP_NULLPTR);
198
199 return SIP_NULLPTR;
200 }
201
202
203 PyDoc_STRVAR(doc_wxAuiPaneInfo_CenterPane, "CenterPane() -> AuiPaneInfo\n"
204 "\n"
205 "CentrePane() specifies that the pane should adopt the default center\n"
206 "pane settings.");
207
208 extern "C" {static PyObject *meth_wxAuiPaneInfo_CenterPane(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_CenterPane(PyObject * sipSelf,PyObject * sipArgs)209 static PyObject *meth_wxAuiPaneInfo_CenterPane(PyObject *sipSelf, PyObject *sipArgs)
210 {
211 PyObject *sipParseErr = SIP_NULLPTR;
212
213 {
214 ::wxAuiPaneInfo *sipCpp;
215
216 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
217 {
218 ::wxAuiPaneInfo*sipRes;
219
220 PyErr_Clear();
221
222 Py_BEGIN_ALLOW_THREADS
223 sipRes = &sipCpp->CenterPane();
224 Py_END_ALLOW_THREADS
225
226 if (PyErr_Occurred())
227 return 0;
228
229 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
230 }
231 }
232
233 /* Raise an exception if the arguments couldn't be parsed. */
234 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_CenterPane, SIP_NULLPTR);
235
236 return SIP_NULLPTR;
237 }
238
239
240 PyDoc_STRVAR(doc_wxAuiPaneInfo_FloatingPosition, "FloatingPosition(pos) -> AuiPaneInfo\n"
241 "FloatingPosition(x, y) -> AuiPaneInfo\n"
242 "\n"
243 "FloatingPosition() sets the position of the floating pane.\n"
244 "");
245
246 extern "C" {static PyObject *meth_wxAuiPaneInfo_FloatingPosition(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_FloatingPosition(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)247 static PyObject *meth_wxAuiPaneInfo_FloatingPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
248 {
249 PyObject *sipParseErr = SIP_NULLPTR;
250
251 {
252 const ::wxPoint* pos;
253 int posState = 0;
254 ::wxAuiPaneInfo *sipCpp;
255
256 static const char *sipKwdList[] = {
257 sipName_pos,
258 };
259
260 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, sipType_wxPoint, &pos, &posState))
261 {
262 ::wxAuiPaneInfo*sipRes;
263
264 PyErr_Clear();
265
266 Py_BEGIN_ALLOW_THREADS
267 sipRes = &sipCpp->FloatingPosition(*pos);
268 Py_END_ALLOW_THREADS
269 sipReleaseType(const_cast< ::wxPoint *>(pos),sipType_wxPoint,posState);
270
271 if (PyErr_Occurred())
272 return 0;
273
274 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
275 }
276 }
277
278 {
279 int x;
280 int y;
281 ::wxAuiPaneInfo *sipCpp;
282
283 static const char *sipKwdList[] = {
284 sipName_x,
285 sipName_y,
286 };
287
288 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &x, &y))
289 {
290 ::wxAuiPaneInfo*sipRes;
291
292 PyErr_Clear();
293
294 Py_BEGIN_ALLOW_THREADS
295 sipRes = &sipCpp->FloatingPosition(x,y);
296 Py_END_ALLOW_THREADS
297
298 if (PyErr_Occurred())
299 return 0;
300
301 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
302 }
303 }
304
305 /* Raise an exception if the arguments couldn't be parsed. */
306 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_FloatingPosition, SIP_NULLPTR);
307
308 return SIP_NULLPTR;
309 }
310
311
312 PyDoc_STRVAR(doc_wxAuiPaneInfo_FloatingSize, "FloatingSize(size) -> AuiPaneInfo\n"
313 "FloatingSize(x, y) -> AuiPaneInfo\n"
314 "\n"
315 "FloatingSize() sets the size of the floating pane.\n"
316 "");
317
318 extern "C" {static PyObject *meth_wxAuiPaneInfo_FloatingSize(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_FloatingSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)319 static PyObject *meth_wxAuiPaneInfo_FloatingSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
320 {
321 PyObject *sipParseErr = SIP_NULLPTR;
322
323 {
324 const ::wxSize* size;
325 int sizeState = 0;
326 ::wxAuiPaneInfo *sipCpp;
327
328 static const char *sipKwdList[] = {
329 sipName_size,
330 };
331
332 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, sipType_wxSize, &size, &sizeState))
333 {
334 ::wxAuiPaneInfo*sipRes;
335
336 PyErr_Clear();
337
338 Py_BEGIN_ALLOW_THREADS
339 sipRes = &sipCpp->FloatingSize(*size);
340 Py_END_ALLOW_THREADS
341 sipReleaseType(const_cast< ::wxSize *>(size),sipType_wxSize,sizeState);
342
343 if (PyErr_Occurred())
344 return 0;
345
346 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
347 }
348 }
349
350 {
351 int x;
352 int y;
353 ::wxAuiPaneInfo *sipCpp;
354
355 static const char *sipKwdList[] = {
356 sipName_x,
357 sipName_y,
358 };
359
360 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &x, &y))
361 {
362 ::wxAuiPaneInfo*sipRes;
363
364 PyErr_Clear();
365
366 Py_BEGIN_ALLOW_THREADS
367 sipRes = &sipCpp->FloatingSize(x,y);
368 Py_END_ALLOW_THREADS
369
370 if (PyErr_Occurred())
371 return 0;
372
373 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
374 }
375 }
376
377 /* Raise an exception if the arguments couldn't be parsed. */
378 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_FloatingSize, SIP_NULLPTR);
379
380 return SIP_NULLPTR;
381 }
382
383
384 PyDoc_STRVAR(doc_wxAuiPaneInfo_MaxSize, "MaxSize(size) -> AuiPaneInfo\n"
385 "MaxSize(x, y) -> AuiPaneInfo\n"
386 "\n"
387 "MaxSize() sets the maximum size of the pane.\n"
388 "");
389
390 extern "C" {static PyObject *meth_wxAuiPaneInfo_MaxSize(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_MaxSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)391 static PyObject *meth_wxAuiPaneInfo_MaxSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
392 {
393 PyObject *sipParseErr = SIP_NULLPTR;
394
395 {
396 const ::wxSize* size;
397 int sizeState = 0;
398 ::wxAuiPaneInfo *sipCpp;
399
400 static const char *sipKwdList[] = {
401 sipName_size,
402 };
403
404 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, sipType_wxSize, &size, &sizeState))
405 {
406 ::wxAuiPaneInfo*sipRes;
407
408 PyErr_Clear();
409
410 Py_BEGIN_ALLOW_THREADS
411 sipRes = &sipCpp->MaxSize(*size);
412 Py_END_ALLOW_THREADS
413 sipReleaseType(const_cast< ::wxSize *>(size),sipType_wxSize,sizeState);
414
415 if (PyErr_Occurred())
416 return 0;
417
418 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
419 }
420 }
421
422 {
423 int x;
424 int y;
425 ::wxAuiPaneInfo *sipCpp;
426
427 static const char *sipKwdList[] = {
428 sipName_x,
429 sipName_y,
430 };
431
432 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &x, &y))
433 {
434 ::wxAuiPaneInfo*sipRes;
435
436 PyErr_Clear();
437
438 Py_BEGIN_ALLOW_THREADS
439 sipRes = &sipCpp->MaxSize(x,y);
440 Py_END_ALLOW_THREADS
441
442 if (PyErr_Occurred())
443 return 0;
444
445 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
446 }
447 }
448
449 /* Raise an exception if the arguments couldn't be parsed. */
450 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_MaxSize, SIP_NULLPTR);
451
452 return SIP_NULLPTR;
453 }
454
455
456 PyDoc_STRVAR(doc_wxAuiPaneInfo_MinSize, "MinSize(size) -> AuiPaneInfo\n"
457 "MinSize(x, y) -> AuiPaneInfo\n"
458 "\n"
459 "MinSize() sets the minimum size of the pane.\n"
460 "");
461
462 extern "C" {static PyObject *meth_wxAuiPaneInfo_MinSize(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_MinSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)463 static PyObject *meth_wxAuiPaneInfo_MinSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
464 {
465 PyObject *sipParseErr = SIP_NULLPTR;
466
467 {
468 const ::wxSize* size;
469 int sizeState = 0;
470 ::wxAuiPaneInfo *sipCpp;
471
472 static const char *sipKwdList[] = {
473 sipName_size,
474 };
475
476 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, sipType_wxSize, &size, &sizeState))
477 {
478 ::wxAuiPaneInfo*sipRes;
479
480 PyErr_Clear();
481
482 Py_BEGIN_ALLOW_THREADS
483 sipRes = &sipCpp->MinSize(*size);
484 Py_END_ALLOW_THREADS
485 sipReleaseType(const_cast< ::wxSize *>(size),sipType_wxSize,sizeState);
486
487 if (PyErr_Occurred())
488 return 0;
489
490 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
491 }
492 }
493
494 {
495 int x;
496 int y;
497 ::wxAuiPaneInfo *sipCpp;
498
499 static const char *sipKwdList[] = {
500 sipName_x,
501 sipName_y,
502 };
503
504 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &x, &y))
505 {
506 ::wxAuiPaneInfo*sipRes;
507
508 PyErr_Clear();
509
510 Py_BEGIN_ALLOW_THREADS
511 sipRes = &sipCpp->MinSize(x,y);
512 Py_END_ALLOW_THREADS
513
514 if (PyErr_Occurred())
515 return 0;
516
517 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
518 }
519 }
520
521 /* Raise an exception if the arguments couldn't be parsed. */
522 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_MinSize, SIP_NULLPTR);
523
524 return SIP_NULLPTR;
525 }
526
527
528 PyDoc_STRVAR(doc_wxAuiPaneInfo_Bottom, "Bottom() -> AuiPaneInfo\n"
529 "\n"
530 "Bottom() sets the pane dock position to the bottom side of the frame.");
531
532 extern "C" {static PyObject *meth_wxAuiPaneInfo_Bottom(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_Bottom(PyObject * sipSelf,PyObject * sipArgs)533 static PyObject *meth_wxAuiPaneInfo_Bottom(PyObject *sipSelf, PyObject *sipArgs)
534 {
535 PyObject *sipParseErr = SIP_NULLPTR;
536
537 {
538 ::wxAuiPaneInfo *sipCpp;
539
540 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
541 {
542 ::wxAuiPaneInfo*sipRes;
543
544 PyErr_Clear();
545
546 Py_BEGIN_ALLOW_THREADS
547 sipRes = &sipCpp->Bottom();
548 Py_END_ALLOW_THREADS
549
550 if (PyErr_Occurred())
551 return 0;
552
553 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
554 }
555 }
556
557 /* Raise an exception if the arguments couldn't be parsed. */
558 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_Bottom, SIP_NULLPTR);
559
560 return SIP_NULLPTR;
561 }
562
563
564 PyDoc_STRVAR(doc_wxAuiPaneInfo_BottomDockable, "BottomDockable(b=True) -> AuiPaneInfo\n"
565 "\n"
566 "BottomDockable() indicates whether a pane can be docked at the bottom\n"
567 "of the frame.");
568
569 extern "C" {static PyObject *meth_wxAuiPaneInfo_BottomDockable(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_BottomDockable(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)570 static PyObject *meth_wxAuiPaneInfo_BottomDockable(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
571 {
572 PyObject *sipParseErr = SIP_NULLPTR;
573
574 {
575 bool b = 1;
576 ::wxAuiPaneInfo *sipCpp;
577
578 static const char *sipKwdList[] = {
579 sipName_b,
580 };
581
582 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &b))
583 {
584 ::wxAuiPaneInfo*sipRes;
585
586 PyErr_Clear();
587
588 Py_BEGIN_ALLOW_THREADS
589 sipRes = &sipCpp->BottomDockable(b);
590 Py_END_ALLOW_THREADS
591
592 if (PyErr_Occurred())
593 return 0;
594
595 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
596 }
597 }
598
599 /* Raise an exception if the arguments couldn't be parsed. */
600 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_BottomDockable, SIP_NULLPTR);
601
602 return SIP_NULLPTR;
603 }
604
605
606 PyDoc_STRVAR(doc_wxAuiPaneInfo_Caption, "Caption(c) -> AuiPaneInfo\n"
607 "\n"
608 "Caption() sets the caption of the pane.");
609
610 extern "C" {static PyObject *meth_wxAuiPaneInfo_Caption(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_Caption(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)611 static PyObject *meth_wxAuiPaneInfo_Caption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
612 {
613 PyObject *sipParseErr = SIP_NULLPTR;
614
615 {
616 const ::wxString* c;
617 int cState = 0;
618 ::wxAuiPaneInfo *sipCpp;
619
620 static const char *sipKwdList[] = {
621 sipName_c,
622 };
623
624 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, sipType_wxString,&c, &cState))
625 {
626 ::wxAuiPaneInfo*sipRes;
627
628 PyErr_Clear();
629
630 Py_BEGIN_ALLOW_THREADS
631 sipRes = &sipCpp->Caption(*c);
632 Py_END_ALLOW_THREADS
633 sipReleaseType(const_cast< ::wxString *>(c),sipType_wxString,cState);
634
635 if (PyErr_Occurred())
636 return 0;
637
638 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
639 }
640 }
641
642 /* Raise an exception if the arguments couldn't be parsed. */
643 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_Caption, SIP_NULLPTR);
644
645 return SIP_NULLPTR;
646 }
647
648
649 PyDoc_STRVAR(doc_wxAuiPaneInfo_CaptionVisible, "CaptionVisible(visible=True) -> AuiPaneInfo\n"
650 "\n"
651 "CaptionVisible indicates that a pane caption should be visible.");
652
653 extern "C" {static PyObject *meth_wxAuiPaneInfo_CaptionVisible(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_CaptionVisible(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)654 static PyObject *meth_wxAuiPaneInfo_CaptionVisible(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
655 {
656 PyObject *sipParseErr = SIP_NULLPTR;
657
658 {
659 bool visible = 1;
660 ::wxAuiPaneInfo *sipCpp;
661
662 static const char *sipKwdList[] = {
663 sipName_visible,
664 };
665
666 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &visible))
667 {
668 ::wxAuiPaneInfo*sipRes;
669
670 PyErr_Clear();
671
672 Py_BEGIN_ALLOW_THREADS
673 sipRes = &sipCpp->CaptionVisible(visible);
674 Py_END_ALLOW_THREADS
675
676 if (PyErr_Occurred())
677 return 0;
678
679 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
680 }
681 }
682
683 /* Raise an exception if the arguments couldn't be parsed. */
684 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_CaptionVisible, SIP_NULLPTR);
685
686 return SIP_NULLPTR;
687 }
688
689
690 PyDoc_STRVAR(doc_wxAuiPaneInfo_CloseButton, "CloseButton(visible=True) -> AuiPaneInfo\n"
691 "\n"
692 "CloseButton() indicates that a close button should be drawn for the\n"
693 "pane.");
694
695 extern "C" {static PyObject *meth_wxAuiPaneInfo_CloseButton(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_CloseButton(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)696 static PyObject *meth_wxAuiPaneInfo_CloseButton(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
697 {
698 PyObject *sipParseErr = SIP_NULLPTR;
699
700 {
701 bool visible = 1;
702 ::wxAuiPaneInfo *sipCpp;
703
704 static const char *sipKwdList[] = {
705 sipName_visible,
706 };
707
708 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &visible))
709 {
710 ::wxAuiPaneInfo*sipRes;
711
712 PyErr_Clear();
713
714 Py_BEGIN_ALLOW_THREADS
715 sipRes = &sipCpp->CloseButton(visible);
716 Py_END_ALLOW_THREADS
717
718 if (PyErr_Occurred())
719 return 0;
720
721 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
722 }
723 }
724
725 /* Raise an exception if the arguments couldn't be parsed. */
726 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_CloseButton, SIP_NULLPTR);
727
728 return SIP_NULLPTR;
729 }
730
731
732 PyDoc_STRVAR(doc_wxAuiPaneInfo_DefaultPane, "DefaultPane() -> AuiPaneInfo\n"
733 "\n"
734 "DefaultPane() specifies that the pane should adopt the default pane\n"
735 "settings.");
736
737 extern "C" {static PyObject *meth_wxAuiPaneInfo_DefaultPane(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_DefaultPane(PyObject * sipSelf,PyObject * sipArgs)738 static PyObject *meth_wxAuiPaneInfo_DefaultPane(PyObject *sipSelf, PyObject *sipArgs)
739 {
740 PyObject *sipParseErr = SIP_NULLPTR;
741
742 {
743 ::wxAuiPaneInfo *sipCpp;
744
745 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
746 {
747 ::wxAuiPaneInfo*sipRes;
748
749 PyErr_Clear();
750
751 Py_BEGIN_ALLOW_THREADS
752 sipRes = &sipCpp->DefaultPane();
753 Py_END_ALLOW_THREADS
754
755 if (PyErr_Occurred())
756 return 0;
757
758 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
759 }
760 }
761
762 /* Raise an exception if the arguments couldn't be parsed. */
763 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_DefaultPane, SIP_NULLPTR);
764
765 return SIP_NULLPTR;
766 }
767
768
769 PyDoc_STRVAR(doc_wxAuiPaneInfo_DestroyOnClose, "DestroyOnClose(b=True) -> AuiPaneInfo\n"
770 "\n"
771 "DestroyOnClose() indicates whether a pane should be destroyed when it\n"
772 "is closed.");
773
774 extern "C" {static PyObject *meth_wxAuiPaneInfo_DestroyOnClose(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_DestroyOnClose(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)775 static PyObject *meth_wxAuiPaneInfo_DestroyOnClose(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
776 {
777 PyObject *sipParseErr = SIP_NULLPTR;
778
779 {
780 bool b = 1;
781 ::wxAuiPaneInfo *sipCpp;
782
783 static const char *sipKwdList[] = {
784 sipName_b,
785 };
786
787 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &b))
788 {
789 ::wxAuiPaneInfo*sipRes;
790
791 PyErr_Clear();
792
793 Py_BEGIN_ALLOW_THREADS
794 sipRes = &sipCpp->DestroyOnClose(b);
795 Py_END_ALLOW_THREADS
796
797 if (PyErr_Occurred())
798 return 0;
799
800 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
801 }
802 }
803
804 /* Raise an exception if the arguments couldn't be parsed. */
805 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_DestroyOnClose, SIP_NULLPTR);
806
807 return SIP_NULLPTR;
808 }
809
810
811 PyDoc_STRVAR(doc_wxAuiPaneInfo_Direction, "Direction(direction) -> AuiPaneInfo\n"
812 "\n"
813 "Direction() determines the direction of the docked pane.");
814
815 extern "C" {static PyObject *meth_wxAuiPaneInfo_Direction(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_Direction(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)816 static PyObject *meth_wxAuiPaneInfo_Direction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
817 {
818 PyObject *sipParseErr = SIP_NULLPTR;
819
820 {
821 int direction;
822 ::wxAuiPaneInfo *sipCpp;
823
824 static const char *sipKwdList[] = {
825 sipName_direction,
826 };
827
828 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &direction))
829 {
830 ::wxAuiPaneInfo*sipRes;
831
832 PyErr_Clear();
833
834 Py_BEGIN_ALLOW_THREADS
835 sipRes = &sipCpp->Direction(direction);
836 Py_END_ALLOW_THREADS
837
838 if (PyErr_Occurred())
839 return 0;
840
841 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
842 }
843 }
844
845 /* Raise an exception if the arguments couldn't be parsed. */
846 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_Direction, SIP_NULLPTR);
847
848 return SIP_NULLPTR;
849 }
850
851
852 PyDoc_STRVAR(doc_wxAuiPaneInfo_Dock, "Dock() -> AuiPaneInfo\n"
853 "\n"
854 "Dock() indicates that a pane should be docked.");
855
856 extern "C" {static PyObject *meth_wxAuiPaneInfo_Dock(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_Dock(PyObject * sipSelf,PyObject * sipArgs)857 static PyObject *meth_wxAuiPaneInfo_Dock(PyObject *sipSelf, PyObject *sipArgs)
858 {
859 PyObject *sipParseErr = SIP_NULLPTR;
860
861 {
862 ::wxAuiPaneInfo *sipCpp;
863
864 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
865 {
866 ::wxAuiPaneInfo*sipRes;
867
868 PyErr_Clear();
869
870 Py_BEGIN_ALLOW_THREADS
871 sipRes = &sipCpp->Dock();
872 Py_END_ALLOW_THREADS
873
874 if (PyErr_Occurred())
875 return 0;
876
877 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
878 }
879 }
880
881 /* Raise an exception if the arguments couldn't be parsed. */
882 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_Dock, SIP_NULLPTR);
883
884 return SIP_NULLPTR;
885 }
886
887
888 PyDoc_STRVAR(doc_wxAuiPaneInfo_DockFixed, "DockFixed(b=True) -> AuiPaneInfo\n"
889 "\n"
890 "DockFixed() causes the containing dock to have no resize sash.");
891
892 extern "C" {static PyObject *meth_wxAuiPaneInfo_DockFixed(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_DockFixed(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)893 static PyObject *meth_wxAuiPaneInfo_DockFixed(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
894 {
895 PyObject *sipParseErr = SIP_NULLPTR;
896
897 {
898 bool b = 1;
899 ::wxAuiPaneInfo *sipCpp;
900
901 static const char *sipKwdList[] = {
902 sipName_b,
903 };
904
905 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &b))
906 {
907 ::wxAuiPaneInfo*sipRes;
908
909 PyErr_Clear();
910
911 Py_BEGIN_ALLOW_THREADS
912 sipRes = &sipCpp->DockFixed(b);
913 Py_END_ALLOW_THREADS
914
915 if (PyErr_Occurred())
916 return 0;
917
918 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
919 }
920 }
921
922 /* Raise an exception if the arguments couldn't be parsed. */
923 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_DockFixed, SIP_NULLPTR);
924
925 return SIP_NULLPTR;
926 }
927
928
929 PyDoc_STRVAR(doc_wxAuiPaneInfo_Dockable, "Dockable(b=True) -> AuiPaneInfo\n"
930 "\n"
931 "Dockable() specifies whether a frame can be docked or not.");
932
933 extern "C" {static PyObject *meth_wxAuiPaneInfo_Dockable(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_Dockable(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)934 static PyObject *meth_wxAuiPaneInfo_Dockable(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
935 {
936 PyObject *sipParseErr = SIP_NULLPTR;
937
938 {
939 bool b = 1;
940 ::wxAuiPaneInfo *sipCpp;
941
942 static const char *sipKwdList[] = {
943 sipName_b,
944 };
945
946 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &b))
947 {
948 ::wxAuiPaneInfo*sipRes;
949
950 PyErr_Clear();
951
952 Py_BEGIN_ALLOW_THREADS
953 sipRes = &sipCpp->Dockable(b);
954 Py_END_ALLOW_THREADS
955
956 if (PyErr_Occurred())
957 return 0;
958
959 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
960 }
961 }
962
963 /* Raise an exception if the arguments couldn't be parsed. */
964 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_Dockable, SIP_NULLPTR);
965
966 return SIP_NULLPTR;
967 }
968
969
970 PyDoc_STRVAR(doc_wxAuiPaneInfo_Fixed, "Fixed() -> AuiPaneInfo\n"
971 "\n"
972 "Fixed() forces a pane to be fixed size so that it cannot be resized.");
973
974 extern "C" {static PyObject *meth_wxAuiPaneInfo_Fixed(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_Fixed(PyObject * sipSelf,PyObject * sipArgs)975 static PyObject *meth_wxAuiPaneInfo_Fixed(PyObject *sipSelf, PyObject *sipArgs)
976 {
977 PyObject *sipParseErr = SIP_NULLPTR;
978
979 {
980 ::wxAuiPaneInfo *sipCpp;
981
982 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
983 {
984 ::wxAuiPaneInfo*sipRes;
985
986 PyErr_Clear();
987
988 Py_BEGIN_ALLOW_THREADS
989 sipRes = &sipCpp->Fixed();
990 Py_END_ALLOW_THREADS
991
992 if (PyErr_Occurred())
993 return 0;
994
995 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
996 }
997 }
998
999 /* Raise an exception if the arguments couldn't be parsed. */
1000 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_Fixed, SIP_NULLPTR);
1001
1002 return SIP_NULLPTR;
1003 }
1004
1005
1006 PyDoc_STRVAR(doc_wxAuiPaneInfo_Float, "Float() -> AuiPaneInfo\n"
1007 "\n"
1008 "Float() indicates that a pane should be floated.");
1009
1010 extern "C" {static PyObject *meth_wxAuiPaneInfo_Float(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_Float(PyObject * sipSelf,PyObject * sipArgs)1011 static PyObject *meth_wxAuiPaneInfo_Float(PyObject *sipSelf, PyObject *sipArgs)
1012 {
1013 PyObject *sipParseErr = SIP_NULLPTR;
1014
1015 {
1016 ::wxAuiPaneInfo *sipCpp;
1017
1018 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
1019 {
1020 ::wxAuiPaneInfo*sipRes;
1021
1022 PyErr_Clear();
1023
1024 Py_BEGIN_ALLOW_THREADS
1025 sipRes = &sipCpp->Float();
1026 Py_END_ALLOW_THREADS
1027
1028 if (PyErr_Occurred())
1029 return 0;
1030
1031 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
1032 }
1033 }
1034
1035 /* Raise an exception if the arguments couldn't be parsed. */
1036 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_Float, SIP_NULLPTR);
1037
1038 return SIP_NULLPTR;
1039 }
1040
1041
1042 PyDoc_STRVAR(doc_wxAuiPaneInfo_Floatable, "Floatable(b=True) -> AuiPaneInfo\n"
1043 "\n"
1044 "Floatable() sets whether the user will be able to undock a pane and\n"
1045 "turn it into a floating window.");
1046
1047 extern "C" {static PyObject *meth_wxAuiPaneInfo_Floatable(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_Floatable(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1048 static PyObject *meth_wxAuiPaneInfo_Floatable(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1049 {
1050 PyObject *sipParseErr = SIP_NULLPTR;
1051
1052 {
1053 bool b = 1;
1054 ::wxAuiPaneInfo *sipCpp;
1055
1056 static const char *sipKwdList[] = {
1057 sipName_b,
1058 };
1059
1060 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &b))
1061 {
1062 ::wxAuiPaneInfo*sipRes;
1063
1064 PyErr_Clear();
1065
1066 Py_BEGIN_ALLOW_THREADS
1067 sipRes = &sipCpp->Floatable(b);
1068 Py_END_ALLOW_THREADS
1069
1070 if (PyErr_Occurred())
1071 return 0;
1072
1073 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
1074 }
1075 }
1076
1077 /* Raise an exception if the arguments couldn't be parsed. */
1078 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_Floatable, SIP_NULLPTR);
1079
1080 return SIP_NULLPTR;
1081 }
1082
1083
1084 PyDoc_STRVAR(doc_wxAuiPaneInfo_Gripper, "Gripper(visible=True) -> AuiPaneInfo\n"
1085 "\n"
1086 "Gripper() indicates that a gripper should be drawn for the pane.");
1087
1088 extern "C" {static PyObject *meth_wxAuiPaneInfo_Gripper(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_Gripper(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1089 static PyObject *meth_wxAuiPaneInfo_Gripper(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1090 {
1091 PyObject *sipParseErr = SIP_NULLPTR;
1092
1093 {
1094 bool visible = 1;
1095 ::wxAuiPaneInfo *sipCpp;
1096
1097 static const char *sipKwdList[] = {
1098 sipName_visible,
1099 };
1100
1101 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &visible))
1102 {
1103 ::wxAuiPaneInfo*sipRes;
1104
1105 PyErr_Clear();
1106
1107 Py_BEGIN_ALLOW_THREADS
1108 sipRes = &sipCpp->Gripper(visible);
1109 Py_END_ALLOW_THREADS
1110
1111 if (PyErr_Occurred())
1112 return 0;
1113
1114 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
1115 }
1116 }
1117
1118 /* Raise an exception if the arguments couldn't be parsed. */
1119 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_Gripper, SIP_NULLPTR);
1120
1121 return SIP_NULLPTR;
1122 }
1123
1124
1125 PyDoc_STRVAR(doc_wxAuiPaneInfo_GripperTop, "GripperTop(attop=True) -> AuiPaneInfo\n"
1126 "\n"
1127 "GripperTop() indicates that a gripper should be drawn at the top of\n"
1128 "the pane.");
1129
1130 extern "C" {static PyObject *meth_wxAuiPaneInfo_GripperTop(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_GripperTop(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1131 static PyObject *meth_wxAuiPaneInfo_GripperTop(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1132 {
1133 PyObject *sipParseErr = SIP_NULLPTR;
1134
1135 {
1136 bool attop = 1;
1137 ::wxAuiPaneInfo *sipCpp;
1138
1139 static const char *sipKwdList[] = {
1140 sipName_attop,
1141 };
1142
1143 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &attop))
1144 {
1145 ::wxAuiPaneInfo*sipRes;
1146
1147 PyErr_Clear();
1148
1149 Py_BEGIN_ALLOW_THREADS
1150 sipRes = &sipCpp->GripperTop(attop);
1151 Py_END_ALLOW_THREADS
1152
1153 if (PyErr_Occurred())
1154 return 0;
1155
1156 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
1157 }
1158 }
1159
1160 /* Raise an exception if the arguments couldn't be parsed. */
1161 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_GripperTop, SIP_NULLPTR);
1162
1163 return SIP_NULLPTR;
1164 }
1165
1166
1167 PyDoc_STRVAR(doc_wxAuiPaneInfo_HasBorder, "HasBorder() -> bool\n"
1168 "\n"
1169 "HasBorder() returns true if the pane displays a border.");
1170
1171 extern "C" {static PyObject *meth_wxAuiPaneInfo_HasBorder(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_HasBorder(PyObject * sipSelf,PyObject * sipArgs)1172 static PyObject *meth_wxAuiPaneInfo_HasBorder(PyObject *sipSelf, PyObject *sipArgs)
1173 {
1174 PyObject *sipParseErr = SIP_NULLPTR;
1175
1176 {
1177 const ::wxAuiPaneInfo *sipCpp;
1178
1179 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
1180 {
1181 bool sipRes;
1182
1183 PyErr_Clear();
1184
1185 Py_BEGIN_ALLOW_THREADS
1186 sipRes = sipCpp->HasBorder();
1187 Py_END_ALLOW_THREADS
1188
1189 if (PyErr_Occurred())
1190 return 0;
1191
1192 return PyBool_FromLong(sipRes);
1193 }
1194 }
1195
1196 /* Raise an exception if the arguments couldn't be parsed. */
1197 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_HasBorder, SIP_NULLPTR);
1198
1199 return SIP_NULLPTR;
1200 }
1201
1202
1203 PyDoc_STRVAR(doc_wxAuiPaneInfo_HasCaption, "HasCaption() -> bool\n"
1204 "\n"
1205 "HasCaption() returns true if the pane displays a caption.");
1206
1207 extern "C" {static PyObject *meth_wxAuiPaneInfo_HasCaption(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_HasCaption(PyObject * sipSelf,PyObject * sipArgs)1208 static PyObject *meth_wxAuiPaneInfo_HasCaption(PyObject *sipSelf, PyObject *sipArgs)
1209 {
1210 PyObject *sipParseErr = SIP_NULLPTR;
1211
1212 {
1213 const ::wxAuiPaneInfo *sipCpp;
1214
1215 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
1216 {
1217 bool sipRes;
1218
1219 PyErr_Clear();
1220
1221 Py_BEGIN_ALLOW_THREADS
1222 sipRes = sipCpp->HasCaption();
1223 Py_END_ALLOW_THREADS
1224
1225 if (PyErr_Occurred())
1226 return 0;
1227
1228 return PyBool_FromLong(sipRes);
1229 }
1230 }
1231
1232 /* Raise an exception if the arguments couldn't be parsed. */
1233 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_HasCaption, SIP_NULLPTR);
1234
1235 return SIP_NULLPTR;
1236 }
1237
1238
1239 PyDoc_STRVAR(doc_wxAuiPaneInfo_HasCloseButton, "HasCloseButton() -> bool\n"
1240 "\n"
1241 "HasCloseButton() returns true if the pane displays a button to close\n"
1242 "the pane.");
1243
1244 extern "C" {static PyObject *meth_wxAuiPaneInfo_HasCloseButton(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_HasCloseButton(PyObject * sipSelf,PyObject * sipArgs)1245 static PyObject *meth_wxAuiPaneInfo_HasCloseButton(PyObject *sipSelf, PyObject *sipArgs)
1246 {
1247 PyObject *sipParseErr = SIP_NULLPTR;
1248
1249 {
1250 const ::wxAuiPaneInfo *sipCpp;
1251
1252 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
1253 {
1254 bool sipRes;
1255
1256 PyErr_Clear();
1257
1258 Py_BEGIN_ALLOW_THREADS
1259 sipRes = sipCpp->HasCloseButton();
1260 Py_END_ALLOW_THREADS
1261
1262 if (PyErr_Occurred())
1263 return 0;
1264
1265 return PyBool_FromLong(sipRes);
1266 }
1267 }
1268
1269 /* Raise an exception if the arguments couldn't be parsed. */
1270 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_HasCloseButton, SIP_NULLPTR);
1271
1272 return SIP_NULLPTR;
1273 }
1274
1275
1276 PyDoc_STRVAR(doc_wxAuiPaneInfo_HasFlag, "HasFlag(flag) -> bool\n"
1277 "\n"
1278 "HasFlag() returns true if the property specified by flag is active for\n"
1279 "the pane.");
1280
1281 extern "C" {static PyObject *meth_wxAuiPaneInfo_HasFlag(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_HasFlag(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1282 static PyObject *meth_wxAuiPaneInfo_HasFlag(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1283 {
1284 PyObject *sipParseErr = SIP_NULLPTR;
1285
1286 {
1287 int flag;
1288 const ::wxAuiPaneInfo *sipCpp;
1289
1290 static const char *sipKwdList[] = {
1291 sipName_flag,
1292 };
1293
1294 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &flag))
1295 {
1296 bool sipRes;
1297
1298 PyErr_Clear();
1299
1300 Py_BEGIN_ALLOW_THREADS
1301 sipRes = sipCpp->HasFlag(flag);
1302 Py_END_ALLOW_THREADS
1303
1304 if (PyErr_Occurred())
1305 return 0;
1306
1307 return PyBool_FromLong(sipRes);
1308 }
1309 }
1310
1311 /* Raise an exception if the arguments couldn't be parsed. */
1312 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_HasFlag, SIP_NULLPTR);
1313
1314 return SIP_NULLPTR;
1315 }
1316
1317
1318 PyDoc_STRVAR(doc_wxAuiPaneInfo_HasGripper, "HasGripper() -> bool\n"
1319 "\n"
1320 "HasGripper() returns true if the pane displays a gripper.");
1321
1322 extern "C" {static PyObject *meth_wxAuiPaneInfo_HasGripper(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_HasGripper(PyObject * sipSelf,PyObject * sipArgs)1323 static PyObject *meth_wxAuiPaneInfo_HasGripper(PyObject *sipSelf, PyObject *sipArgs)
1324 {
1325 PyObject *sipParseErr = SIP_NULLPTR;
1326
1327 {
1328 const ::wxAuiPaneInfo *sipCpp;
1329
1330 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
1331 {
1332 bool sipRes;
1333
1334 PyErr_Clear();
1335
1336 Py_BEGIN_ALLOW_THREADS
1337 sipRes = sipCpp->HasGripper();
1338 Py_END_ALLOW_THREADS
1339
1340 if (PyErr_Occurred())
1341 return 0;
1342
1343 return PyBool_FromLong(sipRes);
1344 }
1345 }
1346
1347 /* Raise an exception if the arguments couldn't be parsed. */
1348 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_HasGripper, SIP_NULLPTR);
1349
1350 return SIP_NULLPTR;
1351 }
1352
1353
1354 PyDoc_STRVAR(doc_wxAuiPaneInfo_HasGripperTop, "HasGripperTop() -> bool\n"
1355 "\n"
1356 "HasGripper() returns true if the pane displays a gripper at the top.");
1357
1358 extern "C" {static PyObject *meth_wxAuiPaneInfo_HasGripperTop(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_HasGripperTop(PyObject * sipSelf,PyObject * sipArgs)1359 static PyObject *meth_wxAuiPaneInfo_HasGripperTop(PyObject *sipSelf, PyObject *sipArgs)
1360 {
1361 PyObject *sipParseErr = SIP_NULLPTR;
1362
1363 {
1364 const ::wxAuiPaneInfo *sipCpp;
1365
1366 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
1367 {
1368 bool sipRes;
1369
1370 PyErr_Clear();
1371
1372 Py_BEGIN_ALLOW_THREADS
1373 sipRes = sipCpp->HasGripperTop();
1374 Py_END_ALLOW_THREADS
1375
1376 if (PyErr_Occurred())
1377 return 0;
1378
1379 return PyBool_FromLong(sipRes);
1380 }
1381 }
1382
1383 /* Raise an exception if the arguments couldn't be parsed. */
1384 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_HasGripperTop, SIP_NULLPTR);
1385
1386 return SIP_NULLPTR;
1387 }
1388
1389
1390 PyDoc_STRVAR(doc_wxAuiPaneInfo_HasMaximizeButton, "HasMaximizeButton() -> bool\n"
1391 "\n"
1392 "HasMaximizeButton() returns true if the pane displays a button to\n"
1393 "maximize the pane.");
1394
1395 extern "C" {static PyObject *meth_wxAuiPaneInfo_HasMaximizeButton(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_HasMaximizeButton(PyObject * sipSelf,PyObject * sipArgs)1396 static PyObject *meth_wxAuiPaneInfo_HasMaximizeButton(PyObject *sipSelf, PyObject *sipArgs)
1397 {
1398 PyObject *sipParseErr = SIP_NULLPTR;
1399
1400 {
1401 const ::wxAuiPaneInfo *sipCpp;
1402
1403 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
1404 {
1405 bool sipRes;
1406
1407 PyErr_Clear();
1408
1409 Py_BEGIN_ALLOW_THREADS
1410 sipRes = sipCpp->HasMaximizeButton();
1411 Py_END_ALLOW_THREADS
1412
1413 if (PyErr_Occurred())
1414 return 0;
1415
1416 return PyBool_FromLong(sipRes);
1417 }
1418 }
1419
1420 /* Raise an exception if the arguments couldn't be parsed. */
1421 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_HasMaximizeButton, SIP_NULLPTR);
1422
1423 return SIP_NULLPTR;
1424 }
1425
1426
1427 PyDoc_STRVAR(doc_wxAuiPaneInfo_HasMinimizeButton, "HasMinimizeButton() -> bool\n"
1428 "\n"
1429 "HasMinimizeButton() returns true if the pane displays a button to\n"
1430 "minimize the pane.");
1431
1432 extern "C" {static PyObject *meth_wxAuiPaneInfo_HasMinimizeButton(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_HasMinimizeButton(PyObject * sipSelf,PyObject * sipArgs)1433 static PyObject *meth_wxAuiPaneInfo_HasMinimizeButton(PyObject *sipSelf, PyObject *sipArgs)
1434 {
1435 PyObject *sipParseErr = SIP_NULLPTR;
1436
1437 {
1438 const ::wxAuiPaneInfo *sipCpp;
1439
1440 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
1441 {
1442 bool sipRes;
1443
1444 PyErr_Clear();
1445
1446 Py_BEGIN_ALLOW_THREADS
1447 sipRes = sipCpp->HasMinimizeButton();
1448 Py_END_ALLOW_THREADS
1449
1450 if (PyErr_Occurred())
1451 return 0;
1452
1453 return PyBool_FromLong(sipRes);
1454 }
1455 }
1456
1457 /* Raise an exception if the arguments couldn't be parsed. */
1458 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_HasMinimizeButton, SIP_NULLPTR);
1459
1460 return SIP_NULLPTR;
1461 }
1462
1463
1464 PyDoc_STRVAR(doc_wxAuiPaneInfo_HasPinButton, "HasPinButton() -> bool\n"
1465 "\n"
1466 "HasPinButton() returns true if the pane displays a button to float the\n"
1467 "pane.");
1468
1469 extern "C" {static PyObject *meth_wxAuiPaneInfo_HasPinButton(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_HasPinButton(PyObject * sipSelf,PyObject * sipArgs)1470 static PyObject *meth_wxAuiPaneInfo_HasPinButton(PyObject *sipSelf, PyObject *sipArgs)
1471 {
1472 PyObject *sipParseErr = SIP_NULLPTR;
1473
1474 {
1475 const ::wxAuiPaneInfo *sipCpp;
1476
1477 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
1478 {
1479 bool sipRes;
1480
1481 PyErr_Clear();
1482
1483 Py_BEGIN_ALLOW_THREADS
1484 sipRes = sipCpp->HasPinButton();
1485 Py_END_ALLOW_THREADS
1486
1487 if (PyErr_Occurred())
1488 return 0;
1489
1490 return PyBool_FromLong(sipRes);
1491 }
1492 }
1493
1494 /* Raise an exception if the arguments couldn't be parsed. */
1495 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_HasPinButton, SIP_NULLPTR);
1496
1497 return SIP_NULLPTR;
1498 }
1499
1500
1501 PyDoc_STRVAR(doc_wxAuiPaneInfo_Hide, "Hide() -> AuiPaneInfo\n"
1502 "\n"
1503 "Hide() indicates that a pane should be hidden.");
1504
1505 extern "C" {static PyObject *meth_wxAuiPaneInfo_Hide(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_Hide(PyObject * sipSelf,PyObject * sipArgs)1506 static PyObject *meth_wxAuiPaneInfo_Hide(PyObject *sipSelf, PyObject *sipArgs)
1507 {
1508 PyObject *sipParseErr = SIP_NULLPTR;
1509
1510 {
1511 ::wxAuiPaneInfo *sipCpp;
1512
1513 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
1514 {
1515 ::wxAuiPaneInfo*sipRes;
1516
1517 PyErr_Clear();
1518
1519 Py_BEGIN_ALLOW_THREADS
1520 sipRes = &sipCpp->Hide();
1521 Py_END_ALLOW_THREADS
1522
1523 if (PyErr_Occurred())
1524 return 0;
1525
1526 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
1527 }
1528 }
1529
1530 /* Raise an exception if the arguments couldn't be parsed. */
1531 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_Hide, SIP_NULLPTR);
1532
1533 return SIP_NULLPTR;
1534 }
1535
1536
1537 PyDoc_STRVAR(doc_wxAuiPaneInfo_Icon, "Icon(b) -> AuiPaneInfo\n"
1538 "\n"
1539 "Icon() sets the icon of the pane.");
1540
1541 extern "C" {static PyObject *meth_wxAuiPaneInfo_Icon(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_Icon(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1542 static PyObject *meth_wxAuiPaneInfo_Icon(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1543 {
1544 PyObject *sipParseErr = SIP_NULLPTR;
1545
1546 {
1547 const ::wxBitmap* b;
1548 ::wxAuiPaneInfo *sipCpp;
1549
1550 static const char *sipKwdList[] = {
1551 sipName_b,
1552 };
1553
1554 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, sipType_wxBitmap, &b))
1555 {
1556 ::wxAuiPaneInfo*sipRes;
1557
1558 PyErr_Clear();
1559
1560 Py_BEGIN_ALLOW_THREADS
1561 sipRes = &sipCpp->Icon(*b);
1562 Py_END_ALLOW_THREADS
1563
1564 if (PyErr_Occurred())
1565 return 0;
1566
1567 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
1568 }
1569 }
1570
1571 /* Raise an exception if the arguments couldn't be parsed. */
1572 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_Icon, SIP_NULLPTR);
1573
1574 return SIP_NULLPTR;
1575 }
1576
1577
1578 PyDoc_STRVAR(doc_wxAuiPaneInfo_IsBottomDockable, "IsBottomDockable() -> bool\n"
1579 "\n"
1580 "IsBottomDockable() returns true if the pane can be docked at the\n"
1581 "bottom of the managed frame.");
1582
1583 extern "C" {static PyObject *meth_wxAuiPaneInfo_IsBottomDockable(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_IsBottomDockable(PyObject * sipSelf,PyObject * sipArgs)1584 static PyObject *meth_wxAuiPaneInfo_IsBottomDockable(PyObject *sipSelf, PyObject *sipArgs)
1585 {
1586 PyObject *sipParseErr = SIP_NULLPTR;
1587
1588 {
1589 const ::wxAuiPaneInfo *sipCpp;
1590
1591 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
1592 {
1593 bool sipRes;
1594
1595 PyErr_Clear();
1596
1597 Py_BEGIN_ALLOW_THREADS
1598 sipRes = sipCpp->IsBottomDockable();
1599 Py_END_ALLOW_THREADS
1600
1601 if (PyErr_Occurred())
1602 return 0;
1603
1604 return PyBool_FromLong(sipRes);
1605 }
1606 }
1607
1608 /* Raise an exception if the arguments couldn't be parsed. */
1609 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_IsBottomDockable, SIP_NULLPTR);
1610
1611 return SIP_NULLPTR;
1612 }
1613
1614
1615 PyDoc_STRVAR(doc_wxAuiPaneInfo_IsDockable, "IsDockable() -> bool\n"
1616 "\n"
1617 "Returns true if the pane can be docked at any side.");
1618
1619 extern "C" {static PyObject *meth_wxAuiPaneInfo_IsDockable(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_IsDockable(PyObject * sipSelf,PyObject * sipArgs)1620 static PyObject *meth_wxAuiPaneInfo_IsDockable(PyObject *sipSelf, PyObject *sipArgs)
1621 {
1622 PyObject *sipParseErr = SIP_NULLPTR;
1623
1624 {
1625 const ::wxAuiPaneInfo *sipCpp;
1626
1627 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
1628 {
1629 bool sipRes;
1630
1631 PyErr_Clear();
1632
1633 Py_BEGIN_ALLOW_THREADS
1634 sipRes = sipCpp->IsDockable();
1635 Py_END_ALLOW_THREADS
1636
1637 if (PyErr_Occurred())
1638 return 0;
1639
1640 return PyBool_FromLong(sipRes);
1641 }
1642 }
1643
1644 /* Raise an exception if the arguments couldn't be parsed. */
1645 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_IsDockable, SIP_NULLPTR);
1646
1647 return SIP_NULLPTR;
1648 }
1649
1650
1651 PyDoc_STRVAR(doc_wxAuiPaneInfo_IsDocked, "IsDocked() -> bool\n"
1652 "\n"
1653 "IsDocked() returns true if the pane is currently docked.");
1654
1655 extern "C" {static PyObject *meth_wxAuiPaneInfo_IsDocked(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_IsDocked(PyObject * sipSelf,PyObject * sipArgs)1656 static PyObject *meth_wxAuiPaneInfo_IsDocked(PyObject *sipSelf, PyObject *sipArgs)
1657 {
1658 PyObject *sipParseErr = SIP_NULLPTR;
1659
1660 {
1661 const ::wxAuiPaneInfo *sipCpp;
1662
1663 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
1664 {
1665 bool sipRes;
1666
1667 PyErr_Clear();
1668
1669 Py_BEGIN_ALLOW_THREADS
1670 sipRes = sipCpp->IsDocked();
1671 Py_END_ALLOW_THREADS
1672
1673 if (PyErr_Occurred())
1674 return 0;
1675
1676 return PyBool_FromLong(sipRes);
1677 }
1678 }
1679
1680 /* Raise an exception if the arguments couldn't be parsed. */
1681 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_IsDocked, SIP_NULLPTR);
1682
1683 return SIP_NULLPTR;
1684 }
1685
1686
1687 PyDoc_STRVAR(doc_wxAuiPaneInfo_IsFixed, "IsFixed() -> bool\n"
1688 "\n"
1689 "IsFixed() returns true if the pane cannot be resized.");
1690
1691 extern "C" {static PyObject *meth_wxAuiPaneInfo_IsFixed(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_IsFixed(PyObject * sipSelf,PyObject * sipArgs)1692 static PyObject *meth_wxAuiPaneInfo_IsFixed(PyObject *sipSelf, PyObject *sipArgs)
1693 {
1694 PyObject *sipParseErr = SIP_NULLPTR;
1695
1696 {
1697 const ::wxAuiPaneInfo *sipCpp;
1698
1699 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
1700 {
1701 bool sipRes;
1702
1703 PyErr_Clear();
1704
1705 Py_BEGIN_ALLOW_THREADS
1706 sipRes = sipCpp->IsFixed();
1707 Py_END_ALLOW_THREADS
1708
1709 if (PyErr_Occurred())
1710 return 0;
1711
1712 return PyBool_FromLong(sipRes);
1713 }
1714 }
1715
1716 /* Raise an exception if the arguments couldn't be parsed. */
1717 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_IsFixed, SIP_NULLPTR);
1718
1719 return SIP_NULLPTR;
1720 }
1721
1722
1723 PyDoc_STRVAR(doc_wxAuiPaneInfo_IsFloatable, "IsFloatable() -> bool\n"
1724 "\n"
1725 "IsFloatable() returns true if the pane can be undocked and displayed\n"
1726 "as a floating window.");
1727
1728 extern "C" {static PyObject *meth_wxAuiPaneInfo_IsFloatable(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_IsFloatable(PyObject * sipSelf,PyObject * sipArgs)1729 static PyObject *meth_wxAuiPaneInfo_IsFloatable(PyObject *sipSelf, PyObject *sipArgs)
1730 {
1731 PyObject *sipParseErr = SIP_NULLPTR;
1732
1733 {
1734 const ::wxAuiPaneInfo *sipCpp;
1735
1736 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
1737 {
1738 bool sipRes;
1739
1740 PyErr_Clear();
1741
1742 Py_BEGIN_ALLOW_THREADS
1743 sipRes = sipCpp->IsFloatable();
1744 Py_END_ALLOW_THREADS
1745
1746 if (PyErr_Occurred())
1747 return 0;
1748
1749 return PyBool_FromLong(sipRes);
1750 }
1751 }
1752
1753 /* Raise an exception if the arguments couldn't be parsed. */
1754 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_IsFloatable, SIP_NULLPTR);
1755
1756 return SIP_NULLPTR;
1757 }
1758
1759
1760 PyDoc_STRVAR(doc_wxAuiPaneInfo_IsFloating, "IsFloating() -> bool\n"
1761 "\n"
1762 "IsFloating() returns true if the pane is floating.");
1763
1764 extern "C" {static PyObject *meth_wxAuiPaneInfo_IsFloating(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_IsFloating(PyObject * sipSelf,PyObject * sipArgs)1765 static PyObject *meth_wxAuiPaneInfo_IsFloating(PyObject *sipSelf, PyObject *sipArgs)
1766 {
1767 PyObject *sipParseErr = SIP_NULLPTR;
1768
1769 {
1770 const ::wxAuiPaneInfo *sipCpp;
1771
1772 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
1773 {
1774 bool sipRes;
1775
1776 PyErr_Clear();
1777
1778 Py_BEGIN_ALLOW_THREADS
1779 sipRes = sipCpp->IsFloating();
1780 Py_END_ALLOW_THREADS
1781
1782 if (PyErr_Occurred())
1783 return 0;
1784
1785 return PyBool_FromLong(sipRes);
1786 }
1787 }
1788
1789 /* Raise an exception if the arguments couldn't be parsed. */
1790 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_IsFloating, SIP_NULLPTR);
1791
1792 return SIP_NULLPTR;
1793 }
1794
1795
1796 PyDoc_STRVAR(doc_wxAuiPaneInfo_IsLeftDockable, "IsLeftDockable() -> bool\n"
1797 "\n"
1798 "IsLeftDockable() returns true if the pane can be docked on the left of\n"
1799 "the managed frame.");
1800
1801 extern "C" {static PyObject *meth_wxAuiPaneInfo_IsLeftDockable(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_IsLeftDockable(PyObject * sipSelf,PyObject * sipArgs)1802 static PyObject *meth_wxAuiPaneInfo_IsLeftDockable(PyObject *sipSelf, PyObject *sipArgs)
1803 {
1804 PyObject *sipParseErr = SIP_NULLPTR;
1805
1806 {
1807 const ::wxAuiPaneInfo *sipCpp;
1808
1809 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
1810 {
1811 bool sipRes;
1812
1813 PyErr_Clear();
1814
1815 Py_BEGIN_ALLOW_THREADS
1816 sipRes = sipCpp->IsLeftDockable();
1817 Py_END_ALLOW_THREADS
1818
1819 if (PyErr_Occurred())
1820 return 0;
1821
1822 return PyBool_FromLong(sipRes);
1823 }
1824 }
1825
1826 /* Raise an exception if the arguments couldn't be parsed. */
1827 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_IsLeftDockable, SIP_NULLPTR);
1828
1829 return SIP_NULLPTR;
1830 }
1831
1832
1833 PyDoc_STRVAR(doc_wxAuiPaneInfo_IsMovable, "IsMovable() -> bool\n"
1834 "\n"
1835 "IsMoveable() returns true if the docked frame can be undocked or moved\n"
1836 "to another dock position.");
1837
1838 extern "C" {static PyObject *meth_wxAuiPaneInfo_IsMovable(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_IsMovable(PyObject * sipSelf,PyObject * sipArgs)1839 static PyObject *meth_wxAuiPaneInfo_IsMovable(PyObject *sipSelf, PyObject *sipArgs)
1840 {
1841 PyObject *sipParseErr = SIP_NULLPTR;
1842
1843 {
1844 const ::wxAuiPaneInfo *sipCpp;
1845
1846 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
1847 {
1848 bool sipRes;
1849
1850 PyErr_Clear();
1851
1852 Py_BEGIN_ALLOW_THREADS
1853 sipRes = sipCpp->IsMovable();
1854 Py_END_ALLOW_THREADS
1855
1856 if (PyErr_Occurred())
1857 return 0;
1858
1859 return PyBool_FromLong(sipRes);
1860 }
1861 }
1862
1863 /* Raise an exception if the arguments couldn't be parsed. */
1864 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_IsMovable, SIP_NULLPTR);
1865
1866 return SIP_NULLPTR;
1867 }
1868
1869
1870 PyDoc_STRVAR(doc_wxAuiPaneInfo_IsOk, "IsOk() -> bool\n"
1871 "\n"
1872 "IsOk() returns true if the wxAuiPaneInfo structure is valid.");
1873
1874 extern "C" {static PyObject *meth_wxAuiPaneInfo_IsOk(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_IsOk(PyObject * sipSelf,PyObject * sipArgs)1875 static PyObject *meth_wxAuiPaneInfo_IsOk(PyObject *sipSelf, PyObject *sipArgs)
1876 {
1877 PyObject *sipParseErr = SIP_NULLPTR;
1878
1879 {
1880 const ::wxAuiPaneInfo *sipCpp;
1881
1882 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
1883 {
1884 bool sipRes;
1885
1886 PyErr_Clear();
1887
1888 Py_BEGIN_ALLOW_THREADS
1889 sipRes = sipCpp->IsOk();
1890 Py_END_ALLOW_THREADS
1891
1892 if (PyErr_Occurred())
1893 return 0;
1894
1895 return PyBool_FromLong(sipRes);
1896 }
1897 }
1898
1899 /* Raise an exception if the arguments couldn't be parsed. */
1900 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_IsOk, SIP_NULLPTR);
1901
1902 return SIP_NULLPTR;
1903 }
1904
1905
1906 PyDoc_STRVAR(doc_wxAuiPaneInfo_IsResizable, "IsResizable() -> bool\n"
1907 "\n"
1908 "IsResizable() returns true if the pane can be resized.");
1909
1910 extern "C" {static PyObject *meth_wxAuiPaneInfo_IsResizable(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_IsResizable(PyObject * sipSelf,PyObject * sipArgs)1911 static PyObject *meth_wxAuiPaneInfo_IsResizable(PyObject *sipSelf, PyObject *sipArgs)
1912 {
1913 PyObject *sipParseErr = SIP_NULLPTR;
1914
1915 {
1916 const ::wxAuiPaneInfo *sipCpp;
1917
1918 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
1919 {
1920 bool sipRes;
1921
1922 PyErr_Clear();
1923
1924 Py_BEGIN_ALLOW_THREADS
1925 sipRes = sipCpp->IsResizable();
1926 Py_END_ALLOW_THREADS
1927
1928 if (PyErr_Occurred())
1929 return 0;
1930
1931 return PyBool_FromLong(sipRes);
1932 }
1933 }
1934
1935 /* Raise an exception if the arguments couldn't be parsed. */
1936 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_IsResizable, SIP_NULLPTR);
1937
1938 return SIP_NULLPTR;
1939 }
1940
1941
1942 PyDoc_STRVAR(doc_wxAuiPaneInfo_IsRightDockable, "IsRightDockable() -> bool\n"
1943 "\n"
1944 "IsRightDockable() returns true if the pane can be docked on the right\n"
1945 "of the managed frame.");
1946
1947 extern "C" {static PyObject *meth_wxAuiPaneInfo_IsRightDockable(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_IsRightDockable(PyObject * sipSelf,PyObject * sipArgs)1948 static PyObject *meth_wxAuiPaneInfo_IsRightDockable(PyObject *sipSelf, PyObject *sipArgs)
1949 {
1950 PyObject *sipParseErr = SIP_NULLPTR;
1951
1952 {
1953 const ::wxAuiPaneInfo *sipCpp;
1954
1955 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
1956 {
1957 bool sipRes;
1958
1959 PyErr_Clear();
1960
1961 Py_BEGIN_ALLOW_THREADS
1962 sipRes = sipCpp->IsRightDockable();
1963 Py_END_ALLOW_THREADS
1964
1965 if (PyErr_Occurred())
1966 return 0;
1967
1968 return PyBool_FromLong(sipRes);
1969 }
1970 }
1971
1972 /* Raise an exception if the arguments couldn't be parsed. */
1973 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_IsRightDockable, SIP_NULLPTR);
1974
1975 return SIP_NULLPTR;
1976 }
1977
1978
1979 PyDoc_STRVAR(doc_wxAuiPaneInfo_IsShown, "IsShown() -> bool\n"
1980 "\n"
1981 "IsShown() returns true if the pane is currently shown.");
1982
1983 extern "C" {static PyObject *meth_wxAuiPaneInfo_IsShown(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_IsShown(PyObject * sipSelf,PyObject * sipArgs)1984 static PyObject *meth_wxAuiPaneInfo_IsShown(PyObject *sipSelf, PyObject *sipArgs)
1985 {
1986 PyObject *sipParseErr = SIP_NULLPTR;
1987
1988 {
1989 const ::wxAuiPaneInfo *sipCpp;
1990
1991 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
1992 {
1993 bool sipRes;
1994
1995 PyErr_Clear();
1996
1997 Py_BEGIN_ALLOW_THREADS
1998 sipRes = sipCpp->IsShown();
1999 Py_END_ALLOW_THREADS
2000
2001 if (PyErr_Occurred())
2002 return 0;
2003
2004 return PyBool_FromLong(sipRes);
2005 }
2006 }
2007
2008 /* Raise an exception if the arguments couldn't be parsed. */
2009 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_IsShown, SIP_NULLPTR);
2010
2011 return SIP_NULLPTR;
2012 }
2013
2014
2015 PyDoc_STRVAR(doc_wxAuiPaneInfo_IsToolbar, "IsToolbar() -> bool\n"
2016 "\n"
2017 "IsToolbar() returns true if the pane contains a toolbar.");
2018
2019 extern "C" {static PyObject *meth_wxAuiPaneInfo_IsToolbar(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_IsToolbar(PyObject * sipSelf,PyObject * sipArgs)2020 static PyObject *meth_wxAuiPaneInfo_IsToolbar(PyObject *sipSelf, PyObject *sipArgs)
2021 {
2022 PyObject *sipParseErr = SIP_NULLPTR;
2023
2024 {
2025 const ::wxAuiPaneInfo *sipCpp;
2026
2027 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
2028 {
2029 bool sipRes;
2030
2031 PyErr_Clear();
2032
2033 Py_BEGIN_ALLOW_THREADS
2034 sipRes = sipCpp->IsToolbar();
2035 Py_END_ALLOW_THREADS
2036
2037 if (PyErr_Occurred())
2038 return 0;
2039
2040 return PyBool_FromLong(sipRes);
2041 }
2042 }
2043
2044 /* Raise an exception if the arguments couldn't be parsed. */
2045 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_IsToolbar, SIP_NULLPTR);
2046
2047 return SIP_NULLPTR;
2048 }
2049
2050
2051 PyDoc_STRVAR(doc_wxAuiPaneInfo_IsTopDockable, "IsTopDockable() -> bool\n"
2052 "\n"
2053 "IsTopDockable() returns true if the pane can be docked at the top of\n"
2054 "the managed frame.");
2055
2056 extern "C" {static PyObject *meth_wxAuiPaneInfo_IsTopDockable(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_IsTopDockable(PyObject * sipSelf,PyObject * sipArgs)2057 static PyObject *meth_wxAuiPaneInfo_IsTopDockable(PyObject *sipSelf, PyObject *sipArgs)
2058 {
2059 PyObject *sipParseErr = SIP_NULLPTR;
2060
2061 {
2062 const ::wxAuiPaneInfo *sipCpp;
2063
2064 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
2065 {
2066 bool sipRes;
2067
2068 PyErr_Clear();
2069
2070 Py_BEGIN_ALLOW_THREADS
2071 sipRes = sipCpp->IsTopDockable();
2072 Py_END_ALLOW_THREADS
2073
2074 if (PyErr_Occurred())
2075 return 0;
2076
2077 return PyBool_FromLong(sipRes);
2078 }
2079 }
2080
2081 /* Raise an exception if the arguments couldn't be parsed. */
2082 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_IsTopDockable, SIP_NULLPTR);
2083
2084 return SIP_NULLPTR;
2085 }
2086
2087
2088 PyDoc_STRVAR(doc_wxAuiPaneInfo_Layer, "Layer(layer) -> AuiPaneInfo\n"
2089 "\n"
2090 "Layer() determines the layer of the docked pane.");
2091
2092 extern "C" {static PyObject *meth_wxAuiPaneInfo_Layer(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_Layer(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2093 static PyObject *meth_wxAuiPaneInfo_Layer(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2094 {
2095 PyObject *sipParseErr = SIP_NULLPTR;
2096
2097 {
2098 int layer;
2099 ::wxAuiPaneInfo *sipCpp;
2100
2101 static const char *sipKwdList[] = {
2102 sipName_layer,
2103 };
2104
2105 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &layer))
2106 {
2107 ::wxAuiPaneInfo*sipRes;
2108
2109 PyErr_Clear();
2110
2111 Py_BEGIN_ALLOW_THREADS
2112 sipRes = &sipCpp->Layer(layer);
2113 Py_END_ALLOW_THREADS
2114
2115 if (PyErr_Occurred())
2116 return 0;
2117
2118 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
2119 }
2120 }
2121
2122 /* Raise an exception if the arguments couldn't be parsed. */
2123 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_Layer, SIP_NULLPTR);
2124
2125 return SIP_NULLPTR;
2126 }
2127
2128
2129 PyDoc_STRVAR(doc_wxAuiPaneInfo_Left, "Left() -> AuiPaneInfo\n"
2130 "\n"
2131 "Left() sets the pane dock position to the left side of the frame.");
2132
2133 extern "C" {static PyObject *meth_wxAuiPaneInfo_Left(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_Left(PyObject * sipSelf,PyObject * sipArgs)2134 static PyObject *meth_wxAuiPaneInfo_Left(PyObject *sipSelf, PyObject *sipArgs)
2135 {
2136 PyObject *sipParseErr = SIP_NULLPTR;
2137
2138 {
2139 ::wxAuiPaneInfo *sipCpp;
2140
2141 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
2142 {
2143 ::wxAuiPaneInfo*sipRes;
2144
2145 PyErr_Clear();
2146
2147 Py_BEGIN_ALLOW_THREADS
2148 sipRes = &sipCpp->Left();
2149 Py_END_ALLOW_THREADS
2150
2151 if (PyErr_Occurred())
2152 return 0;
2153
2154 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
2155 }
2156 }
2157
2158 /* Raise an exception if the arguments couldn't be parsed. */
2159 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_Left, SIP_NULLPTR);
2160
2161 return SIP_NULLPTR;
2162 }
2163
2164
2165 PyDoc_STRVAR(doc_wxAuiPaneInfo_LeftDockable, "LeftDockable(b=True) -> AuiPaneInfo\n"
2166 "\n"
2167 "LeftDockable() indicates whether a pane can be docked on the left of\n"
2168 "the frame.");
2169
2170 extern "C" {static PyObject *meth_wxAuiPaneInfo_LeftDockable(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_LeftDockable(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2171 static PyObject *meth_wxAuiPaneInfo_LeftDockable(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2172 {
2173 PyObject *sipParseErr = SIP_NULLPTR;
2174
2175 {
2176 bool b = 1;
2177 ::wxAuiPaneInfo *sipCpp;
2178
2179 static const char *sipKwdList[] = {
2180 sipName_b,
2181 };
2182
2183 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &b))
2184 {
2185 ::wxAuiPaneInfo*sipRes;
2186
2187 PyErr_Clear();
2188
2189 Py_BEGIN_ALLOW_THREADS
2190 sipRes = &sipCpp->LeftDockable(b);
2191 Py_END_ALLOW_THREADS
2192
2193 if (PyErr_Occurred())
2194 return 0;
2195
2196 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
2197 }
2198 }
2199
2200 /* Raise an exception if the arguments couldn't be parsed. */
2201 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_LeftDockable, SIP_NULLPTR);
2202
2203 return SIP_NULLPTR;
2204 }
2205
2206
2207 PyDoc_STRVAR(doc_wxAuiPaneInfo_MaximizeButton, "MaximizeButton(visible=True) -> AuiPaneInfo\n"
2208 "\n"
2209 "MaximizeButton() indicates that a maximize button should be drawn for\n"
2210 "the pane.");
2211
2212 extern "C" {static PyObject *meth_wxAuiPaneInfo_MaximizeButton(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_MaximizeButton(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2213 static PyObject *meth_wxAuiPaneInfo_MaximizeButton(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2214 {
2215 PyObject *sipParseErr = SIP_NULLPTR;
2216
2217 {
2218 bool visible = 1;
2219 ::wxAuiPaneInfo *sipCpp;
2220
2221 static const char *sipKwdList[] = {
2222 sipName_visible,
2223 };
2224
2225 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &visible))
2226 {
2227 ::wxAuiPaneInfo*sipRes;
2228
2229 PyErr_Clear();
2230
2231 Py_BEGIN_ALLOW_THREADS
2232 sipRes = &sipCpp->MaximizeButton(visible);
2233 Py_END_ALLOW_THREADS
2234
2235 if (PyErr_Occurred())
2236 return 0;
2237
2238 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
2239 }
2240 }
2241
2242 /* Raise an exception if the arguments couldn't be parsed. */
2243 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_MaximizeButton, SIP_NULLPTR);
2244
2245 return SIP_NULLPTR;
2246 }
2247
2248
2249 PyDoc_STRVAR(doc_wxAuiPaneInfo_MinimizeButton, "MinimizeButton(visible=True) -> AuiPaneInfo\n"
2250 "\n"
2251 "MinimizeButton() indicates that a minimize button should be drawn for\n"
2252 "the pane.");
2253
2254 extern "C" {static PyObject *meth_wxAuiPaneInfo_MinimizeButton(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_MinimizeButton(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2255 static PyObject *meth_wxAuiPaneInfo_MinimizeButton(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2256 {
2257 PyObject *sipParseErr = SIP_NULLPTR;
2258
2259 {
2260 bool visible = 1;
2261 ::wxAuiPaneInfo *sipCpp;
2262
2263 static const char *sipKwdList[] = {
2264 sipName_visible,
2265 };
2266
2267 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &visible))
2268 {
2269 ::wxAuiPaneInfo*sipRes;
2270
2271 PyErr_Clear();
2272
2273 Py_BEGIN_ALLOW_THREADS
2274 sipRes = &sipCpp->MinimizeButton(visible);
2275 Py_END_ALLOW_THREADS
2276
2277 if (PyErr_Occurred())
2278 return 0;
2279
2280 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
2281 }
2282 }
2283
2284 /* Raise an exception if the arguments couldn't be parsed. */
2285 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_MinimizeButton, SIP_NULLPTR);
2286
2287 return SIP_NULLPTR;
2288 }
2289
2290
2291 PyDoc_STRVAR(doc_wxAuiPaneInfo_Movable, "Movable(b=True) -> AuiPaneInfo\n"
2292 "\n"
2293 "Movable indicates whether a frame can be moved.");
2294
2295 extern "C" {static PyObject *meth_wxAuiPaneInfo_Movable(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_Movable(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2296 static PyObject *meth_wxAuiPaneInfo_Movable(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2297 {
2298 PyObject *sipParseErr = SIP_NULLPTR;
2299
2300 {
2301 bool b = 1;
2302 ::wxAuiPaneInfo *sipCpp;
2303
2304 static const char *sipKwdList[] = {
2305 sipName_b,
2306 };
2307
2308 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &b))
2309 {
2310 ::wxAuiPaneInfo*sipRes;
2311
2312 PyErr_Clear();
2313
2314 Py_BEGIN_ALLOW_THREADS
2315 sipRes = &sipCpp->Movable(b);
2316 Py_END_ALLOW_THREADS
2317
2318 if (PyErr_Occurred())
2319 return 0;
2320
2321 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
2322 }
2323 }
2324
2325 /* Raise an exception if the arguments couldn't be parsed. */
2326 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_Movable, SIP_NULLPTR);
2327
2328 return SIP_NULLPTR;
2329 }
2330
2331
2332 PyDoc_STRVAR(doc_wxAuiPaneInfo_Name, "Name(n) -> AuiPaneInfo\n"
2333 "\n"
2334 "Name() sets the name of the pane so it can be referenced in lookup\n"
2335 "functions.");
2336
2337 extern "C" {static PyObject *meth_wxAuiPaneInfo_Name(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_Name(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2338 static PyObject *meth_wxAuiPaneInfo_Name(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2339 {
2340 PyObject *sipParseErr = SIP_NULLPTR;
2341
2342 {
2343 const ::wxString* n;
2344 int nState = 0;
2345 ::wxAuiPaneInfo *sipCpp;
2346
2347 static const char *sipKwdList[] = {
2348 sipName_n,
2349 };
2350
2351 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, sipType_wxString,&n, &nState))
2352 {
2353 ::wxAuiPaneInfo*sipRes;
2354
2355 PyErr_Clear();
2356
2357 Py_BEGIN_ALLOW_THREADS
2358 sipRes = &sipCpp->Name(*n);
2359 Py_END_ALLOW_THREADS
2360 sipReleaseType(const_cast< ::wxString *>(n),sipType_wxString,nState);
2361
2362 if (PyErr_Occurred())
2363 return 0;
2364
2365 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
2366 }
2367 }
2368
2369 /* Raise an exception if the arguments couldn't be parsed. */
2370 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_Name, SIP_NULLPTR);
2371
2372 return SIP_NULLPTR;
2373 }
2374
2375
2376 PyDoc_STRVAR(doc_wxAuiPaneInfo_PaneBorder, "PaneBorder(visible=True) -> AuiPaneInfo\n"
2377 "\n"
2378 "PaneBorder indicates that a border should be drawn for the pane.");
2379
2380 extern "C" {static PyObject *meth_wxAuiPaneInfo_PaneBorder(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_PaneBorder(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2381 static PyObject *meth_wxAuiPaneInfo_PaneBorder(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2382 {
2383 PyObject *sipParseErr = SIP_NULLPTR;
2384
2385 {
2386 bool visible = 1;
2387 ::wxAuiPaneInfo *sipCpp;
2388
2389 static const char *sipKwdList[] = {
2390 sipName_visible,
2391 };
2392
2393 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &visible))
2394 {
2395 ::wxAuiPaneInfo*sipRes;
2396
2397 PyErr_Clear();
2398
2399 Py_BEGIN_ALLOW_THREADS
2400 sipRes = &sipCpp->PaneBorder(visible);
2401 Py_END_ALLOW_THREADS
2402
2403 if (PyErr_Occurred())
2404 return 0;
2405
2406 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
2407 }
2408 }
2409
2410 /* Raise an exception if the arguments couldn't be parsed. */
2411 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_PaneBorder, SIP_NULLPTR);
2412
2413 return SIP_NULLPTR;
2414 }
2415
2416
2417 PyDoc_STRVAR(doc_wxAuiPaneInfo_PinButton, "PinButton(visible=True) -> AuiPaneInfo\n"
2418 "\n"
2419 "PinButton() indicates that a pin button should be drawn for the pane.");
2420
2421 extern "C" {static PyObject *meth_wxAuiPaneInfo_PinButton(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_PinButton(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2422 static PyObject *meth_wxAuiPaneInfo_PinButton(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2423 {
2424 PyObject *sipParseErr = SIP_NULLPTR;
2425
2426 {
2427 bool visible = 1;
2428 ::wxAuiPaneInfo *sipCpp;
2429
2430 static const char *sipKwdList[] = {
2431 sipName_visible,
2432 };
2433
2434 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &visible))
2435 {
2436 ::wxAuiPaneInfo*sipRes;
2437
2438 PyErr_Clear();
2439
2440 Py_BEGIN_ALLOW_THREADS
2441 sipRes = &sipCpp->PinButton(visible);
2442 Py_END_ALLOW_THREADS
2443
2444 if (PyErr_Occurred())
2445 return 0;
2446
2447 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
2448 }
2449 }
2450
2451 /* Raise an exception if the arguments couldn't be parsed. */
2452 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_PinButton, SIP_NULLPTR);
2453
2454 return SIP_NULLPTR;
2455 }
2456
2457
2458 PyDoc_STRVAR(doc_wxAuiPaneInfo_Position, "Position(pos) -> AuiPaneInfo\n"
2459 "\n"
2460 "Position() determines the position of the docked pane.");
2461
2462 extern "C" {static PyObject *meth_wxAuiPaneInfo_Position(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_Position(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2463 static PyObject *meth_wxAuiPaneInfo_Position(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2464 {
2465 PyObject *sipParseErr = SIP_NULLPTR;
2466
2467 {
2468 int pos;
2469 ::wxAuiPaneInfo *sipCpp;
2470
2471 static const char *sipKwdList[] = {
2472 sipName_pos,
2473 };
2474
2475 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &pos))
2476 {
2477 ::wxAuiPaneInfo*sipRes;
2478
2479 PyErr_Clear();
2480
2481 Py_BEGIN_ALLOW_THREADS
2482 sipRes = &sipCpp->Position(pos);
2483 Py_END_ALLOW_THREADS
2484
2485 if (PyErr_Occurred())
2486 return 0;
2487
2488 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
2489 }
2490 }
2491
2492 /* Raise an exception if the arguments couldn't be parsed. */
2493 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_Position, SIP_NULLPTR);
2494
2495 return SIP_NULLPTR;
2496 }
2497
2498
2499 PyDoc_STRVAR(doc_wxAuiPaneInfo_Resizable, "Resizable(resizable=True) -> AuiPaneInfo\n"
2500 "\n"
2501 "Resizable() allows a pane to be resized if the parameter is true, and\n"
2502 "forces it to be a fixed size if the parameter is false.");
2503
2504 extern "C" {static PyObject *meth_wxAuiPaneInfo_Resizable(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_Resizable(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2505 static PyObject *meth_wxAuiPaneInfo_Resizable(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2506 {
2507 PyObject *sipParseErr = SIP_NULLPTR;
2508
2509 {
2510 bool resizable = 1;
2511 ::wxAuiPaneInfo *sipCpp;
2512
2513 static const char *sipKwdList[] = {
2514 sipName_resizable,
2515 };
2516
2517 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &resizable))
2518 {
2519 ::wxAuiPaneInfo*sipRes;
2520
2521 PyErr_Clear();
2522
2523 Py_BEGIN_ALLOW_THREADS
2524 sipRes = &sipCpp->Resizable(resizable);
2525 Py_END_ALLOW_THREADS
2526
2527 if (PyErr_Occurred())
2528 return 0;
2529
2530 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
2531 }
2532 }
2533
2534 /* Raise an exception if the arguments couldn't be parsed. */
2535 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_Resizable, SIP_NULLPTR);
2536
2537 return SIP_NULLPTR;
2538 }
2539
2540
2541 PyDoc_STRVAR(doc_wxAuiPaneInfo_Right, "Right() -> AuiPaneInfo\n"
2542 "\n"
2543 "Right() sets the pane dock position to the right side of the frame.");
2544
2545 extern "C" {static PyObject *meth_wxAuiPaneInfo_Right(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_Right(PyObject * sipSelf,PyObject * sipArgs)2546 static PyObject *meth_wxAuiPaneInfo_Right(PyObject *sipSelf, PyObject *sipArgs)
2547 {
2548 PyObject *sipParseErr = SIP_NULLPTR;
2549
2550 {
2551 ::wxAuiPaneInfo *sipCpp;
2552
2553 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
2554 {
2555 ::wxAuiPaneInfo*sipRes;
2556
2557 PyErr_Clear();
2558
2559 Py_BEGIN_ALLOW_THREADS
2560 sipRes = &sipCpp->Right();
2561 Py_END_ALLOW_THREADS
2562
2563 if (PyErr_Occurred())
2564 return 0;
2565
2566 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
2567 }
2568 }
2569
2570 /* Raise an exception if the arguments couldn't be parsed. */
2571 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_Right, SIP_NULLPTR);
2572
2573 return SIP_NULLPTR;
2574 }
2575
2576
2577 PyDoc_STRVAR(doc_wxAuiPaneInfo_RightDockable, "RightDockable(b=True) -> AuiPaneInfo\n"
2578 "\n"
2579 "RightDockable() indicates whether a pane can be docked on the right of\n"
2580 "the frame.");
2581
2582 extern "C" {static PyObject *meth_wxAuiPaneInfo_RightDockable(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_RightDockable(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2583 static PyObject *meth_wxAuiPaneInfo_RightDockable(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2584 {
2585 PyObject *sipParseErr = SIP_NULLPTR;
2586
2587 {
2588 bool b = 1;
2589 ::wxAuiPaneInfo *sipCpp;
2590
2591 static const char *sipKwdList[] = {
2592 sipName_b,
2593 };
2594
2595 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &b))
2596 {
2597 ::wxAuiPaneInfo*sipRes;
2598
2599 PyErr_Clear();
2600
2601 Py_BEGIN_ALLOW_THREADS
2602 sipRes = &sipCpp->RightDockable(b);
2603 Py_END_ALLOW_THREADS
2604
2605 if (PyErr_Occurred())
2606 return 0;
2607
2608 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
2609 }
2610 }
2611
2612 /* Raise an exception if the arguments couldn't be parsed. */
2613 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_RightDockable, SIP_NULLPTR);
2614
2615 return SIP_NULLPTR;
2616 }
2617
2618
2619 PyDoc_STRVAR(doc_wxAuiPaneInfo_Row, "Row(row) -> AuiPaneInfo\n"
2620 "\n"
2621 "Row() determines the row of the docked pane.");
2622
2623 extern "C" {static PyObject *meth_wxAuiPaneInfo_Row(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_Row(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2624 static PyObject *meth_wxAuiPaneInfo_Row(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2625 {
2626 PyObject *sipParseErr = SIP_NULLPTR;
2627
2628 {
2629 int row;
2630 ::wxAuiPaneInfo *sipCpp;
2631
2632 static const char *sipKwdList[] = {
2633 sipName_row,
2634 };
2635
2636 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &row))
2637 {
2638 ::wxAuiPaneInfo*sipRes;
2639
2640 PyErr_Clear();
2641
2642 Py_BEGIN_ALLOW_THREADS
2643 sipRes = &sipCpp->Row(row);
2644 Py_END_ALLOW_THREADS
2645
2646 if (PyErr_Occurred())
2647 return 0;
2648
2649 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
2650 }
2651 }
2652
2653 /* Raise an exception if the arguments couldn't be parsed. */
2654 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_Row, SIP_NULLPTR);
2655
2656 return SIP_NULLPTR;
2657 }
2658
2659
2660 PyDoc_STRVAR(doc_wxAuiPaneInfo_SafeSet, "SafeSet(source)\n"
2661 "\n"
2662 "Write the safe parts of a newly loaded PaneInfo structure \"source\"\n"
2663 "into \"this\" used on loading perspectives etc.");
2664
2665 extern "C" {static PyObject *meth_wxAuiPaneInfo_SafeSet(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_SafeSet(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2666 static PyObject *meth_wxAuiPaneInfo_SafeSet(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2667 {
2668 PyObject *sipParseErr = SIP_NULLPTR;
2669
2670 {
2671 ::wxAuiPaneInfo* source;
2672 ::wxAuiPaneInfo *sipCpp;
2673
2674 static const char *sipKwdList[] = {
2675 sipName_source,
2676 };
2677
2678 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, sipType_wxAuiPaneInfo, &source))
2679 {
2680 PyErr_Clear();
2681
2682 Py_BEGIN_ALLOW_THREADS
2683 sipCpp->SafeSet(*source);
2684 Py_END_ALLOW_THREADS
2685
2686 if (PyErr_Occurred())
2687 return 0;
2688
2689 Py_INCREF(Py_None);
2690 return Py_None;
2691 }
2692 }
2693
2694 /* Raise an exception if the arguments couldn't be parsed. */
2695 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_SafeSet, SIP_NULLPTR);
2696
2697 return SIP_NULLPTR;
2698 }
2699
2700
2701 PyDoc_STRVAR(doc_wxAuiPaneInfo_SetFlag, "SetFlag(flag, option_state) -> AuiPaneInfo\n"
2702 "\n"
2703 "SetFlag() turns the property given by flag on or off with the\n"
2704 "option_state parameter.");
2705
2706 extern "C" {static PyObject *meth_wxAuiPaneInfo_SetFlag(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_SetFlag(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2707 static PyObject *meth_wxAuiPaneInfo_SetFlag(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2708 {
2709 PyObject *sipParseErr = SIP_NULLPTR;
2710
2711 {
2712 int flag;
2713 bool option_state;
2714 ::wxAuiPaneInfo *sipCpp;
2715
2716 static const char *sipKwdList[] = {
2717 sipName_flag,
2718 sipName_option_state,
2719 };
2720
2721 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bib", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &flag, &option_state))
2722 {
2723 ::wxAuiPaneInfo*sipRes;
2724
2725 PyErr_Clear();
2726
2727 Py_BEGIN_ALLOW_THREADS
2728 sipRes = &sipCpp->SetFlag(flag,option_state);
2729 Py_END_ALLOW_THREADS
2730
2731 if (PyErr_Occurred())
2732 return 0;
2733
2734 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
2735 }
2736 }
2737
2738 /* Raise an exception if the arguments couldn't be parsed. */
2739 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_SetFlag, SIP_NULLPTR);
2740
2741 return SIP_NULLPTR;
2742 }
2743
2744
2745 PyDoc_STRVAR(doc_wxAuiPaneInfo_Show, "Show(show=True) -> AuiPaneInfo\n"
2746 "\n"
2747 "Show() indicates that a pane should be shown.");
2748
2749 extern "C" {static PyObject *meth_wxAuiPaneInfo_Show(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_Show(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2750 static PyObject *meth_wxAuiPaneInfo_Show(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2751 {
2752 PyObject *sipParseErr = SIP_NULLPTR;
2753
2754 {
2755 bool show = 1;
2756 ::wxAuiPaneInfo *sipCpp;
2757
2758 static const char *sipKwdList[] = {
2759 sipName_show,
2760 };
2761
2762 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &show))
2763 {
2764 ::wxAuiPaneInfo*sipRes;
2765
2766 PyErr_Clear();
2767
2768 Py_BEGIN_ALLOW_THREADS
2769 sipRes = &sipCpp->Show(show);
2770 Py_END_ALLOW_THREADS
2771
2772 if (PyErr_Occurred())
2773 return 0;
2774
2775 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
2776 }
2777 }
2778
2779 /* Raise an exception if the arguments couldn't be parsed. */
2780 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_Show, SIP_NULLPTR);
2781
2782 return SIP_NULLPTR;
2783 }
2784
2785
2786 PyDoc_STRVAR(doc_wxAuiPaneInfo_ToolbarPane, "ToolbarPane() -> AuiPaneInfo\n"
2787 "\n"
2788 "ToolbarPane() specifies that the pane should adopt the default toolbar\n"
2789 "pane settings.");
2790
2791 extern "C" {static PyObject *meth_wxAuiPaneInfo_ToolbarPane(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_ToolbarPane(PyObject * sipSelf,PyObject * sipArgs)2792 static PyObject *meth_wxAuiPaneInfo_ToolbarPane(PyObject *sipSelf, PyObject *sipArgs)
2793 {
2794 PyObject *sipParseErr = SIP_NULLPTR;
2795
2796 {
2797 ::wxAuiPaneInfo *sipCpp;
2798
2799 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
2800 {
2801 ::wxAuiPaneInfo*sipRes;
2802
2803 PyErr_Clear();
2804
2805 Py_BEGIN_ALLOW_THREADS
2806 sipRes = &sipCpp->ToolbarPane();
2807 Py_END_ALLOW_THREADS
2808
2809 if (PyErr_Occurred())
2810 return 0;
2811
2812 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
2813 }
2814 }
2815
2816 /* Raise an exception if the arguments couldn't be parsed. */
2817 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_ToolbarPane, SIP_NULLPTR);
2818
2819 return SIP_NULLPTR;
2820 }
2821
2822
2823 PyDoc_STRVAR(doc_wxAuiPaneInfo_Top, "Top() -> AuiPaneInfo\n"
2824 "\n"
2825 "Top() sets the pane dock position to the top of the frame.");
2826
2827 extern "C" {static PyObject *meth_wxAuiPaneInfo_Top(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_Top(PyObject * sipSelf,PyObject * sipArgs)2828 static PyObject *meth_wxAuiPaneInfo_Top(PyObject *sipSelf, PyObject *sipArgs)
2829 {
2830 PyObject *sipParseErr = SIP_NULLPTR;
2831
2832 {
2833 ::wxAuiPaneInfo *sipCpp;
2834
2835 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
2836 {
2837 ::wxAuiPaneInfo*sipRes;
2838
2839 PyErr_Clear();
2840
2841 Py_BEGIN_ALLOW_THREADS
2842 sipRes = &sipCpp->Top();
2843 Py_END_ALLOW_THREADS
2844
2845 if (PyErr_Occurred())
2846 return 0;
2847
2848 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
2849 }
2850 }
2851
2852 /* Raise an exception if the arguments couldn't be parsed. */
2853 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_Top, SIP_NULLPTR);
2854
2855 return SIP_NULLPTR;
2856 }
2857
2858
2859 PyDoc_STRVAR(doc_wxAuiPaneInfo_TopDockable, "TopDockable(b=True) -> AuiPaneInfo\n"
2860 "\n"
2861 "TopDockable() indicates whether a pane can be docked at the top of the\n"
2862 "frame.");
2863
2864 extern "C" {static PyObject *meth_wxAuiPaneInfo_TopDockable(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_TopDockable(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2865 static PyObject *meth_wxAuiPaneInfo_TopDockable(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2866 {
2867 PyObject *sipParseErr = SIP_NULLPTR;
2868
2869 {
2870 bool b = 1;
2871 ::wxAuiPaneInfo *sipCpp;
2872
2873 static const char *sipKwdList[] = {
2874 sipName_b,
2875 };
2876
2877 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, &b))
2878 {
2879 ::wxAuiPaneInfo*sipRes;
2880
2881 PyErr_Clear();
2882
2883 Py_BEGIN_ALLOW_THREADS
2884 sipRes = &sipCpp->TopDockable(b);
2885 Py_END_ALLOW_THREADS
2886
2887 if (PyErr_Occurred())
2888 return 0;
2889
2890 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
2891 }
2892 }
2893
2894 /* Raise an exception if the arguments couldn't be parsed. */
2895 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_TopDockable, SIP_NULLPTR);
2896
2897 return SIP_NULLPTR;
2898 }
2899
2900
2901 PyDoc_STRVAR(doc_wxAuiPaneInfo_Window, "Window(w) -> AuiPaneInfo\n"
2902 "\n"
2903 "Window() assigns the window pointer that the wxAuiPaneInfo should use.");
2904
2905 extern "C" {static PyObject *meth_wxAuiPaneInfo_Window(PyObject *, PyObject *, PyObject *);}
meth_wxAuiPaneInfo_Window(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2906 static PyObject *meth_wxAuiPaneInfo_Window(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2907 {
2908 PyObject *sipParseErr = SIP_NULLPTR;
2909
2910 {
2911 ::wxWindow* w;
2912 ::wxAuiPaneInfo *sipCpp;
2913
2914 static const char *sipKwdList[] = {
2915 sipName_w,
2916 };
2917
2918 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp, sipType_wxWindow, &w))
2919 {
2920 ::wxAuiPaneInfo*sipRes;
2921
2922 PyErr_Clear();
2923
2924 Py_BEGIN_ALLOW_THREADS
2925 sipRes = &sipCpp->Window(w);
2926 Py_END_ALLOW_THREADS
2927
2928 if (PyErr_Occurred())
2929 return 0;
2930
2931 return sipConvertFromType(sipRes,sipType_wxAuiPaneInfo,SIP_NULLPTR);
2932 }
2933 }
2934
2935 /* Raise an exception if the arguments couldn't be parsed. */
2936 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_Window, SIP_NULLPTR);
2937
2938 return SIP_NULLPTR;
2939 }
2940
2941
2942 PyDoc_STRVAR(doc_wxAuiPaneInfo_IsValid, "IsValid() -> bool");
2943
2944 extern "C" {static PyObject *meth_wxAuiPaneInfo_IsValid(PyObject *, PyObject *);}
meth_wxAuiPaneInfo_IsValid(PyObject * sipSelf,PyObject * sipArgs)2945 static PyObject *meth_wxAuiPaneInfo_IsValid(PyObject *sipSelf, PyObject *sipArgs)
2946 {
2947 PyObject *sipParseErr = SIP_NULLPTR;
2948
2949 {
2950 const ::wxAuiPaneInfo *sipCpp;
2951
2952 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiPaneInfo, &sipCpp))
2953 {
2954 bool sipRes;
2955
2956 PyErr_Clear();
2957
2958 Py_BEGIN_ALLOW_THREADS
2959 sipRes = sipCpp->IsValid();
2960 Py_END_ALLOW_THREADS
2961
2962 if (PyErr_Occurred())
2963 return 0;
2964
2965 return PyBool_FromLong(sipRes);
2966 }
2967 }
2968
2969 /* Raise an exception if the arguments couldn't be parsed. */
2970 sipNoMethod(sipParseErr, sipName_AuiPaneInfo, sipName_IsValid, SIP_NULLPTR);
2971
2972 return SIP_NULLPTR;
2973 }
2974
2975
2976 /* Call the instance's destructor. */
2977 extern "C" {static void release_wxAuiPaneInfo(void *, int);}
release_wxAuiPaneInfo(void * sipCppV,int)2978 static void release_wxAuiPaneInfo(void *sipCppV, int)
2979 {
2980 Py_BEGIN_ALLOW_THREADS
2981
2982 delete reinterpret_cast< ::wxAuiPaneInfo *>(sipCppV);
2983
2984 Py_END_ALLOW_THREADS
2985 }
2986
2987
2988 extern "C" {static void assign_wxAuiPaneInfo(void *, SIP_SSIZE_T, void *);}
assign_wxAuiPaneInfo(void * sipDst,SIP_SSIZE_T sipDstIdx,void * sipSrc)2989 static void assign_wxAuiPaneInfo(void *sipDst, SIP_SSIZE_T sipDstIdx, void *sipSrc)
2990 {
2991 reinterpret_cast< ::wxAuiPaneInfo *>(sipDst)[sipDstIdx] = *reinterpret_cast< ::wxAuiPaneInfo *>(sipSrc);
2992 }
2993
2994
2995 extern "C" {static void *array_wxAuiPaneInfo(SIP_SSIZE_T);}
array_wxAuiPaneInfo(SIP_SSIZE_T sipNrElem)2996 static void *array_wxAuiPaneInfo(SIP_SSIZE_T sipNrElem)
2997 {
2998 return new ::wxAuiPaneInfo[sipNrElem];
2999 }
3000
3001
3002 extern "C" {static void *copy_wxAuiPaneInfo(const void *, SIP_SSIZE_T);}
copy_wxAuiPaneInfo(const void * sipSrc,SIP_SSIZE_T sipSrcIdx)3003 static void *copy_wxAuiPaneInfo(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
3004 {
3005 return new ::wxAuiPaneInfo(reinterpret_cast<const ::wxAuiPaneInfo *>(sipSrc)[sipSrcIdx]);
3006 }
3007
3008
3009 extern "C" {static void dealloc_wxAuiPaneInfo(sipSimpleWrapper *);}
dealloc_wxAuiPaneInfo(sipSimpleWrapper * sipSelf)3010 static void dealloc_wxAuiPaneInfo(sipSimpleWrapper *sipSelf)
3011 {
3012 if (sipIsOwnedByPython(sipSelf))
3013 {
3014 release_wxAuiPaneInfo(sipGetAddress(sipSelf), 0);
3015 }
3016 }
3017
3018
3019 extern "C" {static void *init_type_wxAuiPaneInfo(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
init_type_wxAuiPaneInfo(sipSimpleWrapper *,PyObject * sipArgs,PyObject * sipKwds,PyObject ** sipUnused,PyObject **,PyObject ** sipParseErr)3020 static void *init_type_wxAuiPaneInfo(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
3021 {
3022 ::wxAuiPaneInfo *sipCpp = SIP_NULLPTR;
3023
3024 {
3025 if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, ""))
3026 {
3027 PyErr_Clear();
3028
3029 Py_BEGIN_ALLOW_THREADS
3030 sipCpp = new ::wxAuiPaneInfo();
3031 Py_END_ALLOW_THREADS
3032
3033 if (PyErr_Occurred())
3034 {
3035 delete sipCpp;
3036 return SIP_NULLPTR;
3037 }
3038
3039 return sipCpp;
3040 }
3041 }
3042
3043 {
3044 const ::wxAuiPaneInfo* c;
3045
3046 static const char *sipKwdList[] = {
3047 sipName_c,
3048 };
3049
3050 if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9", sipType_wxAuiPaneInfo, &c))
3051 {
3052 PyErr_Clear();
3053
3054 Py_BEGIN_ALLOW_THREADS
3055 sipCpp = new ::wxAuiPaneInfo(*c);
3056 Py_END_ALLOW_THREADS
3057
3058 if (PyErr_Occurred())
3059 {
3060 delete sipCpp;
3061 return SIP_NULLPTR;
3062 }
3063
3064 return sipCpp;
3065 }
3066 }
3067
3068 return SIP_NULLPTR;
3069 }
3070
3071
3072 static PyMethodDef methods_wxAuiPaneInfo[] = {
3073 {SIP_MLNAME_CAST(sipName_BestSize), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_BestSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_BestSize)},
3074 {SIP_MLNAME_CAST(sipName_Bottom), meth_wxAuiPaneInfo_Bottom, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_Bottom)},
3075 {SIP_MLNAME_CAST(sipName_BottomDockable), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_BottomDockable), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_BottomDockable)},
3076 {SIP_MLNAME_CAST(sipName_Caption), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_Caption), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_Caption)},
3077 {SIP_MLNAME_CAST(sipName_CaptionVisible), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_CaptionVisible), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_CaptionVisible)},
3078 {SIP_MLNAME_CAST(sipName_Center), meth_wxAuiPaneInfo_Center, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_Center)},
3079 {SIP_MLNAME_CAST(sipName_CenterPane), meth_wxAuiPaneInfo_CenterPane, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_CenterPane)},
3080 {SIP_MLNAME_CAST(sipName_Centre), meth_wxAuiPaneInfo_Centre, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_Centre)},
3081 {SIP_MLNAME_CAST(sipName_CentrePane), meth_wxAuiPaneInfo_CentrePane, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_CentrePane)},
3082 {SIP_MLNAME_CAST(sipName_CloseButton), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_CloseButton), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_CloseButton)},
3083 {SIP_MLNAME_CAST(sipName_DefaultPane), meth_wxAuiPaneInfo_DefaultPane, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_DefaultPane)},
3084 {SIP_MLNAME_CAST(sipName_DestroyOnClose), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_DestroyOnClose), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_DestroyOnClose)},
3085 {SIP_MLNAME_CAST(sipName_Direction), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_Direction), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_Direction)},
3086 {SIP_MLNAME_CAST(sipName_Dock), meth_wxAuiPaneInfo_Dock, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_Dock)},
3087 {SIP_MLNAME_CAST(sipName_DockFixed), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_DockFixed), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_DockFixed)},
3088 {SIP_MLNAME_CAST(sipName_Dockable), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_Dockable), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_Dockable)},
3089 {SIP_MLNAME_CAST(sipName_Fixed), meth_wxAuiPaneInfo_Fixed, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_Fixed)},
3090 {SIP_MLNAME_CAST(sipName_Float), meth_wxAuiPaneInfo_Float, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_Float)},
3091 {SIP_MLNAME_CAST(sipName_Floatable), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_Floatable), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_Floatable)},
3092 {SIP_MLNAME_CAST(sipName_FloatingPosition), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_FloatingPosition), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_FloatingPosition)},
3093 {SIP_MLNAME_CAST(sipName_FloatingSize), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_FloatingSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_FloatingSize)},
3094 {SIP_MLNAME_CAST(sipName_Gripper), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_Gripper), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_Gripper)},
3095 {SIP_MLNAME_CAST(sipName_GripperTop), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_GripperTop), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_GripperTop)},
3096 {SIP_MLNAME_CAST(sipName_HasBorder), meth_wxAuiPaneInfo_HasBorder, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_HasBorder)},
3097 {SIP_MLNAME_CAST(sipName_HasCaption), meth_wxAuiPaneInfo_HasCaption, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_HasCaption)},
3098 {SIP_MLNAME_CAST(sipName_HasCloseButton), meth_wxAuiPaneInfo_HasCloseButton, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_HasCloseButton)},
3099 {SIP_MLNAME_CAST(sipName_HasFlag), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_HasFlag), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_HasFlag)},
3100 {SIP_MLNAME_CAST(sipName_HasGripper), meth_wxAuiPaneInfo_HasGripper, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_HasGripper)},
3101 {SIP_MLNAME_CAST(sipName_HasGripperTop), meth_wxAuiPaneInfo_HasGripperTop, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_HasGripperTop)},
3102 {SIP_MLNAME_CAST(sipName_HasMaximizeButton), meth_wxAuiPaneInfo_HasMaximizeButton, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_HasMaximizeButton)},
3103 {SIP_MLNAME_CAST(sipName_HasMinimizeButton), meth_wxAuiPaneInfo_HasMinimizeButton, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_HasMinimizeButton)},
3104 {SIP_MLNAME_CAST(sipName_HasPinButton), meth_wxAuiPaneInfo_HasPinButton, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_HasPinButton)},
3105 {SIP_MLNAME_CAST(sipName_Hide), meth_wxAuiPaneInfo_Hide, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_Hide)},
3106 {SIP_MLNAME_CAST(sipName_Icon), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_Icon), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_Icon)},
3107 {SIP_MLNAME_CAST(sipName_IsBottomDockable), meth_wxAuiPaneInfo_IsBottomDockable, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_IsBottomDockable)},
3108 {SIP_MLNAME_CAST(sipName_IsDockable), meth_wxAuiPaneInfo_IsDockable, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_IsDockable)},
3109 {SIP_MLNAME_CAST(sipName_IsDocked), meth_wxAuiPaneInfo_IsDocked, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_IsDocked)},
3110 {SIP_MLNAME_CAST(sipName_IsFixed), meth_wxAuiPaneInfo_IsFixed, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_IsFixed)},
3111 {SIP_MLNAME_CAST(sipName_IsFloatable), meth_wxAuiPaneInfo_IsFloatable, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_IsFloatable)},
3112 {SIP_MLNAME_CAST(sipName_IsFloating), meth_wxAuiPaneInfo_IsFloating, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_IsFloating)},
3113 {SIP_MLNAME_CAST(sipName_IsLeftDockable), meth_wxAuiPaneInfo_IsLeftDockable, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_IsLeftDockable)},
3114 {SIP_MLNAME_CAST(sipName_IsMovable), meth_wxAuiPaneInfo_IsMovable, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_IsMovable)},
3115 {SIP_MLNAME_CAST(sipName_IsOk), meth_wxAuiPaneInfo_IsOk, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_IsOk)},
3116 {SIP_MLNAME_CAST(sipName_IsResizable), meth_wxAuiPaneInfo_IsResizable, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_IsResizable)},
3117 {SIP_MLNAME_CAST(sipName_IsRightDockable), meth_wxAuiPaneInfo_IsRightDockable, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_IsRightDockable)},
3118 {SIP_MLNAME_CAST(sipName_IsShown), meth_wxAuiPaneInfo_IsShown, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_IsShown)},
3119 {SIP_MLNAME_CAST(sipName_IsToolbar), meth_wxAuiPaneInfo_IsToolbar, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_IsToolbar)},
3120 {SIP_MLNAME_CAST(sipName_IsTopDockable), meth_wxAuiPaneInfo_IsTopDockable, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_IsTopDockable)},
3121 {SIP_MLNAME_CAST(sipName_IsValid), meth_wxAuiPaneInfo_IsValid, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_IsValid)},
3122 {SIP_MLNAME_CAST(sipName_Layer), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_Layer), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_Layer)},
3123 {SIP_MLNAME_CAST(sipName_Left), meth_wxAuiPaneInfo_Left, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_Left)},
3124 {SIP_MLNAME_CAST(sipName_LeftDockable), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_LeftDockable), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_LeftDockable)},
3125 {SIP_MLNAME_CAST(sipName_MaxSize), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_MaxSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_MaxSize)},
3126 {SIP_MLNAME_CAST(sipName_MaximizeButton), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_MaximizeButton), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_MaximizeButton)},
3127 {SIP_MLNAME_CAST(sipName_MinSize), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_MinSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_MinSize)},
3128 {SIP_MLNAME_CAST(sipName_MinimizeButton), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_MinimizeButton), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_MinimizeButton)},
3129 {SIP_MLNAME_CAST(sipName_Movable), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_Movable), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_Movable)},
3130 {SIP_MLNAME_CAST(sipName_Name), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_Name), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_Name)},
3131 {SIP_MLNAME_CAST(sipName_PaneBorder), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_PaneBorder), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_PaneBorder)},
3132 {SIP_MLNAME_CAST(sipName_PinButton), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_PinButton), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_PinButton)},
3133 {SIP_MLNAME_CAST(sipName_Position), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_Position), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_Position)},
3134 {SIP_MLNAME_CAST(sipName_Resizable), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_Resizable), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_Resizable)},
3135 {SIP_MLNAME_CAST(sipName_Right), meth_wxAuiPaneInfo_Right, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_Right)},
3136 {SIP_MLNAME_CAST(sipName_RightDockable), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_RightDockable), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_RightDockable)},
3137 {SIP_MLNAME_CAST(sipName_Row), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_Row), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_Row)},
3138 {SIP_MLNAME_CAST(sipName_SafeSet), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_SafeSet), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_SafeSet)},
3139 {SIP_MLNAME_CAST(sipName_SetFlag), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_SetFlag), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_SetFlag)},
3140 {SIP_MLNAME_CAST(sipName_Show), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_Show), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_Show)},
3141 {SIP_MLNAME_CAST(sipName_ToolbarPane), meth_wxAuiPaneInfo_ToolbarPane, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_ToolbarPane)},
3142 {SIP_MLNAME_CAST(sipName_Top), meth_wxAuiPaneInfo_Top, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_Top)},
3143 {SIP_MLNAME_CAST(sipName_TopDockable), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_TopDockable), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_TopDockable)},
3144 {SIP_MLNAME_CAST(sipName_Window), SIP_MLMETH_CAST(meth_wxAuiPaneInfo_Window), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiPaneInfo_Window)}
3145 };
3146
3147
3148 extern "C" {static PyObject *varget_wxAuiPaneInfo_best_size(void *, PyObject *, PyObject *);}
varget_wxAuiPaneInfo_best_size(void * sipSelf,PyObject *,PyObject *)3149 static PyObject *varget_wxAuiPaneInfo_best_size(void *sipSelf, PyObject *, PyObject *)
3150 {
3151 ::wxSize*sipVal;
3152 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3153
3154 sipVal = &sipCpp->best_size;
3155
3156 return sipConvertFromType(sipVal, sipType_wxSize, SIP_NULLPTR);
3157 }
3158
3159
3160 extern "C" {static int varset_wxAuiPaneInfo_best_size(void *, PyObject *, PyObject *);}
varset_wxAuiPaneInfo_best_size(void * sipSelf,PyObject * sipPy,PyObject *)3161 static int varset_wxAuiPaneInfo_best_size(void *sipSelf, PyObject *sipPy, PyObject *)
3162 {
3163 ::wxSize*sipVal;
3164 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3165
3166 int sipValState;
3167 int sipIsErr = 0;
3168
3169 sipVal = reinterpret_cast< ::wxSize *>(sipForceConvertToType(sipPy, sipType_wxSize, SIP_NULLPTR, SIP_NOT_NONE, &sipValState, &sipIsErr));
3170
3171 if (sipIsErr)
3172 return -1;
3173
3174 sipCpp->best_size = *sipVal;
3175
3176 sipReleaseType(sipVal, sipType_wxSize, sipValState);
3177
3178 return 0;
3179 }
3180
3181
3182 extern "C" {static PyObject *varget_wxAuiPaneInfo_buttons(void *, PyObject *, PyObject *);}
varget_wxAuiPaneInfo_buttons(void * sipSelf,PyObject *,PyObject *)3183 static PyObject *varget_wxAuiPaneInfo_buttons(void *sipSelf, PyObject *, PyObject *)
3184 {
3185 ::wxAuiPaneButtonArray*sipVal;
3186 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3187
3188 sipVal = &sipCpp->buttons;
3189
3190 return sipConvertFromType(sipVal, sipType_wxAuiPaneButtonArray, SIP_NULLPTR);
3191 }
3192
3193
3194 extern "C" {static int varset_wxAuiPaneInfo_buttons(void *, PyObject *, PyObject *);}
varset_wxAuiPaneInfo_buttons(void * sipSelf,PyObject * sipPy,PyObject *)3195 static int varset_wxAuiPaneInfo_buttons(void *sipSelf, PyObject *sipPy, PyObject *)
3196 {
3197 ::wxAuiPaneButtonArray*sipVal;
3198 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3199
3200 int sipIsErr = 0;
3201
3202 sipVal = reinterpret_cast< ::wxAuiPaneButtonArray *>(sipForceConvertToType(sipPy, sipType_wxAuiPaneButtonArray, SIP_NULLPTR, SIP_NOT_NONE, SIP_NULLPTR, &sipIsErr));
3203
3204 if (sipIsErr)
3205 return -1;
3206
3207 sipCpp->buttons = *sipVal;
3208
3209 return 0;
3210 }
3211
3212
3213 extern "C" {static PyObject *varget_wxAuiPaneInfo_caption(void *, PyObject *, PyObject *);}
varget_wxAuiPaneInfo_caption(void * sipSelf,PyObject *,PyObject *)3214 static PyObject *varget_wxAuiPaneInfo_caption(void *sipSelf, PyObject *, PyObject *)
3215 {
3216 ::wxString*sipVal;
3217 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3218
3219 sipVal = &sipCpp->caption;
3220
3221 return sipConvertFromType(sipVal, sipType_wxString, SIP_NULLPTR);
3222 }
3223
3224
3225 extern "C" {static int varset_wxAuiPaneInfo_caption(void *, PyObject *, PyObject *);}
varset_wxAuiPaneInfo_caption(void * sipSelf,PyObject * sipPy,PyObject *)3226 static int varset_wxAuiPaneInfo_caption(void *sipSelf, PyObject *sipPy, PyObject *)
3227 {
3228 ::wxString*sipVal;
3229 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3230
3231 int sipValState;
3232 int sipIsErr = 0;
3233
3234 sipVal = reinterpret_cast< ::wxString *>(sipForceConvertToType(sipPy, sipType_wxString, SIP_NULLPTR, SIP_NOT_NONE, &sipValState, &sipIsErr));
3235
3236 if (sipIsErr)
3237 return -1;
3238
3239 sipCpp->caption = *sipVal;
3240
3241 sipReleaseType(sipVal, sipType_wxString, sipValState);
3242
3243 return 0;
3244 }
3245
3246
3247 extern "C" {static PyObject *varget_wxAuiPaneInfo_dock_direction(void *, PyObject *, PyObject *);}
varget_wxAuiPaneInfo_dock_direction(void * sipSelf,PyObject *,PyObject *)3248 static PyObject *varget_wxAuiPaneInfo_dock_direction(void *sipSelf, PyObject *, PyObject *)
3249 {
3250 int sipVal;
3251 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3252
3253 sipVal = sipCpp->dock_direction;
3254
3255 return SIPLong_FromLong(sipVal);
3256 }
3257
3258
3259 extern "C" {static int varset_wxAuiPaneInfo_dock_direction(void *, PyObject *, PyObject *);}
varset_wxAuiPaneInfo_dock_direction(void * sipSelf,PyObject * sipPy,PyObject *)3260 static int varset_wxAuiPaneInfo_dock_direction(void *sipSelf, PyObject *sipPy, PyObject *)
3261 {
3262 int sipVal;
3263 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3264
3265 sipVal = sipLong_AsInt(sipPy);
3266
3267 if (PyErr_Occurred() != SIP_NULLPTR)
3268 return -1;
3269
3270 sipCpp->dock_direction = sipVal;
3271
3272 return 0;
3273 }
3274
3275
3276 extern "C" {static PyObject *varget_wxAuiPaneInfo_dock_layer(void *, PyObject *, PyObject *);}
varget_wxAuiPaneInfo_dock_layer(void * sipSelf,PyObject *,PyObject *)3277 static PyObject *varget_wxAuiPaneInfo_dock_layer(void *sipSelf, PyObject *, PyObject *)
3278 {
3279 int sipVal;
3280 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3281
3282 sipVal = sipCpp->dock_layer;
3283
3284 return SIPLong_FromLong(sipVal);
3285 }
3286
3287
3288 extern "C" {static int varset_wxAuiPaneInfo_dock_layer(void *, PyObject *, PyObject *);}
varset_wxAuiPaneInfo_dock_layer(void * sipSelf,PyObject * sipPy,PyObject *)3289 static int varset_wxAuiPaneInfo_dock_layer(void *sipSelf, PyObject *sipPy, PyObject *)
3290 {
3291 int sipVal;
3292 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3293
3294 sipVal = sipLong_AsInt(sipPy);
3295
3296 if (PyErr_Occurred() != SIP_NULLPTR)
3297 return -1;
3298
3299 sipCpp->dock_layer = sipVal;
3300
3301 return 0;
3302 }
3303
3304
3305 extern "C" {static PyObject *varget_wxAuiPaneInfo_dock_pos(void *, PyObject *, PyObject *);}
varget_wxAuiPaneInfo_dock_pos(void * sipSelf,PyObject *,PyObject *)3306 static PyObject *varget_wxAuiPaneInfo_dock_pos(void *sipSelf, PyObject *, PyObject *)
3307 {
3308 int sipVal;
3309 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3310
3311 sipVal = sipCpp->dock_pos;
3312
3313 return SIPLong_FromLong(sipVal);
3314 }
3315
3316
3317 extern "C" {static int varset_wxAuiPaneInfo_dock_pos(void *, PyObject *, PyObject *);}
varset_wxAuiPaneInfo_dock_pos(void * sipSelf,PyObject * sipPy,PyObject *)3318 static int varset_wxAuiPaneInfo_dock_pos(void *sipSelf, PyObject *sipPy, PyObject *)
3319 {
3320 int sipVal;
3321 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3322
3323 sipVal = sipLong_AsInt(sipPy);
3324
3325 if (PyErr_Occurred() != SIP_NULLPTR)
3326 return -1;
3327
3328 sipCpp->dock_pos = sipVal;
3329
3330 return 0;
3331 }
3332
3333
3334 extern "C" {static PyObject *varget_wxAuiPaneInfo_dock_proportion(void *, PyObject *, PyObject *);}
varget_wxAuiPaneInfo_dock_proportion(void * sipSelf,PyObject *,PyObject *)3335 static PyObject *varget_wxAuiPaneInfo_dock_proportion(void *sipSelf, PyObject *, PyObject *)
3336 {
3337 int sipVal;
3338 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3339
3340 sipVal = sipCpp->dock_proportion;
3341
3342 return SIPLong_FromLong(sipVal);
3343 }
3344
3345
3346 extern "C" {static int varset_wxAuiPaneInfo_dock_proportion(void *, PyObject *, PyObject *);}
varset_wxAuiPaneInfo_dock_proportion(void * sipSelf,PyObject * sipPy,PyObject *)3347 static int varset_wxAuiPaneInfo_dock_proportion(void *sipSelf, PyObject *sipPy, PyObject *)
3348 {
3349 int sipVal;
3350 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3351
3352 sipVal = sipLong_AsInt(sipPy);
3353
3354 if (PyErr_Occurred() != SIP_NULLPTR)
3355 return -1;
3356
3357 sipCpp->dock_proportion = sipVal;
3358
3359 return 0;
3360 }
3361
3362
3363 extern "C" {static PyObject *varget_wxAuiPaneInfo_dock_row(void *, PyObject *, PyObject *);}
varget_wxAuiPaneInfo_dock_row(void * sipSelf,PyObject *,PyObject *)3364 static PyObject *varget_wxAuiPaneInfo_dock_row(void *sipSelf, PyObject *, PyObject *)
3365 {
3366 int sipVal;
3367 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3368
3369 sipVal = sipCpp->dock_row;
3370
3371 return SIPLong_FromLong(sipVal);
3372 }
3373
3374
3375 extern "C" {static int varset_wxAuiPaneInfo_dock_row(void *, PyObject *, PyObject *);}
varset_wxAuiPaneInfo_dock_row(void * sipSelf,PyObject * sipPy,PyObject *)3376 static int varset_wxAuiPaneInfo_dock_row(void *sipSelf, PyObject *sipPy, PyObject *)
3377 {
3378 int sipVal;
3379 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3380
3381 sipVal = sipLong_AsInt(sipPy);
3382
3383 if (PyErr_Occurred() != SIP_NULLPTR)
3384 return -1;
3385
3386 sipCpp->dock_row = sipVal;
3387
3388 return 0;
3389 }
3390
3391
3392 extern "C" {static PyObject *varget_wxAuiPaneInfo_floating_pos(void *, PyObject *, PyObject *);}
varget_wxAuiPaneInfo_floating_pos(void * sipSelf,PyObject *,PyObject *)3393 static PyObject *varget_wxAuiPaneInfo_floating_pos(void *sipSelf, PyObject *, PyObject *)
3394 {
3395 ::wxPoint*sipVal;
3396 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3397
3398 sipVal = &sipCpp->floating_pos;
3399
3400 return sipConvertFromType(sipVal, sipType_wxPoint, SIP_NULLPTR);
3401 }
3402
3403
3404 extern "C" {static int varset_wxAuiPaneInfo_floating_pos(void *, PyObject *, PyObject *);}
varset_wxAuiPaneInfo_floating_pos(void * sipSelf,PyObject * sipPy,PyObject *)3405 static int varset_wxAuiPaneInfo_floating_pos(void *sipSelf, PyObject *sipPy, PyObject *)
3406 {
3407 ::wxPoint*sipVal;
3408 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3409
3410 int sipValState;
3411 int sipIsErr = 0;
3412
3413 sipVal = reinterpret_cast< ::wxPoint *>(sipForceConvertToType(sipPy, sipType_wxPoint, SIP_NULLPTR, SIP_NOT_NONE, &sipValState, &sipIsErr));
3414
3415 if (sipIsErr)
3416 return -1;
3417
3418 sipCpp->floating_pos = *sipVal;
3419
3420 sipReleaseType(sipVal, sipType_wxPoint, sipValState);
3421
3422 return 0;
3423 }
3424
3425
3426 extern "C" {static PyObject *varget_wxAuiPaneInfo_floating_size(void *, PyObject *, PyObject *);}
varget_wxAuiPaneInfo_floating_size(void * sipSelf,PyObject *,PyObject *)3427 static PyObject *varget_wxAuiPaneInfo_floating_size(void *sipSelf, PyObject *, PyObject *)
3428 {
3429 ::wxSize*sipVal;
3430 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3431
3432 sipVal = &sipCpp->floating_size;
3433
3434 return sipConvertFromType(sipVal, sipType_wxSize, SIP_NULLPTR);
3435 }
3436
3437
3438 extern "C" {static int varset_wxAuiPaneInfo_floating_size(void *, PyObject *, PyObject *);}
varset_wxAuiPaneInfo_floating_size(void * sipSelf,PyObject * sipPy,PyObject *)3439 static int varset_wxAuiPaneInfo_floating_size(void *sipSelf, PyObject *sipPy, PyObject *)
3440 {
3441 ::wxSize*sipVal;
3442 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3443
3444 int sipValState;
3445 int sipIsErr = 0;
3446
3447 sipVal = reinterpret_cast< ::wxSize *>(sipForceConvertToType(sipPy, sipType_wxSize, SIP_NULLPTR, SIP_NOT_NONE, &sipValState, &sipIsErr));
3448
3449 if (sipIsErr)
3450 return -1;
3451
3452 sipCpp->floating_size = *sipVal;
3453
3454 sipReleaseType(sipVal, sipType_wxSize, sipValState);
3455
3456 return 0;
3457 }
3458
3459
3460 extern "C" {static PyObject *varget_wxAuiPaneInfo_frame(void *, PyObject *, PyObject *);}
varget_wxAuiPaneInfo_frame(void * sipSelf,PyObject *,PyObject *)3461 static PyObject *varget_wxAuiPaneInfo_frame(void *sipSelf, PyObject *, PyObject *)
3462 {
3463 ::wxFrame*sipVal;
3464 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3465
3466 sipVal = sipCpp->frame;
3467
3468 return sipConvertFromType(sipVal, sipType_wxFrame, SIP_NULLPTR);
3469 }
3470
3471
3472 extern "C" {static int varset_wxAuiPaneInfo_frame(void *, PyObject *, PyObject *);}
varset_wxAuiPaneInfo_frame(void * sipSelf,PyObject * sipPy,PyObject *)3473 static int varset_wxAuiPaneInfo_frame(void *sipSelf, PyObject *sipPy, PyObject *)
3474 {
3475 ::wxFrame*sipVal;
3476 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3477
3478 int sipIsErr = 0;
3479
3480 sipVal = reinterpret_cast< ::wxFrame *>(sipForceConvertToType(sipPy, sipType_wxFrame, SIP_NULLPTR, 0, SIP_NULLPTR, &sipIsErr));
3481
3482 if (sipIsErr)
3483 return -1;
3484
3485 sipCpp->frame = sipVal;
3486
3487 return 0;
3488 }
3489
3490
3491 extern "C" {static PyObject *varget_wxAuiPaneInfo_icon(void *, PyObject *, PyObject *);}
varget_wxAuiPaneInfo_icon(void * sipSelf,PyObject *,PyObject *)3492 static PyObject *varget_wxAuiPaneInfo_icon(void *sipSelf, PyObject *, PyObject *)
3493 {
3494 ::wxBitmap*sipVal;
3495 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3496
3497 sipVal = &sipCpp->icon;
3498
3499 return sipConvertFromType(sipVal, sipType_wxBitmap, SIP_NULLPTR);
3500 }
3501
3502
3503 extern "C" {static int varset_wxAuiPaneInfo_icon(void *, PyObject *, PyObject *);}
varset_wxAuiPaneInfo_icon(void * sipSelf,PyObject * sipPy,PyObject *)3504 static int varset_wxAuiPaneInfo_icon(void *sipSelf, PyObject *sipPy, PyObject *)
3505 {
3506 ::wxBitmap*sipVal;
3507 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3508
3509 int sipIsErr = 0;
3510
3511 sipVal = reinterpret_cast< ::wxBitmap *>(sipForceConvertToType(sipPy, sipType_wxBitmap, SIP_NULLPTR, SIP_NOT_NONE, SIP_NULLPTR, &sipIsErr));
3512
3513 if (sipIsErr)
3514 return -1;
3515
3516 sipCpp->icon = *sipVal;
3517
3518 return 0;
3519 }
3520
3521
3522 extern "C" {static PyObject *varget_wxAuiPaneInfo_max_size(void *, PyObject *, PyObject *);}
varget_wxAuiPaneInfo_max_size(void * sipSelf,PyObject *,PyObject *)3523 static PyObject *varget_wxAuiPaneInfo_max_size(void *sipSelf, PyObject *, PyObject *)
3524 {
3525 ::wxSize*sipVal;
3526 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3527
3528 sipVal = &sipCpp->max_size;
3529
3530 return sipConvertFromType(sipVal, sipType_wxSize, SIP_NULLPTR);
3531 }
3532
3533
3534 extern "C" {static int varset_wxAuiPaneInfo_max_size(void *, PyObject *, PyObject *);}
varset_wxAuiPaneInfo_max_size(void * sipSelf,PyObject * sipPy,PyObject *)3535 static int varset_wxAuiPaneInfo_max_size(void *sipSelf, PyObject *sipPy, PyObject *)
3536 {
3537 ::wxSize*sipVal;
3538 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3539
3540 int sipValState;
3541 int sipIsErr = 0;
3542
3543 sipVal = reinterpret_cast< ::wxSize *>(sipForceConvertToType(sipPy, sipType_wxSize, SIP_NULLPTR, SIP_NOT_NONE, &sipValState, &sipIsErr));
3544
3545 if (sipIsErr)
3546 return -1;
3547
3548 sipCpp->max_size = *sipVal;
3549
3550 sipReleaseType(sipVal, sipType_wxSize, sipValState);
3551
3552 return 0;
3553 }
3554
3555
3556 extern "C" {static PyObject *varget_wxAuiPaneInfo_min_size(void *, PyObject *, PyObject *);}
varget_wxAuiPaneInfo_min_size(void * sipSelf,PyObject *,PyObject *)3557 static PyObject *varget_wxAuiPaneInfo_min_size(void *sipSelf, PyObject *, PyObject *)
3558 {
3559 ::wxSize*sipVal;
3560 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3561
3562 sipVal = &sipCpp->min_size;
3563
3564 return sipConvertFromType(sipVal, sipType_wxSize, SIP_NULLPTR);
3565 }
3566
3567
3568 extern "C" {static int varset_wxAuiPaneInfo_min_size(void *, PyObject *, PyObject *);}
varset_wxAuiPaneInfo_min_size(void * sipSelf,PyObject * sipPy,PyObject *)3569 static int varset_wxAuiPaneInfo_min_size(void *sipSelf, PyObject *sipPy, PyObject *)
3570 {
3571 ::wxSize*sipVal;
3572 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3573
3574 int sipValState;
3575 int sipIsErr = 0;
3576
3577 sipVal = reinterpret_cast< ::wxSize *>(sipForceConvertToType(sipPy, sipType_wxSize, SIP_NULLPTR, SIP_NOT_NONE, &sipValState, &sipIsErr));
3578
3579 if (sipIsErr)
3580 return -1;
3581
3582 sipCpp->min_size = *sipVal;
3583
3584 sipReleaseType(sipVal, sipType_wxSize, sipValState);
3585
3586 return 0;
3587 }
3588
3589
3590 extern "C" {static PyObject *varget_wxAuiPaneInfo_name(void *, PyObject *, PyObject *);}
varget_wxAuiPaneInfo_name(void * sipSelf,PyObject *,PyObject *)3591 static PyObject *varget_wxAuiPaneInfo_name(void *sipSelf, PyObject *, PyObject *)
3592 {
3593 ::wxString*sipVal;
3594 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3595
3596 sipVal = &sipCpp->name;
3597
3598 return sipConvertFromType(sipVal, sipType_wxString, SIP_NULLPTR);
3599 }
3600
3601
3602 extern "C" {static int varset_wxAuiPaneInfo_name(void *, PyObject *, PyObject *);}
varset_wxAuiPaneInfo_name(void * sipSelf,PyObject * sipPy,PyObject *)3603 static int varset_wxAuiPaneInfo_name(void *sipSelf, PyObject *sipPy, PyObject *)
3604 {
3605 ::wxString*sipVal;
3606 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3607
3608 int sipValState;
3609 int sipIsErr = 0;
3610
3611 sipVal = reinterpret_cast< ::wxString *>(sipForceConvertToType(sipPy, sipType_wxString, SIP_NULLPTR, SIP_NOT_NONE, &sipValState, &sipIsErr));
3612
3613 if (sipIsErr)
3614 return -1;
3615
3616 sipCpp->name = *sipVal;
3617
3618 sipReleaseType(sipVal, sipType_wxString, sipValState);
3619
3620 return 0;
3621 }
3622
3623
3624 extern "C" {static PyObject *varget_wxAuiPaneInfo_rect(void *, PyObject *, PyObject *);}
varget_wxAuiPaneInfo_rect(void * sipSelf,PyObject *,PyObject *)3625 static PyObject *varget_wxAuiPaneInfo_rect(void *sipSelf, PyObject *, PyObject *)
3626 {
3627 ::wxRect*sipVal;
3628 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3629
3630 sipVal = &sipCpp->rect;
3631
3632 return sipConvertFromType(sipVal, sipType_wxRect, SIP_NULLPTR);
3633 }
3634
3635
3636 extern "C" {static int varset_wxAuiPaneInfo_rect(void *, PyObject *, PyObject *);}
varset_wxAuiPaneInfo_rect(void * sipSelf,PyObject * sipPy,PyObject *)3637 static int varset_wxAuiPaneInfo_rect(void *sipSelf, PyObject *sipPy, PyObject *)
3638 {
3639 ::wxRect*sipVal;
3640 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3641
3642 int sipValState;
3643 int sipIsErr = 0;
3644
3645 sipVal = reinterpret_cast< ::wxRect *>(sipForceConvertToType(sipPy, sipType_wxRect, SIP_NULLPTR, SIP_NOT_NONE, &sipValState, &sipIsErr));
3646
3647 if (sipIsErr)
3648 return -1;
3649
3650 sipCpp->rect = *sipVal;
3651
3652 sipReleaseType(sipVal, sipType_wxRect, sipValState);
3653
3654 return 0;
3655 }
3656
3657
3658 extern "C" {static PyObject *varget_wxAuiPaneInfo_state(void *, PyObject *, PyObject *);}
varget_wxAuiPaneInfo_state(void * sipSelf,PyObject *,PyObject *)3659 static PyObject *varget_wxAuiPaneInfo_state(void *sipSelf, PyObject *, PyObject *)
3660 {
3661 uint sipVal;
3662 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3663
3664 sipVal = sipCpp->state;
3665
3666 return PyLong_FromUnsignedLong(sipVal);
3667 }
3668
3669
3670 extern "C" {static int varset_wxAuiPaneInfo_state(void *, PyObject *, PyObject *);}
varset_wxAuiPaneInfo_state(void * sipSelf,PyObject * sipPy,PyObject *)3671 static int varset_wxAuiPaneInfo_state(void *sipSelf, PyObject *sipPy, PyObject *)
3672 {
3673 uint sipVal;
3674 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3675
3676 sipVal = sipLong_AsUnsignedInt(sipPy);
3677
3678 if (PyErr_Occurred() != SIP_NULLPTR)
3679 return -1;
3680
3681 sipCpp->state = sipVal;
3682
3683 return 0;
3684 }
3685
3686
3687 extern "C" {static PyObject *varget_wxAuiPaneInfo_window(void *, PyObject *, PyObject *);}
varget_wxAuiPaneInfo_window(void * sipSelf,PyObject *,PyObject *)3688 static PyObject *varget_wxAuiPaneInfo_window(void *sipSelf, PyObject *, PyObject *)
3689 {
3690 ::wxWindow*sipVal;
3691 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3692
3693 sipVal = sipCpp->window;
3694
3695 return sipConvertFromType(sipVal, sipType_wxWindow, SIP_NULLPTR);
3696 }
3697
3698
3699 extern "C" {static int varset_wxAuiPaneInfo_window(void *, PyObject *, PyObject *);}
varset_wxAuiPaneInfo_window(void * sipSelf,PyObject * sipPy,PyObject *)3700 static int varset_wxAuiPaneInfo_window(void *sipSelf, PyObject *sipPy, PyObject *)
3701 {
3702 ::wxWindow*sipVal;
3703 ::wxAuiPaneInfo *sipCpp = reinterpret_cast< ::wxAuiPaneInfo *>(sipSelf);
3704
3705 int sipIsErr = 0;
3706
3707 sipVal = reinterpret_cast< ::wxWindow *>(sipForceConvertToType(sipPy, sipType_wxWindow, SIP_NULLPTR, 0, SIP_NULLPTR, &sipIsErr));
3708
3709 if (sipIsErr)
3710 return -1;
3711
3712 sipCpp->window = sipVal;
3713
3714 return 0;
3715 }
3716
3717 sipVariableDef variables_wxAuiPaneInfo[] = {
3718 {InstanceVariable, sipName_best_size, (PyMethodDef *)varget_wxAuiPaneInfo_best_size, (PyMethodDef *)varset_wxAuiPaneInfo_best_size, SIP_NULLPTR, SIP_NULLPTR},
3719 {InstanceVariable, sipName_buttons, (PyMethodDef *)varget_wxAuiPaneInfo_buttons, (PyMethodDef *)varset_wxAuiPaneInfo_buttons, SIP_NULLPTR, SIP_NULLPTR},
3720 {InstanceVariable, sipName_caption, (PyMethodDef *)varget_wxAuiPaneInfo_caption, (PyMethodDef *)varset_wxAuiPaneInfo_caption, SIP_NULLPTR, SIP_NULLPTR},
3721 {InstanceVariable, sipName_dock_direction, (PyMethodDef *)varget_wxAuiPaneInfo_dock_direction, (PyMethodDef *)varset_wxAuiPaneInfo_dock_direction, SIP_NULLPTR, SIP_NULLPTR},
3722 {InstanceVariable, sipName_dock_layer, (PyMethodDef *)varget_wxAuiPaneInfo_dock_layer, (PyMethodDef *)varset_wxAuiPaneInfo_dock_layer, SIP_NULLPTR, SIP_NULLPTR},
3723 {InstanceVariable, sipName_dock_pos, (PyMethodDef *)varget_wxAuiPaneInfo_dock_pos, (PyMethodDef *)varset_wxAuiPaneInfo_dock_pos, SIP_NULLPTR, SIP_NULLPTR},
3724 {InstanceVariable, sipName_dock_proportion, (PyMethodDef *)varget_wxAuiPaneInfo_dock_proportion, (PyMethodDef *)varset_wxAuiPaneInfo_dock_proportion, SIP_NULLPTR, SIP_NULLPTR},
3725 {InstanceVariable, sipName_dock_row, (PyMethodDef *)varget_wxAuiPaneInfo_dock_row, (PyMethodDef *)varset_wxAuiPaneInfo_dock_row, SIP_NULLPTR, SIP_NULLPTR},
3726 {InstanceVariable, sipName_floating_pos, (PyMethodDef *)varget_wxAuiPaneInfo_floating_pos, (PyMethodDef *)varset_wxAuiPaneInfo_floating_pos, SIP_NULLPTR, SIP_NULLPTR},
3727 {InstanceVariable, sipName_floating_size, (PyMethodDef *)varget_wxAuiPaneInfo_floating_size, (PyMethodDef *)varset_wxAuiPaneInfo_floating_size, SIP_NULLPTR, SIP_NULLPTR},
3728 {InstanceVariable, sipName_frame, (PyMethodDef *)varget_wxAuiPaneInfo_frame, (PyMethodDef *)varset_wxAuiPaneInfo_frame, SIP_NULLPTR, SIP_NULLPTR},
3729 {InstanceVariable, sipName_icon, (PyMethodDef *)varget_wxAuiPaneInfo_icon, (PyMethodDef *)varset_wxAuiPaneInfo_icon, SIP_NULLPTR, SIP_NULLPTR},
3730 {InstanceVariable, sipName_max_size, (PyMethodDef *)varget_wxAuiPaneInfo_max_size, (PyMethodDef *)varset_wxAuiPaneInfo_max_size, SIP_NULLPTR, SIP_NULLPTR},
3731 {InstanceVariable, sipName_min_size, (PyMethodDef *)varget_wxAuiPaneInfo_min_size, (PyMethodDef *)varset_wxAuiPaneInfo_min_size, SIP_NULLPTR, SIP_NULLPTR},
3732 {InstanceVariable, sipName_name, (PyMethodDef *)varget_wxAuiPaneInfo_name, (PyMethodDef *)varset_wxAuiPaneInfo_name, SIP_NULLPTR, SIP_NULLPTR},
3733 {InstanceVariable, sipName_rect, (PyMethodDef *)varget_wxAuiPaneInfo_rect, (PyMethodDef *)varset_wxAuiPaneInfo_rect, SIP_NULLPTR, SIP_NULLPTR},
3734 {InstanceVariable, sipName_state, (PyMethodDef *)varget_wxAuiPaneInfo_state, (PyMethodDef *)varset_wxAuiPaneInfo_state, SIP_NULLPTR, SIP_NULLPTR},
3735 {InstanceVariable, sipName_window, (PyMethodDef *)varget_wxAuiPaneInfo_window, (PyMethodDef *)varset_wxAuiPaneInfo_window, SIP_NULLPTR, SIP_NULLPTR},
3736 };
3737
3738 PyDoc_STRVAR(doc_wxAuiPaneInfo, "AuiPaneInfo()\n"
3739 "AuiPaneInfo(c)\n"
3740 "\n"
3741 "wxAuiPaneInfo is part of the wxAUI class framework.");
3742
3743
3744 sipClassTypeDef sipTypeDef__aui_wxAuiPaneInfo = {
3745 {
3746 -1,
3747 SIP_NULLPTR,
3748 SIP_NULLPTR,
3749 SIP_TYPE_CLASS,
3750 sipNameNr_wxAuiPaneInfo,
3751 {SIP_NULLPTR},
3752 SIP_NULLPTR
3753 },
3754 {
3755 sipNameNr_AuiPaneInfo,
3756 {0, 0, 1},
3757 72, methods_wxAuiPaneInfo,
3758 0, SIP_NULLPTR,
3759 18, variables_wxAuiPaneInfo,
3760 {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
3761 },
3762 doc_wxAuiPaneInfo,
3763 -1,
3764 -1,
3765 SIP_NULLPTR,
3766 SIP_NULLPTR,
3767 init_type_wxAuiPaneInfo,
3768 SIP_NULLPTR,
3769 SIP_NULLPTR,
3770 #if PY_MAJOR_VERSION >= 3
3771 SIP_NULLPTR,
3772 SIP_NULLPTR,
3773 #else
3774 SIP_NULLPTR,
3775 SIP_NULLPTR,
3776 SIP_NULLPTR,
3777 SIP_NULLPTR,
3778 #endif
3779 dealloc_wxAuiPaneInfo,
3780 assign_wxAuiPaneInfo,
3781 array_wxAuiPaneInfo,
3782 copy_wxAuiPaneInfo,
3783 release_wxAuiPaneInfo,
3784 SIP_NULLPTR,
3785 SIP_NULLPTR,
3786 SIP_NULLPTR,
3787 SIP_NULLPTR,
3788 SIP_NULLPTR,
3789 SIP_NULLPTR,
3790 SIP_NULLPTR
3791 };
3792