--- /srv/rebuilderd/tmp/rebuilderdBMkyxf/inputs/python3-fltk_1.4.4.0+repack-1_ppc64el.deb +++ /srv/rebuilderd/tmp/rebuilderdBMkyxf/out/python3-fltk_1.4.4.0+repack-1_ppc64el.deb ├── file list │ @@ -1,3 +1,3 @@ │ -rw-r--r-- 0 0 0 4 2025-11-27 19:19:19.000000 debian-binary │ -rw-r--r-- 0 0 0 1348 2025-11-27 19:19:19.000000 control.tar.xz │ --rw-r--r-- 0 0 0 744568 2025-11-27 19:19:19.000000 data.tar.xz │ +-rw-r--r-- 0 0 0 744560 2025-11-27 19:19:19.000000 data.tar.xz ├── control.tar.xz │ ├── control.tar │ │ ├── ./md5sums │ │ │ ├── ./md5sums │ │ │ │┄ Files differ ├── data.tar.xz │ ├── data.tar │ │ ├── file list │ │ │ @@ -2,15 +2,15 @@ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-11-27 19:19:19.000000 ./usr/ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-11-27 19:19:19.000000 ./usr/lib/ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-11-27 19:19:19.000000 ./usr/lib/python3/ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-11-27 19:19:19.000000 ./usr/lib/python3/dist-packages/ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-11-27 19:19:19.000000 ./usr/lib/python3/dist-packages/fltk/ │ │ │ -rw-r--r-- 0 root (0) root (0) 160 2025-08-10 21:39:47.000000 ./usr/lib/python3/dist-packages/fltk/__init__.py │ │ │ -rw-r--r-- 0 root (0) root (0) 5870520 2025-11-27 19:19:19.000000 ./usr/lib/python3/dist-packages/fltk/_fltk.cpython-313-powerpc64le-linux-gnu.so │ │ │ --rw-r--r-- 0 root (0) root (0) 601112 2025-11-27 19:19:19.000000 ./usr/lib/python3/dist-packages/fltk/fltk.py │ │ │ +-rw-r--r-- 0 root (0) root (0) 601157 2025-11-27 19:19:19.000000 ./usr/lib/python3/dist-packages/fltk/fltk.py │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-11-27 19:19:19.000000 ./usr/lib/python3/dist-packages/pyfltk-1.4.4.0.egg-info/ │ │ │ -rw-r--r-- 0 root (0) root (0) 3193 2025-11-27 19:19:19.000000 ./usr/lib/python3/dist-packages/pyfltk-1.4.4.0.egg-info/PKG-INFO │ │ │ -rw-r--r-- 0 root (0) root (0) 1 2025-11-27 19:19:19.000000 ./usr/lib/python3/dist-packages/pyfltk-1.4.4.0.egg-info/dependency_links.txt │ │ │ -rw-r--r-- 0 root (0) root (0) 5 2025-11-27 19:19:19.000000 ./usr/lib/python3/dist-packages/pyfltk-1.4.4.0.egg-info/top_level.txt │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-11-27 19:19:19.000000 ./usr/share/ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-11-27 19:19:19.000000 ./usr/share/doc/ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-11-27 19:19:19.000000 ./usr/share/doc/python3-fltk/ │ │ ├── ./usr/lib/python3/dist-packages/fltk/fltk.py │ │ │ @@ -21708,15863 +21708,15866 @@ │ │ │ 00054cb0: 2077 6869 6368 2061 6c6c 6f77 7320 796f which allows yo │ │ │ 00054cc0: 7520 746f 200a 2020 2020 6469 7370 6c61 u to . displa │ │ │ 00054cd0: 7920 6d75 6c74 6970 6c65 206c 696e 6573 y multiple lines │ │ │ 00054ce0: 206f 6620 7465 7874 2e0a 0a20 2020 2054 of text... T │ │ │ 00054cf0: 6865 2074 6578 7420 6d61 7920 636f 6e74 he text may cont │ │ │ 00054d00: 6169 6e20 616e 7920 6368 6172 6163 7465 ain any characte │ │ │ 00054d10: 7273 2065 7863 6570 7420 0a20 2020 2020 rs except . │ │ │ -00054d20: 2020 2020 2020 2069 6620 7365 6c66 2e70 if self.p │ │ │ -00054d30: 6172 656e 7428 2920 213d 204e 6f6e 653a arent() != None: │ │ │ -00054d40: 2020 200a 2020 2020 2020 2020 2020 2020 . │ │ │ -00054d50: 2364 656c 6567 6174 6520 6f77 6e65 7273 #delegate owners │ │ │ -00054d60: 6869 7020 746f 2043 2b2b 0a20 2020 2020 hip to C++. │ │ │ -00054d70: 2020 2020 2020 2020 2020 2073 656c 662e self. │ │ │ -00054d80: 7468 6973 2e64 6973 6f77 6e28 290a 2020 this.disown(). │ │ │ -00054d90: 2020 2020 2020 2020 2020 7365 6c66 2e69 self.i │ │ │ -00054da0: 6e69 745f 7479 7065 2822 466c 5f48 6f6c nit_type("Fl_Hol │ │ │ -00054db0: 645f 4272 6f77 7365 7222 290a 2020 2020 d_Browser"). │ │ │ -00054dc0: 2020 2020 2020 2020 2370 7269 6e74 2822 #print(" │ │ │ -00054dd0: 4164 6469 6e67 2074 7970 653a 2022 2c20 Adding type: ", │ │ │ -00054de0: 466c 5f48 6f6c 645f 4272 6f77 7365 7229 Fl_Hold_Browser) │ │ │ -00054df0: 0a0a 0a0a 0a20 2020 2020 2020 2064 6566 ..... def │ │ │ -00054e00: 200a 2020 2020 2222 220a 0a20 2020 2074 . """.. t │ │ │ -00054e10: 6869 736f 776e 203d 2070 726f 7065 7274 hisown = propert │ │ │ -00054e20: 7928 6c61 6d62 6461 2078 3a20 782e 7468 y(lambda x: x.th │ │ │ -00054e30: 6973 2e6f 776e 2829 2c20 6c61 6d62 6461 is.own(), lambda │ │ │ -00054e40: 2078 2c20 763a 2078 2e74 6869 732e 6f77 x, v: x.this.ow │ │ │ -00054e50: 6e28 7629 2c20 646f 633d 2254 6865 206d n(v), doc="The m │ │ │ -00054e60: 656d 6265 7273 6869 7020 666c 6167 2229 embership flag") │ │ │ -00054e70: 0a20 2020 205f 5f72 6570 725f 5f20 3d20 . __repr__ = │ │ │ -00054e80: 5f73 7769 675f 7265 7072 0a0a 2020 2020 _swig_repr.. │ │ │ -00054e90: 6465 6620 5f5f 696e 6974 5f5f 2873 656c def __init__(sel │ │ │ -00054ea0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00054eb0: 2020 2072 2222 225f 5f69 6e69 745f 5f28 r"""__init__( │ │ │ -00054ec0: 466c 5f4f 7574 7075 7420 7365 6c66 2c20 Fl_Output self, │ │ │ -00054ed0: 696e 7420 582c 2069 6e74 2059 2c20 696e int X, int Y, in │ │ │ -00054ee0: 7420 572c 2069 6e74 2048 2c20 6368 6172 t W, int H, char │ │ │ -00054ef0: 2063 6f6e 7374 202a 206c 3d4e 6f6e 6529 const * l=None) │ │ │ -00054f00: 202d 3e20 466c 5f4f 7574 7075 7422 2222 -> Fl_Output""" │ │ │ -00054f10: 0a20 2020 2020 2020 2069 6620 7365 6c66 . if self │ │ │ -00054f20: 2e5f 5f63 6c61 7373 5f5f 203d 3d20 466c .__class__ == Fl │ │ │ -00054f30: 5f4f 7574 7075 743a 0a20 2020 2020 2020 _Output:. │ │ │ -00054f40: 2020 2020 205f 7365 6c66 203d 204e 6f6e _self = Non │ │ │ -00054f50: 650a 2020 2020 2020 2020 656c 7365 3a0a e. else:. │ │ │ -00054f60: 2020 2020 2020 2020 2020 2020 5f73 656c _sel │ │ │ -00054f70: 6620 3d20 7365 6c66 0a20 2020 2020 2020 f = self. │ │ │ -00054f80: 205f 666c 746b 2e46 6c5f 4f75 7470 7574 _fltk.Fl_Output │ │ │ -00054f90: 5f73 7769 6769 6e69 7428 7365 6c66 2c20 _swiginit(self, │ │ │ -00054fa0: 5f66 6c74 6b2e 6e65 775f 466c 5f4f 7574 _fltk.new_Fl_Out │ │ │ -00054fb0: 7075 7428 5f73 656c 662c 202a 6172 6773 put(_self, *args │ │ │ -00054fc0: 2929 0a0a 2020 2020 2020 2020 6966 206c )).. if l │ │ │ -00054fd0: 656e 2861 7267 7329 203d 3d20 353a 2020 en(args) == 5: │ │ │ -00054fe0: 2020 2020 2020 2020 0a20 2020 2020 2020 . │ │ │ -00054ff0: 2023 7265 7461 696e 2072 6566 6572 656e #retain referen │ │ │ -00055000: 6365 2074 6f20 6c61 6265 6c0a 2020 2020 ce to label. │ │ │ -00055010: 2020 2020 2020 2020 7365 6c66 2e6d 795f self.my_ │ │ │ -00055020: 6c61 6265 6c20 3d20 6172 6773 5b2d 315d label = args[-1] │ │ │ -00055030: 0a20 2020 2020 2020 2069 6620 7365 6c66 . if self │ │ │ -00055040: 2e70 6172 656e 7428 2920 213d 204e 6f6e .parent() != Non │ │ │ -00055050: 653a 2020 200a 2020 2020 2020 2020 2364 e: . #d │ │ │ -00055060: 656c 6567 6174 6520 6f77 6e65 7273 6869 elegate ownershi │ │ │ -00055070: 7020 746f 2043 2b2b 0a20 2020 2020 2020 p to C++. │ │ │ -00055080: 2020 2020 2073 656c 662e 7468 6973 2e64 self.this.d │ │ │ -00055090: 6973 6f77 6e28 290a 2020 2020 2020 2020 isown(). │ │ │ -000550a0: 7365 6c66 2e69 6e69 745f 7479 7065 2822 self.init_type(" │ │ │ -000550b0: 466c 5f4f 7574 7075 7422 290a 2020 2020 Fl_Output"). │ │ │ -000550c0: 2020 2020 2370 7269 6e74 2822 4164 6469 #print("Addi │ │ │ -000550d0: 6e67 2074 7970 653a 2022 2c20 466c 5f4f ng type: ", Fl_O │ │ │ -000550e0: 7574 7075 7429 0a0a 0a0a 0a20 2020 2064 utput)..... d │ │ │ -000550f0: 6566 2069 6e69 745f 7479 7065 2873 656c ef init_type(sel │ │ │ -00055100: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00055110: 2020 2072 2222 2269 6e69 745f 7479 7065 r"""init_type │ │ │ -00055120: 2846 6c5f 4f75 7470 7574 2073 656c 662c (Fl_Output self, │ │ │ -00055130: 2063 6861 7220 2a20 466c 5f4f 7574 7075 char * Fl_Outpu │ │ │ -00055140: 7429 2222 220a 2020 2020 2020 2020 7265 t)""". re │ │ │ -00055150: 7475 726e 205f 666c 746b 2e46 6c5f 4f75 turn _fltk.Fl_Ou │ │ │ -00055160: 7470 7574 5f69 6e69 745f 7479 7065 2873 tput_init_type(s │ │ │ -00055170: 656c 662c 202a 6172 6773 290a 2020 2020 elf, *args). │ │ │ -00055180: 5f5f 7377 6967 5f64 6573 7472 6f79 5f5f __swig_destroy__ │ │ │ -00055190: 203d 205f 666c 746b 2e64 656c 6574 655f = _fltk.delete_ │ │ │ -000551a0: 466c 5f4f 7574 7075 740a 2020 2020 6465 Fl_Output. de │ │ │ -000551b0: 6620 5f5f 6469 736f 776e 5f5f 2873 656c f __disown__(sel │ │ │ -000551c0: 6629 3a0a 2020 2020 2020 2020 7365 6c66 f):. self │ │ │ -000551d0: 2e74 6869 732e 6469 736f 776e 2829 0a20 .this.disown(). │ │ │ -000551e0: 2020 2020 2020 205f 666c 746b 2e64 6973 _fltk.dis │ │ │ -000551f0: 6f77 6e5f 466c 5f4f 7574 7075 7428 7365 own_Fl_Output(se │ │ │ -00055200: 6c66 290a 2020 2020 2020 2020 7265 7475 lf). retu │ │ │ -00055210: 726e 2077 6561 6b72 6566 2e70 726f 7879 rn weakref.proxy │ │ │ -00055220: 2873 656c 6629 0a0a 2020 2020 6465 6620 (self).. def │ │ │ -00055230: 6472 6177 2873 656c 662c 202a 6172 6773 draw(self, *args │ │ │ -00055240: 293a 0a20 2020 2020 2020 2072 2222 2264 ):. r"""d │ │ │ -00055250: 7261 7728 466c 5f4f 7574 7075 7420 7365 raw(Fl_Output se │ │ │ -00055260: 6c66 2922 2222 0a20 2020 2020 2020 2072 lf)""". r │ │ │ -00055270: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f4f eturn _fltk.Fl_O │ │ │ -00055280: 7574 7075 745f 6472 6177 2873 656c 662c utput_draw(self, │ │ │ -00055290: 202a 6172 6773 290a 0a23 2052 6567 6973 *args)..# Regis │ │ │ -000552a0: 7465 7220 466c 5f4f 7574 7075 7420 696e ter Fl_Output in │ │ │ -000552b0: 205f 666c 746b 3a0a 5f66 6c74 6b2e 466c _fltk:._fltk.Fl │ │ │ -000552c0: 5f4f 7574 7075 745f 7377 6967 7265 6769 _Output_swigregi │ │ │ -000552d0: 7374 6572 2846 6c5f 4f75 7470 7574 290a ster(Fl_Output). │ │ │ -000552e0: 636c 6173 7320 466c 5f4d 756c 7469 6c69 class Fl_Multili │ │ │ -000552f0: 6e65 5f4f 7574 7075 7428 466c 5f4f 7574 ne_Output(Fl_Out │ │ │ -00055300: 7075 7429 3a0a 2020 2020 7222 2222 0a0a put):. r""".. │ │ │ -00055310: 2020 2020 5468 6973 2077 6964 6765 7420 This widget │ │ │ -00055320: 6973 2061 2073 7562 636c 6173 7320 6f66 is a subclass of │ │ │ -00055330: 2046 6c5f 4f75 7470 7574 2074 6861 7420 Fl_Output that │ │ │ -00055340: 6469 7370 6c61 7973 206d 756c 7469 706c displays multipl │ │ │ -00055350: 6520 6c69 6e65 7320 6f66 2074 6578 742e e lines of text. │ │ │ -00055360: 200a 2020 2020 4974 2061 6c73 6f20 6469 . It also di │ │ │ -00055370: 7370 6c61 7973 2074 6162 2063 6861 7261 splays tab chara │ │ │ -00055380: 6374 6572 7320 6173 2077 6869 7465 7370 cters as whitesp │ │ │ -00055390: 6163 6520 746f 2074 6865 206e 6578 7420 ace to the next │ │ │ -000553a0: 636f 6c75 6d6e 2e0a 0a20 2020 2022 2222 column... """ │ │ │ -000553b0: 0a0a 2020 2020 7468 6973 6f77 6e20 3d20 .. thisown = │ │ │ -000553c0: 7072 6f70 6572 7479 286c 616d 6264 6120 property(lambda │ │ │ -000553d0: 783a 2078 2e74 6869 732e 6f77 6e28 292c x: x.this.own(), │ │ │ -000553e0: 206c 616d 6264 6120 782c 2076 3a20 782e lambda x, v: x. │ │ │ -000553f0: 7468 6973 2e6f 776e 2876 292c 2064 6f63 this.own(v), doc │ │ │ -00055400: 3d22 5468 6520 6d65 6d62 6572 7368 6970 ="The membership │ │ │ -00055410: 2066 6c61 6722 290a 2020 2020 5f5f 7265 flag"). __re │ │ │ -00055420: 7072 5f5f 203d 205f 7377 6967 5f72 6570 pr__ = _swig_rep │ │ │ -00055430: 720a 0a20 2020 2064 6566 205f 5f69 6e69 r.. def __ini │ │ │ -00055440: 745f 5f28 7365 6c66 2c20 2a61 7267 7329 t__(self, *args) │ │ │ -00055450: 3a0a 2020 2020 2020 2020 7222 2222 5f5f :. r"""__ │ │ │ -00055460: 696e 6974 5f5f 2846 6c5f 4d75 6c74 696c init__(Fl_Multil │ │ │ -00055470: 696e 655f 4f75 7470 7574 2073 656c 662c ine_Output self, │ │ │ -00055480: 2069 6e74 2058 2c20 696e 7420 592c 2069 int X, int Y, i │ │ │ -00055490: 6e74 2057 2c20 696e 7420 482c 2063 6861 nt W, int H, cha │ │ │ -000554a0: 7220 636f 6e73 7420 2a20 6c3d 4e6f 6e65 r const * l=None │ │ │ -000554b0: 2920 2d3e 2046 6c5f 4d75 6c74 696c 696e ) -> Fl_Multilin │ │ │ -000554c0: 655f 4f75 7470 7574 2222 220a 2020 2020 e_Output""". │ │ │ -000554d0: 2020 2020 6966 2073 656c 662e 5f5f 636c if self.__cl │ │ │ -000554e0: 6173 735f 5f20 3d3d 2046 6c5f 4d75 6c74 ass__ == Fl_Mult │ │ │ -000554f0: 696c 696e 655f 4f75 7470 7574 3a0a 2020 iline_Output:. │ │ │ -00055500: 2020 2020 2020 2020 2020 5f73 656c 6620 _self │ │ │ -00055510: 3d20 4e6f 6e65 0a20 2020 2020 2020 2065 = None. e │ │ │ -00055520: 6c73 653a 0a20 2020 2020 2020 2020 2020 lse:. │ │ │ -00055530: 205f 7365 6c66 203d 2073 656c 660a 2020 _self = self. │ │ │ -00055540: 2020 2020 2020 5f66 6c74 6b2e 466c 5f4d _fltk.Fl_M │ │ │ -00055550: 756c 7469 6c69 6e65 5f4f 7574 7075 745f ultiline_Output_ │ │ │ -00055560: 7377 6967 696e 6974 2873 656c 662c 205f swiginit(self, _ │ │ │ -00055570: 666c 746b 2e6e 6577 5f46 6c5f 4d75 6c74 fltk.new_Fl_Mult │ │ │ -00055580: 696c 696e 655f 4f75 7470 7574 285f 7365 iline_Output(_se │ │ │ -00055590: 6c66 2c20 2a61 7267 7329 290a 0a20 2020 lf, *args)).. │ │ │ -000555a0: 2020 2020 2069 6620 6c65 6e28 6172 6773 if len(args │ │ │ -000555b0: 2920 3d3d 2035 3a20 2020 2020 2020 2020 ) == 5: │ │ │ -000555c0: 200a 2020 2020 2020 2020 2372 6574 6169 . #retai │ │ │ -000555d0: 6e20 7265 6665 7265 6e63 6520 746f 206c n reference to l │ │ │ -000555e0: 6162 656c 0a20 2020 2020 2020 2020 2020 abel. │ │ │ -000555f0: 2073 656c 662e 6d79 5f6c 6162 656c 203d self.my_label = │ │ │ -00055600: 2061 7267 735b 2d31 5d0a 2020 2020 2020 args[-1]. │ │ │ -00055610: 2020 6966 2073 656c 662e 7061 7265 6e74 if self.parent │ │ │ -00055620: 2829 2021 3d20 4e6f 6e65 3a20 2020 0a20 () != None: . │ │ │ -00055630: 2020 2020 2020 2023 6465 6c65 6761 7465 #delegate │ │ │ -00055640: 206f 776e 6572 7368 6970 2074 6f20 432b ownership to C+ │ │ │ -00055650: 2b0a 2020 2020 2020 2020 2020 2020 7365 +. se │ │ │ -00055660: 6c66 2e74 6869 732e 6469 736f 776e 2829 lf.this.disown() │ │ │ -00055670: 0a20 2020 2020 2020 2073 656c 662e 696e . self.in │ │ │ -00055680: 6974 5f74 7970 6528 2246 6c5f 4d75 6c74 it_type("Fl_Mult │ │ │ -00055690: 696c 696e 655f 4f75 7470 7574 2229 0a20 iline_Output"). │ │ │ -000556a0: 2020 2020 2020 2023 7072 696e 7428 2241 #print("A │ │ │ -000556b0: 6464 696e 6720 7479 7065 3a20 222c 2046 dding type: ", F │ │ │ -000556c0: 6c5f 4d75 6c74 696c 696e 655f 4f75 7470 l_Multiline_Outp │ │ │ -000556d0: 7574 290a 0a0a 0a0a 2020 2020 6465 6620 ut)..... def │ │ │ -000556e0: 696e 6974 5f74 7970 6528 7365 6c66 2c20 init_type(self, │ │ │ -000556f0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00055700: 7222 2222 696e 6974 5f74 7970 6528 466c r"""init_type(Fl │ │ │ -00055710: 5f4d 756c 7469 6c69 6e65 5f4f 7574 7075 _Multiline_Outpu │ │ │ -00055720: 7420 7365 6c66 2c20 6368 6172 202a 2046 t self, char * F │ │ │ -00055730: 6c5f 4d75 6c74 696c 696e 655f 4f75 7470 l_Multiline_Outp │ │ │ -00055740: 7574 2922 2222 0a20 2020 2020 2020 2072 ut)""". r │ │ │ -00055750: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f4d eturn _fltk.Fl_M │ │ │ -00055760: 756c 7469 6c69 6e65 5f4f 7574 7075 745f ultiline_Output_ │ │ │ -00055770: 696e 6974 5f74 7970 6528 7365 6c66 2c20 init_type(self, │ │ │ -00055780: 2a61 7267 7329 0a20 2020 205f 5f73 7769 *args). __swi │ │ │ -00055790: 675f 6465 7374 726f 795f 5f20 3d20 5f66 g_destroy__ = _f │ │ │ -000557a0: 6c74 6b2e 6465 6c65 7465 5f46 6c5f 4d75 ltk.delete_Fl_Mu │ │ │ -000557b0: 6c74 696c 696e 655f 4f75 7470 7574 0a20 ltiline_Output. │ │ │ -000557c0: 2020 2064 6566 205f 5f64 6973 6f77 6e5f def __disown_ │ │ │ -000557d0: 5f28 7365 6c66 293a 0a20 2020 2020 2020 _(self):. │ │ │ -000557e0: 2073 656c 662e 7468 6973 2e64 6973 6f77 self.this.disow │ │ │ -000557f0: 6e28 290a 2020 2020 2020 2020 5f66 6c74 n(). _flt │ │ │ -00055800: 6b2e 6469 736f 776e 5f46 6c5f 4d75 6c74 k.disown_Fl_Mult │ │ │ -00055810: 696c 696e 655f 4f75 7470 7574 2873 656c iline_Output(sel │ │ │ -00055820: 6629 0a20 2020 2020 2020 2072 6574 7572 f). retur │ │ │ -00055830: 6e20 7765 616b 7265 662e 7072 6f78 7928 n weakref.proxy( │ │ │ -00055840: 7365 6c66 290a 0a20 2020 2064 6566 2064 self).. def d │ │ │ -00055850: 7261 7728 7365 6c66 2c20 2a61 7267 7329 raw(self, *args) │ │ │ -00055860: 3a0a 2020 2020 2020 2020 7222 2222 6472 :. r"""dr │ │ │ -00055870: 6177 2846 6c5f 4d75 6c74 696c 696e 655f aw(Fl_Multiline_ │ │ │ -00055880: 4f75 7470 7574 2073 656c 6629 2222 220a Output self)""". │ │ │ -00055890: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -000558a0: 666c 746b 2e46 6c5f 4d75 6c74 696c 696e fltk.Fl_Multilin │ │ │ -000558b0: 655f 4f75 7470 7574 5f64 7261 7728 7365 e_Output_draw(se │ │ │ -000558c0: 6c66 2c20 2a61 7267 7329 0a0a 2320 5265 lf, *args)..# Re │ │ │ -000558d0: 6769 7374 6572 2046 6c5f 4d75 6c74 696c gister Fl_Multil │ │ │ -000558e0: 696e 655f 4f75 7470 7574 2069 6e20 5f66 ine_Output in _f │ │ │ -000558f0: 6c74 6b3a 0a5f 666c 746b 2e46 6c5f 4d75 ltk:._fltk.Fl_Mu │ │ │ -00055900: 6c74 696c 696e 655f 4f75 7470 7574 5f73 ltiline_Output_s │ │ │ -00055910: 7769 6772 6567 6973 7465 7228 466c 5f4d wigregister(Fl_M │ │ │ -00055920: 756c 7469 6c69 6e65 5f4f 7574 7075 7429 ultiline_Output) │ │ │ -00055930: 0a63 6c61 7373 2046 6c5f 4d75 6c74 695f .class Fl_Multi_ │ │ │ -00055940: 4272 6f77 7365 7228 466c 5f42 726f 7773 Browser(Fl_Brows │ │ │ -00055950: 6572 293a 0a20 2020 2072 2222 220a 0a20 er):. r""".. │ │ │ -00055960: 2020 2054 6865 2046 6c5f 4d75 6c74 695f The Fl_Multi_ │ │ │ -00055970: 4272 6f77 7365 7220 636c 6173 7320 6973 Browser class is │ │ │ -00055980: 2061 2073 7562 636c 6173 7320 6f66 2046 a subclass of F │ │ │ -00055990: 6c5f 4272 6f77 7365 7220 2077 6869 6368 l_Browser which │ │ │ -000559a0: 206c 6574 7320 7468 6520 7573 6572 200a lets the user . │ │ │ -000559b0: 2020 2020 7365 6c65 6374 2061 6e79 2073 select any s │ │ │ -000559c0: 6574 206f 6620 7468 6520 6c69 6e65 732e et of the lines. │ │ │ -000559d0: 2054 6865 2075 7365 7220 696e 7465 7266 The user interf │ │ │ -000559e0: 6163 6520 6973 204d 6163 696e 746f 7368 ace is Macintosh │ │ │ -000559f0: 2073 7479 6c65 3a20 636c 6963 6b69 6e67 style: clicking │ │ │ -00055a00: 200a 2020 2020 616e 2069 7465 6d20 7475 . an item tu │ │ │ -00055a10: 726e 7320 6f66 6620 616c 6c20 7468 6520 rns off all the │ │ │ -00055a20: 6f74 6865 7273 2061 6e64 2073 656c 6563 others and selec │ │ │ -00055a30: 7473 2074 6861 7420 6f6e 652c 2064 7261 ts that one, dra │ │ │ -00055a40: 6767 696e 6720 7365 6c65 6374 7320 616c gging selects al │ │ │ -00055a50: 6c20 0a20 2020 2074 6865 2069 7465 6d73 l . the items │ │ │ -00055a60: 2074 6865 206d 6f75 7365 206d 6f76 6573 the mouse moves │ │ │ -00055a70: 206f 7665 722c 2061 6e64 2073 6869 6674 over, and shift │ │ │ -00055a80: 202b 2063 6c69 636b 2074 6f67 676c 6573 + click toggles │ │ │ -00055a90: 2074 6865 2069 7465 6d73 2e20 5468 6973 the items. This │ │ │ -00055aa0: 200a 2020 2020 6973 2064 6966 6665 7265 . is differe │ │ │ -00055ab0: 6e74 2074 6865 6e20 686f 7720 666f 726d nt then how form │ │ │ -00055ac0: 7320 6469 6420 6974 2e20 4e6f 726d 616c s did it. Normal │ │ │ -00055ad0: 6c79 2074 6865 2063 616c 6c62 6163 6b20 ly the callback │ │ │ -00055ae0: 6973 2064 6f6e 6520 7768 656e 2074 6865 is done when the │ │ │ -00055af0: 200a 2020 2020 7573 6572 2072 656c 6561 . user relea │ │ │ -00055b00: 7365 7320 7468 6520 6d6f 7573 652c 2062 ses the mouse, b │ │ │ -00055b10: 7574 2079 6f75 2063 616e 2063 6861 6e67 ut you can chang │ │ │ -00055b20: 6520 7468 6973 2077 6974 6820 7768 656e e this with when │ │ │ -00055b30: 2829 2e0a 0a20 2020 2053 6565 2046 6c5f ()... See Fl_ │ │ │ -00055b40: 4272 6f77 7365 7220 666f 7220 6d65 7468 Browser for meth │ │ │ -00055b50: 6f64 7320 746f 2061 6464 2061 6e64 2072 ods to add and r │ │ │ -00055b60: 656d 6f76 6520 6c69 6e65 7320 6672 6f6d emove lines from │ │ │ -00055b70: 2074 6865 2062 726f 7773 6572 2e20 0a0a the browser. .. │ │ │ -00055b80: 2020 2020 2222 220a 0a20 2020 2074 6869 """.. thi │ │ │ -00055b90: 736f 776e 203d 2070 726f 7065 7274 7928 sown = property( │ │ │ -00055ba0: 6c61 6d62 6461 2078 3a20 782e 7468 6973 lambda x: x.this │ │ │ -00055bb0: 2e6f 776e 2829 2c20 6c61 6d62 6461 2078 .own(), lambda x │ │ │ -00055bc0: 2c20 763a 2078 2e74 6869 732e 6f77 6e28 , v: x.this.own( │ │ │ -00055bd0: 7629 2c20 646f 633d 2254 6865 206d 656d v), doc="The mem │ │ │ -00055be0: 6265 7273 6869 7020 666c 6167 2229 0a20 bership flag"). │ │ │ -00055bf0: 2020 205f 5f72 6570 725f 5f20 3d20 5f73 __repr__ = _s │ │ │ -00055c00: 7769 675f 7265 7072 0a0a 2020 2020 6465 wig_repr.. de │ │ │ -00055c10: 6620 5f5f 696e 6974 5f5f 2873 656c 662c f __init__(self, │ │ │ -00055c20: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00055c30: 2072 2222 225f 5f69 6e69 745f 5f28 466c r"""__init__(Fl │ │ │ -00055c40: 5f4d 756c 7469 5f42 726f 7773 6572 2073 _Multi_Browser s │ │ │ -00055c50: 656c 662c 2069 6e74 2058 2c20 696e 7420 elf, int X, int │ │ │ -00055c60: 592c 2069 6e74 2057 2c20 696e 7420 482c Y, int W, int H, │ │ │ -00055c70: 2063 6861 7220 636f 6e73 7420 2a20 4c3d char const * L= │ │ │ -00055c80: 4e6f 6e65 2920 2d3e 2046 6c5f 4d75 6c74 None) -> Fl_Mult │ │ │ -00055c90: 695f 4272 6f77 7365 7222 2222 0a20 2020 i_Browser""". │ │ │ -00055ca0: 2020 2020 2069 6620 7365 6c66 2e5f 5f63 if self.__c │ │ │ -00055cb0: 6c61 7373 5f5f 203d 3d20 466c 5f4d 756c lass__ == Fl_Mul │ │ │ -00055cc0: 7469 5f42 726f 7773 6572 3a0a 2020 2020 ti_Browser:. │ │ │ -00055cd0: 2020 2020 2020 2020 5f73 656c 6620 3d20 _self = │ │ │ -00055ce0: 4e6f 6e65 0a20 2020 2020 2020 2065 6c73 None. els │ │ │ -00055cf0: 653a 0a20 2020 2020 2020 2020 2020 205f e:. _ │ │ │ -00055d00: 7365 6c66 203d 2073 656c 660a 2020 2020 self = self. │ │ │ -00055d10: 2020 2020 5f66 6c74 6b2e 466c 5f4d 756c _fltk.Fl_Mul │ │ │ -00055d20: 7469 5f42 726f 7773 6572 5f73 7769 6769 ti_Browser_swigi │ │ │ -00055d30: 6e69 7428 7365 6c66 2c20 5f66 6c74 6b2e nit(self, _fltk. │ │ │ -00055d40: 6e65 775f 466c 5f4d 756c 7469 5f42 726f new_Fl_Multi_Bro │ │ │ -00055d50: 7773 6572 285f 7365 6c66 2c20 2a61 7267 wser(_self, *arg │ │ │ -00055d60: 7329 290a 0a20 2020 2020 2020 2069 6620 s)).. if │ │ │ -00055d70: 6c65 6e28 6172 6773 2920 3d3d 2035 3a20 len(args) == 5: │ │ │ -00055d80: 2020 2020 2020 2020 200a 2020 2020 2020 . │ │ │ -00055d90: 2020 2372 6574 6169 6e20 7265 6665 7265 #retain refere │ │ │ -00055da0: 6e63 6520 746f 206c 6162 656c 0a20 2020 nce to label. │ │ │ -00055db0: 2020 2020 2020 2020 2073 656c 662e 6d79 self.my │ │ │ -00055dc0: 5f6c 6162 656c 203d 2061 7267 735b 2d31 _label = args[-1 │ │ │ -00055dd0: 5d0a 2020 2020 2020 2020 6966 2073 656c ]. if sel │ │ │ -00055de0: 662e 7061 7265 6e74 2829 2021 3d20 4e6f f.parent() != No │ │ │ -00055df0: 6e65 3a20 2020 0a20 2020 2020 2020 2023 ne: . # │ │ │ -00055e00: 6465 6c65 6761 7465 206f 776e 6572 7368 delegate ownersh │ │ │ -00055e10: 6970 2074 6f20 432b 2b0a 2020 2020 2020 ip to C++. │ │ │ -00055e20: 2020 2020 2020 7365 6c66 2e74 6869 732e self.this. │ │ │ -00055e30: 6469 736f 776e 2829 0a20 2020 2020 2020 disown(). │ │ │ -00055e40: 2073 656c 662e 696e 6974 5f74 7970 6528 self.init_type( │ │ │ -00055e50: 2246 6c5f 4d75 6c74 695f 4272 6f77 7365 "Fl_Multi_Browse │ │ │ -00055e60: 7222 290a 2020 2020 2020 2020 2370 7269 r"). #pri │ │ │ -00055e70: 6e74 2822 4164 6469 6e67 2074 7970 653a nt("Adding type: │ │ │ -00055e80: 2022 2c20 466c 5f4d 756c 7469 5f42 726f ", Fl_Multi_Bro │ │ │ -00055e90: 7773 6572 290a 0a0a 0a0a 2020 2020 6465 wser)..... de │ │ │ -00055ea0: 6620 696e 6974 5f74 7970 6528 7365 6c66 f init_type(self │ │ │ -00055eb0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -00055ec0: 2020 7222 2222 696e 6974 5f74 7970 6528 r"""init_type( │ │ │ -00055ed0: 466c 5f4d 756c 7469 5f42 726f 7773 6572 Fl_Multi_Browser │ │ │ -00055ee0: 2073 656c 662c 2063 6861 7220 2a20 466c self, char * Fl │ │ │ -00055ef0: 5f4d 756c 7469 5f42 726f 7773 6572 2922 _Multi_Browser)" │ │ │ -00055f00: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -00055f10: 6e20 5f66 6c74 6b2e 466c 5f4d 756c 7469 n _fltk.Fl_Multi │ │ │ -00055f20: 5f42 726f 7773 6572 5f69 6e69 745f 7479 _Browser_init_ty │ │ │ -00055f30: 7065 2873 656c 662c 202a 6172 6773 290a pe(self, *args). │ │ │ -00055f40: 2020 2020 5f5f 7377 6967 5f64 6573 7472 __swig_destr │ │ │ -00055f50: 6f79 5f5f 203d 205f 666c 746b 2e64 656c oy__ = _fltk.del │ │ │ -00055f60: 6574 655f 466c 5f4d 756c 7469 5f42 726f ete_Fl_Multi_Bro │ │ │ -00055f70: 7773 6572 0a20 2020 2064 6566 205f 5f64 wser. def __d │ │ │ -00055f80: 6973 6f77 6e5f 5f28 7365 6c66 293a 0a20 isown__(self):. │ │ │ -00055f90: 2020 2020 2020 2073 656c 662e 7468 6973 self.this │ │ │ -00055fa0: 2e64 6973 6f77 6e28 290a 2020 2020 2020 .disown(). │ │ │ -00055fb0: 2020 5f66 6c74 6b2e 6469 736f 776e 5f46 _fltk.disown_F │ │ │ -00055fc0: 6c5f 4d75 6c74 695f 4272 6f77 7365 7228 l_Multi_Browser( │ │ │ -00055fd0: 7365 6c66 290a 2020 2020 2020 2020 7265 self). re │ │ │ -00055fe0: 7475 726e 2077 6561 6b72 6566 2e70 726f turn weakref.pro │ │ │ -00055ff0: 7879 2873 656c 6629 0a0a 2020 2020 6465 xy(self).. de │ │ │ -00056000: 6620 6472 6177 2873 656c 662c 202a 6172 f draw(self, *ar │ │ │ -00056010: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -00056020: 2264 7261 7728 466c 5f4d 756c 7469 5f42 "draw(Fl_Multi_B │ │ │ -00056030: 726f 7773 6572 2073 656c 6629 2222 220a rowser self)""". │ │ │ -00056040: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00056050: 666c 746b 2e46 6c5f 4d75 6c74 695f 4272 fltk.Fl_Multi_Br │ │ │ -00056060: 6f77 7365 725f 6472 6177 2873 656c 662c owser_draw(self, │ │ │ -00056070: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00056080: 2069 7465 6d5f 6669 7273 7428 7365 6c66 item_first(self │ │ │ -00056090: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -000560a0: 2020 7222 2222 6974 656d 5f66 6972 7374 r"""item_first │ │ │ -000560b0: 2846 6c5f 4d75 6c74 695f 4272 6f77 7365 (Fl_Multi_Browse │ │ │ -000560c0: 7220 7365 6c66 2920 2d3e 2076 6f69 6420 r self) -> void │ │ │ -000560d0: 2a22 2222 0a20 2020 2020 2020 2072 6574 *""". ret │ │ │ -000560e0: 7572 6e20 5f66 6c74 6b2e 466c 5f4d 756c urn _fltk.Fl_Mul │ │ │ -000560f0: 7469 5f42 726f 7773 6572 5f69 7465 6d5f ti_Browser_item_ │ │ │ -00056100: 6669 7273 7428 7365 6c66 2c20 2a61 7267 first(self, *arg │ │ │ -00056110: 7329 0a0a 2020 2020 6465 6620 6974 656d s).. def item │ │ │ -00056120: 5f6e 6578 7428 7365 6c66 2c20 2a61 7267 _next(self, *arg │ │ │ -00056130: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -00056140: 6974 656d 5f6e 6578 7428 466c 5f4d 756c item_next(Fl_Mul │ │ │ -00056150: 7469 5f42 726f 7773 6572 2073 656c 662c ti_Browser self, │ │ │ -00056160: 2076 6f69 6420 2a20 6974 656d 2920 2d3e void * item) -> │ │ │ -00056170: 2076 6f69 6420 2a22 2222 0a20 2020 2020 void *""". │ │ │ -00056180: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00056190: 466c 5f4d 756c 7469 5f42 726f 7773 6572 Fl_Multi_Browser │ │ │ -000561a0: 5f69 7465 6d5f 6e65 7874 2873 656c 662c _item_next(self, │ │ │ -000561b0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -000561c0: 2069 7465 6d5f 7072 6576 2873 656c 662c item_prev(self, │ │ │ -000561d0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -000561e0: 2072 2222 2269 7465 6d5f 7072 6576 2846 r"""item_prev(F │ │ │ -000561f0: 6c5f 4d75 6c74 695f 4272 6f77 7365 7220 l_Multi_Browser │ │ │ -00056200: 7365 6c66 2c20 766f 6964 202a 2069 7465 self, void * ite │ │ │ -00056210: 6d29 202d 3e20 766f 6964 202a 2222 220a m) -> void *""". │ │ │ -00056220: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00056230: 666c 746b 2e46 6c5f 4d75 6c74 695f 4272 fltk.Fl_Multi_Br │ │ │ -00056240: 6f77 7365 725f 6974 656d 5f70 7265 7628 owser_item_prev( │ │ │ -00056250: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -00056260: 2020 6465 6620 6974 656d 5f6c 6173 7428 def item_last( │ │ │ -00056270: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -00056280: 2020 2020 2020 7222 2222 6974 656d 5f6c r"""item_l │ │ │ -00056290: 6173 7428 466c 5f4d 756c 7469 5f42 726f ast(Fl_Multi_Bro │ │ │ -000562a0: 7773 6572 2073 656c 6629 202d 3e20 766f wser self) -> vo │ │ │ -000562b0: 6964 202a 2222 220a 2020 2020 2020 2020 id *""". │ │ │ -000562c0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -000562d0: 4d75 6c74 695f 4272 6f77 7365 725f 6974 Multi_Browser_it │ │ │ -000562e0: 656d 5f6c 6173 7428 7365 6c66 2c20 2a61 em_last(self, *a │ │ │ -000562f0: 7267 7329 0a0a 2020 2020 6465 6620 6974 rgs).. def it │ │ │ -00056300: 656d 5f68 6569 6768 7428 7365 6c66 2c20 em_height(self, │ │ │ -00056310: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00056320: 7222 2222 6974 656d 5f68 6569 6768 7428 r"""item_height( │ │ │ -00056330: 466c 5f4d 756c 7469 5f42 726f 7773 6572 Fl_Multi_Browser │ │ │ -00056340: 2073 656c 662c 2076 6f69 6420 2a20 6974 self, void * it │ │ │ -00056350: 656d 2920 2d3e 2069 6e74 2222 220a 2020 em) -> int""". │ │ │ -00056360: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00056370: 746b 2e46 6c5f 4d75 6c74 695f 4272 6f77 tk.Fl_Multi_Brow │ │ │ -00056380: 7365 725f 6974 656d 5f68 6569 6768 7428 ser_item_height( │ │ │ -00056390: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -000563a0: 2020 6465 6620 6974 656d 5f77 6964 7468 def item_width │ │ │ -000563b0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -000563c0: 2020 2020 2020 2072 2222 2269 7465 6d5f r"""item_ │ │ │ -000563d0: 7769 6474 6828 466c 5f4d 756c 7469 5f42 width(Fl_Multi_B │ │ │ -000563e0: 726f 7773 6572 2073 656c 662c 2076 6f69 rowser self, voi │ │ │ -000563f0: 6420 2a20 6974 656d 2920 2d3e 2069 6e74 d * item) -> int │ │ │ -00056400: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -00056410: 726e 205f 666c 746b 2e46 6c5f 4d75 6c74 rn _fltk.Fl_Mult │ │ │ -00056420: 695f 4272 6f77 7365 725f 6974 656d 5f77 i_Browser_item_w │ │ │ -00056430: 6964 7468 2873 656c 662c 202a 6172 6773 idth(self, *args │ │ │ -00056440: 290a 0a20 2020 2064 6566 2069 7465 6d5f ).. def item_ │ │ │ -00056450: 7175 6963 6b5f 6865 6967 6874 2873 656c quick_height(sel │ │ │ -00056460: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00056470: 2020 2072 2222 2269 7465 6d5f 7175 6963 r"""item_quic │ │ │ -00056480: 6b5f 6865 6967 6874 2846 6c5f 4d75 6c74 k_height(Fl_Mult │ │ │ -00056490: 695f 4272 6f77 7365 7220 7365 6c66 2c20 i_Browser self, │ │ │ -000564a0: 766f 6964 202a 2069 7465 6d29 202d 3e20 void * item) -> │ │ │ -000564b0: 696e 7422 2222 0a20 2020 2020 2020 2072 int""". r │ │ │ -000564c0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f4d eturn _fltk.Fl_M │ │ │ -000564d0: 756c 7469 5f42 726f 7773 6572 5f69 7465 ulti_Browser_ite │ │ │ -000564e0: 6d5f 7175 6963 6b5f 6865 6967 6874 2873 m_quick_height(s │ │ │ -000564f0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -00056500: 2064 6566 2069 7465 6d5f 6472 6177 2873 def item_draw(s │ │ │ -00056510: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00056520: 2020 2020 2072 2222 2269 7465 6d5f 6472 r"""item_dr │ │ │ -00056530: 6177 2846 6c5f 4d75 6c74 695f 4272 6f77 aw(Fl_Multi_Brow │ │ │ -00056540: 7365 7220 7365 6c66 2c20 766f 6964 202a ser self, void * │ │ │ -00056550: 2069 7465 6d2c 2069 6e74 2058 2c20 696e item, int X, in │ │ │ -00056560: 7420 592c 2069 6e74 2057 2c20 696e 7420 t Y, int W, int │ │ │ -00056570: 4829 2222 220a 2020 2020 2020 2020 7265 H)""". re │ │ │ -00056580: 7475 726e 205f 666c 746b 2e46 6c5f 4d75 turn _fltk.Fl_Mu │ │ │ -00056590: 6c74 695f 4272 6f77 7365 725f 6974 656d lti_Browser_item │ │ │ -000565a0: 5f64 7261 7728 7365 6c66 2c20 2a61 7267 _draw(self, *arg │ │ │ -000565b0: 7329 0a0a 2020 2020 6465 6620 6974 656d s).. def item │ │ │ -000565c0: 5f74 6578 7428 7365 6c66 2c20 2a61 7267 _text(self, *arg │ │ │ -000565d0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -000565e0: 6974 656d 5f74 6578 7428 466c 5f4d 756c item_text(Fl_Mul │ │ │ -000565f0: 7469 5f42 726f 7773 6572 2073 656c 662c ti_Browser self, │ │ │ -00056600: 2076 6f69 6420 2a20 6974 656d 2920 2d3e void * item) -> │ │ │ -00056610: 2063 6861 7220 636f 6e73 7420 2a22 2222 char const *""" │ │ │ -00056620: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00056630: 5f66 6c74 6b2e 466c 5f4d 756c 7469 5f42 _fltk.Fl_Multi_B │ │ │ -00056640: 726f 7773 6572 5f69 7465 6d5f 7465 7874 rowser_item_text │ │ │ -00056650: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -00056660: 2020 2064 6566 2069 7465 6d5f 7377 6170 def item_swap │ │ │ -00056670: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -00056680: 2020 2020 2020 2072 2222 2269 7465 6d5f r"""item_ │ │ │ -00056690: 7377 6170 2846 6c5f 4d75 6c74 695f 4272 swap(Fl_Multi_Br │ │ │ -000566a0: 6f77 7365 7220 7365 6c66 2c20 766f 6964 owser self, void │ │ │ -000566b0: 202a 2061 2c20 766f 6964 202a 2062 2922 * a, void * b)" │ │ │ -000566c0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -000566d0: 6e20 5f66 6c74 6b2e 466c 5f4d 756c 7469 n _fltk.Fl_Multi │ │ │ -000566e0: 5f42 726f 7773 6572 5f69 7465 6d5f 7377 _Browser_item_sw │ │ │ -000566f0: 6170 2873 656c 662c 202a 6172 6773 290a ap(self, *args). │ │ │ -00056700: 0a20 2020 2064 6566 2069 7465 6d5f 6174 . def item_at │ │ │ -00056710: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -00056720: 2020 2020 2020 2072 2222 2269 7465 6d5f r"""item_ │ │ │ -00056730: 6174 2846 6c5f 4d75 6c74 695f 4272 6f77 at(Fl_Multi_Brow │ │ │ -00056740: 7365 7220 7365 6c66 2c20 696e 7420 6c69 ser self, int li │ │ │ -00056750: 6e65 2920 2d3e 2076 6f69 6420 2a22 2222 ne) -> void *""" │ │ │ -00056760: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00056770: 5f66 6c74 6b2e 466c 5f4d 756c 7469 5f42 _fltk.Fl_Multi_B │ │ │ -00056780: 726f 7773 6572 5f69 7465 6d5f 6174 2873 rowser_item_at(s │ │ │ -00056790: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -000567a0: 2064 6566 2066 756c 6c5f 7769 6474 6828 def full_width( │ │ │ -000567b0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -000567c0: 2020 2020 2020 7222 2222 6675 6c6c 5f77 r"""full_w │ │ │ -000567d0: 6964 7468 2846 6c5f 4d75 6c74 695f 4272 idth(Fl_Multi_Br │ │ │ -000567e0: 6f77 7365 7220 7365 6c66 2920 2d3e 2069 owser self) -> i │ │ │ -000567f0: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ -00056800: 7475 726e 205f 666c 746b 2e46 6c5f 4d75 turn _fltk.Fl_Mu │ │ │ -00056810: 6c74 695f 4272 6f77 7365 725f 6675 6c6c lti_Browser_full │ │ │ -00056820: 5f77 6964 7468 2873 656c 662c 202a 6172 _width(self, *ar │ │ │ -00056830: 6773 290a 0a20 2020 2064 6566 2066 756c gs).. def ful │ │ │ -00056840: 6c5f 6865 6967 6874 2873 656c 662c 202a l_height(self, * │ │ │ -00056850: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00056860: 2222 2266 756c 6c5f 6865 6967 6874 2846 """full_height(F │ │ │ -00056870: 6c5f 4d75 6c74 695f 4272 6f77 7365 7220 l_Multi_Browser │ │ │ -00056880: 7365 6c66 2920 2d3e 2069 6e74 2222 220a self) -> int""". │ │ │ -00056890: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -000568a0: 666c 746b 2e46 6c5f 4d75 6c74 695f 4272 fltk.Fl_Multi_Br │ │ │ -000568b0: 6f77 7365 725f 6675 6c6c 5f68 6569 6768 owser_full_heigh │ │ │ -000568c0: 7428 7365 6c66 2c20 2a61 7267 7329 0a0a t(self, *args).. │ │ │ -000568d0: 2020 2020 6465 6620 696e 6372 5f68 6569 def incr_hei │ │ │ -000568e0: 6768 7428 7365 6c66 2c20 2a61 7267 7329 ght(self, *args) │ │ │ -000568f0: 3a0a 2020 2020 2020 2020 7222 2222 696e :. r"""in │ │ │ -00056900: 6372 5f68 6569 6768 7428 466c 5f4d 756c cr_height(Fl_Mul │ │ │ -00056910: 7469 5f42 726f 7773 6572 2073 656c 6629 ti_Browser self) │ │ │ -00056920: 202d 3e20 696e 7422 2222 0a20 2020 2020 -> int""". │ │ │ -00056930: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00056940: 466c 5f4d 756c 7469 5f42 726f 7773 6572 Fl_Multi_Browser │ │ │ -00056950: 5f69 6e63 725f 6865 6967 6874 2873 656c _incr_height(sel │ │ │ -00056960: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -00056970: 6566 2069 7465 6d5f 7365 6c65 6374 2873 ef item_select(s │ │ │ -00056980: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00056990: 2020 2020 2072 2222 2269 7465 6d5f 7365 r"""item_se │ │ │ -000569a0: 6c65 6374 2846 6c5f 4d75 6c74 695f 4272 lect(Fl_Multi_Br │ │ │ -000569b0: 6f77 7365 7220 7365 6c66 2c20 766f 6964 owser self, void │ │ │ -000569c0: 202a 2069 7465 6d2c 2069 6e74 2076 616c * item, int val │ │ │ -000569d0: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ -000569e0: 7572 6e20 5f66 6c74 6b2e 466c 5f4d 756c urn _fltk.Fl_Mul │ │ │ -000569f0: 7469 5f42 726f 7773 6572 5f69 7465 6d5f ti_Browser_item_ │ │ │ -00056a00: 7365 6c65 6374 2873 656c 662c 202a 6172 select(self, *ar │ │ │ -00056a10: 6773 290a 0a20 2020 2064 6566 2069 7465 gs).. def ite │ │ │ -00056a20: 6d5f 7365 6c65 6374 6564 2873 656c 662c m_selected(self, │ │ │ -00056a30: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00056a40: 2072 2222 2269 7465 6d5f 7365 6c65 6374 r"""item_select │ │ │ -00056a50: 6564 2846 6c5f 4d75 6c74 695f 4272 6f77 ed(Fl_Multi_Brow │ │ │ -00056a60: 7365 7220 7365 6c66 2c20 766f 6964 202a ser self, void * │ │ │ -00056a70: 2069 7465 6d29 202d 3e20 696e 7422 2222 item) -> int""" │ │ │ -00056a80: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00056a90: 5f66 6c74 6b2e 466c 5f4d 756c 7469 5f42 _fltk.Fl_Multi_B │ │ │ -00056aa0: 726f 7773 6572 5f69 7465 6d5f 7365 6c65 rowser_item_sele │ │ │ -00056ab0: 6374 6564 2873 656c 662c 202a 6172 6773 cted(self, *args │ │ │ -00056ac0: 290a 0a23 2052 6567 6973 7465 7220 466c )..# Register Fl │ │ │ -00056ad0: 5f4d 756c 7469 5f42 726f 7773 6572 2069 _Multi_Browser i │ │ │ -00056ae0: 6e20 5f66 6c74 6b3a 0a5f 666c 746b 2e46 n _fltk:._fltk.F │ │ │ -00056af0: 6c5f 4d75 6c74 695f 4272 6f77 7365 725f l_Multi_Browser_ │ │ │ -00056b00: 7377 6967 7265 6769 7374 6572 2846 6c5f swigregister(Fl_ │ │ │ -00056b10: 4d75 6c74 695f 4272 6f77 7365 7229 0a63 Multi_Browser).c │ │ │ -00056b20: 6c61 7373 2046 6c5f 4d75 6c74 695f 4c61 lass Fl_Multi_La │ │ │ -00056b30: 6265 6c28 6f62 6a65 6374 293a 0a20 2020 bel(object):. │ │ │ -00056b40: 2072 2222 2250 726f 7879 206f 6620 432b r"""Proxy of C+ │ │ │ -00056b50: 2b20 466c 5f4d 756c 7469 5f4c 6162 656c + Fl_Multi_Label │ │ │ -00056b60: 2063 6c61 7373 2e22 2222 0a0a 2020 2020 class.""".. │ │ │ -00056b70: 7468 6973 6f77 6e20 3d20 7072 6f70 6572 thisown = proper │ │ │ -00056b80: 7479 286c 616d 6264 6120 783a 2078 2e74 ty(lambda x: x.t │ │ │ -00056b90: 6869 732e 6f77 6e28 292c 206c 616d 6264 his.own(), lambd │ │ │ -00056ba0: 6120 782c 2076 3a20 782e 7468 6973 2e6f a x, v: x.this.o │ │ │ -00056bb0: 776e 2876 292c 2064 6f63 3d22 5468 6520 wn(v), doc="The │ │ │ -00056bc0: 6d65 6d62 6572 7368 6970 2066 6c61 6722 membership flag" │ │ │ -00056bd0: 290a 2020 2020 5f5f 7265 7072 5f5f 203d ). __repr__ = │ │ │ -00056be0: 205f 7377 6967 5f72 6570 720a 0a20 2020 _swig_repr.. │ │ │ -00056bf0: 2064 6566 206c 6162 656c 2873 656c 662c def label(self, │ │ │ -00056c00: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00056c10: 2072 2222 220a 2020 2020 2020 2020 6c61 r""". la │ │ │ -00056c20: 6265 6c28 466c 5f4d 756c 7469 5f4c 6162 bel(Fl_Multi_Lab │ │ │ -00056c30: 656c 2073 656c 662c 2046 6c5f 5769 6467 el self, Fl_Widg │ │ │ -00056c40: 6574 2061 7267 3229 0a20 2020 2020 2020 et arg2). │ │ │ -00056c50: 206c 6162 656c 2846 6c5f 4d75 6c74 695f label(Fl_Multi_ │ │ │ -00056c60: 4c61 6265 6c20 7365 6c66 2c20 466c 5f4d Label self, Fl_M │ │ │ -00056c70: 656e 755f 4974 656d 2061 7267 3229 0a20 enu_Item arg2). │ │ │ -00056c80: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ -00056c90: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00056ca0: 466c 5f4d 756c 7469 5f4c 6162 656c 5f6c Fl_Multi_Label_l │ │ │ -00056cb0: 6162 656c 2873 656c 662c 202a 6172 6773 abel(self, *args │ │ │ -00056cc0: 290a 0a20 2020 2064 6566 205f 5f69 6e69 ).. def __ini │ │ │ -00056cd0: 745f 5f28 7365 6c66 2c20 2a61 7267 7329 t__(self, *args) │ │ │ -00056ce0: 3a0a 2020 2020 2020 2020 7222 2222 5f5f :. r"""__ │ │ │ -00056cf0: 696e 6974 5f5f 2846 6c5f 4d75 6c74 695f init__(Fl_Multi_ │ │ │ -00056d00: 4c61 6265 6c20 7365 6c66 2920 2d3e 2046 Label self) -> F │ │ │ -00056d10: 6c5f 4d75 6c74 695f 4c61 6265 6c22 2222 l_Multi_Label""" │ │ │ -00056d20: 0a20 2020 2020 2020 205f 666c 746b 2e46 . _fltk.F │ │ │ -00056d30: 6c5f 4d75 6c74 695f 4c61 6265 6c5f 7377 l_Multi_Label_sw │ │ │ -00056d40: 6967 696e 6974 2873 656c 662c 205f 666c iginit(self, _fl │ │ │ -00056d50: 746b 2e6e 6577 5f46 6c5f 4d75 6c74 695f tk.new_Fl_Multi_ │ │ │ -00056d60: 4c61 6265 6c28 2a61 7267 7329 290a 2020 Label(*args)). │ │ │ -00056d70: 2020 5f5f 7377 6967 5f64 6573 7472 6f79 __swig_destroy │ │ │ -00056d80: 5f5f 203d 205f 666c 746b 2e64 656c 6574 __ = _fltk.delet │ │ │ -00056d90: 655f 466c 5f4d 756c 7469 5f4c 6162 656c e_Fl_Multi_Label │ │ │ -00056da0: 0a0a 2320 5265 6769 7374 6572 2046 6c5f ..# Register Fl_ │ │ │ -00056db0: 4d75 6c74 695f 4c61 6265 6c20 696e 205f Multi_Label in _ │ │ │ -00056dc0: 666c 746b 3a0a 5f66 6c74 6b2e 466c 5f4d fltk:._fltk.Fl_M │ │ │ -00056dd0: 756c 7469 5f4c 6162 656c 5f73 7769 6772 ulti_Label_swigr │ │ │ -00056de0: 6567 6973 7465 7228 466c 5f4d 756c 7469 egister(Fl_Multi │ │ │ -00056df0: 5f4c 6162 656c 290a 636c 6173 7320 466c _Label).class Fl │ │ │ -00056e00: 5f4e 6963 655f 536c 6964 6572 2846 6c5f _Nice_Slider(Fl_ │ │ │ -00056e10: 536c 6964 6572 293a 0a20 2020 2072 2222 Slider):. r"" │ │ │ -00056e20: 220a 0a20 2020 2054 6865 2046 6c5f 4e69 ".. The Fl_Ni │ │ │ -00056e30: 6365 5f53 6c69 6465 7220 7769 6467 6574 ce_Slider widget │ │ │ -00056e40: 2063 6f6e 7461 696e 7320 6120 736c 6964 contains a slid │ │ │ -00056e50: 696e 6720 6b6e 6f62 2069 6e73 6964 6520 ing knob inside │ │ │ -00056e60: 6120 626f 782e 2049 7420 6973 200a 2020 a box. It is . │ │ │ -00056e70: 2020 6f66 7465 6e20 7573 6564 2061 7320 often used as │ │ │ -00056e80: 6120 7363 726f 6c6c 6261 722e 204d 6f76 a scrollbar. Mov │ │ │ -00056e90: 696e 6720 7468 6520 626f 7820 616c 6c20 ing the box all │ │ │ -00056ea0: 7468 6520 7761 7920 746f 2074 6865 2074 the way to the t │ │ │ -00056eb0: 6f70 2f6c 6566 7420 7365 7473 200a 2020 op/left sets . │ │ │ -00056ec0: 2020 6974 2074 6f20 7468 6520 6d69 6e69 it to the mini │ │ │ -00056ed0: 6d75 6d28 292c 2061 6e64 2074 6f20 7468 mum(), and to th │ │ │ -00056ee0: 6520 626f 7474 6f6d 2f72 6967 6874 2074 e bottom/right t │ │ │ -00056ef0: 6f20 7468 6520 6d61 7869 6d75 6d28 292e o the maximum(). │ │ │ -00056f00: 2054 6865 206d 696e 696d 756d 2829 200a The minimum() . │ │ │ -00056f10: 2020 2020 6d61 7920 6265 2067 7265 6174 may be great │ │ │ -00056f20: 6572 2074 6861 6e20 7468 6520 6d61 7869 er than the maxi │ │ │ -00056f30: 6d75 6d28 2920 746f 2072 6576 6572 7365 mum() to reverse │ │ │ -00056f40: 2074 6865 2073 6c69 6465 7220 6469 7265 the slider dire │ │ │ -00056f50: 6374 696f 6e2e 0a0a 2020 2020 2222 220a ction... """. │ │ │ -00056f60: 0a20 2020 2074 6869 736f 776e 203d 2070 . thisown = p │ │ │ -00056f70: 726f 7065 7274 7928 6c61 6d62 6461 2078 roperty(lambda x │ │ │ -00056f80: 3a20 782e 7468 6973 2e6f 776e 2829 2c20 : x.this.own(), │ │ │ -00056f90: 6c61 6d62 6461 2078 2c20 763a 2078 2e74 lambda x, v: x.t │ │ │ -00056fa0: 6869 732e 6f77 6e28 7629 2c20 646f 633d his.own(v), doc= │ │ │ -00056fb0: 2254 6865 206d 656d 6265 7273 6869 7020 "The membership │ │ │ -00056fc0: 666c 6167 2229 0a20 2020 205f 5f72 6570 flag"). __rep │ │ │ -00056fd0: 725f 5f20 3d20 5f73 7769 675f 7265 7072 r__ = _swig_repr │ │ │ -00056fe0: 0a0a 2020 2020 6465 6620 5f5f 696e 6974 .. def __init │ │ │ -00056ff0: 5f5f 2873 656c 662c 202a 6172 6773 293a __(self, *args): │ │ │ -00057000: 0a20 2020 2020 2020 2072 2222 225f 5f69 . r"""__i │ │ │ -00057010: 6e69 745f 5f28 466c 5f4e 6963 655f 536c nit__(Fl_Nice_Sl │ │ │ -00057020: 6964 6572 2073 656c 662c 2069 6e74 2058 ider self, int X │ │ │ -00057030: 2c20 696e 7420 592c 2069 6e74 2057 2c20 , int Y, int W, │ │ │ -00057040: 696e 7420 482c 2063 6861 7220 636f 6e73 int H, char cons │ │ │ -00057050: 7420 2a20 4c3d 4e6f 6e65 2920 2d3e 2046 t * L=None) -> F │ │ │ -00057060: 6c5f 4e69 6365 5f53 6c69 6465 7222 2222 l_Nice_Slider""" │ │ │ -00057070: 0a20 2020 2020 2020 2069 6620 7365 6c66 . if self │ │ │ -00057080: 2e5f 5f63 6c61 7373 5f5f 203d 3d20 466c .__class__ == Fl │ │ │ -00057090: 5f4e 6963 655f 536c 6964 6572 3a0a 2020 _Nice_Slider:. │ │ │ -000570a0: 2020 2020 2020 2020 2020 5f73 656c 6620 _self │ │ │ -000570b0: 3d20 4e6f 6e65 0a20 2020 2020 2020 2065 = None. e │ │ │ -000570c0: 6c73 653a 0a20 2020 2020 2020 2020 2020 lse:. │ │ │ -000570d0: 205f 7365 6c66 203d 2073 656c 660a 2020 _self = self. │ │ │ -000570e0: 2020 2020 2020 5f66 6c74 6b2e 466c 5f4e _fltk.Fl_N │ │ │ -000570f0: 6963 655f 536c 6964 6572 5f73 7769 6769 ice_Slider_swigi │ │ │ -00057100: 6e69 7428 7365 6c66 2c20 5f66 6c74 6b2e nit(self, _fltk. │ │ │ -00057110: 6e65 775f 466c 5f4e 6963 655f 536c 6964 new_Fl_Nice_Slid │ │ │ -00057120: 6572 285f 7365 6c66 2c20 2a61 7267 7329 er(_self, *args) │ │ │ -00057130: 290a 0a20 2020 2020 2020 2069 6620 6c65 ).. if le │ │ │ -00057140: 6e28 6172 6773 2920 3d3d 2035 3a20 2020 n(args) == 5: │ │ │ -00057150: 2020 2020 2020 200a 2020 2020 2020 2020 . │ │ │ -00057160: 2372 6574 6169 6e20 7265 6665 7265 6e63 #retain referenc │ │ │ -00057170: 6520 746f 206c 6162 656c 0a20 2020 2020 e to label. │ │ │ -00057180: 2020 2020 2020 2073 656c 662e 6d79 5f6c self.my_l │ │ │ -00057190: 6162 656c 203d 2061 7267 735b 2d31 5d0a abel = args[-1]. │ │ │ -000571a0: 2020 2020 2020 2020 6966 2073 656c 662e if self. │ │ │ -000571b0: 7061 7265 6e74 2829 2021 3d20 4e6f 6e65 parent() != None │ │ │ -000571c0: 3a20 2020 0a20 2020 2020 2020 2023 6465 : . #de │ │ │ -000571d0: 6c65 6761 7465 206f 776e 6572 7368 6970 legate ownership │ │ │ -000571e0: 2074 6f20 432b 2b0a 2020 2020 2020 2020 to C++. │ │ │ -000571f0: 2020 2020 7365 6c66 2e74 6869 732e 6469 self.this.di │ │ │ -00057200: 736f 776e 2829 0a20 2020 2020 2020 2073 sown(). s │ │ │ -00057210: 656c 662e 696e 6974 5f74 7970 6528 2246 elf.init_type("F │ │ │ -00057220: 6c5f 4e69 6365 5f53 6c69 6465 7222 290a l_Nice_Slider"). │ │ │ -00057230: 2020 2020 2020 2020 2370 7269 6e74 2822 #print(" │ │ │ -00057240: 4164 6469 6e67 2074 7970 653a 2022 2c20 Adding type: ", │ │ │ -00057250: 466c 5f4e 6963 655f 536c 6964 6572 290a Fl_Nice_Slider). │ │ │ -00057260: 0a0a 0a0a 2020 2020 6465 6620 696e 6974 .... def init │ │ │ -00057270: 5f74 7970 6528 7365 6c66 2c20 2a61 7267 _type(self, *arg │ │ │ -00057280: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -00057290: 696e 6974 5f74 7970 6528 466c 5f4e 6963 init_type(Fl_Nic │ │ │ -000572a0: 655f 536c 6964 6572 2073 656c 662c 2063 e_Slider self, c │ │ │ -000572b0: 6861 7220 2a20 466c 5f4e 6963 655f 536c har * Fl_Nice_Sl │ │ │ -000572c0: 6964 6572 2922 2222 0a20 2020 2020 2020 ider)""". │ │ │ -000572d0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -000572e0: 5f4e 6963 655f 536c 6964 6572 5f69 6e69 _Nice_Slider_ini │ │ │ -000572f0: 745f 7479 7065 2873 656c 662c 202a 6172 t_type(self, *ar │ │ │ -00057300: 6773 290a 2020 2020 5f5f 7377 6967 5f64 gs). __swig_d │ │ │ -00057310: 6573 7472 6f79 5f5f 203d 205f 666c 746b estroy__ = _fltk │ │ │ -00057320: 2e64 656c 6574 655f 466c 5f4e 6963 655f .delete_Fl_Nice_ │ │ │ -00057330: 536c 6964 6572 0a20 2020 2064 6566 205f Slider. def _ │ │ │ -00057340: 5f64 6973 6f77 6e5f 5f28 7365 6c66 293a _disown__(self): │ │ │ -00057350: 0a20 2020 2020 2020 2073 656c 662e 7468 . self.th │ │ │ -00057360: 6973 2e64 6973 6f77 6e28 290a 2020 2020 is.disown(). │ │ │ -00057370: 2020 2020 5f66 6c74 6b2e 6469 736f 776e _fltk.disown │ │ │ -00057380: 5f46 6c5f 4e69 6365 5f53 6c69 6465 7228 _Fl_Nice_Slider( │ │ │ -00057390: 7365 6c66 290a 2020 2020 2020 2020 7265 self). re │ │ │ -000573a0: 7475 726e 2077 6561 6b72 6566 2e70 726f turn weakref.pro │ │ │ -000573b0: 7879 2873 656c 6629 0a0a 2020 2020 6465 xy(self).. de │ │ │ -000573c0: 6620 6472 6177 2873 656c 662c 202a 6172 f draw(self, *ar │ │ │ -000573d0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -000573e0: 2264 7261 7728 466c 5f4e 6963 655f 536c "draw(Fl_Nice_Sl │ │ │ -000573f0: 6964 6572 2073 656c 6629 2222 220a 2020 ider self)""". │ │ │ -00057400: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00057410: 746b 2e46 6c5f 4e69 6365 5f53 6c69 6465 tk.Fl_Nice_Slide │ │ │ -00057420: 725f 6472 6177 2873 656c 662c 202a 6172 r_draw(self, *ar │ │ │ -00057430: 6773 290a 0a23 2052 6567 6973 7465 7220 gs)..# Register │ │ │ -00057440: 466c 5f4e 6963 655f 536c 6964 6572 2069 Fl_Nice_Slider i │ │ │ -00057450: 6e20 5f66 6c74 6b3a 0a5f 666c 746b 2e46 n _fltk:._fltk.F │ │ │ -00057460: 6c5f 4e69 6365 5f53 6c69 6465 725f 7377 l_Nice_Slider_sw │ │ │ -00057470: 6967 7265 6769 7374 6572 2846 6c5f 4e69 igregister(Fl_Ni │ │ │ -00057480: 6365 5f53 6c69 6465 7229 0a63 6c61 7373 ce_Slider).class │ │ │ -00057490: 2046 6c5f 4e61 7469 7665 5f46 696c 655f Fl_Native_File_ │ │ │ -000574a0: 4368 6f6f 7365 7228 6f62 6a65 6374 293a Chooser(object): │ │ │ -000574b0: 0a20 2020 2072 2222 220a 0a0a 0a20 2020 . r""".... │ │ │ -000574c0: 2022 2222 0a0a 2020 2020 7468 6973 6f77 """.. thisow │ │ │ -000574d0: 6e20 3d20 7072 6f70 6572 7479 286c 616d n = property(lam │ │ │ -000574e0: 6264 6120 783a 2078 2e74 6869 732e 6f77 bda x: x.this.ow │ │ │ -000574f0: 6e28 292c 206c 616d 6264 6120 782c 2076 n(), lambda x, v │ │ │ -00057500: 3a20 782e 7468 6973 2e6f 776e 2876 292c : x.this.own(v), │ │ │ -00057510: 2064 6f63 3d22 5468 6520 6d65 6d62 6572 doc="The member │ │ │ -00057520: 7368 6970 2066 6c61 6722 290a 2020 2020 ship flag"). │ │ │ -00057530: 5f5f 7265 7072 5f5f 203d 205f 7377 6967 __repr__ = _swig │ │ │ -00057540: 5f72 6570 720a 2020 2020 4252 4f57 5345 _repr. BROWSE │ │ │ -00057550: 5f46 494c 4520 3d20 5f66 6c74 6b2e 466c _FILE = _fltk.Fl │ │ │ -00057560: 5f4e 6174 6976 655f 4669 6c65 5f43 686f _Native_File_Cho │ │ │ -00057570: 6f73 6572 5f42 524f 5753 455f 4649 4c45 oser_BROWSE_FILE │ │ │ -00057580: 0a20 2020 200a 2020 2020 4252 4f57 5345 . . BROWSE │ │ │ -00057590: 5f44 4952 4543 544f 5259 203d 205f 666c _DIRECTORY = _fl │ │ │ -000575a0: 746b 2e46 6c5f 4e61 7469 7665 5f46 696c tk.Fl_Native_Fil │ │ │ -000575b0: 655f 4368 6f6f 7365 725f 4252 4f57 5345 e_Chooser_BROWSE │ │ │ -000575c0: 5f44 4952 4543 544f 5259 0a20 2020 200a _DIRECTORY. . │ │ │ -000575d0: 2020 2020 4252 4f57 5345 5f4d 554c 5449 BROWSE_MULTI │ │ │ -000575e0: 5f46 494c 4520 3d20 5f66 6c74 6b2e 466c _FILE = _fltk.Fl │ │ │ -000575f0: 5f4e 6174 6976 655f 4669 6c65 5f43 686f _Native_File_Cho │ │ │ -00057600: 6f73 6572 5f42 524f 5753 455f 4d55 4c54 oser_BROWSE_MULT │ │ │ -00057610: 495f 4649 4c45 0a20 2020 200a 2020 2020 I_FILE. . │ │ │ -00057620: 4252 4f57 5345 5f4d 554c 5449 5f44 4952 BROWSE_MULTI_DIR │ │ │ -00057630: 4543 544f 5259 203d 205f 666c 746b 2e46 ECTORY = _fltk.F │ │ │ -00057640: 6c5f 4e61 7469 7665 5f46 696c 655f 4368 l_Native_File_Ch │ │ │ -00057650: 6f6f 7365 725f 4252 4f57 5345 5f4d 554c ooser_BROWSE_MUL │ │ │ -00057660: 5449 5f44 4952 4543 544f 5259 0a20 2020 TI_DIRECTORY. │ │ │ -00057670: 200a 2020 2020 4252 4f57 5345 5f53 4156 . BROWSE_SAV │ │ │ -00057680: 455f 4649 4c45 203d 205f 666c 746b 2e46 E_FILE = _fltk.F │ │ │ -00057690: 6c5f 4e61 7469 7665 5f46 696c 655f 4368 l_Native_File_Ch │ │ │ -000576a0: 6f6f 7365 725f 4252 4f57 5345 5f53 4156 ooser_BROWSE_SAV │ │ │ -000576b0: 455f 4649 4c45 0a20 2020 200a 2020 2020 E_FILE. . │ │ │ -000576c0: 4252 4f57 5345 5f53 4156 455f 4449 5245 BROWSE_SAVE_DIRE │ │ │ -000576d0: 4354 4f52 5920 3d20 5f66 6c74 6b2e 466c CTORY = _fltk.Fl │ │ │ -000576e0: 5f4e 6174 6976 655f 4669 6c65 5f43 686f _Native_File_Cho │ │ │ -000576f0: 6f73 6572 5f42 524f 5753 455f 5341 5645 oser_BROWSE_SAVE │ │ │ -00057700: 5f44 4952 4543 544f 5259 0a20 2020 200a _DIRECTORY. . │ │ │ -00057710: 2020 2020 4e4f 5f4f 5054 494f 4e53 203d NO_OPTIONS = │ │ │ -00057720: 205f 666c 746b 2e46 6c5f 4e61 7469 7665 _fltk.Fl_Native │ │ │ -00057730: 5f46 696c 655f 4368 6f6f 7365 725f 4e4f _File_Chooser_NO │ │ │ -00057740: 5f4f 5054 494f 4e53 0a20 2020 200a 2020 _OPTIONS. . │ │ │ -00057750: 2020 5341 5645 4153 5f43 4f4e 4649 524d SAVEAS_CONFIRM │ │ │ -00057760: 203d 205f 666c 746b 2e46 6c5f 4e61 7469 = _fltk.Fl_Nati │ │ │ -00057770: 7665 5f46 696c 655f 4368 6f6f 7365 725f ve_File_Chooser_ │ │ │ -00057780: 5341 5645 4153 5f43 4f4e 4649 524d 0a20 SAVEAS_CONFIRM. │ │ │ -00057790: 2020 200a 2020 2020 4e45 575f 464f 4c44 . NEW_FOLD │ │ │ -000577a0: 4552 203d 205f 666c 746b 2e46 6c5f 4e61 ER = _fltk.Fl_Na │ │ │ -000577b0: 7469 7665 5f46 696c 655f 4368 6f6f 7365 tive_File_Choose │ │ │ -000577c0: 725f 4e45 575f 464f 4c44 4552 0a20 2020 r_NEW_FOLDER. │ │ │ -000577d0: 200a 2020 2020 5052 4556 4945 5720 3d20 . PREVIEW = │ │ │ -000577e0: 5f66 6c74 6b2e 466c 5f4e 6174 6976 655f _fltk.Fl_Native_ │ │ │ -000577f0: 4669 6c65 5f43 686f 6f73 6572 5f50 5245 File_Chooser_PRE │ │ │ -00057800: 5649 4557 0a20 2020 200a 2020 2020 5553 VIEW. . US │ │ │ -00057810: 455f 4649 4c54 4552 5f45 5854 203d 205f E_FILTER_EXT = _ │ │ │ -00057820: 666c 746b 2e46 6c5f 4e61 7469 7665 5f46 fltk.Fl_Native_F │ │ │ -00057830: 696c 655f 4368 6f6f 7365 725f 5553 455f ile_Chooser_USE_ │ │ │ -00057840: 4649 4c54 4552 5f45 5854 0a20 2020 200a FILTER_EXT. . │ │ │ -00057850: 0a20 2020 2064 6566 205f 5f69 6e69 745f . def __init_ │ │ │ -00057860: 5f28 7365 6c66 2c20 2a61 7267 7329 3a0a _(self, *args):. │ │ │ -00057870: 2020 2020 2020 2020 7222 2222 5f5f 696e r"""__in │ │ │ -00057880: 6974 5f5f 2846 6c5f 4e61 7469 7665 5f46 it__(Fl_Native_F │ │ │ -00057890: 696c 655f 4368 6f6f 7365 7220 7365 6c66 ile_Chooser self │ │ │ -000578a0: 2c20 696e 7420 7661 6c3d 4252 4f57 5345 , int val=BROWSE │ │ │ -000578b0: 5f46 494c 4529 202d 3e20 466c 5f4e 6174 _FILE) -> Fl_Nat │ │ │ -000578c0: 6976 655f 4669 6c65 5f43 686f 6f73 6572 ive_File_Chooser │ │ │ -000578d0: 2222 220a 2020 2020 2020 2020 5f66 6c74 """. _flt │ │ │ -000578e0: 6b2e 466c 5f4e 6174 6976 655f 4669 6c65 k.Fl_Native_File │ │ │ -000578f0: 5f43 686f 6f73 6572 5f73 7769 6769 6e69 _Chooser_swigini │ │ │ -00057900: 7428 7365 6c66 2c20 5f66 6c74 6b2e 6e65 t(self, _fltk.ne │ │ │ -00057910: 775f 466c 5f4e 6174 6976 655f 4669 6c65 w_Fl_Native_File │ │ │ -00057920: 5f43 686f 6f73 6572 282a 6172 6773 2929 _Chooser(*args)) │ │ │ -00057930: 0a20 2020 205f 5f73 7769 675f 6465 7374 . __swig_dest │ │ │ -00057940: 726f 795f 5f20 3d20 5f66 6c74 6b2e 6465 roy__ = _fltk.de │ │ │ -00057950: 6c65 7465 5f46 6c5f 4e61 7469 7665 5f46 lete_Fl_Native_F │ │ │ -00057960: 696c 655f 4368 6f6f 7365 720a 0a20 2020 ile_Chooser.. │ │ │ -00057970: 2064 6566 2074 7970 6528 7365 6c66 2c20 def type(self, │ │ │ -00057980: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00057990: 7222 2222 0a20 2020 2020 2020 2074 7970 r""". typ │ │ │ -000579a0: 6528 466c 5f4e 6174 6976 655f 4669 6c65 e(Fl_Native_File │ │ │ -000579b0: 5f43 686f 6f73 6572 2073 656c 662c 2069 _Chooser self, i │ │ │ -000579c0: 6e74 2074 290a 2020 2020 2020 2020 7479 nt t). ty │ │ │ -000579d0: 7065 2846 6c5f 4e61 7469 7665 5f46 696c pe(Fl_Native_Fil │ │ │ -000579e0: 655f 4368 6f6f 7365 7220 7365 6c66 2920 e_Chooser self) │ │ │ -000579f0: 2d3e 2069 6e74 0a20 2020 2020 2020 2022 -> int. " │ │ │ -00057a00: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -00057a10: 6e20 5f66 6c74 6b2e 466c 5f4e 6174 6976 n _fltk.Fl_Nativ │ │ │ -00057a20: 655f 4669 6c65 5f43 686f 6f73 6572 5f74 e_File_Chooser_t │ │ │ -00057a30: 7970 6528 7365 6c66 2c20 2a61 7267 7329 ype(self, *args) │ │ │ -00057a40: 0a0a 2020 2020 6465 6620 6f70 7469 6f6e .. def option │ │ │ -00057a50: 7328 7365 6c66 2c20 2a61 7267 7329 3a0a s(self, *args):. │ │ │ -00057a60: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ -00057a70: 2020 2020 206f 7074 696f 6e73 2846 6c5f options(Fl_ │ │ │ -00057a80: 4e61 7469 7665 5f46 696c 655f 4368 6f6f Native_File_Choo │ │ │ -00057a90: 7365 7220 7365 6c66 2c20 696e 7420 6f29 ser self, int o) │ │ │ -00057aa0: 0a20 2020 2020 2020 206f 7074 696f 6e73 . options │ │ │ -00057ab0: 2846 6c5f 4e61 7469 7665 5f46 696c 655f (Fl_Native_File_ │ │ │ -00057ac0: 4368 6f6f 7365 7220 7365 6c66 2920 2d3e Chooser self) -> │ │ │ -00057ad0: 2069 6e74 0a20 2020 2020 2020 2022 2222 int. """ │ │ │ -00057ae0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00057af0: 5f66 6c74 6b2e 466c 5f4e 6174 6976 655f _fltk.Fl_Native_ │ │ │ -00057b00: 4669 6c65 5f43 686f 6f73 6572 5f6f 7074 File_Chooser_opt │ │ │ -00057b10: 696f 6e73 2873 656c 662c 202a 6172 6773 ions(self, *args │ │ │ -00057b20: 290a 0a20 2020 2064 6566 2063 6f75 6e74 ).. def count │ │ │ -00057b30: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -00057b40: 2020 2020 2020 2072 2222 2263 6f75 6e74 r"""count │ │ │ -00057b50: 2846 6c5f 4e61 7469 7665 5f46 696c 655f (Fl_Native_File_ │ │ │ -00057b60: 4368 6f6f 7365 7220 7365 6c66 2920 2d3e Chooser self) -> │ │ │ -00057b70: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ -00057b80: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00057b90: 4e61 7469 7665 5f46 696c 655f 4368 6f6f Native_File_Choo │ │ │ -00057ba0: 7365 725f 636f 756e 7428 7365 6c66 2c20 ser_count(self, │ │ │ -00057bb0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -00057bc0: 6669 6c65 6e61 6d65 2873 656c 662c 202a filename(self, * │ │ │ -00057bd0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00057be0: 2222 220a 2020 2020 2020 2020 6669 6c65 """. file │ │ │ -00057bf0: 6e61 6d65 2846 6c5f 4e61 7469 7665 5f46 name(Fl_Native_F │ │ │ -00057c00: 696c 655f 4368 6f6f 7365 7220 7365 6c66 ile_Chooser self │ │ │ -00057c10: 2920 2d3e 2063 6861 7220 636f 6e73 740a ) -> char const. │ │ │ -00057c20: 2020 2020 2020 2020 6669 6c65 6e61 6d65 filename │ │ │ -00057c30: 2846 6c5f 4e61 7469 7665 5f46 696c 655f (Fl_Native_File_ │ │ │ -00057c40: 4368 6f6f 7365 7220 7365 6c66 2c20 696e Chooser self, in │ │ │ -00057c50: 7420 6929 202d 3e20 6368 6172 2063 6f6e t i) -> char con │ │ │ -00057c60: 7374 202a 0a20 2020 2020 2020 2022 2222 st *. """ │ │ │ -00057c70: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00057c80: 5f66 6c74 6b2e 466c 5f4e 6174 6976 655f _fltk.Fl_Native_ │ │ │ -00057c90: 4669 6c65 5f43 686f 6f73 6572 5f66 696c File_Chooser_fil │ │ │ -00057ca0: 656e 616d 6528 7365 6c66 2c20 2a61 7267 ename(self, *arg │ │ │ -00057cb0: 7329 0a0a 2020 2020 6465 6620 6469 7265 s).. def dire │ │ │ -00057cc0: 6374 6f72 7928 7365 6c66 2c20 2a61 7267 ctory(self, *arg │ │ │ -00057cd0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -00057ce0: 0a20 2020 2020 2020 2064 6972 6563 746f . directo │ │ │ -00057cf0: 7279 2846 6c5f 4e61 7469 7665 5f46 696c ry(Fl_Native_Fil │ │ │ -00057d00: 655f 4368 6f6f 7365 7220 7365 6c66 2c20 e_Chooser self, │ │ │ -00057d10: 6368 6172 2063 6f6e 7374 202a 2076 616c char const * val │ │ │ -00057d20: 290a 2020 2020 2020 2020 6469 7265 6374 ). direct │ │ │ -00057d30: 6f72 7928 466c 5f4e 6174 6976 655f 4669 ory(Fl_Native_Fi │ │ │ -00057d40: 6c65 5f43 686f 6f73 6572 2073 656c 6629 le_Chooser self) │ │ │ -00057d50: 202d 3e20 6368 6172 2063 6f6e 7374 202a -> char const * │ │ │ -00057d60: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ -00057d70: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -00057d80: 6b2e 466c 5f4e 6174 6976 655f 4669 6c65 k.Fl_Native_File │ │ │ -00057d90: 5f43 686f 6f73 6572 5f64 6972 6563 746f _Chooser_directo │ │ │ -00057da0: 7279 2873 656c 662c 202a 6172 6773 290a ry(self, *args). │ │ │ -00057db0: 0a20 2020 2064 6566 2074 6974 6c65 2873 . def title(s │ │ │ -00057dc0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00057dd0: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ -00057de0: 2020 7469 746c 6528 466c 5f4e 6174 6976 title(Fl_Nativ │ │ │ -00057df0: 655f 4669 6c65 5f43 686f 6f73 6572 2073 e_File_Chooser s │ │ │ -00057e00: 656c 662c 2063 6861 7220 636f 6e73 7420 elf, char const │ │ │ -00057e10: 2a20 7429 0a20 2020 2020 2020 2074 6974 * t). tit │ │ │ -00057e20: 6c65 2846 6c5f 4e61 7469 7665 5f46 696c le(Fl_Native_Fil │ │ │ -00057e30: 655f 4368 6f6f 7365 7220 7365 6c66 2920 e_Chooser self) │ │ │ -00057e40: 2d3e 2063 6861 7220 636f 6e73 7420 2a0a -> char const *. │ │ │ -00057e50: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ -00057e60: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00057e70: 2e46 6c5f 4e61 7469 7665 5f46 696c 655f .Fl_Native_File_ │ │ │ -00057e80: 4368 6f6f 7365 725f 7469 746c 6528 7365 Chooser_title(se │ │ │ -00057e90: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -00057ea0: 6465 6620 6669 6c74 6572 2873 656c 662c def filter(self, │ │ │ -00057eb0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00057ec0: 2072 2222 220a 2020 2020 2020 2020 6669 r""". fi │ │ │ -00057ed0: 6c74 6572 2846 6c5f 4e61 7469 7665 5f46 lter(Fl_Native_F │ │ │ -00057ee0: 696c 655f 4368 6f6f 7365 7220 7365 6c66 ile_Chooser self │ │ │ -00057ef0: 2920 2d3e 2063 6861 7220 636f 6e73 740a ) -> char const. │ │ │ -00057f00: 2020 2020 2020 2020 6669 6c74 6572 2846 filter(F │ │ │ -00057f10: 6c5f 4e61 7469 7665 5f46 696c 655f 4368 l_Native_File_Ch │ │ │ -00057f20: 6f6f 7365 7220 7365 6c66 2c20 6368 6172 ooser self, char │ │ │ -00057f30: 2063 6f6e 7374 202a 2066 290a 2020 2020 const * f). │ │ │ -00057f40: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ -00057f50: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00057f60: 4e61 7469 7665 5f46 696c 655f 4368 6f6f Native_File_Choo │ │ │ -00057f70: 7365 725f 6669 6c74 6572 2873 656c 662c ser_filter(self, │ │ │ -00057f80: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00057f90: 2066 696c 7465 7273 2873 656c 662c 202a filters(self, * │ │ │ -00057fa0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00057fb0: 2222 2266 696c 7465 7273 2846 6c5f 4e61 """filters(Fl_Na │ │ │ -00057fc0: 7469 7665 5f46 696c 655f 4368 6f6f 7365 tive_File_Choose │ │ │ -00057fd0: 7220 7365 6c66 2920 2d3e 2069 6e74 2222 r self) -> int"" │ │ │ -00057fe0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00057ff0: 205f 666c 746b 2e46 6c5f 4e61 7469 7665 _fltk.Fl_Native │ │ │ -00058000: 5f46 696c 655f 4368 6f6f 7365 725f 6669 _File_Chooser_fi │ │ │ -00058010: 6c74 6572 7328 7365 6c66 2c20 2a61 7267 lters(self, *arg │ │ │ -00058020: 7329 0a0a 2020 2020 6465 6620 6669 6c74 s).. def filt │ │ │ -00058030: 6572 5f76 616c 7565 2873 656c 662c 202a er_value(self, * │ │ │ -00058040: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00058050: 2222 220a 2020 2020 2020 2020 6669 6c74 """. filt │ │ │ -00058060: 6572 5f76 616c 7565 2846 6c5f 4e61 7469 er_value(Fl_Nati │ │ │ -00058070: 7665 5f46 696c 655f 4368 6f6f 7365 7220 ve_File_Chooser │ │ │ -00058080: 7365 6c66 2c20 696e 7420 6929 0a20 2020 self, int i). │ │ │ -00058090: 2020 2020 2066 696c 7465 725f 7661 6c75 filter_valu │ │ │ -000580a0: 6528 466c 5f4e 6174 6976 655f 4669 6c65 e(Fl_Native_File │ │ │ -000580b0: 5f43 686f 6f73 6572 2073 656c 6629 202d _Chooser self) - │ │ │ -000580c0: 3e20 696e 740a 2020 2020 2020 2020 2222 > int. "" │ │ │ -000580d0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -000580e0: 205f 666c 746b 2e46 6c5f 4e61 7469 7665 _fltk.Fl_Native │ │ │ -000580f0: 5f46 696c 655f 4368 6f6f 7365 725f 6669 _File_Chooser_fi │ │ │ -00058100: 6c74 6572 5f76 616c 7565 2873 656c 662c lter_value(self, │ │ │ -00058110: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00058120: 2070 7265 7365 745f 6669 6c65 2873 656c preset_file(sel │ │ │ -00058130: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00058140: 2020 2072 2222 220a 2020 2020 2020 2020 r""". │ │ │ -00058150: 7072 6573 6574 5f66 696c 6528 466c 5f4e preset_file(Fl_N │ │ │ -00058160: 6174 6976 655f 4669 6c65 5f43 686f 6f73 ative_File_Choos │ │ │ -00058170: 6572 2073 656c 662c 2063 6861 7220 636f er self, char co │ │ │ -00058180: 6e73 7420 2a20 6629 0a20 2020 2020 2020 nst * f). │ │ │ -00058190: 2070 7265 7365 745f 6669 6c65 2846 6c5f preset_file(Fl_ │ │ │ -000581a0: 4e61 7469 7665 5f46 696c 655f 4368 6f6f Native_File_Choo │ │ │ -000581b0: 7365 7220 7365 6c66 2920 2d3e 2063 6861 ser self) -> cha │ │ │ -000581c0: 7220 636f 6e73 7420 2a0a 2020 2020 2020 r const *. │ │ │ -000581d0: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ -000581e0: 7475 726e 205f 666c 746b 2e46 6c5f 4e61 turn _fltk.Fl_Na │ │ │ -000581f0: 7469 7665 5f46 696c 655f 4368 6f6f 7365 tive_File_Choose │ │ │ -00058200: 725f 7072 6573 6574 5f66 696c 6528 7365 r_preset_file(se │ │ │ -00058210: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -00058220: 6465 6620 6572 726d 7367 2873 656c 662c def errmsg(self, │ │ │ -00058230: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00058240: 2072 2222 2265 7272 6d73 6728 466c 5f4e r"""errmsg(Fl_N │ │ │ -00058250: 6174 6976 655f 4669 6c65 5f43 686f 6f73 ative_File_Choos │ │ │ -00058260: 6572 2073 656c 6629 202d 3e20 6368 6172 er self) -> char │ │ │ -00058270: 2063 6f6e 7374 202a 2222 220a 2020 2020 const *""". │ │ │ -00058280: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00058290: 2e46 6c5f 4e61 7469 7665 5f46 696c 655f .Fl_Native_File_ │ │ │ -000582a0: 4368 6f6f 7365 725f 6572 726d 7367 2873 Chooser_errmsg(s │ │ │ -000582b0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -000582c0: 2064 6566 2073 686f 7728 7365 6c66 2c20 def show(self, │ │ │ -000582d0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -000582e0: 7222 2222 7368 6f77 2846 6c5f 4e61 7469 r"""show(Fl_Nati │ │ │ -000582f0: 7665 5f46 696c 655f 4368 6f6f 7365 7220 ve_File_Chooser │ │ │ -00058300: 7365 6c66 2920 2d3e 2069 6e74 2222 220a self) -> int""". │ │ │ -00058310: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00058320: 666c 746b 2e46 6c5f 4e61 7469 7665 5f46 fltk.Fl_Native_F │ │ │ -00058330: 696c 655f 4368 6f6f 7365 725f 7368 6f77 ile_Chooser_show │ │ │ -00058340: 2873 656c 662c 202a 6172 6773 290a 0a23 (self, *args)..# │ │ │ -00058350: 2052 6567 6973 7465 7220 466c 5f4e 6174 Register Fl_Nat │ │ │ -00058360: 6976 655f 4669 6c65 5f43 686f 6f73 6572 ive_File_Chooser │ │ │ -00058370: 2069 6e20 5f66 6c74 6b3a 0a5f 666c 746b in _fltk:._fltk │ │ │ -00058380: 2e46 6c5f 4e61 7469 7665 5f46 696c 655f .Fl_Native_File_ │ │ │ -00058390: 4368 6f6f 7365 725f 7377 6967 7265 6769 Chooser_swigregi │ │ │ -000583a0: 7374 6572 2846 6c5f 4e61 7469 7665 5f46 ster(Fl_Native_F │ │ │ -000583b0: 696c 655f 4368 6f6f 7365 7229 0a63 6c61 ile_Chooser).cla │ │ │ -000583c0: 7373 2046 6c5f 4e61 7469 7665 5f46 696c ss Fl_Native_Fil │ │ │ -000583d0: 655f 4368 6f6f 7365 725f 4472 6976 6572 e_Chooser_Driver │ │ │ -000583e0: 286f 626a 6563 7429 3a0a 2020 2020 7222 (object):. r" │ │ │ -000583f0: 2222 5072 6f78 7920 6f66 2043 2b2b 2046 ""Proxy of C++ F │ │ │ -00058400: 6c5f 4e61 7469 7665 5f46 696c 655f 4368 l_Native_File_Ch │ │ │ -00058410: 6f6f 7365 725f 4472 6976 6572 2063 6c61 ooser_Driver cla │ │ │ -00058420: 7373 2e22 2222 0a0a 2020 2020 7468 6973 ss.""".. this │ │ │ -00058430: 6f77 6e20 3d20 7072 6f70 6572 7479 286c own = property(l │ │ │ -00058440: 616d 6264 6120 783a 2078 2e74 6869 732e ambda x: x.this. │ │ │ -00058450: 6f77 6e28 292c 206c 616d 6264 6120 782c own(), lambda x, │ │ │ -00058460: 2076 3a20 782e 7468 6973 2e6f 776e 2876 v: x.this.own(v │ │ │ -00058470: 292c 2064 6f63 3d22 5468 6520 6d65 6d62 ), doc="The memb │ │ │ -00058480: 6572 7368 6970 2066 6c61 6722 290a 2020 ership flag"). │ │ │ -00058490: 2020 5f5f 7265 7072 5f5f 203d 205f 7377 __repr__ = _sw │ │ │ -000584a0: 6967 5f72 6570 720a 0a20 2020 2064 6566 ig_repr.. def │ │ │ -000584b0: 205f 5f69 6e69 745f 5f28 7365 6c66 2c20 __init__(self, │ │ │ -000584c0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -000584d0: 7222 2222 5f5f 696e 6974 5f5f 2846 6c5f r"""__init__(Fl_ │ │ │ -000584e0: 4e61 7469 7665 5f46 696c 655f 4368 6f6f Native_File_Choo │ │ │ -000584f0: 7365 725f 4472 6976 6572 2073 656c 662c ser_Driver self, │ │ │ -00058500: 2069 6e74 2061 7267 3229 202d 3e20 466c int arg2) -> Fl │ │ │ -00058510: 5f4e 6174 6976 655f 4669 6c65 5f43 686f _Native_File_Cho │ │ │ -00058520: 6f73 6572 5f44 7269 7665 7222 2222 0a20 oser_Driver""". │ │ │ -00058530: 2020 2020 2020 2069 6620 7365 6c66 2e5f if self._ │ │ │ -00058540: 5f63 6c61 7373 5f5f 203d 3d20 466c 5f4e _class__ == Fl_N │ │ │ -00058550: 6174 6976 655f 4669 6c65 5f43 686f 6f73 ative_File_Choos │ │ │ -00058560: 6572 5f44 7269 7665 723a 0a20 2020 2020 er_Driver:. │ │ │ -00058570: 2020 2020 2020 205f 7365 6c66 203d 204e _self = N │ │ │ -00058580: 6f6e 650a 2020 2020 2020 2020 656c 7365 one. else │ │ │ -00058590: 3a0a 2020 2020 2020 2020 2020 2020 5f73 :. _s │ │ │ -000585a0: 656c 6620 3d20 7365 6c66 0a20 2020 2020 elf = self. │ │ │ -000585b0: 2020 205f 666c 746b 2e46 6c5f 4e61 7469 _fltk.Fl_Nati │ │ │ -000585c0: 7665 5f46 696c 655f 4368 6f6f 7365 725f ve_File_Chooser_ │ │ │ -000585d0: 4472 6976 6572 5f73 7769 6769 6e69 7428 Driver_swiginit( │ │ │ -000585e0: 7365 6c66 2c20 5f66 6c74 6b2e 6e65 775f self, _fltk.new_ │ │ │ -000585f0: 466c 5f4e 6174 6976 655f 4669 6c65 5f43 Fl_Native_File_C │ │ │ -00058600: 686f 6f73 6572 5f44 7269 7665 7228 5f73 hooser_Driver(_s │ │ │ -00058610: 656c 662c 202a 6172 6773 2929 0a20 2020 elf, *args)). │ │ │ -00058620: 205f 5f73 7769 675f 6465 7374 726f 795f __swig_destroy_ │ │ │ -00058630: 5f20 3d20 5f66 6c74 6b2e 6465 6c65 7465 _ = _fltk.delete │ │ │ -00058640: 5f46 6c5f 4e61 7469 7665 5f46 696c 655f _Fl_Native_File_ │ │ │ -00058650: 4368 6f6f 7365 725f 4472 6976 6572 0a0a Chooser_Driver.. │ │ │ -00058660: 2020 2020 6465 6620 7479 7065 2873 656c def type(sel │ │ │ -00058670: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00058680: 2020 2072 2222 220a 2020 2020 2020 2020 r""". │ │ │ -00058690: 7479 7065 2846 6c5f 4e61 7469 7665 5f46 type(Fl_Native_F │ │ │ -000586a0: 696c 655f 4368 6f6f 7365 725f 4472 6976 ile_Chooser_Driv │ │ │ -000586b0: 6572 2073 656c 662c 2069 6e74 2061 7267 er self, int arg │ │ │ -000586c0: 3029 0a20 2020 2020 2020 2074 7970 6528 0). type( │ │ │ -000586d0: 466c 5f4e 6174 6976 655f 4669 6c65 5f43 Fl_Native_File_C │ │ │ -000586e0: 686f 6f73 6572 5f44 7269 7665 7220 7365 hooser_Driver se │ │ │ -000586f0: 6c66 2920 2d3e 2069 6e74 0a20 2020 2020 lf) -> int. │ │ │ -00058700: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ -00058710: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f4e eturn _fltk.Fl_N │ │ │ -00058720: 6174 6976 655f 4669 6c65 5f43 686f 6f73 ative_File_Choos │ │ │ -00058730: 6572 5f44 7269 7665 725f 7479 7065 2873 er_Driver_type(s │ │ │ -00058740: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -00058750: 2064 6566 206f 7074 696f 6e73 2873 656c def options(sel │ │ │ -00058760: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00058770: 2020 2072 2222 220a 2020 2020 2020 2020 r""". │ │ │ -00058780: 6f70 7469 6f6e 7328 466c 5f4e 6174 6976 options(Fl_Nativ │ │ │ -00058790: 655f 4669 6c65 5f43 686f 6f73 6572 5f44 e_File_Chooser_D │ │ │ -000587a0: 7269 7665 7220 7365 6c66 2c20 696e 7420 river self, int │ │ │ -000587b0: 6172 6730 290a 2020 2020 2020 2020 6f70 arg0). op │ │ │ -000587c0: 7469 6f6e 7328 466c 5f4e 6174 6976 655f tions(Fl_Native_ │ │ │ -000587d0: 4669 6c65 5f43 686f 6f73 6572 5f44 7269 File_Chooser_Dri │ │ │ -000587e0: 7665 7220 7365 6c66 2920 2d3e 2069 6e74 ver self) -> int │ │ │ -000587f0: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ -00058800: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -00058810: 6b2e 466c 5f4e 6174 6976 655f 4669 6c65 k.Fl_Native_File │ │ │ -00058820: 5f43 686f 6f73 6572 5f44 7269 7665 725f _Chooser_Driver_ │ │ │ -00058830: 6f70 7469 6f6e 7328 7365 6c66 2c20 2a61 options(self, *a │ │ │ -00058840: 7267 7329 0a0a 2020 2020 6465 6620 636f rgs).. def co │ │ │ -00058850: 756e 7428 7365 6c66 2c20 2a61 7267 7329 unt(self, *args) │ │ │ -00058860: 3a0a 2020 2020 2020 2020 7222 2222 636f :. r"""co │ │ │ -00058870: 756e 7428 466c 5f4e 6174 6976 655f 4669 unt(Fl_Native_Fi │ │ │ -00058880: 6c65 5f43 686f 6f73 6572 5f44 7269 7665 le_Chooser_Drive │ │ │ -00058890: 7220 7365 6c66 2920 2d3e 2069 6e74 2222 r self) -> int"" │ │ │ -000588a0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -000588b0: 205f 666c 746b 2e46 6c5f 4e61 7469 7665 _fltk.Fl_Native │ │ │ -000588c0: 5f46 696c 655f 4368 6f6f 7365 725f 4472 _File_Chooser_Dr │ │ │ -000588d0: 6976 6572 5f63 6f75 6e74 2873 656c 662c iver_count(self, │ │ │ -000588e0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -000588f0: 2066 696c 656e 616d 6528 7365 6c66 2c20 filename(self, │ │ │ -00058900: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00058910: 7222 2222 0a20 2020 2020 2020 2066 696c r""". fil │ │ │ -00058920: 656e 616d 6528 466c 5f4e 6174 6976 655f ename(Fl_Native_ │ │ │ -00058930: 4669 6c65 5f43 686f 6f73 6572 5f44 7269 File_Chooser_Dri │ │ │ -00058940: 7665 7220 7365 6c66 2920 2d3e 2063 6861 ver self) -> cha │ │ │ -00058950: 7220 636f 6e73 740a 2020 2020 2020 2020 r const. │ │ │ -00058960: 6669 6c65 6e61 6d65 2846 6c5f 4e61 7469 filename(Fl_Nati │ │ │ -00058970: 7665 5f46 696c 655f 4368 6f6f 7365 725f ve_File_Chooser_ │ │ │ -00058980: 4472 6976 6572 2073 656c 662c 2069 6e74 Driver self, int │ │ │ -00058990: 2061 7267 3029 202d 3e20 6368 6172 2063 arg0) -> char c │ │ │ -000589a0: 6f6e 7374 202a 0a20 2020 2020 2020 2022 onst *. " │ │ │ -000589b0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -000589c0: 6e20 5f66 6c74 6b2e 466c 5f4e 6174 6976 n _fltk.Fl_Nativ │ │ │ -000589d0: 655f 4669 6c65 5f43 686f 6f73 6572 5f44 e_File_Chooser_D │ │ │ -000589e0: 7269 7665 725f 6669 6c65 6e61 6d65 2873 river_filename(s │ │ │ -000589f0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -00058a00: 2064 6566 2064 6972 6563 746f 7279 2873 def directory(s │ │ │ -00058a10: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00058a20: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ -00058a30: 2020 6469 7265 6374 6f72 7928 466c 5f4e directory(Fl_N │ │ │ -00058a40: 6174 6976 655f 4669 6c65 5f43 686f 6f73 ative_File_Choos │ │ │ -00058a50: 6572 5f44 7269 7665 7220 7365 6c66 2c20 er_Driver self, │ │ │ -00058a60: 6368 6172 2063 6f6e 7374 202a 2061 7267 char const * arg │ │ │ -00058a70: 3029 0a20 2020 2020 2020 2064 6972 6563 0). direc │ │ │ -00058a80: 746f 7279 2846 6c5f 4e61 7469 7665 5f46 tory(Fl_Native_F │ │ │ -00058a90: 696c 655f 4368 6f6f 7365 725f 4472 6976 ile_Chooser_Driv │ │ │ -00058aa0: 6572 2073 656c 6629 202d 3e20 6368 6172 er self) -> char │ │ │ -00058ab0: 2063 6f6e 7374 202a 0a20 2020 2020 2020 const *. │ │ │ -00058ac0: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ -00058ad0: 7572 6e20 5f66 6c74 6b2e 466c 5f4e 6174 urn _fltk.Fl_Nat │ │ │ -00058ae0: 6976 655f 4669 6c65 5f43 686f 6f73 6572 ive_File_Chooser │ │ │ -00058af0: 5f44 7269 7665 725f 6469 7265 6374 6f72 _Driver_director │ │ │ -00058b00: 7928 7365 6c66 2c20 2a61 7267 7329 0a0a y(self, *args).. │ │ │ -00058b10: 2020 2020 6465 6620 7469 746c 6528 7365 def title(se │ │ │ -00058b20: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -00058b30: 2020 2020 7222 2222 0a20 2020 2020 2020 r""". │ │ │ -00058b40: 2074 6974 6c65 2846 6c5f 4e61 7469 7665 title(Fl_Native │ │ │ -00058b50: 5f46 696c 655f 4368 6f6f 7365 725f 4472 _File_Chooser_Dr │ │ │ -00058b60: 6976 6572 2073 656c 662c 2063 6861 7220 iver self, char │ │ │ -00058b70: 636f 6e73 7420 2a20 6172 6730 290a 2020 const * arg0). │ │ │ -00058b80: 2020 2020 2020 7469 746c 6528 466c 5f4e title(Fl_N │ │ │ -00058b90: 6174 6976 655f 4669 6c65 5f43 686f 6f73 ative_File_Choos │ │ │ -00058ba0: 6572 5f44 7269 7665 7220 7365 6c66 2920 er_Driver self) │ │ │ -00058bb0: 2d3e 2063 6861 7220 636f 6e73 7420 2a0a -> char const *. │ │ │ -00058bc0: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ -00058bd0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00058be0: 2e46 6c5f 4e61 7469 7665 5f46 696c 655f .Fl_Native_File_ │ │ │ -00058bf0: 4368 6f6f 7365 725f 4472 6976 6572 5f74 Chooser_Driver_t │ │ │ -00058c00: 6974 6c65 2873 656c 662c 202a 6172 6773 itle(self, *args │ │ │ -00058c10: 290a 0a20 2020 2064 6566 2066 696c 7465 ).. def filte │ │ │ -00058c20: 7228 7365 6c66 2c20 2a61 7267 7329 3a0a r(self, *args):. │ │ │ -00058c30: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ -00058c40: 2020 2020 2066 696c 7465 7228 466c 5f4e filter(Fl_N │ │ │ -00058c50: 6174 6976 655f 4669 6c65 5f43 686f 6f73 ative_File_Choos │ │ │ -00058c60: 6572 5f44 7269 7665 7220 7365 6c66 2920 er_Driver self) │ │ │ -00058c70: 2d3e 2063 6861 7220 636f 6e73 740a 2020 -> char const. │ │ │ -00058c80: 2020 2020 2020 6669 6c74 6572 2846 6c5f filter(Fl_ │ │ │ -00058c90: 4e61 7469 7665 5f46 696c 655f 4368 6f6f Native_File_Choo │ │ │ -00058ca0: 7365 725f 4472 6976 6572 2073 656c 662c ser_Driver self, │ │ │ -00058cb0: 2063 6861 7220 636f 6e73 7420 2a20 6172 char const * ar │ │ │ -00058cc0: 6730 290a 2020 2020 2020 2020 2222 220a g0). """. │ │ │ -00058cd0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00058ce0: 666c 746b 2e46 6c5f 4e61 7469 7665 5f46 fltk.Fl_Native_F │ │ │ -00058cf0: 696c 655f 4368 6f6f 7365 725f 4472 6976 ile_Chooser_Driv │ │ │ -00058d00: 6572 5f66 696c 7465 7228 7365 6c66 2c20 er_filter(self, │ │ │ -00058d10: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -00058d20: 6669 6c74 6572 7328 7365 6c66 2c20 2a61 filters(self, *a │ │ │ -00058d30: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00058d40: 2222 6669 6c74 6572 7328 466c 5f4e 6174 ""filters(Fl_Nat │ │ │ -00058d50: 6976 655f 4669 6c65 5f43 686f 6f73 6572 ive_File_Chooser │ │ │ -00058d60: 5f44 7269 7665 7220 7365 6c66 2920 2d3e _Driver self) -> │ │ │ -00058d70: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ -00058d80: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00058d90: 4e61 7469 7665 5f46 696c 655f 4368 6f6f Native_File_Choo │ │ │ -00058da0: 7365 725f 4472 6976 6572 5f66 696c 7465 ser_Driver_filte │ │ │ -00058db0: 7273 2873 656c 662c 202a 6172 6773 290a rs(self, *args). │ │ │ -00058dc0: 0a20 2020 2064 6566 2066 696c 7465 725f . def filter_ │ │ │ -00058dd0: 7661 6c75 6528 7365 6c66 2c20 2a61 7267 value(self, *arg │ │ │ -00058de0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -00058df0: 0a20 2020 2020 2020 2066 696c 7465 725f . filter_ │ │ │ -00058e00: 7661 6c75 6528 466c 5f4e 6174 6976 655f value(Fl_Native_ │ │ │ -00058e10: 4669 6c65 5f43 686f 6f73 6572 5f44 7269 File_Chooser_Dri │ │ │ -00058e20: 7665 7220 7365 6c66 2c20 696e 7420 6172 ver self, int ar │ │ │ -00058e30: 6730 290a 2020 2020 2020 2020 6669 6c74 g0). filt │ │ │ -00058e40: 6572 5f76 616c 7565 2846 6c5f 4e61 7469 er_value(Fl_Nati │ │ │ -00058e50: 7665 5f46 696c 655f 4368 6f6f 7365 725f ve_File_Chooser_ │ │ │ -00058e60: 4472 6976 6572 2073 656c 6629 202d 3e20 Driver self) -> │ │ │ -00058e70: 696e 740a 2020 2020 2020 2020 2222 220a int. """. │ │ │ -00058e80: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00058e90: 666c 746b 2e46 6c5f 4e61 7469 7665 5f46 fltk.Fl_Native_F │ │ │ -00058ea0: 696c 655f 4368 6f6f 7365 725f 4472 6976 ile_Chooser_Driv │ │ │ -00058eb0: 6572 5f66 696c 7465 725f 7661 6c75 6528 er_filter_value( │ │ │ -00058ec0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -00058ed0: 2020 6465 6620 7072 6573 6574 5f66 696c def preset_fil │ │ │ -00058ee0: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ -00058ef0: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ -00058f00: 2020 2020 2070 7265 7365 745f 6669 6c65 preset_file │ │ │ -00058f10: 2846 6c5f 4e61 7469 7665 5f46 696c 655f (Fl_Native_File_ │ │ │ -00058f20: 4368 6f6f 7365 725f 4472 6976 6572 2073 Chooser_Driver s │ │ │ -00058f30: 656c 662c 2063 6861 7220 636f 6e73 7420 elf, char const │ │ │ -00058f40: 2a20 6172 6730 290a 2020 2020 2020 2020 * arg0). │ │ │ -00058f50: 7072 6573 6574 5f66 696c 6528 466c 5f4e preset_file(Fl_N │ │ │ -00058f60: 6174 6976 655f 4669 6c65 5f43 686f 6f73 ative_File_Choos │ │ │ -00058f70: 6572 5f44 7269 7665 7220 7365 6c66 2920 er_Driver self) │ │ │ -00058f80: 2d3e 2063 6861 7220 636f 6e73 7420 2a0a -> char const *. │ │ │ -00058f90: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ -00058fa0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00058fb0: 2e46 6c5f 4e61 7469 7665 5f46 696c 655f .Fl_Native_File_ │ │ │ -00058fc0: 4368 6f6f 7365 725f 4472 6976 6572 5f70 Chooser_Driver_p │ │ │ -00058fd0: 7265 7365 745f 6669 6c65 2873 656c 662c reset_file(self, │ │ │ -00058fe0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00058ff0: 2065 7272 6d73 6728 7365 6c66 2c20 2a61 errmsg(self, *a │ │ │ -00059000: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00059010: 2222 6572 726d 7367 2846 6c5f 4e61 7469 ""errmsg(Fl_Nati │ │ │ -00059020: 7665 5f46 696c 655f 4368 6f6f 7365 725f ve_File_Chooser_ │ │ │ -00059030: 4472 6976 6572 2073 656c 6629 202d 3e20 Driver self) -> │ │ │ -00059040: 6368 6172 2063 6f6e 7374 202a 2222 220a char const *""". │ │ │ -00059050: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00059060: 666c 746b 2e46 6c5f 4e61 7469 7665 5f46 fltk.Fl_Native_F │ │ │ -00059070: 696c 655f 4368 6f6f 7365 725f 4472 6976 ile_Chooser_Driv │ │ │ -00059080: 6572 5f65 7272 6d73 6728 7365 6c66 2c20 er_errmsg(self, │ │ │ -00059090: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -000590a0: 7368 6f77 2873 656c 662c 202a 6172 6773 show(self, *args │ │ │ -000590b0: 293a 0a20 2020 2020 2020 2072 2222 2273 ):. r"""s │ │ │ -000590c0: 686f 7728 466c 5f4e 6174 6976 655f 4669 how(Fl_Native_Fi │ │ │ -000590d0: 6c65 5f43 686f 6f73 6572 5f44 7269 7665 le_Chooser_Drive │ │ │ -000590e0: 7220 7365 6c66 2920 2d3e 2069 6e74 2222 r self) -> int"" │ │ │ -000590f0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00059100: 205f 666c 746b 2e46 6c5f 4e61 7469 7665 _fltk.Fl_Native │ │ │ -00059110: 5f46 696c 655f 4368 6f6f 7365 725f 4472 _File_Chooser_Dr │ │ │ -00059120: 6976 6572 5f73 686f 7728 7365 6c66 2c20 iver_show(self, │ │ │ -00059130: 2a61 7267 7329 0a20 2020 2064 6566 205f *args). def _ │ │ │ -00059140: 5f64 6973 6f77 6e5f 5f28 7365 6c66 293a _disown__(self): │ │ │ -00059150: 0a20 2020 2020 2020 2073 656c 662e 7468 . self.th │ │ │ -00059160: 6973 2e64 6973 6f77 6e28 290a 2020 2020 is.disown(). │ │ │ -00059170: 2020 2020 5f66 6c74 6b2e 6469 736f 776e _fltk.disown │ │ │ -00059180: 5f46 6c5f 4e61 7469 7665 5f46 696c 655f _Fl_Native_File_ │ │ │ -00059190: 4368 6f6f 7365 725f 4472 6976 6572 2873 Chooser_Driver(s │ │ │ -000591a0: 656c 6629 0a20 2020 2020 2020 2072 6574 elf). ret │ │ │ -000591b0: 7572 6e20 7765 616b 7265 662e 7072 6f78 urn weakref.prox │ │ │ -000591c0: 7928 7365 6c66 290a 0a23 2052 6567 6973 y(self)..# Regis │ │ │ -000591d0: 7465 7220 466c 5f4e 6174 6976 655f 4669 ter Fl_Native_Fi │ │ │ -000591e0: 6c65 5f43 686f 6f73 6572 5f44 7269 7665 le_Chooser_Drive │ │ │ -000591f0: 7220 696e 205f 666c 746b 3a0a 5f66 6c74 r in _fltk:._flt │ │ │ -00059200: 6b2e 466c 5f4e 6174 6976 655f 4669 6c65 k.Fl_Native_File │ │ │ -00059210: 5f43 686f 6f73 6572 5f44 7269 7665 725f _Chooser_Driver_ │ │ │ -00059220: 7377 6967 7265 6769 7374 6572 2846 6c5f swigregister(Fl_ │ │ │ -00059230: 4e61 7469 7665 5f46 696c 655f 4368 6f6f Native_File_Choo │ │ │ -00059240: 7365 725f 4472 6976 6572 290a 636c 6173 ser_Driver).clas │ │ │ -00059250: 7320 466c 5f4f 7665 726c 6179 5f57 696e s Fl_Overlay_Win │ │ │ -00059260: 646f 7728 466c 5f44 6f75 626c 655f 5769 dow(Fl_Double_Wi │ │ │ -00059270: 6e64 6f77 293a 0a20 2020 2072 2222 220a ndow):. r""". │ │ │ -00059280: 0a20 2020 2054 6869 7320 7769 6e64 6f77 . This window │ │ │ -00059290: 2070 726f 7669 6465 7320 646f 7562 6c65 provides double │ │ │ -000592a0: 2062 7566 6665 7269 6e67 2061 6e64 2061 buffering and a │ │ │ -000592b0: 6c73 6f20 7468 6520 6162 696c 6974 7920 lso the ability │ │ │ -000592c0: 746f 2064 7261 7720 7468 6520 0a20 2020 to draw the . │ │ │ -000592d0: 2027 6f76 6572 6c61 7927 2077 6869 6368 'overlay' which │ │ │ -000592e0: 2069 7320 616e 6f74 6865 7220 7069 6374 is another pict │ │ │ -000592f0: 7572 6520 706c 6163 6564 206f 6e20 746f ure placed on to │ │ │ -00059300: 7020 6f66 2074 6865 206d 6169 6e20 696d p of the main im │ │ │ -00059310: 6167 652e 2054 6865 200a 2020 2020 6f76 age. The . ov │ │ │ -00059320: 6572 6c61 7920 6973 2064 6573 6967 6e65 erlay is designe │ │ │ -00059330: 6420 746f 2062 6520 6120 7261 7069 646c d to be a rapidl │ │ │ -00059340: 792d 6368 616e 6769 6e67 2062 7574 2073 y-changing but s │ │ │ -00059350: 696d 706c 6520 6772 6170 6869 6320 7375 imple graphic su │ │ │ -00059360: 6368 2061 7320 0a20 2020 2061 206d 6f75 ch as . a mou │ │ │ -00059370: 7365 2073 656c 6563 7469 6f6e 2062 6f78 se selection box │ │ │ -00059380: 2e20 466c 5f4f 7665 726c 6179 5f57 696e . Fl_Overlay_Win │ │ │ -00059390: 646f 7720 7573 6573 2074 6865 206f 7665 dow uses the ove │ │ │ -000593a0: 726c 6179 2070 6c61 6e65 7320 7072 6f76 rlay planes prov │ │ │ -000593b0: 6964 6564 200a 2020 2020 6279 2079 6f75 ided . by you │ │ │ -000593c0: 7220 6772 6170 6869 6373 2068 6172 6477 r graphics hardw │ │ │ -000593d0: 6172 6520 6966 2074 6865 7920 6172 6520 are if they are │ │ │ -000593e0: 6176 6169 6c61 626c 652e 0a0a 2020 2020 available... │ │ │ -000593f0: 4966 206e 6f20 6861 7264 7761 7265 2073 If no hardware s │ │ │ -00059400: 7570 706f 7274 2069 7320 666f 756e 6420 upport is found │ │ │ -00059410: 7468 6520 6f76 6572 6c61 7920 6973 2073 the overlay is s │ │ │ -00059420: 696d 756c 6174 6564 2062 7920 6472 6177 imulated by draw │ │ │ -00059430: 696e 6720 6469 7265 6374 6c79 200a 2020 ing directly . │ │ │ -00059440: 2020 696e 746f 2074 6865 206f 6e2d 7363 into the on-sc │ │ │ -00059450: 7265 656e 2063 6f70 7920 6f66 2074 6865 reen copy of the │ │ │ -00059460: 2064 6f75 626c 652d 6275 6666 6572 6564 double-buffered │ │ │ -00059470: 2077 696e 646f 772c 2061 6e64 2027 6572 window, and 'er │ │ │ -00059480: 6173 6564 2720 6279 200a 2020 2020 636f ased' by . co │ │ │ -00059490: 7079 696e 6720 7468 6520 6261 636b 6275 pying the backbu │ │ │ -000594a0: 6666 6572 206f 7665 7220 6974 2061 6761 ffer over it aga │ │ │ -000594b0: 696e 2e20 5468 6973 206d 6561 6e73 2074 in. This means t │ │ │ -000594c0: 6865 206f 7665 726c 6179 2077 696c 6c20 he overlay will │ │ │ -000594d0: 626c 696e 6b20 6966 200a 2020 2020 796f blink if . yo │ │ │ -000594e0: 7520 6368 616e 6765 2074 6865 2069 6d61 u change the ima │ │ │ -000594f0: 6765 2069 6e20 7468 6520 7769 6e64 6f77 ge in the window │ │ │ -00059500: 2e20 0a0a 2020 2020 2222 220a 0a20 2020 . .. """.. │ │ │ -00059510: 2074 6869 736f 776e 203d 2070 726f 7065 thisown = prope │ │ │ -00059520: 7274 7928 6c61 6d62 6461 2078 3a20 782e rty(lambda x: x. │ │ │ -00059530: 7468 6973 2e6f 776e 2829 2c20 6c61 6d62 this.own(), lamb │ │ │ -00059540: 6461 2078 2c20 763a 2078 2e74 6869 732e da x, v: x.this. │ │ │ -00059550: 6f77 6e28 7629 2c20 646f 633d 2254 6865 own(v), doc="The │ │ │ -00059560: 206d 656d 6265 7273 6869 7020 666c 6167 membership flag │ │ │ -00059570: 2229 0a20 2020 205f 5f72 6570 725f 5f20 "). __repr__ │ │ │ -00059580: 3d20 5f73 7769 675f 7265 7072 0a0a 2020 = _swig_repr.. │ │ │ -00059590: 2020 6465 6620 6472 6177 5f6f 7665 726c def draw_overl │ │ │ -000595a0: 6179 2873 656c 662c 202a 6172 6773 293a ay(self, *args): │ │ │ -000595b0: 0a20 2020 2020 2020 2072 2222 2264 7261 . r"""dra │ │ │ -000595c0: 775f 6f76 6572 6c61 7928 466c 5f4f 7665 w_overlay(Fl_Ove │ │ │ -000595d0: 726c 6179 5f57 696e 646f 7720 7365 6c66 rlay_Window self │ │ │ -000595e0: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ -000595f0: 7572 6e20 5f66 6c74 6b2e 466c 5f4f 7665 urn _fltk.Fl_Ove │ │ │ -00059600: 726c 6179 5f57 696e 646f 775f 6472 6177 rlay_Window_draw │ │ │ -00059610: 5f6f 7665 726c 6179 2873 656c 662c 202a _overlay(self, * │ │ │ -00059620: 6172 6773 290a 0a20 2020 2064 6566 2068 args).. def h │ │ │ -00059630: 6964 6528 7365 6c66 2c20 2a61 7267 7329 ide(self, *args) │ │ │ -00059640: 3a0a 2020 2020 2020 2020 7222 2222 6869 :. r"""hi │ │ │ -00059650: 6465 2846 6c5f 4f76 6572 6c61 795f 5769 de(Fl_Overlay_Wi │ │ │ -00059660: 6e64 6f77 2073 656c 6629 2222 220a 2020 ndow self)""". │ │ │ -00059670: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00059680: 746b 2e46 6c5f 4f76 6572 6c61 795f 5769 tk.Fl_Overlay_Wi │ │ │ -00059690: 6e64 6f77 5f68 6964 6528 7365 6c66 2c20 ndow_hide(self, │ │ │ -000596a0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -000596b0: 666c 7573 6828 7365 6c66 2c20 2a61 7267 flush(self, *arg │ │ │ -000596c0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -000596d0: 666c 7573 6828 466c 5f4f 7665 726c 6179 flush(Fl_Overlay │ │ │ -000596e0: 5f57 696e 646f 7720 7365 6c66 2922 2222 _Window self)""" │ │ │ -000596f0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00059700: 5f66 6c74 6b2e 466c 5f4f 7665 726c 6179 _fltk.Fl_Overlay │ │ │ -00059710: 5f57 696e 646f 775f 666c 7573 6828 7365 _Window_flush(se │ │ │ -00059720: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -00059730: 6465 6620 7265 7369 7a65 2873 656c 662c def resize(self, │ │ │ -00059740: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00059750: 2072 2222 2272 6573 697a 6528 466c 5f4f r"""resize(Fl_O │ │ │ -00059760: 7665 726c 6179 5f57 696e 646f 7720 7365 verlay_Window se │ │ │ -00059770: 6c66 2c20 696e 7420 6172 6730 2c20 696e lf, int arg0, in │ │ │ -00059780: 7420 6172 6731 2c20 696e 7420 6172 6732 t arg1, int arg2 │ │ │ -00059790: 2c20 696e 7420 6172 6733 2922 2222 0a20 , int arg3)""". │ │ │ -000597a0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -000597b0: 6c74 6b2e 466c 5f4f 7665 726c 6179 5f57 ltk.Fl_Overlay_W │ │ │ -000597c0: 696e 646f 775f 7265 7369 7a65 2873 656c indow_resize(sel │ │ │ -000597d0: 662c 202a 6172 6773 290a 2020 2020 5f5f f, *args). __ │ │ │ -000597e0: 7377 6967 5f64 6573 7472 6f79 5f5f 203d swig_destroy__ = │ │ │ -000597f0: 205f 666c 746b 2e64 656c 6574 655f 466c _fltk.delete_Fl │ │ │ -00059800: 5f4f 7665 726c 6179 5f57 696e 646f 770a _Overlay_Window. │ │ │ -00059810: 0a20 2020 2064 6566 2063 616e 5f64 6f5f . def can_do_ │ │ │ -00059820: 6f76 6572 6c61 7928 7365 6c66 2c20 2a61 overlay(self, *a │ │ │ -00059830: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00059840: 2222 6361 6e5f 646f 5f6f 7665 726c 6179 ""can_do_overlay │ │ │ -00059850: 2846 6c5f 4f76 6572 6c61 795f 5769 6e64 (Fl_Overlay_Wind │ │ │ -00059860: 6f77 2073 656c 6629 202d 3e20 696e 7422 ow self) -> int" │ │ │ -00059870: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -00059880: 6e20 5f66 6c74 6b2e 466c 5f4f 7665 726c n _fltk.Fl_Overl │ │ │ -00059890: 6179 5f57 696e 646f 775f 6361 6e5f 646f ay_Window_can_do │ │ │ -000598a0: 5f6f 7665 726c 6179 2873 656c 662c 202a _overlay(self, * │ │ │ -000598b0: 6172 6773 290a 0a20 2020 2064 6566 2072 args).. def r │ │ │ -000598c0: 6564 7261 775f 6f76 6572 6c61 7928 7365 edraw_overlay(se │ │ │ -000598d0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -000598e0: 2020 2020 7222 2222 7265 6472 6177 5f6f r"""redraw_o │ │ │ -000598f0: 7665 726c 6179 2846 6c5f 4f76 6572 6c61 verlay(Fl_Overla │ │ │ -00059900: 795f 5769 6e64 6f77 2073 656c 6629 2222 y_Window self)"" │ │ │ -00059910: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00059920: 205f 666c 746b 2e46 6c5f 4f76 6572 6c61 _fltk.Fl_Overla │ │ │ -00059930: 795f 5769 6e64 6f77 5f72 6564 7261 775f y_Window_redraw_ │ │ │ -00059940: 6f76 6572 6c61 7928 7365 6c66 2c20 2a61 overlay(self, *a │ │ │ -00059950: 7267 7329 0a0a 2020 2020 6465 6620 5f5f rgs).. def __ │ │ │ -00059960: 696e 6974 5f5f 2873 656c 662c 202a 6172 init__(self, *ar │ │ │ -00059970: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -00059980: 220a 2020 2020 2020 2020 5f5f 696e 6974 ". __init │ │ │ -00059990: 5f5f 2846 6c5f 4f76 6572 6c61 795f 5769 __(Fl_Overlay_Wi │ │ │ -000599a0: 6e64 6f77 2073 656c 662c 2069 6e74 2057 ndow self, int W │ │ │ -000599b0: 2c20 696e 7420 482c 2063 6861 7220 636f , int H, char co │ │ │ -000599c0: 6e73 7420 2a20 6c3d 4e6f 6e65 2920 2d3e nst * l=None) -> │ │ │ -000599d0: 2046 6c5f 4f76 6572 6c61 795f 5769 6e64 Fl_Overlay_Wind │ │ │ -000599e0: 6f77 0a20 2020 2020 2020 205f 5f69 6e69 ow. __ini │ │ │ -000599f0: 745f 5f28 466c 5f4f 7665 726c 6179 5f57 t__(Fl_Overlay_W │ │ │ -00059a00: 696e 646f 7720 7365 6c66 2c20 696e 7420 indow self, int │ │ │ -00059a10: 582c 2069 6e74 2059 2c20 696e 7420 572c X, int Y, int W, │ │ │ -00059a20: 2069 6e74 2048 2c20 6368 6172 2063 6f6e int H, char con │ │ │ -00059a30: 7374 202a 206c 3d4e 6f6e 6529 202d 3e20 st * l=None) -> │ │ │ -00059a40: 466c 5f4f 7665 726c 6179 5f57 696e 646f Fl_Overlay_Windo │ │ │ -00059a50: 770a 2020 2020 2020 2020 2222 220a 2020 w. """. │ │ │ -00059a60: 2020 2020 2020 6966 2073 656c 662e 5f5f if self.__ │ │ │ -00059a70: 636c 6173 735f 5f20 3d3d 2046 6c5f 4f76 class__ == Fl_Ov │ │ │ -00059a80: 6572 6c61 795f 5769 6e64 6f77 3a0a 2020 erlay_Window:. │ │ │ -00059a90: 2020 2020 2020 2020 2020 5f73 656c 6620 _self │ │ │ -00059aa0: 3d20 4e6f 6e65 0a20 2020 2020 2020 2065 = None. e │ │ │ -00059ab0: 6c73 653a 0a20 2020 2020 2020 2020 2020 lse:. │ │ │ -00059ac0: 205f 7365 6c66 203d 2073 656c 660a 2020 _self = self. │ │ │ -00059ad0: 2020 2020 2020 5f66 6c74 6b2e 466c 5f4f _fltk.Fl_O │ │ │ -00059ae0: 7665 726c 6179 5f57 696e 646f 775f 7377 verlay_Window_sw │ │ │ -00059af0: 6967 696e 6974 2873 656c 662c 205f 666c iginit(self, _fl │ │ │ -00059b00: 746b 2e6e 6577 5f46 6c5f 4f76 6572 6c61 tk.new_Fl_Overla │ │ │ -00059b10: 795f 5769 6e64 6f77 285f 7365 6c66 2c20 y_Window(_self, │ │ │ -00059b20: 2a61 7267 7329 290a 0a20 2020 2020 2020 *args)).. │ │ │ -00059b30: 2069 6620 6c65 6e28 6172 6773 2920 3d3d if len(args) == │ │ │ -00059b40: 2035 3a20 2020 2020 2020 2020 200a 2020 5: . │ │ │ -00059b50: 2020 2020 2020 2372 6574 6169 6e20 7265 #retain re │ │ │ -00059b60: 6665 7265 6e63 6520 746f 206c 6162 656c ference to label │ │ │ -00059b70: 0a20 2020 2020 2020 2020 2020 2073 656c . sel │ │ │ -00059b80: 662e 6d79 5f6c 6162 656c 203d 2061 7267 f.my_label = arg │ │ │ -00059b90: 735b 2d31 5d0a 2020 2020 2020 2020 6966 s[-1]. if │ │ │ -00059ba0: 2073 656c 662e 7061 7265 6e74 2829 2021 self.parent() ! │ │ │ -00059bb0: 3d20 4e6f 6e65 3a20 2020 0a20 2020 2020 = None: . │ │ │ -00059bc0: 2020 2023 6465 6c65 6761 7465 206f 776e #delegate own │ │ │ -00059bd0: 6572 7368 6970 2074 6f20 432b 2b0a 2020 ership to C++. │ │ │ -00059be0: 2020 2020 2020 2020 2020 7365 6c66 2e74 self.t │ │ │ -00059bf0: 6869 732e 6469 736f 776e 2829 0a20 2020 his.disown(). │ │ │ -00059c00: 2020 2020 2073 656c 662e 696e 6974 5f74 self.init_t │ │ │ -00059c10: 7970 6528 2246 6c5f 4f76 6572 6c61 795f ype("Fl_Overlay_ │ │ │ -00059c20: 5769 6e64 6f77 2229 0a20 2020 2020 2020 Window"). │ │ │ -00059c30: 2023 7072 696e 7428 2241 6464 696e 6720 #print("Adding │ │ │ -00059c40: 7479 7065 3a20 222c 2046 6c5f 4f76 6572 type: ", Fl_Over │ │ │ -00059c50: 6c61 795f 5769 6e64 6f77 290a 0a0a 0a0a lay_Window)..... │ │ │ -00059c60: 2020 2020 6465 6620 6173 5f6f 7665 726c def as_overl │ │ │ -00059c70: 6179 5f77 696e 646f 7728 7365 6c66 2c20 ay_window(self, │ │ │ -00059c80: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00059c90: 7222 2222 6173 5f6f 7665 726c 6179 5f77 r"""as_overlay_w │ │ │ -00059ca0: 696e 646f 7728 466c 5f4f 7665 726c 6179 indow(Fl_Overlay │ │ │ -00059cb0: 5f57 696e 646f 7720 7365 6c66 2920 2d3e _Window self) -> │ │ │ -00059cc0: 2046 6c5f 4f76 6572 6c61 795f 5769 6e64 Fl_Overlay_Wind │ │ │ -00059cd0: 6f77 2222 220a 2020 2020 2020 2020 7265 ow""". re │ │ │ -00059ce0: 7475 726e 205f 666c 746b 2e46 6c5f 4f76 turn _fltk.Fl_Ov │ │ │ -00059cf0: 6572 6c61 795f 5769 6e64 6f77 5f61 735f erlay_Window_as_ │ │ │ -00059d00: 6f76 6572 6c61 795f 7769 6e64 6f77 2873 overlay_window(s │ │ │ -00059d10: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -00059d20: 2064 6566 2069 6e69 745f 7479 7065 2873 def init_type(s │ │ │ -00059d30: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00059d40: 2020 2020 2072 2222 2269 6e69 745f 7479 r"""init_ty │ │ │ -00059d50: 7065 2846 6c5f 4f76 6572 6c61 795f 5769 pe(Fl_Overlay_Wi │ │ │ -00059d60: 6e64 6f77 2073 656c 662c 2063 6861 7220 ndow self, char │ │ │ -00059d70: 2a20 466c 5f4f 7665 726c 6179 5f57 696e * Fl_Overlay_Win │ │ │ -00059d80: 646f 7729 2222 220a 2020 2020 2020 2020 dow)""". │ │ │ -00059d90: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00059da0: 4f76 6572 6c61 795f 5769 6e64 6f77 5f69 Overlay_Window_i │ │ │ -00059db0: 6e69 745f 7479 7065 2873 656c 662c 202a nit_type(self, * │ │ │ -00059dc0: 6172 6773 290a 0a20 2020 2064 6566 2073 args).. def s │ │ │ -00059dd0: 686f 7728 7365 6c66 2c20 2a61 7267 7329 how(self, *args) │ │ │ -00059de0: 3a0a 2020 2020 2020 2020 7222 2222 7368 :. r"""sh │ │ │ -00059df0: 6f77 2846 6c5f 4f76 6572 6c61 795f 5769 ow(Fl_Overlay_Wi │ │ │ -00059e00: 6e64 6f77 2073 656c 662c 2050 794f 626a ndow self, PyObj │ │ │ -00059e10: 6563 7420 2a20 636f 756e 743d 4e6f 6e65 ect * count=None │ │ │ -00059e20: 2c20 5079 4f62 6a65 6374 202a 2064 6174 , PyObject * dat │ │ │ -00059e30: 613d 4e6f 6e65 2922 2222 0a20 2020 2020 a=None)""". │ │ │ -00059e40: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00059e50: 466c 5f4f 7665 726c 6179 5f57 696e 646f Fl_Overlay_Windo │ │ │ -00059e60: 775f 7368 6f77 2873 656c 662c 202a 6172 w_show(self, *ar │ │ │ -00059e70: 6773 290a 2020 2020 6465 6620 5f5f 6469 gs). def __di │ │ │ -00059e80: 736f 776e 5f5f 2873 656c 6629 3a0a 2020 sown__(self):. │ │ │ -00059e90: 2020 2020 2020 7365 6c66 2e74 6869 732e self.this. │ │ │ -00059ea0: 6469 736f 776e 2829 0a20 2020 2020 2020 disown(). │ │ │ -00059eb0: 205f 666c 746b 2e64 6973 6f77 6e5f 466c _fltk.disown_Fl │ │ │ -00059ec0: 5f4f 7665 726c 6179 5f57 696e 646f 7728 _Overlay_Window( │ │ │ -00059ed0: 7365 6c66 290a 2020 2020 2020 2020 7265 self). re │ │ │ -00059ee0: 7475 726e 2077 6561 6b72 6566 2e70 726f turn weakref.pro │ │ │ -00059ef0: 7879 2873 656c 6629 0a0a 2020 2020 6465 xy(self).. de │ │ │ -00059f00: 6620 6472 6177 2873 656c 662c 202a 6172 f draw(self, *ar │ │ │ -00059f10: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -00059f20: 2264 7261 7728 466c 5f4f 7665 726c 6179 "draw(Fl_Overlay │ │ │ -00059f30: 5f57 696e 646f 7720 7365 6c66 2922 2222 _Window self)""" │ │ │ -00059f40: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00059f50: 5f66 6c74 6b2e 466c 5f4f 7665 726c 6179 _fltk.Fl_Overlay │ │ │ -00059f60: 5f57 696e 646f 775f 6472 6177 2873 656c _Window_draw(sel │ │ │ -00059f70: 662c 202a 6172 6773 290a 0a23 2052 6567 f, *args)..# Reg │ │ │ -00059f80: 6973 7465 7220 466c 5f4f 7665 726c 6179 ister Fl_Overlay │ │ │ -00059f90: 5f57 696e 646f 7720 696e 205f 666c 746b _Window in _fltk │ │ │ -00059fa0: 3a0a 5f66 6c74 6b2e 466c 5f4f 7665 726c :._fltk.Fl_Overl │ │ │ -00059fb0: 6179 5f57 696e 646f 775f 7377 6967 7265 ay_Window_swigre │ │ │ -00059fc0: 6769 7374 6572 2846 6c5f 4f76 6572 6c61 gister(Fl_Overla │ │ │ -00059fd0: 795f 5769 6e64 6f77 290a 636c 6173 7320 y_Window).class │ │ │ -00059fe0: 466c 5f50 6163 6b28 466c 5f47 726f 7570 Fl_Pack(Fl_Group │ │ │ -00059ff0: 293a 0a20 2020 2072 2222 220a 0a20 2020 ):. r""".. │ │ │ -0005a000: 2054 6869 7320 7769 6467 6574 2077 6173 This widget was │ │ │ -0005a010: 2064 6573 6967 6e65 6420 746f 2061 6464 designed to add │ │ │ -0005a020: 2074 6865 2066 756e 6374 696f 6e61 6c69 the functionali │ │ │ -0005a030: 7479 206f 6620 636f 6d70 7265 7373 696e ty of compressin │ │ │ -0005a040: 6720 616e 6420 0a20 2020 2061 6c69 676e g and . align │ │ │ -0005a050: 696e 6720 7769 6467 6574 732e 0a0a 2020 ing widgets... │ │ │ -0005a060: 2020 4966 2074 7970 6528 2920 6973 2046 If type() is F │ │ │ -0005a070: 4c5f 484f 5249 5a4f 4e54 414c 2061 6c6c L_HORIZONTAL all │ │ │ -0005a080: 2074 6865 2063 6869 6c64 7265 6e20 6172 the children ar │ │ │ -0005a090: 6520 7265 7369 7a65 6420 746f 2074 6865 e resized to the │ │ │ -0005a0a0: 2068 6569 6768 7420 6f66 200a 2020 2020 height of . │ │ │ -0005a0b0: 7468 6520 466c 5f50 6163 6b2c 2061 6e64 the Fl_Pack, and │ │ │ -0005a0c0: 2061 7265 206d 6f76 6564 206e 6578 7420 are moved next │ │ │ -0005a0d0: 746f 2065 6163 6820 6f74 6865 7220 686f to each other ho │ │ │ -0005a0e0: 7269 7a6f 6e74 616c 6c79 2e20 4966 2074 rizontally. If t │ │ │ -0005a0f0: 7970 6528 2920 6973 200a 2020 2020 6e6f ype() is . no │ │ │ -0005a100: 7420 464c 5f48 4f52 495a 4f4e 5441 4c20 t FL_HORIZONTAL │ │ │ -0005a110: 7468 656e 2074 6865 2063 6869 6c64 7265 then the childre │ │ │ -0005a120: 6e20 6172 6520 7265 7369 7a65 6420 746f n are resized to │ │ │ -0005a130: 2074 6865 2077 6964 7468 2061 6e64 2061 the width and a │ │ │ -0005a140: 7265 2073 7461 636b 6564 200a 2020 2020 re stacked . │ │ │ -0005a150: 6265 6c6f 7720 6561 6368 206f 7468 6572 below each other │ │ │ -0005a160: 2e20 5468 656e 2074 6865 2046 6c5f 5061 . Then the Fl_Pa │ │ │ -0005a170: 636b 2072 6573 697a 6573 2069 7473 656c ck resizes itsel │ │ │ -0005a180: 6620 746f 2073 7572 726f 756e 6420 7468 f to surround th │ │ │ -0005a190: 6520 6368 696c 6420 0a20 2020 2077 6964 e child . wid │ │ │ -0005a1a0: 6765 7473 2e0a 0a20 2020 2054 6869 7320 gets... This │ │ │ -0005a1b0: 7769 6467 6574 2069 7320 6e65 6564 6564 widget is needed │ │ │ -0005a1c0: 2066 6f72 2074 6865 2046 6c5f 5461 6273 for the Fl_Tabs │ │ │ -0005a1d0: 2e20 496e 2061 6464 6974 696f 6e20 796f . In addition yo │ │ │ -0005a1e0: 7520 6d61 7920 7761 6e74 2074 6f20 7075 u may want to pu │ │ │ -0005a1f0: 7420 7468 6520 0a20 2020 2046 6c5f 5061 t the . Fl_Pa │ │ │ -0005a200: 636b 2069 6e73 6964 6520 616e 2046 6c5f ck inside an Fl_ │ │ │ -0005a210: 5363 726f 6c6c 2e20 0a0a 2020 2020 2222 Scroll. .. "" │ │ │ -0005a220: 220a 0a20 2020 2074 6869 736f 776e 203d ".. thisown = │ │ │ -0005a230: 2070 726f 7065 7274 7928 6c61 6d62 6461 property(lambda │ │ │ -0005a240: 2078 3a20 782e 7468 6973 2e6f 776e 2829 x: x.this.own() │ │ │ -0005a250: 2c20 6c61 6d62 6461 2078 2c20 763a 2078 , lambda x, v: x │ │ │ -0005a260: 2e74 6869 732e 6f77 6e28 7629 2c20 646f .this.own(v), do │ │ │ -0005a270: 633d 2254 6865 206d 656d 6265 7273 6869 c="The membershi │ │ │ -0005a280: 7020 666c 6167 2229 0a20 2020 205f 5f72 p flag"). __r │ │ │ -0005a290: 6570 725f 5f20 3d20 5f73 7769 675f 7265 epr__ = _swig_re │ │ │ -0005a2a0: 7072 0a20 2020 2056 4552 5449 4341 4c20 pr. VERTICAL │ │ │ -0005a2b0: 3d20 5f66 6c74 6b2e 466c 5f50 6163 6b5f = _fltk.Fl_Pack_ │ │ │ -0005a2c0: 5645 5254 4943 414c 0a20 2020 200a 2020 VERTICAL. . │ │ │ -0005a2d0: 2020 484f 5249 5a4f 4e54 414c 203d 205f HORIZONTAL = _ │ │ │ -0005a2e0: 666c 746b 2e46 6c5f 5061 636b 5f48 4f52 fltk.Fl_Pack_HOR │ │ │ -0005a2f0: 495a 4f4e 5441 4c0a 2020 2020 0a0a 2020 IZONTAL. .. │ │ │ -0005a300: 2020 6465 6620 6472 6177 2873 656c 662c def draw(self, │ │ │ -0005a310: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -0005a320: 2072 2222 2264 7261 7728 466c 5f50 6163 r"""draw(Fl_Pac │ │ │ -0005a330: 6b20 7365 6c66 2922 2222 0a20 2020 2020 k self)""". │ │ │ -0005a340: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -0005a350: 466c 5f50 6163 6b5f 6472 6177 2873 656c Fl_Pack_draw(sel │ │ │ -0005a360: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -0005a370: 6566 205f 5f69 6e69 745f 5f28 7365 6c66 ef __init__(self │ │ │ -0005a380: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -0005a390: 2020 7222 2222 5f5f 696e 6974 5f5f 2846 r"""__init__(F │ │ │ -0005a3a0: 6c5f 5061 636b 2073 656c 662c 2069 6e74 l_Pack self, int │ │ │ -0005a3b0: 2058 2c20 696e 7420 592c 2069 6e74 2057 X, int Y, int W │ │ │ -0005a3c0: 2c20 696e 7420 482c 2063 6861 7220 636f , int H, char co │ │ │ -0005a3d0: 6e73 7420 2a20 4c3d 4e6f 6e65 2920 2d3e nst * L=None) -> │ │ │ -0005a3e0: 2046 6c5f 5061 636b 2222 220a 2020 2020 Fl_Pack""". │ │ │ -0005a3f0: 2020 2020 6966 2073 656c 662e 5f5f 636c if self.__cl │ │ │ -0005a400: 6173 735f 5f20 3d3d 2046 6c5f 5061 636b ass__ == Fl_Pack │ │ │ -0005a410: 3a0a 2020 2020 2020 2020 2020 2020 5f73 :. _s │ │ │ -0005a420: 656c 6620 3d20 4e6f 6e65 0a20 2020 2020 elf = None. │ │ │ -0005a430: 2020 2065 6c73 653a 0a20 2020 2020 2020 else:. │ │ │ -0005a440: 2020 2020 205f 7365 6c66 203d 2073 656c _self = sel │ │ │ -0005a450: 660a 2020 2020 2020 2020 5f66 6c74 6b2e f. _fltk. │ │ │ -0005a460: 466c 5f50 6163 6b5f 7377 6967 696e 6974 Fl_Pack_swiginit │ │ │ -0005a470: 2873 656c 662c 205f 666c 746b 2e6e 6577 (self, _fltk.new │ │ │ -0005a480: 5f46 6c5f 5061 636b 285f 7365 6c66 2c20 _Fl_Pack(_self, │ │ │ -0005a490: 2a61 7267 7329 290a 0a20 2020 2020 2020 *args)).. │ │ │ -0005a4a0: 2069 6620 6c65 6e28 6172 6773 2920 3d3d if len(args) == │ │ │ -0005a4b0: 2035 3a20 2020 2020 2020 2020 200a 2020 5: . │ │ │ -0005a4c0: 2020 2020 2020 2372 6574 6169 6e20 7265 #retain re │ │ │ -0005a4d0: 6665 7265 6e63 6520 746f 206c 6162 656c ference to label │ │ │ -0005a4e0: 0a20 2020 2020 2020 2020 2020 2073 656c . sel │ │ │ -0005a4f0: 662e 6d79 5f6c 6162 656c 203d 2061 7267 f.my_label = arg │ │ │ -0005a500: 735b 2d31 5d0a 2020 2020 2020 2020 6966 s[-1]. if │ │ │ -0005a510: 2073 656c 662e 7061 7265 6e74 2829 2021 self.parent() ! │ │ │ -0005a520: 3d20 4e6f 6e65 3a20 2020 0a20 2020 2020 = None: . │ │ │ -0005a530: 2020 2023 6465 6c65 6761 7465 206f 776e #delegate own │ │ │ -0005a540: 6572 7368 6970 2074 6f20 432b 2b0a 2020 ership to C++. │ │ │ -0005a550: 2020 2020 2020 2020 2020 7365 6c66 2e74 self.t │ │ │ -0005a560: 6869 732e 6469 736f 776e 2829 0a20 2020 his.disown(). │ │ │ -0005a570: 2020 2020 2073 656c 662e 696e 6974 5f74 self.init_t │ │ │ -0005a580: 7970 6528 2246 6c5f 5061 636b 2229 0a20 ype("Fl_Pack"). │ │ │ -0005a590: 2020 2020 2020 2023 7072 696e 7428 2241 #print("A │ │ │ -0005a5a0: 6464 696e 6720 7479 7065 3a20 222c 2046 dding type: ", F │ │ │ -0005a5b0: 6c5f 5061 636b 290a 0a0a 0a0a 2020 2020 l_Pack)..... │ │ │ -0005a5c0: 6465 6620 7370 6163 696e 6728 7365 6c66 def spacing(self │ │ │ -0005a5d0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -0005a5e0: 2020 7222 2222 0a20 2020 2020 2020 2073 r""". s │ │ │ -0005a5f0: 7061 6369 6e67 2846 6c5f 5061 636b 2073 pacing(Fl_Pack s │ │ │ -0005a600: 656c 6629 202d 3e20 696e 740a 2020 2020 elf) -> int. │ │ │ -0005a610: 2020 2020 7370 6163 696e 6728 466c 5f50 spacing(Fl_P │ │ │ -0005a620: 6163 6b20 7365 6c66 2c20 696e 7420 6929 ack self, int i) │ │ │ -0005a630: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ -0005a640: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -0005a650: 6b2e 466c 5f50 6163 6b5f 7370 6163 696e k.Fl_Pack_spacin │ │ │ -0005a660: 6728 7365 6c66 2c20 2a61 7267 7329 0a0a g(self, *args).. │ │ │ -0005a670: 2020 2020 6465 6620 686f 7269 7a6f 6e74 def horizont │ │ │ -0005a680: 616c 2873 656c 662c 202a 6172 6773 293a al(self, *args): │ │ │ -0005a690: 0a20 2020 2020 2020 2072 2222 2268 6f72 . r"""hor │ │ │ -0005a6a0: 697a 6f6e 7461 6c28 466c 5f50 6163 6b20 izontal(Fl_Pack │ │ │ -0005a6b0: 7365 6c66 2920 2d3e 2075 6368 6172 2222 self) -> uchar"" │ │ │ -0005a6c0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -0005a6d0: 205f 666c 746b 2e46 6c5f 5061 636b 5f68 _fltk.Fl_Pack_h │ │ │ -0005a6e0: 6f72 697a 6f6e 7461 6c28 7365 6c66 2c20 orizontal(self, │ │ │ -0005a6f0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -0005a700: 7265 7369 7a65 2873 656c 662c 202a 6172 resize(self, *ar │ │ │ -0005a710: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -0005a720: 2272 6573 697a 6528 466c 5f50 6163 6b20 "resize(Fl_Pack │ │ │ -0005a730: 7365 6c66 2c20 696e 7420 582c 2069 6e74 self, int X, int │ │ │ -0005a740: 2059 2c20 696e 7420 572c 2069 6e74 2048 Y, int W, int H │ │ │ -0005a750: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ -0005a760: 7572 6e20 5f66 6c74 6b2e 466c 5f50 6163 urn _fltk.Fl_Pac │ │ │ -0005a770: 6b5f 7265 7369 7a65 2873 656c 662c 202a k_resize(self, * │ │ │ -0005a780: 6172 6773 290a 0a20 2020 2064 6566 2063 args).. def c │ │ │ -0005a790: 6c65 6172 2873 656c 662c 202a 6172 6773 lear(self, *args │ │ │ -0005a7a0: 293a 0a20 2020 2020 2020 2072 2222 2263 ):. r"""c │ │ │ -0005a7b0: 6c65 6172 2846 6c5f 5061 636b 2073 656c lear(Fl_Pack sel │ │ │ -0005a7c0: 6629 2222 220a 2020 2020 2020 2020 7265 f)""". re │ │ │ -0005a7d0: 7475 726e 205f 666c 746b 2e46 6c5f 5061 turn _fltk.Fl_Pa │ │ │ -0005a7e0: 636b 5f63 6c65 6172 2873 656c 662c 202a ck_clear(self, * │ │ │ -0005a7f0: 6172 6773 290a 0a20 2020 2064 6566 2069 args).. def i │ │ │ -0005a800: 6e69 745f 7479 7065 2873 656c 662c 202a nit_type(self, * │ │ │ -0005a810: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -0005a820: 2222 2269 6e69 745f 7479 7065 2846 6c5f """init_type(Fl_ │ │ │ -0005a830: 5061 636b 2073 656c 662c 2063 6861 7220 Pack self, char │ │ │ -0005a840: 2a20 466c 5f50 6163 6b29 2222 220a 2020 * Fl_Pack)""". │ │ │ -0005a850: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -0005a860: 746b 2e46 6c5f 5061 636b 5f69 6e69 745f tk.Fl_Pack_init_ │ │ │ -0005a870: 7479 7065 2873 656c 662c 202a 6172 6773 type(self, *args │ │ │ -0005a880: 290a 2020 2020 5f5f 7377 6967 5f64 6573 ). __swig_des │ │ │ -0005a890: 7472 6f79 5f5f 203d 205f 666c 746b 2e64 troy__ = _fltk.d │ │ │ -0005a8a0: 656c 6574 655f 466c 5f50 6163 6b0a 2020 elete_Fl_Pack. │ │ │ -0005a8b0: 2020 6465 6620 5f5f 6469 736f 776e 5f5f def __disown__ │ │ │ -0005a8c0: 2873 656c 6629 3a0a 2020 2020 2020 2020 (self):. │ │ │ -0005a8d0: 7365 6c66 2e74 6869 732e 6469 736f 776e self.this.disown │ │ │ -0005a8e0: 2829 0a20 2020 2020 2020 205f 666c 746b (). _fltk │ │ │ -0005a8f0: 2e64 6973 6f77 6e5f 466c 5f50 6163 6b28 .disown_Fl_Pack( │ │ │ -0005a900: 7365 6c66 290a 2020 2020 2020 2020 7265 self). re │ │ │ -0005a910: 7475 726e 2077 6561 6b72 6566 2e70 726f turn weakref.pro │ │ │ -0005a920: 7879 2873 656c 6629 0a0a 2320 5265 6769 xy(self)..# Regi │ │ │ -0005a930: 7374 6572 2046 6c5f 5061 636b 2069 6e20 ster Fl_Pack in │ │ │ -0005a940: 5f66 6c74 6b3a 0a5f 666c 746b 2e46 6c5f _fltk:._fltk.Fl_ │ │ │ -0005a950: 5061 636b 5f73 7769 6772 6567 6973 7465 Pack_swigregiste │ │ │ -0005a960: 7228 466c 5f50 6163 6b29 0a63 6c61 7373 r(Fl_Pack).class │ │ │ -0005a970: 2046 6c5f 504e 475f 496d 6167 6528 466c Fl_PNG_Image(Fl │ │ │ -0005a980: 5f52 4742 5f49 6d61 6765 293a 0a20 2020 _RGB_Image):. │ │ │ -0005a990: 2072 2222 220a 0a20 2020 2054 6865 2046 r""".. The F │ │ │ -0005a9a0: 6c5f 504e 475f 496d 6167 6520 636c 6173 l_PNG_Image clas │ │ │ -0005a9b0: 7320 7375 7070 6f72 7473 206c 6f61 6469 s supports loadi │ │ │ -0005a9c0: 6e67 2c20 6361 6368 696e 672c 2061 6e64 ng, caching, and │ │ │ -0005a9d0: 2064 7261 7769 6e67 206f 6620 506f 7274 drawing of Port │ │ │ -0005a9e0: 6162 6c65 200a 2020 2020 4e65 7477 6f72 able . Networ │ │ │ -0005a9f0: 6b20 4772 6170 6869 6373 2028 504e 4729 k Graphics (PNG) │ │ │ -0005aa00: 2069 6d61 6765 2066 696c 6573 2e20 5468 image files. Th │ │ │ -0005aa10: 6520 636c 6173 7320 6c6f 6164 7320 636f e class loads co │ │ │ -0005aa20: 6c6f 726d 6170 7065 6420 616e 6420 0a20 lormapped and . │ │ │ -0005aa30: 2020 2066 756c 6c2d 636f 6c6f 7220 696d full-color im │ │ │ -0005aa40: 6167 6573 2061 6e64 2068 616e 646c 6573 ages and handles │ │ │ -0005aa50: 2063 6f6c 6f72 2d20 616e 6420 616c 7068 color- and alph │ │ │ -0005aa60: 612d 6261 7365 6420 7472 616e 7370 6172 a-based transpar │ │ │ -0005aa70: 656e 6379 2e0a 0a20 2020 2022 2222 0a0a ency... """.. │ │ │ -0005aa80: 2020 2020 7468 6973 6f77 6e20 3d20 7072 thisown = pr │ │ │ -0005aa90: 6f70 6572 7479 286c 616d 6264 6120 783a operty(lambda x: │ │ │ -0005aaa0: 2078 2e74 6869 732e 6f77 6e28 292c 206c x.this.own(), l │ │ │ -0005aab0: 616d 6264 6120 782c 2076 3a20 782e 7468 ambda x, v: x.th │ │ │ -0005aac0: 6973 2e6f 776e 2876 292c 2064 6f63 3d22 is.own(v), doc=" │ │ │ -0005aad0: 5468 6520 6d65 6d62 6572 7368 6970 2066 The membership f │ │ │ -0005aae0: 6c61 6722 290a 2020 2020 5f5f 7265 7072 lag"). __repr │ │ │ -0005aaf0: 5f5f 203d 205f 7377 6967 5f72 6570 720a __ = _swig_repr. │ │ │ -0005ab00: 0a20 2020 2064 6566 205f 5f69 6e69 745f . def __init_ │ │ │ -0005ab10: 5f28 7365 6c66 2c20 2a61 7267 7329 3a0a _(self, *args):. │ │ │ -0005ab20: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ -0005ab30: 2020 2020 205f 5f69 6e69 745f 5f28 466c __init__(Fl │ │ │ -0005ab40: 5f50 4e47 5f49 6d61 6765 2073 656c 662c _PNG_Image self, │ │ │ -0005ab50: 2063 6861 7220 636f 6e73 7420 2a20 6669 char const * fi │ │ │ -0005ab60: 6c65 6e61 6d65 2920 2d3e 2046 6c5f 504e lename) -> Fl_PN │ │ │ -0005ab70: 475f 496d 6167 650a 2020 2020 2020 2020 G_Image. │ │ │ -0005ab80: 5f5f 696e 6974 5f5f 2846 6c5f 504e 475f __init__(Fl_PNG_ │ │ │ -0005ab90: 496d 6167 6520 7365 6c66 2c20 6368 6172 Image self, char │ │ │ -0005aba0: 2063 6f6e 7374 202a 206e 616d 655f 706e const * name_pn │ │ │ -0005abb0: 672c 2075 6e73 6967 6e65 6420 6368 6172 g, unsigned char │ │ │ -0005abc0: 2063 6f6e 7374 202a 2062 7566 6665 722c const * buffer, │ │ │ -0005abd0: 2069 6e74 2064 6174 6173 697a 6529 202d int datasize) - │ │ │ -0005abe0: 3e20 466c 5f50 4e47 5f49 6d61 6765 0a20 > Fl_PNG_Image. │ │ │ -0005abf0: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ -0005ac00: 2020 2069 6620 7365 6c66 2e5f 5f63 6c61 if self.__cla │ │ │ -0005ac10: 7373 5f5f 203d 3d20 466c 5f50 4e47 5f49 ss__ == Fl_PNG_I │ │ │ -0005ac20: 6d61 6765 3a0a 2020 2020 2020 2020 2020 mage:. │ │ │ -0005ac30: 2020 5f73 656c 6620 3d20 4e6f 6e65 0a20 _self = None. │ │ │ -0005ac40: 2020 2020 2020 2065 6c73 653a 0a20 2020 else:. │ │ │ -0005ac50: 2020 2020 2020 2020 205f 7365 6c66 203d _self = │ │ │ -0005ac60: 2073 656c 660a 2020 2020 2020 2020 5f66 self. _f │ │ │ -0005ac70: 6c74 6b2e 466c 5f50 4e47 5f49 6d61 6765 ltk.Fl_PNG_Image │ │ │ -0005ac80: 5f73 7769 6769 6e69 7428 7365 6c66 2c20 _swiginit(self, │ │ │ -0005ac90: 5f66 6c74 6b2e 6e65 775f 466c 5f50 4e47 _fltk.new_Fl_PNG │ │ │ -0005aca0: 5f49 6d61 6765 285f 7365 6c66 2c20 2a61 _Image(_self, *a │ │ │ -0005acb0: 7267 7329 290a 2020 2020 5f5f 7377 6967 rgs)). __swig │ │ │ -0005acc0: 5f64 6573 7472 6f79 5f5f 203d 205f 666c _destroy__ = _fl │ │ │ -0005acd0: 746b 2e64 656c 6574 655f 466c 5f50 4e47 tk.delete_Fl_PNG │ │ │ -0005ace0: 5f49 6d61 6765 0a20 2020 2064 6566 205f _Image. def _ │ │ │ -0005acf0: 5f64 6973 6f77 6e5f 5f28 7365 6c66 293a _disown__(self): │ │ │ -0005ad00: 0a20 2020 2020 2020 2073 656c 662e 7468 . self.th │ │ │ -0005ad10: 6973 2e64 6973 6f77 6e28 290a 2020 2020 is.disown(). │ │ │ -0005ad20: 2020 2020 5f66 6c74 6b2e 6469 736f 776e _fltk.disown │ │ │ -0005ad30: 5f46 6c5f 504e 475f 496d 6167 6528 7365 _Fl_PNG_Image(se │ │ │ -0005ad40: 6c66 290a 2020 2020 2020 2020 7265 7475 lf). retu │ │ │ -0005ad50: 726e 2077 6561 6b72 6566 2e70 726f 7879 rn weakref.proxy │ │ │ -0005ad60: 2873 656c 6629 0a0a 2320 5265 6769 7374 (self)..# Regist │ │ │ -0005ad70: 6572 2046 6c5f 504e 475f 496d 6167 6520 er Fl_PNG_Image │ │ │ -0005ad80: 696e 205f 666c 746b 3a0a 5f66 6c74 6b2e in _fltk:._fltk. │ │ │ -0005ad90: 466c 5f50 4e47 5f49 6d61 6765 5f73 7769 Fl_PNG_Image_swi │ │ │ -0005ada0: 6772 6567 6973 7465 7228 466c 5f50 4e47 gregister(Fl_PNG │ │ │ -0005adb0: 5f49 6d61 6765 290a 0a64 6566 2066 6c5f _Image)..def fl_ │ │ │ -0005adc0: 7772 6974 655f 706e 6728 2a61 7267 7329 write_png(*args) │ │ │ -0005add0: 3a0a 2020 2020 7222 2222 0a20 2020 2066 :. r""". f │ │ │ -0005ade0: 6c5f 7772 6974 655f 706e 6728 6368 6172 l_write_png(char │ │ │ -0005adf0: 2063 6f6e 7374 202a 2066 696c 656e 616d const * filenam │ │ │ -0005ae00: 652c 2046 6c5f 5247 425f 496d 6167 6520 e, Fl_RGB_Image │ │ │ -0005ae10: 696d 6729 202d 3e20 696e 740a 2020 2020 img) -> int. │ │ │ -0005ae20: 666c 5f77 7269 7465 5f70 6e67 2863 6861 fl_write_png(cha │ │ │ -0005ae30: 7220 636f 6e73 7420 2a20 6669 6c65 6e61 r const * filena │ │ │ -0005ae40: 6d65 2c20 6368 6172 2063 6f6e 7374 202a me, char const * │ │ │ -0005ae50: 2070 6978 656c 732c 2069 6e74 2077 2c20 pixels, int w, │ │ │ -0005ae60: 696e 7420 682c 2069 6e74 2064 3d33 2c20 int h, int d=3, │ │ │ -0005ae70: 696e 7420 6c64 3d30 2920 2d3e 2069 6e74 int ld=0) -> int │ │ │ -0005ae80: 0a20 2020 2066 6c5f 7772 6974 655f 706e . fl_write_pn │ │ │ -0005ae90: 6728 6368 6172 2063 6f6e 7374 202a 2066 g(char const * f │ │ │ -0005aea0: 696c 656e 616d 652c 2075 6e73 6967 6e65 ilename, unsigne │ │ │ -0005aeb0: 6420 6368 6172 2063 6f6e 7374 202a 2070 d char const * p │ │ │ -0005aec0: 6978 656c 732c 2069 6e74 2077 2c20 696e ixels, int w, in │ │ │ -0005aed0: 7420 682c 2069 6e74 2064 3d33 2c20 696e t h, int d=3, in │ │ │ -0005aee0: 7420 6c64 3d30 2920 2d3e 2069 6e74 0a20 t ld=0) -> int. │ │ │ -0005aef0: 2020 2022 2222 0a20 2020 2072 6574 7572 """. retur │ │ │ -0005af00: 6e20 5f66 6c74 6b2e 666c 5f77 7269 7465 n _fltk.fl_write │ │ │ -0005af10: 5f70 6e67 282a 6172 6773 290a 636c 6173 _png(*args).clas │ │ │ -0005af20: 7320 466c 5f50 4e4d 5f49 6d61 6765 2846 s Fl_PNM_Image(F │ │ │ -0005af30: 6c5f 5247 425f 496d 6167 6529 3a0a 2020 l_RGB_Image):. │ │ │ -0005af40: 2020 7222 2222 0a0a 2020 2020 5468 6520 r""".. The │ │ │ -0005af50: 466c 5f50 4e4d 5f49 6d61 6765 2063 6c61 Fl_PNM_Image cla │ │ │ -0005af60: 7373 2073 7570 706f 7274 7320 6c6f 6164 ss supports load │ │ │ -0005af70: 696e 672c 2063 6163 6869 6e67 2c20 616e ing, caching, an │ │ │ -0005af80: 6420 6472 6177 696e 6720 6f66 2050 6f72 d drawing of Por │ │ │ -0005af90: 7461 626c 6520 0a20 2020 2041 6e79 6d61 table . Anyma │ │ │ -0005afa0: 7020 2850 4e4d 2c20 5042 4d2c 2050 474d p (PNM, PBM, PGM │ │ │ -0005afb0: 2c20 5050 4d29 2069 6d61 6765 2066 696c , PPM) image fil │ │ │ -0005afc0: 6573 2e20 5468 6520 636c 6173 7320 6c6f es. The class lo │ │ │ -0005afd0: 6164 7320 6269 746d 6170 2c20 6772 6179 ads bitmap, gray │ │ │ -0005afe0: 7363 616c 652c 200a 2020 2020 616e 6420 scale, . and │ │ │ -0005aff0: 6675 6c6c 2d63 6f6c 6f72 2069 6d61 6765 full-color image │ │ │ -0005b000: 7320 696e 2062 6f74 6820 4153 4349 4920 s in both ASCII │ │ │ -0005b010: 616e 6420 6269 6e61 7279 2066 6f72 6d61 and binary forma │ │ │ -0005b020: 7473 2e0a 0a20 2020 2022 2222 0a0a 2020 ts... """.. │ │ │ -0005b030: 2020 7468 6973 6f77 6e20 3d20 7072 6f70 thisown = prop │ │ │ -0005b040: 6572 7479 286c 616d 6264 6120 783a 2078 erty(lambda x: x │ │ │ -0005b050: 2e74 6869 732e 6f77 6e28 292c 206c 616d .this.own(), lam │ │ │ -0005b060: 6264 6120 782c 2076 3a20 782e 7468 6973 bda x, v: x.this │ │ │ -0005b070: 2e6f 776e 2876 292c 2064 6f63 3d22 5468 .own(v), doc="Th │ │ │ -0005b080: 6520 6d65 6d62 6572 7368 6970 2066 6c61 e membership fla │ │ │ -0005b090: 6722 290a 2020 2020 5f5f 7265 7072 5f5f g"). __repr__ │ │ │ -0005b0a0: 203d 205f 7377 6967 5f72 6570 720a 0a20 = _swig_repr.. │ │ │ -0005b0b0: 2020 2064 6566 205f 5f69 6e69 745f 5f28 def __init__( │ │ │ -0005b0c0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -0005b0d0: 2020 2020 2020 7222 2222 5f5f 696e 6974 r"""__init │ │ │ -0005b0e0: 5f5f 2846 6c5f 504e 4d5f 496d 6167 6520 __(Fl_PNM_Image │ │ │ -0005b0f0: 7365 6c66 2c20 6368 6172 2063 6f6e 7374 self, char const │ │ │ -0005b100: 202a 2066 696c 656e 616d 6529 202d 3e20 * filename) -> │ │ │ -0005b110: 466c 5f50 4e4d 5f49 6d61 6765 2222 220a Fl_PNM_Image""". │ │ │ -0005b120: 2020 2020 2020 2020 6966 2073 656c 662e if self. │ │ │ -0005b130: 5f5f 636c 6173 735f 5f20 3d3d 2046 6c5f __class__ == Fl_ │ │ │ -0005b140: 504e 4d5f 496d 6167 653a 0a20 2020 2020 PNM_Image:. │ │ │ -0005b150: 2020 2020 2020 205f 7365 6c66 203d 204e _self = N │ │ │ -0005b160: 6f6e 650a 2020 2020 2020 2020 656c 7365 one. else │ │ │ -0005b170: 3a0a 2020 2020 2020 2020 2020 2020 5f73 :. _s │ │ │ -0005b180: 656c 6620 3d20 7365 6c66 0a20 2020 2020 elf = self. │ │ │ -0005b190: 2020 205f 666c 746b 2e46 6c5f 504e 4d5f _fltk.Fl_PNM_ │ │ │ -0005b1a0: 496d 6167 655f 7377 6967 696e 6974 2873 Image_swiginit(s │ │ │ -0005b1b0: 656c 662c 205f 666c 746b 2e6e 6577 5f46 elf, _fltk.new_F │ │ │ -0005b1c0: 6c5f 504e 4d5f 496d 6167 6528 5f73 656c l_PNM_Image(_sel │ │ │ -0005b1d0: 662c 202a 6172 6773 2929 0a20 2020 205f f, *args)). _ │ │ │ -0005b1e0: 5f73 7769 675f 6465 7374 726f 795f 5f20 _swig_destroy__ │ │ │ -0005b1f0: 3d20 5f66 6c74 6b2e 6465 6c65 7465 5f46 = _fltk.delete_F │ │ │ -0005b200: 6c5f 504e 4d5f 496d 6167 650a 2020 2020 l_PNM_Image. │ │ │ -0005b210: 6465 6620 5f5f 6469 736f 776e 5f5f 2873 def __disown__(s │ │ │ -0005b220: 656c 6629 3a0a 2020 2020 2020 2020 7365 elf):. se │ │ │ -0005b230: 6c66 2e74 6869 732e 6469 736f 776e 2829 lf.this.disown() │ │ │ -0005b240: 0a20 2020 2020 2020 205f 666c 746b 2e64 . _fltk.d │ │ │ -0005b250: 6973 6f77 6e5f 466c 5f50 4e4d 5f49 6d61 isown_Fl_PNM_Ima │ │ │ -0005b260: 6765 2873 656c 6629 0a20 2020 2020 2020 ge(self). │ │ │ -0005b270: 2072 6574 7572 6e20 7765 616b 7265 662e return weakref. │ │ │ -0005b280: 7072 6f78 7928 7365 6c66 290a 0a23 2052 proxy(self)..# R │ │ │ -0005b290: 6567 6973 7465 7220 466c 5f50 4e4d 5f49 egister Fl_PNM_I │ │ │ -0005b2a0: 6d61 6765 2069 6e20 5f66 6c74 6b3a 0a5f mage in _fltk:._ │ │ │ -0005b2b0: 666c 746b 2e46 6c5f 504e 4d5f 496d 6167 fltk.Fl_PNM_Imag │ │ │ -0005b2c0: 655f 7377 6967 7265 6769 7374 6572 2846 e_swigregister(F │ │ │ -0005b2d0: 6c5f 504e 4d5f 496d 6167 6529 0a63 6c61 l_PNM_Image).cla │ │ │ -0005b2e0: 7373 2046 6c5f 506f 7369 7469 6f6e 6572 ss Fl_Positioner │ │ │ -0005b2f0: 2846 6c5f 5769 6467 6574 293a 0a20 2020 (Fl_Widget):. │ │ │ -0005b300: 2072 2222 220a 0a20 2020 2054 6869 7320 r""".. This │ │ │ -0005b310: 636c 6173 7320 6973 2070 726f 7669 6465 class is provide │ │ │ -0005b320: 6420 666f 7220 466f 726d 7320 636f 6d70 d for Forms comp │ │ │ -0005b330: 6174 6962 696c 6974 792e 2049 7420 7072 atibility. It pr │ │ │ -0005b340: 6f76 6964 6573 2032 4420 696e 7075 742e ovides 2D input. │ │ │ -0005b350: 2049 7420 0a20 2020 2077 6f75 6c64 2062 It . would b │ │ │ -0005b360: 6520 7573 6566 756c 2069 6620 7468 6973 e useful if this │ │ │ -0005b370: 2063 6f75 6c64 2062 6520 7075 7420 6174 could be put at │ │ │ -0005b380: 6f70 2061 6e6f 7468 6572 2077 6964 6765 op another widge │ │ │ -0005b390: 7420 736f 2074 6861 7420 7468 6520 0a20 t so that the . │ │ │ -0005b3a0: 2020 2063 726f 7373 6861 6972 7320 6172 crosshairs ar │ │ │ -0005b3b0: 6520 6f6e 2074 6f70 2c20 6275 7420 7468 e on top, but th │ │ │ -0005b3c0: 6973 2069 7320 6e6f 7420 696d 706c 656d is is not implem │ │ │ -0005b3d0: 656e 7465 642e 2054 6865 2063 6f6c 6f72 ented. The color │ │ │ -0005b3e0: 206f 6620 7468 6520 0a20 2020 2063 726f of the . cro │ │ │ -0005b3f0: 7373 6861 6972 7320 6973 2073 656c 6563 sshairs is selec │ │ │ -0005b400: 7469 6f6e 5f63 6f6c 6f72 2829 2e0a 0a20 tion_color()... │ │ │ -0005b410: 2020 2022 2222 0a0a 2020 2020 7468 6973 """.. this │ │ │ -0005b420: 6f77 6e20 3d20 7072 6f70 6572 7479 286c own = property(l │ │ │ -0005b430: 616d 6264 6120 783a 2078 2e74 6869 732e ambda x: x.this. │ │ │ -0005b440: 6f77 6e28 292c 206c 616d 6264 6120 782c own(), lambda x, │ │ │ -0005b450: 2076 3a20 782e 7468 6973 2e6f 776e 2876 v: x.this.own(v │ │ │ -0005b460: 292c 2064 6f63 3d22 5468 6520 6d65 6d62 ), doc="The memb │ │ │ -0005b470: 6572 7368 6970 2066 6c61 6722 290a 2020 ership flag"). │ │ │ -0005b480: 2020 5f5f 7265 7072 5f5f 203d 205f 7377 __repr__ = _sw │ │ │ -0005b490: 6967 5f72 6570 720a 0a20 2020 2064 6566 ig_repr.. def │ │ │ -0005b4a0: 2064 7261 7728 7365 6c66 2c20 2a61 7267 draw(self, *arg │ │ │ -0005b4b0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0005b4c0: 6472 6177 2846 6c5f 506f 7369 7469 6f6e draw(Fl_Position │ │ │ -0005b4d0: 6572 2073 656c 6629 2222 220a 2020 2020 er self)""". │ │ │ -0005b4e0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -0005b4f0: 2e46 6c5f 506f 7369 7469 6f6e 6572 5f64 .Fl_Positioner_d │ │ │ -0005b500: 7261 7728 7365 6c66 2c20 2a61 7267 7329 raw(self, *args) │ │ │ -0005b510: 0a0a 2020 2020 6465 6620 6861 6e64 6c65 .. def handle │ │ │ -0005b520: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -0005b530: 2020 2020 2020 2072 2222 2268 616e 646c r"""handl │ │ │ -0005b540: 6528 466c 5f50 6f73 6974 696f 6e65 7220 e(Fl_Positioner │ │ │ -0005b550: 7365 6c66 2c20 696e 7420 6172 6730 2920 self, int arg0) │ │ │ -0005b560: 2d3e 2069 6e74 2222 220a 2020 2020 2020 -> int""". │ │ │ -0005b570: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -0005b580: 6c5f 506f 7369 7469 6f6e 6572 5f68 616e l_Positioner_han │ │ │ -0005b590: 646c 6528 7365 6c66 2c20 2a61 7267 7329 dle(self, *args) │ │ │ -0005b5a0: 0a0a 2020 2020 6465 6620 5f5f 696e 6974 .. def __init │ │ │ -0005b5b0: 5f5f 2873 656c 662c 202a 6172 6773 293a __(self, *args): │ │ │ -0005b5c0: 0a20 2020 2020 2020 2072 2222 225f 5f69 . r"""__i │ │ │ -0005b5d0: 6e69 745f 5f28 466c 5f50 6f73 6974 696f nit__(Fl_Positio │ │ │ -0005b5e0: 6e65 7220 7365 6c66 2c20 696e 7420 782c ner self, int x, │ │ │ -0005b5f0: 2069 6e74 2079 2c20 696e 7420 772c 2069 int y, int w, i │ │ │ -0005b600: 6e74 2068 2c20 6368 6172 2063 6f6e 7374 nt h, char const │ │ │ -0005b610: 202a 206c 3d4e 6f6e 6529 202d 3e20 466c * l=None) -> Fl │ │ │ -0005b620: 5f50 6f73 6974 696f 6e65 7222 2222 0a20 _Positioner""". │ │ │ -0005b630: 2020 2020 2020 2069 6620 7365 6c66 2e5f if self._ │ │ │ -0005b640: 5f63 6c61 7373 5f5f 203d 3d20 466c 5f50 _class__ == Fl_P │ │ │ -0005b650: 6f73 6974 696f 6e65 723a 0a20 2020 2020 ositioner:. │ │ │ -0005b660: 2020 2020 2020 205f 7365 6c66 203d 204e _self = N │ │ │ -0005b670: 6f6e 650a 2020 2020 2020 2020 656c 7365 one. else │ │ │ -0005b680: 3a0a 2020 2020 2020 2020 2020 2020 5f73 :. _s │ │ │ -0005b690: 656c 6620 3d20 7365 6c66 0a20 2020 2020 elf = self. │ │ │ -0005b6a0: 2020 205f 666c 746b 2e46 6c5f 506f 7369 _fltk.Fl_Posi │ │ │ -0005b6b0: 7469 6f6e 6572 5f73 7769 6769 6e69 7428 tioner_swiginit( │ │ │ -0005b6c0: 7365 6c66 2c20 5f66 6c74 6b2e 6e65 775f self, _fltk.new_ │ │ │ -0005b6d0: 466c 5f50 6f73 6974 696f 6e65 7228 5f73 Fl_Positioner(_s │ │ │ -0005b6e0: 656c 662c 202a 6172 6773 2929 0a0a 2020 elf, *args)).. │ │ │ -0005b6f0: 2020 2020 2020 6966 206c 656e 2861 7267 if len(arg │ │ │ -0005b700: 7329 203d 3d20 353a 2020 2020 2020 2020 s) == 5: │ │ │ -0005b710: 2020 0a20 2020 2020 2020 2023 7265 7461 . #reta │ │ │ -0005b720: 696e 2072 6566 6572 656e 6365 2074 6f20 in reference to │ │ │ -0005b730: 6c61 6265 6c0a 2020 2020 2020 2020 2020 label. │ │ │ -0005b740: 2020 7365 6c66 2e6d 795f 6c61 6265 6c20 self.my_label │ │ │ -0005b750: 3d20 6172 6773 5b2d 315d 0a20 2020 2020 = args[-1]. │ │ │ -0005b760: 2020 2069 6620 7365 6c66 2e70 6172 656e if self.paren │ │ │ -0005b770: 7428 2920 213d 204e 6f6e 653a 2020 200a t() != None: . │ │ │ -0005b780: 2020 2020 2020 2020 2364 656c 6567 6174 #delegat │ │ │ -0005b790: 6520 6f77 6e65 7273 6869 7020 746f 2043 e ownership to C │ │ │ -0005b7a0: 2b2b 0a20 2020 2020 2020 2020 2020 2073 ++. s │ │ │ -0005b7b0: 656c 662e 7468 6973 2e64 6973 6f77 6e28 elf.this.disown( │ │ │ -0005b7c0: 290a 2020 2020 2020 2020 7365 6c66 2e69 ). self.i │ │ │ -0005b7d0: 6e69 745f 7479 7065 2822 466c 5f50 6f73 nit_type("Fl_Pos │ │ │ -0005b7e0: 6974 696f 6e65 7222 290a 2020 2020 2020 itioner"). │ │ │ -0005b7f0: 2020 2370 7269 6e74 2822 4164 6469 6e67 #print("Adding │ │ │ -0005b800: 2074 7970 653a 2022 2c20 466c 5f50 6f73 type: ", Fl_Pos │ │ │ -0005b810: 6974 696f 6e65 7229 0a0a 0a0a 0a20 2020 itioner)..... │ │ │ -0005b820: 2064 6566 2078 7661 6c75 6528 7365 6c66 def xvalue(self │ │ │ -0005b830: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -0005b840: 2020 7222 2222 0a20 2020 2020 2020 2078 r""". x │ │ │ -0005b850: 7661 6c75 6528 466c 5f50 6f73 6974 696f value(Fl_Positio │ │ │ -0005b860: 6e65 7220 7365 6c66 2920 2d3e 2064 6f75 ner self) -> dou │ │ │ -0005b870: 626c 650a 2020 2020 2020 2020 7876 616c ble. xval │ │ │ +00054d20: 2020 2020 2020 2073 656c 662e 7468 6973 self.this │ │ │ +00054d30: 2e64 6973 6f77 6e28 290a 2020 2020 2020 .disown(). │ │ │ +00054d40: 2020 2020 2020 5f66 6c74 6b2e 6469 736f _fltk.diso │ │ │ +00054d50: 776e 5f46 6c5f 486f 6c64 5f42 726f 7773 wn_Fl_Hold_Brows │ │ │ +00054d60: 6572 2873 656c 6629 0a20 2020 2020 2020 er(self). │ │ │ +00054d70: 2020 2020 2072 6574 7572 6e20 7765 616b return weak │ │ │ +00054d80: 7265 662e 7072 6f78 7928 7365 6c66 290a ref.proxy(self). │ │ │ +00054d90: 0a20 2020 2020 2020 2064 6566 2064 7261 . def dra │ │ │ +00054da0: 7728 7365 6c66 2c20 2a61 7267 7329 3a0a w(self, *args):. │ │ │ +00054db0: 2020 2020 2020 2020 2020 2020 7222 2222 r""" │ │ │ +00054dc0: 2027 2222 2227 2022 2222 6472 6177 2846 '"""' """draw(F │ │ │ +00054dd0: 6c5f 486f 6c64 5f42 726f 7773 6572 2073 l_Hold_Browser s │ │ │ +00054de0: 656c 6629 2222 2220 2722 2222 2720 2222 elf)""" '"""' "" │ │ │ +00054df0: 220a 2020 2020 2020 2020 2020 2020 7265 ". re │ │ │ +00054e00: 7475 726e 205f 666c 746b 2e46 6c5f 486f turn _fltk.Fl_Ho │ │ │ +00054e10: 6c64 5f42 726f 7773 6572 5f64 7261 7728 ld_Browser_draw( │ │ │ +00054e20: 7365 6c66 2c20 2a61 7267 7329 c002 0a20 self, *args)... │ │ │ +00054e30: 2020 2022 2222 0a0a 2020 2020 7468 6973 """.. this │ │ │ +00054e40: 6f77 6e20 3d20 7072 6f70 6572 7479 286c own = property(l │ │ │ +00054e50: 616d 6264 6120 783a 2078 2e74 6869 732e ambda x: x.this. │ │ │ +00054e60: 6f77 6e28 292c 206c 616d 6264 6120 782c own(), lambda x, │ │ │ +00054e70: 2076 3a20 782e 7468 6973 2e6f 776e 2876 v: x.this.own(v │ │ │ +00054e80: 292c 2064 6f63 3d22 5468 6520 6d65 6d62 ), doc="The memb │ │ │ +00054e90: 6572 7368 6970 2066 6c61 6722 290a 2020 ership flag"). │ │ │ +00054ea0: 2020 5f5f 7265 7072 5f5f 203d 205f 7377 __repr__ = _sw │ │ │ +00054eb0: 6967 5f72 6570 720a 0a20 2020 2064 6566 ig_repr.. def │ │ │ +00054ec0: 205f 5f69 6e69 745f 5f28 7365 6c66 2c20 __init__(self, │ │ │ +00054ed0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00054ee0: 7222 2222 5f5f 696e 6974 5f5f 2846 6c5f r"""__init__(Fl_ │ │ │ +00054ef0: 4f75 7470 7574 2073 656c 662c 2069 6e74 Output self, int │ │ │ +00054f00: 2058 2c20 696e 7420 592c 2069 6e74 2057 X, int Y, int W │ │ │ +00054f10: 2c20 696e 7420 482c 2063 6861 7220 636f , int H, char co │ │ │ +00054f20: 6e73 7420 2a20 6c3d 4e6f 6e65 2920 2d3e nst * l=None) -> │ │ │ +00054f30: 2046 6c5f 4f75 7470 7574 2222 220a 2020 Fl_Output""". │ │ │ +00054f40: 2020 2020 2020 6966 2073 656c 662e 5f5f if self.__ │ │ │ +00054f50: 636c 6173 735f 5f20 3d3d 2046 6c5f 4f75 class__ == Fl_Ou │ │ │ +00054f60: 7470 7574 3a0a 2020 2020 2020 2020 2020 tput:. │ │ │ +00054f70: 2020 5f73 656c 6620 3d20 4e6f 6e65 0a20 _self = None. │ │ │ +00054f80: 2020 2020 2020 2065 6c73 653a 0a20 2020 else:. │ │ │ +00054f90: 2020 2020 2020 2020 205f 7365 6c66 203d _self = │ │ │ +00054fa0: 2073 656c 660a 2020 2020 2020 2020 5f66 self. _f │ │ │ +00054fb0: 6c74 6b2e 466c 5f4f 7574 7075 745f 7377 ltk.Fl_Output_sw │ │ │ +00054fc0: 6967 696e 6974 2873 656c 662c 205f 666c iginit(self, _fl │ │ │ +00054fd0: 746b 2e6e 6577 5f46 6c5f 4f75 7470 7574 tk.new_Fl_Output │ │ │ +00054fe0: 285f 7365 6c66 2c20 2a61 7267 7329 290a (_self, *args)). │ │ │ +00054ff0: 0a20 2020 2020 2020 2069 6620 6c65 6e28 . if len( │ │ │ +00055000: 6172 6773 2920 3d3d 2035 3a20 2020 2020 args) == 5: │ │ │ +00055010: 2020 2020 200a 2020 2020 2020 2020 2372 . #r │ │ │ +00055020: 6574 6169 6e20 7265 6665 7265 6e63 6520 etain reference │ │ │ +00055030: 746f 206c 6162 656c 0a20 2020 2020 2020 to label. │ │ │ +00055040: 2020 2020 2073 656c 662e 6d79 5f6c 6162 self.my_lab │ │ │ +00055050: 656c 203d 2061 7267 735b 2d31 5d0a 2020 el = args[-1]. │ │ │ +00055060: 2020 2020 2020 6966 2073 656c 662e 7061 if self.pa │ │ │ +00055070: 7265 6e74 2829 2021 3d20 4e6f 6e65 3a20 rent() != None: │ │ │ +00055080: 2020 0a20 2020 2020 2020 2023 6465 6c65 . #dele │ │ │ +00055090: 6761 7465 206f 776e 6572 7368 6970 2074 gate ownership t │ │ │ +000550a0: 6f20 432b 2b0a 2020 2020 2020 2020 2020 o C++. │ │ │ +000550b0: 2020 7365 6c66 2e74 6869 732e 6469 736f self.this.diso │ │ │ +000550c0: 776e 2829 0a20 2020 2020 2020 2073 656c wn(). sel │ │ │ +000550d0: 662e 696e 6974 5f74 7970 6528 2246 6c5f f.init_type("Fl_ │ │ │ +000550e0: 4f75 7470 7574 2229 0a20 2020 2020 2020 Output"). │ │ │ +000550f0: 2023 7072 696e 7428 2241 6464 696e 6720 #print("Adding │ │ │ +00055100: 7479 7065 3a20 222c 2046 6c5f 4f75 7470 type: ", Fl_Outp │ │ │ +00055110: 7574 290a 0a0a 0a0a 2020 2020 6465 6620 ut)..... def │ │ │ +00055120: 696e 6974 5f74 7970 6528 7365 6c66 2c20 init_type(self, │ │ │ +00055130: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00055140: 7222 2222 696e 6974 5f74 7970 6528 466c r"""init_type(Fl │ │ │ +00055150: 5f4f 7574 7075 7420 7365 6c66 2c20 6368 _Output self, ch │ │ │ +00055160: 6172 202a 2046 6c5f 4f75 7470 7574 2922 ar * Fl_Output)" │ │ │ +00055170: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +00055180: 6e20 5f66 6c74 6b2e 466c 5f4f 7574 7075 n _fltk.Fl_Outpu │ │ │ +00055190: 745f 696e 6974 5f74 7970 6528 7365 6c66 t_init_type(self │ │ │ +000551a0: 2c20 2a61 7267 7329 0a20 2020 205f 5f73 , *args). __s │ │ │ +000551b0: 7769 675f 6465 7374 726f 795f 5f20 3d20 wig_destroy__ = │ │ │ +000551c0: 5f66 6c74 6b2e 6465 6c65 7465 5f46 6c5f _fltk.delete_Fl_ │ │ │ +000551d0: 4f75 7470 7574 0a20 2020 2064 6566 205f Output. def _ │ │ │ +000551e0: 5f64 6973 6f77 6e5f 5f28 7365 6c66 293a _disown__(self): │ │ │ +000551f0: 0a20 2020 2020 2020 2073 656c 662e 7468 . self.th │ │ │ +00055200: 6973 2e64 6973 6f77 6e28 290a 2020 2020 is.disown(). │ │ │ +00055210: 2020 2020 5f66 6c74 6b2e 6469 736f 776e _fltk.disown │ │ │ +00055220: 5f46 6c5f 4f75 7470 7574 2873 656c 6629 _Fl_Output(self) │ │ │ +00055230: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +00055240: 7765 616b 7265 662e 7072 6f78 7928 7365 weakref.proxy(se │ │ │ +00055250: 6c66 290a 0a20 2020 2064 6566 2064 7261 lf).. def dra │ │ │ +00055260: 7728 7365 6c66 2c20 2a61 7267 7329 3a0a w(self, *args):. │ │ │ +00055270: 2020 2020 2020 2020 7222 2222 6472 6177 r"""draw │ │ │ +00055280: 2846 6c5f 4f75 7470 7574 2073 656c 6629 (Fl_Output self) │ │ │ +00055290: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +000552a0: 726e 205f 666c 746b 2e46 6c5f 4f75 7470 rn _fltk.Fl_Outp │ │ │ +000552b0: 7574 5f64 7261 7728 7365 6c66 2c20 2a61 ut_draw(self, *a │ │ │ +000552c0: 7267 7329 0a0a 2320 5265 6769 7374 6572 rgs)..# Register │ │ │ +000552d0: 2046 6c5f 4f75 7470 7574 2069 6e20 5f66 Fl_Output in _f │ │ │ +000552e0: 6c74 6b3a 0a5f 666c 746b 2e46 6c5f 4f75 ltk:._fltk.Fl_Ou │ │ │ +000552f0: 7470 7574 5f73 7769 6772 6567 6973 7465 tput_swigregiste │ │ │ +00055300: 7228 466c 5f4f 7574 7075 7429 0a63 6c61 r(Fl_Output).cla │ │ │ +00055310: 7373 2046 6c5f 4d75 6c74 696c 696e 655f ss Fl_Multiline_ │ │ │ +00055320: 4f75 7470 7574 2846 6c5f 4f75 7470 7574 Output(Fl_Output │ │ │ +00055330: 293a 0a20 2020 2072 2222 220a 0a20 2020 ):. r""".. │ │ │ +00055340: 2054 6869 7320 7769 6467 6574 2069 7320 This widget is │ │ │ +00055350: 6120 7375 6263 6c61 7373 206f 6620 466c a subclass of Fl │ │ │ +00055360: 5f4f 7574 7075 7420 7468 6174 2064 6973 _Output that dis │ │ │ +00055370: 706c 6179 7320 6d75 6c74 6970 6c65 206c plays multiple l │ │ │ +00055380: 696e 6573 206f 6620 7465 7874 2e20 0a20 ines of text. . │ │ │ +00055390: 2020 2049 7420 616c 736f 2064 6973 706c It also displ │ │ │ +000553a0: 6179 7320 7461 6220 6368 6172 6163 7465 ays tab characte │ │ │ +000553b0: 7273 2061 7320 7768 6974 6573 7061 6365 rs as whitespace │ │ │ +000553c0: 2074 6f20 7468 6520 6e65 7874 2063 6f6c to the next col │ │ │ +000553d0: 756d 6e2e 0a0a 2020 2020 2222 220a 0a20 umn... """.. │ │ │ +000553e0: 2020 2074 6869 736f 776e 203d 2070 726f thisown = pro │ │ │ +000553f0: 7065 7274 7928 6c61 6d62 6461 2078 3a20 perty(lambda x: │ │ │ +00055400: 782e 7468 6973 2e6f 776e 2829 2c20 6c61 x.this.own(), la │ │ │ +00055410: 6d62 6461 2078 2c20 763a 2078 2e74 6869 mbda x, v: x.thi │ │ │ +00055420: 732e 6f77 6e28 7629 2c20 646f 633d 2254 s.own(v), doc="T │ │ │ +00055430: 6865 206d 656d 6265 7273 6869 7020 666c he membership fl │ │ │ +00055440: 6167 2229 0a20 2020 205f 5f72 6570 725f ag"). __repr_ │ │ │ +00055450: 5f20 3d20 5f73 7769 675f 7265 7072 0a0a _ = _swig_repr.. │ │ │ +00055460: 2020 2020 6465 6620 5f5f 696e 6974 5f5f def __init__ │ │ │ +00055470: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00055480: 2020 2020 2020 2072 2222 225f 5f69 6e69 r"""__ini │ │ │ +00055490: 745f 5f28 466c 5f4d 756c 7469 6c69 6e65 t__(Fl_Multiline │ │ │ +000554a0: 5f4f 7574 7075 7420 7365 6c66 2c20 696e _Output self, in │ │ │ +000554b0: 7420 582c 2069 6e74 2059 2c20 696e 7420 t X, int Y, int │ │ │ +000554c0: 572c 2069 6e74 2048 2c20 6368 6172 2063 W, int H, char c │ │ │ +000554d0: 6f6e 7374 202a 206c 3d4e 6f6e 6529 202d onst * l=None) - │ │ │ +000554e0: 3e20 466c 5f4d 756c 7469 6c69 6e65 5f4f > Fl_Multiline_O │ │ │ +000554f0: 7574 7075 7422 2222 0a20 2020 2020 2020 utput""". │ │ │ +00055500: 2069 6620 7365 6c66 2e5f 5f63 6c61 7373 if self.__class │ │ │ +00055510: 5f5f 203d 3d20 466c 5f4d 756c 7469 6c69 __ == Fl_Multili │ │ │ +00055520: 6e65 5f4f 7574 7075 743a 0a20 2020 2020 ne_Output:. │ │ │ +00055530: 2020 2020 2020 205f 7365 6c66 203d 204e _self = N │ │ │ +00055540: 6f6e 650a 2020 2020 2020 2020 656c 7365 one. else │ │ │ +00055550: 3a0a 2020 2020 2020 2020 2020 2020 5f73 :. _s │ │ │ +00055560: 656c 6620 3d20 7365 6c66 0a20 2020 2020 elf = self. │ │ │ +00055570: 2020 205f 666c 746b 2e46 6c5f 4d75 6c74 _fltk.Fl_Mult │ │ │ +00055580: 696c 696e 655f 4f75 7470 7574 5f73 7769 iline_Output_swi │ │ │ +00055590: 6769 6e69 7428 7365 6c66 2c20 5f66 6c74 ginit(self, _flt │ │ │ +000555a0: 6b2e 6e65 775f 466c 5f4d 756c 7469 6c69 k.new_Fl_Multili │ │ │ +000555b0: 6e65 5f4f 7574 7075 7428 5f73 656c 662c ne_Output(_self, │ │ │ +000555c0: 202a 6172 6773 2929 0a0a 2020 2020 2020 *args)).. │ │ │ +000555d0: 2020 6966 206c 656e 2861 7267 7329 203d if len(args) = │ │ │ +000555e0: 3d20 353a 2020 2020 2020 2020 2020 0a20 = 5: . │ │ │ +000555f0: 2020 2020 2020 2023 7265 7461 696e 2072 #retain r │ │ │ +00055600: 6566 6572 656e 6365 2074 6f20 6c61 6265 eference to labe │ │ │ +00055610: 6c0a 2020 2020 2020 2020 2020 2020 7365 l. se │ │ │ +00055620: 6c66 2e6d 795f 6c61 6265 6c20 3d20 6172 lf.my_label = ar │ │ │ +00055630: 6773 5b2d 315d 0a20 2020 2020 2020 2069 gs[-1]. i │ │ │ +00055640: 6620 7365 6c66 2e70 6172 656e 7428 2920 f self.parent() │ │ │ +00055650: 213d 204e 6f6e 653a 2020 200a 2020 2020 != None: . │ │ │ +00055660: 2020 2020 2364 656c 6567 6174 6520 6f77 #delegate ow │ │ │ +00055670: 6e65 7273 6869 7020 746f 2043 2b2b 0a20 nership to C++. │ │ │ +00055680: 2020 2020 2020 2020 2020 2073 656c 662e self. │ │ │ +00055690: 7468 6973 2e64 6973 6f77 6e28 290a 2020 this.disown(). │ │ │ +000556a0: 2020 2020 2020 7365 6c66 2e69 6e69 745f self.init_ │ │ │ +000556b0: 7479 7065 2822 466c 5f4d 756c 7469 6c69 type("Fl_Multili │ │ │ +000556c0: 6e65 5f4f 7574 7075 7422 290a 2020 2020 ne_Output"). │ │ │ +000556d0: 2020 2020 2370 7269 6e74 2822 4164 6469 #print("Addi │ │ │ +000556e0: 6e67 2074 7970 653a 2022 2c20 466c 5f4d ng type: ", Fl_M │ │ │ +000556f0: 756c 7469 6c69 6e65 5f4f 7574 7075 7429 ultiline_Output) │ │ │ +00055700: 0a0a 0a0a 0a20 2020 2064 6566 2069 6e69 ..... def ini │ │ │ +00055710: 745f 7479 7065 2873 656c 662c 202a 6172 t_type(self, *ar │ │ │ +00055720: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00055730: 2269 6e69 745f 7479 7065 2846 6c5f 4d75 "init_type(Fl_Mu │ │ │ +00055740: 6c74 696c 696e 655f 4f75 7470 7574 2073 ltiline_Output s │ │ │ +00055750: 656c 662c 2063 6861 7220 2a20 466c 5f4d elf, char * Fl_M │ │ │ +00055760: 756c 7469 6c69 6e65 5f4f 7574 7075 7429 ultiline_Output) │ │ │ +00055770: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +00055780: 726e 205f 666c 746b 2e46 6c5f 4d75 6c74 rn _fltk.Fl_Mult │ │ │ +00055790: 696c 696e 655f 4f75 7470 7574 5f69 6e69 iline_Output_ini │ │ │ +000557a0: 745f 7479 7065 2873 656c 662c 202a 6172 t_type(self, *ar │ │ │ +000557b0: 6773 290a 2020 2020 5f5f 7377 6967 5f64 gs). __swig_d │ │ │ +000557c0: 6573 7472 6f79 5f5f 203d 205f 666c 746b estroy__ = _fltk │ │ │ +000557d0: 2e64 656c 6574 655f 466c 5f4d 756c 7469 .delete_Fl_Multi │ │ │ +000557e0: 6c69 6e65 5f4f 7574 7075 740a 2020 2020 line_Output. │ │ │ +000557f0: 6465 6620 5f5f 6469 736f 776e 5f5f 2873 def __disown__(s │ │ │ +00055800: 656c 6629 3a0a 2020 2020 2020 2020 7365 elf):. se │ │ │ +00055810: 6c66 2e74 6869 732e 6469 736f 776e 2829 lf.this.disown() │ │ │ +00055820: 0a20 2020 2020 2020 205f 666c 746b 2e64 . _fltk.d │ │ │ +00055830: 6973 6f77 6e5f 466c 5f4d 756c 7469 6c69 isown_Fl_Multili │ │ │ +00055840: 6e65 5f4f 7574 7075 7428 7365 6c66 290a ne_Output(self). │ │ │ +00055850: 2020 2020 2020 2020 7265 7475 726e 2077 return w │ │ │ +00055860: 6561 6b72 6566 2e70 726f 7879 2873 656c eakref.proxy(sel │ │ │ +00055870: 6629 0a0a 2020 2020 6465 6620 6472 6177 f).. def draw │ │ │ +00055880: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00055890: 2020 2020 2020 2072 2222 2264 7261 7728 r"""draw( │ │ │ +000558a0: 466c 5f4d 756c 7469 6c69 6e65 5f4f 7574 Fl_Multiline_Out │ │ │ +000558b0: 7075 7420 7365 6c66 2922 2222 0a20 2020 put self)""". │ │ │ +000558c0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +000558d0: 6b2e 466c 5f4d 756c 7469 6c69 6e65 5f4f k.Fl_Multiline_O │ │ │ +000558e0: 7574 7075 745f 6472 6177 2873 656c 662c utput_draw(self, │ │ │ +000558f0: 202a 6172 6773 290a 0a23 2052 6567 6973 *args)..# Regis │ │ │ +00055900: 7465 7220 466c 5f4d 756c 7469 6c69 6e65 ter Fl_Multiline │ │ │ +00055910: 5f4f 7574 7075 7420 696e 205f 666c 746b _Output in _fltk │ │ │ +00055920: 3a0a 5f66 6c74 6b2e 466c 5f4d 756c 7469 :._fltk.Fl_Multi │ │ │ +00055930: 6c69 6e65 5f4f 7574 7075 745f 7377 6967 line_Output_swig │ │ │ +00055940: 7265 6769 7374 6572 2846 6c5f 4d75 6c74 register(Fl_Mult │ │ │ +00055950: 696c 696e 655f 4f75 7470 7574 290a 636c iline_Output).cl │ │ │ +00055960: 6173 7320 466c 5f4d 756c 7469 5f42 726f ass Fl_Multi_Bro │ │ │ +00055970: 7773 6572 2846 6c5f 4272 6f77 7365 7229 wser(Fl_Browser) │ │ │ +00055980: 3a0a 2020 2020 7222 2222 0a0a 2020 2020 :. r""".. │ │ │ +00055990: 5468 6520 466c 5f4d 756c 7469 5f42 726f The Fl_Multi_Bro │ │ │ +000559a0: 7773 6572 2063 6c61 7373 2069 7320 6120 wser class is a │ │ │ +000559b0: 7375 6263 6c61 7373 206f 6620 466c 5f42 subclass of Fl_B │ │ │ +000559c0: 726f 7773 6572 2020 7768 6963 6820 6c65 rowser which le │ │ │ +000559d0: 7473 2074 6865 2075 7365 7220 0a20 2020 ts the user . │ │ │ +000559e0: 2073 656c 6563 7420 616e 7920 7365 7420 select any set │ │ │ +000559f0: 6f66 2074 6865 206c 696e 6573 2e20 5468 of the lines. Th │ │ │ +00055a00: 6520 7573 6572 2069 6e74 6572 6661 6365 e user interface │ │ │ +00055a10: 2069 7320 4d61 6369 6e74 6f73 6820 7374 is Macintosh st │ │ │ +00055a20: 796c 653a 2063 6c69 636b 696e 6720 0a20 yle: clicking . │ │ │ +00055a30: 2020 2061 6e20 6974 656d 2074 7572 6e73 an item turns │ │ │ +00055a40: 206f 6666 2061 6c6c 2074 6865 206f 7468 off all the oth │ │ │ +00055a50: 6572 7320 616e 6420 7365 6c65 6374 7320 ers and selects │ │ │ +00055a60: 7468 6174 206f 6e65 2c20 6472 6167 6769 that one, draggi │ │ │ +00055a70: 6e67 2073 656c 6563 7473 2061 6c6c 200a ng selects all . │ │ │ +00055a80: 2020 2020 7468 6520 6974 656d 7320 7468 the items th │ │ │ +00055a90: 6520 6d6f 7573 6520 6d6f 7665 7320 6f76 e mouse moves ov │ │ │ +00055aa0: 6572 2c20 616e 6420 7368 6966 7420 2b20 er, and shift + │ │ │ +00055ab0: 636c 6963 6b20 746f 6767 6c65 7320 7468 click toggles th │ │ │ +00055ac0: 6520 6974 656d 732e 2054 6869 7320 0a20 e items. This . │ │ │ +00055ad0: 2020 2069 7320 6469 6666 6572 656e 7420 is different │ │ │ +00055ae0: 7468 656e 2068 6f77 2066 6f72 6d73 2064 then how forms d │ │ │ +00055af0: 6964 2069 742e 204e 6f72 6d61 6c6c 7920 id it. Normally │ │ │ +00055b00: 7468 6520 6361 6c6c 6261 636b 2069 7320 the callback is │ │ │ +00055b10: 646f 6e65 2077 6865 6e20 7468 6520 0a20 done when the . │ │ │ +00055b20: 2020 2075 7365 7220 7265 6c65 6173 6573 user releases │ │ │ +00055b30: 2074 6865 206d 6f75 7365 2c20 6275 7420 the mouse, but │ │ │ +00055b40: 796f 7520 6361 6e20 6368 616e 6765 2074 you can change t │ │ │ +00055b50: 6869 7320 7769 7468 2077 6865 6e28 292e his with when(). │ │ │ +00055b60: 0a0a 2020 2020 5365 6520 466c 5f42 726f .. See Fl_Bro │ │ │ +00055b70: 7773 6572 2066 6f72 206d 6574 686f 6473 wser for methods │ │ │ +00055b80: 2074 6f20 6164 6420 616e 6420 7265 6d6f to add and remo │ │ │ +00055b90: 7665 206c 696e 6573 2066 726f 6d20 7468 ve lines from th │ │ │ +00055ba0: 6520 6272 6f77 7365 722e 200a 0a20 2020 e browser. .. │ │ │ +00055bb0: 2022 2222 0a0a 2020 2020 7468 6973 6f77 """.. thisow │ │ │ +00055bc0: 6e20 3d20 7072 6f70 6572 7479 286c 616d n = property(lam │ │ │ +00055bd0: 6264 6120 783a 2078 2e74 6869 732e 6f77 bda x: x.this.ow │ │ │ +00055be0: 6e28 292c 206c 616d 6264 6120 782c 2076 n(), lambda x, v │ │ │ +00055bf0: 3a20 782e 7468 6973 2e6f 776e 2876 292c : x.this.own(v), │ │ │ +00055c00: 2064 6f63 3d22 5468 6520 6d65 6d62 6572 doc="The member │ │ │ +00055c10: 7368 6970 2066 6c61 6722 290a 2020 2020 ship flag"). │ │ │ +00055c20: 5f5f 7265 7072 5f5f 203d 205f 7377 6967 __repr__ = _swig │ │ │ +00055c30: 5f72 6570 720a 0a20 2020 2064 6566 205f _repr.. def _ │ │ │ +00055c40: 5f69 6e69 745f 5f28 7365 6c66 2c20 2a61 _init__(self, *a │ │ │ +00055c50: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00055c60: 2222 5f5f 696e 6974 5f5f 2846 6c5f 4d75 ""__init__(Fl_Mu │ │ │ +00055c70: 6c74 695f 4272 6f77 7365 7220 7365 6c66 lti_Browser self │ │ │ +00055c80: 2c20 696e 7420 582c 2069 6e74 2059 2c20 , int X, int Y, │ │ │ +00055c90: 696e 7420 572c 2069 6e74 2048 2c20 6368 int W, int H, ch │ │ │ +00055ca0: 6172 2063 6f6e 7374 202a 204c 3d4e 6f6e ar const * L=Non │ │ │ +00055cb0: 6529 202d 3e20 466c 5f4d 756c 7469 5f42 e) -> Fl_Multi_B │ │ │ +00055cc0: 726f 7773 6572 2222 220a 2020 2020 2020 rowser""". │ │ │ +00055cd0: 2020 6966 2073 656c 662e 5f5f 636c 6173 if self.__clas │ │ │ +00055ce0: 735f 5f20 3d3d 2046 6c5f 4d75 6c74 695f s__ == Fl_Multi_ │ │ │ +00055cf0: 4272 6f77 7365 723a 0a20 2020 2020 2020 Browser:. │ │ │ +00055d00: 2020 2020 205f 7365 6c66 203d 204e 6f6e _self = Non │ │ │ +00055d10: 650a 2020 2020 2020 2020 656c 7365 3a0a e. else:. │ │ │ +00055d20: 2020 2020 2020 2020 2020 2020 5f73 656c _sel │ │ │ +00055d30: 6620 3d20 7365 6c66 0a20 2020 2020 2020 f = self. │ │ │ +00055d40: 205f 666c 746b 2e46 6c5f 4d75 6c74 695f _fltk.Fl_Multi_ │ │ │ +00055d50: 4272 6f77 7365 725f 7377 6967 696e 6974 Browser_swiginit │ │ │ +00055d60: 2873 656c 662c 205f 666c 746b 2e6e 6577 (self, _fltk.new │ │ │ +00055d70: 5f46 6c5f 4d75 6c74 695f 4272 6f77 7365 _Fl_Multi_Browse │ │ │ +00055d80: 7228 5f73 656c 662c 202a 6172 6773 2929 r(_self, *args)) │ │ │ +00055d90: 0a0a 2020 2020 2020 2020 6966 206c 656e .. if len │ │ │ +00055da0: 2861 7267 7329 203d 3d20 353a 2020 2020 (args) == 5: │ │ │ +00055db0: 2020 2020 2020 0a20 2020 2020 2020 2023 . # │ │ │ +00055dc0: 7265 7461 696e 2072 6566 6572 656e 6365 retain reference │ │ │ +00055dd0: 2074 6f20 6c61 6265 6c0a 2020 2020 2020 to label. │ │ │ +00055de0: 2020 2020 2020 7365 6c66 2e6d 795f 6c61 self.my_la │ │ │ +00055df0: 6265 6c20 3d20 6172 6773 5b2d 315d 0a20 bel = args[-1]. │ │ │ +00055e00: 2020 2020 2020 2069 6620 7365 6c66 2e70 if self.p │ │ │ +00055e10: 6172 656e 7428 2920 213d 204e 6f6e 653a arent() != None: │ │ │ +00055e20: 2020 200a 2020 2020 2020 2020 2364 656c . #del │ │ │ +00055e30: 6567 6174 6520 6f77 6e65 7273 6869 7020 egate ownership │ │ │ +00055e40: 746f 2043 2b2b 0a20 2020 2020 2020 2020 to C++. │ │ │ +00055e50: 2020 2073 656c 662e 7468 6973 2e64 6973 self.this.dis │ │ │ +00055e60: 6f77 6e28 290a 2020 2020 2020 2020 7365 own(). se │ │ │ +00055e70: 6c66 2e69 6e69 745f 7479 7065 2822 466c lf.init_type("Fl │ │ │ +00055e80: 5f4d 756c 7469 5f42 726f 7773 6572 2229 _Multi_Browser") │ │ │ +00055e90: 0a20 2020 2020 2020 2023 7072 696e 7428 . #print( │ │ │ +00055ea0: 2241 6464 696e 6720 7479 7065 3a20 222c "Adding type: ", │ │ │ +00055eb0: 2046 6c5f 4d75 6c74 695f 4272 6f77 7365 Fl_Multi_Browse │ │ │ +00055ec0: 7229 0a0a 0a0a 0a20 2020 2064 6566 2069 r)..... def i │ │ │ +00055ed0: 6e69 745f 7479 7065 2873 656c 662c 202a nit_type(self, * │ │ │ +00055ee0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +00055ef0: 2222 2269 6e69 745f 7479 7065 2846 6c5f """init_type(Fl_ │ │ │ +00055f00: 4d75 6c74 695f 4272 6f77 7365 7220 7365 Multi_Browser se │ │ │ +00055f10: 6c66 2c20 6368 6172 202a 2046 6c5f 4d75 lf, char * Fl_Mu │ │ │ +00055f20: 6c74 695f 4272 6f77 7365 7229 2222 220a lti_Browser)""". │ │ │ +00055f30: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +00055f40: 666c 746b 2e46 6c5f 4d75 6c74 695f 4272 fltk.Fl_Multi_Br │ │ │ +00055f50: 6f77 7365 725f 696e 6974 5f74 7970 6528 owser_init_type( │ │ │ +00055f60: 7365 6c66 2c20 2a61 7267 7329 0a20 2020 self, *args). │ │ │ +00055f70: 205f 5f73 7769 675f 6465 7374 726f 795f __swig_destroy_ │ │ │ +00055f80: 5f20 3d20 5f66 6c74 6b2e 6465 6c65 7465 _ = _fltk.delete │ │ │ +00055f90: 5f46 6c5f 4d75 6c74 695f 4272 6f77 7365 _Fl_Multi_Browse │ │ │ +00055fa0: 720a 2020 2020 6465 6620 5f5f 6469 736f r. def __diso │ │ │ +00055fb0: 776e 5f5f 2873 656c 6629 3a0a 2020 2020 wn__(self):. │ │ │ +00055fc0: 2020 2020 7365 6c66 2e74 6869 732e 6469 self.this.di │ │ │ +00055fd0: 736f 776e 2829 0a20 2020 2020 2020 205f sown(). _ │ │ │ +00055fe0: 666c 746b 2e64 6973 6f77 6e5f 466c 5f4d fltk.disown_Fl_M │ │ │ +00055ff0: 756c 7469 5f42 726f 7773 6572 2873 656c ulti_Browser(sel │ │ │ +00056000: 6629 0a20 2020 2020 2020 2072 6574 7572 f). retur │ │ │ +00056010: 6e20 7765 616b 7265 662e 7072 6f78 7928 n weakref.proxy( │ │ │ +00056020: 7365 6c66 290a 0a20 2020 2064 6566 2064 self).. def d │ │ │ +00056030: 7261 7728 7365 6c66 2c20 2a61 7267 7329 raw(self, *args) │ │ │ +00056040: 3a0a 2020 2020 2020 2020 7222 2222 6472 :. r"""dr │ │ │ +00056050: 6177 2846 6c5f 4d75 6c74 695f 4272 6f77 aw(Fl_Multi_Brow │ │ │ +00056060: 7365 7220 7365 6c66 2922 2222 0a20 2020 ser self)""". │ │ │ +00056070: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00056080: 6b2e 466c 5f4d 756c 7469 5f42 726f 7773 k.Fl_Multi_Brows │ │ │ +00056090: 6572 5f64 7261 7728 7365 6c66 2c20 2a61 er_draw(self, *a │ │ │ +000560a0: 7267 7329 0a0a 2020 2020 6465 6620 6974 rgs).. def it │ │ │ +000560b0: 656d 5f66 6972 7374 2873 656c 662c 202a em_first(self, * │ │ │ +000560c0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +000560d0: 2222 2269 7465 6d5f 6669 7273 7428 466c """item_first(Fl │ │ │ +000560e0: 5f4d 756c 7469 5f42 726f 7773 6572 2073 _Multi_Browser s │ │ │ +000560f0: 656c 6629 202d 3e20 766f 6964 202a 2222 elf) -> void *"" │ │ │ +00056100: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +00056110: 205f 666c 746b 2e46 6c5f 4d75 6c74 695f _fltk.Fl_Multi_ │ │ │ +00056120: 4272 6f77 7365 725f 6974 656d 5f66 6972 Browser_item_fir │ │ │ +00056130: 7374 2873 656c 662c 202a 6172 6773 290a st(self, *args). │ │ │ +00056140: 0a20 2020 2064 6566 2069 7465 6d5f 6e65 . def item_ne │ │ │ +00056150: 7874 2873 656c 662c 202a 6172 6773 293a xt(self, *args): │ │ │ +00056160: 0a20 2020 2020 2020 2072 2222 2269 7465 . r"""ite │ │ │ +00056170: 6d5f 6e65 7874 2846 6c5f 4d75 6c74 695f m_next(Fl_Multi_ │ │ │ +00056180: 4272 6f77 7365 7220 7365 6c66 2c20 766f Browser self, vo │ │ │ +00056190: 6964 202a 2069 7465 6d29 202d 3e20 766f id * item) -> vo │ │ │ +000561a0: 6964 202a 2222 220a 2020 2020 2020 2020 id *""". │ │ │ +000561b0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +000561c0: 4d75 6c74 695f 4272 6f77 7365 725f 6974 Multi_Browser_it │ │ │ +000561d0: 656d 5f6e 6578 7428 7365 6c66 2c20 2a61 em_next(self, *a │ │ │ +000561e0: 7267 7329 0a0a 2020 2020 6465 6620 6974 rgs).. def it │ │ │ +000561f0: 656d 5f70 7265 7628 7365 6c66 2c20 2a61 em_prev(self, *a │ │ │ +00056200: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00056210: 2222 6974 656d 5f70 7265 7628 466c 5f4d ""item_prev(Fl_M │ │ │ +00056220: 756c 7469 5f42 726f 7773 6572 2073 656c ulti_Browser sel │ │ │ +00056230: 662c 2076 6f69 6420 2a20 6974 656d 2920 f, void * item) │ │ │ +00056240: 2d3e 2076 6f69 6420 2a22 2222 0a20 2020 -> void *""". │ │ │ +00056250: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00056260: 6b2e 466c 5f4d 756c 7469 5f42 726f 7773 k.Fl_Multi_Brows │ │ │ +00056270: 6572 5f69 7465 6d5f 7072 6576 2873 656c er_item_prev(sel │ │ │ +00056280: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +00056290: 6566 2069 7465 6d5f 6c61 7374 2873 656c ef item_last(sel │ │ │ +000562a0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +000562b0: 2020 2072 2222 2269 7465 6d5f 6c61 7374 r"""item_last │ │ │ +000562c0: 2846 6c5f 4d75 6c74 695f 4272 6f77 7365 (Fl_Multi_Browse │ │ │ +000562d0: 7220 7365 6c66 2920 2d3e 2076 6f69 6420 r self) -> void │ │ │ +000562e0: 2a22 2222 0a20 2020 2020 2020 2072 6574 *""". ret │ │ │ +000562f0: 7572 6e20 5f66 6c74 6b2e 466c 5f4d 756c urn _fltk.Fl_Mul │ │ │ +00056300: 7469 5f42 726f 7773 6572 5f69 7465 6d5f ti_Browser_item_ │ │ │ +00056310: 6c61 7374 2873 656c 662c 202a 6172 6773 last(self, *args │ │ │ +00056320: 290a 0a20 2020 2064 6566 2069 7465 6d5f ).. def item_ │ │ │ +00056330: 6865 6967 6874 2873 656c 662c 202a 6172 height(self, *ar │ │ │ +00056340: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00056350: 2269 7465 6d5f 6865 6967 6874 2846 6c5f "item_height(Fl_ │ │ │ +00056360: 4d75 6c74 695f 4272 6f77 7365 7220 7365 Multi_Browser se │ │ │ +00056370: 6c66 2c20 766f 6964 202a 2069 7465 6d29 lf, void * item) │ │ │ +00056380: 202d 3e20 696e 7422 2222 0a20 2020 2020 -> int""". │ │ │ +00056390: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +000563a0: 466c 5f4d 756c 7469 5f42 726f 7773 6572 Fl_Multi_Browser │ │ │ +000563b0: 5f69 7465 6d5f 6865 6967 6874 2873 656c _item_height(sel │ │ │ +000563c0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +000563d0: 6566 2069 7465 6d5f 7769 6474 6828 7365 ef item_width(se │ │ │ +000563e0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +000563f0: 2020 2020 7222 2222 6974 656d 5f77 6964 r"""item_wid │ │ │ +00056400: 7468 2846 6c5f 4d75 6c74 695f 4272 6f77 th(Fl_Multi_Brow │ │ │ +00056410: 7365 7220 7365 6c66 2c20 766f 6964 202a ser self, void * │ │ │ +00056420: 2069 7465 6d29 202d 3e20 696e 7422 2222 item) -> int""" │ │ │ +00056430: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +00056440: 5f66 6c74 6b2e 466c 5f4d 756c 7469 5f42 _fltk.Fl_Multi_B │ │ │ +00056450: 726f 7773 6572 5f69 7465 6d5f 7769 6474 rowser_item_widt │ │ │ +00056460: 6828 7365 6c66 2c20 2a61 7267 7329 0a0a h(self, *args).. │ │ │ +00056470: 2020 2020 6465 6620 6974 656d 5f71 7569 def item_qui │ │ │ +00056480: 636b 5f68 6569 6768 7428 7365 6c66 2c20 ck_height(self, │ │ │ +00056490: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +000564a0: 7222 2222 6974 656d 5f71 7569 636b 5f68 r"""item_quick_h │ │ │ +000564b0: 6569 6768 7428 466c 5f4d 756c 7469 5f42 eight(Fl_Multi_B │ │ │ +000564c0: 726f 7773 6572 2073 656c 662c 2076 6f69 rowser self, voi │ │ │ +000564d0: 6420 2a20 6974 656d 2920 2d3e 2069 6e74 d * item) -> int │ │ │ +000564e0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +000564f0: 726e 205f 666c 746b 2e46 6c5f 4d75 6c74 rn _fltk.Fl_Mult │ │ │ +00056500: 695f 4272 6f77 7365 725f 6974 656d 5f71 i_Browser_item_q │ │ │ +00056510: 7569 636b 5f68 6569 6768 7428 7365 6c66 uick_height(self │ │ │ +00056520: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00056530: 6620 6974 656d 5f64 7261 7728 7365 6c66 f item_draw(self │ │ │ +00056540: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00056550: 2020 7222 2222 6974 656d 5f64 7261 7728 r"""item_draw( │ │ │ +00056560: 466c 5f4d 756c 7469 5f42 726f 7773 6572 Fl_Multi_Browser │ │ │ +00056570: 2073 656c 662c 2076 6f69 6420 2a20 6974 self, void * it │ │ │ +00056580: 656d 2c20 696e 7420 582c 2069 6e74 2059 em, int X, int Y │ │ │ +00056590: 2c20 696e 7420 572c 2069 6e74 2048 2922 , int W, int H)" │ │ │ +000565a0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +000565b0: 6e20 5f66 6c74 6b2e 466c 5f4d 756c 7469 n _fltk.Fl_Multi │ │ │ +000565c0: 5f42 726f 7773 6572 5f69 7465 6d5f 6472 _Browser_item_dr │ │ │ +000565d0: 6177 2873 656c 662c 202a 6172 6773 290a aw(self, *args). │ │ │ +000565e0: 0a20 2020 2064 6566 2069 7465 6d5f 7465 . def item_te │ │ │ +000565f0: 7874 2873 656c 662c 202a 6172 6773 293a xt(self, *args): │ │ │ +00056600: 0a20 2020 2020 2020 2072 2222 2269 7465 . r"""ite │ │ │ +00056610: 6d5f 7465 7874 2846 6c5f 4d75 6c74 695f m_text(Fl_Multi_ │ │ │ +00056620: 4272 6f77 7365 7220 7365 6c66 2c20 766f Browser self, vo │ │ │ +00056630: 6964 202a 2069 7465 6d29 202d 3e20 6368 id * item) -> ch │ │ │ +00056640: 6172 2063 6f6e 7374 202a 2222 220a 2020 ar const *""". │ │ │ +00056650: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +00056660: 746b 2e46 6c5f 4d75 6c74 695f 4272 6f77 tk.Fl_Multi_Brow │ │ │ +00056670: 7365 725f 6974 656d 5f74 6578 7428 7365 ser_item_text(se │ │ │ +00056680: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +00056690: 6465 6620 6974 656d 5f73 7761 7028 7365 def item_swap(se │ │ │ +000566a0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +000566b0: 2020 2020 7222 2222 6974 656d 5f73 7761 r"""item_swa │ │ │ +000566c0: 7028 466c 5f4d 756c 7469 5f42 726f 7773 p(Fl_Multi_Brows │ │ │ +000566d0: 6572 2073 656c 662c 2076 6f69 6420 2a20 er self, void * │ │ │ +000566e0: 612c 2076 6f69 6420 2a20 6229 2222 220a a, void * b)""". │ │ │ +000566f0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +00056700: 666c 746b 2e46 6c5f 4d75 6c74 695f 4272 fltk.Fl_Multi_Br │ │ │ +00056710: 6f77 7365 725f 6974 656d 5f73 7761 7028 owser_item_swap( │ │ │ +00056720: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +00056730: 2020 6465 6620 6974 656d 5f61 7428 7365 def item_at(se │ │ │ +00056740: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +00056750: 2020 2020 7222 2222 6974 656d 5f61 7428 r"""item_at( │ │ │ +00056760: 466c 5f4d 756c 7469 5f42 726f 7773 6572 Fl_Multi_Browser │ │ │ +00056770: 2073 656c 662c 2069 6e74 206c 696e 6529 self, int line) │ │ │ +00056780: 202d 3e20 766f 6964 202a 2222 220a 2020 -> void *""". │ │ │ +00056790: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +000567a0: 746b 2e46 6c5f 4d75 6c74 695f 4272 6f77 tk.Fl_Multi_Brow │ │ │ +000567b0: 7365 725f 6974 656d 5f61 7428 7365 6c66 ser_item_at(self │ │ │ +000567c0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +000567d0: 6620 6675 6c6c 5f77 6964 7468 2873 656c f full_width(sel │ │ │ +000567e0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +000567f0: 2020 2072 2222 2266 756c 6c5f 7769 6474 r"""full_widt │ │ │ +00056800: 6828 466c 5f4d 756c 7469 5f42 726f 7773 h(Fl_Multi_Brows │ │ │ +00056810: 6572 2073 656c 6629 202d 3e20 696e 7422 er self) -> int" │ │ │ +00056820: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +00056830: 6e20 5f66 6c74 6b2e 466c 5f4d 756c 7469 n _fltk.Fl_Multi │ │ │ +00056840: 5f42 726f 7773 6572 5f66 756c 6c5f 7769 _Browser_full_wi │ │ │ +00056850: 6474 6828 7365 6c66 2c20 2a61 7267 7329 dth(self, *args) │ │ │ +00056860: 0a0a 2020 2020 6465 6620 6675 6c6c 5f68 .. def full_h │ │ │ +00056870: 6569 6768 7428 7365 6c66 2c20 2a61 7267 eight(self, *arg │ │ │ +00056880: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +00056890: 6675 6c6c 5f68 6569 6768 7428 466c 5f4d full_height(Fl_M │ │ │ +000568a0: 756c 7469 5f42 726f 7773 6572 2073 656c ulti_Browser sel │ │ │ +000568b0: 6629 202d 3e20 696e 7422 2222 0a20 2020 f) -> int""". │ │ │ +000568c0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +000568d0: 6b2e 466c 5f4d 756c 7469 5f42 726f 7773 k.Fl_Multi_Brows │ │ │ +000568e0: 6572 5f66 756c 6c5f 6865 6967 6874 2873 er_full_height(s │ │ │ +000568f0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +00056900: 2064 6566 2069 6e63 725f 6865 6967 6874 def incr_height │ │ │ +00056910: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00056920: 2020 2020 2020 2072 2222 2269 6e63 725f r"""incr_ │ │ │ +00056930: 6865 6967 6874 2846 6c5f 4d75 6c74 695f height(Fl_Multi_ │ │ │ +00056940: 4272 6f77 7365 7220 7365 6c66 2920 2d3e Browser self) -> │ │ │ +00056950: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ +00056960: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +00056970: 4d75 6c74 695f 4272 6f77 7365 725f 696e Multi_Browser_in │ │ │ +00056980: 6372 5f68 6569 6768 7428 7365 6c66 2c20 cr_height(self, │ │ │ +00056990: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +000569a0: 6974 656d 5f73 656c 6563 7428 7365 6c66 item_select(self │ │ │ +000569b0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +000569c0: 2020 7222 2222 6974 656d 5f73 656c 6563 r"""item_selec │ │ │ +000569d0: 7428 466c 5f4d 756c 7469 5f42 726f 7773 t(Fl_Multi_Brows │ │ │ +000569e0: 6572 2073 656c 662c 2076 6f69 6420 2a20 er self, void * │ │ │ +000569f0: 6974 656d 2c20 696e 7420 7661 6c29 2222 item, int val)"" │ │ │ +00056a00: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +00056a10: 205f 666c 746b 2e46 6c5f 4d75 6c74 695f _fltk.Fl_Multi_ │ │ │ +00056a20: 4272 6f77 7365 725f 6974 656d 5f73 656c Browser_item_sel │ │ │ +00056a30: 6563 7428 7365 6c66 2c20 2a61 7267 7329 ect(self, *args) │ │ │ +00056a40: 0a0a 2020 2020 6465 6620 6974 656d 5f73 .. def item_s │ │ │ +00056a50: 656c 6563 7465 6428 7365 6c66 2c20 2a61 elected(self, *a │ │ │ +00056a60: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00056a70: 2222 6974 656d 5f73 656c 6563 7465 6428 ""item_selected( │ │ │ +00056a80: 466c 5f4d 756c 7469 5f42 726f 7773 6572 Fl_Multi_Browser │ │ │ +00056a90: 2073 656c 662c 2076 6f69 6420 2a20 6974 self, void * it │ │ │ +00056aa0: 656d 2920 2d3e 2069 6e74 2222 220a 2020 em) -> int""". │ │ │ +00056ab0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +00056ac0: 746b 2e46 6c5f 4d75 6c74 695f 4272 6f77 tk.Fl_Multi_Brow │ │ │ +00056ad0: 7365 725f 6974 656d 5f73 656c 6563 7465 ser_item_selecte │ │ │ +00056ae0: 6428 7365 6c66 2c20 2a61 7267 7329 0a0a d(self, *args).. │ │ │ +00056af0: 2320 5265 6769 7374 6572 2046 6c5f 4d75 # Register Fl_Mu │ │ │ +00056b00: 6c74 695f 4272 6f77 7365 7220 696e 205f lti_Browser in _ │ │ │ +00056b10: 666c 746b 3a0a 5f66 6c74 6b2e 466c 5f4d fltk:._fltk.Fl_M │ │ │ +00056b20: 756c 7469 5f42 726f 7773 6572 5f73 7769 ulti_Browser_swi │ │ │ +00056b30: 6772 6567 6973 7465 7228 466c 5f4d 756c gregister(Fl_Mul │ │ │ +00056b40: 7469 5f42 726f 7773 6572 290a 636c 6173 ti_Browser).clas │ │ │ +00056b50: 7320 466c 5f4d 756c 7469 5f4c 6162 656c s Fl_Multi_Label │ │ │ +00056b60: 286f 626a 6563 7429 3a0a 2020 2020 7222 (object):. r" │ │ │ +00056b70: 2222 5072 6f78 7920 6f66 2043 2b2b 2046 ""Proxy of C++ F │ │ │ +00056b80: 6c5f 4d75 6c74 695f 4c61 6265 6c20 636c l_Multi_Label cl │ │ │ +00056b90: 6173 732e 2222 220a 0a20 2020 2074 6869 ass.""".. thi │ │ │ +00056ba0: 736f 776e 203d 2070 726f 7065 7274 7928 sown = property( │ │ │ +00056bb0: 6c61 6d62 6461 2078 3a20 782e 7468 6973 lambda x: x.this │ │ │ +00056bc0: 2e6f 776e 2829 2c20 6c61 6d62 6461 2078 .own(), lambda x │ │ │ +00056bd0: 2c20 763a 2078 2e74 6869 732e 6f77 6e28 , v: x.this.own( │ │ │ +00056be0: 7629 2c20 646f 633d 2254 6865 206d 656d v), doc="The mem │ │ │ +00056bf0: 6265 7273 6869 7020 666c 6167 2229 0a20 bership flag"). │ │ │ +00056c00: 2020 205f 5f72 6570 725f 5f20 3d20 5f73 __repr__ = _s │ │ │ +00056c10: 7769 675f 7265 7072 0a0a 2020 2020 6465 wig_repr.. de │ │ │ +00056c20: 6620 6c61 6265 6c28 7365 6c66 2c20 2a61 f label(self, *a │ │ │ +00056c30: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00056c40: 2222 0a20 2020 2020 2020 206c 6162 656c "". label │ │ │ +00056c50: 2846 6c5f 4d75 6c74 695f 4c61 6265 6c20 (Fl_Multi_Label │ │ │ +00056c60: 7365 6c66 2c20 466c 5f57 6964 6765 7420 self, Fl_Widget │ │ │ +00056c70: 6172 6732 290a 2020 2020 2020 2020 6c61 arg2). la │ │ │ +00056c80: 6265 6c28 466c 5f4d 756c 7469 5f4c 6162 bel(Fl_Multi_Lab │ │ │ +00056c90: 656c 2073 656c 662c 2046 6c5f 4d65 6e75 el self, Fl_Menu │ │ │ +00056ca0: 5f49 7465 6d20 6172 6732 290a 2020 2020 _Item arg2). │ │ │ +00056cb0: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ +00056cc0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +00056cd0: 4d75 6c74 695f 4c61 6265 6c5f 6c61 6265 Multi_Label_labe │ │ │ +00056ce0: 6c28 7365 6c66 2c20 2a61 7267 7329 0a0a l(self, *args).. │ │ │ +00056cf0: 2020 2020 6465 6620 5f5f 696e 6974 5f5f def __init__ │ │ │ +00056d00: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00056d10: 2020 2020 2020 2072 2222 225f 5f69 6e69 r"""__ini │ │ │ +00056d20: 745f 5f28 466c 5f4d 756c 7469 5f4c 6162 t__(Fl_Multi_Lab │ │ │ +00056d30: 656c 2073 656c 6629 202d 3e20 466c 5f4d el self) -> Fl_M │ │ │ +00056d40: 756c 7469 5f4c 6162 656c 2222 220a 2020 ulti_Label""". │ │ │ +00056d50: 2020 2020 2020 5f66 6c74 6b2e 466c 5f4d _fltk.Fl_M │ │ │ +00056d60: 756c 7469 5f4c 6162 656c 5f73 7769 6769 ulti_Label_swigi │ │ │ +00056d70: 6e69 7428 7365 6c66 2c20 5f66 6c74 6b2e nit(self, _fltk. │ │ │ +00056d80: 6e65 775f 466c 5f4d 756c 7469 5f4c 6162 new_Fl_Multi_Lab │ │ │ +00056d90: 656c 282a 6172 6773 2929 0a20 2020 205f el(*args)). _ │ │ │ +00056da0: 5f73 7769 675f 6465 7374 726f 795f 5f20 _swig_destroy__ │ │ │ +00056db0: 3d20 5f66 6c74 6b2e 6465 6c65 7465 5f46 = _fltk.delete_F │ │ │ +00056dc0: 6c5f 4d75 6c74 695f 4c61 6265 6c0a 0a23 l_Multi_Label..# │ │ │ +00056dd0: 2052 6567 6973 7465 7220 466c 5f4d 756c Register Fl_Mul │ │ │ +00056de0: 7469 5f4c 6162 656c 2069 6e20 5f66 6c74 ti_Label in _flt │ │ │ +00056df0: 6b3a 0a5f 666c 746b 2e46 6c5f 4d75 6c74 k:._fltk.Fl_Mult │ │ │ +00056e00: 695f 4c61 6265 6c5f 7377 6967 7265 6769 i_Label_swigregi │ │ │ +00056e10: 7374 6572 2846 6c5f 4d75 6c74 695f 4c61 ster(Fl_Multi_La │ │ │ +00056e20: 6265 6c29 0a63 6c61 7373 2046 6c5f 4e69 bel).class Fl_Ni │ │ │ +00056e30: 6365 5f53 6c69 6465 7228 466c 5f53 6c69 ce_Slider(Fl_Sli │ │ │ +00056e40: 6465 7229 3a0a 2020 2020 7222 2222 0a0a der):. r""".. │ │ │ +00056e50: 2020 2020 5468 6520 466c 5f4e 6963 655f The Fl_Nice_ │ │ │ +00056e60: 536c 6964 6572 2077 6964 6765 7420 636f Slider widget co │ │ │ +00056e70: 6e74 6169 6e73 2061 2073 6c69 6469 6e67 ntains a sliding │ │ │ +00056e80: 206b 6e6f 6220 696e 7369 6465 2061 2062 knob inside a b │ │ │ +00056e90: 6f78 2e20 4974 2069 7320 0a20 2020 206f ox. It is . o │ │ │ +00056ea0: 6674 656e 2075 7365 6420 6173 2061 2073 ften used as a s │ │ │ +00056eb0: 6372 6f6c 6c62 6172 2e20 4d6f 7669 6e67 crollbar. Moving │ │ │ +00056ec0: 2074 6865 2062 6f78 2061 6c6c 2074 6865 the box all the │ │ │ +00056ed0: 2077 6179 2074 6f20 7468 6520 746f 702f way to the top/ │ │ │ +00056ee0: 6c65 6674 2073 6574 7320 0a20 2020 2069 left sets . i │ │ │ +00056ef0: 7420 746f 2074 6865 206d 696e 696d 756d t to the minimum │ │ │ +00056f00: 2829 2c20 616e 6420 746f 2074 6865 2062 (), and to the b │ │ │ +00056f10: 6f74 746f 6d2f 7269 6768 7420 746f 2074 ottom/right to t │ │ │ +00056f20: 6865 206d 6178 696d 756d 2829 2e20 5468 he maximum(). Th │ │ │ +00056f30: 6520 6d69 6e69 6d75 6d28 2920 0a20 2020 e minimum() . │ │ │ +00056f40: 206d 6179 2062 6520 6772 6561 7465 7220 may be greater │ │ │ +00056f50: 7468 616e 2074 6865 206d 6178 696d 756d than the maximum │ │ │ +00056f60: 2829 2074 6f20 7265 7665 7273 6520 7468 () to reverse th │ │ │ +00056f70: 6520 736c 6964 6572 2064 6972 6563 7469 e slider directi │ │ │ +00056f80: 6f6e 2e0a 0a20 2020 2022 2222 0a0a 2020 on... """.. │ │ │ +00056f90: 2020 7468 6973 6f77 6e20 3d20 7072 6f70 thisown = prop │ │ │ +00056fa0: 6572 7479 286c 616d 6264 6120 783a 2078 erty(lambda x: x │ │ │ +00056fb0: 2e74 6869 732e 6f77 6e28 292c 206c 616d .this.own(), lam │ │ │ +00056fc0: 6264 6120 782c 2076 3a20 782e 7468 6973 bda x, v: x.this │ │ │ +00056fd0: 2e6f 776e 2876 292c 2064 6f63 3d22 5468 .own(v), doc="Th │ │ │ +00056fe0: 6520 6d65 6d62 6572 7368 6970 2066 6c61 e membership fla │ │ │ +00056ff0: 6722 290a 2020 2020 5f5f 7265 7072 5f5f g"). __repr__ │ │ │ +00057000: 203d 205f 7377 6967 5f72 6570 720a 0a20 = _swig_repr.. │ │ │ +00057010: 2020 2064 6566 205f 5f69 6e69 745f 5f28 def __init__( │ │ │ +00057020: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +00057030: 2020 2020 2020 7222 2222 5f5f 696e 6974 r"""__init │ │ │ +00057040: 5f5f 2846 6c5f 4e69 6365 5f53 6c69 6465 __(Fl_Nice_Slide │ │ │ +00057050: 7220 7365 6c66 2c20 696e 7420 582c 2069 r self, int X, i │ │ │ +00057060: 6e74 2059 2c20 696e 7420 572c 2069 6e74 nt Y, int W, int │ │ │ +00057070: 2048 2c20 6368 6172 2063 6f6e 7374 202a H, char const * │ │ │ +00057080: 204c 3d4e 6f6e 6529 202d 3e20 466c 5f4e L=None) -> Fl_N │ │ │ +00057090: 6963 655f 536c 6964 6572 2222 220a 2020 ice_Slider""". │ │ │ +000570a0: 2020 2020 2020 6966 2073 656c 662e 5f5f if self.__ │ │ │ +000570b0: 636c 6173 735f 5f20 3d3d 2046 6c5f 4e69 class__ == Fl_Ni │ │ │ +000570c0: 6365 5f53 6c69 6465 723a 0a20 2020 2020 ce_Slider:. │ │ │ +000570d0: 2020 2020 2020 205f 7365 6c66 203d 204e _self = N │ │ │ +000570e0: 6f6e 650a 2020 2020 2020 2020 656c 7365 one. else │ │ │ +000570f0: 3a0a 2020 2020 2020 2020 2020 2020 5f73 :. _s │ │ │ +00057100: 656c 6620 3d20 7365 6c66 0a20 2020 2020 elf = self. │ │ │ +00057110: 2020 205f 666c 746b 2e46 6c5f 4e69 6365 _fltk.Fl_Nice │ │ │ +00057120: 5f53 6c69 6465 725f 7377 6967 696e 6974 _Slider_swiginit │ │ │ +00057130: 2873 656c 662c 205f 666c 746b 2e6e 6577 (self, _fltk.new │ │ │ +00057140: 5f46 6c5f 4e69 6365 5f53 6c69 6465 7228 _Fl_Nice_Slider( │ │ │ +00057150: 5f73 656c 662c 202a 6172 6773 2929 0a0a _self, *args)).. │ │ │ +00057160: 2020 2020 2020 2020 6966 206c 656e 2861 if len(a │ │ │ +00057170: 7267 7329 203d 3d20 353a 2020 2020 2020 rgs) == 5: │ │ │ +00057180: 2020 2020 0a20 2020 2020 2020 2023 7265 . #re │ │ │ +00057190: 7461 696e 2072 6566 6572 656e 6365 2074 tain reference t │ │ │ +000571a0: 6f20 6c61 6265 6c0a 2020 2020 2020 2020 o label. │ │ │ +000571b0: 2020 2020 7365 6c66 2e6d 795f 6c61 6265 self.my_labe │ │ │ +000571c0: 6c20 3d20 6172 6773 5b2d 315d 0a20 2020 l = args[-1]. │ │ │ +000571d0: 2020 2020 2069 6620 7365 6c66 2e70 6172 if self.par │ │ │ +000571e0: 656e 7428 2920 213d 204e 6f6e 653a 2020 ent() != None: │ │ │ +000571f0: 200a 2020 2020 2020 2020 2364 656c 6567 . #deleg │ │ │ +00057200: 6174 6520 6f77 6e65 7273 6869 7020 746f ate ownership to │ │ │ +00057210: 2043 2b2b 0a20 2020 2020 2020 2020 2020 C++. │ │ │ +00057220: 2073 656c 662e 7468 6973 2e64 6973 6f77 self.this.disow │ │ │ +00057230: 6e28 290a 2020 2020 2020 2020 7365 6c66 n(). self │ │ │ +00057240: 2e69 6e69 745f 7479 7065 2822 466c 5f4e .init_type("Fl_N │ │ │ +00057250: 6963 655f 536c 6964 6572 2229 0a20 2020 ice_Slider"). │ │ │ +00057260: 2020 2020 2023 7072 696e 7428 2241 6464 #print("Add │ │ │ +00057270: 696e 6720 7479 7065 3a20 222c 2046 6c5f ing type: ", Fl_ │ │ │ +00057280: 4e69 6365 5f53 6c69 6465 7229 0a0a 0a0a Nice_Slider).... │ │ │ +00057290: 0a20 2020 2064 6566 2069 6e69 745f 7479 . def init_ty │ │ │ +000572a0: 7065 2873 656c 662c 202a 6172 6773 293a pe(self, *args): │ │ │ +000572b0: 0a20 2020 2020 2020 2072 2222 2269 6e69 . r"""ini │ │ │ +000572c0: 745f 7479 7065 2846 6c5f 4e69 6365 5f53 t_type(Fl_Nice_S │ │ │ +000572d0: 6c69 6465 7220 7365 6c66 2c20 6368 6172 lider self, char │ │ │ +000572e0: 202a 2046 6c5f 4e69 6365 5f53 6c69 6465 * Fl_Nice_Slide │ │ │ +000572f0: 7229 2222 220a 2020 2020 2020 2020 7265 r)""". re │ │ │ +00057300: 7475 726e 205f 666c 746b 2e46 6c5f 4e69 turn _fltk.Fl_Ni │ │ │ +00057310: 6365 5f53 6c69 6465 725f 696e 6974 5f74 ce_Slider_init_t │ │ │ +00057320: 7970 6528 7365 6c66 2c20 2a61 7267 7329 ype(self, *args) │ │ │ +00057330: 0a20 2020 205f 5f73 7769 675f 6465 7374 . __swig_dest │ │ │ +00057340: 726f 795f 5f20 3d20 5f66 6c74 6b2e 6465 roy__ = _fltk.de │ │ │ +00057350: 6c65 7465 5f46 6c5f 4e69 6365 5f53 6c69 lete_Fl_Nice_Sli │ │ │ +00057360: 6465 720a 2020 2020 6465 6620 5f5f 6469 der. def __di │ │ │ +00057370: 736f 776e 5f5f 2873 656c 6629 3a0a 2020 sown__(self):. │ │ │ +00057380: 2020 2020 2020 7365 6c66 2e74 6869 732e self.this. │ │ │ +00057390: 6469 736f 776e 2829 0a20 2020 2020 2020 disown(). │ │ │ +000573a0: 205f 666c 746b 2e64 6973 6f77 6e5f 466c _fltk.disown_Fl │ │ │ +000573b0: 5f4e 6963 655f 536c 6964 6572 2873 656c _Nice_Slider(sel │ │ │ +000573c0: 6629 0a20 2020 2020 2020 2072 6574 7572 f). retur │ │ │ +000573d0: 6e20 7765 616b 7265 662e 7072 6f78 7928 n weakref.proxy( │ │ │ +000573e0: 7365 6c66 290a 0a20 2020 2064 6566 2064 self).. def d │ │ │ +000573f0: 7261 7728 7365 6c66 2c20 2a61 7267 7329 raw(self, *args) │ │ │ +00057400: 3a0a 2020 2020 2020 2020 7222 2222 6472 :. r"""dr │ │ │ +00057410: 6177 2846 6c5f 4e69 6365 5f53 6c69 6465 aw(Fl_Nice_Slide │ │ │ +00057420: 7220 7365 6c66 2922 2222 0a20 2020 2020 r self)""". │ │ │ +00057430: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00057440: 466c 5f4e 6963 655f 536c 6964 6572 5f64 Fl_Nice_Slider_d │ │ │ +00057450: 7261 7728 7365 6c66 2c20 2a61 7267 7329 raw(self, *args) │ │ │ +00057460: 0a0a 2320 5265 6769 7374 6572 2046 6c5f ..# Register Fl_ │ │ │ +00057470: 4e69 6365 5f53 6c69 6465 7220 696e 205f Nice_Slider in _ │ │ │ +00057480: 666c 746b 3a0a 5f66 6c74 6b2e 466c 5f4e fltk:._fltk.Fl_N │ │ │ +00057490: 6963 655f 536c 6964 6572 5f73 7769 6772 ice_Slider_swigr │ │ │ +000574a0: 6567 6973 7465 7228 466c 5f4e 6963 655f egister(Fl_Nice_ │ │ │ +000574b0: 536c 6964 6572 290a 636c 6173 7320 466c Slider).class Fl │ │ │ +000574c0: 5f4e 6174 6976 655f 4669 6c65 5f43 686f _Native_File_Cho │ │ │ +000574d0: 6f73 6572 286f 626a 6563 7429 3a0a 2020 oser(object):. │ │ │ +000574e0: 2020 7222 2222 0a0a 0a0a 2020 2020 2222 r""".... "" │ │ │ +000574f0: 220a 0a20 2020 2074 6869 736f 776e 203d ".. thisown = │ │ │ +00057500: 2070 726f 7065 7274 7928 6c61 6d62 6461 property(lambda │ │ │ +00057510: 2078 3a20 782e 7468 6973 2e6f 776e 2829 x: x.this.own() │ │ │ +00057520: 2c20 6c61 6d62 6461 2078 2c20 763a 2078 , lambda x, v: x │ │ │ +00057530: 2e74 6869 732e 6f77 6e28 7629 2c20 646f .this.own(v), do │ │ │ +00057540: 633d 2254 6865 206d 656d 6265 7273 6869 c="The membershi │ │ │ +00057550: 7020 666c 6167 2229 0a20 2020 205f 5f72 p flag"). __r │ │ │ +00057560: 6570 725f 5f20 3d20 5f73 7769 675f 7265 epr__ = _swig_re │ │ │ +00057570: 7072 0a20 2020 2042 524f 5753 455f 4649 pr. BROWSE_FI │ │ │ +00057580: 4c45 203d 205f 666c 746b 2e46 6c5f 4e61 LE = _fltk.Fl_Na │ │ │ +00057590: 7469 7665 5f46 696c 655f 4368 6f6f 7365 tive_File_Choose │ │ │ +000575a0: 725f 4252 4f57 5345 5f46 494c 450a 2020 r_BROWSE_FILE. │ │ │ +000575b0: 2020 0a20 2020 2042 524f 5753 455f 4449 . BROWSE_DI │ │ │ +000575c0: 5245 4354 4f52 5920 3d20 5f66 6c74 6b2e RECTORY = _fltk. │ │ │ +000575d0: 466c 5f4e 6174 6976 655f 4669 6c65 5f43 Fl_Native_File_C │ │ │ +000575e0: 686f 6f73 6572 5f42 524f 5753 455f 4449 hooser_BROWSE_DI │ │ │ +000575f0: 5245 4354 4f52 590a 2020 2020 0a20 2020 RECTORY. . │ │ │ +00057600: 2042 524f 5753 455f 4d55 4c54 495f 4649 BROWSE_MULTI_FI │ │ │ +00057610: 4c45 203d 205f 666c 746b 2e46 6c5f 4e61 LE = _fltk.Fl_Na │ │ │ +00057620: 7469 7665 5f46 696c 655f 4368 6f6f 7365 tive_File_Choose │ │ │ +00057630: 725f 4252 4f57 5345 5f4d 554c 5449 5f46 r_BROWSE_MULTI_F │ │ │ +00057640: 494c 450a 2020 2020 0a20 2020 2042 524f ILE. . BRO │ │ │ +00057650: 5753 455f 4d55 4c54 495f 4449 5245 4354 WSE_MULTI_DIRECT │ │ │ +00057660: 4f52 5920 3d20 5f66 6c74 6b2e 466c 5f4e ORY = _fltk.Fl_N │ │ │ +00057670: 6174 6976 655f 4669 6c65 5f43 686f 6f73 ative_File_Choos │ │ │ +00057680: 6572 5f42 524f 5753 455f 4d55 4c54 495f er_BROWSE_MULTI_ │ │ │ +00057690: 4449 5245 4354 4f52 590a 2020 2020 0a20 DIRECTORY. . │ │ │ +000576a0: 2020 2042 524f 5753 455f 5341 5645 5f46 BROWSE_SAVE_F │ │ │ +000576b0: 494c 4520 3d20 5f66 6c74 6b2e 466c 5f4e ILE = _fltk.Fl_N │ │ │ +000576c0: 6174 6976 655f 4669 6c65 5f43 686f 6f73 ative_File_Choos │ │ │ +000576d0: 6572 5f42 524f 5753 455f 5341 5645 5f46 er_BROWSE_SAVE_F │ │ │ +000576e0: 494c 450a 2020 2020 0a20 2020 2042 524f ILE. . BRO │ │ │ +000576f0: 5753 455f 5341 5645 5f44 4952 4543 544f WSE_SAVE_DIRECTO │ │ │ +00057700: 5259 203d 205f 666c 746b 2e46 6c5f 4e61 RY = _fltk.Fl_Na │ │ │ +00057710: 7469 7665 5f46 696c 655f 4368 6f6f 7365 tive_File_Choose │ │ │ +00057720: 725f 4252 4f57 5345 5f53 4156 455f 4449 r_BROWSE_SAVE_DI │ │ │ +00057730: 5245 4354 4f52 590a 2020 2020 0a20 2020 RECTORY. . │ │ │ +00057740: 204e 4f5f 4f50 5449 4f4e 5320 3d20 5f66 NO_OPTIONS = _f │ │ │ +00057750: 6c74 6b2e 466c 5f4e 6174 6976 655f 4669 ltk.Fl_Native_Fi │ │ │ +00057760: 6c65 5f43 686f 6f73 6572 5f4e 4f5f 4f50 le_Chooser_NO_OP │ │ │ +00057770: 5449 4f4e 530a 2020 2020 0a20 2020 2053 TIONS. . S │ │ │ +00057780: 4156 4541 535f 434f 4e46 4952 4d20 3d20 AVEAS_CONFIRM = │ │ │ +00057790: 5f66 6c74 6b2e 466c 5f4e 6174 6976 655f _fltk.Fl_Native_ │ │ │ +000577a0: 4669 6c65 5f43 686f 6f73 6572 5f53 4156 File_Chooser_SAV │ │ │ +000577b0: 4541 535f 434f 4e46 4952 4d0a 2020 2020 EAS_CONFIRM. │ │ │ +000577c0: 0a20 2020 204e 4557 5f46 4f4c 4445 5220 . NEW_FOLDER │ │ │ +000577d0: 3d20 5f66 6c74 6b2e 466c 5f4e 6174 6976 = _fltk.Fl_Nativ │ │ │ +000577e0: 655f 4669 6c65 5f43 686f 6f73 6572 5f4e e_File_Chooser_N │ │ │ +000577f0: 4557 5f46 4f4c 4445 520a 2020 2020 0a20 EW_FOLDER. . │ │ │ +00057800: 2020 2050 5245 5649 4557 203d 205f 666c PREVIEW = _fl │ │ │ +00057810: 746b 2e46 6c5f 4e61 7469 7665 5f46 696c tk.Fl_Native_Fil │ │ │ +00057820: 655f 4368 6f6f 7365 725f 5052 4556 4945 e_Chooser_PREVIE │ │ │ +00057830: 570a 2020 2020 0a20 2020 2055 5345 5f46 W. . USE_F │ │ │ +00057840: 494c 5445 525f 4558 5420 3d20 5f66 6c74 ILTER_EXT = _flt │ │ │ +00057850: 6b2e 466c 5f4e 6174 6976 655f 4669 6c65 k.Fl_Native_File │ │ │ +00057860: 5f43 686f 6f73 6572 5f55 5345 5f46 494c _Chooser_USE_FIL │ │ │ +00057870: 5445 525f 4558 540a 2020 2020 0a0a 2020 TER_EXT. .. │ │ │ +00057880: 2020 6465 6620 5f5f 696e 6974 5f5f 2873 def __init__(s │ │ │ +00057890: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +000578a0: 2020 2020 2072 2222 225f 5f69 6e69 745f r"""__init_ │ │ │ +000578b0: 5f28 466c 5f4e 6174 6976 655f 4669 6c65 _(Fl_Native_File │ │ │ +000578c0: 5f43 686f 6f73 6572 2073 656c 662c 2069 _Chooser self, i │ │ │ +000578d0: 6e74 2076 616c 3d42 524f 5753 455f 4649 nt val=BROWSE_FI │ │ │ +000578e0: 4c45 2920 2d3e 2046 6c5f 4e61 7469 7665 LE) -> Fl_Native │ │ │ +000578f0: 5f46 696c 655f 4368 6f6f 7365 7222 2222 _File_Chooser""" │ │ │ +00057900: 0a20 2020 2020 2020 205f 666c 746b 2e46 . _fltk.F │ │ │ +00057910: 6c5f 4e61 7469 7665 5f46 696c 655f 4368 l_Native_File_Ch │ │ │ +00057920: 6f6f 7365 725f 7377 6967 696e 6974 2873 ooser_swiginit(s │ │ │ +00057930: 656c 662c 205f 666c 746b 2e6e 6577 5f46 elf, _fltk.new_F │ │ │ +00057940: 6c5f 4e61 7469 7665 5f46 696c 655f 4368 l_Native_File_Ch │ │ │ +00057950: 6f6f 7365 7228 2a61 7267 7329 290a 2020 ooser(*args)). │ │ │ +00057960: 2020 5f5f 7377 6967 5f64 6573 7472 6f79 __swig_destroy │ │ │ +00057970: 5f5f 203d 205f 666c 746b 2e64 656c 6574 __ = _fltk.delet │ │ │ +00057980: 655f 466c 5f4e 6174 6976 655f 4669 6c65 e_Fl_Native_File │ │ │ +00057990: 5f43 686f 6f73 6572 0a0a 2020 2020 6465 _Chooser.. de │ │ │ +000579a0: 6620 7479 7065 2873 656c 662c 202a 6172 f type(self, *ar │ │ │ +000579b0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +000579c0: 220a 2020 2020 2020 2020 7479 7065 2846 ". type(F │ │ │ +000579d0: 6c5f 4e61 7469 7665 5f46 696c 655f 4368 l_Native_File_Ch │ │ │ +000579e0: 6f6f 7365 7220 7365 6c66 2c20 696e 7420 ooser self, int │ │ │ +000579f0: 7429 0a20 2020 2020 2020 2074 7970 6528 t). type( │ │ │ +00057a00: 466c 5f4e 6174 6976 655f 4669 6c65 5f43 Fl_Native_File_C │ │ │ +00057a10: 686f 6f73 6572 2073 656c 6629 202d 3e20 hooser self) -> │ │ │ +00057a20: 696e 740a 2020 2020 2020 2020 2222 220a int. """. │ │ │ +00057a30: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +00057a40: 666c 746b 2e46 6c5f 4e61 7469 7665 5f46 fltk.Fl_Native_F │ │ │ +00057a50: 696c 655f 4368 6f6f 7365 725f 7479 7065 ile_Chooser_type │ │ │ +00057a60: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +00057a70: 2020 2064 6566 206f 7074 696f 6e73 2873 def options(s │ │ │ +00057a80: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00057a90: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ +00057aa0: 2020 6f70 7469 6f6e 7328 466c 5f4e 6174 options(Fl_Nat │ │ │ +00057ab0: 6976 655f 4669 6c65 5f43 686f 6f73 6572 ive_File_Chooser │ │ │ +00057ac0: 2073 656c 662c 2069 6e74 206f 290a 2020 self, int o). │ │ │ +00057ad0: 2020 2020 2020 6f70 7469 6f6e 7328 466c options(Fl │ │ │ +00057ae0: 5f4e 6174 6976 655f 4669 6c65 5f43 686f _Native_File_Cho │ │ │ +00057af0: 6f73 6572 2073 656c 6629 202d 3e20 696e oser self) -> in │ │ │ +00057b00: 740a 2020 2020 2020 2020 2222 220a 2020 t. """. │ │ │ +00057b10: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +00057b20: 746b 2e46 6c5f 4e61 7469 7665 5f46 696c tk.Fl_Native_Fil │ │ │ +00057b30: 655f 4368 6f6f 7365 725f 6f70 7469 6f6e e_Chooser_option │ │ │ +00057b40: 7328 7365 6c66 2c20 2a61 7267 7329 0a0a s(self, *args).. │ │ │ +00057b50: 2020 2020 6465 6620 636f 756e 7428 7365 def count(se │ │ │ +00057b60: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +00057b70: 2020 2020 7222 2222 636f 756e 7428 466c r"""count(Fl │ │ │ +00057b80: 5f4e 6174 6976 655f 4669 6c65 5f43 686f _Native_File_Cho │ │ │ +00057b90: 6f73 6572 2073 656c 6629 202d 3e20 696e oser self) -> in │ │ │ +00057ba0: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ +00057bb0: 7572 6e20 5f66 6c74 6b2e 466c 5f4e 6174 urn _fltk.Fl_Nat │ │ │ +00057bc0: 6976 655f 4669 6c65 5f43 686f 6f73 6572 ive_File_Chooser │ │ │ +00057bd0: 5f63 6f75 6e74 2873 656c 662c 202a 6172 _count(self, *ar │ │ │ +00057be0: 6773 290a 0a20 2020 2064 6566 2066 696c gs).. def fil │ │ │ +00057bf0: 656e 616d 6528 7365 6c66 2c20 2a61 7267 ename(self, *arg │ │ │ +00057c00: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +00057c10: 0a20 2020 2020 2020 2066 696c 656e 616d . filenam │ │ │ +00057c20: 6528 466c 5f4e 6174 6976 655f 4669 6c65 e(Fl_Native_File │ │ │ +00057c30: 5f43 686f 6f73 6572 2073 656c 6629 202d _Chooser self) - │ │ │ +00057c40: 3e20 6368 6172 2063 6f6e 7374 0a20 2020 > char const. │ │ │ +00057c50: 2020 2020 2066 696c 656e 616d 6528 466c filename(Fl │ │ │ +00057c60: 5f4e 6174 6976 655f 4669 6c65 5f43 686f _Native_File_Cho │ │ │ +00057c70: 6f73 6572 2073 656c 662c 2069 6e74 2069 oser self, int i │ │ │ +00057c80: 2920 2d3e 2063 6861 7220 636f 6e73 7420 ) -> char const │ │ │ +00057c90: 2a0a 2020 2020 2020 2020 2222 220a 2020 *. """. │ │ │ +00057ca0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +00057cb0: 746b 2e46 6c5f 4e61 7469 7665 5f46 696c tk.Fl_Native_Fil │ │ │ +00057cc0: 655f 4368 6f6f 7365 725f 6669 6c65 6e61 e_Chooser_filena │ │ │ +00057cd0: 6d65 2873 656c 662c 202a 6172 6773 290a me(self, *args). │ │ │ +00057ce0: 0a20 2020 2064 6566 2064 6972 6563 746f . def directo │ │ │ +00057cf0: 7279 2873 656c 662c 202a 6172 6773 293a ry(self, *args): │ │ │ +00057d00: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ +00057d10: 2020 2020 2020 6469 7265 6374 6f72 7928 directory( │ │ │ +00057d20: 466c 5f4e 6174 6976 655f 4669 6c65 5f43 Fl_Native_File_C │ │ │ +00057d30: 686f 6f73 6572 2073 656c 662c 2063 6861 hooser self, cha │ │ │ +00057d40: 7220 636f 6e73 7420 2a20 7661 6c29 0a20 r const * val). │ │ │ +00057d50: 2020 2020 2020 2064 6972 6563 746f 7279 directory │ │ │ +00057d60: 2846 6c5f 4e61 7469 7665 5f46 696c 655f (Fl_Native_File_ │ │ │ +00057d70: 4368 6f6f 7365 7220 7365 6c66 2920 2d3e Chooser self) -> │ │ │ +00057d80: 2063 6861 7220 636f 6e73 7420 2a0a 2020 char const *. │ │ │ +00057d90: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ +00057da0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +00057db0: 6c5f 4e61 7469 7665 5f46 696c 655f 4368 l_Native_File_Ch │ │ │ +00057dc0: 6f6f 7365 725f 6469 7265 6374 6f72 7928 ooser_directory( │ │ │ +00057dd0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +00057de0: 2020 6465 6620 7469 746c 6528 7365 6c66 def title(self │ │ │ +00057df0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00057e00: 2020 7222 2222 0a20 2020 2020 2020 2074 r""". t │ │ │ +00057e10: 6974 6c65 2846 6c5f 4e61 7469 7665 5f46 itle(Fl_Native_F │ │ │ +00057e20: 696c 655f 4368 6f6f 7365 7220 7365 6c66 ile_Chooser self │ │ │ +00057e30: 2c20 6368 6172 2063 6f6e 7374 202a 2074 , char const * t │ │ │ +00057e40: 290a 2020 2020 2020 2020 7469 746c 6528 ). title( │ │ │ +00057e50: 466c 5f4e 6174 6976 655f 4669 6c65 5f43 Fl_Native_File_C │ │ │ +00057e60: 686f 6f73 6572 2073 656c 6629 202d 3e20 hooser self) -> │ │ │ +00057e70: 6368 6172 2063 6f6e 7374 202a 0a20 2020 char const *. │ │ │ +00057e80: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ +00057e90: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +00057ea0: 5f4e 6174 6976 655f 4669 6c65 5f43 686f _Native_File_Cho │ │ │ +00057eb0: 6f73 6572 5f74 6974 6c65 2873 656c 662c oser_title(self, │ │ │ +00057ec0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +00057ed0: 2066 696c 7465 7228 7365 6c66 2c20 2a61 filter(self, *a │ │ │ +00057ee0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00057ef0: 2222 0a20 2020 2020 2020 2066 696c 7465 "". filte │ │ │ +00057f00: 7228 466c 5f4e 6174 6976 655f 4669 6c65 r(Fl_Native_File │ │ │ +00057f10: 5f43 686f 6f73 6572 2073 656c 6629 202d _Chooser self) - │ │ │ +00057f20: 3e20 6368 6172 2063 6f6e 7374 0a20 2020 > char const. │ │ │ +00057f30: 2020 2020 2066 696c 7465 7228 466c 5f4e filter(Fl_N │ │ │ +00057f40: 6174 6976 655f 4669 6c65 5f43 686f 6f73 ative_File_Choos │ │ │ +00057f50: 6572 2073 656c 662c 2063 6861 7220 636f er self, char co │ │ │ +00057f60: 6e73 7420 2a20 6629 0a20 2020 2020 2020 nst * f). │ │ │ +00057f70: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ +00057f80: 7572 6e20 5f66 6c74 6b2e 466c 5f4e 6174 urn _fltk.Fl_Nat │ │ │ +00057f90: 6976 655f 4669 6c65 5f43 686f 6f73 6572 ive_File_Chooser │ │ │ +00057fa0: 5f66 696c 7465 7228 7365 6c66 2c20 2a61 _filter(self, *a │ │ │ +00057fb0: 7267 7329 0a0a 2020 2020 6465 6620 6669 rgs).. def fi │ │ │ +00057fc0: 6c74 6572 7328 7365 6c66 2c20 2a61 7267 lters(self, *arg │ │ │ +00057fd0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +00057fe0: 6669 6c74 6572 7328 466c 5f4e 6174 6976 filters(Fl_Nativ │ │ │ +00057ff0: 655f 4669 6c65 5f43 686f 6f73 6572 2073 e_File_Chooser s │ │ │ +00058000: 656c 6629 202d 3e20 696e 7422 2222 0a20 elf) -> int""". │ │ │ +00058010: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00058020: 6c74 6b2e 466c 5f4e 6174 6976 655f 4669 ltk.Fl_Native_Fi │ │ │ +00058030: 6c65 5f43 686f 6f73 6572 5f66 696c 7465 le_Chooser_filte │ │ │ +00058040: 7273 2873 656c 662c 202a 6172 6773 290a rs(self, *args). │ │ │ +00058050: 0a20 2020 2064 6566 2066 696c 7465 725f . def filter_ │ │ │ +00058060: 7661 6c75 6528 7365 6c66 2c20 2a61 7267 value(self, *arg │ │ │ +00058070: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +00058080: 0a20 2020 2020 2020 2066 696c 7465 725f . filter_ │ │ │ +00058090: 7661 6c75 6528 466c 5f4e 6174 6976 655f value(Fl_Native_ │ │ │ +000580a0: 4669 6c65 5f43 686f 6f73 6572 2073 656c File_Chooser sel │ │ │ +000580b0: 662c 2069 6e74 2069 290a 2020 2020 2020 f, int i). │ │ │ +000580c0: 2020 6669 6c74 6572 5f76 616c 7565 2846 filter_value(F │ │ │ +000580d0: 6c5f 4e61 7469 7665 5f46 696c 655f 4368 l_Native_File_Ch │ │ │ +000580e0: 6f6f 7365 7220 7365 6c66 2920 2d3e 2069 ooser self) -> i │ │ │ +000580f0: 6e74 0a20 2020 2020 2020 2022 2222 0a20 nt. """. │ │ │ +00058100: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00058110: 6c74 6b2e 466c 5f4e 6174 6976 655f 4669 ltk.Fl_Native_Fi │ │ │ +00058120: 6c65 5f43 686f 6f73 6572 5f66 696c 7465 le_Chooser_filte │ │ │ +00058130: 725f 7661 6c75 6528 7365 6c66 2c20 2a61 r_value(self, *a │ │ │ +00058140: 7267 7329 0a0a 2020 2020 6465 6620 7072 rgs).. def pr │ │ │ +00058150: 6573 6574 5f66 696c 6528 7365 6c66 2c20 eset_file(self, │ │ │ +00058160: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00058170: 7222 2222 0a20 2020 2020 2020 2070 7265 r""". pre │ │ │ +00058180: 7365 745f 6669 6c65 2846 6c5f 4e61 7469 set_file(Fl_Nati │ │ │ +00058190: 7665 5f46 696c 655f 4368 6f6f 7365 7220 ve_File_Chooser │ │ │ +000581a0: 7365 6c66 2c20 6368 6172 2063 6f6e 7374 self, char const │ │ │ +000581b0: 202a 2066 290a 2020 2020 2020 2020 7072 * f). pr │ │ │ +000581c0: 6573 6574 5f66 696c 6528 466c 5f4e 6174 eset_file(Fl_Nat │ │ │ +000581d0: 6976 655f 4669 6c65 5f43 686f 6f73 6572 ive_File_Chooser │ │ │ +000581e0: 2073 656c 6629 202d 3e20 6368 6172 2063 self) -> char c │ │ │ +000581f0: 6f6e 7374 202a 0a20 2020 2020 2020 2022 onst *. " │ │ │ +00058200: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +00058210: 6e20 5f66 6c74 6b2e 466c 5f4e 6174 6976 n _fltk.Fl_Nativ │ │ │ +00058220: 655f 4669 6c65 5f43 686f 6f73 6572 5f70 e_File_Chooser_p │ │ │ +00058230: 7265 7365 745f 6669 6c65 2873 656c 662c reset_file(self, │ │ │ +00058240: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +00058250: 2065 7272 6d73 6728 7365 6c66 2c20 2a61 errmsg(self, *a │ │ │ +00058260: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00058270: 2222 6572 726d 7367 2846 6c5f 4e61 7469 ""errmsg(Fl_Nati │ │ │ +00058280: 7665 5f46 696c 655f 4368 6f6f 7365 7220 ve_File_Chooser │ │ │ +00058290: 7365 6c66 2920 2d3e 2063 6861 7220 636f self) -> char co │ │ │ +000582a0: 6e73 7420 2a22 2222 0a20 2020 2020 2020 nst *""". │ │ │ +000582b0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +000582c0: 5f4e 6174 6976 655f 4669 6c65 5f43 686f _Native_File_Cho │ │ │ +000582d0: 6f73 6572 5f65 7272 6d73 6728 7365 6c66 oser_errmsg(self │ │ │ +000582e0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +000582f0: 6620 7368 6f77 2873 656c 662c 202a 6172 f show(self, *ar │ │ │ +00058300: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00058310: 2273 686f 7728 466c 5f4e 6174 6976 655f "show(Fl_Native_ │ │ │ +00058320: 4669 6c65 5f43 686f 6f73 6572 2073 656c File_Chooser sel │ │ │ +00058330: 6629 202d 3e20 696e 7422 2222 0a20 2020 f) -> int""". │ │ │ +00058340: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00058350: 6b2e 466c 5f4e 6174 6976 655f 4669 6c65 k.Fl_Native_File │ │ │ +00058360: 5f43 686f 6f73 6572 5f73 686f 7728 7365 _Chooser_show(se │ │ │ +00058370: 6c66 2c20 2a61 7267 7329 0a0a 2320 5265 lf, *args)..# Re │ │ │ +00058380: 6769 7374 6572 2046 6c5f 4e61 7469 7665 gister Fl_Native │ │ │ +00058390: 5f46 696c 655f 4368 6f6f 7365 7220 696e _File_Chooser in │ │ │ +000583a0: 205f 666c 746b 3a0a 5f66 6c74 6b2e 466c _fltk:._fltk.Fl │ │ │ +000583b0: 5f4e 6174 6976 655f 4669 6c65 5f43 686f _Native_File_Cho │ │ │ +000583c0: 6f73 6572 5f73 7769 6772 6567 6973 7465 oser_swigregiste │ │ │ +000583d0: 7228 466c 5f4e 6174 6976 655f 4669 6c65 r(Fl_Native_File │ │ │ +000583e0: 5f43 686f 6f73 6572 290a 636c 6173 7320 _Chooser).class │ │ │ +000583f0: 466c 5f4e 6174 6976 655f 4669 6c65 5f43 Fl_Native_File_C │ │ │ +00058400: 686f 6f73 6572 5f44 7269 7665 7228 6f62 hooser_Driver(ob │ │ │ +00058410: 6a65 6374 293a 0a20 2020 2072 2222 2250 ject):. r"""P │ │ │ +00058420: 726f 7879 206f 6620 432b 2b20 466c 5f4e roxy of C++ Fl_N │ │ │ +00058430: 6174 6976 655f 4669 6c65 5f43 686f 6f73 ative_File_Choos │ │ │ +00058440: 6572 5f44 7269 7665 7220 636c 6173 732e er_Driver class. │ │ │ +00058450: 2222 220a 0a20 2020 2074 6869 736f 776e """.. thisown │ │ │ +00058460: 203d 2070 726f 7065 7274 7928 6c61 6d62 = property(lamb │ │ │ +00058470: 6461 2078 3a20 782e 7468 6973 2e6f 776e da x: x.this.own │ │ │ +00058480: 2829 2c20 6c61 6d62 6461 2078 2c20 763a (), lambda x, v: │ │ │ +00058490: 2078 2e74 6869 732e 6f77 6e28 7629 2c20 x.this.own(v), │ │ │ +000584a0: 646f 633d 2254 6865 206d 656d 6265 7273 doc="The members │ │ │ +000584b0: 6869 7020 666c 6167 2229 0a20 2020 205f hip flag"). _ │ │ │ +000584c0: 5f72 6570 725f 5f20 3d20 5f73 7769 675f _repr__ = _swig_ │ │ │ +000584d0: 7265 7072 0a0a 2020 2020 6465 6620 5f5f repr.. def __ │ │ │ +000584e0: 696e 6974 5f5f 2873 656c 662c 202a 6172 init__(self, *ar │ │ │ +000584f0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00058500: 225f 5f69 6e69 745f 5f28 466c 5f4e 6174 "__init__(Fl_Nat │ │ │ +00058510: 6976 655f 4669 6c65 5f43 686f 6f73 6572 ive_File_Chooser │ │ │ +00058520: 5f44 7269 7665 7220 7365 6c66 2c20 696e _Driver self, in │ │ │ +00058530: 7420 6172 6732 2920 2d3e 2046 6c5f 4e61 t arg2) -> Fl_Na │ │ │ +00058540: 7469 7665 5f46 696c 655f 4368 6f6f 7365 tive_File_Choose │ │ │ +00058550: 725f 4472 6976 6572 2222 220a 2020 2020 r_Driver""". │ │ │ +00058560: 2020 2020 6966 2073 656c 662e 5f5f 636c if self.__cl │ │ │ +00058570: 6173 735f 5f20 3d3d 2046 6c5f 4e61 7469 ass__ == Fl_Nati │ │ │ +00058580: 7665 5f46 696c 655f 4368 6f6f 7365 725f ve_File_Chooser_ │ │ │ +00058590: 4472 6976 6572 3a0a 2020 2020 2020 2020 Driver:. │ │ │ +000585a0: 2020 2020 5f73 656c 6620 3d20 4e6f 6e65 _self = None │ │ │ +000585b0: 0a20 2020 2020 2020 2065 6c73 653a 0a20 . else:. │ │ │ +000585c0: 2020 2020 2020 2020 2020 205f 7365 6c66 _self │ │ │ +000585d0: 203d 2073 656c 660a 2020 2020 2020 2020 = self. │ │ │ +000585e0: 5f66 6c74 6b2e 466c 5f4e 6174 6976 655f _fltk.Fl_Native_ │ │ │ +000585f0: 4669 6c65 5f43 686f 6f73 6572 5f44 7269 File_Chooser_Dri │ │ │ +00058600: 7665 725f 7377 6967 696e 6974 2873 656c ver_swiginit(sel │ │ │ +00058610: 662c 205f 666c 746b 2e6e 6577 5f46 6c5f f, _fltk.new_Fl_ │ │ │ +00058620: 4e61 7469 7665 5f46 696c 655f 4368 6f6f Native_File_Choo │ │ │ +00058630: 7365 725f 4472 6976 6572 285f 7365 6c66 ser_Driver(_self │ │ │ +00058640: 2c20 2a61 7267 7329 290a 2020 2020 5f5f , *args)). __ │ │ │ +00058650: 7377 6967 5f64 6573 7472 6f79 5f5f 203d swig_destroy__ = │ │ │ +00058660: 205f 666c 746b 2e64 656c 6574 655f 466c _fltk.delete_Fl │ │ │ +00058670: 5f4e 6174 6976 655f 4669 6c65 5f43 686f _Native_File_Cho │ │ │ +00058680: 6f73 6572 5f44 7269 7665 720a 0a20 2020 oser_Driver.. │ │ │ +00058690: 2064 6566 2074 7970 6528 7365 6c66 2c20 def type(self, │ │ │ +000586a0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +000586b0: 7222 2222 0a20 2020 2020 2020 2074 7970 r""". typ │ │ │ +000586c0: 6528 466c 5f4e 6174 6976 655f 4669 6c65 e(Fl_Native_File │ │ │ +000586d0: 5f43 686f 6f73 6572 5f44 7269 7665 7220 _Chooser_Driver │ │ │ +000586e0: 7365 6c66 2c20 696e 7420 6172 6730 290a self, int arg0). │ │ │ +000586f0: 2020 2020 2020 2020 7479 7065 2846 6c5f type(Fl_ │ │ │ +00058700: 4e61 7469 7665 5f46 696c 655f 4368 6f6f Native_File_Choo │ │ │ +00058710: 7365 725f 4472 6976 6572 2073 656c 6629 ser_Driver self) │ │ │ +00058720: 202d 3e20 696e 740a 2020 2020 2020 2020 -> int. │ │ │ +00058730: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +00058740: 726e 205f 666c 746b 2e46 6c5f 4e61 7469 rn _fltk.Fl_Nati │ │ │ +00058750: 7665 5f46 696c 655f 4368 6f6f 7365 725f ve_File_Chooser_ │ │ │ +00058760: 4472 6976 6572 5f74 7970 6528 7365 6c66 Driver_type(self │ │ │ +00058770: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00058780: 6620 6f70 7469 6f6e 7328 7365 6c66 2c20 f options(self, │ │ │ +00058790: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +000587a0: 7222 2222 0a20 2020 2020 2020 206f 7074 r""". opt │ │ │ +000587b0: 696f 6e73 2846 6c5f 4e61 7469 7665 5f46 ions(Fl_Native_F │ │ │ +000587c0: 696c 655f 4368 6f6f 7365 725f 4472 6976 ile_Chooser_Driv │ │ │ +000587d0: 6572 2073 656c 662c 2069 6e74 2061 7267 er self, int arg │ │ │ +000587e0: 3029 0a20 2020 2020 2020 206f 7074 696f 0). optio │ │ │ +000587f0: 6e73 2846 6c5f 4e61 7469 7665 5f46 696c ns(Fl_Native_Fil │ │ │ +00058800: 655f 4368 6f6f 7365 725f 4472 6976 6572 e_Chooser_Driver │ │ │ +00058810: 2073 656c 6629 202d 3e20 696e 740a 2020 self) -> int. │ │ │ +00058820: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ +00058830: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +00058840: 6c5f 4e61 7469 7665 5f46 696c 655f 4368 l_Native_File_Ch │ │ │ +00058850: 6f6f 7365 725f 4472 6976 6572 5f6f 7074 ooser_Driver_opt │ │ │ +00058860: 696f 6e73 2873 656c 662c 202a 6172 6773 ions(self, *args │ │ │ +00058870: 290a 0a20 2020 2064 6566 2063 6f75 6e74 ).. def count │ │ │ +00058880: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00058890: 2020 2020 2020 2072 2222 2263 6f75 6e74 r"""count │ │ │ +000588a0: 2846 6c5f 4e61 7469 7665 5f46 696c 655f (Fl_Native_File_ │ │ │ +000588b0: 4368 6f6f 7365 725f 4472 6976 6572 2073 Chooser_Driver s │ │ │ +000588c0: 656c 6629 202d 3e20 696e 7422 2222 0a20 elf) -> int""". │ │ │ +000588d0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +000588e0: 6c74 6b2e 466c 5f4e 6174 6976 655f 4669 ltk.Fl_Native_Fi │ │ │ +000588f0: 6c65 5f43 686f 6f73 6572 5f44 7269 7665 le_Chooser_Drive │ │ │ +00058900: 725f 636f 756e 7428 7365 6c66 2c20 2a61 r_count(self, *a │ │ │ +00058910: 7267 7329 0a0a 2020 2020 6465 6620 6669 rgs).. def fi │ │ │ +00058920: 6c65 6e61 6d65 2873 656c 662c 202a 6172 lename(self, *ar │ │ │ +00058930: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00058940: 220a 2020 2020 2020 2020 6669 6c65 6e61 ". filena │ │ │ +00058950: 6d65 2846 6c5f 4e61 7469 7665 5f46 696c me(Fl_Native_Fil │ │ │ +00058960: 655f 4368 6f6f 7365 725f 4472 6976 6572 e_Chooser_Driver │ │ │ +00058970: 2073 656c 6629 202d 3e20 6368 6172 2063 self) -> char c │ │ │ +00058980: 6f6e 7374 0a20 2020 2020 2020 2066 696c onst. fil │ │ │ +00058990: 656e 616d 6528 466c 5f4e 6174 6976 655f ename(Fl_Native_ │ │ │ +000589a0: 4669 6c65 5f43 686f 6f73 6572 5f44 7269 File_Chooser_Dri │ │ │ +000589b0: 7665 7220 7365 6c66 2c20 696e 7420 6172 ver self, int ar │ │ │ +000589c0: 6730 2920 2d3e 2063 6861 7220 636f 6e73 g0) -> char cons │ │ │ +000589d0: 7420 2a0a 2020 2020 2020 2020 2222 220a t *. """. │ │ │ +000589e0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +000589f0: 666c 746b 2e46 6c5f 4e61 7469 7665 5f46 fltk.Fl_Native_F │ │ │ +00058a00: 696c 655f 4368 6f6f 7365 725f 4472 6976 ile_Chooser_Driv │ │ │ +00058a10: 6572 5f66 696c 656e 616d 6528 7365 6c66 er_filename(self │ │ │ +00058a20: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00058a30: 6620 6469 7265 6374 6f72 7928 7365 6c66 f directory(self │ │ │ +00058a40: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00058a50: 2020 7222 2222 0a20 2020 2020 2020 2064 r""". d │ │ │ +00058a60: 6972 6563 746f 7279 2846 6c5f 4e61 7469 irectory(Fl_Nati │ │ │ +00058a70: 7665 5f46 696c 655f 4368 6f6f 7365 725f ve_File_Chooser_ │ │ │ +00058a80: 4472 6976 6572 2073 656c 662c 2063 6861 Driver self, cha │ │ │ +00058a90: 7220 636f 6e73 7420 2a20 6172 6730 290a r const * arg0). │ │ │ +00058aa0: 2020 2020 2020 2020 6469 7265 6374 6f72 director │ │ │ +00058ab0: 7928 466c 5f4e 6174 6976 655f 4669 6c65 y(Fl_Native_File │ │ │ +00058ac0: 5f43 686f 6f73 6572 5f44 7269 7665 7220 _Chooser_Driver │ │ │ +00058ad0: 7365 6c66 2920 2d3e 2063 6861 7220 636f self) -> char co │ │ │ +00058ae0: 6e73 7420 2a0a 2020 2020 2020 2020 2222 nst *. "" │ │ │ +00058af0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +00058b00: 205f 666c 746b 2e46 6c5f 4e61 7469 7665 _fltk.Fl_Native │ │ │ +00058b10: 5f46 696c 655f 4368 6f6f 7365 725f 4472 _File_Chooser_Dr │ │ │ +00058b20: 6976 6572 5f64 6972 6563 746f 7279 2873 iver_directory(s │ │ │ +00058b30: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +00058b40: 2064 6566 2074 6974 6c65 2873 656c 662c def title(self, │ │ │ +00058b50: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00058b60: 2072 2222 220a 2020 2020 2020 2020 7469 r""". ti │ │ │ +00058b70: 746c 6528 466c 5f4e 6174 6976 655f 4669 tle(Fl_Native_Fi │ │ │ +00058b80: 6c65 5f43 686f 6f73 6572 5f44 7269 7665 le_Chooser_Drive │ │ │ +00058b90: 7220 7365 6c66 2c20 6368 6172 2063 6f6e r self, char con │ │ │ +00058ba0: 7374 202a 2061 7267 3029 0a20 2020 2020 st * arg0). │ │ │ +00058bb0: 2020 2074 6974 6c65 2846 6c5f 4e61 7469 title(Fl_Nati │ │ │ +00058bc0: 7665 5f46 696c 655f 4368 6f6f 7365 725f ve_File_Chooser_ │ │ │ +00058bd0: 4472 6976 6572 2073 656c 6629 202d 3e20 Driver self) -> │ │ │ +00058be0: 6368 6172 2063 6f6e 7374 202a 0a20 2020 char const *. │ │ │ +00058bf0: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ +00058c00: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +00058c10: 5f4e 6174 6976 655f 4669 6c65 5f43 686f _Native_File_Cho │ │ │ +00058c20: 6f73 6572 5f44 7269 7665 725f 7469 746c oser_Driver_titl │ │ │ +00058c30: 6528 7365 6c66 2c20 2a61 7267 7329 0a0a e(self, *args).. │ │ │ +00058c40: 2020 2020 6465 6620 6669 6c74 6572 2873 def filter(s │ │ │ +00058c50: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00058c60: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ +00058c70: 2020 6669 6c74 6572 2846 6c5f 4e61 7469 filter(Fl_Nati │ │ │ +00058c80: 7665 5f46 696c 655f 4368 6f6f 7365 725f ve_File_Chooser_ │ │ │ +00058c90: 4472 6976 6572 2073 656c 6629 202d 3e20 Driver self) -> │ │ │ +00058ca0: 6368 6172 2063 6f6e 7374 0a20 2020 2020 char const. │ │ │ +00058cb0: 2020 2066 696c 7465 7228 466c 5f4e 6174 filter(Fl_Nat │ │ │ +00058cc0: 6976 655f 4669 6c65 5f43 686f 6f73 6572 ive_File_Chooser │ │ │ +00058cd0: 5f44 7269 7665 7220 7365 6c66 2c20 6368 _Driver self, ch │ │ │ +00058ce0: 6172 2063 6f6e 7374 202a 2061 7267 3029 ar const * arg0) │ │ │ +00058cf0: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ +00058d00: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00058d10: 6b2e 466c 5f4e 6174 6976 655f 4669 6c65 k.Fl_Native_File │ │ │ +00058d20: 5f43 686f 6f73 6572 5f44 7269 7665 725f _Chooser_Driver_ │ │ │ +00058d30: 6669 6c74 6572 2873 656c 662c 202a 6172 filter(self, *ar │ │ │ +00058d40: 6773 290a 0a20 2020 2064 6566 2066 696c gs).. def fil │ │ │ +00058d50: 7465 7273 2873 656c 662c 202a 6172 6773 ters(self, *args │ │ │ +00058d60: 293a 0a20 2020 2020 2020 2072 2222 2266 ):. r"""f │ │ │ +00058d70: 696c 7465 7273 2846 6c5f 4e61 7469 7665 ilters(Fl_Native │ │ │ +00058d80: 5f46 696c 655f 4368 6f6f 7365 725f 4472 _File_Chooser_Dr │ │ │ +00058d90: 6976 6572 2073 656c 6629 202d 3e20 696e iver self) -> in │ │ │ +00058da0: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ +00058db0: 7572 6e20 5f66 6c74 6b2e 466c 5f4e 6174 urn _fltk.Fl_Nat │ │ │ +00058dc0: 6976 655f 4669 6c65 5f43 686f 6f73 6572 ive_File_Chooser │ │ │ +00058dd0: 5f44 7269 7665 725f 6669 6c74 6572 7328 _Driver_filters( │ │ │ +00058de0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +00058df0: 2020 6465 6620 6669 6c74 6572 5f76 616c def filter_val │ │ │ +00058e00: 7565 2873 656c 662c 202a 6172 6773 293a ue(self, *args): │ │ │ +00058e10: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ +00058e20: 2020 2020 2020 6669 6c74 6572 5f76 616c filter_val │ │ │ +00058e30: 7565 2846 6c5f 4e61 7469 7665 5f46 696c ue(Fl_Native_Fil │ │ │ +00058e40: 655f 4368 6f6f 7365 725f 4472 6976 6572 e_Chooser_Driver │ │ │ +00058e50: 2073 656c 662c 2069 6e74 2061 7267 3029 self, int arg0) │ │ │ +00058e60: 0a20 2020 2020 2020 2066 696c 7465 725f . filter_ │ │ │ +00058e70: 7661 6c75 6528 466c 5f4e 6174 6976 655f value(Fl_Native_ │ │ │ +00058e80: 4669 6c65 5f43 686f 6f73 6572 5f44 7269 File_Chooser_Dri │ │ │ +00058e90: 7665 7220 7365 6c66 2920 2d3e 2069 6e74 ver self) -> int │ │ │ +00058ea0: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ +00058eb0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00058ec0: 6b2e 466c 5f4e 6174 6976 655f 4669 6c65 k.Fl_Native_File │ │ │ +00058ed0: 5f43 686f 6f73 6572 5f44 7269 7665 725f _Chooser_Driver_ │ │ │ +00058ee0: 6669 6c74 6572 5f76 616c 7565 2873 656c filter_value(sel │ │ │ +00058ef0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +00058f00: 6566 2070 7265 7365 745f 6669 6c65 2873 ef preset_file(s │ │ │ +00058f10: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00058f20: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ +00058f30: 2020 7072 6573 6574 5f66 696c 6528 466c preset_file(Fl │ │ │ +00058f40: 5f4e 6174 6976 655f 4669 6c65 5f43 686f _Native_File_Cho │ │ │ +00058f50: 6f73 6572 5f44 7269 7665 7220 7365 6c66 oser_Driver self │ │ │ +00058f60: 2c20 6368 6172 2063 6f6e 7374 202a 2061 , char const * a │ │ │ +00058f70: 7267 3029 0a20 2020 2020 2020 2070 7265 rg0). pre │ │ │ +00058f80: 7365 745f 6669 6c65 2846 6c5f 4e61 7469 set_file(Fl_Nati │ │ │ +00058f90: 7665 5f46 696c 655f 4368 6f6f 7365 725f ve_File_Chooser_ │ │ │ +00058fa0: 4472 6976 6572 2073 656c 6629 202d 3e20 Driver self) -> │ │ │ +00058fb0: 6368 6172 2063 6f6e 7374 202a 0a20 2020 char const *. │ │ │ +00058fc0: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ +00058fd0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +00058fe0: 5f4e 6174 6976 655f 4669 6c65 5f43 686f _Native_File_Cho │ │ │ +00058ff0: 6f73 6572 5f44 7269 7665 725f 7072 6573 oser_Driver_pres │ │ │ +00059000: 6574 5f66 696c 6528 7365 6c66 2c20 2a61 et_file(self, *a │ │ │ +00059010: 7267 7329 0a0a 2020 2020 6465 6620 6572 rgs).. def er │ │ │ +00059020: 726d 7367 2873 656c 662c 202a 6172 6773 rmsg(self, *args │ │ │ +00059030: 293a 0a20 2020 2020 2020 2072 2222 2265 ):. r"""e │ │ │ +00059040: 7272 6d73 6728 466c 5f4e 6174 6976 655f rrmsg(Fl_Native_ │ │ │ +00059050: 4669 6c65 5f43 686f 6f73 6572 5f44 7269 File_Chooser_Dri │ │ │ +00059060: 7665 7220 7365 6c66 2920 2d3e 2063 6861 ver self) -> cha │ │ │ +00059070: 7220 636f 6e73 7420 2a22 2222 0a20 2020 r const *""". │ │ │ +00059080: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00059090: 6b2e 466c 5f4e 6174 6976 655f 4669 6c65 k.Fl_Native_File │ │ │ +000590a0: 5f43 686f 6f73 6572 5f44 7269 7665 725f _Chooser_Driver_ │ │ │ +000590b0: 6572 726d 7367 2873 656c 662c 202a 6172 errmsg(self, *ar │ │ │ +000590c0: 6773 290a 0a20 2020 2064 6566 2073 686f gs).. def sho │ │ │ +000590d0: 7728 7365 6c66 2c20 2a61 7267 7329 3a0a w(self, *args):. │ │ │ +000590e0: 2020 2020 2020 2020 7222 2222 7368 6f77 r"""show │ │ │ +000590f0: 2846 6c5f 4e61 7469 7665 5f46 696c 655f (Fl_Native_File_ │ │ │ +00059100: 4368 6f6f 7365 725f 4472 6976 6572 2073 Chooser_Driver s │ │ │ +00059110: 656c 6629 202d 3e20 696e 7422 2222 0a20 elf) -> int""". │ │ │ +00059120: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00059130: 6c74 6b2e 466c 5f4e 6174 6976 655f 4669 ltk.Fl_Native_Fi │ │ │ +00059140: 6c65 5f43 686f 6f73 6572 5f44 7269 7665 le_Chooser_Drive │ │ │ +00059150: 725f 7368 6f77 2873 656c 662c 202a 6172 r_show(self, *ar │ │ │ +00059160: 6773 290a 2020 2020 6465 6620 5f5f 6469 gs). def __di │ │ │ +00059170: 736f 776e 5f5f 2873 656c 6629 3a0a 2020 sown__(self):. │ │ │ +00059180: 2020 2020 2020 7365 6c66 2e74 6869 732e self.this. │ │ │ +00059190: 6469 736f 776e 2829 0a20 2020 2020 2020 disown(). │ │ │ +000591a0: 205f 666c 746b 2e64 6973 6f77 6e5f 466c _fltk.disown_Fl │ │ │ +000591b0: 5f4e 6174 6976 655f 4669 6c65 5f43 686f _Native_File_Cho │ │ │ +000591c0: 6f73 6572 5f44 7269 7665 7228 7365 6c66 oser_Driver(self │ │ │ +000591d0: 290a 2020 2020 2020 2020 7265 7475 726e ). return │ │ │ +000591e0: 2077 6561 6b72 6566 2e70 726f 7879 2873 weakref.proxy(s │ │ │ +000591f0: 656c 6629 0a0a 2320 5265 6769 7374 6572 elf)..# Register │ │ │ +00059200: 2046 6c5f 4e61 7469 7665 5f46 696c 655f Fl_Native_File_ │ │ │ +00059210: 4368 6f6f 7365 725f 4472 6976 6572 2069 Chooser_Driver i │ │ │ +00059220: 6e20 5f66 6c74 6b3a 0a5f 666c 746b 2e46 n _fltk:._fltk.F │ │ │ +00059230: 6c5f 4e61 7469 7665 5f46 696c 655f 4368 l_Native_File_Ch │ │ │ +00059240: 6f6f 7365 725f 4472 6976 6572 5f73 7769 ooser_Driver_swi │ │ │ +00059250: 6772 6567 6973 7465 7228 466c 5f4e 6174 gregister(Fl_Nat │ │ │ +00059260: 6976 655f 4669 6c65 5f43 686f 6f73 6572 ive_File_Chooser │ │ │ +00059270: 5f44 7269 7665 7229 0a63 6c61 7373 2046 _Driver).class F │ │ │ +00059280: 6c5f 4f76 6572 6c61 795f 5769 6e64 6f77 l_Overlay_Window │ │ │ +00059290: 2846 6c5f 446f 7562 6c65 5f57 696e 646f (Fl_Double_Windo │ │ │ +000592a0: 7729 3a0a 2020 2020 7222 2222 0a0a 2020 w):. r""".. │ │ │ +000592b0: 2020 5468 6973 2077 696e 646f 7720 7072 This window pr │ │ │ +000592c0: 6f76 6964 6573 2064 6f75 626c 6520 6275 ovides double bu │ │ │ +000592d0: 6666 6572 696e 6720 616e 6420 616c 736f ffering and also │ │ │ +000592e0: 2074 6865 2061 6269 6c69 7479 2074 6f20 the ability to │ │ │ +000592f0: 6472 6177 2074 6865 200a 2020 2020 276f draw the . 'o │ │ │ +00059300: 7665 726c 6179 2720 7768 6963 6820 6973 verlay' which is │ │ │ +00059310: 2061 6e6f 7468 6572 2070 6963 7475 7265 another picture │ │ │ +00059320: 2070 6c61 6365 6420 6f6e 2074 6f70 206f placed on top o │ │ │ +00059330: 6620 7468 6520 6d61 696e 2069 6d61 6765 f the main image │ │ │ +00059340: 2e20 5468 6520 0a20 2020 206f 7665 726c . The . overl │ │ │ +00059350: 6179 2069 7320 6465 7369 676e 6564 2074 ay is designed t │ │ │ +00059360: 6f20 6265 2061 2072 6170 6964 6c79 2d63 o be a rapidly-c │ │ │ +00059370: 6861 6e67 696e 6720 6275 7420 7369 6d70 hanging but simp │ │ │ +00059380: 6c65 2067 7261 7068 6963 2073 7563 6820 le graphic such │ │ │ +00059390: 6173 200a 2020 2020 6120 6d6f 7573 6520 as . a mouse │ │ │ +000593a0: 7365 6c65 6374 696f 6e20 626f 782e 2046 selection box. F │ │ │ +000593b0: 6c5f 4f76 6572 6c61 795f 5769 6e64 6f77 l_Overlay_Window │ │ │ +000593c0: 2075 7365 7320 7468 6520 6f76 6572 6c61 uses the overla │ │ │ +000593d0: 7920 706c 616e 6573 2070 726f 7669 6465 y planes provide │ │ │ +000593e0: 6420 0a20 2020 2062 7920 796f 7572 2067 d . by your g │ │ │ +000593f0: 7261 7068 6963 7320 6861 7264 7761 7265 raphics hardware │ │ │ +00059400: 2069 6620 7468 6579 2061 7265 2061 7661 if they are ava │ │ │ +00059410: 696c 6162 6c65 2e0a 0a20 2020 2049 6620 ilable... If │ │ │ +00059420: 6e6f 2068 6172 6477 6172 6520 7375 7070 no hardware supp │ │ │ +00059430: 6f72 7420 6973 2066 6f75 6e64 2074 6865 ort is found the │ │ │ +00059440: 206f 7665 726c 6179 2069 7320 7369 6d75 overlay is simu │ │ │ +00059450: 6c61 7465 6420 6279 2064 7261 7769 6e67 lated by drawing │ │ │ +00059460: 2064 6972 6563 746c 7920 0a20 2020 2069 directly . i │ │ │ +00059470: 6e74 6f20 7468 6520 6f6e 2d73 6372 6565 nto the on-scree │ │ │ +00059480: 6e20 636f 7079 206f 6620 7468 6520 646f n copy of the do │ │ │ +00059490: 7562 6c65 2d62 7566 6665 7265 6420 7769 uble-buffered wi │ │ │ +000594a0: 6e64 6f77 2c20 616e 6420 2765 7261 7365 ndow, and 'erase │ │ │ +000594b0: 6427 2062 7920 0a20 2020 2063 6f70 7969 d' by . copyi │ │ │ +000594c0: 6e67 2074 6865 2062 6163 6b62 7566 6665 ng the backbuffe │ │ │ +000594d0: 7220 6f76 6572 2069 7420 6167 6169 6e2e r over it again. │ │ │ +000594e0: 2054 6869 7320 6d65 616e 7320 7468 6520 This means the │ │ │ +000594f0: 6f76 6572 6c61 7920 7769 6c6c 2062 6c69 overlay will bli │ │ │ +00059500: 6e6b 2069 6620 0a20 2020 2079 6f75 2063 nk if . you c │ │ │ +00059510: 6861 6e67 6520 7468 6520 696d 6167 6520 hange the image │ │ │ +00059520: 696e 2074 6865 2077 696e 646f 772e 200a in the window. . │ │ │ +00059530: 0a20 2020 2022 2222 0a0a 2020 2020 7468 . """.. th │ │ │ +00059540: 6973 6f77 6e20 3d20 7072 6f70 6572 7479 isown = property │ │ │ +00059550: 286c 616d 6264 6120 783a 2078 2e74 6869 (lambda x: x.thi │ │ │ +00059560: 732e 6f77 6e28 292c 206c 616d 6264 6120 s.own(), lambda │ │ │ +00059570: 782c 2076 3a20 782e 7468 6973 2e6f 776e x, v: x.this.own │ │ │ +00059580: 2876 292c 2064 6f63 3d22 5468 6520 6d65 (v), doc="The me │ │ │ +00059590: 6d62 6572 7368 6970 2066 6c61 6722 290a mbership flag"). │ │ │ +000595a0: 2020 2020 5f5f 7265 7072 5f5f 203d 205f __repr__ = _ │ │ │ +000595b0: 7377 6967 5f72 6570 720a 0a20 2020 2064 swig_repr.. d │ │ │ +000595c0: 6566 2064 7261 775f 6f76 6572 6c61 7928 ef draw_overlay( │ │ │ +000595d0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +000595e0: 2020 2020 2020 7222 2222 6472 6177 5f6f r"""draw_o │ │ │ +000595f0: 7665 726c 6179 2846 6c5f 4f76 6572 6c61 verlay(Fl_Overla │ │ │ +00059600: 795f 5769 6e64 6f77 2073 656c 6629 2222 y_Window self)"" │ │ │ +00059610: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +00059620: 205f 666c 746b 2e46 6c5f 4f76 6572 6c61 _fltk.Fl_Overla │ │ │ +00059630: 795f 5769 6e64 6f77 5f64 7261 775f 6f76 y_Window_draw_ov │ │ │ +00059640: 6572 6c61 7928 7365 6c66 2c20 2a61 7267 erlay(self, *arg │ │ │ +00059650: 7329 0a0a 2020 2020 6465 6620 6869 6465 s).. def hide │ │ │ +00059660: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00059670: 2020 2020 2020 2072 2222 2268 6964 6528 r"""hide( │ │ │ +00059680: 466c 5f4f 7665 726c 6179 5f57 696e 646f Fl_Overlay_Windo │ │ │ +00059690: 7720 7365 6c66 2922 2222 0a20 2020 2020 w self)""". │ │ │ +000596a0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +000596b0: 466c 5f4f 7665 726c 6179 5f57 696e 646f Fl_Overlay_Windo │ │ │ +000596c0: 775f 6869 6465 2873 656c 662c 202a 6172 w_hide(self, *ar │ │ │ +000596d0: 6773 290a 0a20 2020 2064 6566 2066 6c75 gs).. def flu │ │ │ +000596e0: 7368 2873 656c 662c 202a 6172 6773 293a sh(self, *args): │ │ │ +000596f0: 0a20 2020 2020 2020 2072 2222 2266 6c75 . r"""flu │ │ │ +00059700: 7368 2846 6c5f 4f76 6572 6c61 795f 5769 sh(Fl_Overlay_Wi │ │ │ +00059710: 6e64 6f77 2073 656c 6629 2222 220a 2020 ndow self)""". │ │ │ +00059720: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +00059730: 746b 2e46 6c5f 4f76 6572 6c61 795f 5769 tk.Fl_Overlay_Wi │ │ │ +00059740: 6e64 6f77 5f66 6c75 7368 2873 656c 662c ndow_flush(self, │ │ │ +00059750: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +00059760: 2072 6573 697a 6528 7365 6c66 2c20 2a61 resize(self, *a │ │ │ +00059770: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00059780: 2222 7265 7369 7a65 2846 6c5f 4f76 6572 ""resize(Fl_Over │ │ │ +00059790: 6c61 795f 5769 6e64 6f77 2073 656c 662c lay_Window self, │ │ │ +000597a0: 2069 6e74 2061 7267 302c 2069 6e74 2061 int arg0, int a │ │ │ +000597b0: 7267 312c 2069 6e74 2061 7267 322c 2069 rg1, int arg2, i │ │ │ +000597c0: 6e74 2061 7267 3329 2222 220a 2020 2020 nt arg3)""". │ │ │ +000597d0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +000597e0: 2e46 6c5f 4f76 6572 6c61 795f 5769 6e64 .Fl_Overlay_Wind │ │ │ +000597f0: 6f77 5f72 6573 697a 6528 7365 6c66 2c20 ow_resize(self, │ │ │ +00059800: 2a61 7267 7329 0a20 2020 205f 5f73 7769 *args). __swi │ │ │ +00059810: 675f 6465 7374 726f 795f 5f20 3d20 5f66 g_destroy__ = _f │ │ │ +00059820: 6c74 6b2e 6465 6c65 7465 5f46 6c5f 4f76 ltk.delete_Fl_Ov │ │ │ +00059830: 6572 6c61 795f 5769 6e64 6f77 0a0a 2020 erlay_Window.. │ │ │ +00059840: 2020 6465 6620 6361 6e5f 646f 5f6f 7665 def can_do_ove │ │ │ +00059850: 726c 6179 2873 656c 662c 202a 6172 6773 rlay(self, *args │ │ │ +00059860: 293a 0a20 2020 2020 2020 2072 2222 2263 ):. r"""c │ │ │ +00059870: 616e 5f64 6f5f 6f76 6572 6c61 7928 466c an_do_overlay(Fl │ │ │ +00059880: 5f4f 7665 726c 6179 5f57 696e 646f 7720 _Overlay_Window │ │ │ +00059890: 7365 6c66 2920 2d3e 2069 6e74 2222 220a self) -> int""". │ │ │ +000598a0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +000598b0: 666c 746b 2e46 6c5f 4f76 6572 6c61 795f fltk.Fl_Overlay_ │ │ │ +000598c0: 5769 6e64 6f77 5f63 616e 5f64 6f5f 6f76 Window_can_do_ov │ │ │ +000598d0: 6572 6c61 7928 7365 6c66 2c20 2a61 7267 erlay(self, *arg │ │ │ +000598e0: 7329 0a0a 2020 2020 6465 6620 7265 6472 s).. def redr │ │ │ +000598f0: 6177 5f6f 7665 726c 6179 2873 656c 662c aw_overlay(self, │ │ │ +00059900: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00059910: 2072 2222 2272 6564 7261 775f 6f76 6572 r"""redraw_over │ │ │ +00059920: 6c61 7928 466c 5f4f 7665 726c 6179 5f57 lay(Fl_Overlay_W │ │ │ +00059930: 696e 646f 7720 7365 6c66 2922 2222 0a20 indow self)""". │ │ │ +00059940: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00059950: 6c74 6b2e 466c 5f4f 7665 726c 6179 5f57 ltk.Fl_Overlay_W │ │ │ +00059960: 696e 646f 775f 7265 6472 6177 5f6f 7665 indow_redraw_ove │ │ │ +00059970: 726c 6179 2873 656c 662c 202a 6172 6773 rlay(self, *args │ │ │ +00059980: 290a 0a20 2020 2064 6566 205f 5f69 6e69 ).. def __ini │ │ │ +00059990: 745f 5f28 7365 6c66 2c20 2a61 7267 7329 t__(self, *args) │ │ │ +000599a0: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ +000599b0: 2020 2020 2020 205f 5f69 6e69 745f 5f28 __init__( │ │ │ +000599c0: 466c 5f4f 7665 726c 6179 5f57 696e 646f Fl_Overlay_Windo │ │ │ +000599d0: 7720 7365 6c66 2c20 696e 7420 572c 2069 w self, int W, i │ │ │ +000599e0: 6e74 2048 2c20 6368 6172 2063 6f6e 7374 nt H, char const │ │ │ +000599f0: 202a 206c 3d4e 6f6e 6529 202d 3e20 466c * l=None) -> Fl │ │ │ +00059a00: 5f4f 7665 726c 6179 5f57 696e 646f 770a _Overlay_Window. │ │ │ +00059a10: 2020 2020 2020 2020 5f5f 696e 6974 5f5f __init__ │ │ │ +00059a20: 2846 6c5f 4f76 6572 6c61 795f 5769 6e64 (Fl_Overlay_Wind │ │ │ +00059a30: 6f77 2073 656c 662c 2069 6e74 2058 2c20 ow self, int X, │ │ │ +00059a40: 696e 7420 592c 2069 6e74 2057 2c20 696e int Y, int W, in │ │ │ +00059a50: 7420 482c 2063 6861 7220 636f 6e73 7420 t H, char const │ │ │ +00059a60: 2a20 6c3d 4e6f 6e65 2920 2d3e 2046 6c5f * l=None) -> Fl_ │ │ │ +00059a70: 4f76 6572 6c61 795f 5769 6e64 6f77 0a20 Overlay_Window. │ │ │ +00059a80: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ +00059a90: 2020 2069 6620 7365 6c66 2e5f 5f63 6c61 if self.__cla │ │ │ +00059aa0: 7373 5f5f 203d 3d20 466c 5f4f 7665 726c ss__ == Fl_Overl │ │ │ +00059ab0: 6179 5f57 696e 646f 773a 0a20 2020 2020 ay_Window:. │ │ │ +00059ac0: 2020 2020 2020 205f 7365 6c66 203d 204e _self = N │ │ │ +00059ad0: 6f6e 650a 2020 2020 2020 2020 656c 7365 one. else │ │ │ +00059ae0: 3a0a 2020 2020 2020 2020 2020 2020 5f73 :. _s │ │ │ +00059af0: 656c 6620 3d20 7365 6c66 0a20 2020 2020 elf = self. │ │ │ +00059b00: 2020 205f 666c 746b 2e46 6c5f 4f76 6572 _fltk.Fl_Over │ │ │ +00059b10: 6c61 795f 5769 6e64 6f77 5f73 7769 6769 lay_Window_swigi │ │ │ +00059b20: 6e69 7428 7365 6c66 2c20 5f66 6c74 6b2e nit(self, _fltk. │ │ │ +00059b30: 6e65 775f 466c 5f4f 7665 726c 6179 5f57 new_Fl_Overlay_W │ │ │ +00059b40: 696e 646f 7728 5f73 656c 662c 202a 6172 indow(_self, *ar │ │ │ +00059b50: 6773 2929 0a0a 2020 2020 2020 2020 6966 gs)).. if │ │ │ +00059b60: 206c 656e 2861 7267 7329 203d 3d20 353a len(args) == 5: │ │ │ +00059b70: 2020 2020 2020 2020 2020 0a20 2020 2020 . │ │ │ +00059b80: 2020 2023 7265 7461 696e 2072 6566 6572 #retain refer │ │ │ +00059b90: 656e 6365 2074 6f20 6c61 6265 6c0a 2020 ence to label. │ │ │ +00059ba0: 2020 2020 2020 2020 2020 7365 6c66 2e6d self.m │ │ │ +00059bb0: 795f 6c61 6265 6c20 3d20 6172 6773 5b2d y_label = args[- │ │ │ +00059bc0: 315d 0a20 2020 2020 2020 2069 6620 7365 1]. if se │ │ │ +00059bd0: 6c66 2e70 6172 656e 7428 2920 213d 204e lf.parent() != N │ │ │ +00059be0: 6f6e 653a 2020 200a 2020 2020 2020 2020 one: . │ │ │ +00059bf0: 2364 656c 6567 6174 6520 6f77 6e65 7273 #delegate owners │ │ │ +00059c00: 6869 7020 746f 2043 2b2b 0a20 2020 2020 hip to C++. │ │ │ +00059c10: 2020 2020 2020 2073 656c 662e 7468 6973 self.this │ │ │ +00059c20: 2e64 6973 6f77 6e28 290a 2020 2020 2020 .disown(). │ │ │ +00059c30: 2020 7365 6c66 2e69 6e69 745f 7479 7065 self.init_type │ │ │ +00059c40: 2822 466c 5f4f 7665 726c 6179 5f57 696e ("Fl_Overlay_Win │ │ │ +00059c50: 646f 7722 290a 2020 2020 2020 2020 2370 dow"). #p │ │ │ +00059c60: 7269 6e74 2822 4164 6469 6e67 2074 7970 rint("Adding typ │ │ │ +00059c70: 653a 2022 2c20 466c 5f4f 7665 726c 6179 e: ", Fl_Overlay │ │ │ +00059c80: 5f57 696e 646f 7729 0a0a 0a0a 0a20 2020 _Window)..... │ │ │ +00059c90: 2064 6566 2061 735f 6f76 6572 6c61 795f def as_overlay_ │ │ │ +00059ca0: 7769 6e64 6f77 2873 656c 662c 202a 6172 window(self, *ar │ │ │ +00059cb0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00059cc0: 2261 735f 6f76 6572 6c61 795f 7769 6e64 "as_overlay_wind │ │ │ +00059cd0: 6f77 2846 6c5f 4f76 6572 6c61 795f 5769 ow(Fl_Overlay_Wi │ │ │ +00059ce0: 6e64 6f77 2073 656c 6629 202d 3e20 466c ndow self) -> Fl │ │ │ +00059cf0: 5f4f 7665 726c 6179 5f57 696e 646f 7722 _Overlay_Window" │ │ │ +00059d00: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +00059d10: 6e20 5f66 6c74 6b2e 466c 5f4f 7665 726c n _fltk.Fl_Overl │ │ │ +00059d20: 6179 5f57 696e 646f 775f 6173 5f6f 7665 ay_Window_as_ove │ │ │ +00059d30: 726c 6179 5f77 696e 646f 7728 7365 6c66 rlay_window(self │ │ │ +00059d40: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00059d50: 6620 696e 6974 5f74 7970 6528 7365 6c66 f init_type(self │ │ │ +00059d60: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00059d70: 2020 7222 2222 696e 6974 5f74 7970 6528 r"""init_type( │ │ │ +00059d80: 466c 5f4f 7665 726c 6179 5f57 696e 646f Fl_Overlay_Windo │ │ │ +00059d90: 7720 7365 6c66 2c20 6368 6172 202a 2046 w self, char * F │ │ │ +00059da0: 6c5f 4f76 6572 6c61 795f 5769 6e64 6f77 l_Overlay_Window │ │ │ +00059db0: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ +00059dc0: 7572 6e20 5f66 6c74 6b2e 466c 5f4f 7665 urn _fltk.Fl_Ove │ │ │ +00059dd0: 726c 6179 5f57 696e 646f 775f 696e 6974 rlay_Window_init │ │ │ +00059de0: 5f74 7970 6528 7365 6c66 2c20 2a61 7267 _type(self, *arg │ │ │ +00059df0: 7329 0a0a 2020 2020 6465 6620 7368 6f77 s).. def show │ │ │ +00059e00: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00059e10: 2020 2020 2020 2072 2222 2273 686f 7728 r"""show( │ │ │ +00059e20: 466c 5f4f 7665 726c 6179 5f57 696e 646f Fl_Overlay_Windo │ │ │ +00059e30: 7720 7365 6c66 2c20 5079 4f62 6a65 6374 w self, PyObject │ │ │ +00059e40: 202a 2063 6f75 6e74 3d4e 6f6e 652c 2050 * count=None, P │ │ │ +00059e50: 794f 626a 6563 7420 2a20 6461 7461 3d4e yObject * data=N │ │ │ +00059e60: 6f6e 6529 2222 220a 2020 2020 2020 2020 one)""". │ │ │ +00059e70: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +00059e80: 4f76 6572 6c61 795f 5769 6e64 6f77 5f73 Overlay_Window_s │ │ │ +00059e90: 686f 7728 7365 6c66 2c20 2a61 7267 7329 how(self, *args) │ │ │ +00059ea0: 0a20 2020 2064 6566 205f 5f64 6973 6f77 . def __disow │ │ │ +00059eb0: 6e5f 5f28 7365 6c66 293a 0a20 2020 2020 n__(self):. │ │ │ +00059ec0: 2020 2073 656c 662e 7468 6973 2e64 6973 self.this.dis │ │ │ +00059ed0: 6f77 6e28 290a 2020 2020 2020 2020 5f66 own(). _f │ │ │ +00059ee0: 6c74 6b2e 6469 736f 776e 5f46 6c5f 4f76 ltk.disown_Fl_Ov │ │ │ +00059ef0: 6572 6c61 795f 5769 6e64 6f77 2873 656c erlay_Window(sel │ │ │ +00059f00: 6629 0a20 2020 2020 2020 2072 6574 7572 f). retur │ │ │ +00059f10: 6e20 7765 616b 7265 662e 7072 6f78 7928 n weakref.proxy( │ │ │ +00059f20: 7365 6c66 290a 0a20 2020 2064 6566 2064 self).. def d │ │ │ +00059f30: 7261 7728 7365 6c66 2c20 2a61 7267 7329 raw(self, *args) │ │ │ +00059f40: 3a0a 2020 2020 2020 2020 7222 2222 6472 :. r"""dr │ │ │ +00059f50: 6177 2846 6c5f 4f76 6572 6c61 795f 5769 aw(Fl_Overlay_Wi │ │ │ +00059f60: 6e64 6f77 2073 656c 6629 2222 220a 2020 ndow self)""". │ │ │ +00059f70: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +00059f80: 746b 2e46 6c5f 4f76 6572 6c61 795f 5769 tk.Fl_Overlay_Wi │ │ │ +00059f90: 6e64 6f77 5f64 7261 7728 7365 6c66 2c20 ndow_draw(self, │ │ │ +00059fa0: 2a61 7267 7329 0a0a 2320 5265 6769 7374 *args)..# Regist │ │ │ +00059fb0: 6572 2046 6c5f 4f76 6572 6c61 795f 5769 er Fl_Overlay_Wi │ │ │ +00059fc0: 6e64 6f77 2069 6e20 5f66 6c74 6b3a 0a5f ndow in _fltk:._ │ │ │ +00059fd0: 666c 746b 2e46 6c5f 4f76 6572 6c61 795f fltk.Fl_Overlay_ │ │ │ +00059fe0: 5769 6e64 6f77 5f73 7769 6772 6567 6973 Window_swigregis │ │ │ +00059ff0: 7465 7228 466c 5f4f 7665 726c 6179 5f57 ter(Fl_Overlay_W │ │ │ +0005a000: 696e 646f 7729 0a63 6c61 7373 2046 6c5f indow).class Fl_ │ │ │ +0005a010: 5061 636b 2846 6c5f 4772 6f75 7029 3a0a Pack(Fl_Group):. │ │ │ +0005a020: 2020 2020 7222 2222 0a0a 2020 2020 5468 r""".. Th │ │ │ +0005a030: 6973 2077 6964 6765 7420 7761 7320 6465 is widget was de │ │ │ +0005a040: 7369 676e 6564 2074 6f20 6164 6420 7468 signed to add th │ │ │ +0005a050: 6520 6675 6e63 7469 6f6e 616c 6974 7920 e functionality │ │ │ +0005a060: 6f66 2063 6f6d 7072 6573 7369 6e67 2061 of compressing a │ │ │ +0005a070: 6e64 200a 2020 2020 616c 6967 6e69 6e67 nd . aligning │ │ │ +0005a080: 2077 6964 6765 7473 2e0a 0a20 2020 2049 widgets... I │ │ │ +0005a090: 6620 7479 7065 2829 2069 7320 464c 5f48 f type() is FL_H │ │ │ +0005a0a0: 4f52 495a 4f4e 5441 4c20 616c 6c20 7468 ORIZONTAL all th │ │ │ +0005a0b0: 6520 6368 696c 6472 656e 2061 7265 2072 e children are r │ │ │ +0005a0c0: 6573 697a 6564 2074 6f20 7468 6520 6865 esized to the he │ │ │ +0005a0d0: 6967 6874 206f 6620 0a20 2020 2074 6865 ight of . the │ │ │ +0005a0e0: 2046 6c5f 5061 636b 2c20 616e 6420 6172 Fl_Pack, and ar │ │ │ +0005a0f0: 6520 6d6f 7665 6420 6e65 7874 2074 6f20 e moved next to │ │ │ +0005a100: 6561 6368 206f 7468 6572 2068 6f72 697a each other horiz │ │ │ +0005a110: 6f6e 7461 6c6c 792e 2049 6620 7479 7065 ontally. If type │ │ │ +0005a120: 2829 2069 7320 0a20 2020 206e 6f74 2046 () is . not F │ │ │ +0005a130: 4c5f 484f 5249 5a4f 4e54 414c 2074 6865 L_HORIZONTAL the │ │ │ +0005a140: 6e20 7468 6520 6368 696c 6472 656e 2061 n the children a │ │ │ +0005a150: 7265 2072 6573 697a 6564 2074 6f20 7468 re resized to th │ │ │ +0005a160: 6520 7769 6474 6820 616e 6420 6172 6520 e width and are │ │ │ +0005a170: 7374 6163 6b65 6420 0a20 2020 2062 656c stacked . bel │ │ │ +0005a180: 6f77 2065 6163 6820 6f74 6865 722e 2054 ow each other. T │ │ │ +0005a190: 6865 6e20 7468 6520 466c 5f50 6163 6b20 hen the Fl_Pack │ │ │ +0005a1a0: 7265 7369 7a65 7320 6974 7365 6c66 2074 resizes itself t │ │ │ +0005a1b0: 6f20 7375 7272 6f75 6e64 2074 6865 2063 o surround the c │ │ │ +0005a1c0: 6869 6c64 200a 2020 2020 7769 6467 6574 hild . widget │ │ │ +0005a1d0: 732e 0a0a 2020 2020 5468 6973 2077 6964 s... This wid │ │ │ +0005a1e0: 6765 7420 6973 206e 6565 6465 6420 666f get is needed fo │ │ │ +0005a1f0: 7220 7468 6520 466c 5f54 6162 732e 2049 r the Fl_Tabs. I │ │ │ +0005a200: 6e20 6164 6469 7469 6f6e 2079 6f75 206d n addition you m │ │ │ +0005a210: 6179 2077 616e 7420 746f 2070 7574 2074 ay want to put t │ │ │ +0005a220: 6865 200a 2020 2020 466c 5f50 6163 6b20 he . Fl_Pack │ │ │ +0005a230: 696e 7369 6465 2061 6e20 466c 5f53 6372 inside an Fl_Scr │ │ │ +0005a240: 6f6c 6c2e 200a 0a20 2020 2022 2222 0a0a oll. .. """.. │ │ │ +0005a250: 2020 2020 7468 6973 6f77 6e20 3d20 7072 thisown = pr │ │ │ +0005a260: 6f70 6572 7479 286c 616d 6264 6120 783a operty(lambda x: │ │ │ +0005a270: 2078 2e74 6869 732e 6f77 6e28 292c 206c x.this.own(), l │ │ │ +0005a280: 616d 6264 6120 782c 2076 3a20 782e 7468 ambda x, v: x.th │ │ │ +0005a290: 6973 2e6f 776e 2876 292c 2064 6f63 3d22 is.own(v), doc=" │ │ │ +0005a2a0: 5468 6520 6d65 6d62 6572 7368 6970 2066 The membership f │ │ │ +0005a2b0: 6c61 6722 290a 2020 2020 5f5f 7265 7072 lag"). __repr │ │ │ +0005a2c0: 5f5f 203d 205f 7377 6967 5f72 6570 720a __ = _swig_repr. │ │ │ +0005a2d0: 2020 2020 5645 5254 4943 414c 203d 205f VERTICAL = _ │ │ │ +0005a2e0: 666c 746b 2e46 6c5f 5061 636b 5f56 4552 fltk.Fl_Pack_VER │ │ │ +0005a2f0: 5449 4341 4c0a 2020 2020 0a20 2020 2048 TICAL. . H │ │ │ +0005a300: 4f52 495a 4f4e 5441 4c20 3d20 5f66 6c74 ORIZONTAL = _flt │ │ │ +0005a310: 6b2e 466c 5f50 6163 6b5f 484f 5249 5a4f k.Fl_Pack_HORIZO │ │ │ +0005a320: 4e54 414c 0a20 2020 200a 0a20 2020 2064 NTAL. .. d │ │ │ +0005a330: 6566 2064 7261 7728 7365 6c66 2c20 2a61 ef draw(self, *a │ │ │ +0005a340: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0005a350: 2222 6472 6177 2846 6c5f 5061 636b 2073 ""draw(Fl_Pack s │ │ │ +0005a360: 656c 6629 2222 220a 2020 2020 2020 2020 elf)""". │ │ │ +0005a370: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +0005a380: 5061 636b 5f64 7261 7728 7365 6c66 2c20 Pack_draw(self, │ │ │ +0005a390: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +0005a3a0: 5f5f 696e 6974 5f5f 2873 656c 662c 202a __init__(self, * │ │ │ +0005a3b0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +0005a3c0: 2222 225f 5f69 6e69 745f 5f28 466c 5f50 """__init__(Fl_P │ │ │ +0005a3d0: 6163 6b20 7365 6c66 2c20 696e 7420 582c ack self, int X, │ │ │ +0005a3e0: 2069 6e74 2059 2c20 696e 7420 572c 2069 int Y, int W, i │ │ │ +0005a3f0: 6e74 2048 2c20 6368 6172 2063 6f6e 7374 nt H, char const │ │ │ +0005a400: 202a 204c 3d4e 6f6e 6529 202d 3e20 466c * L=None) -> Fl │ │ │ +0005a410: 5f50 6163 6b22 2222 0a20 2020 2020 2020 _Pack""". │ │ │ +0005a420: 2069 6620 7365 6c66 2e5f 5f63 6c61 7373 if self.__class │ │ │ +0005a430: 5f5f 203d 3d20 466c 5f50 6163 6b3a 0a20 __ == Fl_Pack:. │ │ │ +0005a440: 2020 2020 2020 2020 2020 205f 7365 6c66 _self │ │ │ +0005a450: 203d 204e 6f6e 650a 2020 2020 2020 2020 = None. │ │ │ +0005a460: 656c 7365 3a0a 2020 2020 2020 2020 2020 else:. │ │ │ +0005a470: 2020 5f73 656c 6620 3d20 7365 6c66 0a20 _self = self. │ │ │ +0005a480: 2020 2020 2020 205f 666c 746b 2e46 6c5f _fltk.Fl_ │ │ │ +0005a490: 5061 636b 5f73 7769 6769 6e69 7428 7365 Pack_swiginit(se │ │ │ +0005a4a0: 6c66 2c20 5f66 6c74 6b2e 6e65 775f 466c lf, _fltk.new_Fl │ │ │ +0005a4b0: 5f50 6163 6b28 5f73 656c 662c 202a 6172 _Pack(_self, *ar │ │ │ +0005a4c0: 6773 2929 0a0a 2020 2020 2020 2020 6966 gs)).. if │ │ │ +0005a4d0: 206c 656e 2861 7267 7329 203d 3d20 353a len(args) == 5: │ │ │ +0005a4e0: 2020 2020 2020 2020 2020 0a20 2020 2020 . │ │ │ +0005a4f0: 2020 2023 7265 7461 696e 2072 6566 6572 #retain refer │ │ │ +0005a500: 656e 6365 2074 6f20 6c61 6265 6c0a 2020 ence to label. │ │ │ +0005a510: 2020 2020 2020 2020 2020 7365 6c66 2e6d self.m │ │ │ +0005a520: 795f 6c61 6265 6c20 3d20 6172 6773 5b2d y_label = args[- │ │ │ +0005a530: 315d 0a20 2020 2020 2020 2069 6620 7365 1]. if se │ │ │ +0005a540: 6c66 2e70 6172 656e 7428 2920 213d 204e lf.parent() != N │ │ │ +0005a550: 6f6e 653a 2020 200a 2020 2020 2020 2020 one: . │ │ │ +0005a560: 2364 656c 6567 6174 6520 6f77 6e65 7273 #delegate owners │ │ │ +0005a570: 6869 7020 746f 2043 2b2b 0a20 2020 2020 hip to C++. │ │ │ +0005a580: 2020 2020 2020 2073 656c 662e 7468 6973 self.this │ │ │ +0005a590: 2e64 6973 6f77 6e28 290a 2020 2020 2020 .disown(). │ │ │ +0005a5a0: 2020 7365 6c66 2e69 6e69 745f 7479 7065 self.init_type │ │ │ +0005a5b0: 2822 466c 5f50 6163 6b22 290a 2020 2020 ("Fl_Pack"). │ │ │ +0005a5c0: 2020 2020 2370 7269 6e74 2822 4164 6469 #print("Addi │ │ │ +0005a5d0: 6e67 2074 7970 653a 2022 2c20 466c 5f50 ng type: ", Fl_P │ │ │ +0005a5e0: 6163 6b29 0a0a 0a0a 0a20 2020 2064 6566 ack)..... def │ │ │ +0005a5f0: 2073 7061 6369 6e67 2873 656c 662c 202a spacing(self, * │ │ │ +0005a600: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +0005a610: 2222 220a 2020 2020 2020 2020 7370 6163 """. spac │ │ │ +0005a620: 696e 6728 466c 5f50 6163 6b20 7365 6c66 ing(Fl_Pack self │ │ │ +0005a630: 2920 2d3e 2069 6e74 0a20 2020 2020 2020 ) -> int. │ │ │ +0005a640: 2073 7061 6369 6e67 2846 6c5f 5061 636b spacing(Fl_Pack │ │ │ +0005a650: 2073 656c 662c 2069 6e74 2069 290a 2020 self, int i). │ │ │ +0005a660: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ +0005a670: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +0005a680: 6c5f 5061 636b 5f73 7061 6369 6e67 2873 l_Pack_spacing(s │ │ │ +0005a690: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +0005a6a0: 2064 6566 2068 6f72 697a 6f6e 7461 6c28 def horizontal( │ │ │ +0005a6b0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +0005a6c0: 2020 2020 2020 7222 2222 686f 7269 7a6f r"""horizo │ │ │ +0005a6d0: 6e74 616c 2846 6c5f 5061 636b 2073 656c ntal(Fl_Pack sel │ │ │ +0005a6e0: 6629 202d 3e20 7563 6861 7222 2222 0a20 f) -> uchar""". │ │ │ +0005a6f0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +0005a700: 6c74 6b2e 466c 5f50 6163 6b5f 686f 7269 ltk.Fl_Pack_hori │ │ │ +0005a710: 7a6f 6e74 616c 2873 656c 662c 202a 6172 zontal(self, *ar │ │ │ +0005a720: 6773 290a 0a20 2020 2064 6566 2072 6573 gs).. def res │ │ │ +0005a730: 697a 6528 7365 6c66 2c20 2a61 7267 7329 ize(self, *args) │ │ │ +0005a740: 3a0a 2020 2020 2020 2020 7222 2222 7265 :. r"""re │ │ │ +0005a750: 7369 7a65 2846 6c5f 5061 636b 2073 656c size(Fl_Pack sel │ │ │ +0005a760: 662c 2069 6e74 2058 2c20 696e 7420 592c f, int X, int Y, │ │ │ +0005a770: 2069 6e74 2057 2c20 696e 7420 4829 2222 int W, int H)"" │ │ │ +0005a780: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0005a790: 205f 666c 746b 2e46 6c5f 5061 636b 5f72 _fltk.Fl_Pack_r │ │ │ +0005a7a0: 6573 697a 6528 7365 6c66 2c20 2a61 7267 esize(self, *arg │ │ │ +0005a7b0: 7329 0a0a 2020 2020 6465 6620 636c 6561 s).. def clea │ │ │ +0005a7c0: 7228 7365 6c66 2c20 2a61 7267 7329 3a0a r(self, *args):. │ │ │ +0005a7d0: 2020 2020 2020 2020 7222 2222 636c 6561 r"""clea │ │ │ +0005a7e0: 7228 466c 5f50 6163 6b20 7365 6c66 2922 r(Fl_Pack self)" │ │ │ +0005a7f0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0005a800: 6e20 5f66 6c74 6b2e 466c 5f50 6163 6b5f n _fltk.Fl_Pack_ │ │ │ +0005a810: 636c 6561 7228 7365 6c66 2c20 2a61 7267 clear(self, *arg │ │ │ +0005a820: 7329 0a0a 2020 2020 6465 6620 696e 6974 s).. def init │ │ │ +0005a830: 5f74 7970 6528 7365 6c66 2c20 2a61 7267 _type(self, *arg │ │ │ +0005a840: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +0005a850: 696e 6974 5f74 7970 6528 466c 5f50 6163 init_type(Fl_Pac │ │ │ +0005a860: 6b20 7365 6c66 2c20 6368 6172 202a 2046 k self, char * F │ │ │ +0005a870: 6c5f 5061 636b 2922 2222 0a20 2020 2020 l_Pack)""". │ │ │ +0005a880: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +0005a890: 466c 5f50 6163 6b5f 696e 6974 5f74 7970 Fl_Pack_init_typ │ │ │ +0005a8a0: 6528 7365 6c66 2c20 2a61 7267 7329 0a20 e(self, *args). │ │ │ +0005a8b0: 2020 205f 5f73 7769 675f 6465 7374 726f __swig_destro │ │ │ +0005a8c0: 795f 5f20 3d20 5f66 6c74 6b2e 6465 6c65 y__ = _fltk.dele │ │ │ +0005a8d0: 7465 5f46 6c5f 5061 636b 0a20 2020 2064 te_Fl_Pack. d │ │ │ +0005a8e0: 6566 205f 5f64 6973 6f77 6e5f 5f28 7365 ef __disown__(se │ │ │ +0005a8f0: 6c66 293a 0a20 2020 2020 2020 2073 656c lf):. sel │ │ │ +0005a900: 662e 7468 6973 2e64 6973 6f77 6e28 290a f.this.disown(). │ │ │ +0005a910: 2020 2020 2020 2020 5f66 6c74 6b2e 6469 _fltk.di │ │ │ +0005a920: 736f 776e 5f46 6c5f 5061 636b 2873 656c sown_Fl_Pack(sel │ │ │ +0005a930: 6629 0a20 2020 2020 2020 2072 6574 7572 f). retur │ │ │ +0005a940: 6e20 7765 616b 7265 662e 7072 6f78 7928 n weakref.proxy( │ │ │ +0005a950: 7365 6c66 290a 0a23 2052 6567 6973 7465 self)..# Registe │ │ │ +0005a960: 7220 466c 5f50 6163 6b20 696e 205f 666c r Fl_Pack in _fl │ │ │ +0005a970: 746b 3a0a 5f66 6c74 6b2e 466c 5f50 6163 tk:._fltk.Fl_Pac │ │ │ +0005a980: 6b5f 7377 6967 7265 6769 7374 6572 2846 k_swigregister(F │ │ │ +0005a990: 6c5f 5061 636b 290a 636c 6173 7320 466c l_Pack).class Fl │ │ │ +0005a9a0: 5f50 4e47 5f49 6d61 6765 2846 6c5f 5247 _PNG_Image(Fl_RG │ │ │ +0005a9b0: 425f 496d 6167 6529 3a0a 2020 2020 7222 B_Image):. r" │ │ │ +0005a9c0: 2222 0a0a 2020 2020 5468 6520 466c 5f50 "".. The Fl_P │ │ │ +0005a9d0: 4e47 5f49 6d61 6765 2063 6c61 7373 2073 NG_Image class s │ │ │ +0005a9e0: 7570 706f 7274 7320 6c6f 6164 696e 672c upports loading, │ │ │ +0005a9f0: 2063 6163 6869 6e67 2c20 616e 6420 6472 caching, and dr │ │ │ +0005aa00: 6177 696e 6720 6f66 2050 6f72 7461 626c awing of Portabl │ │ │ +0005aa10: 6520 0a20 2020 204e 6574 776f 726b 2047 e . Network G │ │ │ +0005aa20: 7261 7068 6963 7320 2850 4e47 2920 696d raphics (PNG) im │ │ │ +0005aa30: 6167 6520 6669 6c65 732e 2054 6865 2063 age files. The c │ │ │ +0005aa40: 6c61 7373 206c 6f61 6473 2063 6f6c 6f72 lass loads color │ │ │ +0005aa50: 6d61 7070 6564 2061 6e64 200a 2020 2020 mapped and . │ │ │ +0005aa60: 6675 6c6c 2d63 6f6c 6f72 2069 6d61 6765 full-color image │ │ │ +0005aa70: 7320 616e 6420 6861 6e64 6c65 7320 636f s and handles co │ │ │ +0005aa80: 6c6f 722d 2061 6e64 2061 6c70 6861 2d62 lor- and alpha-b │ │ │ +0005aa90: 6173 6564 2074 7261 6e73 7061 7265 6e63 ased transparenc │ │ │ +0005aaa0: 792e 0a0a 2020 2020 2222 220a 0a20 2020 y... """.. │ │ │ +0005aab0: 2074 6869 736f 776e 203d 2070 726f 7065 thisown = prope │ │ │ +0005aac0: 7274 7928 6c61 6d62 6461 2078 3a20 782e rty(lambda x: x. │ │ │ +0005aad0: 7468 6973 2e6f 776e 2829 2c20 6c61 6d62 this.own(), lamb │ │ │ +0005aae0: 6461 2078 2c20 763a 2078 2e74 6869 732e da x, v: x.this. │ │ │ +0005aaf0: 6f77 6e28 7629 2c20 646f 633d 2254 6865 own(v), doc="The │ │ │ +0005ab00: 206d 656d 6265 7273 6869 7020 666c 6167 membership flag │ │ │ +0005ab10: 2229 0a20 2020 205f 5f72 6570 725f 5f20 "). __repr__ │ │ │ +0005ab20: 3d20 5f73 7769 675f 7265 7072 0a0a 2020 = _swig_repr.. │ │ │ +0005ab30: 2020 6465 6620 5f5f 696e 6974 5f5f 2873 def __init__(s │ │ │ +0005ab40: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +0005ab50: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ +0005ab60: 2020 5f5f 696e 6974 5f5f 2846 6c5f 504e __init__(Fl_PN │ │ │ +0005ab70: 475f 496d 6167 6520 7365 6c66 2c20 6368 G_Image self, ch │ │ │ +0005ab80: 6172 2063 6f6e 7374 202a 2066 696c 656e ar const * filen │ │ │ +0005ab90: 616d 6529 202d 3e20 466c 5f50 4e47 5f49 ame) -> Fl_PNG_I │ │ │ +0005aba0: 6d61 6765 0a20 2020 2020 2020 205f 5f69 mage. __i │ │ │ +0005abb0: 6e69 745f 5f28 466c 5f50 4e47 5f49 6d61 nit__(Fl_PNG_Ima │ │ │ +0005abc0: 6765 2073 656c 662c 2063 6861 7220 636f ge self, char co │ │ │ +0005abd0: 6e73 7420 2a20 6e61 6d65 5f70 6e67 2c20 nst * name_png, │ │ │ +0005abe0: 756e 7369 676e 6564 2063 6861 7220 636f unsigned char co │ │ │ +0005abf0: 6e73 7420 2a20 6275 6666 6572 2c20 696e nst * buffer, in │ │ │ +0005ac00: 7420 6461 7461 7369 7a65 2920 2d3e 2046 t datasize) -> F │ │ │ +0005ac10: 6c5f 504e 475f 496d 6167 650a 2020 2020 l_PNG_Image. │ │ │ +0005ac20: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ +0005ac30: 6966 2073 656c 662e 5f5f 636c 6173 735f if self.__class_ │ │ │ +0005ac40: 5f20 3d3d 2046 6c5f 504e 475f 496d 6167 _ == Fl_PNG_Imag │ │ │ +0005ac50: 653a 0a20 2020 2020 2020 2020 2020 205f e:. _ │ │ │ +0005ac60: 7365 6c66 203d 204e 6f6e 650a 2020 2020 self = None. │ │ │ +0005ac70: 2020 2020 656c 7365 3a0a 2020 2020 2020 else:. │ │ │ +0005ac80: 2020 2020 2020 5f73 656c 6620 3d20 7365 _self = se │ │ │ +0005ac90: 6c66 0a20 2020 2020 2020 205f 666c 746b lf. _fltk │ │ │ +0005aca0: 2e46 6c5f 504e 475f 496d 6167 655f 7377 .Fl_PNG_Image_sw │ │ │ +0005acb0: 6967 696e 6974 2873 656c 662c 205f 666c iginit(self, _fl │ │ │ +0005acc0: 746b 2e6e 6577 5f46 6c5f 504e 475f 496d tk.new_Fl_PNG_Im │ │ │ +0005acd0: 6167 6528 5f73 656c 662c 202a 6172 6773 age(_self, *args │ │ │ +0005ace0: 2929 0a20 2020 205f 5f73 7769 675f 6465 )). __swig_de │ │ │ +0005acf0: 7374 726f 795f 5f20 3d20 5f66 6c74 6b2e stroy__ = _fltk. │ │ │ +0005ad00: 6465 6c65 7465 5f46 6c5f 504e 475f 496d delete_Fl_PNG_Im │ │ │ +0005ad10: 6167 650a 2020 2020 6465 6620 5f5f 6469 age. def __di │ │ │ +0005ad20: 736f 776e 5f5f 2873 656c 6629 3a0a 2020 sown__(self):. │ │ │ +0005ad30: 2020 2020 2020 7365 6c66 2e74 6869 732e self.this. │ │ │ +0005ad40: 6469 736f 776e 2829 0a20 2020 2020 2020 disown(). │ │ │ +0005ad50: 205f 666c 746b 2e64 6973 6f77 6e5f 466c _fltk.disown_Fl │ │ │ +0005ad60: 5f50 4e47 5f49 6d61 6765 2873 656c 6629 _PNG_Image(self) │ │ │ +0005ad70: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +0005ad80: 7765 616b 7265 662e 7072 6f78 7928 7365 weakref.proxy(se │ │ │ +0005ad90: 6c66 290a 0a23 2052 6567 6973 7465 7220 lf)..# Register │ │ │ +0005ada0: 466c 5f50 4e47 5f49 6d61 6765 2069 6e20 Fl_PNG_Image in │ │ │ +0005adb0: 5f66 6c74 6b3a 0a5f 666c 746b 2e46 6c5f _fltk:._fltk.Fl_ │ │ │ +0005adc0: 504e 475f 496d 6167 655f 7377 6967 7265 PNG_Image_swigre │ │ │ +0005add0: 6769 7374 6572 2846 6c5f 504e 475f 496d gister(Fl_PNG_Im │ │ │ +0005ade0: 6167 6529 0a0a 6465 6620 666c 5f77 7269 age)..def fl_wri │ │ │ +0005adf0: 7465 5f70 6e67 282a 6172 6773 293a 0a20 te_png(*args):. │ │ │ +0005ae00: 2020 2072 2222 220a 2020 2020 666c 5f77 r""". fl_w │ │ │ +0005ae10: 7269 7465 5f70 6e67 2863 6861 7220 636f rite_png(char co │ │ │ +0005ae20: 6e73 7420 2a20 6669 6c65 6e61 6d65 2c20 nst * filename, │ │ │ +0005ae30: 466c 5f52 4742 5f49 6d61 6765 2069 6d67 Fl_RGB_Image img │ │ │ +0005ae40: 2920 2d3e 2069 6e74 0a20 2020 2066 6c5f ) -> int. fl_ │ │ │ +0005ae50: 7772 6974 655f 706e 6728 6368 6172 2063 write_png(char c │ │ │ +0005ae60: 6f6e 7374 202a 2066 696c 656e 616d 652c onst * filename, │ │ │ +0005ae70: 2063 6861 7220 636f 6e73 7420 2a20 7069 char const * pi │ │ │ +0005ae80: 7865 6c73 2c20 696e 7420 772c 2069 6e74 xels, int w, int │ │ │ +0005ae90: 2068 2c20 696e 7420 643d 332c 2069 6e74 h, int d=3, int │ │ │ +0005aea0: 206c 643d 3029 202d 3e20 696e 740a 2020 ld=0) -> int. │ │ │ +0005aeb0: 2020 666c 5f77 7269 7465 5f70 6e67 2863 fl_write_png(c │ │ │ +0005aec0: 6861 7220 636f 6e73 7420 2a20 6669 6c65 har const * file │ │ │ +0005aed0: 6e61 6d65 2c20 756e 7369 676e 6564 2063 name, unsigned c │ │ │ +0005aee0: 6861 7220 636f 6e73 7420 2a20 7069 7865 har const * pixe │ │ │ +0005aef0: 6c73 2c20 696e 7420 772c 2069 6e74 2068 ls, int w, int h │ │ │ +0005af00: 2c20 696e 7420 643d 332c 2069 6e74 206c , int d=3, int l │ │ │ +0005af10: 643d 3029 202d 3e20 696e 740a 2020 2020 d=0) -> int. │ │ │ +0005af20: 2222 220a 2020 2020 7265 7475 726e 205f """. return _ │ │ │ +0005af30: 666c 746b 2e66 6c5f 7772 6974 655f 706e fltk.fl_write_pn │ │ │ +0005af40: 6728 2a61 7267 7329 0a63 6c61 7373 2046 g(*args).class F │ │ │ +0005af50: 6c5f 504e 4d5f 496d 6167 6528 466c 5f52 l_PNM_Image(Fl_R │ │ │ +0005af60: 4742 5f49 6d61 6765 293a 0a20 2020 2072 GB_Image):. r │ │ │ +0005af70: 2222 220a 0a20 2020 2054 6865 2046 6c5f """.. The Fl_ │ │ │ +0005af80: 504e 4d5f 496d 6167 6520 636c 6173 7320 PNM_Image class │ │ │ +0005af90: 7375 7070 6f72 7473 206c 6f61 6469 6e67 supports loading │ │ │ +0005afa0: 2c20 6361 6368 696e 672c 2061 6e64 2064 , caching, and d │ │ │ +0005afb0: 7261 7769 6e67 206f 6620 506f 7274 6162 rawing of Portab │ │ │ +0005afc0: 6c65 200a 2020 2020 416e 796d 6170 2028 le . Anymap ( │ │ │ +0005afd0: 504e 4d2c 2050 424d 2c20 5047 4d2c 2050 PNM, PBM, PGM, P │ │ │ +0005afe0: 504d 2920 696d 6167 6520 6669 6c65 732e PM) image files. │ │ │ +0005aff0: 2054 6865 2063 6c61 7373 206c 6f61 6473 The class loads │ │ │ +0005b000: 2062 6974 6d61 702c 2067 7261 7973 6361 bitmap, graysca │ │ │ +0005b010: 6c65 2c20 0a20 2020 2061 6e64 2066 756c le, . and ful │ │ │ +0005b020: 6c2d 636f 6c6f 7220 696d 6167 6573 2069 l-color images i │ │ │ +0005b030: 6e20 626f 7468 2041 5343 4949 2061 6e64 n both ASCII and │ │ │ +0005b040: 2062 696e 6172 7920 666f 726d 6174 732e binary formats. │ │ │ +0005b050: 0a0a 2020 2020 2222 220a 0a20 2020 2074 .. """.. t │ │ │ +0005b060: 6869 736f 776e 203d 2070 726f 7065 7274 hisown = propert │ │ │ +0005b070: 7928 6c61 6d62 6461 2078 3a20 782e 7468 y(lambda x: x.th │ │ │ +0005b080: 6973 2e6f 776e 2829 2c20 6c61 6d62 6461 is.own(), lambda │ │ │ +0005b090: 2078 2c20 763a 2078 2e74 6869 732e 6f77 x, v: x.this.ow │ │ │ +0005b0a0: 6e28 7629 2c20 646f 633d 2254 6865 206d n(v), doc="The m │ │ │ +0005b0b0: 656d 6265 7273 6869 7020 666c 6167 2229 embership flag") │ │ │ +0005b0c0: 0a20 2020 205f 5f72 6570 725f 5f20 3d20 . __repr__ = │ │ │ +0005b0d0: 5f73 7769 675f 7265 7072 0a0a 2020 2020 _swig_repr.. │ │ │ +0005b0e0: 6465 6620 5f5f 696e 6974 5f5f 2873 656c def __init__(sel │ │ │ +0005b0f0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +0005b100: 2020 2072 2222 225f 5f69 6e69 745f 5f28 r"""__init__( │ │ │ +0005b110: 466c 5f50 4e4d 5f49 6d61 6765 2073 656c Fl_PNM_Image sel │ │ │ +0005b120: 662c 2063 6861 7220 636f 6e73 7420 2a20 f, char const * │ │ │ +0005b130: 6669 6c65 6e61 6d65 2920 2d3e 2046 6c5f filename) -> Fl_ │ │ │ +0005b140: 504e 4d5f 496d 6167 6522 2222 0a20 2020 PNM_Image""". │ │ │ +0005b150: 2020 2020 2069 6620 7365 6c66 2e5f 5f63 if self.__c │ │ │ +0005b160: 6c61 7373 5f5f 203d 3d20 466c 5f50 4e4d lass__ == Fl_PNM │ │ │ +0005b170: 5f49 6d61 6765 3a0a 2020 2020 2020 2020 _Image:. │ │ │ +0005b180: 2020 2020 5f73 656c 6620 3d20 4e6f 6e65 _self = None │ │ │ +0005b190: 0a20 2020 2020 2020 2065 6c73 653a 0a20 . else:. │ │ │ +0005b1a0: 2020 2020 2020 2020 2020 205f 7365 6c66 _self │ │ │ +0005b1b0: 203d 2073 656c 660a 2020 2020 2020 2020 = self. │ │ │ +0005b1c0: 5f66 6c74 6b2e 466c 5f50 4e4d 5f49 6d61 _fltk.Fl_PNM_Ima │ │ │ +0005b1d0: 6765 5f73 7769 6769 6e69 7428 7365 6c66 ge_swiginit(self │ │ │ +0005b1e0: 2c20 5f66 6c74 6b2e 6e65 775f 466c 5f50 , _fltk.new_Fl_P │ │ │ +0005b1f0: 4e4d 5f49 6d61 6765 285f 7365 6c66 2c20 NM_Image(_self, │ │ │ +0005b200: 2a61 7267 7329 290a 2020 2020 5f5f 7377 *args)). __sw │ │ │ +0005b210: 6967 5f64 6573 7472 6f79 5f5f 203d 205f ig_destroy__ = _ │ │ │ +0005b220: 666c 746b 2e64 656c 6574 655f 466c 5f50 fltk.delete_Fl_P │ │ │ +0005b230: 4e4d 5f49 6d61 6765 0a20 2020 2064 6566 NM_Image. def │ │ │ +0005b240: 205f 5f64 6973 6f77 6e5f 5f28 7365 6c66 __disown__(self │ │ │ +0005b250: 293a 0a20 2020 2020 2020 2073 656c 662e ):. self. │ │ │ +0005b260: 7468 6973 2e64 6973 6f77 6e28 290a 2020 this.disown(). │ │ │ +0005b270: 2020 2020 2020 5f66 6c74 6b2e 6469 736f _fltk.diso │ │ │ +0005b280: 776e 5f46 6c5f 504e 4d5f 496d 6167 6528 wn_Fl_PNM_Image( │ │ │ +0005b290: 7365 6c66 290a 2020 2020 2020 2020 7265 self). re │ │ │ +0005b2a0: 7475 726e 2077 6561 6b72 6566 2e70 726f turn weakref.pro │ │ │ +0005b2b0: 7879 2873 656c 6629 0a0a 2320 5265 6769 xy(self)..# Regi │ │ │ +0005b2c0: 7374 6572 2046 6c5f 504e 4d5f 496d 6167 ster Fl_PNM_Imag │ │ │ +0005b2d0: 6520 696e 205f 666c 746b 3a0a 5f66 6c74 e in _fltk:._flt │ │ │ +0005b2e0: 6b2e 466c 5f50 4e4d 5f49 6d61 6765 5f73 k.Fl_PNM_Image_s │ │ │ +0005b2f0: 7769 6772 6567 6973 7465 7228 466c 5f50 wigregister(Fl_P │ │ │ +0005b300: 4e4d 5f49 6d61 6765 290a 636c 6173 7320 NM_Image).class │ │ │ +0005b310: 466c 5f50 6f73 6974 696f 6e65 7228 466c Fl_Positioner(Fl │ │ │ +0005b320: 5f57 6964 6765 7429 3a0a 2020 2020 7222 _Widget):. r" │ │ │ +0005b330: 2222 0a0a 2020 2020 5468 6973 2063 6c61 "".. This cla │ │ │ +0005b340: 7373 2069 7320 7072 6f76 6964 6564 2066 ss is provided f │ │ │ +0005b350: 6f72 2046 6f72 6d73 2063 6f6d 7061 7469 or Forms compati │ │ │ +0005b360: 6269 6c69 7479 2e20 4974 2070 726f 7669 bility. It provi │ │ │ +0005b370: 6465 7320 3244 2069 6e70 7574 2e20 4974 des 2D input. It │ │ │ +0005b380: 200a 2020 2020 776f 756c 6420 6265 2075 . would be u │ │ │ +0005b390: 7365 6675 6c20 6966 2074 6869 7320 636f seful if this co │ │ │ +0005b3a0: 756c 6420 6265 2070 7574 2061 746f 7020 uld be put atop │ │ │ +0005b3b0: 616e 6f74 6865 7220 7769 6467 6574 2073 another widget s │ │ │ +0005b3c0: 6f20 7468 6174 2074 6865 200a 2020 2020 o that the . │ │ │ +0005b3d0: 6372 6f73 7368 6169 7273 2061 7265 206f crosshairs are o │ │ │ +0005b3e0: 6e20 746f 702c 2062 7574 2074 6869 7320 n top, but this │ │ │ +0005b3f0: 6973 206e 6f74 2069 6d70 6c65 6d65 6e74 is not implement │ │ │ +0005b400: 6564 2e20 5468 6520 636f 6c6f 7220 6f66 ed. The color of │ │ │ +0005b410: 2074 6865 200a 2020 2020 6372 6f73 7368 the . crossh │ │ │ +0005b420: 6169 7273 2069 7320 7365 6c65 6374 696f airs is selectio │ │ │ +0005b430: 6e5f 636f 6c6f 7228 292e 0a0a 2020 2020 n_color()... │ │ │ +0005b440: 2222 220a 0a20 2020 2074 6869 736f 776e """.. thisown │ │ │ +0005b450: 203d 2070 726f 7065 7274 7928 6c61 6d62 = property(lamb │ │ │ +0005b460: 6461 2078 3a20 782e 7468 6973 2e6f 776e da x: x.this.own │ │ │ +0005b470: 2829 2c20 6c61 6d62 6461 2078 2c20 763a (), lambda x, v: │ │ │ +0005b480: 2078 2e74 6869 732e 6f77 6e28 7629 2c20 x.this.own(v), │ │ │ +0005b490: 646f 633d 2254 6865 206d 656d 6265 7273 doc="The members │ │ │ +0005b4a0: 6869 7020 666c 6167 2229 0a20 2020 205f hip flag"). _ │ │ │ +0005b4b0: 5f72 6570 725f 5f20 3d20 5f73 7769 675f _repr__ = _swig_ │ │ │ +0005b4c0: 7265 7072 0a0a 2020 2020 6465 6620 6472 repr.. def dr │ │ │ +0005b4d0: 6177 2873 656c 662c 202a 6172 6773 293a aw(self, *args): │ │ │ +0005b4e0: 0a20 2020 2020 2020 2072 2222 2264 7261 . r"""dra │ │ │ +0005b4f0: 7728 466c 5f50 6f73 6974 696f 6e65 7220 w(Fl_Positioner │ │ │ +0005b500: 7365 6c66 2922 2222 0a20 2020 2020 2020 self)""". │ │ │ +0005b510: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +0005b520: 5f50 6f73 6974 696f 6e65 725f 6472 6177 _Positioner_draw │ │ │ +0005b530: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +0005b540: 2020 2064 6566 2068 616e 646c 6528 7365 def handle(se │ │ │ +0005b550: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +0005b560: 2020 2020 7222 2222 6861 6e64 6c65 2846 r"""handle(F │ │ │ +0005b570: 6c5f 506f 7369 7469 6f6e 6572 2073 656c l_Positioner sel │ │ │ +0005b580: 662c 2069 6e74 2061 7267 3029 202d 3e20 f, int arg0) -> │ │ │ +0005b590: 696e 7422 2222 0a20 2020 2020 2020 2072 int""". r │ │ │ +0005b5a0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f50 eturn _fltk.Fl_P │ │ │ +0005b5b0: 6f73 6974 696f 6e65 725f 6861 6e64 6c65 ositioner_handle │ │ │ +0005b5c0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +0005b5d0: 2020 2064 6566 205f 5f69 6e69 745f 5f28 def __init__( │ │ │ +0005b5e0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +0005b5f0: 2020 2020 2020 7222 2222 5f5f 696e 6974 r"""__init │ │ │ +0005b600: 5f5f 2846 6c5f 506f 7369 7469 6f6e 6572 __(Fl_Positioner │ │ │ +0005b610: 2073 656c 662c 2069 6e74 2078 2c20 696e self, int x, in │ │ │ +0005b620: 7420 792c 2069 6e74 2077 2c20 696e 7420 t y, int w, int │ │ │ +0005b630: 682c 2063 6861 7220 636f 6e73 7420 2a20 h, char const * │ │ │ +0005b640: 6c3d 4e6f 6e65 2920 2d3e 2046 6c5f 506f l=None) -> Fl_Po │ │ │ +0005b650: 7369 7469 6f6e 6572 2222 220a 2020 2020 sitioner""". │ │ │ +0005b660: 2020 2020 6966 2073 656c 662e 5f5f 636c if self.__cl │ │ │ +0005b670: 6173 735f 5f20 3d3d 2046 6c5f 506f 7369 ass__ == Fl_Posi │ │ │ +0005b680: 7469 6f6e 6572 3a0a 2020 2020 2020 2020 tioner:. │ │ │ +0005b690: 2020 2020 5f73 656c 6620 3d20 4e6f 6e65 _self = None │ │ │ +0005b6a0: 0a20 2020 2020 2020 2065 6c73 653a 0a20 . else:. │ │ │ +0005b6b0: 2020 2020 2020 2020 2020 205f 7365 6c66 _self │ │ │ +0005b6c0: 203d 2073 656c 660a 2020 2020 2020 2020 = self. │ │ │ +0005b6d0: 5f66 6c74 6b2e 466c 5f50 6f73 6974 696f _fltk.Fl_Positio │ │ │ +0005b6e0: 6e65 725f 7377 6967 696e 6974 2873 656c ner_swiginit(sel │ │ │ +0005b6f0: 662c 205f 666c 746b 2e6e 6577 5f46 6c5f f, _fltk.new_Fl_ │ │ │ +0005b700: 506f 7369 7469 6f6e 6572 285f 7365 6c66 Positioner(_self │ │ │ +0005b710: 2c20 2a61 7267 7329 290a 0a20 2020 2020 , *args)).. │ │ │ +0005b720: 2020 2069 6620 6c65 6e28 6172 6773 2920 if len(args) │ │ │ +0005b730: 3d3d 2035 3a20 2020 2020 2020 2020 200a == 5: . │ │ │ +0005b740: 2020 2020 2020 2020 2372 6574 6169 6e20 #retain │ │ │ +0005b750: 7265 6665 7265 6e63 6520 746f 206c 6162 reference to lab │ │ │ +0005b760: 656c 0a20 2020 2020 2020 2020 2020 2073 el. s │ │ │ +0005b770: 656c 662e 6d79 5f6c 6162 656c 203d 2061 elf.my_label = a │ │ │ +0005b780: 7267 735b 2d31 5d0a 2020 2020 2020 2020 rgs[-1]. │ │ │ +0005b790: 6966 2073 656c 662e 7061 7265 6e74 2829 if self.parent() │ │ │ +0005b7a0: 2021 3d20 4e6f 6e65 3a20 2020 0a20 2020 != None: . │ │ │ +0005b7b0: 2020 2020 2023 6465 6c65 6761 7465 206f #delegate o │ │ │ +0005b7c0: 776e 6572 7368 6970 2074 6f20 432b 2b0a wnership to C++. │ │ │ +0005b7d0: 2020 2020 2020 2020 2020 2020 7365 6c66 self │ │ │ +0005b7e0: 2e74 6869 732e 6469 736f 776e 2829 0a20 .this.disown(). │ │ │ +0005b7f0: 2020 2020 2020 2073 656c 662e 696e 6974 self.init │ │ │ +0005b800: 5f74 7970 6528 2246 6c5f 506f 7369 7469 _type("Fl_Positi │ │ │ +0005b810: 6f6e 6572 2229 0a20 2020 2020 2020 2023 oner"). # │ │ │ +0005b820: 7072 696e 7428 2241 6464 696e 6720 7479 print("Adding ty │ │ │ +0005b830: 7065 3a20 222c 2046 6c5f 506f 7369 7469 pe: ", Fl_Positi │ │ │ +0005b840: 6f6e 6572 290a 0a0a 0a0a 2020 2020 6465 oner)..... de │ │ │ +0005b850: 6620 7876 616c 7565 2873 656c 662c 202a f xvalue(self, * │ │ │ +0005b860: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +0005b870: 2222 220a 2020 2020 2020 2020 7876 616c """. xval │ │ │ 0005b880: 7565 2846 6c5f 506f 7369 7469 6f6e 6572 ue(Fl_Positioner │ │ │ -0005b890: 2073 656c 662c 2064 6f75 626c 6520 6172 self, double ar │ │ │ -0005b8a0: 6732 2920 2d3e 2069 6e74 0a20 2020 2020 g2) -> int. │ │ │ -0005b8b0: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ -0005b8c0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f50 eturn _fltk.Fl_P │ │ │ -0005b8d0: 6f73 6974 696f 6e65 725f 7876 616c 7565 ositioner_xvalue │ │ │ -0005b8e0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -0005b8f0: 2020 2064 6566 2079 7661 6c75 6528 7365 def yvalue(se │ │ │ -0005b900: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -0005b910: 2020 2020 7222 2222 0a20 2020 2020 2020 r""". │ │ │ -0005b920: 2079 7661 6c75 6528 466c 5f50 6f73 6974 yvalue(Fl_Posit │ │ │ -0005b930: 696f 6e65 7220 7365 6c66 2920 2d3e 2064 ioner self) -> d │ │ │ -0005b940: 6f75 626c 650a 2020 2020 2020 2020 7976 ouble. yv │ │ │ +0005b890: 2073 656c 6629 202d 3e20 646f 7562 6c65 self) -> double │ │ │ +0005b8a0: 0a20 2020 2020 2020 2078 7661 6c75 6528 . xvalue( │ │ │ +0005b8b0: 466c 5f50 6f73 6974 696f 6e65 7220 7365 Fl_Positioner se │ │ │ +0005b8c0: 6c66 2c20 646f 7562 6c65 2061 7267 3229 lf, double arg2) │ │ │ +0005b8d0: 202d 3e20 696e 740a 2020 2020 2020 2020 -> int. │ │ │ +0005b8e0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +0005b8f0: 726e 205f 666c 746b 2e46 6c5f 506f 7369 rn _fltk.Fl_Posi │ │ │ +0005b900: 7469 6f6e 6572 5f78 7661 6c75 6528 7365 tioner_xvalue(se │ │ │ +0005b910: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +0005b920: 6465 6620 7976 616c 7565 2873 656c 662c def yvalue(self, │ │ │ +0005b930: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +0005b940: 2072 2222 220a 2020 2020 2020 2020 7976 r""". yv │ │ │ 0005b950: 616c 7565 2846 6c5f 506f 7369 7469 6f6e alue(Fl_Position │ │ │ -0005b960: 6572 2073 656c 662c 2064 6f75 626c 6520 er self, double │ │ │ -0005b970: 6172 6732 2920 2d3e 2069 6e74 0a20 2020 arg2) -> int. │ │ │ -0005b980: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ -0005b990: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -0005b9a0: 5f50 6f73 6974 696f 6e65 725f 7976 616c _Positioner_yval │ │ │ -0005b9b0: 7565 2873 656c 662c 202a 6172 6773 290a ue(self, *args). │ │ │ -0005b9c0: 0a20 2020 2064 6566 2076 616c 7565 2873 . def value(s │ │ │ -0005b9d0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -0005b9e0: 2020 2020 2072 2222 2276 616c 7565 2846 r"""value(F │ │ │ -0005b9f0: 6c5f 506f 7369 7469 6f6e 6572 2073 656c l_Positioner sel │ │ │ -0005ba00: 662c 2064 6f75 626c 6520 6172 6732 2c20 f, double arg2, │ │ │ -0005ba10: 646f 7562 6c65 2061 7267 3329 202d 3e20 double arg3) -> │ │ │ -0005ba20: 696e 7422 2222 0a20 2020 2020 2020 2072 int""". r │ │ │ -0005ba30: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f50 eturn _fltk.Fl_P │ │ │ -0005ba40: 6f73 6974 696f 6e65 725f 7661 6c75 6528 ositioner_value( │ │ │ -0005ba50: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -0005ba60: 2020 6465 6620 7862 6f75 6e64 7328 7365 def xbounds(se │ │ │ -0005ba70: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -0005ba80: 2020 2020 7222 2222 7862 6f75 6e64 7328 r"""xbounds( │ │ │ -0005ba90: 466c 5f50 6f73 6974 696f 6e65 7220 7365 Fl_Positioner se │ │ │ -0005baa0: 6c66 2c20 646f 7562 6c65 2061 7267 322c lf, double arg2, │ │ │ -0005bab0: 2064 6f75 626c 6520 6172 6733 2922 2222 double arg3)""" │ │ │ -0005bac0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -0005bad0: 5f66 6c74 6b2e 466c 5f50 6f73 6974 696f _fltk.Fl_Positio │ │ │ -0005bae0: 6e65 725f 7862 6f75 6e64 7328 7365 6c66 ner_xbounds(self │ │ │ -0005baf0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -0005bb00: 6620 786d 696e 696d 756d 2873 656c 662c f xminimum(self, │ │ │ -0005bb10: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -0005bb20: 2072 2222 220a 2020 2020 2020 2020 786d r""". xm │ │ │ -0005bb30: 696e 696d 756d 2846 6c5f 506f 7369 7469 inimum(Fl_Positi │ │ │ -0005bb40: 6f6e 6572 2073 656c 6629 202d 3e20 646f oner self) -> do │ │ │ -0005bb50: 7562 6c65 0a20 2020 2020 2020 2078 6d69 uble. xmi │ │ │ -0005bb60: 6e69 6d75 6d28 466c 5f50 6f73 6974 696f nimum(Fl_Positio │ │ │ -0005bb70: 6e65 7220 7365 6c66 2c20 646f 7562 6c65 ner self, double │ │ │ -0005bb80: 2061 290a 2020 2020 2020 2020 2222 220a a). """. │ │ │ -0005bb90: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -0005bba0: 666c 746b 2e46 6c5f 506f 7369 7469 6f6e fltk.Fl_Position │ │ │ -0005bbb0: 6572 5f78 6d69 6e69 6d75 6d28 7365 6c66 er_xminimum(self │ │ │ -0005bbc0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -0005bbd0: 6620 786d 6178 696d 756d 2873 656c 662c f xmaximum(self, │ │ │ -0005bbe0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -0005bbf0: 2072 2222 220a 2020 2020 2020 2020 786d r""". xm │ │ │ -0005bc00: 6178 696d 756d 2846 6c5f 506f 7369 7469 aximum(Fl_Positi │ │ │ -0005bc10: 6f6e 6572 2073 656c 6629 202d 3e20 646f oner self) -> do │ │ │ -0005bc20: 7562 6c65 0a20 2020 2020 2020 2078 6d61 uble. xma │ │ │ -0005bc30: 7869 6d75 6d28 466c 5f50 6f73 6974 696f ximum(Fl_Positio │ │ │ -0005bc40: 6e65 7220 7365 6c66 2c20 646f 7562 6c65 ner self, double │ │ │ -0005bc50: 2061 290a 2020 2020 2020 2020 2222 220a a). """. │ │ │ -0005bc60: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -0005bc70: 666c 746b 2e46 6c5f 506f 7369 7469 6f6e fltk.Fl_Position │ │ │ -0005bc80: 6572 5f78 6d61 7869 6d75 6d28 7365 6c66 er_xmaximum(self │ │ │ -0005bc90: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -0005bca0: 6620 7962 6f75 6e64 7328 7365 6c66 2c20 f ybounds(self, │ │ │ -0005bcb0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -0005bcc0: 7222 2222 7962 6f75 6e64 7328 466c 5f50 r"""ybounds(Fl_P │ │ │ -0005bcd0: 6f73 6974 696f 6e65 7220 7365 6c66 2c20 ositioner self, │ │ │ -0005bce0: 646f 7562 6c65 2061 7267 322c 2064 6f75 double arg2, dou │ │ │ -0005bcf0: 626c 6520 6172 6733 2922 2222 0a20 2020 ble arg3)""". │ │ │ -0005bd00: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -0005bd10: 6b2e 466c 5f50 6f73 6974 696f 6e65 725f k.Fl_Positioner_ │ │ │ -0005bd20: 7962 6f75 6e64 7328 7365 6c66 2c20 2a61 ybounds(self, *a │ │ │ -0005bd30: 7267 7329 0a0a 2020 2020 6465 6620 796d rgs).. def ym │ │ │ -0005bd40: 696e 696d 756d 2873 656c 662c 202a 6172 inimum(self, *ar │ │ │ -0005bd50: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -0005bd60: 220a 2020 2020 2020 2020 796d 696e 696d ". yminim │ │ │ -0005bd70: 756d 2846 6c5f 506f 7369 7469 6f6e 6572 um(Fl_Positioner │ │ │ -0005bd80: 2073 656c 6629 202d 3e20 646f 7562 6c65 self) -> double │ │ │ -0005bd90: 0a20 2020 2020 2020 2079 6d69 6e69 6d75 . yminimu │ │ │ -0005bda0: 6d28 466c 5f50 6f73 6974 696f 6e65 7220 m(Fl_Positioner │ │ │ -0005bdb0: 7365 6c66 2c20 646f 7562 6c65 2061 290a self, double a). │ │ │ -0005bdc0: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ -0005bdd0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -0005bde0: 2e46 6c5f 506f 7369 7469 6f6e 6572 5f79 .Fl_Positioner_y │ │ │ -0005bdf0: 6d69 6e69 6d75 6d28 7365 6c66 2c20 2a61 minimum(self, *a │ │ │ -0005be00: 7267 7329 0a0a 2020 2020 6465 6620 796d rgs).. def ym │ │ │ -0005be10: 6178 696d 756d 2873 656c 662c 202a 6172 aximum(self, *ar │ │ │ -0005be20: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -0005be30: 220a 2020 2020 2020 2020 796d 6178 696d ". ymaxim │ │ │ -0005be40: 756d 2846 6c5f 506f 7369 7469 6f6e 6572 um(Fl_Positioner │ │ │ -0005be50: 2073 656c 6629 202d 3e20 646f 7562 6c65 self) -> double │ │ │ -0005be60: 0a20 2020 2020 2020 2079 6d61 7869 6d75 . ymaximu │ │ │ -0005be70: 6d28 466c 5f50 6f73 6974 696f 6e65 7220 m(Fl_Positioner │ │ │ -0005be80: 7365 6c66 2c20 646f 7562 6c65 2061 290a self, double a). │ │ │ -0005be90: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ -0005bea0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -0005beb0: 2e46 6c5f 506f 7369 7469 6f6e 6572 5f79 .Fl_Positioner_y │ │ │ -0005bec0: 6d61 7869 6d75 6d28 7365 6c66 2c20 2a61 maximum(self, *a │ │ │ -0005bed0: 7267 7329 0a0a 2020 2020 6465 6620 7873 rgs).. def xs │ │ │ -0005bee0: 7465 7028 7365 6c66 2c20 2a61 7267 7329 tep(self, *args) │ │ │ -0005bef0: 3a0a 2020 2020 2020 2020 7222 2222 7873 :. r"""xs │ │ │ -0005bf00: 7465 7028 466c 5f50 6f73 6974 696f 6e65 tep(Fl_Positione │ │ │ -0005bf10: 7220 7365 6c66 2c20 646f 7562 6c65 2061 r self, double a │ │ │ -0005bf20: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ -0005bf30: 7572 6e20 5f66 6c74 6b2e 466c 5f50 6f73 urn _fltk.Fl_Pos │ │ │ -0005bf40: 6974 696f 6e65 725f 7873 7465 7028 7365 itioner_xstep(se │ │ │ -0005bf50: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -0005bf60: 6465 6620 7973 7465 7028 7365 6c66 2c20 def ystep(self, │ │ │ -0005bf70: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -0005bf80: 7222 2222 7973 7465 7028 466c 5f50 6f73 r"""ystep(Fl_Pos │ │ │ -0005bf90: 6974 696f 6e65 7220 7365 6c66 2c20 646f itioner self, do │ │ │ -0005bfa0: 7562 6c65 2061 2922 2222 0a20 2020 2020 uble a)""". │ │ │ -0005bfb0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -0005bfc0: 466c 5f50 6f73 6974 696f 6e65 725f 7973 Fl_Positioner_ys │ │ │ -0005bfd0: 7465 7028 7365 6c66 2c20 2a61 7267 7329 tep(self, *args) │ │ │ -0005bfe0: 0a0a 2020 2020 6465 6620 696e 6974 5f74 .. def init_t │ │ │ -0005bff0: 7970 6528 7365 6c66 2c20 2a61 7267 7329 ype(self, *args) │ │ │ -0005c000: 3a0a 2020 2020 2020 2020 7222 2222 696e :. r"""in │ │ │ -0005c010: 6974 5f74 7970 6528 466c 5f50 6f73 6974 it_type(Fl_Posit │ │ │ -0005c020: 696f 6e65 7220 7365 6c66 2c20 6368 6172 ioner self, char │ │ │ -0005c030: 202a 2046 6c5f 506f 7369 7469 6f6e 6572 * Fl_Positioner │ │ │ -0005c040: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ -0005c050: 7572 6e20 5f66 6c74 6b2e 466c 5f50 6f73 urn _fltk.Fl_Pos │ │ │ -0005c060: 6974 696f 6e65 725f 696e 6974 5f74 7970 itioner_init_typ │ │ │ -0005c070: 6528 7365 6c66 2c20 2a61 7267 7329 0a20 e(self, *args). │ │ │ -0005c080: 2020 205f 5f73 7769 675f 6465 7374 726f __swig_destro │ │ │ -0005c090: 795f 5f20 3d20 5f66 6c74 6b2e 6465 6c65 y__ = _fltk.dele │ │ │ -0005c0a0: 7465 5f46 6c5f 506f 7369 7469 6f6e 6572 te_Fl_Positioner │ │ │ -0005c0b0: 0a20 2020 2064 6566 205f 5f64 6973 6f77 . def __disow │ │ │ -0005c0c0: 6e5f 5f28 7365 6c66 293a 0a20 2020 2020 n__(self):. │ │ │ -0005c0d0: 2020 2073 656c 662e 7468 6973 2e64 6973 self.this.dis │ │ │ -0005c0e0: 6f77 6e28 290a 2020 2020 2020 2020 5f66 own(). _f │ │ │ -0005c0f0: 6c74 6b2e 6469 736f 776e 5f46 6c5f 506f ltk.disown_Fl_Po │ │ │ -0005c100: 7369 7469 6f6e 6572 2873 656c 6629 0a20 sitioner(self). │ │ │ -0005c110: 2020 2020 2020 2072 6574 7572 6e20 7765 return we │ │ │ -0005c120: 616b 7265 662e 7072 6f78 7928 7365 6c66 akref.proxy(self │ │ │ -0005c130: 290a 0a23 2052 6567 6973 7465 7220 466c )..# Register Fl │ │ │ -0005c140: 5f50 6f73 6974 696f 6e65 7220 696e 205f _Positioner in _ │ │ │ -0005c150: 666c 746b 3a0a 5f66 6c74 6b2e 466c 5f50 fltk:._fltk.Fl_P │ │ │ -0005c160: 6f73 6974 696f 6e65 725f 7377 6967 7265 ositioner_swigre │ │ │ -0005c170: 6769 7374 6572 2846 6c5f 506f 7369 7469 gister(Fl_Positi │ │ │ -0005c180: 6f6e 6572 290a 636c 6173 7320 466c 5f50 oner).class Fl_P │ │ │ -0005c190: 7265 6665 7265 6e63 6573 286f 626a 6563 references(objec │ │ │ -0005c1a0: 7429 3a0a 2020 2020 7222 2222 0a0a 2020 t):. r""".. │ │ │ -0005c1b0: 2020 466c 5f50 7265 6665 7265 6e63 6573 Fl_Preferences │ │ │ -0005c1c0: 2070 726f 7669 6465 7320 6d65 7468 6f64 provides method │ │ │ -0005c1d0: 7320 746f 2073 746f 7265 2075 7365 7220 s to store user │ │ │ -0005c1e0: 7365 7474 696e 6720 6265 7477 6565 6e20 setting between │ │ │ -0005c1f0: 6170 706c 6963 6174 696f 6e20 0a20 2020 application . │ │ │ -0005c200: 2073 7461 7274 732e 2049 7420 6973 2073 starts. It is s │ │ │ -0005c210: 696d 696c 6172 2074 6f20 7468 6520 5265 imilar to the Re │ │ │ -0005c220: 6769 7374 7279 206f 6e20 5749 4e33 3220 gistry on WIN32 │ │ │ -0005c230: 616e 6420 5072 6566 6572 656e 6365 7320 and Preferences │ │ │ -0005c240: 6f6e 204d 6163 4f53 2c20 0a20 2020 2061 on MacOS, . a │ │ │ -0005c250: 6e64 2070 726f 7669 6465 7320 6120 7369 nd provides a si │ │ │ -0005c260: 6d70 6c65 2063 6f6e 6669 6775 7261 7469 mple configurati │ │ │ -0005c270: 6f6e 206d 6563 6861 6e69 736d 2066 6f72 on mechanism for │ │ │ -0005c280: 2055 4e49 582e 0a0a 2020 2020 466c 5f50 UNIX... Fl_P │ │ │ -0005c290: 7265 6665 7265 6e63 6573 2075 7365 7320 references uses │ │ │ -0005c2a0: 6120 6869 6572 6172 6368 7920 746f 2073 a hierarchy to s │ │ │ -0005c2b0: 746f 7265 2064 6174 612e 2049 7420 6275 tore data. It bu │ │ │ -0005c2c0: 6e64 6c65 7320 7369 6d69 6c61 7220 6461 ndles similar da │ │ │ -0005c2d0: 7461 2069 6e74 6f20 0a20 2020 2067 726f ta into . gro │ │ │ -0005c2e0: 7570 7320 616e 6420 6d61 6e61 6765 7320 ups and manages │ │ │ -0005c2f0: 656e 7472 6965 7320 696e 746f 2074 686f entries into tho │ │ │ -0005c300: 7365 2067 726f 7570 7320 6173 206e 616d se groups as nam │ │ │ -0005c310: 652f 7661 6c75 6520 7061 6972 732e 0a0a e/value pairs... │ │ │ -0005c320: 2020 2020 5072 6566 6572 656e 6365 7320 Preferences │ │ │ -0005c330: 6172 6520 7374 6f72 6564 2069 6e20 7465 are stored in te │ │ │ -0005c340: 7874 2066 696c 6573 2074 6861 7420 6361 xt files that ca │ │ │ -0005c350: 6e20 6265 2065 6469 7465 6420 6d61 6e75 n be edited manu │ │ │ -0005c360: 616c 6c79 2e20 5468 6520 6669 6c65 200a ally. The file . │ │ │ -0005c370: 2020 2020 666f 726d 6174 2069 7320 6561 format is ea │ │ │ -0005c380: 7379 2074 6f20 7265 6164 2061 6e64 2072 sy to read and r │ │ │ -0005c390: 656c 6174 6976 656c 7920 666f 7267 6976 elatively forgiv │ │ │ -0005c3a0: 696e 672e 2050 7265 6665 7265 6e63 6573 ing. Preferences │ │ │ -0005c3b0: 2066 696c 6573 2061 7265 2074 6865 200a files are the . │ │ │ -0005c3c0: 2020 2020 7361 6d65 206f 6e20 616c 6c20 same on all │ │ │ -0005c3d0: 706c 6174 666f 726d 732e 2055 7365 7220 platforms. User │ │ │ -0005c3e0: 636f 6d6d 656e 7473 2069 6e20 7072 6566 comments in pref │ │ │ -0005c3f0: 6572 656e 6365 2066 696c 6573 2061 7265 erence files are │ │ │ -0005c400: 2070 7265 7365 7276 6564 2e20 0a20 2020 preserved. . │ │ │ -0005c410: 2046 696c 656e 616d 6573 2061 7265 2075 Filenames are u │ │ │ -0005c420: 6e69 7175 6520 666f 7220 6561 6368 2061 nique for each a │ │ │ -0005c430: 7070 6c69 6361 7469 6f6e 2062 7920 7573 pplication by us │ │ │ -0005c440: 696e 6720 6120 7665 6e64 6f72 2f61 7070 ing a vendor/app │ │ │ -0005c450: 6c69 6361 7469 6f6e 200a 2020 2020 6e61 lication . na │ │ │ -0005c460: 6d69 6e67 2073 6368 656d 652e 2054 6865 ming scheme. The │ │ │ -0005c470: 2075 7365 7220 6d75 7374 2070 726f 7669 user must provi │ │ │ -0005c480: 6465 2064 6566 6175 6c74 2076 616c 7565 de default value │ │ │ -0005c490: 7320 666f 7220 616c 6c20 656e 7472 6965 s for all entrie │ │ │ -0005c4a0: 7320 746f 200a 2020 2020 656e 7375 7265 s to . ensure │ │ │ -0005c4b0: 2070 726f 7065 7220 6f70 6572 6174 696f proper operatio │ │ │ -0005c4c0: 6e20 7368 6f75 6c64 2070 7265 6665 7265 n should prefere │ │ │ -0005c4d0: 6e63 6573 2062 6520 636f 7272 7570 7465 nces be corrupte │ │ │ -0005c4e0: 6420 6f72 206e 6f74 2079 6574 2065 7869 d or not yet exi │ │ │ -0005c4f0: 7374 2e0a 0a20 2020 2045 6e74 7269 6573 st... Entries │ │ │ -0005c500: 2063 616e 2062 6520 6f66 2061 6e79 206c can be of any l │ │ │ -0005c510: 656e 6774 682e 2048 6f77 6576 6572 2c20 ength. However, │ │ │ -0005c520: 7468 6520 7369 7a65 206f 6620 6561 6368 the size of each │ │ │ -0005c530: 2070 7265 6665 7265 6e63 6573 2066 696c preferences fil │ │ │ -0005c540: 6520 0a20 2020 2073 686f 756c 6420 6265 e . should be │ │ │ -0005c550: 206b 6570 7420 756e 6465 7220 3130 306b kept under 100k │ │ │ -0005c560: 2066 6f72 2070 6572 666f 726d 616e 6365 for performance │ │ │ -0005c570: 2072 6561 736f 6e73 2e20 4f6e 6520 6170 reasons. One ap │ │ │ -0005c580: 706c 6963 6174 696f 6e20 6361 6e20 0a20 plication can . │ │ │ -0005c590: 2020 2068 6176 6520 6d75 6c74 6970 6c65 have multiple │ │ │ -0005c5a0: 2070 7265 6665 7265 6e63 6573 2066 696c preferences fil │ │ │ -0005c5b0: 6573 2e20 4578 7465 6e73 6976 6520 6269 es. Extensive bi │ │ │ -0005c5c0: 6e61 7279 2064 6174 6120 686f 7765 7665 nary data howeve │ │ │ -0005c5d0: 7220 7368 6f75 6c64 2062 6520 0a20 2020 r should be . │ │ │ -0005c5e0: 2073 746f 7265 6420 696e 2073 6570 6572 stored in seper │ │ │ -0005c5f0: 6174 6520 6669 6c65 733b 2073 6565 2074 ate files; see t │ │ │ -0005c600: 6865 2067 6574 5573 6572 6461 7461 5061 he getUserdataPa │ │ │ -0005c610: 7468 2829 206d 6574 686f 642e 200a 0a20 th() method. .. │ │ │ -0005c620: 2020 2022 2222 0a0a 2020 2020 7468 6973 """.. this │ │ │ -0005c630: 6f77 6e20 3d20 7072 6f70 6572 7479 286c own = property(l │ │ │ -0005c640: 616d 6264 6120 783a 2078 2e74 6869 732e ambda x: x.this. │ │ │ -0005c650: 6f77 6e28 292c 206c 616d 6264 6120 782c own(), lambda x, │ │ │ -0005c660: 2076 3a20 782e 7468 6973 2e6f 776e 2876 v: x.this.own(v │ │ │ -0005c670: 292c 2064 6f63 3d22 5468 6520 6d65 6d62 ), doc="The memb │ │ │ -0005c680: 6572 7368 6970 2066 6c61 6722 290a 2020 ership flag"). │ │ │ -0005c690: 2020 5f5f 7265 7072 5f5f 203d 205f 7377 __repr__ = _sw │ │ │ -0005c6a0: 6967 5f72 6570 720a 2020 2020 5359 5354 ig_repr. SYST │ │ │ -0005c6b0: 454d 203d 205f 666c 746b 2e46 6c5f 5072 EM = _fltk.Fl_Pr │ │ │ -0005c6c0: 6566 6572 656e 6365 735f 5359 5354 454d eferences_SYSTEM │ │ │ -0005c6d0: 0a20 2020 200a 2020 2020 5553 4552 203d . . USER = │ │ │ -0005c6e0: 205f 666c 746b 2e46 6c5f 5072 6566 6572 _fltk.Fl_Prefer │ │ │ -0005c6f0: 656e 6365 735f 5553 4552 0a20 2020 200a ences_USER. . │ │ │ -0005c700: 0a20 2020 2064 6566 205f 5f69 6e69 745f . def __init_ │ │ │ -0005c710: 5f28 7365 6c66 2c20 2a61 7267 7329 3a0a _(self, *args):. │ │ │ -0005c720: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ -0005c730: 2020 2020 205f 5f69 6e69 745f 5f28 466c __init__(Fl │ │ │ -0005c740: 5f50 7265 6665 7265 6e63 6573 2073 656c _Preferences sel │ │ │ -0005c750: 662c 2046 6c5f 5072 6566 6572 656e 6365 f, Fl_Preference │ │ │ -0005c760: 733a 3a52 6f6f 7420 726f 6f74 2c20 6368 s::Root root, ch │ │ │ -0005c770: 6172 2063 6f6e 7374 202a 2076 656e 646f ar const * vendo │ │ │ -0005c780: 722c 2063 6861 7220 636f 6e73 7420 2a20 r, char const * │ │ │ -0005c790: 6170 706c 6963 6174 696f 6e29 202d 3e20 application) -> │ │ │ -0005c7a0: 466c 5f50 7265 6665 7265 6e63 6573 0a20 Fl_Preferences. │ │ │ -0005c7b0: 2020 2020 2020 205f 5f69 6e69 745f 5f28 __init__( │ │ │ -0005c7c0: 466c 5f50 7265 6665 7265 6e63 6573 2073 Fl_Preferences s │ │ │ -0005c7d0: 656c 662c 2046 6c5f 5072 6566 6572 656e elf, Fl_Preferen │ │ │ -0005c7e0: 6365 7320 6172 6732 2c20 6368 6172 2063 ces arg2, char c │ │ │ -0005c7f0: 6f6e 7374 202a 2067 726f 7570 2920 2d3e onst * group) -> │ │ │ -0005c800: 2046 6c5f 5072 6566 6572 656e 6365 730a Fl_Preferences. │ │ │ -0005c810: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ -0005c820: 2020 2020 5f66 6c74 6b2e 466c 5f50 7265 _fltk.Fl_Pre │ │ │ -0005c830: 6665 7265 6e63 6573 5f73 7769 6769 6e69 ferences_swigini │ │ │ -0005c840: 7428 7365 6c66 2c20 5f66 6c74 6b2e 6e65 t(self, _fltk.ne │ │ │ -0005c850: 775f 466c 5f50 7265 6665 7265 6e63 6573 w_Fl_Preferences │ │ │ -0005c860: 282a 6172 6773 2929 0a20 2020 205f 5f73 (*args)). __s │ │ │ -0005c870: 7769 675f 6465 7374 726f 795f 5f20 3d20 wig_destroy__ = │ │ │ -0005c880: 5f66 6c74 6b2e 6465 6c65 7465 5f46 6c5f _fltk.delete_Fl_ │ │ │ -0005c890: 5072 6566 6572 656e 6365 730a 0a20 2020 Preferences.. │ │ │ -0005c8a0: 2064 6566 2067 726f 7570 7328 7365 6c66 def groups(self │ │ │ -0005c8b0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -0005c8c0: 2020 7222 2222 6772 6f75 7073 2846 6c5f r"""groups(Fl_ │ │ │ -0005c8d0: 5072 6566 6572 656e 6365 7320 7365 6c66 Preferences self │ │ │ -0005c8e0: 2920 2d3e 2069 6e74 2222 220a 2020 2020 ) -> int""". │ │ │ -0005c8f0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -0005c900: 2e46 6c5f 5072 6566 6572 656e 6365 735f .Fl_Preferences_ │ │ │ -0005c910: 6772 6f75 7073 2873 656c 662c 202a 6172 groups(self, *ar │ │ │ -0005c920: 6773 290a 0a20 2020 2064 6566 2067 726f gs).. def gro │ │ │ -0005c930: 7570 2873 656c 662c 202a 6172 6773 293a up(self, *args): │ │ │ -0005c940: 0a20 2020 2020 2020 2072 2222 2267 726f . r"""gro │ │ │ -0005c950: 7570 2846 6c5f 5072 6566 6572 656e 6365 up(Fl_Preference │ │ │ -0005c960: 7320 7365 6c66 2c20 696e 7420 6172 6732 s self, int arg2 │ │ │ -0005c970: 2920 2d3e 2063 6861 7220 636f 6e73 7420 ) -> char const │ │ │ -0005c980: 2a22 2222 0a20 2020 2020 2020 2072 6574 *""". ret │ │ │ -0005c990: 7572 6e20 5f66 6c74 6b2e 466c 5f50 7265 urn _fltk.Fl_Pre │ │ │ -0005c9a0: 6665 7265 6e63 6573 5f67 726f 7570 2873 ferences_group(s │ │ │ -0005c9b0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -0005c9c0: 2064 6566 2067 726f 7570 4578 6973 7473 def groupExists │ │ │ -0005c9d0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -0005c9e0: 2020 2020 2020 2072 2222 2267 726f 7570 r"""group │ │ │ -0005c9f0: 4578 6973 7473 2846 6c5f 5072 6566 6572 Exists(Fl_Prefer │ │ │ -0005ca00: 656e 6365 7320 7365 6c66 2c20 6368 6172 ences self, char │ │ │ -0005ca10: 2063 6f6e 7374 202a 2067 726f 7570 2920 const * group) │ │ │ -0005ca20: 2d3e 2063 6861 7222 2222 0a20 2020 2020 -> char""". │ │ │ -0005ca30: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -0005ca40: 466c 5f50 7265 6665 7265 6e63 6573 5f67 Fl_Preferences_g │ │ │ -0005ca50: 726f 7570 4578 6973 7473 2873 656c 662c roupExists(self, │ │ │ -0005ca60: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -0005ca70: 2064 656c 6574 6547 726f 7570 2873 656c deleteGroup(sel │ │ │ -0005ca80: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -0005ca90: 2020 2072 2222 2264 656c 6574 6547 726f r"""deleteGro │ │ │ -0005caa0: 7570 2846 6c5f 5072 6566 6572 656e 6365 up(Fl_Preference │ │ │ -0005cab0: 7320 7365 6c66 2c20 6368 6172 2063 6f6e s self, char con │ │ │ -0005cac0: 7374 202a 2067 726f 7570 2920 2d3e 2063 st * group) -> c │ │ │ -0005cad0: 6861 7222 2222 0a20 2020 2020 2020 2072 har""". r │ │ │ -0005cae0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f50 eturn _fltk.Fl_P │ │ │ -0005caf0: 7265 6665 7265 6e63 6573 5f64 656c 6574 references_delet │ │ │ -0005cb00: 6547 726f 7570 2873 656c 662c 202a 6172 eGroup(self, *ar │ │ │ -0005cb10: 6773 290a 0a20 2020 2064 6566 2065 6e74 gs).. def ent │ │ │ -0005cb20: 7269 6573 2873 656c 662c 202a 6172 6773 ries(self, *args │ │ │ -0005cb30: 293a 0a20 2020 2020 2020 2072 2222 2265 ):. r"""e │ │ │ -0005cb40: 6e74 7269 6573 2846 6c5f 5072 6566 6572 ntries(Fl_Prefer │ │ │ -0005cb50: 656e 6365 7320 7365 6c66 2920 2d3e 2069 ences self) -> i │ │ │ -0005cb60: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ -0005cb70: 7475 726e 205f 666c 746b 2e46 6c5f 5072 turn _fltk.Fl_Pr │ │ │ -0005cb80: 6566 6572 656e 6365 735f 656e 7472 6965 eferences_entrie │ │ │ -0005cb90: 7328 7365 6c66 2c20 2a61 7267 7329 0a0a s(self, *args).. │ │ │ -0005cba0: 2020 2020 6465 6620 656e 7472 7928 7365 def entry(se │ │ │ -0005cbb0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -0005cbc0: 2020 2020 7222 2222 656e 7472 7928 466c r"""entry(Fl │ │ │ -0005cbd0: 5f50 7265 6665 7265 6e63 6573 2073 656c _Preferences sel │ │ │ -0005cbe0: 662c 2069 6e74 2061 7267 3229 202d 3e20 f, int arg2) -> │ │ │ -0005cbf0: 6368 6172 2063 6f6e 7374 202a 2222 220a char const *""". │ │ │ -0005cc00: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -0005cc10: 666c 746b 2e46 6c5f 5072 6566 6572 656e fltk.Fl_Preferen │ │ │ -0005cc20: 6365 735f 656e 7472 7928 7365 6c66 2c20 ces_entry(self, │ │ │ -0005cc30: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -0005cc40: 656e 7472 7945 7869 7374 7328 7365 6c66 entryExists(self │ │ │ -0005cc50: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -0005cc60: 2020 7222 2222 656e 7472 7945 7869 7374 r"""entryExist │ │ │ -0005cc70: 7328 466c 5f50 7265 6665 7265 6e63 6573 s(Fl_Preferences │ │ │ -0005cc80: 2073 656c 662c 2063 6861 7220 636f 6e73 self, char cons │ │ │ -0005cc90: 7420 2a20 656e 7472 7929 202d 3e20 6368 t * entry) -> ch │ │ │ -0005cca0: 6172 2222 220a 2020 2020 2020 2020 7265 ar""". re │ │ │ -0005ccb0: 7475 726e 205f 666c 746b 2e46 6c5f 5072 turn _fltk.Fl_Pr │ │ │ -0005ccc0: 6566 6572 656e 6365 735f 656e 7472 7945 eferences_entryE │ │ │ -0005ccd0: 7869 7374 7328 7365 6c66 2c20 2a61 7267 xists(self, *arg │ │ │ -0005cce0: 7329 0a0a 2020 2020 6465 6620 6465 6c65 s).. def dele │ │ │ -0005ccf0: 7465 456e 7472 7928 7365 6c66 2c20 2a61 teEntry(self, *a │ │ │ -0005cd00: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -0005cd10: 2222 6465 6c65 7465 456e 7472 7928 466c ""deleteEntry(Fl │ │ │ -0005cd20: 5f50 7265 6665 7265 6e63 6573 2073 656c _Preferences sel │ │ │ -0005cd30: 662c 2063 6861 7220 636f 6e73 7420 2a20 f, char const * │ │ │ -0005cd40: 656e 7472 7929 202d 3e20 6368 6172 2222 entry) -> char"" │ │ │ -0005cd50: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -0005cd60: 205f 666c 746b 2e46 6c5f 5072 6566 6572 _fltk.Fl_Prefer │ │ │ -0005cd70: 656e 6365 735f 6465 6c65 7465 456e 7472 ences_deleteEntr │ │ │ -0005cd80: 7928 7365 6c66 2c20 2a61 7267 7329 0a0a y(self, *args).. │ │ │ -0005cd90: 2020 2020 6465 6620 7365 7428 7365 6c66 def set(self │ │ │ -0005cda0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -0005cdb0: 2020 7222 2222 0a20 2020 2020 2020 2073 r""". s │ │ │ -0005cdc0: 6574 2846 6c5f 5072 6566 6572 656e 6365 et(Fl_Preference │ │ │ -0005cdd0: 7320 7365 6c66 2c20 6368 6172 2063 6f6e s self, char con │ │ │ -0005cde0: 7374 202a 2065 6e74 7279 2c20 696e 7420 st * entry, int │ │ │ -0005cdf0: 7661 6c75 6529 202d 3e20 6368 6172 0a20 value) -> char. │ │ │ -0005ce00: 2020 2020 2020 2073 6574 2846 6c5f 5072 set(Fl_Pr │ │ │ -0005ce10: 6566 6572 656e 6365 7320 7365 6c66 2c20 eferences self, │ │ │ -0005ce20: 6368 6172 2063 6f6e 7374 202a 2065 6e74 char const * ent │ │ │ -0005ce30: 7279 2c20 666c 6f61 7420 7661 6c75 652c ry, float value, │ │ │ -0005ce40: 2069 6e74 2070 7265 6369 7369 6f6e 2920 int precision) │ │ │ -0005ce50: 2d3e 2063 6861 720a 2020 2020 2020 2020 -> char. │ │ │ -0005ce60: 7365 7428 466c 5f50 7265 6665 7265 6e63 set(Fl_Preferenc │ │ │ -0005ce70: 6573 2073 656c 662c 2063 6861 7220 636f es self, char co │ │ │ -0005ce80: 6e73 7420 2a20 656e 7472 792c 2064 6f75 nst * entry, dou │ │ │ -0005ce90: 626c 6520 7661 6c75 6529 202d 3e20 6368 ble value) -> ch │ │ │ -0005cea0: 6172 0a20 2020 2020 2020 2073 6574 2846 ar. set(F │ │ │ -0005ceb0: 6c5f 5072 6566 6572 656e 6365 7320 7365 l_Preferences se │ │ │ -0005cec0: 6c66 2c20 6368 6172 2063 6f6e 7374 202a lf, char const * │ │ │ -0005ced0: 2065 6e74 7279 2c20 646f 7562 6c65 2076 entry, double v │ │ │ -0005cee0: 616c 7565 2c20 696e 7420 7072 6563 6973 alue, int precis │ │ │ -0005cef0: 696f 6e29 202d 3e20 6368 6172 0a20 2020 ion) -> char. │ │ │ -0005cf00: 2020 2020 2073 6574 2846 6c5f 5072 6566 set(Fl_Pref │ │ │ -0005cf10: 6572 656e 6365 7320 7365 6c66 2c20 6368 erences self, ch │ │ │ -0005cf20: 6172 2063 6f6e 7374 202a 2065 6e74 7279 ar const * entry │ │ │ -0005cf30: 2c20 6368 6172 2063 6f6e 7374 202a 2063 , char const * c │ │ │ -0005cf40: 7661 6c75 6529 202d 3e20 6368 6172 0a20 value) -> char. │ │ │ -0005cf50: 2020 2020 2020 2073 6574 2846 6c5f 5072 set(Fl_Pr │ │ │ -0005cf60: 6566 6572 656e 6365 7320 7365 6c66 2c20 eferences self, │ │ │ -0005cf70: 6368 6172 2063 6f6e 7374 202a 2065 6e74 char const * ent │ │ │ -0005cf80: 7279 2c20 766f 6964 2063 6f6e 7374 202a ry, void const * │ │ │ -0005cf90: 2063 7661 6c75 652c 2069 6e74 2073 697a cvalue, int siz │ │ │ -0005cfa0: 6529 202d 3e20 6368 6172 0a20 2020 2020 e) -> char. │ │ │ -0005cfb0: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ -0005cfc0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f50 eturn _fltk.Fl_P │ │ │ -0005cfd0: 7265 6665 7265 6e63 6573 5f73 6574 2873 references_set(s │ │ │ -0005cfe0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -0005cff0: 2064 6566 2067 6574 2873 656c 662c 202a def get(self, * │ │ │ -0005d000: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -0005d010: 2222 220a 2020 2020 2020 2020 6765 7428 """. get( │ │ │ -0005d020: 466c 5f50 7265 6665 7265 6e63 6573 2073 Fl_Preferences s │ │ │ -0005d030: 656c 662c 2063 6861 7220 636f 6e73 7420 elf, char const │ │ │ -0005d040: 2a20 656e 7472 792c 2069 6e74 2064 6566 * entry, int def │ │ │ -0005d050: 6175 6c74 5661 6c75 6529 202d 3e20 6368 aultValue) -> ch │ │ │ -0005d060: 6172 0a20 2020 2020 2020 2067 6574 2846 ar. get(F │ │ │ -0005d070: 6c5f 5072 6566 6572 656e 6365 7320 7365 l_Preferences se │ │ │ -0005d080: 6c66 2c20 6368 6172 2063 6f6e 7374 202a lf, char const * │ │ │ -0005d090: 2065 6e74 7279 2c20 666c 6f61 7420 6465 entry, float de │ │ │ -0005d0a0: 6661 756c 7456 616c 7565 2920 2d3e 2063 faultValue) -> c │ │ │ -0005d0b0: 6861 720a 2020 2020 2020 2020 6765 7428 har. get( │ │ │ -0005d0c0: 466c 5f50 7265 6665 7265 6e63 6573 2073 Fl_Preferences s │ │ │ -0005d0d0: 656c 662c 2063 6861 7220 636f 6e73 7420 elf, char const │ │ │ -0005d0e0: 2a20 656e 7472 792c 2064 6f75 626c 6520 * entry, double │ │ │ -0005d0f0: 6465 6661 756c 7456 616c 7565 2920 2d3e defaultValue) -> │ │ │ -0005d100: 2063 6861 720a 2020 2020 2020 2020 6765 char. ge │ │ │ -0005d110: 7428 466c 5f50 7265 6665 7265 6e63 6573 t(Fl_Preferences │ │ │ -0005d120: 2073 656c 662c 2063 6861 7220 636f 6e73 self, char cons │ │ │ -0005d130: 7420 2a20 656e 7472 792c 2063 6861 7220 t * entry, char │ │ │ -0005d140: 636f 6e73 7420 2a20 6465 6661 756c 7456 const * defaultV │ │ │ -0005d150: 616c 7565 2c20 696e 7420 6d61 7853 697a alue, int maxSiz │ │ │ -0005d160: 6529 202d 3e20 6368 6172 0a20 2020 2020 e) -> char. │ │ │ -0005d170: 2020 2067 6574 2846 6c5f 5072 6566 6572 get(Fl_Prefer │ │ │ -0005d180: 656e 6365 7320 7365 6c66 2c20 6368 6172 ences self, char │ │ │ -0005d190: 2063 6f6e 7374 202a 2065 6e74 7279 2c20 const * entry, │ │ │ -0005d1a0: 766f 6964 202a 2076 616c 7565 2c20 766f void * value, vo │ │ │ -0005d1b0: 6964 2063 6f6e 7374 202a 2064 6566 6175 id const * defau │ │ │ -0005d1c0: 6c74 5661 6c75 652c 2069 6e74 2064 6566 ltValue, int def │ │ │ -0005d1d0: 6175 6c74 5369 7a65 2c20 696e 7420 6d61 aultSize, int ma │ │ │ -0005d1e0: 7853 697a 6529 202d 3e20 6368 6172 0a20 xSize) -> char. │ │ │ -0005d1f0: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ -0005d200: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -0005d210: 466c 5f50 7265 6665 7265 6e63 6573 5f67 Fl_Preferences_g │ │ │ -0005d220: 6574 2873 656c 662c 202a 6172 6773 290a et(self, *args). │ │ │ -0005d230: 0a20 2020 2064 6566 2073 697a 6528 7365 . def size(se │ │ │ -0005d240: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -0005d250: 2020 2020 7222 2222 7369 7a65 2846 6c5f r"""size(Fl_ │ │ │ -0005d260: 5072 6566 6572 656e 6365 7320 7365 6c66 Preferences self │ │ │ -0005d270: 2c20 6368 6172 2063 6f6e 7374 202a 2065 , char const * e │ │ │ -0005d280: 6e74 7279 2920 2d3e 2069 6e74 2222 220a ntry) -> int""". │ │ │ -0005d290: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -0005d2a0: 666c 746b 2e46 6c5f 5072 6566 6572 656e fltk.Fl_Preferen │ │ │ -0005d2b0: 6365 735f 7369 7a65 2873 656c 662c 202a ces_size(self, * │ │ │ -0005d2c0: 6172 6773 290a 0a20 2020 2064 6566 2067 args).. def g │ │ │ -0005d2d0: 6574 5573 6572 6461 7461 5061 7468 2873 etUserdataPath(s │ │ │ -0005d2e0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -0005d2f0: 2020 2020 2072 2222 2267 6574 5573 6572 r"""getUser │ │ │ -0005d300: 6461 7461 5061 7468 2846 6c5f 5072 6566 dataPath(Fl_Pref │ │ │ -0005d310: 6572 656e 6365 7320 7365 6c66 2c20 6368 erences self, ch │ │ │ -0005d320: 6172 202a 2070 6174 6829 202d 3e20 6368 ar * path) -> ch │ │ │ -0005d330: 6172 2222 220a 2020 2020 2020 2020 7265 ar""". re │ │ │ -0005d340: 7475 726e 205f 666c 746b 2e46 6c5f 5072 turn _fltk.Fl_Pr │ │ │ -0005d350: 6566 6572 656e 6365 735f 6765 7455 7365 eferences_getUse │ │ │ -0005d360: 7264 6174 6150 6174 6828 7365 6c66 2c20 rdataPath(self, │ │ │ -0005d370: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -0005d380: 666c 7573 6828 7365 6c66 2c20 2a61 7267 flush(self, *arg │ │ │ -0005d390: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0005d3a0: 666c 7573 6828 466c 5f50 7265 6665 7265 flush(Fl_Prefere │ │ │ -0005d3b0: 6e63 6573 2073 656c 6629 2222 220a 2020 nces self)""". │ │ │ -0005d3c0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -0005d3d0: 746b 2e46 6c5f 5072 6566 6572 656e 6365 tk.Fl_Preference │ │ │ -0005d3e0: 735f 666c 7573 6828 7365 6c66 2c20 2a61 s_flush(self, *a │ │ │ -0005d3f0: 7267 7329 0a0a 2320 5265 6769 7374 6572 rgs)..# Register │ │ │ -0005d400: 2046 6c5f 5072 6566 6572 656e 6365 7320 Fl_Preferences │ │ │ -0005d410: 696e 205f 666c 746b 3a0a 5f66 6c74 6b2e in _fltk:._fltk. │ │ │ -0005d420: 466c 5f50 7265 6665 7265 6e63 6573 5f73 Fl_Preferences_s │ │ │ -0005d430: 7769 6772 6567 6973 7465 7228 466c 5f50 wigregister(Fl_P │ │ │ -0005d440: 7265 6665 7265 6e63 6573 290a 636c 6173 references).clas │ │ │ -0005d450: 7320 466c 5f50 726f 6772 6573 7328 466c s Fl_Progress(Fl │ │ │ -0005d460: 5f57 6964 6765 7429 3a0a 2020 2020 7222 _Widget):. r" │ │ │ -0005d470: 2222 0a0a 2020 2020 5468 6520 466c 5f50 "".. The Fl_P │ │ │ -0005d480: 726f 6772 6573 7320 7769 6467 6574 2064 rogress widget d │ │ │ -0005d490: 6973 706c 6179 7320 6120 7072 6f67 7265 isplays a progre │ │ │ -0005d4a0: 7373 2062 6172 2066 6f72 2074 6865 2075 ss bar for the u │ │ │ -0005d4b0: 7365 722e 0a0a 2020 2020 2222 220a 0a20 ser... """.. │ │ │ -0005d4c0: 2020 2074 6869 736f 776e 203d 2070 726f thisown = pro │ │ │ -0005d4d0: 7065 7274 7928 6c61 6d62 6461 2078 3a20 perty(lambda x: │ │ │ -0005d4e0: 782e 7468 6973 2e6f 776e 2829 2c20 6c61 x.this.own(), la │ │ │ -0005d4f0: 6d62 6461 2078 2c20 763a 2078 2e74 6869 mbda x, v: x.thi │ │ │ -0005d500: 732e 6f77 6e28 7629 2c20 646f 633d 2254 s.own(v), doc="T │ │ │ -0005d510: 6865 206d 656d 6265 7273 6869 7020 666c he membership fl │ │ │ -0005d520: 6167 2229 0a20 2020 205f 5f72 6570 725f ag"). __repr_ │ │ │ -0005d530: 5f20 3d20 5f73 7769 675f 7265 7072 0a0a _ = _swig_repr.. │ │ │ -0005d540: 2020 2020 6465 6620 6472 6177 2873 656c def draw(sel │ │ │ -0005d550: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -0005d560: 2020 2072 2222 2264 7261 7728 466c 5f50 r"""draw(Fl_P │ │ │ -0005d570: 726f 6772 6573 7320 7365 6c66 2922 2222 rogress self)""" │ │ │ -0005d580: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -0005d590: 5f66 6c74 6b2e 466c 5f50 726f 6772 6573 _fltk.Fl_Progres │ │ │ -0005d5a0: 735f 6472 6177 2873 656c 662c 202a 6172 s_draw(self, *ar │ │ │ -0005d5b0: 6773 290a 0a20 2020 2064 6566 205f 5f69 gs).. def __i │ │ │ -0005d5c0: 6e69 745f 5f28 7365 6c66 2c20 2a61 7267 nit__(self, *arg │ │ │ -0005d5d0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0005d5e0: 5f5f 696e 6974 5f5f 2846 6c5f 5072 6f67 __init__(Fl_Prog │ │ │ -0005d5f0: 7265 7373 2073 656c 662c 2069 6e74 2078 ress self, int x │ │ │ -0005d600: 2c20 696e 7420 792c 2069 6e74 2077 2c20 , int y, int w, │ │ │ -0005d610: 696e 7420 682c 2063 6861 7220 636f 6e73 int h, char cons │ │ │ -0005d620: 7420 2a20 6c3d 4e6f 6e65 2920 2d3e 2046 t * l=None) -> F │ │ │ -0005d630: 6c5f 5072 6f67 7265 7373 2222 220a 2020 l_Progress""". │ │ │ -0005d640: 2020 2020 2020 6966 2073 656c 662e 5f5f if self.__ │ │ │ -0005d650: 636c 6173 735f 5f20 3d3d 2046 6c5f 5072 class__ == Fl_Pr │ │ │ -0005d660: 6f67 7265 7373 3a0a 2020 2020 2020 2020 ogress:. │ │ │ -0005d670: 2020 2020 5f73 656c 6620 3d20 4e6f 6e65 _self = None │ │ │ -0005d680: 0a20 2020 2020 2020 2065 6c73 653a 0a20 . else:. │ │ │ -0005d690: 2020 2020 2020 2020 2020 205f 7365 6c66 _self │ │ │ -0005d6a0: 203d 2073 656c 660a 2020 2020 2020 2020 = self. │ │ │ -0005d6b0: 5f66 6c74 6b2e 466c 5f50 726f 6772 6573 _fltk.Fl_Progres │ │ │ -0005d6c0: 735f 7377 6967 696e 6974 2873 656c 662c s_swiginit(self, │ │ │ -0005d6d0: 205f 666c 746b 2e6e 6577 5f46 6c5f 5072 _fltk.new_Fl_Pr │ │ │ -0005d6e0: 6f67 7265 7373 285f 7365 6c66 2c20 2a61 ogress(_self, *a │ │ │ -0005d6f0: 7267 7329 290a 0a20 2020 2020 2020 2069 rgs)).. i │ │ │ -0005d700: 6620 6c65 6e28 6172 6773 2920 3d3d 2035 f len(args) == 5 │ │ │ -0005d710: 3a20 2020 2020 2020 2020 200a 2020 2020 : . │ │ │ -0005d720: 2020 2020 2372 6574 6169 6e20 7265 6665 #retain refe │ │ │ -0005d730: 7265 6e63 6520 746f 206c 6162 656c 0a20 rence to label. │ │ │ -0005d740: 2020 2020 2020 2020 2020 2073 656c 662e self. │ │ │ -0005d750: 6d79 5f6c 6162 656c 203d 2061 7267 735b my_label = args[ │ │ │ -0005d760: 2d31 5d0a 2020 2020 2020 2020 6966 2073 -1]. if s │ │ │ -0005d770: 656c 662e 7061 7265 6e74 2829 2021 3d20 elf.parent() != │ │ │ -0005d780: 4e6f 6e65 3a20 2020 0a20 2020 2020 2020 None: . │ │ │ -0005d790: 2023 6465 6c65 6761 7465 206f 776e 6572 #delegate owner │ │ │ -0005d7a0: 7368 6970 2074 6f20 432b 2b0a 2020 2020 ship to C++. │ │ │ -0005d7b0: 2020 2020 2020 2020 7365 6c66 2e74 6869 self.thi │ │ │ -0005d7c0: 732e 6469 736f 776e 2829 0a20 2020 2020 s.disown(). │ │ │ -0005d7d0: 2020 2073 656c 662e 696e 6974 5f74 7970 self.init_typ │ │ │ -0005d7e0: 6528 2246 6c5f 5072 6f67 7265 7373 2229 e("Fl_Progress") │ │ │ -0005d7f0: 0a20 2020 2020 2020 2023 7072 696e 7428 . #print( │ │ │ -0005d800: 2241 6464 696e 6720 7479 7065 3a20 222c "Adding type: ", │ │ │ -0005d810: 2046 6c5f 5072 6f67 7265 7373 290a 0a0a Fl_Progress)... │ │ │ -0005d820: 0a0a 2020 2020 6465 6620 6d61 7869 6d75 .. def maximu │ │ │ -0005d830: 6d28 7365 6c66 2c20 2a61 7267 7329 3a0a m(self, *args):. │ │ │ -0005d840: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ -0005d850: 2020 2020 206d 6178 696d 756d 2846 6c5f maximum(Fl_ │ │ │ -0005d860: 5072 6f67 7265 7373 2073 656c 662c 2066 Progress self, f │ │ │ -0005d870: 6c6f 6174 2076 290a 2020 2020 2020 2020 loat v). │ │ │ -0005d880: 6d61 7869 6d75 6d28 466c 5f50 726f 6772 maximum(Fl_Progr │ │ │ -0005d890: 6573 7320 7365 6c66 2920 2d3e 2066 6c6f ess self) -> flo │ │ │ -0005d8a0: 6174 0a20 2020 2020 2020 2022 2222 0a20 at. """. │ │ │ -0005d8b0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -0005d8c0: 6c74 6b2e 466c 5f50 726f 6772 6573 735f ltk.Fl_Progress_ │ │ │ -0005d8d0: 6d61 7869 6d75 6d28 7365 6c66 2c20 2a61 maximum(self, *a │ │ │ -0005d8e0: 7267 7329 0a0a 2020 2020 6465 6620 6d69 rgs).. def mi │ │ │ -0005d8f0: 6e69 6d75 6d28 7365 6c66 2c20 2a61 7267 nimum(self, *arg │ │ │ -0005d900: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0005d910: 0a20 2020 2020 2020 206d 696e 696d 756d . minimum │ │ │ -0005d920: 2846 6c5f 5072 6f67 7265 7373 2073 656c (Fl_Progress sel │ │ │ -0005d930: 662c 2066 6c6f 6174 2076 290a 2020 2020 f, float v). │ │ │ -0005d940: 2020 2020 6d69 6e69 6d75 6d28 466c 5f50 minimum(Fl_P │ │ │ -0005d950: 726f 6772 6573 7320 7365 6c66 2920 2d3e rogress self) -> │ │ │ -0005d960: 2066 6c6f 6174 0a20 2020 2020 2020 2022 float. " │ │ │ -0005d970: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -0005d980: 6e20 5f66 6c74 6b2e 466c 5f50 726f 6772 n _fltk.Fl_Progr │ │ │ -0005d990: 6573 735f 6d69 6e69 6d75 6d28 7365 6c66 ess_minimum(self │ │ │ -0005d9a0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -0005d9b0: 6620 7661 6c75 6528 7365 6c66 2c20 2a61 f value(self, *a │ │ │ -0005d9c0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -0005d9d0: 2222 0a20 2020 2020 2020 2076 616c 7565 "". value │ │ │ -0005d9e0: 2846 6c5f 5072 6f67 7265 7373 2073 656c (Fl_Progress sel │ │ │ -0005d9f0: 662c 2066 6c6f 6174 2076 290a 2020 2020 f, float v). │ │ │ -0005da00: 2020 2020 7661 6c75 6528 466c 5f50 726f value(Fl_Pro │ │ │ -0005da10: 6772 6573 7320 7365 6c66 2920 2d3e 2066 gress self) -> f │ │ │ -0005da20: 6c6f 6174 0a20 2020 2020 2020 2022 2222 loat. """ │ │ │ -0005da30: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -0005da40: 5f66 6c74 6b2e 466c 5f50 726f 6772 6573 _fltk.Fl_Progres │ │ │ -0005da50: 735f 7661 6c75 6528 7365 6c66 2c20 2a61 s_value(self, *a │ │ │ -0005da60: 7267 7329 0a0a 2020 2020 6465 6620 696e rgs).. def in │ │ │ -0005da70: 6974 5f74 7970 6528 7365 6c66 2c20 2a61 it_type(self, *a │ │ │ -0005da80: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -0005da90: 2222 696e 6974 5f74 7970 6528 466c 5f50 ""init_type(Fl_P │ │ │ -0005daa0: 726f 6772 6573 7320 7365 6c66 2c20 6368 rogress self, ch │ │ │ -0005dab0: 6172 202a 2046 6c5f 5072 6f67 7265 7373 ar * Fl_Progress │ │ │ -0005dac0: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ -0005dad0: 7572 6e20 5f66 6c74 6b2e 466c 5f50 726f urn _fltk.Fl_Pro │ │ │ -0005dae0: 6772 6573 735f 696e 6974 5f74 7970 6528 gress_init_type( │ │ │ -0005daf0: 7365 6c66 2c20 2a61 7267 7329 0a20 2020 self, *args). │ │ │ -0005db00: 205f 5f73 7769 675f 6465 7374 726f 795f __swig_destroy_ │ │ │ -0005db10: 5f20 3d20 5f66 6c74 6b2e 6465 6c65 7465 _ = _fltk.delete │ │ │ -0005db20: 5f46 6c5f 5072 6f67 7265 7373 0a20 2020 _Fl_Progress. │ │ │ -0005db30: 2064 6566 205f 5f64 6973 6f77 6e5f 5f28 def __disown__( │ │ │ -0005db40: 7365 6c66 293a 0a20 2020 2020 2020 2073 self):. s │ │ │ -0005db50: 656c 662e 7468 6973 2e64 6973 6f77 6e28 elf.this.disown( │ │ │ -0005db60: 290a 2020 2020 2020 2020 5f66 6c74 6b2e ). _fltk. │ │ │ -0005db70: 6469 736f 776e 5f46 6c5f 5072 6f67 7265 disown_Fl_Progre │ │ │ -0005db80: 7373 2873 656c 6629 0a20 2020 2020 2020 ss(self). │ │ │ -0005db90: 2072 6574 7572 6e20 7765 616b 7265 662e return weakref. │ │ │ -0005dba0: 7072 6f78 7928 7365 6c66 290a 0a23 2052 proxy(self)..# R │ │ │ -0005dbb0: 6567 6973 7465 7220 466c 5f50 726f 6772 egister Fl_Progr │ │ │ -0005dbc0: 6573 7320 696e 205f 666c 746b 3a0a 5f66 ess in _fltk:._f │ │ │ -0005dbd0: 6c74 6b2e 466c 5f50 726f 6772 6573 735f ltk.Fl_Progress_ │ │ │ -0005dbe0: 7377 6967 7265 6769 7374 6572 2846 6c5f swigregister(Fl_ │ │ │ -0005dbf0: 5072 6f67 7265 7373 290a 636c 6173 7320 Progress).class │ │ │ -0005dc00: 466c 5f52 6164 696f 5f42 7574 746f 6e28 Fl_Radio_Button( │ │ │ -0005dc10: 466c 5f42 7574 746f 6e29 3a0a 2020 2020 Fl_Button):. │ │ │ -0005dc20: 7222 2222 5072 6f78 7920 6f66 2043 2b2b r"""Proxy of C++ │ │ │ -0005dc30: 2046 6c5f 5261 6469 6f5f 4275 7474 6f6e Fl_Radio_Button │ │ │ -0005dc40: 2063 6c61 7373 2e22 2222 0a0a 2020 2020 class.""".. │ │ │ -0005dc50: 7468 6973 6f77 6e20 3d20 7072 6f70 6572 thisown = proper │ │ │ -0005dc60: 7479 286c 616d 6264 6120 783a 2078 2e74 ty(lambda x: x.t │ │ │ -0005dc70: 6869 732e 6f77 6e28 292c 206c 616d 6264 his.own(), lambd │ │ │ -0005dc80: 6120 782c 2076 3a20 782e 7468 6973 2e6f a x, v: x.this.o │ │ │ -0005dc90: 776e 2876 292c 2064 6f63 3d22 5468 6520 wn(v), doc="The │ │ │ -0005dca0: 6d65 6d62 6572 7368 6970 2066 6c61 6722 membership flag" │ │ │ -0005dcb0: 290a 2020 2020 5f5f 7265 7072 5f5f 203d ). __repr__ = │ │ │ -0005dcc0: 205f 7377 6967 5f72 6570 720a 0a20 2020 _swig_repr.. │ │ │ -0005dcd0: 2064 6566 205f 5f69 6e69 745f 5f28 7365 def __init__(se │ │ │ -0005dce0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -0005dcf0: 2020 2020 7222 2222 5f5f 696e 6974 5f5f r"""__init__ │ │ │ -0005dd00: 2846 6c5f 5261 6469 6f5f 4275 7474 6f6e (Fl_Radio_Button │ │ │ -0005dd10: 2073 656c 662c 2069 6e74 2058 2c20 696e self, int X, in │ │ │ -0005dd20: 7420 592c 2069 6e74 2057 2c20 696e 7420 t Y, int W, int │ │ │ -0005dd30: 482c 2063 6861 7220 636f 6e73 7420 2a20 H, char const * │ │ │ -0005dd40: 4c3d 4e6f 6e65 2920 2d3e 2046 6c5f 5261 L=None) -> Fl_Ra │ │ │ -0005dd50: 6469 6f5f 4275 7474 6f6e 2222 220a 2020 dio_Button""". │ │ │ -0005dd60: 2020 2020 2020 6966 2073 656c 662e 5f5f if self.__ │ │ │ -0005dd70: 636c 6173 735f 5f20 3d3d 2046 6c5f 5261 class__ == Fl_Ra │ │ │ -0005dd80: 6469 6f5f 4275 7474 6f6e 3a0a 2020 2020 dio_Button:. │ │ │ -0005dd90: 2020 2020 2020 2020 5f73 656c 6620 3d20 _self = │ │ │ -0005dda0: 4e6f 6e65 0a20 2020 2020 2020 2065 6c73 None. els │ │ │ -0005ddb0: 653a 0a20 2020 2020 2020 2020 2020 205f e:. _ │ │ │ -0005ddc0: 7365 6c66 203d 2073 656c 660a 2020 2020 self = self. │ │ │ -0005ddd0: 2020 2020 5f66 6c74 6b2e 466c 5f52 6164 _fltk.Fl_Rad │ │ │ -0005dde0: 696f 5f42 7574 746f 6e5f 7377 6967 696e io_Button_swigin │ │ │ -0005ddf0: 6974 2873 656c 662c 205f 666c 746b 2e6e it(self, _fltk.n │ │ │ -0005de00: 6577 5f46 6c5f 5261 6469 6f5f 4275 7474 ew_Fl_Radio_Butt │ │ │ -0005de10: 6f6e 285f 7365 6c66 2c20 2a61 7267 7329 on(_self, *args) │ │ │ -0005de20: 290a 0a20 2020 2020 2020 2069 6620 6c65 ).. if le │ │ │ -0005de30: 6e28 6172 6773 2920 3d3d 2035 3a20 2020 n(args) == 5: │ │ │ -0005de40: 2020 2020 2020 200a 2020 2020 2020 2020 . │ │ │ -0005de50: 2372 6574 6169 6e20 7265 6665 7265 6e63 #retain referenc │ │ │ -0005de60: 6520 746f 206c 6162 656c 0a20 2020 2020 e to label. │ │ │ -0005de70: 2020 2020 2020 2073 656c 662e 6d79 5f6c self.my_l │ │ │ -0005de80: 6162 656c 203d 2061 7267 735b 2d31 5d0a abel = args[-1]. │ │ │ -0005de90: 2020 2020 2020 2020 6966 2073 656c 662e if self. │ │ │ -0005dea0: 7061 7265 6e74 2829 2021 3d20 4e6f 6e65 parent() != None │ │ │ -0005deb0: 3a20 2020 0a20 2020 2020 2020 2023 6465 : . #de │ │ │ -0005dec0: 6c65 6761 7465 206f 776e 6572 7368 6970 legate ownership │ │ │ -0005ded0: 2074 6f20 432b 2b0a 2020 2020 2020 2020 to C++. │ │ │ -0005dee0: 2020 2020 7365 6c66 2e74 6869 732e 6469 self.this.di │ │ │ -0005def0: 736f 776e 2829 0a20 2020 2020 2020 2073 sown(). s │ │ │ -0005df00: 656c 662e 696e 6974 5f74 7970 6528 2246 elf.init_type("F │ │ │ -0005df10: 6c5f 5261 6469 6f5f 4275 7474 6f6e 2229 l_Radio_Button") │ │ │ -0005df20: 0a20 2020 2020 2020 2023 7072 696e 7428 . #print( │ │ │ -0005df30: 2241 6464 696e 6720 7479 7065 3a20 222c "Adding type: ", │ │ │ -0005df40: 2046 6c5f 5261 6469 6f5f 4275 7474 6f6e Fl_Radio_Button │ │ │ -0005df50: 290a 0a0a 0a0a 2020 2020 6465 6620 696e )..... def in │ │ │ -0005df60: 6974 5f74 7970 6528 7365 6c66 2c20 2a61 it_type(self, *a │ │ │ -0005df70: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -0005df80: 2222 696e 6974 5f74 7970 6528 466c 5f52 ""init_type(Fl_R │ │ │ -0005df90: 6164 696f 5f42 7574 746f 6e20 7365 6c66 adio_Button self │ │ │ -0005dfa0: 2c20 6368 6172 202a 2046 6c5f 5261 6469 , char * Fl_Radi │ │ │ -0005dfb0: 6f5f 4275 7474 6f6e 2922 2222 0a20 2020 o_Button)""". │ │ │ -0005dfc0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -0005dfd0: 6b2e 466c 5f52 6164 696f 5f42 7574 746f k.Fl_Radio_Butto │ │ │ -0005dfe0: 6e5f 696e 6974 5f74 7970 6528 7365 6c66 n_init_type(self │ │ │ -0005dff0: 2c20 2a61 7267 7329 0a20 2020 205f 5f73 , *args). __s │ │ │ -0005e000: 7769 675f 6465 7374 726f 795f 5f20 3d20 wig_destroy__ = │ │ │ -0005e010: 5f66 6c74 6b2e 6465 6c65 7465 5f46 6c5f _fltk.delete_Fl_ │ │ │ -0005e020: 5261 6469 6f5f 4275 7474 6f6e 0a20 2020 Radio_Button. │ │ │ -0005e030: 2064 6566 205f 5f64 6973 6f77 6e5f 5f28 def __disown__( │ │ │ -0005e040: 7365 6c66 293a 0a20 2020 2020 2020 2073 self):. s │ │ │ -0005e050: 656c 662e 7468 6973 2e64 6973 6f77 6e28 elf.this.disown( │ │ │ -0005e060: 290a 2020 2020 2020 2020 5f66 6c74 6b2e ). _fltk. │ │ │ -0005e070: 6469 736f 776e 5f46 6c5f 5261 6469 6f5f disown_Fl_Radio_ │ │ │ -0005e080: 4275 7474 6f6e 2873 656c 6629 0a20 2020 Button(self). │ │ │ -0005e090: 2020 2020 2072 6574 7572 6e20 7765 616b return weak │ │ │ -0005e0a0: 7265 662e 7072 6f78 7928 7365 6c66 290a ref.proxy(self). │ │ │ -0005e0b0: 0a20 2020 2064 6566 2064 7261 7728 7365 . def draw(se │ │ │ -0005e0c0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -0005e0d0: 2020 2020 7222 2222 6472 6177 2846 6c5f r"""draw(Fl_ │ │ │ -0005e0e0: 5261 6469 6f5f 4275 7474 6f6e 2073 656c Radio_Button sel │ │ │ -0005e0f0: 6629 2222 220a 2020 2020 2020 2020 7265 f)""". re │ │ │ -0005e100: 7475 726e 205f 666c 746b 2e46 6c5f 5261 turn _fltk.Fl_Ra │ │ │ -0005e110: 6469 6f5f 4275 7474 6f6e 5f64 7261 7728 dio_Button_draw( │ │ │ -0005e120: 7365 6c66 2c20 2a61 7267 7329 0a0a 2320 self, *args)..# │ │ │ -0005e130: 5265 6769 7374 6572 2046 6c5f 5261 6469 Register Fl_Radi │ │ │ -0005e140: 6f5f 4275 7474 6f6e 2069 6e20 5f66 6c74 o_Button in _flt │ │ │ -0005e150: 6b3a 0a5f 666c 746b 2e46 6c5f 5261 6469 k:._fltk.Fl_Radi │ │ │ -0005e160: 6f5f 4275 7474 6f6e 5f73 7769 6772 6567 o_Button_swigreg │ │ │ -0005e170: 6973 7465 7228 466c 5f52 6164 696f 5f42 ister(Fl_Radio_B │ │ │ -0005e180: 7574 746f 6e29 0a63 6c61 7373 2046 6c5f utton).class Fl_ │ │ │ -0005e190: 5261 6469 6f5f 4c69 6768 745f 4275 7474 Radio_Light_Butt │ │ │ -0005e1a0: 6f6e 2846 6c5f 4c69 6768 745f 4275 7474 on(Fl_Light_Butt │ │ │ -0005e1b0: 6f6e 293a 0a20 2020 2072 2222 2250 726f on):. r"""Pro │ │ │ -0005e1c0: 7879 206f 6620 432b 2b20 466c 5f52 6164 xy of C++ Fl_Rad │ │ │ -0005e1d0: 696f 5f4c 6967 6874 5f42 7574 746f 6e20 io_Light_Button │ │ │ -0005e1e0: 636c 6173 732e 2222 220a 0a20 2020 2074 class.""".. t │ │ │ -0005e1f0: 6869 736f 776e 203d 2070 726f 7065 7274 hisown = propert │ │ │ -0005e200: 7928 6c61 6d62 6461 2078 3a20 782e 7468 y(lambda x: x.th │ │ │ -0005e210: 6973 2e6f 776e 2829 2c20 6c61 6d62 6461 is.own(), lambda │ │ │ -0005e220: 2078 2c20 763a 2078 2e74 6869 732e 6f77 x, v: x.this.ow │ │ │ -0005e230: 6e28 7629 2c20 646f 633d 2254 6865 206d n(v), doc="The m │ │ │ -0005e240: 656d 6265 7273 6869 7020 666c 6167 2229 embership flag") │ │ │ -0005e250: 0a20 2020 205f 5f72 6570 725f 5f20 3d20 . __repr__ = │ │ │ -0005e260: 5f73 7769 675f 7265 7072 0a0a 2020 2020 _swig_repr.. │ │ │ -0005e270: 6465 6620 5f5f 696e 6974 5f5f 2873 656c def __init__(sel │ │ │ -0005e280: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -0005e290: 2020 2072 2222 225f 5f69 6e69 745f 5f28 r"""__init__( │ │ │ -0005e2a0: 466c 5f52 6164 696f 5f4c 6967 6874 5f42 Fl_Radio_Light_B │ │ │ -0005e2b0: 7574 746f 6e20 7365 6c66 2c20 696e 7420 utton self, int │ │ │ -0005e2c0: 582c 2069 6e74 2059 2c20 696e 7420 572c X, int Y, int W, │ │ │ -0005e2d0: 2069 6e74 2048 2c20 6368 6172 2063 6f6e int H, char con │ │ │ -0005e2e0: 7374 202a 206c 3d4e 6f6e 6529 202d 3e20 st * l=None) -> │ │ │ -0005e2f0: 466c 5f52 6164 696f 5f4c 6967 6874 5f42 Fl_Radio_Light_B │ │ │ -0005e300: 7574 746f 6e22 2222 0a20 2020 2020 2020 utton""". │ │ │ -0005e310: 2069 6620 7365 6c66 2e5f 5f63 6c61 7373 if self.__class │ │ │ -0005e320: 5f5f 203d 3d20 466c 5f52 6164 696f 5f4c __ == Fl_Radio_L │ │ │ -0005e330: 6967 6874 5f42 7574 746f 6e3a 0a20 2020 ight_Button:. │ │ │ -0005e340: 2020 2020 2020 2020 205f 7365 6c66 203d _self = │ │ │ -0005e350: 204e 6f6e 650a 2020 2020 2020 2020 656c None. el │ │ │ -0005e360: 7365 3a0a 2020 2020 2020 2020 2020 2020 se:. │ │ │ -0005e370: 5f73 656c 6620 3d20 7365 6c66 0a20 2020 _self = self. │ │ │ -0005e380: 2020 2020 205f 666c 746b 2e46 6c5f 5261 _fltk.Fl_Ra │ │ │ -0005e390: 6469 6f5f 4c69 6768 745f 4275 7474 6f6e dio_Light_Button │ │ │ -0005e3a0: 5f73 7769 6769 6e69 7428 7365 6c66 2c20 _swiginit(self, │ │ │ -0005e3b0: 5f66 6c74 6b2e 6e65 775f 466c 5f52 6164 _fltk.new_Fl_Rad │ │ │ -0005e3c0: 696f 5f4c 6967 6874 5f42 7574 746f 6e28 io_Light_Button( │ │ │ -0005e3d0: 5f73 656c 662c 202a 6172 6773 2929 0a0a _self, *args)).. │ │ │ -0005e3e0: 2020 2020 2020 2020 6966 206c 656e 2861 if len(a │ │ │ -0005e3f0: 7267 7329 203d 3d20 353a 2020 2020 2020 rgs) == 5: │ │ │ -0005e400: 2020 2020 0a20 2020 2020 2020 2023 7265 . #re │ │ │ -0005e410: 7461 696e 2072 6566 6572 656e 6365 2074 tain reference t │ │ │ -0005e420: 6f20 6c61 6265 6c0a 2020 2020 2020 2020 o label. │ │ │ -0005e430: 2020 2020 7365 6c66 2e6d 795f 6c61 6265 self.my_labe │ │ │ -0005e440: 6c20 3d20 6172 6773 5b2d 315d 0a20 2020 l = args[-1]. │ │ │ -0005e450: 2020 2020 2069 6620 7365 6c66 2e70 6172 if self.par │ │ │ -0005e460: 656e 7428 2920 213d 204e 6f6e 653a 2020 ent() != None: │ │ │ -0005e470: 200a 2020 2020 2020 2020 2364 656c 6567 . #deleg │ │ │ -0005e480: 6174 6520 6f77 6e65 7273 6869 7020 746f ate ownership to │ │ │ -0005e490: 2043 2b2b 0a20 2020 2020 2020 2020 2020 C++. │ │ │ -0005e4a0: 2073 656c 662e 7468 6973 2e64 6973 6f77 self.this.disow │ │ │ -0005e4b0: 6e28 290a 2020 2020 2020 2020 7365 6c66 n(). self │ │ │ -0005e4c0: 2e69 6e69 745f 7479 7065 2822 466c 5f52 .init_type("Fl_R │ │ │ -0005e4d0: 6164 696f 5f4c 6967 6874 5f42 7574 746f adio_Light_Butto │ │ │ -0005e4e0: 6e22 290a 2020 2020 2020 2020 2370 7269 n"). #pri │ │ │ -0005e4f0: 6e74 2822 4164 6469 6e67 2074 7970 653a nt("Adding type: │ │ │ -0005e500: 2022 2c20 466c 5f52 6164 696f 5f4c 6967 ", Fl_Radio_Lig │ │ │ -0005e510: 6874 5f42 7574 746f 6e29 0a0a 0a0a 0a20 ht_Button)..... │ │ │ -0005e520: 2020 2064 6566 2069 6e69 745f 7479 7065 def init_type │ │ │ -0005e530: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -0005e540: 2020 2020 2020 2072 2222 2269 6e69 745f r"""init_ │ │ │ -0005e550: 7479 7065 2846 6c5f 5261 6469 6f5f 4c69 type(Fl_Radio_Li │ │ │ -0005e560: 6768 745f 4275 7474 6f6e 2073 656c 662c ght_Button self, │ │ │ -0005e570: 2063 6861 7220 2a20 466c 5f52 6164 696f char * Fl_Radio │ │ │ -0005e580: 5f4c 6967 6874 5f42 7574 746f 6e29 2222 _Light_Button)"" │ │ │ -0005e590: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -0005e5a0: 205f 666c 746b 2e46 6c5f 5261 6469 6f5f _fltk.Fl_Radio_ │ │ │ -0005e5b0: 4c69 6768 745f 4275 7474 6f6e 5f69 6e69 Light_Button_ini │ │ │ -0005e5c0: 745f 7479 7065 2873 656c 662c 202a 6172 t_type(self, *ar │ │ │ -0005e5d0: 6773 290a 2020 2020 5f5f 7377 6967 5f64 gs). __swig_d │ │ │ -0005e5e0: 6573 7472 6f79 5f5f 203d 205f 666c 746b estroy__ = _fltk │ │ │ -0005e5f0: 2e64 656c 6574 655f 466c 5f52 6164 696f .delete_Fl_Radio │ │ │ -0005e600: 5f4c 6967 6874 5f42 7574 746f 6e0a 2020 _Light_Button. │ │ │ -0005e610: 2020 6465 6620 5f5f 6469 736f 776e 5f5f def __disown__ │ │ │ -0005e620: 2873 656c 6629 3a0a 2020 2020 2020 2020 (self):. │ │ │ -0005e630: 7365 6c66 2e74 6869 732e 6469 736f 776e self.this.disown │ │ │ -0005e640: 2829 0a20 2020 2020 2020 205f 666c 746b (). _fltk │ │ │ -0005e650: 2e64 6973 6f77 6e5f 466c 5f52 6164 696f .disown_Fl_Radio │ │ │ -0005e660: 5f4c 6967 6874 5f42 7574 746f 6e28 7365 _Light_Button(se │ │ │ -0005e670: 6c66 290a 2020 2020 2020 2020 7265 7475 lf). retu │ │ │ -0005e680: 726e 2077 6561 6b72 6566 2e70 726f 7879 rn weakref.proxy │ │ │ -0005e690: 2873 656c 6629 0a0a 2020 2020 6465 6620 (self).. def │ │ │ -0005e6a0: 6472 6177 2873 656c 662c 202a 6172 6773 draw(self, *args │ │ │ -0005e6b0: 293a 0a20 2020 2020 2020 2072 2222 2264 ):. r"""d │ │ │ -0005e6c0: 7261 7728 466c 5f52 6164 696f 5f4c 6967 raw(Fl_Radio_Lig │ │ │ -0005e6d0: 6874 5f42 7574 746f 6e20 7365 6c66 2922 ht_Button self)" │ │ │ -0005e6e0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -0005e6f0: 6e20 5f66 6c74 6b2e 466c 5f52 6164 696f n _fltk.Fl_Radio │ │ │ -0005e700: 5f4c 6967 6874 5f42 7574 746f 6e5f 6472 _Light_Button_dr │ │ │ -0005e710: 6177 2873 656c 662c 202a 6172 6773 290a aw(self, *args). │ │ │ -0005e720: 0a23 2052 6567 6973 7465 7220 466c 5f52 .# Register Fl_R │ │ │ -0005e730: 6164 696f 5f4c 6967 6874 5f42 7574 746f adio_Light_Butto │ │ │ -0005e740: 6e20 696e 205f 666c 746b 3a0a 5f66 6c74 n in _fltk:._flt │ │ │ -0005e750: 6b2e 466c 5f52 6164 696f 5f4c 6967 6874 k.Fl_Radio_Light │ │ │ -0005e760: 5f42 7574 746f 6e5f 7377 6967 7265 6769 _Button_swigregi │ │ │ -0005e770: 7374 6572 2846 6c5f 5261 6469 6f5f 4c69 ster(Fl_Radio_Li │ │ │ -0005e780: 6768 745f 4275 7474 6f6e 290a 636c 6173 ght_Button).clas │ │ │ -0005e790: 7320 466c 5f52 6f75 6e64 5f42 7574 746f s Fl_Round_Butto │ │ │ -0005e7a0: 6e28 466c 5f4c 6967 6874 5f42 7574 746f n(Fl_Light_Butto │ │ │ -0005e7b0: 6e29 3a0a 2020 2020 7222 2222 0a0a 2020 n):. r""".. │ │ │ -0005e7c0: 2020 4275 7474 6f6e 7320 6765 6e65 7261 Buttons genera │ │ │ -0005e7d0: 7465 2063 616c 6c62 6163 6b73 2077 6865 te callbacks whe │ │ │ -0005e7e0: 6e20 7468 6579 2061 7265 2063 6c69 636b n they are click │ │ │ -0005e7f0: 6564 2062 7920 7468 6520 7573 6572 2e20 ed by the user. │ │ │ -0005e800: 596f 7520 636f 6e74 726f 6c20 0a20 2020 You control . │ │ │ -0005e810: 2065 7861 6374 6c79 2077 6865 6e20 616e exactly when an │ │ │ -0005e820: 6420 686f 7720 6279 2063 6861 6e67 696e d how by changin │ │ │ -0005e830: 6720 7468 6520 7661 6c75 6573 2066 6f72 g the values for │ │ │ -0005e840: 2074 7970 6528 2920 616e 6420 7768 656e type() and when │ │ │ -0005e850: 2829 2e0a 0a20 2020 2054 6865 2046 6c5f ()... The Fl_ │ │ │ -0005e860: 526f 756e 645f 4275 7474 6f6e 2073 7562 Round_Button sub │ │ │ -0005e870: 636c 6173 7320 6469 7370 6c61 7920 7468 class display th │ │ │ -0005e880: 6520 276f 6e27 2073 7461 7465 2062 7920 e 'on' state by │ │ │ -0005e890: 7475 726e 696e 6720 6f6e 2061 206c 6967 turning on a lig │ │ │ -0005e8a0: 6874 2c20 0a20 2020 2072 6174 6865 7220 ht, . rather │ │ │ -0005e8b0: 7468 616e 2064 7261 7769 6e67 2070 7573 than drawing pus │ │ │ -0005e8c0: 6865 6420 696e 2e20 5468 6520 7368 6170 hed in. The shap │ │ │ -0005e8d0: 6520 6f66 2074 6865 2027 6c69 6768 7427 e of the 'light' │ │ │ -0005e8e0: 2069 7320 696e 6974 6961 6c6c 7920 7365 is initially se │ │ │ -0005e8f0: 7420 0a20 2020 2074 6f20 464c 5f52 4f55 t . to FL_ROU │ │ │ -0005e900: 4e44 5f44 4f57 4e5f 424f 582e 2054 6865 ND_DOWN_BOX. The │ │ │ -0005e910: 2063 6f6c 6f72 206f 6620 7468 6520 6c69 color of the li │ │ │ -0005e920: 6768 7420 7768 656e 206f 6e20 6973 2063 ght when on is c │ │ │ -0005e930: 6f6e 7472 6f6c 6c65 6420 7769 7468 200a ontrolled with . │ │ │ -0005e940: 2020 2020 7365 6c65 6374 696f 6e5f 636f selection_co │ │ │ -0005e950: 6c6f 7228 292c 2077 6869 6368 2064 6566 lor(), which def │ │ │ -0005e960: 6175 6c74 7320 746f 2046 4c5f 5245 442e aults to FL_RED. │ │ │ -0005e970: 0a0a 2020 2020 2222 220a 0a20 2020 2074 .. """.. t │ │ │ -0005e980: 6869 736f 776e 203d 2070 726f 7065 7274 hisown = propert │ │ │ -0005e990: 7928 6c61 6d62 6461 2078 3a20 782e 7468 y(lambda x: x.th │ │ │ -0005e9a0: 6973 2e6f 776e 2829 2c20 6c61 6d62 6461 is.own(), lambda │ │ │ -0005e9b0: 2078 2c20 763a 2078 2e74 6869 732e 6f77 x, v: x.this.ow │ │ │ -0005e9c0: 6e28 7629 2c20 646f 633d 2254 6865 206d n(v), doc="The m │ │ │ -0005e9d0: 656d 6265 7273 6869 7020 666c 6167 2229 embership flag") │ │ │ -0005e9e0: 0a20 2020 205f 5f72 6570 725f 5f20 3d20 . __repr__ = │ │ │ -0005e9f0: 5f73 7769 675f 7265 7072 0a0a 2020 2020 _swig_repr.. │ │ │ -0005ea00: 6465 6620 5f5f 696e 6974 5f5f 2873 656c def __init__(sel │ │ │ -0005ea10: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -0005ea20: 2020 2072 2222 225f 5f69 6e69 745f 5f28 r"""__init__( │ │ │ -0005ea30: 466c 5f52 6f75 6e64 5f42 7574 746f 6e20 Fl_Round_Button │ │ │ -0005ea40: 7365 6c66 2c20 696e 7420 782c 2069 6e74 self, int x, int │ │ │ -0005ea50: 2079 2c20 696e 7420 772c 2069 6e74 2068 y, int w, int h │ │ │ -0005ea60: 2c20 6368 6172 2063 6f6e 7374 202a 206c , char const * l │ │ │ -0005ea70: 3d4e 6f6e 6529 202d 3e20 466c 5f52 6f75 =None) -> Fl_Rou │ │ │ -0005ea80: 6e64 5f42 7574 746f 6e22 2222 0a20 2020 nd_Button""". │ │ │ -0005ea90: 2020 2020 2069 6620 7365 6c66 2e5f 5f63 if self.__c │ │ │ -0005eaa0: 6c61 7373 5f5f 203d 3d20 466c 5f52 6f75 lass__ == Fl_Rou │ │ │ -0005eab0: 6e64 5f42 7574 746f 6e3a 0a20 2020 2020 nd_Button:. │ │ │ -0005eac0: 2020 2020 2020 205f 7365 6c66 203d 204e _self = N │ │ │ -0005ead0: 6f6e 650a 2020 2020 2020 2020 656c 7365 one. else │ │ │ -0005eae0: 3a0a 2020 2020 2020 2020 2020 2020 5f73 :. _s │ │ │ -0005eaf0: 656c 6620 3d20 7365 6c66 0a20 2020 2020 elf = self. │ │ │ -0005eb00: 2020 205f 666c 746b 2e46 6c5f 526f 756e _fltk.Fl_Roun │ │ │ -0005eb10: 645f 4275 7474 6f6e 5f73 7769 6769 6e69 d_Button_swigini │ │ │ -0005eb20: 7428 7365 6c66 2c20 5f66 6c74 6b2e 6e65 t(self, _fltk.ne │ │ │ -0005eb30: 775f 466c 5f52 6f75 6e64 5f42 7574 746f w_Fl_Round_Butto │ │ │ -0005eb40: 6e28 5f73 656c 662c 202a 6172 6773 2929 n(_self, *args)) │ │ │ -0005eb50: 0a0a 2020 2020 2020 2020 6966 206c 656e .. if len │ │ │ -0005eb60: 2861 7267 7329 203d 3d20 353a 2020 2020 (args) == 5: │ │ │ -0005eb70: 2020 2020 2020 0a20 2020 2020 2020 2023 . # │ │ │ -0005eb80: 7265 7461 696e 2072 6566 6572 656e 6365 retain reference │ │ │ -0005eb90: 2074 6f20 6c61 6265 6c0a 2020 2020 2020 to label. │ │ │ -0005eba0: 2020 2020 2020 7365 6c66 2e6d 795f 6c61 self.my_la │ │ │ -0005ebb0: 6265 6c20 3d20 6172 6773 5b2d 315d 0a20 bel = args[-1]. │ │ │ -0005ebc0: 2020 2020 2020 2069 6620 7365 6c66 2e70 if self.p │ │ │ -0005ebd0: 6172 656e 7428 2920 213d 204e 6f6e 653a arent() != None: │ │ │ -0005ebe0: 2020 200a 2020 2020 2020 2020 2364 656c . #del │ │ │ -0005ebf0: 6567 6174 6520 6f77 6e65 7273 6869 7020 egate ownership │ │ │ -0005ec00: 746f 2043 2b2b 0a20 2020 2020 2020 2020 to C++. │ │ │ -0005ec10: 2020 2073 656c 662e 7468 6973 2e64 6973 self.this.dis │ │ │ -0005ec20: 6f77 6e28 290a 2020 2020 2020 2020 7365 own(). se │ │ │ -0005ec30: 6c66 2e69 6e69 745f 7479 7065 2822 466c lf.init_type("Fl │ │ │ -0005ec40: 5f52 6f75 6e64 5f42 7574 746f 6e22 290a _Round_Button"). │ │ │ -0005ec50: 2020 2020 2020 2020 2370 7269 6e74 2822 #print(" │ │ │ -0005ec60: 4164 6469 6e67 2074 7970 653a 2022 2c20 Adding type: ", │ │ │ -0005ec70: 466c 5f52 6f75 6e64 5f42 7574 746f 6e29 Fl_Round_Button) │ │ │ -0005ec80: 0a0a 0a0a 0a20 2020 2064 6566 2069 6e69 ..... def ini │ │ │ -0005ec90: 745f 7479 7065 2873 656c 662c 202a 6172 t_type(self, *ar │ │ │ -0005eca0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -0005ecb0: 2269 6e69 745f 7479 7065 2846 6c5f 526f "init_type(Fl_Ro │ │ │ -0005ecc0: 756e 645f 4275 7474 6f6e 2073 656c 662c und_Button self, │ │ │ -0005ecd0: 2063 6861 7220 2a20 466c 5f52 6f75 6e64 char * Fl_Round │ │ │ -0005ece0: 5f42 7574 746f 6e29 2222 220a 2020 2020 _Button)""". │ │ │ -0005ecf0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -0005ed00: 2e46 6c5f 526f 756e 645f 4275 7474 6f6e .Fl_Round_Button │ │ │ -0005ed10: 5f69 6e69 745f 7479 7065 2873 656c 662c _init_type(self, │ │ │ -0005ed20: 202a 6172 6773 290a 2020 2020 5f5f 7377 *args). __sw │ │ │ -0005ed30: 6967 5f64 6573 7472 6f79 5f5f 203d 205f ig_destroy__ = _ │ │ │ -0005ed40: 666c 746b 2e64 656c 6574 655f 466c 5f52 fltk.delete_Fl_R │ │ │ -0005ed50: 6f75 6e64 5f42 7574 746f 6e0a 2020 2020 ound_Button. │ │ │ -0005ed60: 6465 6620 5f5f 6469 736f 776e 5f5f 2873 def __disown__(s │ │ │ -0005ed70: 656c 6629 3a0a 2020 2020 2020 2020 7365 elf):. se │ │ │ -0005ed80: 6c66 2e74 6869 732e 6469 736f 776e 2829 lf.this.disown() │ │ │ -0005ed90: 0a20 2020 2020 2020 205f 666c 746b 2e64 . _fltk.d │ │ │ -0005eda0: 6973 6f77 6e5f 466c 5f52 6f75 6e64 5f42 isown_Fl_Round_B │ │ │ -0005edb0: 7574 746f 6e28 7365 6c66 290a 2020 2020 utton(self). │ │ │ -0005edc0: 2020 2020 7265 7475 726e 2077 6561 6b72 return weakr │ │ │ -0005edd0: 6566 2e70 726f 7879 2873 656c 6629 0a0a ef.proxy(self).. │ │ │ -0005ede0: 2020 2020 6465 6620 6472 6177 2873 656c def draw(sel │ │ │ -0005edf0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -0005ee00: 2020 2072 2222 2264 7261 7728 466c 5f52 r"""draw(Fl_R │ │ │ -0005ee10: 6f75 6e64 5f42 7574 746f 6e20 7365 6c66 ound_Button self │ │ │ -0005ee20: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ -0005ee30: 7572 6e20 5f66 6c74 6b2e 466c 5f52 6f75 urn _fltk.Fl_Rou │ │ │ -0005ee40: 6e64 5f42 7574 746f 6e5f 6472 6177 2873 nd_Button_draw(s │ │ │ -0005ee50: 656c 662c 202a 6172 6773 290a 0a23 2052 elf, *args)..# R │ │ │ -0005ee60: 6567 6973 7465 7220 466c 5f52 6f75 6e64 egister Fl_Round │ │ │ -0005ee70: 5f42 7574 746f 6e20 696e 205f 666c 746b _Button in _fltk │ │ │ -0005ee80: 3a0a 5f66 6c74 6b2e 466c 5f52 6f75 6e64 :._fltk.Fl_Round │ │ │ -0005ee90: 5f42 7574 746f 6e5f 7377 6967 7265 6769 _Button_swigregi │ │ │ -0005eea0: 7374 6572 2846 6c5f 526f 756e 645f 4275 ster(Fl_Round_Bu │ │ │ -0005eeb0: 7474 6f6e 290a 636c 6173 7320 466c 5f52 tton).class Fl_R │ │ │ -0005eec0: 6164 696f 5f52 6f75 6e64 5f42 7574 746f adio_Round_Butto │ │ │ -0005eed0: 6e28 466c 5f52 6f75 6e64 5f42 7574 746f n(Fl_Round_Butto │ │ │ -0005eee0: 6e29 3a0a 2020 2020 7222 2222 5072 6f78 n):. r"""Prox │ │ │ -0005eef0: 7920 6f66 2043 2b2b 2046 6c5f 5261 6469 y of C++ Fl_Radi │ │ │ -0005ef00: 6f5f 526f 756e 645f 4275 7474 6f6e 2063 o_Round_Button c │ │ │ -0005ef10: 6c61 7373 2e22 2222 0a0a 2020 2020 7468 lass.""".. th │ │ │ -0005ef20: 6973 6f77 6e20 3d20 7072 6f70 6572 7479 isown = property │ │ │ -0005ef30: 286c 616d 6264 6120 783a 2078 2e74 6869 (lambda x: x.thi │ │ │ -0005ef40: 732e 6f77 6e28 292c 206c 616d 6264 6120 s.own(), lambda │ │ │ -0005ef50: 782c 2076 3a20 782e 7468 6973 2e6f 776e x, v: x.this.own │ │ │ -0005ef60: 2876 292c 2064 6f63 3d22 5468 6520 6d65 (v), doc="The me │ │ │ -0005ef70: 6d62 6572 7368 6970 2066 6c61 6722 290a mbership flag"). │ │ │ -0005ef80: 2020 2020 5f5f 7265 7072 5f5f 203d 205f __repr__ = _ │ │ │ -0005ef90: 7377 6967 5f72 6570 720a 0a20 2020 2064 swig_repr.. d │ │ │ -0005efa0: 6566 205f 5f69 6e69 745f 5f28 7365 6c66 ef __init__(self │ │ │ -0005efb0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -0005efc0: 2020 7222 2222 5f5f 696e 6974 5f5f 2846 r"""__init__(F │ │ │ -0005efd0: 6c5f 5261 6469 6f5f 526f 756e 645f 4275 l_Radio_Round_Bu │ │ │ -0005efe0: 7474 6f6e 2073 656c 662c 2069 6e74 2058 tton self, int X │ │ │ -0005eff0: 2c20 696e 7420 592c 2069 6e74 2057 2c20 , int Y, int W, │ │ │ -0005f000: 696e 7420 482c 2063 6861 7220 636f 6e73 int H, char cons │ │ │ -0005f010: 7420 2a20 4c3d 4e6f 6e65 2920 2d3e 2046 t * L=None) -> F │ │ │ -0005f020: 6c5f 5261 6469 6f5f 526f 756e 645f 4275 l_Radio_Round_Bu │ │ │ -0005f030: 7474 6f6e 2222 220a 2020 2020 2020 2020 tton""". │ │ │ -0005f040: 6966 2073 656c 662e 5f5f 636c 6173 735f if self.__class_ │ │ │ -0005f050: 5f20 3d3d 2046 6c5f 5261 6469 6f5f 526f _ == Fl_Radio_Ro │ │ │ -0005f060: 756e 645f 4275 7474 6f6e 3a0a 2020 2020 und_Button:. │ │ │ -0005f070: 2020 2020 2020 2020 5f73 656c 6620 3d20 _self = │ │ │ -0005f080: 4e6f 6e65 0a20 2020 2020 2020 2065 6c73 None. els │ │ │ -0005f090: 653a 0a20 2020 2020 2020 2020 2020 205f e:. _ │ │ │ -0005f0a0: 7365 6c66 203d 2073 656c 660a 2020 2020 self = self. │ │ │ -0005f0b0: 2020 2020 5f66 6c74 6b2e 466c 5f52 6164 _fltk.Fl_Rad │ │ │ -0005f0c0: 696f 5f52 6f75 6e64 5f42 7574 746f 6e5f io_Round_Button_ │ │ │ -0005f0d0: 7377 6967 696e 6974 2873 656c 662c 205f swiginit(self, _ │ │ │ -0005f0e0: 666c 746b 2e6e 6577 5f46 6c5f 5261 6469 fltk.new_Fl_Radi │ │ │ -0005f0f0: 6f5f 526f 756e 645f 4275 7474 6f6e 285f o_Round_Button(_ │ │ │ -0005f100: 7365 6c66 2c20 2a61 7267 7329 290a 0a20 self, *args)).. │ │ │ -0005f110: 2020 2020 2020 2069 6620 6c65 6e28 6172 if len(ar │ │ │ -0005f120: 6773 2920 3d3d 2035 3a20 2020 2020 2020 gs) == 5: │ │ │ -0005f130: 2020 200a 2020 2020 2020 2020 2372 6574 . #ret │ │ │ -0005f140: 6169 6e20 7265 6665 7265 6e63 6520 746f ain reference to │ │ │ -0005f150: 206c 6162 656c 0a20 2020 2020 2020 2020 label. │ │ │ -0005f160: 2020 2073 656c 662e 6d79 5f6c 6162 656c self.my_label │ │ │ -0005f170: 203d 2061 7267 735b 2d31 5d0a 2020 2020 = args[-1]. │ │ │ -0005f180: 2020 2020 6966 2073 656c 662e 7061 7265 if self.pare │ │ │ -0005f190: 6e74 2829 2021 3d20 4e6f 6e65 3a20 2020 nt() != None: │ │ │ -0005f1a0: 0a20 2020 2020 2020 2023 6465 6c65 6761 . #delega │ │ │ -0005f1b0: 7465 206f 776e 6572 7368 6970 2074 6f20 te ownership to │ │ │ -0005f1c0: 432b 2b0a 2020 2020 2020 2020 2020 2020 C++. │ │ │ -0005f1d0: 7365 6c66 2e74 6869 732e 6469 736f 776e self.this.disown │ │ │ -0005f1e0: 2829 0a20 2020 2020 2020 2073 656c 662e (). self. │ │ │ -0005f1f0: 696e 6974 5f74 7970 6528 2246 6c5f 5261 init_type("Fl_Ra │ │ │ -0005f200: 6469 6f5f 526f 756e 645f 4275 7474 6f6e dio_Round_Button │ │ │ -0005f210: 2229 0a20 2020 2020 2020 2023 7072 696e "). #prin │ │ │ -0005f220: 7428 2241 6464 696e 6720 7479 7065 3a20 t("Adding type: │ │ │ -0005f230: 222c 2046 6c5f 5261 6469 6f5f 526f 756e ", Fl_Radio_Roun │ │ │ -0005f240: 645f 4275 7474 6f6e 290a 0a0a 0a0a 2020 d_Button)..... │ │ │ -0005f250: 2020 6465 6620 696e 6974 5f74 7970 6528 def init_type( │ │ │ -0005f260: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -0005f270: 2020 2020 2020 7222 2222 696e 6974 5f74 r"""init_t │ │ │ -0005f280: 7970 6528 466c 5f52 6164 696f 5f52 6f75 ype(Fl_Radio_Rou │ │ │ -0005f290: 6e64 5f42 7574 746f 6e20 7365 6c66 2c20 nd_Button self, │ │ │ -0005f2a0: 6368 6172 202a 2046 6c5f 5261 6469 6f5f char * Fl_Radio_ │ │ │ -0005f2b0: 526f 756e 645f 4275 7474 6f6e 2922 2222 Round_Button)""" │ │ │ -0005f2c0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -0005f2d0: 5f66 6c74 6b2e 466c 5f52 6164 696f 5f52 _fltk.Fl_Radio_R │ │ │ -0005f2e0: 6f75 6e64 5f42 7574 746f 6e5f 696e 6974 ound_Button_init │ │ │ -0005f2f0: 5f74 7970 6528 7365 6c66 2c20 2a61 7267 _type(self, *arg │ │ │ -0005f300: 7329 0a20 2020 205f 5f73 7769 675f 6465 s). __swig_de │ │ │ -0005f310: 7374 726f 795f 5f20 3d20 5f66 6c74 6b2e stroy__ = _fltk. │ │ │ -0005f320: 6465 6c65 7465 5f46 6c5f 5261 6469 6f5f delete_Fl_Radio_ │ │ │ -0005f330: 526f 756e 645f 4275 7474 6f6e 0a20 2020 Round_Button. │ │ │ -0005f340: 2064 6566 205f 5f64 6973 6f77 6e5f 5f28 def __disown__( │ │ │ -0005f350: 7365 6c66 293a 0a20 2020 2020 2020 2073 self):. s │ │ │ -0005f360: 656c 662e 7468 6973 2e64 6973 6f77 6e28 elf.this.disown( │ │ │ -0005f370: 290a 2020 2020 2020 2020 5f66 6c74 6b2e ). _fltk. │ │ │ -0005f380: 6469 736f 776e 5f46 6c5f 5261 6469 6f5f disown_Fl_Radio_ │ │ │ -0005f390: 526f 756e 645f 4275 7474 6f6e 2873 656c Round_Button(sel │ │ │ -0005f3a0: 6629 0a20 2020 2020 2020 2072 6574 7572 f). retur │ │ │ -0005f3b0: 6e20 7765 616b 7265 662e 7072 6f78 7928 n weakref.proxy( │ │ │ -0005f3c0: 7365 6c66 290a 0a20 2020 2064 6566 2064 self).. def d │ │ │ -0005f3d0: 7261 7728 7365 6c66 2c20 2a61 7267 7329 raw(self, *args) │ │ │ -0005f3e0: 3a0a 2020 2020 2020 2020 7222 2222 6472 :. r"""dr │ │ │ -0005f3f0: 6177 2846 6c5f 5261 6469 6f5f 526f 756e aw(Fl_Radio_Roun │ │ │ -0005f400: 645f 4275 7474 6f6e 2073 656c 6629 2222 d_Button self)"" │ │ │ -0005f410: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -0005f420: 205f 666c 746b 2e46 6c5f 5261 6469 6f5f _fltk.Fl_Radio_ │ │ │ -0005f430: 526f 756e 645f 4275 7474 6f6e 5f64 7261 Round_Button_dra │ │ │ -0005f440: 7728 7365 6c66 2c20 2a61 7267 7329 0a0a w(self, *args).. │ │ │ -0005f450: 2320 5265 6769 7374 6572 2046 6c5f 5261 # Register Fl_Ra │ │ │ -0005f460: 6469 6f5f 526f 756e 645f 4275 7474 6f6e dio_Round_Button │ │ │ -0005f470: 2069 6e20 5f66 6c74 6b3a 0a5f 666c 746b in _fltk:._fltk │ │ │ -0005f480: 2e46 6c5f 5261 6469 6f5f 526f 756e 645f .Fl_Radio_Round_ │ │ │ -0005f490: 4275 7474 6f6e 5f73 7769 6772 6567 6973 Button_swigregis │ │ │ -0005f4a0: 7465 7228 466c 5f52 6164 696f 5f52 6f75 ter(Fl_Radio_Rou │ │ │ -0005f4b0: 6e64 5f42 7574 746f 6e29 0a63 6c61 7373 nd_Button).class │ │ │ -0005f4c0: 2046 6c5f 5265 7065 6174 5f42 7574 746f Fl_Repeat_Butto │ │ │ -0005f4d0: 6e28 466c 5f42 7574 746f 6e29 3a0a 2020 n(Fl_Button):. │ │ │ -0005f4e0: 2020 7222 2222 0a0a 2020 2020 5468 6520 r""".. The │ │ │ -0005f4f0: 466c 5f52 6570 6561 745f 4275 7474 6f6e Fl_Repeat_Button │ │ │ -0005f500: 2069 7320 6120 7375 6263 6c61 7373 206f is a subclass o │ │ │ -0005f510: 6620 466c 5f42 7574 746f 6e20 7468 6174 f Fl_Button that │ │ │ -0005f520: 2067 656e 6572 6174 6573 2061 2063 616c generates a cal │ │ │ -0005f530: 6c62 6163 6b20 0a20 2020 2077 6865 6e20 lback . when │ │ │ -0005f540: 6974 2069 7320 7072 6573 7365 6420 616e it is pressed an │ │ │ -0005f550: 6420 7468 656e 2072 6570 6561 7465 646c d then repeatedl │ │ │ -0005f560: 7920 6765 6e65 7261 7465 7320 6361 6c6c y generates call │ │ │ -0005f570: 6261 636b 7320 6173 206c 6f6e 6720 6173 backs as long as │ │ │ -0005f580: 2069 7420 0a20 2020 2069 7320 6865 6c64 it . is held │ │ │ -0005f590: 2064 6f77 6e2e 2054 6865 2073 7065 6564 down. The speed │ │ │ -0005f5a0: 206f 6620 7468 6520 7265 7065 6174 2069 of the repeat i │ │ │ -0005f5b0: 7320 6669 7865 6420 616e 6420 6465 7065 s fixed and depe │ │ │ -0005f5c0: 6e64 7320 6f6e 2074 6865 200a 2020 2020 nds on the . │ │ │ -0005f5d0: 696d 706c 656d 656e 7461 7469 6f6e 2e0a implementation.. │ │ │ -0005f5e0: 0a20 2020 2022 2222 0a0a 2020 2020 7468 . """.. th │ │ │ -0005f5f0: 6973 6f77 6e20 3d20 7072 6f70 6572 7479 isown = property │ │ │ -0005f600: 286c 616d 6264 6120 783a 2078 2e74 6869 (lambda x: x.thi │ │ │ -0005f610: 732e 6f77 6e28 292c 206c 616d 6264 6120 s.own(), lambda │ │ │ -0005f620: 782c 2076 3a20 782e 7468 6973 2e6f 776e x, v: x.this.own │ │ │ -0005f630: 2876 292c 2064 6f63 3d22 5468 6520 6d65 (v), doc="The me │ │ │ -0005f640: 6d62 6572 7368 6970 2066 6c61 6722 290a mbership flag"). │ │ │ -0005f650: 2020 2020 5f5f 7265 7072 5f5f 203d 205f __repr__ = _ │ │ │ -0005f660: 7377 6967 5f72 6570 720a 0a20 2020 2064 swig_repr.. d │ │ │ -0005f670: 6566 2068 616e 646c 6528 7365 6c66 2c20 ef handle(self, │ │ │ -0005f680: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -0005f690: 7222 2222 6861 6e64 6c65 2846 6c5f 5265 r"""handle(Fl_Re │ │ │ -0005f6a0: 7065 6174 5f42 7574 746f 6e20 7365 6c66 peat_Button self │ │ │ -0005f6b0: 2c20 696e 7420 6172 6730 2920 2d3e 2069 , int arg0) -> i │ │ │ -0005f6c0: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ -0005f6d0: 7475 726e 205f 666c 746b 2e46 6c5f 5265 turn _fltk.Fl_Re │ │ │ -0005f6e0: 7065 6174 5f42 7574 746f 6e5f 6861 6e64 peat_Button_hand │ │ │ -0005f6f0: 6c65 2873 656c 662c 202a 6172 6773 290a le(self, *args). │ │ │ -0005f700: 0a20 2020 2064 6566 205f 5f69 6e69 745f . def __init_ │ │ │ -0005f710: 5f28 7365 6c66 2c20 2a61 7267 7329 3a0a _(self, *args):. │ │ │ -0005f720: 2020 2020 2020 2020 7222 2222 5f5f 696e r"""__in │ │ │ -0005f730: 6974 5f5f 2846 6c5f 5265 7065 6174 5f42 it__(Fl_Repeat_B │ │ │ -0005f740: 7574 746f 6e20 7365 6c66 2c20 696e 7420 utton self, int │ │ │ -0005f750: 582c 2069 6e74 2059 2c20 696e 7420 572c X, int Y, int W, │ │ │ -0005f760: 2069 6e74 2048 2c20 6368 6172 2063 6f6e int H, char con │ │ │ -0005f770: 7374 202a 206c 3d4e 6f6e 6529 202d 3e20 st * l=None) -> │ │ │ -0005f780: 466c 5f52 6570 6561 745f 4275 7474 6f6e Fl_Repeat_Button │ │ │ -0005f790: 2222 220a 2020 2020 2020 2020 6966 2073 """. if s │ │ │ -0005f7a0: 656c 662e 5f5f 636c 6173 735f 5f20 3d3d elf.__class__ == │ │ │ -0005f7b0: 2046 6c5f 5265 7065 6174 5f42 7574 746f Fl_Repeat_Butto │ │ │ -0005f7c0: 6e3a 0a20 2020 2020 2020 2020 2020 205f n:. _ │ │ │ -0005f7d0: 7365 6c66 203d 204e 6f6e 650a 2020 2020 self = None. │ │ │ -0005f7e0: 2020 2020 656c 7365 3a0a 2020 2020 2020 else:. │ │ │ -0005f7f0: 2020 2020 2020 5f73 656c 6620 3d20 7365 _self = se │ │ │ -0005f800: 6c66 0a20 2020 2020 2020 205f 666c 746b lf. _fltk │ │ │ -0005f810: 2e46 6c5f 5265 7065 6174 5f42 7574 746f .Fl_Repeat_Butto │ │ │ -0005f820: 6e5f 7377 6967 696e 6974 2873 656c 662c n_swiginit(self, │ │ │ -0005f830: 205f 666c 746b 2e6e 6577 5f46 6c5f 5265 _fltk.new_Fl_Re │ │ │ -0005f840: 7065 6174 5f42 7574 746f 6e28 5f73 656c peat_Button(_sel │ │ │ -0005f850: 662c 202a 6172 6773 2929 0a0a 2020 2020 f, *args)).. │ │ │ -0005f860: 2020 2020 6966 206c 656e 2861 7267 7329 if len(args) │ │ │ -0005f870: 203d 3d20 353a 2020 2020 2020 2020 2020 == 5: │ │ │ -0005f880: 0a20 2020 2020 2020 2023 7265 7461 696e . #retain │ │ │ -0005f890: 2072 6566 6572 656e 6365 2074 6f20 6c61 reference to la │ │ │ -0005f8a0: 6265 6c0a 2020 2020 2020 2020 2020 2020 bel. │ │ │ -0005f8b0: 7365 6c66 2e6d 795f 6c61 6265 6c20 3d20 self.my_label = │ │ │ -0005f8c0: 6172 6773 5b2d 315d 0a20 2020 2020 2020 args[-1]. │ │ │ -0005f8d0: 2069 6620 7365 6c66 2e70 6172 656e 7428 if self.parent( │ │ │ -0005f8e0: 2920 213d 204e 6f6e 653a 2020 200a 2020 ) != None: . │ │ │ -0005f8f0: 2020 2020 2020 2364 656c 6567 6174 6520 #delegate │ │ │ -0005f900: 6f77 6e65 7273 6869 7020 746f 2043 2b2b ownership to C++ │ │ │ -0005f910: 0a20 2020 2020 2020 2020 2020 2073 656c . sel │ │ │ -0005f920: 662e 7468 6973 2e64 6973 6f77 6e28 290a f.this.disown(). │ │ │ -0005f930: 2020 2020 2020 2020 7365 6c66 2e69 6e69 self.ini │ │ │ -0005f940: 745f 7479 7065 2822 466c 5f52 6570 6561 t_type("Fl_Repea │ │ │ -0005f950: 745f 4275 7474 6f6e 2229 0a20 2020 2020 t_Button"). │ │ │ -0005f960: 2020 2023 7072 696e 7428 2241 6464 696e #print("Addin │ │ │ -0005f970: 6720 7479 7065 3a20 222c 2046 6c5f 5265 g type: ", Fl_Re │ │ │ -0005f980: 7065 6174 5f42 7574 746f 6e29 0a0a 0a0a peat_Button).... │ │ │ -0005f990: 0a20 2020 2064 6566 2064 6561 6374 6976 . def deactiv │ │ │ -0005f9a0: 6174 6528 7365 6c66 2c20 2a61 7267 7329 ate(self, *args) │ │ │ -0005f9b0: 3a0a 2020 2020 2020 2020 7222 2222 6465 :. r"""de │ │ │ -0005f9c0: 6163 7469 7661 7465 2846 6c5f 5265 7065 activate(Fl_Repe │ │ │ -0005f9d0: 6174 5f42 7574 746f 6e20 7365 6c66 2922 at_Button self)" │ │ │ -0005f9e0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -0005f9f0: 6e20 5f66 6c74 6b2e 466c 5f52 6570 6561 n _fltk.Fl_Repea │ │ │ -0005fa00: 745f 4275 7474 6f6e 5f64 6561 6374 6976 t_Button_deactiv │ │ │ -0005fa10: 6174 6528 7365 6c66 2c20 2a61 7267 7329 ate(self, *args) │ │ │ -0005fa20: 0a0a 2020 2020 6465 6620 696e 6974 5f74 .. def init_t │ │ │ -0005fa30: 7970 6528 7365 6c66 2c20 2a61 7267 7329 ype(self, *args) │ │ │ -0005fa40: 3a0a 2020 2020 2020 2020 7222 2222 696e :. r"""in │ │ │ -0005fa50: 6974 5f74 7970 6528 466c 5f52 6570 6561 it_type(Fl_Repea │ │ │ -0005fa60: 745f 4275 7474 6f6e 2073 656c 662c 2063 t_Button self, c │ │ │ -0005fa70: 6861 7220 2a20 466c 5f52 6570 6561 745f har * Fl_Repeat_ │ │ │ -0005fa80: 4275 7474 6f6e 2922 2222 0a20 2020 2020 Button)""". │ │ │ -0005fa90: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -0005faa0: 466c 5f52 6570 6561 745f 4275 7474 6f6e Fl_Repeat_Button │ │ │ -0005fab0: 5f69 6e69 745f 7479 7065 2873 656c 662c _init_type(self, │ │ │ -0005fac0: 202a 6172 6773 290a 2020 2020 5f5f 7377 *args). __sw │ │ │ -0005fad0: 6967 5f64 6573 7472 6f79 5f5f 203d 205f ig_destroy__ = _ │ │ │ -0005fae0: 666c 746b 2e64 656c 6574 655f 466c 5f52 fltk.delete_Fl_R │ │ │ -0005faf0: 6570 6561 745f 4275 7474 6f6e 0a20 2020 epeat_Button. │ │ │ -0005fb00: 2064 6566 205f 5f64 6973 6f77 6e5f 5f28 def __disown__( │ │ │ -0005fb10: 7365 6c66 293a 0a20 2020 2020 2020 2073 self):. s │ │ │ -0005fb20: 656c 662e 7468 6973 2e64 6973 6f77 6e28 elf.this.disown( │ │ │ -0005fb30: 290a 2020 2020 2020 2020 5f66 6c74 6b2e ). _fltk. │ │ │ -0005fb40: 6469 736f 776e 5f46 6c5f 5265 7065 6174 disown_Fl_Repeat │ │ │ -0005fb50: 5f42 7574 746f 6e28 7365 6c66 290a 2020 _Button(self). │ │ │ -0005fb60: 2020 2020 2020 7265 7475 726e 2077 6561 return wea │ │ │ -0005fb70: 6b72 6566 2e70 726f 7879 2873 656c 6629 kref.proxy(self) │ │ │ -0005fb80: 0a0a 2020 2020 6465 6620 6472 6177 2873 .. def draw(s │ │ │ -0005fb90: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -0005fba0: 2020 2020 2072 2222 2264 7261 7728 466c r"""draw(Fl │ │ │ -0005fbb0: 5f52 6570 6561 745f 4275 7474 6f6e 2073 _Repeat_Button s │ │ │ -0005fbc0: 656c 6629 2222 220a 2020 2020 2020 2020 elf)""". │ │ │ -0005fbd0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -0005fbe0: 5265 7065 6174 5f42 7574 746f 6e5f 6472 Repeat_Button_dr │ │ │ -0005fbf0: 6177 2873 656c 662c 202a 6172 6773 290a aw(self, *args). │ │ │ -0005fc00: 0a23 2052 6567 6973 7465 7220 466c 5f52 .# Register Fl_R │ │ │ -0005fc10: 6570 6561 745f 4275 7474 6f6e 2069 6e20 epeat_Button in │ │ │ -0005fc20: 5f66 6c74 6b3a 0a5f 666c 746b 2e46 6c5f _fltk:._fltk.Fl_ │ │ │ -0005fc30: 5265 7065 6174 5f42 7574 746f 6e5f 7377 Repeat_Button_sw │ │ │ -0005fc40: 6967 7265 6769 7374 6572 2846 6c5f 5265 igregister(Fl_Re │ │ │ -0005fc50: 7065 6174 5f42 7574 746f 6e29 0a63 6c61 peat_Button).cla │ │ │ -0005fc60: 7373 2046 6c5f 5265 7475 726e 5f42 7574 ss Fl_Return_But │ │ │ -0005fc70: 746f 6e28 466c 5f42 7574 746f 6e29 3a0a ton(Fl_Button):. │ │ │ -0005fc80: 2020 2020 7222 2222 0a0a 2020 2020 5468 r""".. Th │ │ │ -0005fc90: 6520 466c 5f52 6574 7572 6e5f 4275 7474 e Fl_Return_Butt │ │ │ -0005fca0: 6f6e 2069 7320 6120 7375 6263 6c61 7373 on is a subclass │ │ │ -0005fcb0: 206f 6620 466c 5f42 7574 746f 6e20 7468 of Fl_Button th │ │ │ -0005fcc0: 6174 2067 656e 6572 6174 6573 2061 2063 at generates a c │ │ │ -0005fcd0: 616c 6c62 6163 6b20 0a20 2020 2077 6865 allback . whe │ │ │ -0005fce0: 6e20 6974 2069 7320 7072 6573 7365 6420 n it is pressed │ │ │ -0005fcf0: 6f72 2077 6865 6e20 7468 6520 7573 6572 or when the user │ │ │ -0005fd00: 2070 7265 7373 6573 2074 6865 2045 6e74 presses the Ent │ │ │ -0005fd10: 6572 206b 6579 2e20 4120 6361 7272 6961 er key. A carria │ │ │ -0005fd20: 6765 2d72 6574 7572 6e20 0a20 2020 2073 ge-return . s │ │ │ -0005fd30: 796d 626f 6c20 6973 2064 7261 776e 206e ymbol is drawn n │ │ │ -0005fd40: 6578 7420 746f 2074 6865 2062 7574 746f ext to the butto │ │ │ -0005fd50: 6e20 6c61 6265 6c2e 0a0a 2020 2020 2222 n label... "" │ │ │ -0005fd60: 220a 0a20 2020 2074 6869 736f 776e 203d ".. thisown = │ │ │ -0005fd70: 2070 726f 7065 7274 7928 6c61 6d62 6461 property(lambda │ │ │ -0005fd80: 2078 3a20 782e 7468 6973 2e6f 776e 2829 x: x.this.own() │ │ │ -0005fd90: 2c20 6c61 6d62 6461 2078 2c20 763a 2078 , lambda x, v: x │ │ │ -0005fda0: 2e74 6869 732e 6f77 6e28 7629 2c20 646f .this.own(v), do │ │ │ -0005fdb0: 633d 2254 6865 206d 656d 6265 7273 6869 c="The membershi │ │ │ -0005fdc0: 7020 666c 6167 2229 0a20 2020 205f 5f72 p flag"). __r │ │ │ -0005fdd0: 6570 725f 5f20 3d20 5f73 7769 675f 7265 epr__ = _swig_re │ │ │ -0005fde0: 7072 0a0a 2020 2020 6465 6620 6472 6177 pr.. def draw │ │ │ -0005fdf0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -0005fe00: 2020 2020 2020 2072 2222 2264 7261 7728 r"""draw( │ │ │ -0005fe10: 466c 5f52 6574 7572 6e5f 4275 7474 6f6e Fl_Return_Button │ │ │ -0005fe20: 2073 656c 6629 2222 220a 2020 2020 2020 self)""". │ │ │ -0005fe30: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -0005fe40: 6c5f 5265 7475 726e 5f42 7574 746f 6e5f l_Return_Button_ │ │ │ -0005fe50: 6472 6177 2873 656c 662c 202a 6172 6773 draw(self, *args │ │ │ -0005fe60: 290a 0a20 2020 2064 6566 2068 616e 646c ).. def handl │ │ │ -0005fe70: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ -0005fe80: 2020 2020 2020 2020 7222 2222 6861 6e64 r"""hand │ │ │ -0005fe90: 6c65 2846 6c5f 5265 7475 726e 5f42 7574 le(Fl_Return_But │ │ │ -0005fea0: 746f 6e20 7365 6c66 2c20 696e 7420 6172 ton self, int ar │ │ │ -0005feb0: 6730 2920 2d3e 2069 6e74 2222 220a 2020 g0) -> int""". │ │ │ -0005fec0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -0005fed0: 746b 2e46 6c5f 5265 7475 726e 5f42 7574 tk.Fl_Return_But │ │ │ -0005fee0: 746f 6e5f 6861 6e64 6c65 2873 656c 662c ton_handle(self, │ │ │ -0005fef0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -0005ff00: 205f 5f69 6e69 745f 5f28 7365 6c66 2c20 __init__(self, │ │ │ -0005ff10: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -0005ff20: 7222 2222 5f5f 696e 6974 5f5f 2846 6c5f r"""__init__(Fl_ │ │ │ -0005ff30: 5265 7475 726e 5f42 7574 746f 6e20 7365 Return_Button se │ │ │ -0005ff40: 6c66 2c20 696e 7420 582c 2069 6e74 2059 lf, int X, int Y │ │ │ -0005ff50: 2c20 696e 7420 572c 2069 6e74 2048 2c20 , int W, int H, │ │ │ -0005ff60: 6368 6172 2063 6f6e 7374 202a 206c 3d4e char const * l=N │ │ │ -0005ff70: 6f6e 6529 202d 3e20 466c 5f52 6574 7572 one) -> Fl_Retur │ │ │ -0005ff80: 6e5f 4275 7474 6f6e 2222 220a 2020 2020 n_Button""". │ │ │ -0005ff90: 2020 2020 6966 2073 656c 662e 5f5f 636c if self.__cl │ │ │ -0005ffa0: 6173 735f 5f20 3d3d 2046 6c5f 5265 7475 ass__ == Fl_Retu │ │ │ -0005ffb0: 726e 5f42 7574 746f 6e3a 0a20 2020 2020 rn_Button:. │ │ │ -0005ffc0: 2020 2020 2020 205f 7365 6c66 203d 204e _self = N │ │ │ -0005ffd0: 6f6e 650a 2020 2020 2020 2020 656c 7365 one. else │ │ │ -0005ffe0: 3a0a 2020 2020 2020 2020 2020 2020 5f73 :. _s │ │ │ -0005fff0: 656c 6620 3d20 7365 6c66 0a20 2020 2020 elf = self. │ │ │ -00060000: 2020 205f 666c 746b 2e46 6c5f 5265 7475 _fltk.Fl_Retu │ │ │ -00060010: 726e 5f42 7574 746f 6e5f 7377 6967 696e rn_Button_swigin │ │ │ -00060020: 6974 2873 656c 662c 205f 666c 746b 2e6e it(self, _fltk.n │ │ │ -00060030: 6577 5f46 6c5f 5265 7475 726e 5f42 7574 ew_Fl_Return_But │ │ │ -00060040: 746f 6e28 5f73 656c 662c 202a 6172 6773 ton(_self, *args │ │ │ -00060050: 2929 0a0a 2020 2020 2020 2020 6966 206c )).. if l │ │ │ -00060060: 656e 2861 7267 7329 203d 3d20 353a 2020 en(args) == 5: │ │ │ -00060070: 2020 2020 2020 2020 0a20 2020 2020 2020 . │ │ │ -00060080: 2023 7265 7461 696e 2072 6566 6572 656e #retain referen │ │ │ -00060090: 6365 2074 6f20 6c61 6265 6c0a 2020 2020 ce to label. │ │ │ -000600a0: 2020 2020 2020 2020 7365 6c66 2e6d 795f self.my_ │ │ │ -000600b0: 6c61 6265 6c20 3d20 6172 6773 5b2d 315d label = args[-1] │ │ │ -000600c0: 0a20 2020 2020 2020 2069 6620 7365 6c66 . if self │ │ │ -000600d0: 2e70 6172 656e 7428 2920 213d 204e 6f6e .parent() != Non │ │ │ -000600e0: 653a 2020 200a 2020 2020 2020 2020 2364 e: . #d │ │ │ -000600f0: 656c 6567 6174 6520 6f77 6e65 7273 6869 elegate ownershi │ │ │ -00060100: 7020 746f 2043 2b2b 0a20 2020 2020 2020 p to C++. │ │ │ -00060110: 2020 2020 2073 656c 662e 7468 6973 2e64 self.this.d │ │ │ -00060120: 6973 6f77 6e28 290a 2020 2020 2020 2020 isown(). │ │ │ -00060130: 7365 6c66 2e69 6e69 745f 7479 7065 2822 self.init_type(" │ │ │ -00060140: 466c 5f52 6574 7572 6e5f 4275 7474 6f6e Fl_Return_Button │ │ │ -00060150: 2229 0a20 2020 2020 2020 2023 7072 696e "). #prin │ │ │ -00060160: 7428 2241 6464 696e 6720 7479 7065 3a20 t("Adding type: │ │ │ -00060170: 222c 2046 6c5f 5265 7475 726e 5f42 7574 ", Fl_Return_But │ │ │ -00060180: 746f 6e29 0a0a 0a0a 0a20 2020 2064 6566 ton)..... def │ │ │ -00060190: 2069 6e69 745f 7479 7065 2873 656c 662c init_type(self, │ │ │ -000601a0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -000601b0: 2072 2222 2269 6e69 745f 7479 7065 2846 r"""init_type(F │ │ │ -000601c0: 6c5f 5265 7475 726e 5f42 7574 746f 6e20 l_Return_Button │ │ │ -000601d0: 7365 6c66 2c20 6368 6172 202a 2046 6c5f self, char * Fl_ │ │ │ -000601e0: 5265 7475 726e 5f42 7574 746f 6e29 2222 Return_Button)"" │ │ │ -000601f0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00060200: 205f 666c 746b 2e46 6c5f 5265 7475 726e _fltk.Fl_Return │ │ │ -00060210: 5f42 7574 746f 6e5f 696e 6974 5f74 7970 _Button_init_typ │ │ │ -00060220: 6528 7365 6c66 2c20 2a61 7267 7329 0a20 e(self, *args). │ │ │ -00060230: 2020 205f 5f73 7769 675f 6465 7374 726f __swig_destro │ │ │ -00060240: 795f 5f20 3d20 5f66 6c74 6b2e 6465 6c65 y__ = _fltk.dele │ │ │ -00060250: 7465 5f46 6c5f 5265 7475 726e 5f42 7574 te_Fl_Return_But │ │ │ -00060260: 746f 6e0a 2020 2020 6465 6620 5f5f 6469 ton. def __di │ │ │ -00060270: 736f 776e 5f5f 2873 656c 6629 3a0a 2020 sown__(self):. │ │ │ -00060280: 2020 2020 2020 7365 6c66 2e74 6869 732e self.this. │ │ │ -00060290: 6469 736f 776e 2829 0a20 2020 2020 2020 disown(). │ │ │ -000602a0: 205f 666c 746b 2e64 6973 6f77 6e5f 466c _fltk.disown_Fl │ │ │ -000602b0: 5f52 6574 7572 6e5f 4275 7474 6f6e 2873 _Return_Button(s │ │ │ -000602c0: 656c 6629 0a20 2020 2020 2020 2072 6574 elf). ret │ │ │ -000602d0: 7572 6e20 7765 616b 7265 662e 7072 6f78 urn weakref.prox │ │ │ -000602e0: 7928 7365 6c66 290a 0a23 2052 6567 6973 y(self)..# Regis │ │ │ -000602f0: 7465 7220 466c 5f52 6574 7572 6e5f 4275 ter Fl_Return_Bu │ │ │ -00060300: 7474 6f6e 2069 6e20 5f66 6c74 6b3a 0a5f tton in _fltk:._ │ │ │ -00060310: 666c 746b 2e46 6c5f 5265 7475 726e 5f42 fltk.Fl_Return_B │ │ │ -00060320: 7574 746f 6e5f 7377 6967 7265 6769 7374 utton_swigregist │ │ │ -00060330: 6572 2846 6c5f 5265 7475 726e 5f42 7574 er(Fl_Return_But │ │ │ -00060340: 746f 6e29 0a63 6c61 7373 2046 6c5f 5265 ton).class Fl_Re │ │ │ -00060350: 6374 286f 626a 6563 7429 3a0a 2020 2020 ct(object):. │ │ │ -00060360: 7222 2222 0a0a 0a0a 2020 2020 2222 220a r""".... """. │ │ │ -00060370: 0a20 2020 2074 6869 736f 776e 203d 2070 . thisown = p │ │ │ -00060380: 726f 7065 7274 7928 6c61 6d62 6461 2078 roperty(lambda x │ │ │ -00060390: 3a20 782e 7468 6973 2e6f 776e 2829 2c20 : x.this.own(), │ │ │ -000603a0: 6c61 6d62 6461 2078 2c20 763a 2078 2e74 lambda x, v: x.t │ │ │ -000603b0: 6869 732e 6f77 6e28 7629 2c20 646f 633d his.own(v), doc= │ │ │ -000603c0: 2254 6865 206d 656d 6265 7273 6869 7020 "The membership │ │ │ -000603d0: 666c 6167 2229 0a20 2020 205f 5f72 6570 flag"). __rep │ │ │ -000603e0: 725f 5f20 3d20 5f73 7769 675f 7265 7072 r__ = _swig_repr │ │ │ -000603f0: 0a0a 2020 2020 6465 6620 5f5f 696e 6974 .. def __init │ │ │ -00060400: 5f5f 2873 656c 662c 202a 6172 6773 293a __(self, *args): │ │ │ -00060410: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ -00060420: 2020 2020 2020 5f5f 696e 6974 5f5f 2846 __init__(F │ │ │ -00060430: 6c5f 5265 6374 2073 656c 6629 202d 3e20 l_Rect self) -> │ │ │ -00060440: 466c 5f52 6563 740a 2020 2020 2020 2020 Fl_Rect. │ │ │ -00060450: 5f5f 696e 6974 5f5f 2846 6c5f 5265 6374 __init__(Fl_Rect │ │ │ -00060460: 2073 656c 662c 2069 6e74 2057 2c20 696e self, int W, in │ │ │ -00060470: 7420 4829 202d 3e20 466c 5f52 6563 740a t H) -> Fl_Rect. │ │ │ -00060480: 2020 2020 2020 2020 5f5f 696e 6974 5f5f __init__ │ │ │ -00060490: 2846 6c5f 5265 6374 2073 656c 662c 2069 (Fl_Rect self, i │ │ │ -000604a0: 6e74 2058 2c20 696e 7420 592c 2069 6e74 nt X, int Y, int │ │ │ -000604b0: 2057 2c20 696e 7420 4829 202d 3e20 466c W, int H) -> Fl │ │ │ -000604c0: 5f52 6563 740a 2020 2020 2020 2020 5f5f _Rect. __ │ │ │ -000604d0: 696e 6974 5f5f 2846 6c5f 5265 6374 2073 init__(Fl_Rect s │ │ │ -000604e0: 656c 662c 2069 6e74 2058 2c20 696e 7420 elf, int X, int │ │ │ -000604f0: 592c 2069 6e74 2057 2c20 696e 7420 482c Y, int W, int H, │ │ │ -00060500: 2046 6c5f 426f 7874 7970 6520 6274 2920 Fl_Boxtype bt) │ │ │ -00060510: 2d3e 2046 6c5f 5265 6374 0a20 2020 2020 -> Fl_Rect. │ │ │ -00060520: 2020 205f 5f69 6e69 745f 5f28 466c 5f52 __init__(Fl_R │ │ │ -00060530: 6563 7420 7365 6c66 2c20 466c 5f57 6964 ect self, Fl_Wid │ │ │ -00060540: 6765 7420 7769 6467 6574 2920 2d3e 2046 get widget) -> F │ │ │ -00060550: 6c5f 5265 6374 0a20 2020 2020 2020 205f l_Rect. _ │ │ │ -00060560: 5f69 6e69 745f 5f28 466c 5f52 6563 7420 _init__(Fl_Rect │ │ │ -00060570: 7365 6c66 2c20 466c 5f57 6964 6765 7420 self, Fl_Widget │ │ │ -00060580: 7769 6467 6574 2920 2d3e 2046 6c5f 5265 widget) -> Fl_Re │ │ │ -00060590: 6374 0a20 2020 2020 2020 2022 2222 0a20 ct. """. │ │ │ -000605a0: 2020 2020 2020 205f 666c 746b 2e46 6c5f _fltk.Fl_ │ │ │ -000605b0: 5265 6374 5f73 7769 6769 6e69 7428 7365 Rect_swiginit(se │ │ │ -000605c0: 6c66 2c20 5f66 6c74 6b2e 6e65 775f 466c lf, _fltk.new_Fl │ │ │ -000605d0: 5f52 6563 7428 2a61 7267 7329 290a 0a20 _Rect(*args)).. │ │ │ -000605e0: 2020 2064 6566 2078 2873 656c 662c 202a def x(self, * │ │ │ -000605f0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00060600: 2222 220a 2020 2020 2020 2020 7828 466c """. x(Fl │ │ │ -00060610: 5f52 6563 7420 7365 6c66 2920 2d3e 2069 _Rect self) -> i │ │ │ -00060620: 6e74 0a20 2020 2020 2020 2078 2846 6c5f nt. x(Fl_ │ │ │ -00060630: 5265 6374 2073 656c 662c 2069 6e74 2058 Rect self, int X │ │ │ -00060640: 290a 2020 2020 2020 2020 2222 220a 2020 ). """. │ │ │ -00060650: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00060660: 746b 2e46 6c5f 5265 6374 5f78 2873 656c tk.Fl_Rect_x(sel │ │ │ -00060670: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -00060680: 6566 2079 2873 656c 662c 202a 6172 6773 ef y(self, *args │ │ │ -00060690: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ -000606a0: 2020 2020 2020 2020 7928 466c 5f52 6563 y(Fl_Rec │ │ │ -000606b0: 7420 7365 6c66 2920 2d3e 2069 6e74 0a20 t self) -> int. │ │ │ -000606c0: 2020 2020 2020 2079 2846 6c5f 5265 6374 y(Fl_Rect │ │ │ -000606d0: 2073 656c 662c 2069 6e74 2059 290a 2020 self, int Y). │ │ │ -000606e0: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ -000606f0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -00060700: 6c5f 5265 6374 5f79 2873 656c 662c 202a l_Rect_y(self, * │ │ │ -00060710: 6172 6773 290a 0a20 2020 2064 6566 2077 args).. def w │ │ │ -00060720: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -00060730: 2020 2020 2020 2072 2222 220a 2020 2020 r""". │ │ │ -00060740: 2020 2020 7728 466c 5f52 6563 7420 7365 w(Fl_Rect se │ │ │ -00060750: 6c66 2920 2d3e 2069 6e74 0a20 2020 2020 lf) -> int. │ │ │ -00060760: 2020 2077 2846 6c5f 5265 6374 2073 656c w(Fl_Rect sel │ │ │ -00060770: 662c 2069 6e74 2057 290a 2020 2020 2020 f, int W). │ │ │ -00060780: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ -00060790: 7475 726e 205f 666c 746b 2e46 6c5f 5265 turn _fltk.Fl_Re │ │ │ -000607a0: 6374 5f77 2873 656c 662c 202a 6172 6773 ct_w(self, *args │ │ │ -000607b0: 290a 0a20 2020 2064 6566 2068 2873 656c ).. def h(sel │ │ │ -000607c0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -000607d0: 2020 2072 2222 220a 2020 2020 2020 2020 r""". │ │ │ -000607e0: 6828 466c 5f52 6563 7420 7365 6c66 2920 h(Fl_Rect self) │ │ │ -000607f0: 2d3e 2069 6e74 0a20 2020 2020 2020 2068 -> int. h │ │ │ -00060800: 2846 6c5f 5265 6374 2073 656c 662c 2069 (Fl_Rect self, i │ │ │ -00060810: 6e74 2048 290a 2020 2020 2020 2020 2222 nt H). "" │ │ │ -00060820: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00060830: 205f 666c 746b 2e46 6c5f 5265 6374 5f68 _fltk.Fl_Rect_h │ │ │ -00060840: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -00060850: 2020 2064 6566 2072 2873 656c 662c 202a def r(self, * │ │ │ -00060860: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00060870: 2222 220a 2020 2020 2020 2020 7228 466c """. r(Fl │ │ │ -00060880: 5f52 6563 7420 7365 6c66 2920 2d3e 2069 _Rect self) -> i │ │ │ -00060890: 6e74 0a20 2020 2020 2020 2072 2846 6c5f nt. r(Fl_ │ │ │ -000608a0: 5265 6374 2073 656c 662c 2069 6e74 2052 Rect self, int R │ │ │ -000608b0: 290a 2020 2020 2020 2020 2222 220a 2020 ). """. │ │ │ -000608c0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -000608d0: 746b 2e46 6c5f 5265 6374 5f72 2873 656c tk.Fl_Rect_r(sel │ │ │ -000608e0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -000608f0: 6566 2062 2873 656c 662c 202a 6172 6773 ef b(self, *args │ │ │ -00060900: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ -00060910: 2020 2020 2020 2020 6228 466c 5f52 6563 b(Fl_Rec │ │ │ -00060920: 7420 7365 6c66 2920 2d3e 2069 6e74 0a20 t self) -> int. │ │ │ -00060930: 2020 2020 2020 2062 2846 6c5f 5265 6374 b(Fl_Rect │ │ │ -00060940: 2073 656c 662c 2069 6e74 2042 290a 2020 self, int B). │ │ │ -00060950: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ -00060960: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -00060970: 6c5f 5265 6374 5f62 2873 656c 662c 202a l_Rect_b(self, * │ │ │ -00060980: 6172 6773 290a 0a20 2020 2064 6566 2069 args).. def i │ │ │ -00060990: 6e73 6574 2873 656c 662c 202a 6172 6773 nset(self, *args │ │ │ -000609a0: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ -000609b0: 2020 2020 2020 2020 696e 7365 7428 466c inset(Fl │ │ │ -000609c0: 5f52 6563 7420 7365 6c66 2c20 696e 7420 _Rect self, int │ │ │ -000609d0: 6429 0a20 2020 2020 2020 2069 6e73 6574 d). inset │ │ │ -000609e0: 2846 6c5f 5265 6374 2073 656c 662c 2046 (Fl_Rect self, F │ │ │ -000609f0: 6c5f 426f 7874 7970 6520 6274 290a 2020 l_Boxtype bt). │ │ │ -00060a00: 2020 2020 2020 696e 7365 7428 466c 5f52 inset(Fl_R │ │ │ -00060a10: 6563 7420 7365 6c66 2c20 696e 7420 6c65 ect self, int le │ │ │ -00060a20: 6674 2c20 696e 7420 746f 702c 2069 6e74 ft, int top, int │ │ │ -00060a30: 2072 6967 6874 2c20 696e 7420 626f 7474 right, int bott │ │ │ -00060a40: 6f6d 290a 2020 2020 2020 2020 2222 220a om). """. │ │ │ -00060a50: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00060a60: 666c 746b 2e46 6c5f 5265 6374 5f69 6e73 fltk.Fl_Rect_ins │ │ │ -00060a70: 6574 2873 656c 662c 202a 6172 6773 290a et(self, *args). │ │ │ -00060a80: 2020 2020 5f5f 7377 6967 5f64 6573 7472 __swig_destr │ │ │ -00060a90: 6f79 5f5f 203d 205f 666c 746b 2e64 656c oy__ = _fltk.del │ │ │ -00060aa0: 6574 655f 466c 5f52 6563 740a 0a23 2052 ete_Fl_Rect..# R │ │ │ -00060ab0: 6567 6973 7465 7220 466c 5f52 6563 7420 egister Fl_Rect │ │ │ -00060ac0: 696e 205f 666c 746b 3a0a 5f66 6c74 6b2e in _fltk:._fltk. │ │ │ -00060ad0: 466c 5f52 6563 745f 7377 6967 7265 6769 Fl_Rect_swigregi │ │ │ -00060ae0: 7374 6572 2846 6c5f 5265 6374 290a 636c ster(Fl_Rect).cl │ │ │ -00060af0: 6173 7320 466c 5f53 5647 5f49 6d61 6765 ass Fl_SVG_Image │ │ │ -00060b00: 2846 6c5f 5247 425f 496d 6167 6529 3a0a (Fl_RGB_Image):. │ │ │ -00060b10: 2020 2020 7222 2222 0a0a 0a0a 2020 2020 r""".... │ │ │ -00060b20: 2222 220a 0a20 2020 2074 6869 736f 776e """.. thisown │ │ │ -00060b30: 203d 2070 726f 7065 7274 7928 6c61 6d62 = property(lamb │ │ │ -00060b40: 6461 2078 3a20 782e 7468 6973 2e6f 776e da x: x.this.own │ │ │ -00060b50: 2829 2c20 6c61 6d62 6461 2078 2c20 763a (), lambda x, v: │ │ │ -00060b60: 2078 2e74 6869 732e 6f77 6e28 7629 2c20 x.this.own(v), │ │ │ -00060b70: 646f 633d 2254 6865 206d 656d 6265 7273 doc="The members │ │ │ -00060b80: 6869 7020 666c 6167 2229 0a20 2020 205f hip flag"). _ │ │ │ -00060b90: 5f72 6570 725f 5f20 3d20 5f73 7769 675f _repr__ = _swig_ │ │ │ -00060ba0: 7265 7072 0a0a 2020 2020 6465 6620 5f5f repr.. def __ │ │ │ -00060bb0: 696e 6974 5f5f 2873 656c 662c 202a 6172 init__(self, *ar │ │ │ -00060bc0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -00060bd0: 220a 2020 2020 2020 2020 5f5f 696e 6974 ". __init │ │ │ -00060be0: 5f5f 2846 6c5f 5356 475f 496d 6167 6520 __(Fl_SVG_Image │ │ │ -00060bf0: 7365 6c66 2c20 6368 6172 2063 6f6e 7374 self, char const │ │ │ -00060c00: 202a 2066 696c 656e 616d 6529 202d 3e20 * filename) -> │ │ │ -00060c10: 466c 5f53 5647 5f49 6d61 6765 0a20 2020 Fl_SVG_Image. │ │ │ -00060c20: 2020 2020 205f 5f69 6e69 745f 5f28 466c __init__(Fl │ │ │ -00060c30: 5f53 5647 5f49 6d61 6765 2073 656c 662c _SVG_Image self, │ │ │ -00060c40: 2063 6861 7220 636f 6e73 7420 2a20 7368 char const * sh │ │ │ -00060c50: 6172 6564 6e61 6d65 2c20 6368 6172 2063 aredname, char c │ │ │ -00060c60: 6f6e 7374 202a 2073 7667 5f64 6174 6129 onst * svg_data) │ │ │ -00060c70: 202d 3e20 466c 5f53 5647 5f49 6d61 6765 -> Fl_SVG_Image │ │ │ -00060c80: 0a20 2020 2020 2020 205f 5f69 6e69 745f . __init_ │ │ │ -00060c90: 5f28 466c 5f53 5647 5f49 6d61 6765 2073 _(Fl_SVG_Image s │ │ │ -00060ca0: 656c 662c 2063 6861 7220 636f 6e73 7420 elf, char const │ │ │ -00060cb0: 2a20 7368 6172 6564 6e61 6d65 2c20 756e * sharedname, un │ │ │ -00060cc0: 7369 676e 6564 2063 6861 7220 636f 6e73 signed char cons │ │ │ -00060cd0: 7420 2a20 7376 675f 6461 7461 2c20 7369 t * svg_data, si │ │ │ -00060ce0: 7a65 5f74 206c 656e 6774 6829 202d 3e20 ze_t length) -> │ │ │ -00060cf0: 466c 5f53 5647 5f49 6d61 6765 0a20 2020 Fl_SVG_Image. │ │ │ -00060d00: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ -00060d10: 2069 6620 7365 6c66 2e5f 5f63 6c61 7373 if self.__class │ │ │ -00060d20: 5f5f 203d 3d20 466c 5f53 5647 5f49 6d61 __ == Fl_SVG_Ima │ │ │ -00060d30: 6765 3a0a 2020 2020 2020 2020 2020 2020 ge:. │ │ │ -00060d40: 5f73 656c 6620 3d20 4e6f 6e65 0a20 2020 _self = None. │ │ │ -00060d50: 2020 2020 2065 6c73 653a 0a20 2020 2020 else:. │ │ │ -00060d60: 2020 2020 2020 205f 7365 6c66 203d 2073 _self = s │ │ │ -00060d70: 656c 660a 2020 2020 2020 2020 5f66 6c74 elf. _flt │ │ │ -00060d80: 6b2e 466c 5f53 5647 5f49 6d61 6765 5f73 k.Fl_SVG_Image_s │ │ │ -00060d90: 7769 6769 6e69 7428 7365 6c66 2c20 5f66 wiginit(self, _f │ │ │ -00060da0: 6c74 6b2e 6e65 775f 466c 5f53 5647 5f49 ltk.new_Fl_SVG_I │ │ │ -00060db0: 6d61 6765 285f 7365 6c66 2c20 2a61 7267 mage(_self, *arg │ │ │ -00060dc0: 7329 290a 2020 2020 5f5f 7377 6967 5f64 s)). __swig_d │ │ │ -00060dd0: 6573 7472 6f79 5f5f 203d 205f 666c 746b estroy__ = _fltk │ │ │ -00060de0: 2e64 656c 6574 655f 466c 5f53 5647 5f49 .delete_Fl_SVG_I │ │ │ -00060df0: 6d61 6765 0a0a 2020 2020 6465 6620 636f mage.. def co │ │ │ -00060e00: 7079 2873 656c 662c 202a 6172 6773 293a py(self, *args): │ │ │ -00060e10: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ -00060e20: 2020 2020 2020 636f 7079 2846 6c5f 5356 copy(Fl_SV │ │ │ -00060e30: 475f 496d 6167 6520 7365 6c66 2c20 696e G_Image self, in │ │ │ -00060e40: 7420 572c 2069 6e74 2048 2920 2d3e 2046 t W, int H) -> F │ │ │ -00060e50: 6c5f 496d 6167 650a 2020 2020 2020 2020 l_Image. │ │ │ -00060e60: 636f 7079 2846 6c5f 5356 475f 496d 6167 copy(Fl_SVG_Imag │ │ │ -00060e70: 6520 7365 6c66 2920 2d3e 2046 6c5f 496d e self) -> Fl_Im │ │ │ -00060e80: 6167 650a 2020 2020 2020 2020 2222 220a age. """. │ │ │ -00060e90: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00060ea0: 666c 746b 2e46 6c5f 5356 475f 496d 6167 fltk.Fl_SVG_Imag │ │ │ -00060eb0: 655f 636f 7079 2873 656c 662c 202a 6172 e_copy(self, *ar │ │ │ -00060ec0: 6773 290a 0a20 2020 2064 6566 2072 6573 gs).. def res │ │ │ -00060ed0: 697a 6528 7365 6c66 2c20 2a61 7267 7329 ize(self, *args) │ │ │ -00060ee0: 3a0a 2020 2020 2020 2020 7222 2222 7265 :. r"""re │ │ │ -00060ef0: 7369 7a65 2846 6c5f 5356 475f 496d 6167 size(Fl_SVG_Imag │ │ │ -00060f00: 6520 7365 6c66 2c20 696e 7420 7769 6474 e self, int widt │ │ │ -00060f10: 682c 2069 6e74 2068 6569 6768 7429 2222 h, int height)"" │ │ │ -00060f20: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00060f30: 205f 666c 746b 2e46 6c5f 5356 475f 496d _fltk.Fl_SVG_Im │ │ │ -00060f40: 6167 655f 7265 7369 7a65 2873 656c 662c age_resize(self, │ │ │ -00060f50: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00060f60: 2064 6573 6174 7572 6174 6528 7365 6c66 desaturate(self │ │ │ -00060f70: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -00060f80: 2020 7222 2222 6465 7361 7475 7261 7465 r"""desaturate │ │ │ -00060f90: 2846 6c5f 5356 475f 496d 6167 6520 7365 (Fl_SVG_Image se │ │ │ -00060fa0: 6c66 2922 2222 0a20 2020 2020 2020 2072 lf)""". r │ │ │ -00060fb0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f53 eturn _fltk.Fl_S │ │ │ -00060fc0: 5647 5f49 6d61 6765 5f64 6573 6174 7572 VG_Image_desatur │ │ │ -00060fd0: 6174 6528 7365 6c66 2c20 2a61 7267 7329 ate(self, *args) │ │ │ -00060fe0: 0a0a 2020 2020 6465 6620 636f 6c6f 725f .. def color_ │ │ │ -00060ff0: 6176 6572 6167 6528 7365 6c66 2c20 2a61 average(self, *a │ │ │ -00061000: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00061010: 2222 636f 6c6f 725f 6176 6572 6167 6528 ""color_average( │ │ │ -00061020: 466c 5f53 5647 5f49 6d61 6765 2073 656c Fl_SVG_Image sel │ │ │ -00061030: 662c 2046 6c5f 436f 6c6f 7220 632c 2066 f, Fl_Color c, f │ │ │ -00061040: 6c6f 6174 2069 2922 2222 0a20 2020 2020 loat i)""". │ │ │ -00061050: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00061060: 466c 5f53 5647 5f49 6d61 6765 5f63 6f6c Fl_SVG_Image_col │ │ │ -00061070: 6f72 5f61 7665 7261 6765 2873 656c 662c or_average(self, │ │ │ -00061080: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00061090: 2064 7261 7728 7365 6c66 2c20 2a61 7267 draw(self, *arg │ │ │ -000610a0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -000610b0: 0a20 2020 2020 2020 2064 7261 7728 466c . draw(Fl │ │ │ -000610c0: 5f53 5647 5f49 6d61 6765 2073 656c 662c _SVG_Image self, │ │ │ -000610d0: 2069 6e74 2058 2c20 696e 7420 592c 2069 int X, int Y, i │ │ │ -000610e0: 6e74 2057 2c20 696e 7420 482c 2069 6e74 nt W, int H, int │ │ │ -000610f0: 2063 783d 302c 2069 6e74 2063 793d 3029 cx=0, int cy=0) │ │ │ -00061100: 0a20 2020 2020 2020 2064 7261 7728 466c . draw(Fl │ │ │ -00061110: 5f53 5647 5f49 6d61 6765 2073 656c 662c _SVG_Image self, │ │ │ -00061120: 2069 6e74 2058 2c20 696e 7420 5929 0a20 int X, int Y). │ │ │ -00061130: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ -00061140: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00061150: 466c 5f53 5647 5f49 6d61 6765 5f64 7261 Fl_SVG_Image_dra │ │ │ -00061160: 7728 7365 6c66 2c20 2a61 7267 7329 0a0a w(self, *args).. │ │ │ -00061170: 2020 2020 6465 6620 6173 5f73 7667 5f69 def as_svg_i │ │ │ -00061180: 6d61 6765 2873 656c 662c 202a 6172 6773 mage(self, *args │ │ │ -00061190: 293a 0a20 2020 2020 2020 2072 2222 2261 ):. r"""a │ │ │ -000611a0: 735f 7376 675f 696d 6167 6528 466c 5f53 s_svg_image(Fl_S │ │ │ -000611b0: 5647 5f49 6d61 6765 2073 656c 6629 202d VG_Image self) - │ │ │ -000611c0: 3e20 466c 5f53 5647 5f49 6d61 6765 2222 > Fl_SVG_Image"" │ │ │ -000611d0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -000611e0: 205f 666c 746b 2e46 6c5f 5356 475f 496d _fltk.Fl_SVG_Im │ │ │ -000611f0: 6167 655f 6173 5f73 7667 5f69 6d61 6765 age_as_svg_image │ │ │ -00061200: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -00061210: 2020 2064 6566 206e 6f72 6d61 6c69 7a65 def normalize │ │ │ -00061220: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -00061230: 2020 2020 2020 2072 2222 226e 6f72 6d61 r"""norma │ │ │ -00061240: 6c69 7a65 2846 6c5f 5356 475f 496d 6167 lize(Fl_SVG_Imag │ │ │ -00061250: 6520 7365 6c66 2922 2222 0a20 2020 2020 e self)""". │ │ │ -00061260: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00061270: 466c 5f53 5647 5f49 6d61 6765 5f6e 6f72 Fl_SVG_Image_nor │ │ │ -00061280: 6d61 6c69 7a65 2873 656c 662c 202a 6172 malize(self, *ar │ │ │ -00061290: 6773 290a 2020 2020 6465 6620 5f5f 6469 gs). def __di │ │ │ -000612a0: 736f 776e 5f5f 2873 656c 6629 3a0a 2020 sown__(self):. │ │ │ -000612b0: 2020 2020 2020 7365 6c66 2e74 6869 732e self.this. │ │ │ -000612c0: 6469 736f 776e 2829 0a20 2020 2020 2020 disown(). │ │ │ -000612d0: 205f 666c 746b 2e64 6973 6f77 6e5f 466c _fltk.disown_Fl │ │ │ -000612e0: 5f53 5647 5f49 6d61 6765 2873 656c 6629 _SVG_Image(self) │ │ │ -000612f0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00061300: 7765 616b 7265 662e 7072 6f78 7928 7365 weakref.proxy(se │ │ │ -00061310: 6c66 290a 0a23 2052 6567 6973 7465 7220 lf)..# Register │ │ │ -00061320: 466c 5f53 5647 5f49 6d61 6765 2069 6e20 Fl_SVG_Image in │ │ │ -00061330: 5f66 6c74 6b3a 0a5f 666c 746b 2e46 6c5f _fltk:._fltk.Fl_ │ │ │ -00061340: 5356 475f 496d 6167 655f 7377 6967 7265 SVG_Image_swigre │ │ │ -00061350: 6769 7374 6572 2846 6c5f 5356 475f 496d gister(Fl_SVG_Im │ │ │ -00061360: 6167 6529 0a63 6c61 7373 2046 6c5f 5356 age).class Fl_SV │ │ │ -00061370: 475f 4669 6c65 5f53 7572 6661 6365 2846 G_File_Surface(F │ │ │ -00061380: 6c5f 5769 6467 6574 5f53 7572 6661 6365 l_Widget_Surface │ │ │ -00061390: 293a 0a20 2020 2072 2222 220a 0a0a 0a20 ):. r""".... │ │ │ -000613a0: 2020 2022 2222 0a0a 2020 2020 7468 6973 """.. this │ │ │ -000613b0: 6f77 6e20 3d20 7072 6f70 6572 7479 286c own = property(l │ │ │ -000613c0: 616d 6264 6120 783a 2078 2e74 6869 732e ambda x: x.this. │ │ │ -000613d0: 6f77 6e28 292c 206c 616d 6264 6120 782c own(), lambda x, │ │ │ -000613e0: 2076 3a20 782e 7468 6973 2e6f 776e 2876 v: x.this.own(v │ │ │ -000613f0: 292c 2064 6f63 3d22 5468 6520 6d65 6d62 ), doc="The memb │ │ │ -00061400: 6572 7368 6970 2066 6c61 6722 290a 2020 ership flag"). │ │ │ -00061410: 2020 5f5f 7265 7072 5f5f 203d 205f 7377 __repr__ = _sw │ │ │ -00061420: 6967 5f72 6570 720a 0a20 2020 2064 6566 ig_repr.. def │ │ │ -00061430: 205f 5f69 6e69 745f 5f28 7365 6c66 2c20 __init__(self, │ │ │ -00061440: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00061450: 7222 2222 5f5f 696e 6974 5f5f 2846 6c5f r"""__init__(Fl_ │ │ │ -00061460: 5356 475f 4669 6c65 5f53 7572 6661 6365 SVG_File_Surface │ │ │ -00061470: 2073 656c 662c 2069 6e74 2077 6964 7468 self, int width │ │ │ -00061480: 2c20 696e 7420 6865 6967 6874 2c20 4649 , int height, FI │ │ │ -00061490: 4c45 202a 2073 7667 2c20 696e 7420 282a LE * svg, int (* │ │ │ -000614a0: 2928 4649 4c45 202a 2920 636c 6f73 6566 )(FILE *) closef │ │ │ -000614b0: 3d4e 6f6e 6529 202d 3e20 466c 5f53 5647 =None) -> Fl_SVG │ │ │ -000614c0: 5f46 696c 655f 5375 7266 6163 6522 2222 _File_Surface""" │ │ │ -000614d0: 0a20 2020 2020 2020 205f 666c 746b 2e46 . _fltk.F │ │ │ -000614e0: 6c5f 5356 475f 4669 6c65 5f53 7572 6661 l_SVG_File_Surfa │ │ │ -000614f0: 6365 5f73 7769 6769 6e69 7428 7365 6c66 ce_swiginit(self │ │ │ -00061500: 2c20 5f66 6c74 6b2e 6e65 775f 466c 5f53 , _fltk.new_Fl_S │ │ │ -00061510: 5647 5f46 696c 655f 5375 7266 6163 6528 VG_File_Surface( │ │ │ -00061520: 2a61 7267 7329 290a 2020 2020 5f5f 7377 *args)). __sw │ │ │ -00061530: 6967 5f64 6573 7472 6f79 5f5f 203d 205f ig_destroy__ = _ │ │ │ -00061540: 666c 746b 2e64 656c 6574 655f 466c 5f53 fltk.delete_Fl_S │ │ │ -00061550: 5647 5f46 696c 655f 5375 7266 6163 650a VG_File_Surface. │ │ │ -00061560: 0a20 2020 2064 6566 2066 696c 6528 7365 . def file(se │ │ │ -00061570: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -00061580: 2020 2020 7222 2222 6669 6c65 2846 6c5f r"""file(Fl_ │ │ │ -00061590: 5356 475f 4669 6c65 5f53 7572 6661 6365 SVG_File_Surface │ │ │ -000615a0: 2073 656c 6629 202d 3e20 4649 4c45 202a self) -> FILE * │ │ │ -000615b0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -000615c0: 726e 205f 666c 746b 2e46 6c5f 5356 475f rn _fltk.Fl_SVG_ │ │ │ -000615d0: 4669 6c65 5f53 7572 6661 6365 5f66 696c File_Surface_fil │ │ │ -000615e0: 6528 7365 6c66 2c20 2a61 7267 7329 0a0a e(self, *args).. │ │ │ -000615f0: 2020 2020 6465 6620 6f72 6967 696e 2873 def origin(s │ │ │ -00061600: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00061610: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ -00061620: 2020 6f72 6967 696e 2846 6c5f 5356 475f origin(Fl_SVG_ │ │ │ -00061630: 4669 6c65 5f53 7572 6661 6365 2073 656c File_Surface sel │ │ │ -00061640: 662c 2069 6e74 2078 2c20 696e 7420 7929 f, int x, int y) │ │ │ -00061650: 0a20 2020 2020 2020 206f 7269 6769 6e28 . origin( │ │ │ -00061660: 466c 5f53 5647 5f46 696c 655f 5375 7266 Fl_SVG_File_Surf │ │ │ -00061670: 6163 6520 7365 6c66 2c20 696e 7420 2a20 ace self, int * │ │ │ -00061680: 782c 2069 6e74 202a 2079 290a 2020 2020 x, int * y). │ │ │ -00061690: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ -000616a0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -000616b0: 5356 475f 4669 6c65 5f53 7572 6661 6365 SVG_File_Surface │ │ │ -000616c0: 5f6f 7269 6769 6e28 7365 6c66 2c20 2a61 _origin(self, *a │ │ │ -000616d0: 7267 7329 0a0a 2020 2020 6465 6620 7472 rgs).. def tr │ │ │ -000616e0: 616e 736c 6174 6528 7365 6c66 2c20 2a61 anslate(self, *a │ │ │ -000616f0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00061700: 2222 7472 616e 736c 6174 6528 466c 5f53 ""translate(Fl_S │ │ │ -00061710: 5647 5f46 696c 655f 5375 7266 6163 6520 VG_File_Surface │ │ │ -00061720: 7365 6c66 2c20 696e 7420 782c 2069 6e74 self, int x, int │ │ │ -00061730: 2079 2922 2222 0a20 2020 2020 2020 2072 y)""". r │ │ │ -00061740: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f53 eturn _fltk.Fl_S │ │ │ -00061750: 5647 5f46 696c 655f 5375 7266 6163 655f VG_File_Surface_ │ │ │ -00061760: 7472 616e 736c 6174 6528 7365 6c66 2c20 translate(self, │ │ │ -00061770: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -00061780: 756e 7472 616e 736c 6174 6528 7365 6c66 untranslate(self │ │ │ -00061790: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -000617a0: 2020 7222 2222 756e 7472 616e 736c 6174 r"""untranslat │ │ │ -000617b0: 6528 466c 5f53 5647 5f46 696c 655f 5375 e(Fl_SVG_File_Su │ │ │ -000617c0: 7266 6163 6520 7365 6c66 2922 2222 0a20 rface self)""". │ │ │ -000617d0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -000617e0: 6c74 6b2e 466c 5f53 5647 5f46 696c 655f ltk.Fl_SVG_File_ │ │ │ -000617f0: 5375 7266 6163 655f 756e 7472 616e 736c Surface_untransl │ │ │ -00061800: 6174 6528 7365 6c66 2c20 2a61 7267 7329 ate(self, *args) │ │ │ -00061810: 0a0a 2020 2020 6465 6620 7072 696e 7461 .. def printa │ │ │ -00061820: 626c 655f 7265 6374 2873 656c 662c 202a ble_rect(self, * │ │ │ -00061830: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00061840: 2222 2270 7269 6e74 6162 6c65 5f72 6563 """printable_rec │ │ │ -00061850: 7428 466c 5f53 5647 5f46 696c 655f 5375 t(Fl_SVG_File_Su │ │ │ -00061860: 7266 6163 6520 7365 6c66 2c20 696e 7420 rface self, int │ │ │ -00061870: 2a20 772c 2069 6e74 202a 2068 2920 2d3e * w, int * h) -> │ │ │ -00061880: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ -00061890: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -000618a0: 5356 475f 4669 6c65 5f53 7572 6661 6365 SVG_File_Surface │ │ │ -000618b0: 5f70 7269 6e74 6162 6c65 5f72 6563 7428 _printable_rect( │ │ │ -000618c0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -000618d0: 2020 6465 6620 636c 6f73 6528 7365 6c66 def close(self │ │ │ -000618e0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -000618f0: 2020 7222 2222 636c 6f73 6528 466c 5f53 r"""close(Fl_S │ │ │ -00061900: 5647 5f46 696c 655f 5375 7266 6163 6520 VG_File_Surface │ │ │ -00061910: 7365 6c66 2920 2d3e 2069 6e74 2222 220a self) -> int""". │ │ │ -00061920: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00061930: 666c 746b 2e46 6c5f 5356 475f 4669 6c65 fltk.Fl_SVG_File │ │ │ -00061940: 5f53 7572 6661 6365 5f63 6c6f 7365 2873 _Surface_close(s │ │ │ -00061950: 656c 662c 202a 6172 6773 290a 0a23 2052 elf, *args)..# R │ │ │ -00061960: 6567 6973 7465 7220 466c 5f53 5647 5f46 egister Fl_SVG_F │ │ │ -00061970: 696c 655f 5375 7266 6163 6520 696e 205f ile_Surface in _ │ │ │ -00061980: 666c 746b 3a0a 5f66 6c74 6b2e 466c 5f53 fltk:._fltk.Fl_S │ │ │ -00061990: 5647 5f46 696c 655f 5375 7266 6163 655f VG_File_Surface_ │ │ │ -000619a0: 7377 6967 7265 6769 7374 6572 2846 6c5f swigregister(Fl_ │ │ │ -000619b0: 5356 475f 4669 6c65 5f53 7572 6661 6365 SVG_File_Surface │ │ │ -000619c0: 290a 636c 6173 7320 466c 5f52 6f6c 6c65 ).class Fl_Rolle │ │ │ -000619d0: 7228 466c 5f56 616c 7561 746f 7229 3a0a r(Fl_Valuator):. │ │ │ -000619e0: 2020 2020 7222 2222 0a0a 2020 2020 5468 r""".. Th │ │ │ -000619f0: 6520 466c 5f52 6f6c 6c65 7220 7769 6467 e Fl_Roller widg │ │ │ -00061a00: 6574 2069 7320 6120 2764 6f6c 6c79 2720 et is a 'dolly' │ │ │ -00061a10: 636f 6e74 726f 6c20 636f 6d6d 6f6e 6c79 control commonly │ │ │ -00061a20: 2075 7365 6420 746f 206d 6f76 6520 3344 used to move 3D │ │ │ -00061a30: 206f 626a 6563 7473 2e0a 0a20 2020 2022 objects... " │ │ │ -00061a40: 2222 0a0a 2020 2020 7468 6973 6f77 6e20 "".. thisown │ │ │ -00061a50: 3d20 7072 6f70 6572 7479 286c 616d 6264 = property(lambd │ │ │ -00061a60: 6120 783a 2078 2e74 6869 732e 6f77 6e28 a x: x.this.own( │ │ │ -00061a70: 292c 206c 616d 6264 6120 782c 2076 3a20 ), lambda x, v: │ │ │ -00061a80: 782e 7468 6973 2e6f 776e 2876 292c 2064 x.this.own(v), d │ │ │ -00061a90: 6f63 3d22 5468 6520 6d65 6d62 6572 7368 oc="The membersh │ │ │ -00061aa0: 6970 2066 6c61 6722 290a 2020 2020 5f5f ip flag"). __ │ │ │ -00061ab0: 7265 7072 5f5f 203d 205f 7377 6967 5f72 repr__ = _swig_r │ │ │ -00061ac0: 6570 720a 0a20 2020 2064 6566 2064 7261 epr.. def dra │ │ │ -00061ad0: 7728 7365 6c66 2c20 2a61 7267 7329 3a0a w(self, *args):. │ │ │ -00061ae0: 2020 2020 2020 2020 7222 2222 6472 6177 r"""draw │ │ │ -00061af0: 2846 6c5f 526f 6c6c 6572 2073 656c 6629 (Fl_Roller self) │ │ │ -00061b00: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -00061b10: 726e 205f 666c 746b 2e46 6c5f 526f 6c6c rn _fltk.Fl_Roll │ │ │ -00061b20: 6572 5f64 7261 7728 7365 6c66 2c20 2a61 er_draw(self, *a │ │ │ -00061b30: 7267 7329 0a0a 2020 2020 6465 6620 6861 rgs).. def ha │ │ │ -00061b40: 6e64 6c65 2873 656c 662c 202a 6172 6773 ndle(self, *args │ │ │ -00061b50: 293a 0a20 2020 2020 2020 2072 2222 2268 ):. r"""h │ │ │ -00061b60: 616e 646c 6528 466c 5f52 6f6c 6c65 7220 andle(Fl_Roller │ │ │ -00061b70: 7365 6c66 2c20 696e 7420 6172 6730 2920 self, int arg0) │ │ │ -00061b80: 2d3e 2069 6e74 2222 220a 2020 2020 2020 -> int""". │ │ │ -00061b90: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -00061ba0: 6c5f 526f 6c6c 6572 5f68 616e 646c 6528 l_Roller_handle( │ │ │ -00061bb0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -00061bc0: 2020 6465 6620 5f5f 696e 6974 5f5f 2873 def __init__(s │ │ │ -00061bd0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00061be0: 2020 2020 2072 2222 225f 5f69 6e69 745f r"""__init_ │ │ │ -00061bf0: 5f28 466c 5f52 6f6c 6c65 7220 7365 6c66 _(Fl_Roller self │ │ │ -00061c00: 2c20 696e 7420 582c 2069 6e74 2059 2c20 , int X, int Y, │ │ │ -00061c10: 696e 7420 572c 2069 6e74 2048 2c20 6368 int W, int H, ch │ │ │ -00061c20: 6172 2063 6f6e 7374 202a 204c 3d4e 6f6e ar const * L=Non │ │ │ -00061c30: 6529 202d 3e20 466c 5f52 6f6c 6c65 7222 e) -> Fl_Roller" │ │ │ -00061c40: 2222 0a20 2020 2020 2020 2069 6620 7365 "". if se │ │ │ -00061c50: 6c66 2e5f 5f63 6c61 7373 5f5f 203d 3d20 lf.__class__ == │ │ │ -00061c60: 466c 5f52 6f6c 6c65 723a 0a20 2020 2020 Fl_Roller:. │ │ │ -00061c70: 2020 2020 2020 205f 7365 6c66 203d 204e _self = N │ │ │ -00061c80: 6f6e 650a 2020 2020 2020 2020 656c 7365 one. else │ │ │ -00061c90: 3a0a 2020 2020 2020 2020 2020 2020 5f73 :. _s │ │ │ -00061ca0: 656c 6620 3d20 7365 6c66 0a20 2020 2020 elf = self. │ │ │ -00061cb0: 2020 205f 666c 746b 2e46 6c5f 526f 6c6c _fltk.Fl_Roll │ │ │ -00061cc0: 6572 5f73 7769 6769 6e69 7428 7365 6c66 er_swiginit(self │ │ │ -00061cd0: 2c20 5f66 6c74 6b2e 6e65 775f 466c 5f52 , _fltk.new_Fl_R │ │ │ -00061ce0: 6f6c 6c65 7228 5f73 656c 662c 202a 6172 oller(_self, *ar │ │ │ -00061cf0: 6773 2929 0a0a 2020 2020 2020 2020 6966 gs)).. if │ │ │ -00061d00: 206c 656e 2861 7267 7329 203d 3d20 353a len(args) == 5: │ │ │ -00061d10: 2020 2020 2020 2020 2020 0a20 2020 2020 . │ │ │ -00061d20: 2020 2023 7265 7461 696e 2072 6566 6572 #retain refer │ │ │ -00061d30: 656e 6365 2074 6f20 6c61 6265 6c0a 2020 ence to label. │ │ │ -00061d40: 2020 2020 2020 2020 2020 7365 6c66 2e6d self.m │ │ │ -00061d50: 795f 6c61 6265 6c20 3d20 6172 6773 5b2d y_label = args[- │ │ │ -00061d60: 315d 0a20 2020 2020 2020 2069 6620 7365 1]. if se │ │ │ -00061d70: 6c66 2e70 6172 656e 7428 2920 213d 204e lf.parent() != N │ │ │ -00061d80: 6f6e 653a 2020 200a 2020 2020 2020 2020 one: . │ │ │ -00061d90: 2364 656c 6567 6174 6520 6f77 6e65 7273 #delegate owners │ │ │ -00061da0: 6869 7020 746f 2043 2b2b 0a20 2020 2020 hip to C++. │ │ │ -00061db0: 2020 2020 2020 2073 656c 662e 7468 6973 self.this │ │ │ -00061dc0: 2e64 6973 6f77 6e28 290a 2020 2020 2020 .disown(). │ │ │ -00061dd0: 2020 7365 6c66 2e69 6e69 745f 7479 7065 self.init_type │ │ │ -00061de0: 2822 466c 5f52 6f6c 6c65 7222 290a 2020 ("Fl_Roller"). │ │ │ -00061df0: 2020 2020 2020 2370 7269 6e74 2822 4164 #print("Ad │ │ │ -00061e00: 6469 6e67 2074 7970 653a 2022 2c20 466c ding type: ", Fl │ │ │ -00061e10: 5f52 6f6c 6c65 7229 0a0a 0a0a 0a20 2020 _Roller)..... │ │ │ -00061e20: 2064 6566 2069 6e69 745f 7479 7065 2873 def init_type(s │ │ │ -00061e30: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00061e40: 2020 2020 2072 2222 2269 6e69 745f 7479 r"""init_ty │ │ │ -00061e50: 7065 2846 6c5f 526f 6c6c 6572 2073 656c pe(Fl_Roller sel │ │ │ -00061e60: 662c 2063 6861 7220 2a20 466c 5f52 6f6c f, char * Fl_Rol │ │ │ -00061e70: 6c65 7229 2222 220a 2020 2020 2020 2020 ler)""". │ │ │ -00061e80: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00061e90: 526f 6c6c 6572 5f69 6e69 745f 7479 7065 Roller_init_type │ │ │ -00061ea0: 2873 656c 662c 202a 6172 6773 290a 2020 (self, *args). │ │ │ -00061eb0: 2020 5f5f 7377 6967 5f64 6573 7472 6f79 __swig_destroy │ │ │ -00061ec0: 5f5f 203d 205f 666c 746b 2e64 656c 6574 __ = _fltk.delet │ │ │ -00061ed0: 655f 466c 5f52 6f6c 6c65 720a 2020 2020 e_Fl_Roller. │ │ │ -00061ee0: 6465 6620 5f5f 6469 736f 776e 5f5f 2873 def __disown__(s │ │ │ -00061ef0: 656c 6629 3a0a 2020 2020 2020 2020 7365 elf):. se │ │ │ -00061f00: 6c66 2e74 6869 732e 6469 736f 776e 2829 lf.this.disown() │ │ │ -00061f10: 0a20 2020 2020 2020 205f 666c 746b 2e64 . _fltk.d │ │ │ -00061f20: 6973 6f77 6e5f 466c 5f52 6f6c 6c65 7228 isown_Fl_Roller( │ │ │ -00061f30: 7365 6c66 290a 2020 2020 2020 2020 7265 self). re │ │ │ -00061f40: 7475 726e 2077 6561 6b72 6566 2e70 726f turn weakref.pro │ │ │ -00061f50: 7879 2873 656c 6629 0a0a 2320 5265 6769 xy(self)..# Regi │ │ │ -00061f60: 7374 6572 2046 6c5f 526f 6c6c 6572 2069 ster Fl_Roller i │ │ │ -00061f70: 6e20 5f66 6c74 6b3a 0a5f 666c 746b 2e46 n _fltk:._fltk.F │ │ │ -00061f80: 6c5f 526f 6c6c 6572 5f73 7769 6772 6567 l_Roller_swigreg │ │ │ -00061f90: 6973 7465 7228 466c 5f52 6f6c 6c65 7229 ister(Fl_Roller) │ │ │ -00061fa0: 0a63 6c61 7373 2046 6c5f 526f 756e 645f .class Fl_Round_ │ │ │ -00061fb0: 436c 6f63 6b28 466c 5f43 6c6f 636b 293a Clock(Fl_Clock): │ │ │ -00061fc0: 0a20 2020 2072 2222 220a 0a20 2020 2054 . r""".. T │ │ │ -00061fd0: 6869 7320 7769 6467 6574 2070 726f 7669 his widget provi │ │ │ -00061fe0: 6465 7320 6120 726f 756e 6420 616e 616c des a round anal │ │ │ -00061ff0: 6f67 2063 6c6f 636b 2064 6973 706c 6179 og clock display │ │ │ -00062000: 2061 6e64 2069 7320 7072 6f76 6964 6564 and is provided │ │ │ -00062010: 2066 6f72 200a 2020 2020 466f 726d 7320 for . Forms │ │ │ -00062020: 636f 6d70 6174 6962 696c 6974 792e 2049 compatibility. I │ │ │ -00062030: 7420 696e 7374 616c 6c73 2061 2031 2d73 t installs a 1-s │ │ │ -00062040: 6563 6f6e 6420 7469 6d65 6f75 7420 6361 econd timeout ca │ │ │ -00062050: 6c6c 6261 636b 2075 7369 6e67 200a 2020 llback using . │ │ │ -00062060: 2020 466c 3a3a 6164 645f 7469 6d65 6f75 Fl::add_timeou │ │ │ -00062070: 7428 292e 0a0a 2020 2020 2222 220a 0a20 t()... """.. │ │ │ -00062080: 2020 2074 6869 736f 776e 203d 2070 726f thisown = pro │ │ │ -00062090: 7065 7274 7928 6c61 6d62 6461 2078 3a20 perty(lambda x: │ │ │ -000620a0: 782e 7468 6973 2e6f 776e 2829 2c20 6c61 x.this.own(), la │ │ │ -000620b0: 6d62 6461 2078 2c20 763a 2078 2e74 6869 mbda x, v: x.thi │ │ │ -000620c0: 732e 6f77 6e28 7629 2c20 646f 633d 2254 s.own(v), doc="T │ │ │ -000620d0: 6865 206d 656d 6265 7273 6869 7020 666c he membership fl │ │ │ -000620e0: 6167 2229 0a20 2020 205f 5f72 6570 725f ag"). __repr_ │ │ │ -000620f0: 5f20 3d20 5f73 7769 675f 7265 7072 0a0a _ = _swig_repr.. │ │ │ -00062100: 2020 2020 6465 6620 5f5f 696e 6974 5f5f def __init__ │ │ │ -00062110: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -00062120: 2020 2020 2020 2072 2222 225f 5f69 6e69 r"""__ini │ │ │ -00062130: 745f 5f28 466c 5f52 6f75 6e64 5f43 6c6f t__(Fl_Round_Clo │ │ │ -00062140: 636b 2073 656c 662c 2069 6e74 2058 2c20 ck self, int X, │ │ │ -00062150: 696e 7420 592c 2069 6e74 2057 2c20 696e int Y, int W, in │ │ │ -00062160: 7420 482c 2063 6861 7220 636f 6e73 7420 t H, char const │ │ │ -00062170: 2a20 4c3d 4e6f 6e65 2920 2d3e 2046 6c5f * L=None) -> Fl_ │ │ │ -00062180: 526f 756e 645f 436c 6f63 6b22 2222 0a20 Round_Clock""". │ │ │ -00062190: 2020 2020 2020 2069 6620 7365 6c66 2e5f if self._ │ │ │ -000621a0: 5f63 6c61 7373 5f5f 203d 3d20 466c 5f52 _class__ == Fl_R │ │ │ -000621b0: 6f75 6e64 5f43 6c6f 636b 3a0a 2020 2020 ound_Clock:. │ │ │ -000621c0: 2020 2020 2020 2020 5f73 656c 6620 3d20 _self = │ │ │ -000621d0: 4e6f 6e65 0a20 2020 2020 2020 2065 6c73 None. els │ │ │ -000621e0: 653a 0a20 2020 2020 2020 2020 2020 205f e:. _ │ │ │ -000621f0: 7365 6c66 203d 2073 656c 660a 2020 2020 self = self. │ │ │ -00062200: 2020 2020 5f66 6c74 6b2e 466c 5f52 6f75 _fltk.Fl_Rou │ │ │ -00062210: 6e64 5f43 6c6f 636b 5f73 7769 6769 6e69 nd_Clock_swigini │ │ │ -00062220: 7428 7365 6c66 2c20 5f66 6c74 6b2e 6e65 t(self, _fltk.ne │ │ │ -00062230: 775f 466c 5f52 6f75 6e64 5f43 6c6f 636b w_Fl_Round_Clock │ │ │ -00062240: 285f 7365 6c66 2c20 2a61 7267 7329 290a (_self, *args)). │ │ │ -00062250: 0a20 2020 2020 2020 2069 6620 6c65 6e28 . if len( │ │ │ -00062260: 6172 6773 2920 3d3d 2035 3a20 2020 2020 args) == 5: │ │ │ -00062270: 2020 2020 200a 2020 2020 2020 2020 2372 . #r │ │ │ -00062280: 6574 6169 6e20 7265 6665 7265 6e63 6520 etain reference │ │ │ -00062290: 746f 206c 6162 656c 0a20 2020 2020 2020 to label. │ │ │ -000622a0: 2020 2020 2073 656c 662e 6d79 5f6c 6162 self.my_lab │ │ │ -000622b0: 656c 203d 2061 7267 735b 2d31 5d0a 2020 el = args[-1]. │ │ │ -000622c0: 2020 2020 2020 6966 2073 656c 662e 7061 if self.pa │ │ │ -000622d0: 7265 6e74 2829 2021 3d20 4e6f 6e65 3a20 rent() != None: │ │ │ -000622e0: 2020 0a20 2020 2020 2020 2023 6465 6c65 . #dele │ │ │ -000622f0: 6761 7465 206f 776e 6572 7368 6970 2074 gate ownership t │ │ │ -00062300: 6f20 432b 2b0a 2020 2020 2020 2020 2020 o C++. │ │ │ -00062310: 2020 7365 6c66 2e74 6869 732e 6469 736f self.this.diso │ │ │ -00062320: 776e 2829 0a20 2020 2020 2020 2073 656c wn(). sel │ │ │ -00062330: 662e 696e 6974 5f74 7970 6528 2246 6c5f f.init_type("Fl_ │ │ │ -00062340: 526f 756e 645f 436c 6f63 6b22 290a 2020 Round_Clock"). │ │ │ -00062350: 2020 2020 2020 2370 7269 6e74 2822 4164 #print("Ad │ │ │ -00062360: 6469 6e67 2074 7970 653a 2022 2c20 466c ding type: ", Fl │ │ │ -00062370: 5f52 6f75 6e64 5f43 6c6f 636b 290a 0a0a _Round_Clock)... │ │ │ -00062380: 0a0a 2020 2020 6465 6620 696e 6974 5f74 .. def init_t │ │ │ -00062390: 7970 6528 7365 6c66 2c20 2a61 7267 7329 ype(self, *args) │ │ │ -000623a0: 3a0a 2020 2020 2020 2020 7222 2222 696e :. r"""in │ │ │ -000623b0: 6974 5f74 7970 6528 466c 5f52 6f75 6e64 it_type(Fl_Round │ │ │ -000623c0: 5f43 6c6f 636b 2073 656c 662c 2063 6861 _Clock self, cha │ │ │ -000623d0: 7220 2a20 466c 5f52 6f75 6e64 5f43 6c6f r * Fl_Round_Clo │ │ │ -000623e0: 636b 2922 2222 0a20 2020 2020 2020 2072 ck)""". r │ │ │ -000623f0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f52 eturn _fltk.Fl_R │ │ │ -00062400: 6f75 6e64 5f43 6c6f 636b 5f69 6e69 745f ound_Clock_init_ │ │ │ -00062410: 7479 7065 2873 656c 662c 202a 6172 6773 type(self, *args │ │ │ -00062420: 290a 2020 2020 5f5f 7377 6967 5f64 6573 ). __swig_des │ │ │ -00062430: 7472 6f79 5f5f 203d 205f 666c 746b 2e64 troy__ = _fltk.d │ │ │ -00062440: 656c 6574 655f 466c 5f52 6f75 6e64 5f43 elete_Fl_Round_C │ │ │ -00062450: 6c6f 636b 0a20 2020 2064 6566 205f 5f64 lock. def __d │ │ │ -00062460: 6973 6f77 6e5f 5f28 7365 6c66 293a 0a20 isown__(self):. │ │ │ -00062470: 2020 2020 2020 2073 656c 662e 7468 6973 self.this │ │ │ -00062480: 2e64 6973 6f77 6e28 290a 2020 2020 2020 .disown(). │ │ │ -00062490: 2020 5f66 6c74 6b2e 6469 736f 776e 5f46 _fltk.disown_F │ │ │ -000624a0: 6c5f 526f 756e 645f 436c 6f63 6b28 7365 l_Round_Clock(se │ │ │ -000624b0: 6c66 290a 2020 2020 2020 2020 7265 7475 lf). retu │ │ │ -000624c0: 726e 2077 6561 6b72 6566 2e70 726f 7879 rn weakref.proxy │ │ │ -000624d0: 2873 656c 6629 0a0a 2020 2020 6465 6620 (self).. def │ │ │ -000624e0: 6472 6177 2873 656c 662c 202a 6172 6773 draw(self, *args │ │ │ -000624f0: 293a 0a20 2020 2020 2020 2072 2222 2264 ):. r"""d │ │ │ -00062500: 7261 7728 466c 5f52 6f75 6e64 5f43 6c6f raw(Fl_Round_Clo │ │ │ -00062510: 636b 2073 656c 6629 2222 220a 2020 2020 ck self)""". │ │ │ -00062520: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00062530: 2e46 6c5f 526f 756e 645f 436c 6f63 6b5f .Fl_Round_Clock_ │ │ │ -00062540: 6472 6177 2873 656c 662c 202a 6172 6773 draw(self, *args │ │ │ -00062550: 290a 0a23 2052 6567 6973 7465 7220 466c )..# Register Fl │ │ │ -00062560: 5f52 6f75 6e64 5f43 6c6f 636b 2069 6e20 _Round_Clock in │ │ │ -00062570: 5f66 6c74 6b3a 0a5f 666c 746b 2e46 6c5f _fltk:._fltk.Fl_ │ │ │ -00062580: 526f 756e 645f 436c 6f63 6b5f 7377 6967 Round_Clock_swig │ │ │ -00062590: 7265 6769 7374 6572 2846 6c5f 526f 756e register(Fl_Roun │ │ │ -000625a0: 645f 436c 6f63 6b29 0a63 6c61 7373 2046 d_Clock).class F │ │ │ -000625b0: 6c5f 5363 726f 6c6c 2846 6c5f 4772 6f75 l_Scroll(Fl_Grou │ │ │ -000625c0: 7029 3a0a 2020 2020 7222 2222 0a0a 2020 p):. r""".. │ │ │ -000625d0: 2020 5468 6973 2063 6f6e 7461 696e 6572 This container │ │ │ -000625e0: 2077 6964 6765 7420 6c65 7473 2079 6f75 widget lets you │ │ │ -000625f0: 206d 616e 6575 7665 7220 6172 6f75 6e64 maneuver around │ │ │ -00062600: 2061 2073 6574 206f 6620 7769 6467 6574 a set of widget │ │ │ -00062610: 7320 6d75 6368 206c 6172 6765 7220 0a20 s much larger . │ │ │ -00062620: 2020 2074 6861 6e20 796f 7572 2077 696e than your win │ │ │ -00062630: 646f 772e 2049 6620 7468 6520 6368 696c dow. If the chil │ │ │ -00062640: 6420 7769 6467 6574 7320 6172 6520 6c61 d widgets are la │ │ │ -00062650: 7267 6572 2074 6861 6e20 7468 6520 7369 rger than the si │ │ │ -00062660: 7a65 206f 6620 7468 6973 200a 2020 2020 ze of this . │ │ │ -00062670: 6f62 6a65 6374 2074 6865 6e20 7363 726f object then scro │ │ │ -00062680: 6c6c 6261 7273 2077 696c 6c20 6170 7065 llbars will appe │ │ │ -00062690: 6172 2073 6f20 7468 6174 2079 6f75 2063 ar so that you c │ │ │ -000626a0: 616e 2073 6372 6f6c 6c20 6f76 6572 2074 an scroll over t │ │ │ -000626b0: 6f20 7468 656d 3a0a 0a20 2020 2049 6620 o them:.. If │ │ │ -000626c0: 616c 6c20 6f66 2074 6865 2063 6869 6c64 all of the child │ │ │ -000626d0: 2077 6964 6765 7473 2061 7265 2070 6163 widgets are pac │ │ │ -000626e0: 6b65 6420 746f 6765 7468 6572 2069 6e74 ked together int │ │ │ -000626f0: 6f20 6120 736f 6c69 6420 7265 6374 616e o a solid rectan │ │ │ -00062700: 676c 6520 7468 656e 200a 2020 2020 796f gle then . yo │ │ │ -00062710: 7520 7761 6e74 2074 6f20 7365 7420 626f u want to set bo │ │ │ -00062720: 7828 2920 746f 2046 4c5f 4e4f 5f42 4f58 x() to FL_NO_BOX │ │ │ -00062730: 206f 7220 6f6e 6520 6f66 2074 6865 205f or one of the _ │ │ │ -00062740: 4652 414d 4520 7479 7065 732e 2054 6869 FRAME types. Thi │ │ │ -00062750: 7320 7769 6c6c 200a 2020 2020 7265 7375 s will . resu │ │ │ -00062760: 6c74 2069 6e20 7468 6520 6265 7374 206f lt in the best o │ │ │ -00062770: 7574 7075 742e 2048 6f77 6576 6572 2c20 utput. However, │ │ │ -00062780: 6966 2074 6865 2063 6869 6c64 2077 6964 if the child wid │ │ │ -00062790: 6765 7473 2061 7265 2061 2073 7061 7273 gets are a spars │ │ │ -000627a0: 6520 0a20 2020 2061 7272 616e 676d 656e e . arrangmen │ │ │ -000627b0: 7420 796f 7520 6d75 7374 2073 6574 2062 t you must set b │ │ │ -000627c0: 6f78 2829 2074 6f20 6120 7265 616c 205f ox() to a real _ │ │ │ -000627d0: 424f 5820 7479 7065 2e20 5468 6973 2063 BOX type. This c │ │ │ -000627e0: 616e 2072 6573 756c 7420 696e 2073 6f6d an result in som │ │ │ -000627f0: 6520 0a20 2020 2062 6c69 6e6b 696e 6720 e . blinking │ │ │ -00062800: 6475 7269 6e67 2072 6564 7261 7769 6e67 during redrawing │ │ │ -00062810: 2c20 6275 7420 7468 6174 2063 616e 2062 , but that can b │ │ │ -00062820: 6520 736f 6c76 6564 2062 7920 7573 696e e solved by usin │ │ │ -00062830: 6720 6120 466c 5f44 6f75 626c 655f 5769 g a Fl_Double_Wi │ │ │ -00062840: 6e64 6f77 2e0a 0a20 2020 2054 6869 7320 ndow... This │ │ │ -00062850: 7769 6467 6574 2063 616e 2061 6c73 6f20 widget can also │ │ │ -00062860: 6265 2075 7365 6420 746f 2070 616e 2061 be used to pan a │ │ │ -00062870: 726f 756e 6420 6120 7369 6e67 6c65 2063 round a single c │ │ │ -00062880: 6869 6c64 2077 6964 6765 7420 2763 616e hild widget 'can │ │ │ -00062890: 7661 7327 2e20 0a20 2020 2054 6869 7320 vas'. . This │ │ │ -000628a0: 6368 696c 6420 7769 6467 6574 2073 686f child widget sho │ │ │ -000628b0: 756c 6420 6265 206f 6620 796f 7572 206f uld be of your o │ │ │ -000628c0: 776e 2063 6c61 7373 2c20 7769 7468 2061 wn class, with a │ │ │ -000628d0: 2064 7261 7728 2920 6d65 7468 6f64 2074 draw() method t │ │ │ -000628e0: 6861 7420 0a20 2020 2064 7261 7773 2074 hat . draws t │ │ │ -000628f0: 6865 2063 6f6e 7465 6e74 732e 2054 6865 he contents. The │ │ │ -00062900: 2073 6372 6f6c 6c69 6e67 2069 7320 646f scrolling is do │ │ │ -00062910: 6e65 2062 7920 6368 616e 6769 6e67 2074 ne by changing t │ │ │ -00062920: 6865 2078 2829 2061 6e64 2079 2829 206f he x() and y() o │ │ │ -00062930: 6620 0a20 2020 2074 6865 2077 6964 6765 f . the widge │ │ │ -00062940: 742c 2073 6f20 7468 6973 2063 6869 6c64 t, so this child │ │ │ -00062950: 206d 7573 7420 7573 6520 7468 6520 7828 must use the x( │ │ │ -00062960: 2920 616e 6420 7928 2920 746f 2070 6f73 ) and y() to pos │ │ │ -00062970: 6974 696f 6e20 6974 2773 2064 7261 7769 ition it's drawi │ │ │ -00062980: 6e67 2e20 0a20 2020 2054 6f20 7370 6565 ng. . To spee │ │ │ -00062990: 6420 7570 2064 7261 7769 6e67 2069 7420 d up drawing it │ │ │ -000629a0: 7368 6f75 6c64 2074 6573 7420 666c 5f70 should test fl_p │ │ │ -000629b0: 7573 685f 636c 6970 2829 202e 0a0a 2020 ush_clip() ... │ │ │ -000629c0: 2020 416e 6f74 6865 7220 7665 7279 2075 Another very u │ │ │ -000629d0: 7365 6675 6c20 6368 696c 6420 6973 2061 seful child is a │ │ │ -000629e0: 2073 696e 676c 6520 466c 5f50 6163 6b2c single Fl_Pack, │ │ │ -000629f0: 2077 6869 6368 2069 7320 6974 7365 6c66 which is itself │ │ │ -00062a00: 2061 2067 726f 7570 2074 6861 7420 0a20 a group that . │ │ │ -00062a10: 2020 2070 6163 6b73 2069 7427 7320 6368 packs it's ch │ │ │ -00062a20: 696c 6472 656e 2074 6f67 6574 6865 7220 ildren together │ │ │ -00062a30: 616e 6420 6368 616e 6765 7320 7369 7a65 and changes size │ │ │ -00062a40: 2074 6f20 7375 7272 6f75 6e64 2074 6865 to surround the │ │ │ -00062a50: 6d2e 2046 696c 6c69 6e67 2074 6865 200a m. Filling the . │ │ │ -00062a60: 2020 2020 466c 5f50 6163 6b20 7769 7468 Fl_Pack with │ │ │ -00062a70: 2046 6c5f 5461 6273 2067 726f 7570 7320 Fl_Tabs groups │ │ │ -00062a80: 2861 6e64 2074 6865 6e20 7075 7474 696e (and then puttin │ │ │ -00062a90: 6720 6e6f 726d 616c 2077 6964 6765 7473 g normal widgets │ │ │ -00062aa0: 2069 6e73 6964 6520 7468 6f73 6529 200a inside those) . │ │ │ -00062ab0: 2020 2020 6769 7665 7320 796f 7520 6120 gives you a │ │ │ -00062ac0: 7665 7279 2070 6f77 6572 6675 6c20 7363 very powerful sc │ │ │ -00062ad0: 726f 6c6c 696e 6720 6c69 7374 206f 6620 rolling list of │ │ │ -00062ae0: 696e 6469 7669 6475 616c 6c79 2d6f 7065 individually-ope │ │ │ -00062af0: 6e61 626c 6520 7061 6e65 6c73 2e0a 0a20 nable panels... │ │ │ -00062b00: 2020 2046 6c75 6964 206c 6574 7320 796f Fluid lets yo │ │ │ -00062b10: 7520 6372 6561 7465 2074 6865 7365 2c20 u create these, │ │ │ -00062b20: 6275 7420 796f 7520 6361 6e20 6f6e 6c79 but you can only │ │ │ -00062b30: 206c 6179 206f 7574 206f 626a 6563 7473 lay out objects │ │ │ -00062b40: 2074 6861 7420 6669 7420 0a20 2020 2069 that fit . i │ │ │ -00062b50: 6e73 6964 6520 7468 6520 466c 5f53 6372 nside the Fl_Scr │ │ │ -00062b60: 6f6c 6c20 7769 7468 6f75 7420 7363 726f oll without scro │ │ │ -00062b70: 6c6c 696e 672e 2042 6520 7375 7265 2074 lling. Be sure t │ │ │ -00062b80: 6f20 6c65 6176 6520 7370 6163 6520 666f o leave space fo │ │ │ -00062b90: 7220 7468 6520 0a20 2020 2073 6372 6f6c r the . scrol │ │ │ -00062ba0: 6c62 6172 732c 2061 7320 466c 7569 6420 lbars, as Fluid │ │ │ -00062bb0: 776f 6e27 7420 7368 6f77 2074 6865 7365 won't show these │ │ │ -00062bc0: 2065 6974 6865 722e 0a0a 2020 2020 596f either... Yo │ │ │ -00062bd0: 7520 6361 6e6e 6f74 2075 7365 2046 6c5f u cannot use Fl_ │ │ │ -00062be0: 5769 6e64 6f77 2061 7320 6120 6368 696c Window as a chil │ │ │ -00062bf0: 6420 6f66 2074 6869 7320 7369 6e63 6520 d of this since │ │ │ -00062c00: 7468 6520 636c 6970 7069 6e67 2069 7320 the clipping is │ │ │ -00062c10: 6e6f 7420 0a20 2020 2063 6f6e 7665 7965 not . conveye │ │ │ -00062c20: 6420 746f 2069 7420 7768 656e 2064 7261 d to it when dra │ │ │ -00062c30: 776e 2c20 616e 6420 6974 2077 696c 6c20 wn, and it will │ │ │ -00062c40: 6472 6177 206f 7665 7220 7468 6520 7363 draw over the sc │ │ │ -00062c50: 726f 6c6c 6261 7273 2061 6e64 200a 2020 rollbars and . │ │ │ -00062c60: 2020 6e65 6967 6862 6f72 696e 6720 6f62 neighboring ob │ │ │ -00062c70: 6a65 6374 732e 0a0a 2020 2020 2222 220a jects... """. │ │ │ -00062c80: 0a20 2020 2074 6869 736f 776e 203d 2070 . thisown = p │ │ │ -00062c90: 726f 7065 7274 7928 6c61 6d62 6461 2078 roperty(lambda x │ │ │ -00062ca0: 3a20 782e 7468 6973 2e6f 776e 2829 2c20 : x.this.own(), │ │ │ -00062cb0: 6c61 6d62 6461 2078 2c20 763a 2078 2e74 lambda x, v: x.t │ │ │ -00062cc0: 6869 732e 6f77 6e28 7629 2c20 646f 633d his.own(v), doc= │ │ │ -00062cd0: 2254 6865 206d 656d 6265 7273 6869 7020 "The membership │ │ │ -00062ce0: 666c 6167 2229 0a20 2020 205f 5f72 6570 flag"). __rep │ │ │ -00062cf0: 725f 5f20 3d20 5f73 7769 675f 7265 7072 r__ = _swig_repr │ │ │ -00062d00: 0a0a 2020 2020 6465 6620 6472 6177 2873 .. def draw(s │ │ │ -00062d10: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00062d20: 2020 2020 2072 2222 2264 7261 7728 466c r"""draw(Fl │ │ │ -00062d30: 5f53 6372 6f6c 6c20 7365 6c66 2922 2222 _Scroll self)""" │ │ │ -00062d40: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00062d50: 5f66 6c74 6b2e 466c 5f53 6372 6f6c 6c5f _fltk.Fl_Scroll_ │ │ │ -00062d60: 6472 6177 2873 656c 662c 202a 6172 6773 draw(self, *args │ │ │ -00062d70: 290a 0a20 2020 2064 6566 2072 6573 697a ).. def resiz │ │ │ -00062d80: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ -00062d90: 2020 2020 2020 2020 7222 2222 7265 7369 r"""resi │ │ │ -00062da0: 7a65 2846 6c5f 5363 726f 6c6c 2073 656c ze(Fl_Scroll sel │ │ │ -00062db0: 662c 2069 6e74 2058 2c20 696e 7420 592c f, int X, int Y, │ │ │ -00062dc0: 2069 6e74 2057 2c20 696e 7420 4829 2222 int W, int H)"" │ │ │ -00062dd0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00062de0: 205f 666c 746b 2e46 6c5f 5363 726f 6c6c _fltk.Fl_Scroll │ │ │ -00062df0: 5f72 6573 697a 6528 7365 6c66 2c20 2a61 _resize(self, *a │ │ │ -00062e00: 7267 7329 0a0a 2020 2020 6465 6620 6861 rgs).. def ha │ │ │ -00062e10: 6e64 6c65 2873 656c 662c 202a 6172 6773 ndle(self, *args │ │ │ -00062e20: 293a 0a20 2020 2020 2020 2072 2222 2268 ):. r"""h │ │ │ -00062e30: 616e 646c 6528 466c 5f53 6372 6f6c 6c20 andle(Fl_Scroll │ │ │ -00062e40: 7365 6c66 2c20 696e 7420 6172 6730 2920 self, int arg0) │ │ │ -00062e50: 2d3e 2069 6e74 2222 220a 2020 2020 2020 -> int""". │ │ │ -00062e60: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -00062e70: 6c5f 5363 726f 6c6c 5f68 616e 646c 6528 l_Scroll_handle( │ │ │ -00062e80: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -00062e90: 2020 6465 6620 5f5f 696e 6974 5f5f 2873 def __init__(s │ │ │ -00062ea0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00062eb0: 2020 2020 2072 2222 225f 5f69 6e69 745f r"""__init_ │ │ │ -00062ec0: 5f28 466c 5f53 6372 6f6c 6c20 7365 6c66 _(Fl_Scroll self │ │ │ -00062ed0: 2c20 696e 7420 582c 2069 6e74 2059 2c20 , int X, int Y, │ │ │ -00062ee0: 696e 7420 572c 2069 6e74 2048 2c20 6368 int W, int H, ch │ │ │ -00062ef0: 6172 2063 6f6e 7374 202a 204c 3d4e 6f6e ar const * L=Non │ │ │ -00062f00: 6529 202d 3e20 466c 5f53 6372 6f6c 6c22 e) -> Fl_Scroll" │ │ │ -00062f10: 2222 0a20 2020 2020 2020 2069 6620 7365 "". if se │ │ │ -00062f20: 6c66 2e5f 5f63 6c61 7373 5f5f 203d 3d20 lf.__class__ == │ │ │ -00062f30: 466c 5f53 6372 6f6c 6c3a 0a20 2020 2020 Fl_Scroll:. │ │ │ -00062f40: 2020 2020 2020 205f 7365 6c66 203d 204e _self = N │ │ │ -00062f50: 6f6e 650a 2020 2020 2020 2020 656c 7365 one. else │ │ │ -00062f60: 3a0a 2020 2020 2020 2020 2020 2020 5f73 :. _s │ │ │ -00062f70: 656c 6620 3d20 7365 6c66 0a20 2020 2020 elf = self. │ │ │ -00062f80: 2020 205f 666c 746b 2e46 6c5f 5363 726f _fltk.Fl_Scro │ │ │ -00062f90: 6c6c 5f73 7769 6769 6e69 7428 7365 6c66 ll_swiginit(self │ │ │ -00062fa0: 2c20 5f66 6c74 6b2e 6e65 775f 466c 5f53 , _fltk.new_Fl_S │ │ │ -00062fb0: 6372 6f6c 6c28 5f73 656c 662c 202a 6172 croll(_self, *ar │ │ │ -00062fc0: 6773 2929 0a0a 2020 2020 2020 2020 6966 gs)).. if │ │ │ -00062fd0: 206c 656e 2861 7267 7329 203d 3d20 353a len(args) == 5: │ │ │ -00062fe0: 2020 2020 2020 2020 2020 0a20 2020 2020 . │ │ │ -00062ff0: 2020 2023 7265 7461 696e 2072 6566 6572 #retain refer │ │ │ -00063000: 656e 6365 2074 6f20 6c61 6265 6c0a 2020 ence to label. │ │ │ -00063010: 2020 2020 2020 2020 2020 7365 6c66 2e6d self.m │ │ │ -00063020: 795f 6c61 6265 6c20 3d20 6172 6773 5b2d y_label = args[- │ │ │ -00063030: 315d 0a20 2020 2020 2020 2069 6620 7365 1]. if se │ │ │ -00063040: 6c66 2e70 6172 656e 7428 2920 213d 204e lf.parent() != N │ │ │ -00063050: 6f6e 653a 2020 200a 2020 2020 2020 2020 one: . │ │ │ -00063060: 2364 656c 6567 6174 6520 6f77 6e65 7273 #delegate owners │ │ │ -00063070: 6869 7020 746f 2043 2b2b 0a20 2020 2020 hip to C++. │ │ │ -00063080: 2020 2020 2020 2073 656c 662e 7468 6973 self.this │ │ │ -00063090: 2e64 6973 6f77 6e28 290a 2020 2020 2020 .disown(). │ │ │ -000630a0: 2020 7365 6c66 2e69 6e69 745f 7479 7065 self.init_type │ │ │ -000630b0: 2822 466c 5f53 6372 6f6c 6c22 290a 2020 ("Fl_Scroll"). │ │ │ -000630c0: 2020 2020 2020 2370 7269 6e74 2822 4164 #print("Ad │ │ │ -000630d0: 6469 6e67 2074 7970 653a 2022 2c20 466c ding type: ", Fl │ │ │ -000630e0: 5f53 6372 6f6c 6c29 0a0a 0a0a 2020 2020 _Scroll).... │ │ │ -000630f0: 5f5f 7377 6967 5f64 6573 7472 6f79 5f5f __swig_destroy__ │ │ │ -00063100: 203d 205f 666c 746b 2e64 656c 6574 655f = _fltk.delete_ │ │ │ -00063110: 466c 5f53 6372 6f6c 6c0a 2020 2020 484f Fl_Scroll. HO │ │ │ -00063120: 5249 5a4f 4e54 414c 203d 205f 666c 746b RIZONTAL = _fltk │ │ │ -00063130: 2e46 6c5f 5363 726f 6c6c 5f48 4f52 495a .Fl_Scroll_HORIZ │ │ │ -00063140: 4f4e 5441 4c0a 2020 2020 0a20 2020 2056 ONTAL. . V │ │ │ -00063150: 4552 5449 4341 4c20 3d20 5f66 6c74 6b2e ERTICAL = _fltk. │ │ │ -00063160: 466c 5f53 6372 6f6c 6c5f 5645 5254 4943 Fl_Scroll_VERTIC │ │ │ -00063170: 414c 0a20 2020 200a 2020 2020 424f 5448 AL. . BOTH │ │ │ -00063180: 203d 205f 666c 746b 2e46 6c5f 5363 726f = _fltk.Fl_Scro │ │ │ -00063190: 6c6c 5f42 4f54 480a 2020 2020 0a20 2020 ll_BOTH. . │ │ │ -000631a0: 2041 4c57 4159 535f 4f4e 203d 205f 666c ALWAYS_ON = _fl │ │ │ -000631b0: 746b 2e46 6c5f 5363 726f 6c6c 5f41 4c57 tk.Fl_Scroll_ALW │ │ │ -000631c0: 4159 535f 4f4e 0a20 2020 200a 2020 2020 AYS_ON. . │ │ │ -000631d0: 484f 5249 5a4f 4e54 414c 5f41 4c57 4159 HORIZONTAL_ALWAY │ │ │ -000631e0: 5320 3d20 5f66 6c74 6b2e 466c 5f53 6372 S = _fltk.Fl_Scr │ │ │ -000631f0: 6f6c 6c5f 484f 5249 5a4f 4e54 414c 5f41 oll_HORIZONTAL_A │ │ │ -00063200: 4c57 4159 530a 2020 2020 0a20 2020 2056 LWAYS. . V │ │ │ -00063210: 4552 5449 4341 4c5f 414c 5741 5953 203d ERTICAL_ALWAYS = │ │ │ -00063220: 205f 666c 746b 2e46 6c5f 5363 726f 6c6c _fltk.Fl_Scroll │ │ │ -00063230: 5f56 4552 5449 4341 4c5f 414c 5741 5953 _VERTICAL_ALWAYS │ │ │ -00063240: 0a20 2020 200a 2020 2020 424f 5448 5f41 . . BOTH_A │ │ │ -00063250: 4c57 4159 5320 3d20 5f66 6c74 6b2e 466c LWAYS = _fltk.Fl │ │ │ -00063260: 5f53 6372 6f6c 6c5f 424f 5448 5f41 4c57 _Scroll_BOTH_ALW │ │ │ -00063270: 4159 530a 2020 2020 0a0a 2020 2020 6465 AYS. .. de │ │ │ -00063280: 6620 7870 6f73 6974 696f 6e28 7365 6c66 f xposition(self │ │ │ -00063290: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -000632a0: 2020 7222 2222 7870 6f73 6974 696f 6e28 r"""xposition( │ │ │ -000632b0: 466c 5f53 6372 6f6c 6c20 7365 6c66 2920 Fl_Scroll self) │ │ │ -000632c0: 2d3e 2069 6e74 2222 220a 2020 2020 2020 -> int""". │ │ │ -000632d0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -000632e0: 6c5f 5363 726f 6c6c 5f78 706f 7369 7469 l_Scroll_xpositi │ │ │ -000632f0: 6f6e 2873 656c 662c 202a 6172 6773 290a on(self, *args). │ │ │ -00063300: 0a20 2020 2064 6566 2079 706f 7369 7469 . def ypositi │ │ │ -00063310: 6f6e 2873 656c 662c 202a 6172 6773 293a on(self, *args): │ │ │ -00063320: 0a20 2020 2020 2020 2072 2222 2279 706f . r"""ypo │ │ │ -00063330: 7369 7469 6f6e 2846 6c5f 5363 726f 6c6c sition(Fl_Scroll │ │ │ -00063340: 2073 656c 6629 202d 3e20 696e 7422 2222 self) -> int""" │ │ │ -00063350: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00063360: 5f66 6c74 6b2e 466c 5f53 6372 6f6c 6c5f _fltk.Fl_Scroll_ │ │ │ -00063370: 7970 6f73 6974 696f 6e28 7365 6c66 2c20 yposition(self, │ │ │ -00063380: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -00063390: 7363 726f 6c6c 5f74 6f28 7365 6c66 2c20 scroll_to(self, │ │ │ -000633a0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -000633b0: 7222 2222 7363 726f 6c6c 5f74 6f28 466c r"""scroll_to(Fl │ │ │ -000633c0: 5f53 6372 6f6c 6c20 7365 6c66 2c20 696e _Scroll self, in │ │ │ -000633d0: 7420 6172 6732 2c20 696e 7420 6172 6733 t arg2, int arg3 │ │ │ -000633e0: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ -000633f0: 7572 6e20 5f66 6c74 6b2e 466c 5f53 6372 urn _fltk.Fl_Scr │ │ │ -00063400: 6f6c 6c5f 7363 726f 6c6c 5f74 6f28 7365 oll_scroll_to(se │ │ │ -00063410: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -00063420: 6465 6620 636c 6561 7228 7365 6c66 2c20 def clear(self, │ │ │ -00063430: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00063440: 7222 2222 636c 6561 7228 466c 5f53 6372 r"""clear(Fl_Scr │ │ │ -00063450: 6f6c 6c20 7365 6c66 2922 2222 0a20 2020 oll self)""". │ │ │ -00063460: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -00063470: 6b2e 466c 5f53 6372 6f6c 6c5f 636c 6561 k.Fl_Scroll_clea │ │ │ -00063480: 7228 7365 6c66 2c20 2a61 7267 7329 0a0a r(self, *args).. │ │ │ -00063490: 2020 2020 6465 6620 6465 6c65 7465 5f63 def delete_c │ │ │ -000634a0: 6869 6c64 2873 656c 662c 202a 6172 6773 hild(self, *args │ │ │ -000634b0: 293a 0a20 2020 2020 2020 2072 2222 2264 ):. r"""d │ │ │ -000634c0: 656c 6574 655f 6368 696c 6428 466c 5f53 elete_child(Fl_S │ │ │ -000634d0: 6372 6f6c 6c20 7365 6c66 2c20 696e 7420 croll self, int │ │ │ -000634e0: 6e29 202d 3e20 696e 7422 2222 0a20 2020 n) -> int""". │ │ │ -000634f0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -00063500: 6b2e 466c 5f53 6372 6f6c 6c5f 6465 6c65 k.Fl_Scroll_dele │ │ │ -00063510: 7465 5f63 6869 6c64 2873 656c 662c 202a te_child(self, * │ │ │ -00063520: 6172 6773 290a 0a20 2020 2064 6566 2073 args).. def s │ │ │ -00063530: 6372 6f6c 6c62 6172 5f73 697a 6528 7365 crollbar_size(se │ │ │ -00063540: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -00063550: 2020 2020 7222 2222 0a20 2020 2020 2020 r""". │ │ │ -00063560: 2073 6372 6f6c 6c62 6172 5f73 697a 6528 scrollbar_size( │ │ │ -00063570: 466c 5f53 6372 6f6c 6c20 7365 6c66 2920 Fl_Scroll self) │ │ │ -00063580: 2d3e 2069 6e74 0a20 2020 2020 2020 2073 -> int. s │ │ │ -00063590: 6372 6f6c 6c62 6172 5f73 697a 6528 466c crollbar_size(Fl │ │ │ -000635a0: 5f53 6372 6f6c 6c20 7365 6c66 2c20 696e _Scroll self, in │ │ │ -000635b0: 7420 6e65 7753 697a 6529 0a20 2020 2020 t newSize). │ │ │ -000635c0: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ -000635d0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f53 eturn _fltk.Fl_S │ │ │ -000635e0: 6372 6f6c 6c5f 7363 726f 6c6c 6261 725f croll_scrollbar_ │ │ │ -000635f0: 7369 7a65 2873 656c 662c 202a 6172 6773 size(self, *args │ │ │ -00063600: 290a 0a20 2020 2064 6566 2069 6e69 745f ).. def init_ │ │ │ -00063610: 7479 7065 2873 656c 662c 202a 6172 6773 type(self, *args │ │ │ -00063620: 293a 0a20 2020 2020 2020 2072 2222 2269 ):. r"""i │ │ │ -00063630: 6e69 745f 7479 7065 2846 6c5f 5363 726f nit_type(Fl_Scro │ │ │ -00063640: 6c6c 2073 656c 662c 2063 6861 7220 2a20 ll self, char * │ │ │ -00063650: 466c 5f53 6372 6f6c 6c29 2222 220a 2020 Fl_Scroll)""". │ │ │ -00063660: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00063670: 746b 2e46 6c5f 5363 726f 6c6c 5f69 6e69 tk.Fl_Scroll_ini │ │ │ -00063680: 745f 7479 7065 2873 656c 662c 202a 6172 t_type(self, *ar │ │ │ -00063690: 6773 290a 0a20 2020 2064 6566 2067 6574 gs).. def get │ │ │ -000636a0: 5363 726f 6c6c 6261 7228 7365 6c66 2c20 Scrollbar(self, │ │ │ -000636b0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -000636c0: 7222 2222 6765 7453 6372 6f6c 6c62 6172 r"""getScrollbar │ │ │ -000636d0: 2846 6c5f 5363 726f 6c6c 2073 656c 6629 (Fl_Scroll self) │ │ │ -000636e0: 202d 3e20 466c 5f53 6372 6f6c 6c62 6172 -> Fl_Scrollbar │ │ │ -000636f0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -00063700: 726e 205f 666c 746b 2e46 6c5f 5363 726f rn _fltk.Fl_Scro │ │ │ -00063710: 6c6c 5f67 6574 5363 726f 6c6c 6261 7228 ll_getScrollbar( │ │ │ -00063720: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -00063730: 2020 6465 6620 6765 7448 5363 726f 6c6c def getHScroll │ │ │ -00063740: 6261 7228 7365 6c66 2c20 2a61 7267 7329 bar(self, *args) │ │ │ -00063750: 3a0a 2020 2020 2020 2020 7222 2222 6765 :. r"""ge │ │ │ -00063760: 7448 5363 726f 6c6c 6261 7228 466c 5f53 tHScrollbar(Fl_S │ │ │ -00063770: 6372 6f6c 6c20 7365 6c66 2920 2d3e 2046 croll self) -> F │ │ │ -00063780: 6c5f 5363 726f 6c6c 6261 7222 2222 0a20 l_Scrollbar""". │ │ │ -00063790: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -000637a0: 6c74 6b2e 466c 5f53 6372 6f6c 6c5f 6765 ltk.Fl_Scroll_ge │ │ │ -000637b0: 7448 5363 726f 6c6c 6261 7228 7365 6c66 tHScrollbar(self │ │ │ -000637c0: 2c20 2a61 7267 7329 0a20 2020 2064 6566 , *args). def │ │ │ -000637d0: 205f 5f64 6973 6f77 6e5f 5f28 7365 6c66 __disown__(self │ │ │ -000637e0: 293a 0a20 2020 2020 2020 2073 656c 662e ):. self. │ │ │ -000637f0: 7468 6973 2e64 6973 6f77 6e28 290a 2020 this.disown(). │ │ │ -00063800: 2020 2020 2020 5f66 6c74 6b2e 6469 736f _fltk.diso │ │ │ -00063810: 776e 5f46 6c5f 5363 726f 6c6c 2873 656c wn_Fl_Scroll(sel │ │ │ -00063820: 6629 0a20 2020 2020 2020 2072 6574 7572 f). retur │ │ │ -00063830: 6e20 7765 616b 7265 662e 7072 6f78 7928 n weakref.proxy( │ │ │ -00063840: 7365 6c66 290a 0a23 2052 6567 6973 7465 self)..# Registe │ │ │ -00063850: 7220 466c 5f53 6372 6f6c 6c20 696e 205f r Fl_Scroll in _ │ │ │ -00063860: 666c 746b 3a0a 5f66 6c74 6b2e 466c 5f53 fltk:._fltk.Fl_S │ │ │ -00063870: 6372 6f6c 6c5f 7377 6967 7265 6769 7374 croll_swigregist │ │ │ -00063880: 6572 2846 6c5f 5363 726f 6c6c 290a 636c er(Fl_Scroll).cl │ │ │ -00063890: 6173 7320 466c 5f53 6368 656d 655f 4368 ass Fl_Scheme_Ch │ │ │ -000638a0: 6f69 6365 2846 6c5f 4368 6f69 6365 293a oice(Fl_Choice): │ │ │ -000638b0: 0a20 2020 2072 2222 220a 0a0a 0a20 2020 . r""".... │ │ │ -000638c0: 2022 2222 0a0a 2020 2020 7468 6973 6f77 """.. thisow │ │ │ -000638d0: 6e20 3d20 7072 6f70 6572 7479 286c 616d n = property(lam │ │ │ -000638e0: 6264 6120 783a 2078 2e74 6869 732e 6f77 bda x: x.this.ow │ │ │ -000638f0: 6e28 292c 206c 616d 6264 6120 782c 2076 n(), lambda x, v │ │ │ -00063900: 3a20 782e 7468 6973 2e6f 776e 2876 292c : x.this.own(v), │ │ │ -00063910: 2064 6f63 3d22 5468 6520 6d65 6d62 6572 doc="The member │ │ │ -00063920: 7368 6970 2066 6c61 6722 290a 2020 2020 ship flag"). │ │ │ -00063930: 5f5f 7265 7072 5f5f 203d 205f 7377 6967 __repr__ = _swig │ │ │ -00063940: 5f72 6570 720a 0a20 2020 2064 6566 205f _repr.. def _ │ │ │ -00063950: 5f69 6e69 745f 5f28 7365 6c66 2c20 2a61 _init__(self, *a │ │ │ -00063960: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00063970: 2222 5f5f 696e 6974 5f5f 2846 6c5f 5363 ""__init__(Fl_Sc │ │ │ -00063980: 6865 6d65 5f43 686f 6963 6520 7365 6c66 heme_Choice self │ │ │ -00063990: 2c20 696e 7420 582c 2069 6e74 2059 2c20 , int X, int Y, │ │ │ -000639a0: 696e 7420 572c 2069 6e74 2048 2c20 6368 int W, int H, ch │ │ │ -000639b0: 6172 2063 6f6e 7374 202a 204c 3d4e 6f6e ar const * L=Non │ │ │ -000639c0: 6529 202d 3e20 466c 5f53 6368 656d 655f e) -> Fl_Scheme_ │ │ │ -000639d0: 4368 6f69 6365 2222 220a 2020 2020 2020 Choice""". │ │ │ -000639e0: 2020 6966 2073 656c 662e 5f5f 636c 6173 if self.__clas │ │ │ -000639f0: 735f 5f20 3d3d 2046 6c5f 5363 6865 6d65 s__ == Fl_Scheme │ │ │ -00063a00: 5f43 686f 6963 653a 0a20 2020 2020 2020 _Choice:. │ │ │ -00063a10: 2020 2020 205f 7365 6c66 203d 204e 6f6e _self = Non │ │ │ -00063a20: 650a 2020 2020 2020 2020 656c 7365 3a0a e. else:. │ │ │ -00063a30: 2020 2020 2020 2020 2020 2020 5f73 656c _sel │ │ │ -00063a40: 6620 3d20 7365 6c66 0a20 2020 2020 2020 f = self. │ │ │ -00063a50: 205f 666c 746b 2e46 6c5f 5363 6865 6d65 _fltk.Fl_Scheme │ │ │ -00063a60: 5f43 686f 6963 655f 7377 6967 696e 6974 _Choice_swiginit │ │ │ -00063a70: 2873 656c 662c 205f 666c 746b 2e6e 6577 (self, _fltk.new │ │ │ -00063a80: 5f46 6c5f 5363 6865 6d65 5f43 686f 6963 _Fl_Scheme_Choic │ │ │ -00063a90: 6528 5f73 656c 662c 202a 6172 6773 2929 e(_self, *args)) │ │ │ -00063aa0: 0a0a 2020 2020 2020 2020 6966 206c 656e .. if len │ │ │ -00063ab0: 2861 7267 7329 203d 3d20 353a 2020 2020 (args) == 5: │ │ │ -00063ac0: 2020 2020 2020 0a20 2020 2020 2020 2023 . # │ │ │ -00063ad0: 7265 7461 696e 2072 6566 6572 656e 6365 retain reference │ │ │ -00063ae0: 2074 6f20 6c61 6265 6c0a 2020 2020 2020 to label. │ │ │ -00063af0: 2020 2020 2020 7365 6c66 2e6d 795f 6c61 self.my_la │ │ │ -00063b00: 6265 6c20 3d20 6172 6773 5b2d 315d 0a20 bel = args[-1]. │ │ │ -00063b10: 2020 2020 2020 2069 6620 7365 6c66 2e70 if self.p │ │ │ -00063b20: 6172 656e 7428 2920 213d 204e 6f6e 653a arent() != None: │ │ │ -00063b30: 2020 200a 2020 2020 2020 2020 2364 656c . #del │ │ │ -00063b40: 6567 6174 6520 6f77 6e65 7273 6869 7020 egate ownership │ │ │ -00063b50: 746f 2043 2b2b 0a20 2020 2020 2020 2020 to C++. │ │ │ -00063b60: 2020 2073 656c 662e 7468 6973 2e64 6973 self.this.dis │ │ │ -00063b70: 6f77 6e28 290a 2020 2020 2020 2020 7365 own(). se │ │ │ -00063b80: 6c66 2e69 6e69 745f 7479 7065 2822 466c lf.init_type("Fl │ │ │ -00063b90: 5f53 6368 656d 655f 4368 6f69 6365 2229 _Scheme_Choice") │ │ │ -00063ba0: 0a20 2020 2020 2020 2023 7072 696e 7428 . #print( │ │ │ -00063bb0: 2241 6464 696e 6720 7479 7065 3a20 222c "Adding type: ", │ │ │ -00063bc0: 2046 6c5f 5363 6865 6d65 5f43 686f 6963 Fl_Scheme_Choic │ │ │ -00063bd0: 6529 0a0a 0a0a 0a20 2020 2064 6566 2068 e)..... def h │ │ │ -00063be0: 616e 646c 6528 7365 6c66 2c20 2a61 7267 andle(self, *arg │ │ │ -00063bf0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -00063c00: 6861 6e64 6c65 2846 6c5f 5363 6865 6d65 handle(Fl_Scheme │ │ │ -00063c10: 5f43 686f 6963 6520 7365 6c66 2c20 696e _Choice self, in │ │ │ -00063c20: 7420 6576 656e 7429 202d 3e20 696e 7422 t event) -> int" │ │ │ -00063c30: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -00063c40: 6e20 5f66 6c74 6b2e 466c 5f53 6368 656d n _fltk.Fl_Schem │ │ │ -00063c50: 655f 4368 6f69 6365 5f68 616e 646c 6528 e_Choice_handle( │ │ │ -00063c60: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -00063c70: 2020 6465 6620 696e 6974 5f76 616c 7565 def init_value │ │ │ -00063c80: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -00063c90: 2020 2020 2020 2072 2222 2269 6e69 745f r"""init_ │ │ │ -00063ca0: 7661 6c75 6528 466c 5f53 6368 656d 655f value(Fl_Scheme_ │ │ │ -00063cb0: 4368 6f69 6365 2073 656c 6629 2222 220a Choice self)""". │ │ │ -00063cc0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00063cd0: 666c 746b 2e46 6c5f 5363 6865 6d65 5f43 fltk.Fl_Scheme_C │ │ │ -00063ce0: 686f 6963 655f 696e 6974 5f76 616c 7565 hoice_init_value │ │ │ -00063cf0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -00063d00: 2020 2064 6566 2069 6e69 745f 7479 7065 def init_type │ │ │ -00063d10: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -00063d20: 2020 2020 2020 2072 2222 2269 6e69 745f r"""init_ │ │ │ -00063d30: 7479 7065 2846 6c5f 5363 6865 6d65 5f43 type(Fl_Scheme_C │ │ │ -00063d40: 686f 6963 6520 7365 6c66 2c20 6368 6172 hoice self, char │ │ │ -00063d50: 202a 2046 6c5f 5363 6865 6d65 5f43 686f * Fl_Scheme_Cho │ │ │ -00063d60: 6963 6529 2222 220a 2020 2020 2020 2020 ice)""". │ │ │ -00063d70: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00063d80: 5363 6865 6d65 5f43 686f 6963 655f 696e Scheme_Choice_in │ │ │ -00063d90: 6974 5f74 7970 6528 7365 6c66 2c20 2a61 it_type(self, *a │ │ │ -00063da0: 7267 7329 0a20 2020 205f 5f73 7769 675f rgs). __swig_ │ │ │ -00063db0: 6465 7374 726f 795f 5f20 3d20 5f66 6c74 destroy__ = _flt │ │ │ -00063dc0: 6b2e 6465 6c65 7465 5f46 6c5f 5363 6865 k.delete_Fl_Sche │ │ │ -00063dd0: 6d65 5f43 686f 6963 650a 2020 2020 6465 me_Choice. de │ │ │ -00063de0: 6620 5f5f 6469 736f 776e 5f5f 2873 656c f __disown__(sel │ │ │ -00063df0: 6629 3a0a 2020 2020 2020 2020 7365 6c66 f):. self │ │ │ -00063e00: 2e74 6869 732e 6469 736f 776e 2829 0a20 .this.disown(). │ │ │ -00063e10: 2020 2020 2020 205f 666c 746b 2e64 6973 _fltk.dis │ │ │ -00063e20: 6f77 6e5f 466c 5f53 6368 656d 655f 4368 own_Fl_Scheme_Ch │ │ │ -00063e30: 6f69 6365 2873 656c 6629 0a20 2020 2020 oice(self). │ │ │ -00063e40: 2020 2072 6574 7572 6e20 7765 616b 7265 return weakre │ │ │ -00063e50: 662e 7072 6f78 7928 7365 6c66 290a 0a20 f.proxy(self).. │ │ │ -00063e60: 2020 2064 6566 2064 7261 7728 7365 6c66 def draw(self │ │ │ -00063e70: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -00063e80: 2020 7222 2222 6472 6177 2846 6c5f 5363 r"""draw(Fl_Sc │ │ │ -00063e90: 6865 6d65 5f43 686f 6963 6520 7365 6c66 heme_Choice self │ │ │ -00063ea0: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ -00063eb0: 7572 6e20 5f66 6c74 6b2e 466c 5f53 6368 urn _fltk.Fl_Sch │ │ │ -00063ec0: 656d 655f 4368 6f69 6365 5f64 7261 7728 eme_Choice_draw( │ │ │ -00063ed0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2320 self, *args)..# │ │ │ -00063ee0: 5265 6769 7374 6572 2046 6c5f 5363 6865 Register Fl_Sche │ │ │ -00063ef0: 6d65 5f43 686f 6963 6520 696e 205f 666c me_Choice in _fl │ │ │ -00063f00: 746b 3a0a 5f66 6c74 6b2e 466c 5f53 6368 tk:._fltk.Fl_Sch │ │ │ -00063f10: 656d 655f 4368 6f69 6365 5f73 7769 6772 eme_Choice_swigr │ │ │ -00063f20: 6567 6973 7465 7228 466c 5f53 6368 656d egister(Fl_Schem │ │ │ -00063f30: 655f 4368 6f69 6365 290a 636c 6173 7320 e_Choice).class │ │ │ -00063f40: 466c 5f53 6372 6f6c 6c62 6172 2846 6c5f Fl_Scrollbar(Fl_ │ │ │ -00063f50: 536c 6964 6572 293a 0a20 2020 2072 2222 Slider):. r"" │ │ │ -00063f60: 220a 0a20 2020 2054 6865 2046 6c5f 5363 ".. The Fl_Sc │ │ │ -00063f70: 726f 6c6c 6261 7220 7769 6467 6574 2064 rollbar widget d │ │ │ -00063f80: 6973 706c 6179 7320 6120 736c 6964 6572 isplays a slider │ │ │ -00063f90: 2077 6974 6820 6172 726f 7720 6275 7474 with arrow butt │ │ │ -00063fa0: 6f6e 7320 6174 2074 6865 2065 6e64 7320 ons at the ends │ │ │ -00063fb0: 0a20 2020 206f 6620 7468 6520 7363 726f . of the scro │ │ │ -00063fc0: 6c6c 6261 722e 2043 6c69 636b 696e 6720 llbar. Clicking │ │ │ -00063fd0: 6f6e 2074 6865 2061 7272 6f77 7320 6d6f on the arrows mo │ │ │ -00063fe0: 7665 2075 702f 6c65 6674 2061 6e64 2064 ve up/left and d │ │ │ -00063ff0: 6f77 6e2f 7269 6768 7420 6279 200a 2020 own/right by . │ │ │ -00064000: 2020 6c69 6e65 7369 7a65 2829 2e20 5363 linesize(). Sc │ │ │ -00064010: 726f 6c6c 6261 7273 2061 6c73 6f20 6163 rollbars also ac │ │ │ -00064020: 6365 7074 2046 4c5f 5348 4f52 5443 5554 cept FL_SHORTCUT │ │ │ -00064030: 2065 7665 6e74 733a 2074 6865 2061 7272 events: the arr │ │ │ -00064040: 6f77 7320 6d6f 7665 2062 7920 0a20 2020 ows move by . │ │ │ -00064050: 206c 696e 6573 697a 6528 292c 2061 6e64 linesize(), and │ │ │ -00064060: 2076 6572 7469 6361 6c20 7363 726f 6c6c vertical scroll │ │ │ -00064070: 6261 7273 2074 616b 6520 5061 6765 2055 bars take Page U │ │ │ -00064080: 702f 446f 776e 2028 7468 6579 206d 6f76 p/Down (they mov │ │ │ -00064090: 6520 6279 2074 6865 200a 2020 2020 7061 e by the . pa │ │ │ -000640a0: 6765 2073 697a 6520 6d69 6e75 7320 6c69 ge size minus li │ │ │ -000640b0: 6e65 7369 7a65 2829 2920 616e 6420 486f nesize()) and Ho │ │ │ -000640c0: 6d65 2f45 6e64 2028 7468 6579 206a 756d me/End (they jum │ │ │ -000640d0: 7020 746f 2074 6865 2074 6f70 206f 7220 p to the top or │ │ │ -000640e0: 626f 7474 6f6d 292e 0a0a 2020 2020 5363 bottom)... Sc │ │ │ -000640f0: 726f 6c6c 6261 7273 2068 6176 6520 7374 rollbars have st │ │ │ -00064100: 6570 2831 2920 7072 6573 6574 2028 7468 ep(1) preset (th │ │ │ -00064110: 6579 2061 6c77 6179 7320 7265 7475 726e ey always return │ │ │ -00064120: 2069 6e74 6567 6572 7329 2e20 4966 2064 integers). If d │ │ │ -00064130: 6573 6972 6564 200a 2020 2020 796f 7520 esired . you │ │ │ -00064140: 6361 6e20 7365 7420 7468 6520 7374 6570 can set the step │ │ │ -00064150: 2829 2074 6f20 6e6f 6e2d 696e 7465 6765 () to non-intege │ │ │ -00064160: 7220 7661 6c75 6573 2e20 596f 7520 7769 r values. You wi │ │ │ -00064170: 6c6c 2074 6865 6e20 6861 7665 2074 6f20 ll then have to │ │ │ -00064180: 7573 6520 0a20 2020 2063 6173 7473 2074 use . casts t │ │ │ -00064190: 6f20 6765 7420 6174 2074 6865 2066 6c6f o get at the flo │ │ │ -000641a0: 6174 696e 672d 706f 696e 7420 7665 7273 ating-point vers │ │ │ -000641b0: 696f 6e73 206f 6620 7661 6c75 6528 2920 ions of value() │ │ │ -000641c0: 6672 6f6d 2046 6c5f 536c 6964 6572 2e20 from Fl_Slider. │ │ │ -000641d0: 0a0a 2020 2020 2222 220a 0a20 2020 2074 .. """.. t │ │ │ -000641e0: 6869 736f 776e 203d 2070 726f 7065 7274 hisown = propert │ │ │ -000641f0: 7928 6c61 6d62 6461 2078 3a20 782e 7468 y(lambda x: x.th │ │ │ -00064200: 6973 2e6f 776e 2829 2c20 6c61 6d62 6461 is.own(), lambda │ │ │ -00064210: 2078 2c20 763a 2078 2e74 6869 732e 6f77 x, v: x.this.ow │ │ │ -00064220: 6e28 7629 2c20 646f 633d 2254 6865 206d n(v), doc="The m │ │ │ -00064230: 656d 6265 7273 6869 7020 666c 6167 2229 embership flag") │ │ │ -00064240: 0a20 2020 205f 5f72 6570 725f 5f20 3d20 . __repr__ = │ │ │ -00064250: 5f73 7769 675f 7265 7072 0a0a 2020 2020 _swig_repr.. │ │ │ -00064260: 6465 6620 6472 6177 2873 656c 662c 202a def draw(self, * │ │ │ -00064270: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00064280: 2222 2264 7261 7728 466c 5f53 6372 6f6c """draw(Fl_Scrol │ │ │ -00064290: 6c62 6172 2073 656c 6629 2222 220a 2020 lbar self)""". │ │ │ -000642a0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -000642b0: 746b 2e46 6c5f 5363 726f 6c6c 6261 725f tk.Fl_Scrollbar_ │ │ │ -000642c0: 6472 6177 2873 656c 662c 202a 6172 6773 draw(self, *args │ │ │ -000642d0: 290a 0a20 2020 2064 6566 205f 5f69 6e69 ).. def __ini │ │ │ -000642e0: 745f 5f28 7365 6c66 2c20 2a61 7267 7329 t__(self, *args) │ │ │ -000642f0: 3a0a 2020 2020 2020 2020 7222 2222 5f5f :. r"""__ │ │ │ -00064300: 696e 6974 5f5f 2846 6c5f 5363 726f 6c6c init__(Fl_Scroll │ │ │ -00064310: 6261 7220 7365 6c66 2c20 696e 7420 582c bar self, int X, │ │ │ -00064320: 2069 6e74 2059 2c20 696e 7420 572c 2069 int Y, int W, i │ │ │ -00064330: 6e74 2048 2c20 6368 6172 2063 6f6e 7374 nt H, char const │ │ │ -00064340: 202a 204c 3d4e 6f6e 6529 202d 3e20 466c * L=None) -> Fl │ │ │ -00064350: 5f53 6372 6f6c 6c62 6172 2222 220a 2020 _Scrollbar""". │ │ │ -00064360: 2020 2020 2020 6966 2073 656c 662e 5f5f if self.__ │ │ │ -00064370: 636c 6173 735f 5f20 3d3d 2046 6c5f 5363 class__ == Fl_Sc │ │ │ -00064380: 726f 6c6c 6261 723a 0a20 2020 2020 2020 rollbar:. │ │ │ -00064390: 2020 2020 205f 7365 6c66 203d 204e 6f6e _self = Non │ │ │ -000643a0: 650a 2020 2020 2020 2020 656c 7365 3a0a e. else:. │ │ │ -000643b0: 2020 2020 2020 2020 2020 2020 5f73 656c _sel │ │ │ -000643c0: 6620 3d20 7365 6c66 0a20 2020 2020 2020 f = self. │ │ │ -000643d0: 205f 666c 746b 2e46 6c5f 5363 726f 6c6c _fltk.Fl_Scroll │ │ │ -000643e0: 6261 725f 7377 6967 696e 6974 2873 656c bar_swiginit(sel │ │ │ -000643f0: 662c 205f 666c 746b 2e6e 6577 5f46 6c5f f, _fltk.new_Fl_ │ │ │ -00064400: 5363 726f 6c6c 6261 7228 5f73 656c 662c Scrollbar(_self, │ │ │ -00064410: 202a 6172 6773 2929 0a0a 2020 2020 2020 *args)).. │ │ │ -00064420: 2020 6966 206c 656e 2861 7267 7329 203d if len(args) = │ │ │ -00064430: 3d20 353a 2020 2020 2020 2020 2020 0a20 = 5: . │ │ │ -00064440: 2020 2020 2020 2023 7265 7461 696e 2072 #retain r │ │ │ -00064450: 6566 6572 656e 6365 2074 6f20 6c61 6265 eference to labe │ │ │ -00064460: 6c0a 2020 2020 2020 2020 2020 2020 7365 l. se │ │ │ -00064470: 6c66 2e6d 795f 6c61 6265 6c20 3d20 6172 lf.my_label = ar │ │ │ -00064480: 6773 5b2d 315d 0a20 2020 2020 2020 2069 gs[-1]. i │ │ │ -00064490: 6620 7365 6c66 2e70 6172 656e 7428 2920 f self.parent() │ │ │ -000644a0: 213d 204e 6f6e 653a 2020 200a 2020 2020 != None: . │ │ │ -000644b0: 2020 2020 2364 656c 6567 6174 6520 6f77 #delegate ow │ │ │ -000644c0: 6e65 7273 6869 7020 746f 2043 2b2b 0a20 nership to C++. │ │ │ -000644d0: 2020 2020 2020 2020 2020 2073 656c 662e self. │ │ │ -000644e0: 7468 6973 2e64 6973 6f77 6e28 290a 2020 this.disown(). │ │ │ -000644f0: 2020 2020 2020 7365 6c66 2e69 6e69 745f self.init_ │ │ │ -00064500: 7479 7065 2822 466c 5f53 6372 6f6c 6c62 type("Fl_Scrollb │ │ │ -00064510: 6172 2229 0a20 2020 2020 2020 2023 7072 ar"). #pr │ │ │ -00064520: 696e 7428 2241 6464 696e 6720 7479 7065 int("Adding type │ │ │ -00064530: 3a20 222c 2046 6c5f 5363 726f 6c6c 6261 : ", Fl_Scrollba │ │ │ -00064540: 7229 0a0a 0a0a 2020 2020 5f5f 7377 6967 r).... __swig │ │ │ -00064550: 5f64 6573 7472 6f79 5f5f 203d 205f 666c _destroy__ = _fl │ │ │ -00064560: 746b 2e64 656c 6574 655f 466c 5f53 6372 tk.delete_Fl_Scr │ │ │ -00064570: 6f6c 6c62 6172 0a0a 2020 2020 6465 6620 ollbar.. def │ │ │ -00064580: 6861 6e64 6c65 2873 656c 662c 202a 6172 handle(self, *ar │ │ │ -00064590: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -000645a0: 2268 616e 646c 6528 466c 5f53 6372 6f6c "handle(Fl_Scrol │ │ │ -000645b0: 6c62 6172 2073 656c 662c 2069 6e74 2061 lbar self, int a │ │ │ -000645c0: 7267 3029 202d 3e20 696e 7422 2222 0a20 rg0) -> int""". │ │ │ -000645d0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -000645e0: 6c74 6b2e 466c 5f53 6372 6f6c 6c62 6172 ltk.Fl_Scrollbar │ │ │ -000645f0: 5f68 616e 646c 6528 7365 6c66 2c20 2a61 _handle(self, *a │ │ │ -00064600: 7267 7329 0a0a 2020 2020 6465 6620 7661 rgs).. def va │ │ │ -00064610: 6c75 6528 7365 6c66 2c20 2a61 7267 7329 lue(self, *args) │ │ │ -00064620: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ -00064630: 2020 2020 2020 2076 616c 7565 2846 6c5f value(Fl_ │ │ │ -00064640: 5363 726f 6c6c 6261 7220 7365 6c66 2920 Scrollbar self) │ │ │ -00064650: 2d3e 2069 6e74 0a20 2020 2020 2020 2076 -> int. v │ │ │ -00064660: 616c 7565 2846 6c5f 5363 726f 6c6c 6261 alue(Fl_Scrollba │ │ │ -00064670: 7220 7365 6c66 2c20 696e 7420 7029 202d r self, int p) - │ │ │ -00064680: 3e20 696e 740a 2020 2020 2020 2020 7661 > int. va │ │ │ -00064690: 6c75 6528 466c 5f53 6372 6f6c 6c62 6172 lue(Fl_Scrollbar │ │ │ -000646a0: 2073 656c 662c 2069 6e74 2070 6f73 2c20 self, int pos, │ │ │ -000646b0: 696e 7420 7769 6e64 6f77 5369 7a65 2c20 int windowSize, │ │ │ -000646c0: 696e 7420 6669 7273 745f 6c69 6e65 2c20 int first_line, │ │ │ -000646d0: 696e 7420 746f 7461 6c5f 6c69 6e65 7329 int total_lines) │ │ │ -000646e0: 202d 3e20 696e 740a 2020 2020 2020 2020 -> int. │ │ │ -000646f0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -00064700: 726e 205f 666c 746b 2e46 6c5f 5363 726f rn _fltk.Fl_Scro │ │ │ -00064710: 6c6c 6261 725f 7661 6c75 6528 7365 6c66 llbar_value(self │ │ │ -00064720: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -00064730: 6620 6c69 6e65 7369 7a65 2873 656c 662c f linesize(self, │ │ │ -00064740: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00064750: 2072 2222 220a 2020 2020 2020 2020 6c69 r""". li │ │ │ -00064760: 6e65 7369 7a65 2846 6c5f 5363 726f 6c6c nesize(Fl_Scroll │ │ │ -00064770: 6261 7220 7365 6c66 2920 2d3e 2069 6e74 bar self) -> int │ │ │ -00064780: 0a20 2020 2020 2020 206c 696e 6573 697a . linesiz │ │ │ -00064790: 6528 466c 5f53 6372 6f6c 6c62 6172 2073 e(Fl_Scrollbar s │ │ │ -000647a0: 656c 662c 2069 6e74 2069 290a 2020 2020 elf, int i). │ │ │ -000647b0: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ -000647c0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -000647d0: 5363 726f 6c6c 6261 725f 6c69 6e65 7369 Scrollbar_linesi │ │ │ -000647e0: 7a65 2873 656c 662c 202a 6172 6773 290a ze(self, *args). │ │ │ -000647f0: 0a20 2020 2064 6566 2069 6e69 745f 7479 . def init_ty │ │ │ -00064800: 7065 2873 656c 662c 202a 6172 6773 293a pe(self, *args): │ │ │ -00064810: 0a20 2020 2020 2020 2072 2222 2269 6e69 . r"""ini │ │ │ -00064820: 745f 7479 7065 2846 6c5f 5363 726f 6c6c t_type(Fl_Scroll │ │ │ -00064830: 6261 7220 7365 6c66 2c20 6368 6172 202a bar self, char * │ │ │ -00064840: 2046 6c5f 5363 726f 6c6c 6261 7229 2222 Fl_Scrollbar)"" │ │ │ -00064850: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00064860: 205f 666c 746b 2e46 6c5f 5363 726f 6c6c _fltk.Fl_Scroll │ │ │ -00064870: 6261 725f 696e 6974 5f74 7970 6528 7365 bar_init_type(se │ │ │ -00064880: 6c66 2c20 2a61 7267 7329 0a20 2020 2064 lf, *args). d │ │ │ -00064890: 6566 205f 5f64 6973 6f77 6e5f 5f28 7365 ef __disown__(se │ │ │ -000648a0: 6c66 293a 0a20 2020 2020 2020 2073 656c lf):. sel │ │ │ -000648b0: 662e 7468 6973 2e64 6973 6f77 6e28 290a f.this.disown(). │ │ │ -000648c0: 2020 2020 2020 2020 5f66 6c74 6b2e 6469 _fltk.di │ │ │ -000648d0: 736f 776e 5f46 6c5f 5363 726f 6c6c 6261 sown_Fl_Scrollba │ │ │ -000648e0: 7228 7365 6c66 290a 2020 2020 2020 2020 r(self). │ │ │ -000648f0: 7265 7475 726e 2077 6561 6b72 6566 2e70 return weakref.p │ │ │ -00064900: 726f 7879 2873 656c 6629 0a0a 2320 5265 roxy(self)..# Re │ │ │ -00064910: 6769 7374 6572 2046 6c5f 5363 726f 6c6c gister Fl_Scroll │ │ │ -00064920: 6261 7220 696e 205f 666c 746b 3a0a 5f66 bar in _fltk:._f │ │ │ -00064930: 6c74 6b2e 466c 5f53 6372 6f6c 6c62 6172 ltk.Fl_Scrollbar │ │ │ -00064940: 5f73 7769 6772 6567 6973 7465 7228 466c _swigregister(Fl │ │ │ -00064950: 5f53 6372 6f6c 6c62 6172 290a 636c 6173 _Scrollbar).clas │ │ │ -00064960: 7320 466c 5f53 6563 7265 745f 496e 7075 s Fl_Secret_Inpu │ │ │ -00064970: 7428 466c 5f49 6e70 7574 293a 0a20 2020 t(Fl_Input):. │ │ │ -00064980: 2072 2222 220a 0a20 2020 2054 6865 2046 r""".. The F │ │ │ -00064990: 6c5f 5365 6372 6574 5f49 6e70 7574 2063 l_Secret_Input c │ │ │ -000649a0: 6c61 7373 2069 7320 6120 7375 6263 6c61 lass is a subcla │ │ │ -000649b0: 7373 206f 6620 466c 5f49 6e70 7574 2020 ss of Fl_Input │ │ │ -000649c0: 7468 6174 2064 6973 706c 6179 7320 6974 that displays it │ │ │ -000649d0: 7320 696e 7075 7420 0a20 2020 2061 7320 s input . as │ │ │ -000649e0: 6120 7374 7269 6e67 206f 6620 6173 7465 a string of aste │ │ │ -000649f0: 7269 736b 732e 2054 6869 7320 7375 6263 risks. This subc │ │ │ -00064a00: 6c61 7373 2069 7320 7573 7561 6c6c 7920 lass is usually │ │ │ -00064a10: 7573 6564 2074 6f20 7265 6365 6976 6520 used to receive │ │ │ -00064a20: 7061 7373 776f 7264 7320 0a20 2020 2061 passwords . a │ │ │ -00064a30: 6e64 206f 7468 6572 2027 7365 6372 6574 nd other 'secret │ │ │ -00064a40: 2720 696e 666f 726d 6174 696f 6e2e 0a0a ' information... │ │ │ -00064a50: 2020 2020 2222 220a 0a20 2020 2074 6869 """.. thi │ │ │ -00064a60: 736f 776e 203d 2070 726f 7065 7274 7928 sown = property( │ │ │ -00064a70: 6c61 6d62 6461 2078 3a20 782e 7468 6973 lambda x: x.this │ │ │ -00064a80: 2e6f 776e 2829 2c20 6c61 6d62 6461 2078 .own(), lambda x │ │ │ -00064a90: 2c20 763a 2078 2e74 6869 732e 6f77 6e28 , v: x.this.own( │ │ │ -00064aa0: 7629 2c20 646f 633d 2254 6865 206d 656d v), doc="The mem │ │ │ -00064ab0: 6265 7273 6869 7020 666c 6167 2229 0a20 bership flag"). │ │ │ -00064ac0: 2020 205f 5f72 6570 725f 5f20 3d20 5f73 __repr__ = _s │ │ │ -00064ad0: 7769 675f 7265 7072 0a0a 2020 2020 6465 wig_repr.. de │ │ │ -00064ae0: 6620 5f5f 696e 6974 5f5f 2873 656c 662c f __init__(self, │ │ │ -00064af0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00064b00: 2072 2222 225f 5f69 6e69 745f 5f28 466c r"""__init__(Fl │ │ │ -00064b10: 5f53 6563 7265 745f 496e 7075 7420 7365 _Secret_Input se │ │ │ -00064b20: 6c66 2c20 696e 7420 582c 2069 6e74 2059 lf, int X, int Y │ │ │ -00064b30: 2c20 696e 7420 572c 2069 6e74 2048 2c20 , int W, int H, │ │ │ -00064b40: 6368 6172 2063 6f6e 7374 202a 206c 3d4e char const * l=N │ │ │ -00064b50: 6f6e 6529 202d 3e20 466c 5f53 6563 7265 one) -> Fl_Secre │ │ │ -00064b60: 745f 496e 7075 7422 2222 0a20 2020 2020 t_Input""". │ │ │ -00064b70: 2020 2069 6620 7365 6c66 2e5f 5f63 6c61 if self.__cla │ │ │ -00064b80: 7373 5f5f 203d 3d20 466c 5f53 6563 7265 ss__ == Fl_Secre │ │ │ -00064b90: 745f 496e 7075 743a 0a20 2020 2020 2020 t_Input:. │ │ │ -00064ba0: 2020 2020 205f 7365 6c66 203d 204e 6f6e _self = Non │ │ │ -00064bb0: 650a 2020 2020 2020 2020 656c 7365 3a0a e. else:. │ │ │ -00064bc0: 2020 2020 2020 2020 2020 2020 5f73 656c _sel │ │ │ -00064bd0: 6620 3d20 7365 6c66 0a20 2020 2020 2020 f = self. │ │ │ -00064be0: 205f 666c 746b 2e46 6c5f 5365 6372 6574 _fltk.Fl_Secret │ │ │ -00064bf0: 5f49 6e70 7574 5f73 7769 6769 6e69 7428 _Input_swiginit( │ │ │ -00064c00: 7365 6c66 2c20 5f66 6c74 6b2e 6e65 775f self, _fltk.new_ │ │ │ -00064c10: 466c 5f53 6563 7265 745f 496e 7075 7428 Fl_Secret_Input( │ │ │ -00064c20: 5f73 656c 662c 202a 6172 6773 2929 0a0a _self, *args)).. │ │ │ -00064c30: 2020 2020 2020 2020 6966 206c 656e 2861 if len(a │ │ │ -00064c40: 7267 7329 203d 3d20 353a 2020 2020 2020 rgs) == 5: │ │ │ -00064c50: 2020 2020 0a20 2020 2020 2020 2023 7265 . #re │ │ │ -00064c60: 7461 696e 2072 6566 6572 656e 6365 2074 tain reference t │ │ │ -00064c70: 6f20 6c61 6265 6c0a 2020 2020 2020 2020 o label. │ │ │ -00064c80: 2020 2020 7365 6c66 2e6d 795f 6c61 6265 self.my_labe │ │ │ -00064c90: 6c20 3d20 6172 6773 5b2d 315d 0a20 2020 l = args[-1]. │ │ │ -00064ca0: 2020 2020 2069 6620 7365 6c66 2e70 6172 if self.par │ │ │ -00064cb0: 656e 7428 2920 213d 204e 6f6e 653a 2020 ent() != None: │ │ │ -00064cc0: 200a 2020 2020 2020 2020 2364 656c 6567 . #deleg │ │ │ -00064cd0: 6174 6520 6f77 6e65 7273 6869 7020 746f ate ownership to │ │ │ -00064ce0: 2043 2b2b 0a20 2020 2020 2020 2020 2020 C++. │ │ │ -00064cf0: 2073 656c 662e 7468 6973 2e64 6973 6f77 self.this.disow │ │ │ -00064d00: 6e28 290a 2020 2020 2020 2020 7365 6c66 n(). self │ │ │ -00064d10: 2e69 6e69 745f 7479 7065 2822 466c 5f53 .init_type("Fl_S │ │ │ -00064d20: 6563 7265 745f 496e 7075 7422 290a 2020 ecret_Input"). │ │ │ -00064d30: 2020 2020 2020 2370 7269 6e74 2822 4164 #print("Ad │ │ │ -00064d40: 6469 6e67 2074 7970 653a 2022 2c20 466c ding type: ", Fl │ │ │ -00064d50: 5f53 6563 7265 745f 496e 7075 7429 0a0a _Secret_Input).. │ │ │ -00064d60: 0a0a 0a20 2020 2064 6566 2068 616e 646c ... def handl │ │ │ -00064d70: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ -00064d80: 2020 2020 2020 2020 7222 2222 6861 6e64 r"""hand │ │ │ -00064d90: 6c65 2846 6c5f 5365 6372 6574 5f49 6e70 le(Fl_Secret_Inp │ │ │ -00064da0: 7574 2073 656c 662c 2069 6e74 2061 7267 ut self, int arg │ │ │ -00064db0: 3029 202d 3e20 696e 7422 2222 0a20 2020 0) -> int""". │ │ │ -00064dc0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -00064dd0: 6b2e 466c 5f53 6563 7265 745f 496e 7075 k.Fl_Secret_Inpu │ │ │ -00064de0: 745f 6861 6e64 6c65 2873 656c 662c 202a t_handle(self, * │ │ │ -00064df0: 6172 6773 290a 0a20 2020 2064 6566 2069 args).. def i │ │ │ -00064e00: 6e69 745f 7479 7065 2873 656c 662c 202a nit_type(self, * │ │ │ -00064e10: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00064e20: 2222 2269 6e69 745f 7479 7065 2846 6c5f """init_type(Fl_ │ │ │ -00064e30: 5365 6372 6574 5f49 6e70 7574 2073 656c Secret_Input sel │ │ │ -00064e40: 662c 2063 6861 7220 2a20 466c 5f53 6563 f, char * Fl_Sec │ │ │ -00064e50: 7265 745f 496e 7075 7429 2222 220a 2020 ret_Input)""". │ │ │ -00064e60: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00064e70: 746b 2e46 6c5f 5365 6372 6574 5f49 6e70 tk.Fl_Secret_Inp │ │ │ -00064e80: 7574 5f69 6e69 745f 7479 7065 2873 656c ut_init_type(sel │ │ │ -00064e90: 662c 202a 6172 6773 290a 2020 2020 5f5f f, *args). __ │ │ │ -00064ea0: 7377 6967 5f64 6573 7472 6f79 5f5f 203d swig_destroy__ = │ │ │ -00064eb0: 205f 666c 746b 2e64 656c 6574 655f 466c _fltk.delete_Fl │ │ │ -00064ec0: 5f53 6563 7265 745f 496e 7075 740a 2020 _Secret_Input. │ │ │ -00064ed0: 2020 6465 6620 5f5f 6469 736f 776e 5f5f def __disown__ │ │ │ -00064ee0: 2873 656c 6629 3a0a 2020 2020 2020 2020 (self):. │ │ │ -00064ef0: 7365 6c66 2e74 6869 732e 6469 736f 776e self.this.disown │ │ │ -00064f00: 2829 0a20 2020 2020 2020 205f 666c 746b (). _fltk │ │ │ -00064f10: 2e64 6973 6f77 6e5f 466c 5f53 6563 7265 .disown_Fl_Secre │ │ │ -00064f20: 745f 496e 7075 7428 7365 6c66 290a 2020 t_Input(self). │ │ │ -00064f30: 2020 2020 2020 7265 7475 726e 2077 6561 return wea │ │ │ -00064f40: 6b72 6566 2e70 726f 7879 2873 656c 6629 kref.proxy(self) │ │ │ -00064f50: 0a0a 2020 2020 6465 6620 6472 6177 2873 .. def draw(s │ │ │ -00064f60: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00064f70: 2020 2020 2072 2222 2264 7261 7728 466c r"""draw(Fl │ │ │ -00064f80: 5f53 6563 7265 745f 496e 7075 7420 7365 _Secret_Input se │ │ │ -00064f90: 6c66 2922 2222 0a20 2020 2020 2020 2072 lf)""". r │ │ │ -00064fa0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f53 eturn _fltk.Fl_S │ │ │ -00064fb0: 6563 7265 745f 496e 7075 745f 6472 6177 ecret_Input_draw │ │ │ -00064fc0: 2873 656c 662c 202a 6172 6773 290a 0a23 (self, *args)..# │ │ │ -00064fd0: 2052 6567 6973 7465 7220 466c 5f53 6563 Register Fl_Sec │ │ │ -00064fe0: 7265 745f 496e 7075 7420 696e 205f 666c ret_Input in _fl │ │ │ -00064ff0: 746b 3a0a 5f66 6c74 6b2e 466c 5f53 6563 tk:._fltk.Fl_Sec │ │ │ -00065000: 7265 745f 496e 7075 745f 7377 6967 7265 ret_Input_swigre │ │ │ -00065010: 6769 7374 6572 2846 6c5f 5365 6372 6574 gister(Fl_Secret │ │ │ -00065020: 5f49 6e70 7574 290a 636c 6173 7320 466c _Input).class Fl │ │ │ -00065030: 5f53 656c 6563 745f 4272 6f77 7365 7228 _Select_Browser( │ │ │ -00065040: 466c 5f42 726f 7773 6572 293a 0a20 2020 Fl_Browser):. │ │ │ -00065050: 2072 2222 220a 0a20 2020 2054 6865 2046 r""".. The F │ │ │ -00065060: 6c5f 5365 6c65 6374 5f42 726f 7773 6572 l_Select_Browser │ │ │ -00065070: 2063 6c61 7373 2069 7320 6120 7375 6263 class is a subc │ │ │ -00065080: 6c61 7373 206f 6620 466c 5f42 726f 7773 lass of Fl_Brows │ │ │ -00065090: 6572 2020 7768 6963 6820 6c65 7473 2074 er which lets t │ │ │ -000650a0: 6865 200a 2020 2020 7573 6572 2073 656c he . user sel │ │ │ -000650b0: 6563 7420 6120 7369 6e67 6c65 2069 7465 ect a single ite │ │ │ -000650c0: 6d2c 206f 7220 6e6f 2069 7465 6d73 2062 m, or no items b │ │ │ -000650d0: 7920 636c 6963 6b69 6e67 206f 6e20 7468 y clicking on th │ │ │ -000650e0: 6520 656d 7074 7920 7370 6163 652e 2041 e empty space. A │ │ │ -000650f0: 7320 0a20 2020 206c 6f6e 6720 6173 2074 s . long as t │ │ │ -00065100: 6865 206d 6f75 7365 2062 7574 746f 6e20 he mouse button │ │ │ -00065110: 6973 2068 656c 6420 646f 776e 2074 6865 is held down the │ │ │ -00065120: 2069 7465 6d20 706f 696e 7465 6420 746f item pointed to │ │ │ -00065130: 2062 7920 6974 2069 7320 0a20 2020 2068 by it is . h │ │ │ -00065140: 6967 686c 6967 6874 6564 2e20 4e6f 726d ighlighted. Norm │ │ │ -00065150: 616c 6c79 2074 6865 2063 616c 6c62 6163 ally the callbac │ │ │ -00065160: 6b20 6973 2064 6f6e 6520 7768 656e 2074 k is done when t │ │ │ -00065170: 6865 2075 7365 7220 7072 6573 7365 7320 he user presses │ │ │ -00065180: 7468 6520 6d6f 7573 652c 200a 2020 2020 the mouse, . │ │ │ -00065190: 6275 7420 796f 7520 6361 6e20 6368 616e but you can chan │ │ │ -000651a0: 6765 2074 6869 7320 7769 7468 2077 6865 ge this with whe │ │ │ -000651b0: 6e28 292e 0a0a 2020 2020 5365 6520 466c n()... See Fl │ │ │ -000651c0: 5f42 726f 7773 6572 2066 6f72 206d 6574 _Browser for met │ │ │ -000651d0: 686f 6473 2074 6f20 6164 6420 616e 6420 hods to add and │ │ │ -000651e0: 7265 6d6f 7665 206c 696e 6573 2066 726f remove lines fro │ │ │ -000651f0: 6d20 7468 6520 6272 6f77 7365 722e 200a m the browser. . │ │ │ -00065200: 0a20 2020 2022 2222 0a0a 2020 2020 7468 . """.. th │ │ │ -00065210: 6973 6f77 6e20 3d20 7072 6f70 6572 7479 isown = property │ │ │ -00065220: 286c 616d 6264 6120 783a 2078 2e74 6869 (lambda x: x.thi │ │ │ -00065230: 732e 6f77 6e28 292c 206c 616d 6264 6120 s.own(), lambda │ │ │ -00065240: 782c 2076 3a20 782e 7468 6973 2e6f 776e x, v: x.this.own │ │ │ -00065250: 2876 292c 2064 6f63 3d22 5468 6520 6d65 (v), doc="The me │ │ │ -00065260: 6d62 6572 7368 6970 2066 6c61 6722 290a mbership flag"). │ │ │ -00065270: 2020 2020 5f5f 7265 7072 5f5f 203d 205f __repr__ = _ │ │ │ -00065280: 7377 6967 5f72 6570 720a 0a20 2020 2064 swig_repr.. d │ │ │ -00065290: 6566 205f 5f69 6e69 745f 5f28 7365 6c66 ef __init__(self │ │ │ -000652a0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -000652b0: 2020 7222 2222 5f5f 696e 6974 5f5f 2846 r"""__init__(F │ │ │ -000652c0: 6c5f 5365 6c65 6374 5f42 726f 7773 6572 l_Select_Browser │ │ │ -000652d0: 2073 656c 662c 2069 6e74 2058 2c20 696e self, int X, in │ │ │ -000652e0: 7420 592c 2069 6e74 2057 2c20 696e 7420 t Y, int W, int │ │ │ -000652f0: 482c 2063 6861 7220 636f 6e73 7420 2a20 H, char const * │ │ │ -00065300: 4c3d 4e6f 6e65 2920 2d3e 2046 6c5f 5365 L=None) -> Fl_Se │ │ │ -00065310: 6c65 6374 5f42 726f 7773 6572 2222 220a lect_Browser""". │ │ │ -00065320: 2020 2020 2020 2020 6966 2073 656c 662e if self. │ │ │ -00065330: 5f5f 636c 6173 735f 5f20 3d3d 2046 6c5f __class__ == Fl_ │ │ │ -00065340: 5365 6c65 6374 5f42 726f 7773 6572 3a0a Select_Browser:. │ │ │ -00065350: 2020 2020 2020 2020 2020 2020 5f73 656c _sel │ │ │ -00065360: 6620 3d20 4e6f 6e65 0a20 2020 2020 2020 f = None. │ │ │ -00065370: 2065 6c73 653a 0a20 2020 2020 2020 2020 else:. │ │ │ -00065380: 2020 205f 7365 6c66 203d 2073 656c 660a _self = self. │ │ │ -00065390: 2020 2020 2020 2020 5f66 6c74 6b2e 466c _fltk.Fl │ │ │ -000653a0: 5f53 656c 6563 745f 4272 6f77 7365 725f _Select_Browser_ │ │ │ -000653b0: 7377 6967 696e 6974 2873 656c 662c 205f swiginit(self, _ │ │ │ -000653c0: 666c 746b 2e6e 6577 5f46 6c5f 5365 6c65 fltk.new_Fl_Sele │ │ │ -000653d0: 6374 5f42 726f 7773 6572 285f 7365 6c66 ct_Browser(_self │ │ │ -000653e0: 2c20 2a61 7267 7329 290a 0a20 2020 2020 , *args)).. │ │ │ -000653f0: 2020 2069 6620 6c65 6e28 6172 6773 2920 if len(args) │ │ │ -00065400: 3d3d 2035 3a20 2020 2020 2020 2020 200a == 5: . │ │ │ -00065410: 2020 2020 2020 2020 2372 6574 6169 6e20 #retain │ │ │ -00065420: 7265 6665 7265 6e63 6520 746f 206c 6162 reference to lab │ │ │ -00065430: 656c 0a20 2020 2020 2020 2020 2020 2073 el. s │ │ │ -00065440: 656c 662e 6d79 5f6c 6162 656c 203d 2061 elf.my_label = a │ │ │ -00065450: 7267 735b 2d31 5d0a 2020 2020 2020 2020 rgs[-1]. │ │ │ -00065460: 6966 2073 656c 662e 7061 7265 6e74 2829 if self.parent() │ │ │ -00065470: 2021 3d20 4e6f 6e65 3a20 2020 0a20 2020 != None: . │ │ │ -00065480: 2020 2020 2023 6465 6c65 6761 7465 206f #delegate o │ │ │ -00065490: 776e 6572 7368 6970 2074 6f20 432b 2b0a wnership to C++. │ │ │ -000654a0: 2020 2020 2020 2020 2020 2020 7365 6c66 self │ │ │ -000654b0: 2e74 6869 732e 6469 736f 776e 2829 0a20 .this.disown(). │ │ │ -000654c0: 2020 2020 2020 2073 656c 662e 696e 6974 self.init │ │ │ -000654d0: 5f74 7970 6528 2246 6c5f 5365 6c65 6374 _type("Fl_Select │ │ │ -000654e0: 5f42 726f 7773 6572 2229 0a20 2020 2020 _Browser"). │ │ │ -000654f0: 2020 2023 7072 696e 7428 2241 6464 696e #print("Addin │ │ │ -00065500: 6720 7479 7065 3a20 222c 2046 6c5f 5365 g type: ", Fl_Se │ │ │ -00065510: 6c65 6374 5f42 726f 7773 6572 290a 0a0a lect_Browser)... │ │ │ -00065520: 0a0a 2020 2020 6465 6620 696e 6974 5f74 .. def init_t │ │ │ -00065530: 7970 6528 7365 6c66 2c20 2a61 7267 7329 ype(self, *args) │ │ │ -00065540: 3a0a 2020 2020 2020 2020 7222 2222 696e :. r"""in │ │ │ -00065550: 6974 5f74 7970 6528 466c 5f53 656c 6563 it_type(Fl_Selec │ │ │ -00065560: 745f 4272 6f77 7365 7220 7365 6c66 2c20 t_Browser self, │ │ │ -00065570: 6368 6172 202a 2046 6c5f 5365 6c65 6374 char * Fl_Select │ │ │ -00065580: 5f42 726f 7773 6572 2922 2222 0a20 2020 _Browser)""". │ │ │ -00065590: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -000655a0: 6b2e 466c 5f53 656c 6563 745f 4272 6f77 k.Fl_Select_Brow │ │ │ -000655b0: 7365 725f 696e 6974 5f74 7970 6528 7365 ser_init_type(se │ │ │ -000655c0: 6c66 2c20 2a61 7267 7329 0a20 2020 205f lf, *args). _ │ │ │ -000655d0: 5f73 7769 675f 6465 7374 726f 795f 5f20 _swig_destroy__ │ │ │ -000655e0: 3d20 5f66 6c74 6b2e 6465 6c65 7465 5f46 = _fltk.delete_F │ │ │ -000655f0: 6c5f 5365 6c65 6374 5f42 726f 7773 6572 l_Select_Browser │ │ │ -00065600: 0a20 2020 2064 6566 205f 5f64 6973 6f77 . def __disow │ │ │ -00065610: 6e5f 5f28 7365 6c66 293a 0a20 2020 2020 n__(self):. │ │ │ -00065620: 2020 2073 656c 662e 7468 6973 2e64 6973 self.this.dis │ │ │ -00065630: 6f77 6e28 290a 2020 2020 2020 2020 5f66 own(). _f │ │ │ -00065640: 6c74 6b2e 6469 736f 776e 5f46 6c5f 5365 ltk.disown_Fl_Se │ │ │ -00065650: 6c65 6374 5f42 726f 7773 6572 2873 656c lect_Browser(sel │ │ │ -00065660: 6629 0a20 2020 2020 2020 2072 6574 7572 f). retur │ │ │ -00065670: 6e20 7765 616b 7265 662e 7072 6f78 7928 n weakref.proxy( │ │ │ -00065680: 7365 6c66 290a 0a20 2020 2064 6566 2064 self).. def d │ │ │ -00065690: 7261 7728 7365 6c66 2c20 2a61 7267 7329 raw(self, *args) │ │ │ -000656a0: 3a0a 2020 2020 2020 2020 7222 2222 6472 :. r"""dr │ │ │ -000656b0: 6177 2846 6c5f 5365 6c65 6374 5f42 726f aw(Fl_Select_Bro │ │ │ -000656c0: 7773 6572 2073 656c 6629 2222 220a 2020 wser self)""". │ │ │ -000656d0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -000656e0: 746b 2e46 6c5f 5365 6c65 6374 5f42 726f tk.Fl_Select_Bro │ │ │ -000656f0: 7773 6572 5f64 7261 7728 7365 6c66 2c20 wser_draw(self, │ │ │ -00065700: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -00065710: 6974 656d 5f66 6972 7374 2873 656c 662c item_first(self, │ │ │ -00065720: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00065730: 2072 2222 2269 7465 6d5f 6669 7273 7428 r"""item_first( │ │ │ -00065740: 466c 5f53 656c 6563 745f 4272 6f77 7365 Fl_Select_Browse │ │ │ -00065750: 7220 7365 6c66 2920 2d3e 2076 6f69 6420 r self) -> void │ │ │ -00065760: 2a22 2222 0a20 2020 2020 2020 2072 6574 *""". ret │ │ │ -00065770: 7572 6e20 5f66 6c74 6b2e 466c 5f53 656c urn _fltk.Fl_Sel │ │ │ -00065780: 6563 745f 4272 6f77 7365 725f 6974 656d ect_Browser_item │ │ │ -00065790: 5f66 6972 7374 2873 656c 662c 202a 6172 _first(self, *ar │ │ │ -000657a0: 6773 290a 0a20 2020 2064 6566 2069 7465 gs).. def ite │ │ │ -000657b0: 6d5f 6e65 7874 2873 656c 662c 202a 6172 m_next(self, *ar │ │ │ -000657c0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -000657d0: 2269 7465 6d5f 6e65 7874 2846 6c5f 5365 "item_next(Fl_Se │ │ │ -000657e0: 6c65 6374 5f42 726f 7773 6572 2073 656c lect_Browser sel │ │ │ -000657f0: 662c 2076 6f69 6420 2a20 6974 656d 2920 f, void * item) │ │ │ -00065800: 2d3e 2076 6f69 6420 2a22 2222 0a20 2020 -> void *""". │ │ │ -00065810: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -00065820: 6b2e 466c 5f53 656c 6563 745f 4272 6f77 k.Fl_Select_Brow │ │ │ -00065830: 7365 725f 6974 656d 5f6e 6578 7428 7365 ser_item_next(se │ │ │ -00065840: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -00065850: 6465 6620 6974 656d 5f70 7265 7628 7365 def item_prev(se │ │ │ -00065860: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -00065870: 2020 2020 7222 2222 6974 656d 5f70 7265 r"""item_pre │ │ │ -00065880: 7628 466c 5f53 656c 6563 745f 4272 6f77 v(Fl_Select_Brow │ │ │ -00065890: 7365 7220 7365 6c66 2c20 766f 6964 202a ser self, void * │ │ │ -000658a0: 2069 7465 6d29 202d 3e20 766f 6964 202a item) -> void * │ │ │ -000658b0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -000658c0: 726e 205f 666c 746b 2e46 6c5f 5365 6c65 rn _fltk.Fl_Sele │ │ │ -000658d0: 6374 5f42 726f 7773 6572 5f69 7465 6d5f ct_Browser_item_ │ │ │ -000658e0: 7072 6576 2873 656c 662c 202a 6172 6773 prev(self, *args │ │ │ -000658f0: 290a 0a20 2020 2064 6566 2069 7465 6d5f ).. def item_ │ │ │ -00065900: 6c61 7374 2873 656c 662c 202a 6172 6773 last(self, *args │ │ │ -00065910: 293a 0a20 2020 2020 2020 2072 2222 2269 ):. r"""i │ │ │ -00065920: 7465 6d5f 6c61 7374 2846 6c5f 5365 6c65 tem_last(Fl_Sele │ │ │ -00065930: 6374 5f42 726f 7773 6572 2073 656c 6629 ct_Browser self) │ │ │ -00065940: 202d 3e20 766f 6964 202a 2222 220a 2020 -> void *""". │ │ │ -00065950: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00065960: 746b 2e46 6c5f 5365 6c65 6374 5f42 726f tk.Fl_Select_Bro │ │ │ -00065970: 7773 6572 5f69 7465 6d5f 6c61 7374 2873 wser_item_last(s │ │ │ -00065980: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -00065990: 2064 6566 2069 7465 6d5f 6865 6967 6874 def item_height │ │ │ -000659a0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -000659b0: 2020 2020 2020 2072 2222 2269 7465 6d5f r"""item_ │ │ │ -000659c0: 6865 6967 6874 2846 6c5f 5365 6c65 6374 height(Fl_Select │ │ │ -000659d0: 5f42 726f 7773 6572 2073 656c 662c 2076 _Browser self, v │ │ │ -000659e0: 6f69 6420 2a20 6974 656d 2920 2d3e 2069 oid * item) -> i │ │ │ -000659f0: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ -00065a00: 7475 726e 205f 666c 746b 2e46 6c5f 5365 turn _fltk.Fl_Se │ │ │ -00065a10: 6c65 6374 5f42 726f 7773 6572 5f69 7465 lect_Browser_ite │ │ │ -00065a20: 6d5f 6865 6967 6874 2873 656c 662c 202a m_height(self, * │ │ │ -00065a30: 6172 6773 290a 0a20 2020 2064 6566 2069 args).. def i │ │ │ -00065a40: 7465 6d5f 7769 6474 6828 7365 6c66 2c20 tem_width(self, │ │ │ -00065a50: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00065a60: 7222 2222 6974 656d 5f77 6964 7468 2846 r"""item_width(F │ │ │ -00065a70: 6c5f 5365 6c65 6374 5f42 726f 7773 6572 l_Select_Browser │ │ │ -00065a80: 2073 656c 662c 2076 6f69 6420 2a20 6974 self, void * it │ │ │ -00065a90: 656d 2920 2d3e 2069 6e74 2222 220a 2020 em) -> int""". │ │ │ -00065aa0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00065ab0: 746b 2e46 6c5f 5365 6c65 6374 5f42 726f tk.Fl_Select_Bro │ │ │ -00065ac0: 7773 6572 5f69 7465 6d5f 7769 6474 6828 wser_item_width( │ │ │ -00065ad0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -00065ae0: 2020 6465 6620 6974 656d 5f71 7569 636b def item_quick │ │ │ -00065af0: 5f68 6569 6768 7428 7365 6c66 2c20 2a61 _height(self, *a │ │ │ -00065b00: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00065b10: 2222 6974 656d 5f71 7569 636b 5f68 6569 ""item_quick_hei │ │ │ -00065b20: 6768 7428 466c 5f53 656c 6563 745f 4272 ght(Fl_Select_Br │ │ │ -00065b30: 6f77 7365 7220 7365 6c66 2c20 766f 6964 owser self, void │ │ │ -00065b40: 202a 2069 7465 6d29 202d 3e20 696e 7422 * item) -> int" │ │ │ -00065b50: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -00065b60: 6e20 5f66 6c74 6b2e 466c 5f53 656c 6563 n _fltk.Fl_Selec │ │ │ -00065b70: 745f 4272 6f77 7365 725f 6974 656d 5f71 t_Browser_item_q │ │ │ -00065b80: 7569 636b 5f68 6569 6768 7428 7365 6c66 uick_height(self │ │ │ -00065b90: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -00065ba0: 6620 6974 656d 5f64 7261 7728 7365 6c66 f item_draw(self │ │ │ -00065bb0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -00065bc0: 2020 7222 2222 6974 656d 5f64 7261 7728 r"""item_draw( │ │ │ -00065bd0: 466c 5f53 656c 6563 745f 4272 6f77 7365 Fl_Select_Browse │ │ │ -00065be0: 7220 7365 6c66 2c20 766f 6964 202a 2069 r self, void * i │ │ │ -00065bf0: 7465 6d2c 2069 6e74 2058 2c20 696e 7420 tem, int X, int │ │ │ -00065c00: 592c 2069 6e74 2057 2c20 696e 7420 4829 Y, int W, int H) │ │ │ -00065c10: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -00065c20: 726e 205f 666c 746b 2e46 6c5f 5365 6c65 rn _fltk.Fl_Sele │ │ │ -00065c30: 6374 5f42 726f 7773 6572 5f69 7465 6d5f ct_Browser_item_ │ │ │ -00065c40: 6472 6177 2873 656c 662c 202a 6172 6773 draw(self, *args │ │ │ -00065c50: 290a 0a20 2020 2064 6566 2069 7465 6d5f ).. def item_ │ │ │ -00065c60: 7465 7874 2873 656c 662c 202a 6172 6773 text(self, *args │ │ │ -00065c70: 293a 0a20 2020 2020 2020 2072 2222 2269 ):. r"""i │ │ │ -00065c80: 7465 6d5f 7465 7874 2846 6c5f 5365 6c65 tem_text(Fl_Sele │ │ │ -00065c90: 6374 5f42 726f 7773 6572 2073 656c 662c ct_Browser self, │ │ │ -00065ca0: 2076 6f69 6420 2a20 6974 656d 2920 2d3e void * item) -> │ │ │ -00065cb0: 2063 6861 7220 636f 6e73 7420 2a22 2222 char const *""" │ │ │ -00065cc0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00065cd0: 5f66 6c74 6b2e 466c 5f53 656c 6563 745f _fltk.Fl_Select_ │ │ │ -00065ce0: 4272 6f77 7365 725f 6974 656d 5f74 6578 Browser_item_tex │ │ │ -00065cf0: 7428 7365 6c66 2c20 2a61 7267 7329 0a0a t(self, *args).. │ │ │ -00065d00: 2020 2020 6465 6620 6974 656d 5f73 7761 def item_swa │ │ │ -00065d10: 7028 7365 6c66 2c20 2a61 7267 7329 3a0a p(self, *args):. │ │ │ -00065d20: 2020 2020 2020 2020 7222 2222 6974 656d r"""item │ │ │ -00065d30: 5f73 7761 7028 466c 5f53 656c 6563 745f _swap(Fl_Select_ │ │ │ -00065d40: 4272 6f77 7365 7220 7365 6c66 2c20 766f Browser self, vo │ │ │ -00065d50: 6964 202a 2061 2c20 766f 6964 202a 2062 id * a, void * b │ │ │ -00065d60: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ -00065d70: 7572 6e20 5f66 6c74 6b2e 466c 5f53 656c urn _fltk.Fl_Sel │ │ │ -00065d80: 6563 745f 4272 6f77 7365 725f 6974 656d ect_Browser_item │ │ │ -00065d90: 5f73 7761 7028 7365 6c66 2c20 2a61 7267 _swap(self, *arg │ │ │ -00065da0: 7329 0a0a 2020 2020 6465 6620 6974 656d s).. def item │ │ │ -00065db0: 5f61 7428 7365 6c66 2c20 2a61 7267 7329 _at(self, *args) │ │ │ -00065dc0: 3a0a 2020 2020 2020 2020 7222 2222 6974 :. r"""it │ │ │ -00065dd0: 656d 5f61 7428 466c 5f53 656c 6563 745f em_at(Fl_Select_ │ │ │ -00065de0: 4272 6f77 7365 7220 7365 6c66 2c20 696e Browser self, in │ │ │ -00065df0: 7420 6c69 6e65 2920 2d3e 2076 6f69 6420 t line) -> void │ │ │ -00065e00: 2a22 2222 0a20 2020 2020 2020 2072 6574 *""". ret │ │ │ -00065e10: 7572 6e20 5f66 6c74 6b2e 466c 5f53 656c urn _fltk.Fl_Sel │ │ │ -00065e20: 6563 745f 4272 6f77 7365 725f 6974 656d ect_Browser_item │ │ │ -00065e30: 5f61 7428 7365 6c66 2c20 2a61 7267 7329 _at(self, *args) │ │ │ -00065e40: 0a0a 2020 2020 6465 6620 6675 6c6c 5f77 .. def full_w │ │ │ -00065e50: 6964 7468 2873 656c 662c 202a 6172 6773 idth(self, *args │ │ │ -00065e60: 293a 0a20 2020 2020 2020 2072 2222 2266 ):. r"""f │ │ │ -00065e70: 756c 6c5f 7769 6474 6828 466c 5f53 656c ull_width(Fl_Sel │ │ │ -00065e80: 6563 745f 4272 6f77 7365 7220 7365 6c66 ect_Browser self │ │ │ -00065e90: 2920 2d3e 2069 6e74 2222 220a 2020 2020 ) -> int""". │ │ │ -00065ea0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00065eb0: 2e46 6c5f 5365 6c65 6374 5f42 726f 7773 .Fl_Select_Brows │ │ │ -00065ec0: 6572 5f66 756c 6c5f 7769 6474 6828 7365 er_full_width(se │ │ │ -00065ed0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -00065ee0: 6465 6620 6675 6c6c 5f68 6569 6768 7428 def full_height( │ │ │ -00065ef0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -00065f00: 2020 2020 2020 7222 2222 6675 6c6c 5f68 r"""full_h │ │ │ -00065f10: 6569 6768 7428 466c 5f53 656c 6563 745f eight(Fl_Select_ │ │ │ -00065f20: 4272 6f77 7365 7220 7365 6c66 2920 2d3e Browser self) -> │ │ │ -00065f30: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ -00065f40: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00065f50: 5365 6c65 6374 5f42 726f 7773 6572 5f66 Select_Browser_f │ │ │ -00065f60: 756c 6c5f 6865 6967 6874 2873 656c 662c ull_height(self, │ │ │ -00065f70: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00065f80: 2069 6e63 725f 6865 6967 6874 2873 656c incr_height(sel │ │ │ -00065f90: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00065fa0: 2020 2072 2222 2269 6e63 725f 6865 6967 r"""incr_heig │ │ │ -00065fb0: 6874 2846 6c5f 5365 6c65 6374 5f42 726f ht(Fl_Select_Bro │ │ │ -00065fc0: 7773 6572 2073 656c 6629 202d 3e20 696e wser self) -> in │ │ │ -00065fd0: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ -00065fe0: 7572 6e20 5f66 6c74 6b2e 466c 5f53 656c urn _fltk.Fl_Sel │ │ │ -00065ff0: 6563 745f 4272 6f77 7365 725f 696e 6372 ect_Browser_incr │ │ │ -00066000: 5f68 6569 6768 7428 7365 6c66 2c20 2a61 _height(self, *a │ │ │ -00066010: 7267 7329 0a0a 2020 2020 6465 6620 6974 rgs).. def it │ │ │ -00066020: 656d 5f73 656c 6563 7428 7365 6c66 2c20 em_select(self, │ │ │ -00066030: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00066040: 7222 2222 6974 656d 5f73 656c 6563 7428 r"""item_select( │ │ │ -00066050: 466c 5f53 656c 6563 745f 4272 6f77 7365 Fl_Select_Browse │ │ │ -00066060: 7220 7365 6c66 2c20 766f 6964 202a 2069 r self, void * i │ │ │ -00066070: 7465 6d2c 2069 6e74 2076 616c 2922 2222 tem, int val)""" │ │ │ -00066080: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00066090: 5f66 6c74 6b2e 466c 5f53 656c 6563 745f _fltk.Fl_Select_ │ │ │ -000660a0: 4272 6f77 7365 725f 6974 656d 5f73 656c Browser_item_sel │ │ │ -000660b0: 6563 7428 7365 6c66 2c20 2a61 7267 7329 ect(self, *args) │ │ │ -000660c0: 0a0a 2020 2020 6465 6620 6974 656d 5f73 .. def item_s │ │ │ -000660d0: 656c 6563 7465 6428 7365 6c66 2c20 2a61 elected(self, *a │ │ │ -000660e0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -000660f0: 2222 6974 656d 5f73 656c 6563 7465 6428 ""item_selected( │ │ │ -00066100: 466c 5f53 656c 6563 745f 4272 6f77 7365 Fl_Select_Browse │ │ │ -00066110: 7220 7365 6c66 2c20 766f 6964 202a 2069 r self, void * i │ │ │ -00066120: 7465 6d29 202d 3e20 696e 7422 2222 0a20 tem) -> int""". │ │ │ -00066130: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -00066140: 6c74 6b2e 466c 5f53 656c 6563 745f 4272 ltk.Fl_Select_Br │ │ │ -00066150: 6f77 7365 725f 6974 656d 5f73 656c 6563 owser_item_selec │ │ │ -00066160: 7465 6428 7365 6c66 2c20 2a61 7267 7329 ted(self, *args) │ │ │ -00066170: 0a0a 2320 5265 6769 7374 6572 2046 6c5f ..# Register Fl_ │ │ │ -00066180: 5365 6c65 6374 5f42 726f 7773 6572 2069 Select_Browser i │ │ │ -00066190: 6e20 5f66 6c74 6b3a 0a5f 666c 746b 2e46 n _fltk:._fltk.F │ │ │ -000661a0: 6c5f 5365 6c65 6374 5f42 726f 7773 6572 l_Select_Browser │ │ │ -000661b0: 5f73 7769 6772 6567 6973 7465 7228 466c _swigregister(Fl │ │ │ -000661c0: 5f53 656c 6563 745f 4272 6f77 7365 7229 _Select_Browser) │ │ │ -000661d0: 0a63 6c61 7373 2046 6c5f 5368 6172 6564 .class Fl_Shared │ │ │ -000661e0: 5f49 6d61 6765 2846 6c5f 496d 6167 6529 _Image(Fl_Image) │ │ │ -000661f0: 3a0a 2020 2020 7222 2222 0a0a 2020 2020 :. r""".. │ │ │ -00066200: 5468 6520 466c 5f53 6861 7265 645f 496d The Fl_Shared_Im │ │ │ -00066210: 6167 6520 636c 6173 7320 7375 7070 6f72 age class suppor │ │ │ -00066220: 7473 2063 6163 6869 6e67 2c20 6c6f 6164 ts caching, load │ │ │ -00066230: 696e 672c 2061 6e64 2064 7261 7769 6e67 ing, and drawing │ │ │ -00066240: 206f 6620 696d 6167 6520 0a20 2020 2066 of image . f │ │ │ -00066250: 696c 6573 2e20 4d6f 7374 2061 7070 6c69 iles. Most appli │ │ │ -00066260: 6361 7469 6f6e 7320 7769 6c6c 2061 6c73 cations will als │ │ │ -00066270: 6f20 7761 6e74 2074 6f20 6c69 6e6b 2061 o want to link a │ │ │ -00066280: 6761 696e 7374 2074 6865 2066 6c74 6b5f gainst the fltk_ │ │ │ -00066290: 696d 6167 6573 200a 2020 2020 6c69 6272 images . libr │ │ │ -000662a0: 6172 7920 616e 6420 6361 6c6c 2074 6865 ary and call the │ │ │ -000662b0: 2066 6c5f 7265 6769 7374 6572 5f69 6d61 fl_register_ima │ │ │ -000662c0: 6765 7328 2920 6675 6e63 7469 6f6e 2074 ges() function t │ │ │ -000662d0: 6f20 7375 7070 6f72 7420 7374 616e 6461 o support standa │ │ │ -000662e0: 7264 2069 6d61 6765 200a 2020 2020 666f rd image . fo │ │ │ -000662f0: 726d 6174 7320 7375 6368 2061 7320 424d rmats such as BM │ │ │ -00066300: 502c 2047 4946 2c20 4a50 4547 2c20 616e P, GIF, JPEG, an │ │ │ -00066310: 6420 504e 472e 0a0a 2020 2020 2222 220a d PNG... """. │ │ │ -00066320: 0a20 2020 2074 6869 736f 776e 203d 2070 . thisown = p │ │ │ -00066330: 726f 7065 7274 7928 6c61 6d62 6461 2078 roperty(lambda x │ │ │ -00066340: 3a20 782e 7468 6973 2e6f 776e 2829 2c20 : x.this.own(), │ │ │ -00066350: 6c61 6d62 6461 2078 2c20 763a 2078 2e74 lambda x, v: x.t │ │ │ -00066360: 6869 732e 6f77 6e28 7629 2c20 646f 633d his.own(v), doc= │ │ │ -00066370: 2254 6865 206d 656d 6265 7273 6869 7020 "The membership │ │ │ -00066380: 666c 6167 2229 0a20 2020 205f 5f72 6570 flag"). __rep │ │ │ -00066390: 725f 5f20 3d20 5f73 7769 675f 7265 7072 r__ = _swig_repr │ │ │ -000663a0: 0a0a 2020 2020 6465 6620 5f5f 696e 6974 .. def __init │ │ │ -000663b0: 5f5f 2873 656c 662c 202a 6172 6773 293a __(self, *args): │ │ │ -000663c0: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ -000663d0: 2020 2020 2020 5f5f 696e 6974 5f5f 2846 __init__(F │ │ │ -000663e0: 6c5f 5368 6172 6564 5f49 6d61 6765 2073 l_Shared_Image s │ │ │ -000663f0: 656c 6629 202d 3e20 466c 5f53 6861 7265 elf) -> Fl_Share │ │ │ -00066400: 645f 496d 6167 650a 2020 2020 2020 2020 d_Image. │ │ │ -00066410: 5f5f 696e 6974 5f5f 2846 6c5f 5368 6172 __init__(Fl_Shar │ │ │ -00066420: 6564 5f49 6d61 6765 2073 656c 662c 2063 ed_Image self, c │ │ │ -00066430: 6861 7220 636f 6e73 7420 2a20 6e2c 2046 har const * n, F │ │ │ -00066440: 6c5f 496d 6167 6520 696d 673d 4e6f 6e65 l_Image img=None │ │ │ -00066450: 2920 2d3e 2046 6c5f 5368 6172 6564 5f49 ) -> Fl_Shared_I │ │ │ -00066460: 6d61 6765 0a20 2020 2020 2020 2022 2222 mage. """ │ │ │ -00066470: 0a20 2020 2020 2020 2069 6620 7365 6c66 . if self │ │ │ -00066480: 2e5f 5f63 6c61 7373 5f5f 203d 3d20 466c .__class__ == Fl │ │ │ -00066490: 5f53 6861 7265 645f 496d 6167 653a 0a20 _Shared_Image:. │ │ │ -000664a0: 2020 2020 2020 2020 2020 205f 7365 6c66 _self │ │ │ -000664b0: 203d 204e 6f6e 650a 2020 2020 2020 2020 = None. │ │ │ -000664c0: 656c 7365 3a0a 2020 2020 2020 2020 2020 else:. │ │ │ -000664d0: 2020 5f73 656c 6620 3d20 7365 6c66 0a20 _self = self. │ │ │ -000664e0: 2020 2020 2020 205f 666c 746b 2e46 6c5f _fltk.Fl_ │ │ │ -000664f0: 5368 6172 6564 5f49 6d61 6765 5f73 7769 Shared_Image_swi │ │ │ -00066500: 6769 6e69 7428 7365 6c66 2c20 5f66 6c74 ginit(self, _flt │ │ │ -00066510: 6b2e 6e65 775f 466c 5f53 6861 7265 645f k.new_Fl_Shared_ │ │ │ -00066520: 496d 6167 6528 5f73 656c 662c 202a 6172 Image(_self, *ar │ │ │ -00066530: 6773 2929 0a0a 2020 2020 6465 6620 6e61 gs)).. def na │ │ │ -00066540: 6d65 2873 656c 662c 202a 6172 6773 293a me(self, *args): │ │ │ -00066550: 0a20 2020 2020 2020 2072 2222 226e 616d . r"""nam │ │ │ -00066560: 6528 466c 5f53 6861 7265 645f 496d 6167 e(Fl_Shared_Imag │ │ │ -00066570: 6520 7365 6c66 2920 2d3e 2063 6861 7220 e self) -> char │ │ │ -00066580: 636f 6e73 7420 2a22 2222 0a20 2020 2020 const *""". │ │ │ -00066590: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -000665a0: 466c 5f53 6861 7265 645f 496d 6167 655f Fl_Shared_Image_ │ │ │ -000665b0: 6e61 6d65 2873 656c 662c 202a 6172 6773 name(self, *args │ │ │ -000665c0: 290a 0a20 2020 2064 6566 2072 6566 636f ).. def refco │ │ │ -000665d0: 756e 7428 7365 6c66 2c20 2a61 7267 7329 unt(self, *args) │ │ │ -000665e0: 3a0a 2020 2020 2020 2020 7222 2222 7265 :. r"""re │ │ │ -000665f0: 6663 6f75 6e74 2846 6c5f 5368 6172 6564 fcount(Fl_Shared │ │ │ -00066600: 5f49 6d61 6765 2073 656c 6629 202d 3e20 _Image self) -> │ │ │ -00066610: 696e 7422 2222 0a20 2020 2020 2020 2072 int""". r │ │ │ -00066620: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f53 eturn _fltk.Fl_S │ │ │ -00066630: 6861 7265 645f 496d 6167 655f 7265 6663 hared_Image_refc │ │ │ -00066640: 6f75 6e74 2873 656c 662c 202a 6172 6773 ount(self, *args │ │ │ -00066650: 290a 0a20 2020 2064 6566 206f 7269 6769 ).. def origi │ │ │ -00066660: 6e61 6c28 7365 6c66 2c20 2a61 7267 7329 nal(self, *args) │ │ │ -00066670: 3a0a 2020 2020 2020 2020 7222 2222 6f72 :. r"""or │ │ │ -00066680: 6967 696e 616c 2846 6c5f 5368 6172 6564 iginal(Fl_Shared │ │ │ -00066690: 5f49 6d61 6765 2073 656c 6629 202d 3e20 _Image self) -> │ │ │ -000666a0: 696e 7422 2222 0a20 2020 2020 2020 2072 int""". r │ │ │ -000666b0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f53 eturn _fltk.Fl_S │ │ │ -000666c0: 6861 7265 645f 496d 6167 655f 6f72 6967 hared_Image_orig │ │ │ -000666d0: 696e 616c 2873 656c 662c 202a 6172 6773 inal(self, *args │ │ │ -000666e0: 290a 0a20 2020 2064 6566 2072 656c 6561 ).. def relea │ │ │ -000666f0: 7365 2873 656c 662c 202a 6172 6773 293a se(self, *args): │ │ │ -00066700: 0a20 2020 2020 2020 2072 2222 2272 656c . r"""rel │ │ │ -00066710: 6561 7365 2846 6c5f 5368 6172 6564 5f49 ease(Fl_Shared_I │ │ │ -00066720: 6d61 6765 2073 656c 6629 2222 220a 2020 mage self)""". │ │ │ -00066730: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00066740: 746b 2e46 6c5f 5368 6172 6564 5f49 6d61 tk.Fl_Shared_Ima │ │ │ -00066750: 6765 5f72 656c 6561 7365 2873 656c 662c ge_release(self, │ │ │ -00066760: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00066770: 2072 656c 6f61 6428 7365 6c66 2c20 2a61 reload(self, *a │ │ │ -00066780: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00066790: 2222 7265 6c6f 6164 2846 6c5f 5368 6172 ""reload(Fl_Shar │ │ │ -000667a0: 6564 5f49 6d61 6765 2073 656c 6629 2222 ed_Image self)"" │ │ │ -000667b0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -000667c0: 205f 666c 746b 2e46 6c5f 5368 6172 6564 _fltk.Fl_Shared │ │ │ -000667d0: 5f49 6d61 6765 5f72 656c 6f61 6428 7365 _Image_reload(se │ │ │ -000667e0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -000667f0: 6465 6620 6173 5f73 6861 7265 645f 696d def as_shared_im │ │ │ -00066800: 6167 6528 7365 6c66 2c20 2a61 7267 7329 age(self, *args) │ │ │ -00066810: 3a0a 2020 2020 2020 2020 7222 2222 6173 :. r"""as │ │ │ -00066820: 5f73 6861 7265 645f 696d 6167 6528 466c _shared_image(Fl │ │ │ -00066830: 5f53 6861 7265 645f 496d 6167 6520 7365 _Shared_Image se │ │ │ -00066840: 6c66 2920 2d3e 2046 6c5f 5368 6172 6564 lf) -> Fl_Shared │ │ │ -00066850: 5f49 6d61 6765 2222 220a 2020 2020 2020 _Image""". │ │ │ -00066860: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -00066870: 6c5f 5368 6172 6564 5f49 6d61 6765 5f61 l_Shared_Image_a │ │ │ -00066880: 735f 7368 6172 6564 5f69 6d61 6765 2873 s_shared_image(s │ │ │ -00066890: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -000668a0: 2064 6566 2063 6f70 7928 7365 6c66 2c20 def copy(self, │ │ │ -000668b0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -000668c0: 7222 2222 0a20 2020 2020 2020 2063 6f70 r""". cop │ │ │ -000668d0: 7928 466c 5f53 6861 7265 645f 496d 6167 y(Fl_Shared_Imag │ │ │ -000668e0: 6520 7365 6c66 2c20 696e 7420 572c 2069 e self, int W, i │ │ │ -000668f0: 6e74 2048 2920 2d3e 2046 6c5f 496d 6167 nt H) -> Fl_Imag │ │ │ -00066900: 650a 2020 2020 2020 2020 636f 7079 2846 e. copy(F │ │ │ -00066910: 6c5f 5368 6172 6564 5f49 6d61 6765 2073 l_Shared_Image s │ │ │ -00066920: 656c 6629 202d 3e20 466c 5f49 6d61 6765 elf) -> Fl_Image │ │ │ -00066930: 0a20 2020 2020 2020 2063 6f70 7928 466c . copy(Fl │ │ │ -00066940: 5f53 6861 7265 645f 496d 6167 6520 7365 _Shared_Image se │ │ │ -00066950: 6c66 2920 2d3e 2046 6c5f 496d 6167 650a lf) -> Fl_Image. │ │ │ -00066960: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ -00066970: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00066980: 2e46 6c5f 5368 6172 6564 5f49 6d61 6765 .Fl_Shared_Image │ │ │ -00066990: 5f63 6f70 7928 7365 6c66 2c20 2a61 7267 _copy(self, *arg │ │ │ -000669a0: 7329 0a0a 2020 2020 6465 6620 636f 6c6f s).. def colo │ │ │ -000669b0: 725f 6176 6572 6167 6528 7365 6c66 2c20 r_average(self, │ │ │ -000669c0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -000669d0: 7222 2222 636f 6c6f 725f 6176 6572 6167 r"""color_averag │ │ │ -000669e0: 6528 466c 5f53 6861 7265 645f 496d 6167 e(Fl_Shared_Imag │ │ │ -000669f0: 6520 7365 6c66 2c20 466c 5f43 6f6c 6f72 e self, Fl_Color │ │ │ -00066a00: 2063 2c20 666c 6f61 7420 6929 2222 220a c, float i)""". │ │ │ -00066a10: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00066a20: 666c 746b 2e46 6c5f 5368 6172 6564 5f49 fltk.Fl_Shared_I │ │ │ -00066a30: 6d61 6765 5f63 6f6c 6f72 5f61 7665 7261 mage_color_avera │ │ │ -00066a40: 6765 2873 656c 662c 202a 6172 6773 290a ge(self, *args). │ │ │ -00066a50: 0a20 2020 2064 6566 2064 6573 6174 7572 . def desatur │ │ │ -00066a60: 6174 6528 7365 6c66 2c20 2a61 7267 7329 ate(self, *args) │ │ │ -00066a70: 3a0a 2020 2020 2020 2020 7222 2222 6465 :. r"""de │ │ │ -00066a80: 7361 7475 7261 7465 2846 6c5f 5368 6172 saturate(Fl_Shar │ │ │ -00066a90: 6564 5f49 6d61 6765 2073 656c 6629 2222 ed_Image self)"" │ │ │ -00066aa0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00066ab0: 205f 666c 746b 2e46 6c5f 5368 6172 6564 _fltk.Fl_Shared │ │ │ -00066ac0: 5f49 6d61 6765 5f64 6573 6174 7572 6174 _Image_desaturat │ │ │ -00066ad0: 6528 7365 6c66 2c20 2a61 7267 7329 0a0a e(self, *args).. │ │ │ -00066ae0: 2020 2020 6465 6620 6472 6177 2873 656c def draw(sel │ │ │ -00066af0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00066b00: 2020 2072 2222 220a 2020 2020 2020 2020 r""". │ │ │ -00066b10: 6472 6177 2846 6c5f 5368 6172 6564 5f49 draw(Fl_Shared_I │ │ │ -00066b20: 6d61 6765 2073 656c 662c 2069 6e74 2058 mage self, int X │ │ │ -00066b30: 2c20 696e 7420 592c 2069 6e74 2057 2c20 , int Y, int W, │ │ │ -00066b40: 696e 7420 482c 2069 6e74 2063 783d 302c int H, int cx=0, │ │ │ -00066b50: 2069 6e74 2063 793d 3029 0a20 2020 2020 int cy=0). │ │ │ -00066b60: 2020 2064 7261 7728 466c 5f53 6861 7265 draw(Fl_Share │ │ │ -00066b70: 645f 496d 6167 6520 7365 6c66 2c20 696e d_Image self, in │ │ │ -00066b80: 7420 582c 2069 6e74 2059 290a 2020 2020 t X, int Y). │ │ │ -00066b90: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ -00066ba0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00066bb0: 5368 6172 6564 5f49 6d61 6765 5f64 7261 Shared_Image_dra │ │ │ -00066bc0: 7728 7365 6c66 2c20 2a61 7267 7329 0a0a w(self, *args).. │ │ │ -00066bd0: 2020 2020 6465 6620 756e 6361 6368 6528 def uncache( │ │ │ -00066be0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -00066bf0: 2020 2020 2020 7222 2222 756e 6361 6368 r"""uncach │ │ │ -00066c00: 6528 466c 5f53 6861 7265 645f 496d 6167 e(Fl_Shared_Imag │ │ │ -00066c10: 6520 7365 6c66 2922 2222 0a20 2020 2020 e self)""". │ │ │ -00066c20: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00066c30: 466c 5f53 6861 7265 645f 496d 6167 655f Fl_Shared_Image_ │ │ │ -00066c40: 756e 6361 6368 6528 7365 6c66 2c20 2a61 uncache(self, *a │ │ │ -00066c50: 7267 7329 0a0a 2020 2020 4073 7461 7469 rgs).. @stati │ │ │ -00066c60: 636d 6574 686f 640a 2020 2020 6465 6620 cmethod. def │ │ │ -00066c70: 6669 6e64 282a 6172 6773 293a 0a20 2020 find(*args):. │ │ │ -00066c80: 2020 2020 2072 2222 2266 696e 6428 6368 r"""find(ch │ │ │ -00066c90: 6172 2063 6f6e 7374 202a 206e 616d 652c ar const * name, │ │ │ -00066ca0: 2069 6e74 2057 3d30 2c20 696e 7420 483d int W=0, int H= │ │ │ -00066cb0: 3029 202d 3e20 466c 5f53 6861 7265 645f 0) -> Fl_Shared_ │ │ │ -00066cc0: 496d 6167 6522 2222 0a20 2020 2020 2020 Image""". │ │ │ -00066cd0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -00066ce0: 5f53 6861 7265 645f 496d 6167 655f 6669 _Shared_Image_fi │ │ │ -00066cf0: 6e64 282a 6172 6773 290a 0a20 2020 2040 nd(*args).. @ │ │ │ -00066d00: 7374 6174 6963 6d65 7468 6f64 0a20 2020 staticmethod. │ │ │ -00066d10: 2064 6566 2067 6574 282a 6172 6773 293a def get(*args): │ │ │ -00066d20: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ -00066d30: 2020 2020 2020 6765 7428 6368 6172 2063 get(char c │ │ │ -00066d40: 6f6e 7374 202a 206e 616d 652c 2069 6e74 onst * name, int │ │ │ -00066d50: 2057 3d30 2c20 696e 7420 483d 3029 202d W=0, int H=0) - │ │ │ -00066d60: 3e20 466c 5f53 6861 7265 645f 496d 6167 > Fl_Shared_Imag │ │ │ -00066d70: 650a 2020 2020 2020 2020 6765 7428 466c e. get(Fl │ │ │ -00066d80: 5f52 4742 5f49 6d61 6765 2072 6762 2c20 _RGB_Image rgb, │ │ │ -00066d90: 696e 7420 6f77 6e5f 6974 3d31 2920 2d3e int own_it=1) -> │ │ │ -00066da0: 2046 6c5f 5368 6172 6564 5f49 6d61 6765 Fl_Shared_Image │ │ │ -00066db0: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ -00066dc0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -00066dd0: 6b2e 466c 5f53 6861 7265 645f 496d 6167 k.Fl_Shared_Imag │ │ │ -00066de0: 655f 6765 7428 2a61 7267 7329 0a0a 2020 e_get(*args).. │ │ │ -00066df0: 2020 4073 7461 7469 636d 6574 686f 640a @staticmethod. │ │ │ -00066e00: 2020 2020 6465 6620 696d 6167 6573 282a def images(* │ │ │ -00066e10: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00066e20: 2222 2269 6d61 6765 7328 2920 2d3e 2046 """images() -> F │ │ │ -00066e30: 6c5f 5368 6172 6564 5f49 6d61 6765 202a l_Shared_Image * │ │ │ -00066e40: 2a22 2222 0a20 2020 2020 2020 2072 6574 *""". ret │ │ │ -00066e50: 7572 6e20 5f66 6c74 6b2e 466c 5f53 6861 urn _fltk.Fl_Sha │ │ │ -00066e60: 7265 645f 496d 6167 655f 696d 6167 6573 red_Image_images │ │ │ -00066e70: 282a 6172 6773 290a 0a20 2020 2040 7374 (*args).. @st │ │ │ -00066e80: 6174 6963 6d65 7468 6f64 0a20 2020 2064 aticmethod. d │ │ │ -00066e90: 6566 206e 756d 5f69 6d61 6765 7328 2a61 ef num_images(*a │ │ │ -00066ea0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00066eb0: 2222 6e75 6d5f 696d 6167 6573 2829 202d ""num_images() - │ │ │ -00066ec0: 3e20 696e 7422 2222 0a20 2020 2020 2020 > int""". │ │ │ -00066ed0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -00066ee0: 5f53 6861 7265 645f 496d 6167 655f 6e75 _Shared_Image_nu │ │ │ -00066ef0: 6d5f 696d 6167 6573 282a 6172 6773 290a m_images(*args). │ │ │ -00066f00: 0a20 2020 2040 7374 6174 6963 6d65 7468 . @staticmeth │ │ │ -00066f10: 6f64 0a20 2020 2064 6566 2061 6464 5f68 od. def add_h │ │ │ -00066f20: 616e 646c 6572 282a 6172 6773 293a 0a20 andler(*args):. │ │ │ -00066f30: 2020 2020 2020 2072 2222 2261 6464 5f68 r"""add_h │ │ │ -00066f40: 616e 646c 6572 2846 6c5f 5368 6172 6564 andler(Fl_Shared │ │ │ -00066f50: 5f48 616e 646c 6572 2066 2922 2222 0a20 _Handler f)""". │ │ │ -00066f60: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -00066f70: 6c74 6b2e 466c 5f53 6861 7265 645f 496d ltk.Fl_Shared_Im │ │ │ -00066f80: 6167 655f 6164 645f 6861 6e64 6c65 7228 age_add_handler( │ │ │ -00066f90: 2a61 7267 7329 0a0a 2020 2020 4073 7461 *args).. @sta │ │ │ -00066fa0: 7469 636d 6574 686f 640a 2020 2020 6465 ticmethod. de │ │ │ -00066fb0: 6620 7265 6d6f 7665 5f68 616e 646c 6572 f remove_handler │ │ │ -00066fc0: 282a 6172 6773 293a 0a20 2020 2020 2020 (*args):. │ │ │ -00066fd0: 2072 2222 2272 656d 6f76 655f 6861 6e64 r"""remove_hand │ │ │ -00066fe0: 6c65 7228 466c 5f53 6861 7265 645f 4861 ler(Fl_Shared_Ha │ │ │ -00066ff0: 6e64 6c65 7220 6629 2222 220a 2020 2020 ndler f)""". │ │ │ -00067000: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00067010: 2e46 6c5f 5368 6172 6564 5f49 6d61 6765 .Fl_Shared_Image │ │ │ -00067020: 5f72 656d 6f76 655f 6861 6e64 6c65 7228 _remove_handler( │ │ │ -00067030: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -00067040: 696d 6167 6528 7365 6c66 2c20 2a61 7267 image(self, *arg │ │ │ -00067050: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -00067060: 696d 6167 6528 466c 5f53 6861 7265 645f image(Fl_Shared_ │ │ │ -00067070: 496d 6167 6520 7365 6c66 2920 2d3e 2046 Image self) -> F │ │ │ -00067080: 6c5f 496d 6167 6522 2222 0a20 2020 2020 l_Image""". │ │ │ -00067090: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -000670a0: 466c 5f53 6861 7265 645f 496d 6167 655f Fl_Shared_Image_ │ │ │ -000670b0: 696d 6167 6528 7365 6c66 2c20 2a61 7267 image(self, *arg │ │ │ -000670c0: 7329 0a20 2020 2064 6566 205f 5f64 6973 s). def __dis │ │ │ -000670d0: 6f77 6e5f 5f28 7365 6c66 293a 0a20 2020 own__(self):. │ │ │ -000670e0: 2020 2020 2073 656c 662e 7468 6973 2e64 self.this.d │ │ │ -000670f0: 6973 6f77 6e28 290a 2020 2020 2020 2020 isown(). │ │ │ -00067100: 5f66 6c74 6b2e 6469 736f 776e 5f46 6c5f _fltk.disown_Fl_ │ │ │ -00067110: 5368 6172 6564 5f49 6d61 6765 2873 656c Shared_Image(sel │ │ │ -00067120: 6629 0a20 2020 2020 2020 2072 6574 7572 f). retur │ │ │ -00067130: 6e20 7765 616b 7265 662e 7072 6f78 7928 n weakref.proxy( │ │ │ -00067140: 7365 6c66 290a 0a23 2052 6567 6973 7465 self)..# Registe │ │ │ -00067150: 7220 466c 5f53 6861 7265 645f 496d 6167 r Fl_Shared_Imag │ │ │ -00067160: 6520 696e 205f 666c 746b 3a0a 5f66 6c74 e in _fltk:._flt │ │ │ -00067170: 6b2e 466c 5f53 6861 7265 645f 496d 6167 k.Fl_Shared_Imag │ │ │ -00067180: 655f 7377 6967 7265 6769 7374 6572 2846 e_swigregister(F │ │ │ -00067190: 6c5f 5368 6172 6564 5f49 6d61 6765 290a l_Shared_Image). │ │ │ -000671a0: 0a64 6566 2066 6c5f 7265 6769 7374 6572 .def fl_register │ │ │ -000671b0: 5f69 6d61 6765 7328 2a61 7267 7329 3a0a _images(*args):. │ │ │ -000671c0: 2020 2020 7222 2222 666c 5f72 6567 6973 r"""fl_regis │ │ │ -000671d0: 7465 725f 696d 6167 6573 2829 2222 220a ter_images()""". │ │ │ -000671e0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -000671f0: 2e66 6c5f 7265 6769 7374 6572 5f69 6d61 .fl_register_ima │ │ │ -00067200: 6765 7328 2a61 7267 7329 0a63 6c61 7373 ges(*args).class │ │ │ -00067210: 2046 6c5f 5370 696e 6e65 7228 466c 5f47 Fl_Spinner(Fl_G │ │ │ -00067220: 726f 7570 293a 0a20 2020 2072 2222 220a roup):. r""". │ │ │ -00067230: 0a20 2020 2054 6865 2046 6c5f 5370 696e . The Fl_Spin │ │ │ -00067240: 6e65 7220 7769 6467 6574 2069 7320 6120 ner widget is a │ │ │ -00067250: 636f 6d62 696e 6174 696f 6e20 6f66 2074 combination of t │ │ │ -00067260: 6865 2069 6e70 7574 2077 6964 6765 7420 he input widget │ │ │ -00067270: 616e 6420 7265 7065 6174 200a 2020 2020 and repeat . │ │ │ -00067280: 6275 7474 6f6e 732e 2054 6865 2075 7365 buttons. The use │ │ │ -00067290: 7220 6361 6e20 6569 7468 6572 2074 7970 r can either typ │ │ │ -000672a0: 6520 696e 746f 2074 6865 2069 6e70 7574 e into the input │ │ │ -000672b0: 2061 7265 6120 6f72 2075 7365 2074 6865 area or use the │ │ │ -000672c0: 2062 7574 746f 6e73 200a 2020 2020 746f buttons . to │ │ │ -000672d0: 2063 6861 6e67 6520 7468 6520 7661 6c75 change the valu │ │ │ -000672e0: 652e 0a0a 2020 2020 2222 220a 0a20 2020 e... """.. │ │ │ -000672f0: 2074 6869 736f 776e 203d 2070 726f 7065 thisown = prope │ │ │ -00067300: 7274 7928 6c61 6d62 6461 2078 3a20 782e rty(lambda x: x. │ │ │ -00067310: 7468 6973 2e6f 776e 2829 2c20 6c61 6d62 this.own(), lamb │ │ │ -00067320: 6461 2078 2c20 763a 2078 2e74 6869 732e da x, v: x.this. │ │ │ -00067330: 6f77 6e28 7629 2c20 646f 633d 2254 6865 own(v), doc="The │ │ │ -00067340: 206d 656d 6265 7273 6869 7020 666c 6167 membership flag │ │ │ -00067350: 2229 0a20 2020 205f 5f72 6570 725f 5f20 "). __repr__ │ │ │ -00067360: 3d20 5f73 7769 675f 7265 7072 0a0a 2020 = _swig_repr.. │ │ │ -00067370: 2020 6465 6620 6472 6177 2873 656c 662c def draw(self, │ │ │ -00067380: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00067390: 2072 2222 2264 7261 7728 466c 5f53 7069 r"""draw(Fl_Spi │ │ │ -000673a0: 6e6e 6572 2073 656c 6629 2222 220a 2020 nner self)""". │ │ │ -000673b0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -000673c0: 746b 2e46 6c5f 5370 696e 6e65 725f 6472 tk.Fl_Spinner_dr │ │ │ -000673d0: 6177 2873 656c 662c 202a 6172 6773 290a aw(self, *args). │ │ │ -000673e0: 0a20 2020 2064 6566 205f 5f69 6e69 745f . def __init_ │ │ │ -000673f0: 5f28 7365 6c66 2c20 2a61 7267 7329 3a0a _(self, *args):. │ │ │ -00067400: 2020 2020 2020 2020 7222 2222 5f5f 696e r"""__in │ │ │ -00067410: 6974 5f5f 2846 6c5f 5370 696e 6e65 7220 it__(Fl_Spinner │ │ │ -00067420: 7365 6c66 2c20 696e 7420 582c 2069 6e74 self, int X, int │ │ │ -00067430: 2059 2c20 696e 7420 572c 2069 6e74 2048 Y, int W, int H │ │ │ -00067440: 2c20 6368 6172 2063 6f6e 7374 202a 204c , char const * L │ │ │ -00067450: 3d4e 6f6e 6529 202d 3e20 466c 5f53 7069 =None) -> Fl_Spi │ │ │ -00067460: 6e6e 6572 2222 220a 2020 2020 2020 2020 nner""". │ │ │ -00067470: 6966 2073 656c 662e 5f5f 636c 6173 735f if self.__class_ │ │ │ -00067480: 5f20 3d3d 2046 6c5f 5370 696e 6e65 723a _ == Fl_Spinner: │ │ │ -00067490: 0a20 2020 2020 2020 2020 2020 205f 7365 . _se │ │ │ -000674a0: 6c66 203d 204e 6f6e 650a 2020 2020 2020 lf = None. │ │ │ -000674b0: 2020 656c 7365 3a0a 2020 2020 2020 2020 else:. │ │ │ -000674c0: 2020 2020 5f73 656c 6620 3d20 7365 6c66 _self = self │ │ │ -000674d0: 0a20 2020 2020 2020 205f 666c 746b 2e46 . _fltk.F │ │ │ -000674e0: 6c5f 5370 696e 6e65 725f 7377 6967 696e l_Spinner_swigin │ │ │ -000674f0: 6974 2873 656c 662c 205f 666c 746b 2e6e it(self, _fltk.n │ │ │ -00067500: 6577 5f46 6c5f 5370 696e 6e65 7228 5f73 ew_Fl_Spinner(_s │ │ │ -00067510: 656c 662c 202a 6172 6773 2929 0a0a 2020 elf, *args)).. │ │ │ -00067520: 2020 2020 2020 6966 206c 656e 2861 7267 if len(arg │ │ │ -00067530: 7329 203d 3d20 353a 2020 2020 2020 2020 s) == 5: │ │ │ -00067540: 2020 0a20 2020 2020 2020 2023 7265 7461 . #reta │ │ │ -00067550: 696e 2072 6566 6572 656e 6365 2074 6f20 in reference to │ │ │ -00067560: 6c61 6265 6c0a 2020 2020 2020 2020 2020 label. │ │ │ -00067570: 2020 7365 6c66 2e6d 795f 6c61 6265 6c20 self.my_label │ │ │ -00067580: 3d20 6172 6773 5b2d 315d 0a20 2020 2020 = args[-1]. │ │ │ -00067590: 2020 2069 6620 7365 6c66 2e70 6172 656e if self.paren │ │ │ -000675a0: 7428 2920 213d 204e 6f6e 653a 2020 200a t() != None: . │ │ │ -000675b0: 2020 2020 2020 2020 2364 656c 6567 6174 #delegat │ │ │ -000675c0: 6520 6f77 6e65 7273 6869 7020 746f 2043 e ownership to C │ │ │ -000675d0: 2b2b 0a20 2020 2020 2020 2020 2020 2073 ++. s │ │ │ -000675e0: 656c 662e 7468 6973 2e64 6973 6f77 6e28 elf.this.disown( │ │ │ -000675f0: 290a 2020 2020 2020 2020 7365 6c66 2e69 ). self.i │ │ │ -00067600: 6e69 745f 7479 7065 2822 466c 5f53 7069 nit_type("Fl_Spi │ │ │ -00067610: 6e6e 6572 2229 0a20 2020 2020 2020 2023 nner"). # │ │ │ -00067620: 7072 696e 7428 2241 6464 696e 6720 7479 print("Adding ty │ │ │ -00067630: 7065 3a20 222c 2046 6c5f 5370 696e 6e65 pe: ", Fl_Spinne │ │ │ -00067640: 7229 0a0a 0a0a 0a20 2020 2064 6566 2068 r)..... def h │ │ │ -00067650: 616e 646c 6528 7365 6c66 2c20 2a61 7267 andle(self, *arg │ │ │ -00067660: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -00067670: 6861 6e64 6c65 2846 6c5f 5370 696e 6e65 handle(Fl_Spinne │ │ │ -00067680: 7220 7365 6c66 2c20 696e 7420 6576 656e r self, int even │ │ │ -00067690: 7429 202d 3e20 696e 7422 2222 0a20 2020 t) -> int""". │ │ │ -000676a0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -000676b0: 6b2e 466c 5f53 7069 6e6e 6572 5f68 616e k.Fl_Spinner_han │ │ │ -000676c0: 646c 6528 7365 6c66 2c20 2a61 7267 7329 dle(self, *args) │ │ │ -000676d0: 0a0a 2020 2020 6465 6620 7265 7369 7a65 .. def resize │ │ │ -000676e0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -000676f0: 2020 2020 2020 2072 2222 2272 6573 697a r"""resiz │ │ │ -00067700: 6528 466c 5f53 7069 6e6e 6572 2073 656c e(Fl_Spinner sel │ │ │ -00067710: 662c 2069 6e74 2058 2c20 696e 7420 592c f, int X, int Y, │ │ │ -00067720: 2069 6e74 2057 2c20 696e 7420 4829 2222 int W, int H)"" │ │ │ -00067730: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00067740: 205f 666c 746b 2e46 6c5f 5370 696e 6e65 _fltk.Fl_Spinne │ │ │ -00067750: 725f 7265 7369 7a65 2873 656c 662c 202a r_resize(self, * │ │ │ -00067760: 6172 6773 290a 0a20 2020 2064 6566 2066 args).. def f │ │ │ -00067770: 6f72 6d61 7428 7365 6c66 2c20 2a61 7267 ormat(self, *arg │ │ │ -00067780: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -00067790: 0a20 2020 2020 2020 2066 6f72 6d61 7428 . format( │ │ │ -000677a0: 466c 5f53 7069 6e6e 6572 2073 656c 6629 Fl_Spinner self) │ │ │ -000677b0: 202d 3e20 6368 6172 2063 6f6e 7374 0a20 -> char const. │ │ │ -000677c0: 2020 2020 2020 2066 6f72 6d61 7428 466c format(Fl │ │ │ -000677d0: 5f53 7069 6e6e 6572 2073 656c 662c 2063 _Spinner self, c │ │ │ -000677e0: 6861 7220 636f 6e73 7420 2a20 6629 0a20 har const * f). │ │ │ -000677f0: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ -00067800: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00067810: 466c 5f53 7069 6e6e 6572 5f66 6f72 6d61 Fl_Spinner_forma │ │ │ -00067820: 7428 7365 6c66 2c20 2a61 7267 7329 0a0a t(self, *args).. │ │ │ -00067830: 2020 2020 6465 6620 7261 6e67 6528 7365 def range(se │ │ │ -00067840: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -00067850: 2020 2020 7222 2222 7261 6e67 6528 466c r"""range(Fl │ │ │ -00067860: 5f53 7069 6e6e 6572 2073 656c 662c 2064 _Spinner self, d │ │ │ -00067870: 6f75 626c 6520 612c 2064 6f75 626c 6520 ouble a, double │ │ │ -00067880: 6229 2222 220a 2020 2020 2020 2020 7265 b)""". re │ │ │ -00067890: 7475 726e 205f 666c 746b 2e46 6c5f 5370 turn _fltk.Fl_Sp │ │ │ -000678a0: 696e 6e65 725f 7261 6e67 6528 7365 6c66 inner_range(self │ │ │ -000678b0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -000678c0: 6620 7374 6570 2873 656c 662c 202a 6172 f step(self, *ar │ │ │ -000678d0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -000678e0: 220a 2020 2020 2020 2020 7374 6570 2846 ". step(F │ │ │ -000678f0: 6c5f 5370 696e 6e65 7220 7365 6c66 2c20 l_Spinner self, │ │ │ -00067900: 646f 7562 6c65 2073 290a 2020 2020 2020 double s). │ │ │ -00067910: 2020 7374 6570 2846 6c5f 5370 696e 6e65 step(Fl_Spinne │ │ │ -00067920: 7220 7365 6c66 2920 2d3e 2064 6f75 626c r self) -> doubl │ │ │ -00067930: 650a 2020 2020 2020 2020 2222 220a 2020 e. """. │ │ │ -00067940: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00067950: 746b 2e46 6c5f 5370 696e 6e65 725f 7374 tk.Fl_Spinner_st │ │ │ -00067960: 6570 2873 656c 662c 202a 6172 6773 290a ep(self, *args). │ │ │ -00067970: 0a20 2020 2064 6566 2077 7261 7028 7365 . def wrap(se │ │ │ -00067980: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -00067990: 2020 2020 7222 2222 0a20 2020 2020 2020 r""". │ │ │ -000679a0: 2077 7261 7028 466c 5f53 7069 6e6e 6572 wrap(Fl_Spinner │ │ │ -000679b0: 2073 656c 662c 2069 6e74 2073 6574 290a self, int set). │ │ │ -000679c0: 2020 2020 2020 2020 7772 6170 2846 6c5f wrap(Fl_ │ │ │ -000679d0: 5370 696e 6e65 7220 7365 6c66 2920 2d3e Spinner self) -> │ │ │ -000679e0: 2069 6e74 0a20 2020 2020 2020 2022 2222 int. """ │ │ │ -000679f0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00067a00: 5f66 6c74 6b2e 466c 5f53 7069 6e6e 6572 _fltk.Fl_Spinner │ │ │ -00067a10: 5f77 7261 7028 7365 6c66 2c20 2a61 7267 _wrap(self, *arg │ │ │ -00067a20: 7329 0a0a 2020 2020 6465 6620 7465 7874 s).. def text │ │ │ -00067a30: 636f 6c6f 7228 7365 6c66 2c20 2a61 7267 color(self, *arg │ │ │ -00067a40: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -00067a50: 0a20 2020 2020 2020 2074 6578 7463 6f6c . textcol │ │ │ -00067a60: 6f72 2846 6c5f 5370 696e 6e65 7220 7365 or(Fl_Spinner se │ │ │ -00067a70: 6c66 2920 2d3e 2046 6c5f 436f 6c6f 720a lf) -> Fl_Color. │ │ │ -00067a80: 2020 2020 2020 2020 7465 7874 636f 6c6f textcolo │ │ │ -00067a90: 7228 466c 5f53 7069 6e6e 6572 2073 656c r(Fl_Spinner sel │ │ │ -00067aa0: 662c 2046 6c5f 436f 6c6f 7220 6329 0a20 f, Fl_Color c). │ │ │ -00067ab0: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ -00067ac0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00067ad0: 466c 5f53 7069 6e6e 6572 5f74 6578 7463 Fl_Spinner_textc │ │ │ -00067ae0: 6f6c 6f72 2873 656c 662c 202a 6172 6773 olor(self, *args │ │ │ -00067af0: 290a 0a20 2020 2064 6566 2074 6578 7466 ).. def textf │ │ │ -00067b00: 6f6e 7428 7365 6c66 2c20 2a61 7267 7329 ont(self, *args) │ │ │ -00067b10: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ -00067b20: 2020 2020 2020 2074 6578 7466 6f6e 7428 textfont( │ │ │ -00067b30: 466c 5f53 7069 6e6e 6572 2073 656c 6629 Fl_Spinner self) │ │ │ -00067b40: 202d 3e20 466c 5f46 6f6e 740a 2020 2020 -> Fl_Font. │ │ │ +0005b960: 6572 2073 656c 6629 202d 3e20 646f 7562 er self) -> doub │ │ │ +0005b970: 6c65 0a20 2020 2020 2020 2079 7661 6c75 le. yvalu │ │ │ +0005b980: 6528 466c 5f50 6f73 6974 696f 6e65 7220 e(Fl_Positioner │ │ │ +0005b990: 7365 6c66 2c20 646f 7562 6c65 2061 7267 self, double arg │ │ │ +0005b9a0: 3229 202d 3e20 696e 740a 2020 2020 2020 2) -> int. │ │ │ +0005b9b0: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ +0005b9c0: 7475 726e 205f 666c 746b 2e46 6c5f 506f turn _fltk.Fl_Po │ │ │ +0005b9d0: 7369 7469 6f6e 6572 5f79 7661 6c75 6528 sitioner_yvalue( │ │ │ +0005b9e0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +0005b9f0: 2020 6465 6620 7661 6c75 6528 7365 6c66 def value(self │ │ │ +0005ba00: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +0005ba10: 2020 7222 2222 7661 6c75 6528 466c 5f50 r"""value(Fl_P │ │ │ +0005ba20: 6f73 6974 696f 6e65 7220 7365 6c66 2c20 ositioner self, │ │ │ +0005ba30: 646f 7562 6c65 2061 7267 322c 2064 6f75 double arg2, dou │ │ │ +0005ba40: 626c 6520 6172 6733 2920 2d3e 2069 6e74 ble arg3) -> int │ │ │ +0005ba50: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +0005ba60: 726e 205f 666c 746b 2e46 6c5f 506f 7369 rn _fltk.Fl_Posi │ │ │ +0005ba70: 7469 6f6e 6572 5f76 616c 7565 2873 656c tioner_value(sel │ │ │ +0005ba80: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +0005ba90: 6566 2078 626f 756e 6473 2873 656c 662c ef xbounds(self, │ │ │ +0005baa0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +0005bab0: 2072 2222 2278 626f 756e 6473 2846 6c5f r"""xbounds(Fl_ │ │ │ +0005bac0: 506f 7369 7469 6f6e 6572 2073 656c 662c Positioner self, │ │ │ +0005bad0: 2064 6f75 626c 6520 6172 6732 2c20 646f double arg2, do │ │ │ +0005bae0: 7562 6c65 2061 7267 3329 2222 220a 2020 uble arg3)""". │ │ │ +0005baf0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +0005bb00: 746b 2e46 6c5f 506f 7369 7469 6f6e 6572 tk.Fl_Positioner │ │ │ +0005bb10: 5f78 626f 756e 6473 2873 656c 662c 202a _xbounds(self, * │ │ │ +0005bb20: 6172 6773 290a 0a20 2020 2064 6566 2078 args).. def x │ │ │ +0005bb30: 6d69 6e69 6d75 6d28 7365 6c66 2c20 2a61 minimum(self, *a │ │ │ +0005bb40: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0005bb50: 2222 0a20 2020 2020 2020 2078 6d69 6e69 "". xmini │ │ │ +0005bb60: 6d75 6d28 466c 5f50 6f73 6974 696f 6e65 mum(Fl_Positione │ │ │ +0005bb70: 7220 7365 6c66 2920 2d3e 2064 6f75 626c r self) -> doubl │ │ │ +0005bb80: 650a 2020 2020 2020 2020 786d 696e 696d e. xminim │ │ │ +0005bb90: 756d 2846 6c5f 506f 7369 7469 6f6e 6572 um(Fl_Positioner │ │ │ +0005bba0: 2073 656c 662c 2064 6f75 626c 6520 6129 self, double a) │ │ │ +0005bbb0: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ +0005bbc0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +0005bbd0: 6b2e 466c 5f50 6f73 6974 696f 6e65 725f k.Fl_Positioner_ │ │ │ +0005bbe0: 786d 696e 696d 756d 2873 656c 662c 202a xminimum(self, * │ │ │ +0005bbf0: 6172 6773 290a 0a20 2020 2064 6566 2078 args).. def x │ │ │ +0005bc00: 6d61 7869 6d75 6d28 7365 6c66 2c20 2a61 maximum(self, *a │ │ │ +0005bc10: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0005bc20: 2222 0a20 2020 2020 2020 2078 6d61 7869 "". xmaxi │ │ │ +0005bc30: 6d75 6d28 466c 5f50 6f73 6974 696f 6e65 mum(Fl_Positione │ │ │ +0005bc40: 7220 7365 6c66 2920 2d3e 2064 6f75 626c r self) -> doubl │ │ │ +0005bc50: 650a 2020 2020 2020 2020 786d 6178 696d e. xmaxim │ │ │ +0005bc60: 756d 2846 6c5f 506f 7369 7469 6f6e 6572 um(Fl_Positioner │ │ │ +0005bc70: 2073 656c 662c 2064 6f75 626c 6520 6129 self, double a) │ │ │ +0005bc80: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ +0005bc90: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +0005bca0: 6b2e 466c 5f50 6f73 6974 696f 6e65 725f k.Fl_Positioner_ │ │ │ +0005bcb0: 786d 6178 696d 756d 2873 656c 662c 202a xmaximum(self, * │ │ │ +0005bcc0: 6172 6773 290a 0a20 2020 2064 6566 2079 args).. def y │ │ │ +0005bcd0: 626f 756e 6473 2873 656c 662c 202a 6172 bounds(self, *ar │ │ │ +0005bce0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +0005bcf0: 2279 626f 756e 6473 2846 6c5f 506f 7369 "ybounds(Fl_Posi │ │ │ +0005bd00: 7469 6f6e 6572 2073 656c 662c 2064 6f75 tioner self, dou │ │ │ +0005bd10: 626c 6520 6172 6732 2c20 646f 7562 6c65 ble arg2, double │ │ │ +0005bd20: 2061 7267 3329 2222 220a 2020 2020 2020 arg3)""". │ │ │ +0005bd30: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +0005bd40: 6c5f 506f 7369 7469 6f6e 6572 5f79 626f l_Positioner_ybo │ │ │ +0005bd50: 756e 6473 2873 656c 662c 202a 6172 6773 unds(self, *args │ │ │ +0005bd60: 290a 0a20 2020 2064 6566 2079 6d69 6e69 ).. def ymini │ │ │ +0005bd70: 6d75 6d28 7365 6c66 2c20 2a61 7267 7329 mum(self, *args) │ │ │ +0005bd80: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ +0005bd90: 2020 2020 2020 2079 6d69 6e69 6d75 6d28 yminimum( │ │ │ +0005bda0: 466c 5f50 6f73 6974 696f 6e65 7220 7365 Fl_Positioner se │ │ │ +0005bdb0: 6c66 2920 2d3e 2064 6f75 626c 650a 2020 lf) -> double. │ │ │ +0005bdc0: 2020 2020 2020 796d 696e 696d 756d 2846 yminimum(F │ │ │ +0005bdd0: 6c5f 506f 7369 7469 6f6e 6572 2073 656c l_Positioner sel │ │ │ +0005bde0: 662c 2064 6f75 626c 6520 6129 0a20 2020 f, double a). │ │ │ +0005bdf0: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ +0005be00: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +0005be10: 5f50 6f73 6974 696f 6e65 725f 796d 696e _Positioner_ymin │ │ │ +0005be20: 696d 756d 2873 656c 662c 202a 6172 6773 imum(self, *args │ │ │ +0005be30: 290a 0a20 2020 2064 6566 2079 6d61 7869 ).. def ymaxi │ │ │ +0005be40: 6d75 6d28 7365 6c66 2c20 2a61 7267 7329 mum(self, *args) │ │ │ +0005be50: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ +0005be60: 2020 2020 2020 2079 6d61 7869 6d75 6d28 ymaximum( │ │ │ +0005be70: 466c 5f50 6f73 6974 696f 6e65 7220 7365 Fl_Positioner se │ │ │ +0005be80: 6c66 2920 2d3e 2064 6f75 626c 650a 2020 lf) -> double. │ │ │ +0005be90: 2020 2020 2020 796d 6178 696d 756d 2846 ymaximum(F │ │ │ +0005bea0: 6c5f 506f 7369 7469 6f6e 6572 2073 656c l_Positioner sel │ │ │ +0005beb0: 662c 2064 6f75 626c 6520 6129 0a20 2020 f, double a). │ │ │ +0005bec0: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ +0005bed0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +0005bee0: 5f50 6f73 6974 696f 6e65 725f 796d 6178 _Positioner_ymax │ │ │ +0005bef0: 696d 756d 2873 656c 662c 202a 6172 6773 imum(self, *args │ │ │ +0005bf00: 290a 0a20 2020 2064 6566 2078 7374 6570 ).. def xstep │ │ │ +0005bf10: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +0005bf20: 2020 2020 2020 2072 2222 2278 7374 6570 r"""xstep │ │ │ +0005bf30: 2846 6c5f 506f 7369 7469 6f6e 6572 2073 (Fl_Positioner s │ │ │ +0005bf40: 656c 662c 2064 6f75 626c 6520 6129 2222 elf, double a)"" │ │ │ +0005bf50: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0005bf60: 205f 666c 746b 2e46 6c5f 506f 7369 7469 _fltk.Fl_Positi │ │ │ +0005bf70: 6f6e 6572 5f78 7374 6570 2873 656c 662c oner_xstep(self, │ │ │ +0005bf80: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +0005bf90: 2079 7374 6570 2873 656c 662c 202a 6172 ystep(self, *ar │ │ │ +0005bfa0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +0005bfb0: 2279 7374 6570 2846 6c5f 506f 7369 7469 "ystep(Fl_Positi │ │ │ +0005bfc0: 6f6e 6572 2073 656c 662c 2064 6f75 626c oner self, doubl │ │ │ +0005bfd0: 6520 6129 2222 220a 2020 2020 2020 2020 e a)""". │ │ │ +0005bfe0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +0005bff0: 506f 7369 7469 6f6e 6572 5f79 7374 6570 Positioner_ystep │ │ │ +0005c000: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +0005c010: 2020 2064 6566 2069 6e69 745f 7479 7065 def init_type │ │ │ +0005c020: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +0005c030: 2020 2020 2020 2072 2222 2269 6e69 745f r"""init_ │ │ │ +0005c040: 7479 7065 2846 6c5f 506f 7369 7469 6f6e type(Fl_Position │ │ │ +0005c050: 6572 2073 656c 662c 2063 6861 7220 2a20 er self, char * │ │ │ +0005c060: 466c 5f50 6f73 6974 696f 6e65 7229 2222 Fl_Positioner)"" │ │ │ +0005c070: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0005c080: 205f 666c 746b 2e46 6c5f 506f 7369 7469 _fltk.Fl_Positi │ │ │ +0005c090: 6f6e 6572 5f69 6e69 745f 7479 7065 2873 oner_init_type(s │ │ │ +0005c0a0: 656c 662c 202a 6172 6773 290a 2020 2020 elf, *args). │ │ │ +0005c0b0: 5f5f 7377 6967 5f64 6573 7472 6f79 5f5f __swig_destroy__ │ │ │ +0005c0c0: 203d 205f 666c 746b 2e64 656c 6574 655f = _fltk.delete_ │ │ │ +0005c0d0: 466c 5f50 6f73 6974 696f 6e65 720a 2020 Fl_Positioner. │ │ │ +0005c0e0: 2020 6465 6620 5f5f 6469 736f 776e 5f5f def __disown__ │ │ │ +0005c0f0: 2873 656c 6629 3a0a 2020 2020 2020 2020 (self):. │ │ │ +0005c100: 7365 6c66 2e74 6869 732e 6469 736f 776e self.this.disown │ │ │ +0005c110: 2829 0a20 2020 2020 2020 205f 666c 746b (). _fltk │ │ │ +0005c120: 2e64 6973 6f77 6e5f 466c 5f50 6f73 6974 .disown_Fl_Posit │ │ │ +0005c130: 696f 6e65 7228 7365 6c66 290a 2020 2020 ioner(self). │ │ │ +0005c140: 2020 2020 7265 7475 726e 2077 6561 6b72 return weakr │ │ │ +0005c150: 6566 2e70 726f 7879 2873 656c 6629 0a0a ef.proxy(self).. │ │ │ +0005c160: 2320 5265 6769 7374 6572 2046 6c5f 506f # Register Fl_Po │ │ │ +0005c170: 7369 7469 6f6e 6572 2069 6e20 5f66 6c74 sitioner in _flt │ │ │ +0005c180: 6b3a 0a5f 666c 746b 2e46 6c5f 506f 7369 k:._fltk.Fl_Posi │ │ │ +0005c190: 7469 6f6e 6572 5f73 7769 6772 6567 6973 tioner_swigregis │ │ │ +0005c1a0: 7465 7228 466c 5f50 6f73 6974 696f 6e65 ter(Fl_Positione │ │ │ +0005c1b0: 7229 0a63 6c61 7373 2046 6c5f 5072 6566 r).class Fl_Pref │ │ │ +0005c1c0: 6572 656e 6365 7328 6f62 6a65 6374 293a erences(object): │ │ │ +0005c1d0: 0a20 2020 2072 2222 220a 0a20 2020 2046 . r""".. F │ │ │ +0005c1e0: 6c5f 5072 6566 6572 656e 6365 7320 7072 l_Preferences pr │ │ │ +0005c1f0: 6f76 6964 6573 206d 6574 686f 6473 2074 ovides methods t │ │ │ +0005c200: 6f20 7374 6f72 6520 7573 6572 2073 6574 o store user set │ │ │ +0005c210: 7469 6e67 2062 6574 7765 656e 2061 7070 ting between app │ │ │ +0005c220: 6c69 6361 7469 6f6e 200a 2020 2020 7374 lication . st │ │ │ +0005c230: 6172 7473 2e20 4974 2069 7320 7369 6d69 arts. It is simi │ │ │ +0005c240: 6c61 7220 746f 2074 6865 2052 6567 6973 lar to the Regis │ │ │ +0005c250: 7472 7920 6f6e 2057 494e 3332 2061 6e64 try on WIN32 and │ │ │ +0005c260: 2050 7265 6665 7265 6e63 6573 206f 6e20 Preferences on │ │ │ +0005c270: 4d61 634f 532c 200a 2020 2020 616e 6420 MacOS, . and │ │ │ +0005c280: 7072 6f76 6964 6573 2061 2073 696d 706c provides a simpl │ │ │ +0005c290: 6520 636f 6e66 6967 7572 6174 696f 6e20 e configuration │ │ │ +0005c2a0: 6d65 6368 616e 6973 6d20 666f 7220 554e mechanism for UN │ │ │ +0005c2b0: 4958 2e0a 0a20 2020 2046 6c5f 5072 6566 IX... Fl_Pref │ │ │ +0005c2c0: 6572 656e 6365 7320 7573 6573 2061 2068 erences uses a h │ │ │ +0005c2d0: 6965 7261 7263 6879 2074 6f20 7374 6f72 ierarchy to stor │ │ │ +0005c2e0: 6520 6461 7461 2e20 4974 2062 756e 646c e data. It bundl │ │ │ +0005c2f0: 6573 2073 696d 696c 6172 2064 6174 6120 es similar data │ │ │ +0005c300: 696e 746f 200a 2020 2020 6772 6f75 7073 into . groups │ │ │ +0005c310: 2061 6e64 206d 616e 6167 6573 2065 6e74 and manages ent │ │ │ +0005c320: 7269 6573 2069 6e74 6f20 7468 6f73 6520 ries into those │ │ │ +0005c330: 6772 6f75 7073 2061 7320 6e61 6d65 2f76 groups as name/v │ │ │ +0005c340: 616c 7565 2070 6169 7273 2e0a 0a20 2020 alue pairs... │ │ │ +0005c350: 2050 7265 6665 7265 6e63 6573 2061 7265 Preferences are │ │ │ +0005c360: 2073 746f 7265 6420 696e 2074 6578 7420 stored in text │ │ │ +0005c370: 6669 6c65 7320 7468 6174 2063 616e 2062 files that can b │ │ │ +0005c380: 6520 6564 6974 6564 206d 616e 7561 6c6c e edited manuall │ │ │ +0005c390: 792e 2054 6865 2066 696c 6520 0a20 2020 y. The file . │ │ │ +0005c3a0: 2066 6f72 6d61 7420 6973 2065 6173 7920 format is easy │ │ │ +0005c3b0: 746f 2072 6561 6420 616e 6420 7265 6c61 to read and rela │ │ │ +0005c3c0: 7469 7665 6c79 2066 6f72 6769 7669 6e67 tively forgiving │ │ │ +0005c3d0: 2e20 5072 6566 6572 656e 6365 7320 6669 . Preferences fi │ │ │ +0005c3e0: 6c65 7320 6172 6520 7468 6520 0a20 2020 les are the . │ │ │ +0005c3f0: 2073 616d 6520 6f6e 2061 6c6c 2070 6c61 same on all pla │ │ │ +0005c400: 7466 6f72 6d73 2e20 5573 6572 2063 6f6d tforms. User com │ │ │ +0005c410: 6d65 6e74 7320 696e 2070 7265 6665 7265 ments in prefere │ │ │ +0005c420: 6e63 6520 6669 6c65 7320 6172 6520 7072 nce files are pr │ │ │ +0005c430: 6573 6572 7665 642e 200a 2020 2020 4669 eserved. . Fi │ │ │ +0005c440: 6c65 6e61 6d65 7320 6172 6520 756e 6971 lenames are uniq │ │ │ +0005c450: 7565 2066 6f72 2065 6163 6820 6170 706c ue for each appl │ │ │ +0005c460: 6963 6174 696f 6e20 6279 2075 7369 6e67 ication by using │ │ │ +0005c470: 2061 2076 656e 646f 722f 6170 706c 6963 a vendor/applic │ │ │ +0005c480: 6174 696f 6e20 0a20 2020 206e 616d 696e ation . namin │ │ │ +0005c490: 6720 7363 6865 6d65 2e20 5468 6520 7573 g scheme. The us │ │ │ +0005c4a0: 6572 206d 7573 7420 7072 6f76 6964 6520 er must provide │ │ │ +0005c4b0: 6465 6661 756c 7420 7661 6c75 6573 2066 default values f │ │ │ +0005c4c0: 6f72 2061 6c6c 2065 6e74 7269 6573 2074 or all entries t │ │ │ +0005c4d0: 6f20 0a20 2020 2065 6e73 7572 6520 7072 o . ensure pr │ │ │ +0005c4e0: 6f70 6572 206f 7065 7261 7469 6f6e 2073 oper operation s │ │ │ +0005c4f0: 686f 756c 6420 7072 6566 6572 656e 6365 hould preference │ │ │ +0005c500: 7320 6265 2063 6f72 7275 7074 6564 206f s be corrupted o │ │ │ +0005c510: 7220 6e6f 7420 7965 7420 6578 6973 742e r not yet exist. │ │ │ +0005c520: 0a0a 2020 2020 456e 7472 6965 7320 6361 .. Entries ca │ │ │ +0005c530: 6e20 6265 206f 6620 616e 7920 6c65 6e67 n be of any leng │ │ │ +0005c540: 7468 2e20 486f 7765 7665 722c 2074 6865 th. However, the │ │ │ +0005c550: 2073 697a 6520 6f66 2065 6163 6820 7072 size of each pr │ │ │ +0005c560: 6566 6572 656e 6365 7320 6669 6c65 200a eferences file . │ │ │ +0005c570: 2020 2020 7368 6f75 6c64 2062 6520 6b65 should be ke │ │ │ +0005c580: 7074 2075 6e64 6572 2031 3030 6b20 666f pt under 100k fo │ │ │ +0005c590: 7220 7065 7266 6f72 6d61 6e63 6520 7265 r performance re │ │ │ +0005c5a0: 6173 6f6e 732e 204f 6e65 2061 7070 6c69 asons. One appli │ │ │ +0005c5b0: 6361 7469 6f6e 2063 616e 200a 2020 2020 cation can . │ │ │ +0005c5c0: 6861 7665 206d 756c 7469 706c 6520 7072 have multiple pr │ │ │ +0005c5d0: 6566 6572 656e 6365 7320 6669 6c65 732e eferences files. │ │ │ +0005c5e0: 2045 7874 656e 7369 7665 2062 696e 6172 Extensive binar │ │ │ +0005c5f0: 7920 6461 7461 2068 6f77 6576 6572 2073 y data however s │ │ │ +0005c600: 686f 756c 6420 6265 200a 2020 2020 7374 hould be . st │ │ │ +0005c610: 6f72 6564 2069 6e20 7365 7065 7261 7465 ored in seperate │ │ │ +0005c620: 2066 696c 6573 3b20 7365 6520 7468 6520 files; see the │ │ │ +0005c630: 6765 7455 7365 7264 6174 6150 6174 6828 getUserdataPath( │ │ │ +0005c640: 2920 6d65 7468 6f64 2e20 0a0a 2020 2020 ) method. .. │ │ │ +0005c650: 2222 220a 0a20 2020 2074 6869 736f 776e """.. thisown │ │ │ +0005c660: 203d 2070 726f 7065 7274 7928 6c61 6d62 = property(lamb │ │ │ +0005c670: 6461 2078 3a20 782e 7468 6973 2e6f 776e da x: x.this.own │ │ │ +0005c680: 2829 2c20 6c61 6d62 6461 2078 2c20 763a (), lambda x, v: │ │ │ +0005c690: 2078 2e74 6869 732e 6f77 6e28 7629 2c20 x.this.own(v), │ │ │ +0005c6a0: 646f 633d 2254 6865 206d 656d 6265 7273 doc="The members │ │ │ +0005c6b0: 6869 7020 666c 6167 2229 0a20 2020 205f hip flag"). _ │ │ │ +0005c6c0: 5f72 6570 725f 5f20 3d20 5f73 7769 675f _repr__ = _swig_ │ │ │ +0005c6d0: 7265 7072 0a20 2020 2053 5953 5445 4d20 repr. SYSTEM │ │ │ +0005c6e0: 3d20 5f66 6c74 6b2e 466c 5f50 7265 6665 = _fltk.Fl_Prefe │ │ │ +0005c6f0: 7265 6e63 6573 5f53 5953 5445 4d0a 2020 rences_SYSTEM. │ │ │ +0005c700: 2020 0a20 2020 2055 5345 5220 3d20 5f66 . USER = _f │ │ │ +0005c710: 6c74 6b2e 466c 5f50 7265 6665 7265 6e63 ltk.Fl_Preferenc │ │ │ +0005c720: 6573 5f55 5345 520a 2020 2020 0a0a 2020 es_USER. .. │ │ │ +0005c730: 2020 6465 6620 5f5f 696e 6974 5f5f 2873 def __init__(s │ │ │ +0005c740: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +0005c750: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ +0005c760: 2020 5f5f 696e 6974 5f5f 2846 6c5f 5072 __init__(Fl_Pr │ │ │ +0005c770: 6566 6572 656e 6365 7320 7365 6c66 2c20 eferences self, │ │ │ +0005c780: 466c 5f50 7265 6665 7265 6e63 6573 3a3a Fl_Preferences:: │ │ │ +0005c790: 526f 6f74 2072 6f6f 742c 2063 6861 7220 Root root, char │ │ │ +0005c7a0: 636f 6e73 7420 2a20 7665 6e64 6f72 2c20 const * vendor, │ │ │ +0005c7b0: 6368 6172 2063 6f6e 7374 202a 2061 7070 char const * app │ │ │ +0005c7c0: 6c69 6361 7469 6f6e 2920 2d3e 2046 6c5f lication) -> Fl_ │ │ │ +0005c7d0: 5072 6566 6572 656e 6365 730a 2020 2020 Preferences. │ │ │ +0005c7e0: 2020 2020 5f5f 696e 6974 5f5f 2846 6c5f __init__(Fl_ │ │ │ +0005c7f0: 5072 6566 6572 656e 6365 7320 7365 6c66 Preferences self │ │ │ +0005c800: 2c20 466c 5f50 7265 6665 7265 6e63 6573 , Fl_Preferences │ │ │ +0005c810: 2061 7267 322c 2063 6861 7220 636f 6e73 arg2, char cons │ │ │ +0005c820: 7420 2a20 6772 6f75 7029 202d 3e20 466c t * group) -> Fl │ │ │ +0005c830: 5f50 7265 6665 7265 6e63 6573 0a20 2020 _Preferences. │ │ │ +0005c840: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ +0005c850: 205f 666c 746b 2e46 6c5f 5072 6566 6572 _fltk.Fl_Prefer │ │ │ +0005c860: 656e 6365 735f 7377 6967 696e 6974 2873 ences_swiginit(s │ │ │ +0005c870: 656c 662c 205f 666c 746b 2e6e 6577 5f46 elf, _fltk.new_F │ │ │ +0005c880: 6c5f 5072 6566 6572 656e 6365 7328 2a61 l_Preferences(*a │ │ │ +0005c890: 7267 7329 290a 2020 2020 5f5f 7377 6967 rgs)). __swig │ │ │ +0005c8a0: 5f64 6573 7472 6f79 5f5f 203d 205f 666c _destroy__ = _fl │ │ │ +0005c8b0: 746b 2e64 656c 6574 655f 466c 5f50 7265 tk.delete_Fl_Pre │ │ │ +0005c8c0: 6665 7265 6e63 6573 0a0a 2020 2020 6465 ferences.. de │ │ │ +0005c8d0: 6620 6772 6f75 7073 2873 656c 662c 202a f groups(self, * │ │ │ +0005c8e0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +0005c8f0: 2222 2267 726f 7570 7328 466c 5f50 7265 """groups(Fl_Pre │ │ │ +0005c900: 6665 7265 6e63 6573 2073 656c 6629 202d ferences self) - │ │ │ +0005c910: 3e20 696e 7422 2222 0a20 2020 2020 2020 > int""". │ │ │ +0005c920: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +0005c930: 5f50 7265 6665 7265 6e63 6573 5f67 726f _Preferences_gro │ │ │ +0005c940: 7570 7328 7365 6c66 2c20 2a61 7267 7329 ups(self, *args) │ │ │ +0005c950: 0a0a 2020 2020 6465 6620 6772 6f75 7028 .. def group( │ │ │ +0005c960: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +0005c970: 2020 2020 2020 7222 2222 6772 6f75 7028 r"""group( │ │ │ +0005c980: 466c 5f50 7265 6665 7265 6e63 6573 2073 Fl_Preferences s │ │ │ +0005c990: 656c 662c 2069 6e74 2061 7267 3229 202d elf, int arg2) - │ │ │ +0005c9a0: 3e20 6368 6172 2063 6f6e 7374 202a 2222 > char const *"" │ │ │ +0005c9b0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0005c9c0: 205f 666c 746b 2e46 6c5f 5072 6566 6572 _fltk.Fl_Prefer │ │ │ +0005c9d0: 656e 6365 735f 6772 6f75 7028 7365 6c66 ences_group(self │ │ │ +0005c9e0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +0005c9f0: 6620 6772 6f75 7045 7869 7374 7328 7365 f groupExists(se │ │ │ +0005ca00: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +0005ca10: 2020 2020 7222 2222 6772 6f75 7045 7869 r"""groupExi │ │ │ +0005ca20: 7374 7328 466c 5f50 7265 6665 7265 6e63 sts(Fl_Preferenc │ │ │ +0005ca30: 6573 2073 656c 662c 2063 6861 7220 636f es self, char co │ │ │ +0005ca40: 6e73 7420 2a20 6772 6f75 7029 202d 3e20 nst * group) -> │ │ │ +0005ca50: 6368 6172 2222 220a 2020 2020 2020 2020 char""". │ │ │ +0005ca60: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +0005ca70: 5072 6566 6572 656e 6365 735f 6772 6f75 Preferences_grou │ │ │ +0005ca80: 7045 7869 7374 7328 7365 6c66 2c20 2a61 pExists(self, *a │ │ │ +0005ca90: 7267 7329 0a0a 2020 2020 6465 6620 6465 rgs).. def de │ │ │ +0005caa0: 6c65 7465 4772 6f75 7028 7365 6c66 2c20 leteGroup(self, │ │ │ +0005cab0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +0005cac0: 7222 2222 6465 6c65 7465 4772 6f75 7028 r"""deleteGroup( │ │ │ +0005cad0: 466c 5f50 7265 6665 7265 6e63 6573 2073 Fl_Preferences s │ │ │ +0005cae0: 656c 662c 2063 6861 7220 636f 6e73 7420 elf, char const │ │ │ +0005caf0: 2a20 6772 6f75 7029 202d 3e20 6368 6172 * group) -> char │ │ │ +0005cb00: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +0005cb10: 726e 205f 666c 746b 2e46 6c5f 5072 6566 rn _fltk.Fl_Pref │ │ │ +0005cb20: 6572 656e 6365 735f 6465 6c65 7465 4772 erences_deleteGr │ │ │ +0005cb30: 6f75 7028 7365 6c66 2c20 2a61 7267 7329 oup(self, *args) │ │ │ +0005cb40: 0a0a 2020 2020 6465 6620 656e 7472 6965 .. def entrie │ │ │ +0005cb50: 7328 7365 6c66 2c20 2a61 7267 7329 3a0a s(self, *args):. │ │ │ +0005cb60: 2020 2020 2020 2020 7222 2222 656e 7472 r"""entr │ │ │ +0005cb70: 6965 7328 466c 5f50 7265 6665 7265 6e63 ies(Fl_Preferenc │ │ │ +0005cb80: 6573 2073 656c 6629 202d 3e20 696e 7422 es self) -> int" │ │ │ +0005cb90: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0005cba0: 6e20 5f66 6c74 6b2e 466c 5f50 7265 6665 n _fltk.Fl_Prefe │ │ │ +0005cbb0: 7265 6e63 6573 5f65 6e74 7269 6573 2873 rences_entries(s │ │ │ +0005cbc0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +0005cbd0: 2064 6566 2065 6e74 7279 2873 656c 662c def entry(self, │ │ │ +0005cbe0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +0005cbf0: 2072 2222 2265 6e74 7279 2846 6c5f 5072 r"""entry(Fl_Pr │ │ │ +0005cc00: 6566 6572 656e 6365 7320 7365 6c66 2c20 eferences self, │ │ │ +0005cc10: 696e 7420 6172 6732 2920 2d3e 2063 6861 int arg2) -> cha │ │ │ +0005cc20: 7220 636f 6e73 7420 2a22 2222 0a20 2020 r const *""". │ │ │ +0005cc30: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +0005cc40: 6b2e 466c 5f50 7265 6665 7265 6e63 6573 k.Fl_Preferences │ │ │ +0005cc50: 5f65 6e74 7279 2873 656c 662c 202a 6172 _entry(self, *ar │ │ │ +0005cc60: 6773 290a 0a20 2020 2064 6566 2065 6e74 gs).. def ent │ │ │ +0005cc70: 7279 4578 6973 7473 2873 656c 662c 202a ryExists(self, * │ │ │ +0005cc80: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +0005cc90: 2222 2265 6e74 7279 4578 6973 7473 2846 """entryExists(F │ │ │ +0005cca0: 6c5f 5072 6566 6572 656e 6365 7320 7365 l_Preferences se │ │ │ +0005ccb0: 6c66 2c20 6368 6172 2063 6f6e 7374 202a lf, char const * │ │ │ +0005ccc0: 2065 6e74 7279 2920 2d3e 2063 6861 7222 entry) -> char" │ │ │ +0005ccd0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0005cce0: 6e20 5f66 6c74 6b2e 466c 5f50 7265 6665 n _fltk.Fl_Prefe │ │ │ +0005ccf0: 7265 6e63 6573 5f65 6e74 7279 4578 6973 rences_entryExis │ │ │ +0005cd00: 7473 2873 656c 662c 202a 6172 6773 290a ts(self, *args). │ │ │ +0005cd10: 0a20 2020 2064 6566 2064 656c 6574 6545 . def deleteE │ │ │ +0005cd20: 6e74 7279 2873 656c 662c 202a 6172 6773 ntry(self, *args │ │ │ +0005cd30: 293a 0a20 2020 2020 2020 2072 2222 2264 ):. r"""d │ │ │ +0005cd40: 656c 6574 6545 6e74 7279 2846 6c5f 5072 eleteEntry(Fl_Pr │ │ │ +0005cd50: 6566 6572 656e 6365 7320 7365 6c66 2c20 eferences self, │ │ │ +0005cd60: 6368 6172 2063 6f6e 7374 202a 2065 6e74 char const * ent │ │ │ +0005cd70: 7279 2920 2d3e 2063 6861 7222 2222 0a20 ry) -> char""". │ │ │ +0005cd80: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +0005cd90: 6c74 6b2e 466c 5f50 7265 6665 7265 6e63 ltk.Fl_Preferenc │ │ │ +0005cda0: 6573 5f64 656c 6574 6545 6e74 7279 2873 es_deleteEntry(s │ │ │ +0005cdb0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +0005cdc0: 2064 6566 2073 6574 2873 656c 662c 202a def set(self, * │ │ │ +0005cdd0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +0005cde0: 2222 220a 2020 2020 2020 2020 7365 7428 """. set( │ │ │ +0005cdf0: 466c 5f50 7265 6665 7265 6e63 6573 2073 Fl_Preferences s │ │ │ +0005ce00: 656c 662c 2063 6861 7220 636f 6e73 7420 elf, char const │ │ │ +0005ce10: 2a20 656e 7472 792c 2069 6e74 2076 616c * entry, int val │ │ │ +0005ce20: 7565 2920 2d3e 2063 6861 720a 2020 2020 ue) -> char. │ │ │ +0005ce30: 2020 2020 7365 7428 466c 5f50 7265 6665 set(Fl_Prefe │ │ │ +0005ce40: 7265 6e63 6573 2073 656c 662c 2063 6861 rences self, cha │ │ │ +0005ce50: 7220 636f 6e73 7420 2a20 656e 7472 792c r const * entry, │ │ │ +0005ce60: 2066 6c6f 6174 2076 616c 7565 2c20 696e float value, in │ │ │ +0005ce70: 7420 7072 6563 6973 696f 6e29 202d 3e20 t precision) -> │ │ │ +0005ce80: 6368 6172 0a20 2020 2020 2020 2073 6574 char. set │ │ │ +0005ce90: 2846 6c5f 5072 6566 6572 656e 6365 7320 (Fl_Preferences │ │ │ +0005cea0: 7365 6c66 2c20 6368 6172 2063 6f6e 7374 self, char const │ │ │ +0005ceb0: 202a 2065 6e74 7279 2c20 646f 7562 6c65 * entry, double │ │ │ +0005cec0: 2076 616c 7565 2920 2d3e 2063 6861 720a value) -> char. │ │ │ +0005ced0: 2020 2020 2020 2020 7365 7428 466c 5f50 set(Fl_P │ │ │ +0005cee0: 7265 6665 7265 6e63 6573 2073 656c 662c references self, │ │ │ +0005cef0: 2063 6861 7220 636f 6e73 7420 2a20 656e char const * en │ │ │ +0005cf00: 7472 792c 2064 6f75 626c 6520 7661 6c75 try, double valu │ │ │ +0005cf10: 652c 2069 6e74 2070 7265 6369 7369 6f6e e, int precision │ │ │ +0005cf20: 2920 2d3e 2063 6861 720a 2020 2020 2020 ) -> char. │ │ │ +0005cf30: 2020 7365 7428 466c 5f50 7265 6665 7265 set(Fl_Prefere │ │ │ +0005cf40: 6e63 6573 2073 656c 662c 2063 6861 7220 nces self, char │ │ │ +0005cf50: 636f 6e73 7420 2a20 656e 7472 792c 2063 const * entry, c │ │ │ +0005cf60: 6861 7220 636f 6e73 7420 2a20 6376 616c har const * cval │ │ │ +0005cf70: 7565 2920 2d3e 2063 6861 720a 2020 2020 ue) -> char. │ │ │ +0005cf80: 2020 2020 7365 7428 466c 5f50 7265 6665 set(Fl_Prefe │ │ │ +0005cf90: 7265 6e63 6573 2073 656c 662c 2063 6861 rences self, cha │ │ │ +0005cfa0: 7220 636f 6e73 7420 2a20 656e 7472 792c r const * entry, │ │ │ +0005cfb0: 2076 6f69 6420 636f 6e73 7420 2a20 6376 void const * cv │ │ │ +0005cfc0: 616c 7565 2c20 696e 7420 7369 7a65 2920 alue, int size) │ │ │ +0005cfd0: 2d3e 2063 6861 720a 2020 2020 2020 2020 -> char. │ │ │ +0005cfe0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +0005cff0: 726e 205f 666c 746b 2e46 6c5f 5072 6566 rn _fltk.Fl_Pref │ │ │ +0005d000: 6572 656e 6365 735f 7365 7428 7365 6c66 erences_set(self │ │ │ +0005d010: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +0005d020: 6620 6765 7428 7365 6c66 2c20 2a61 7267 f get(self, *arg │ │ │ +0005d030: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +0005d040: 0a20 2020 2020 2020 2067 6574 2846 6c5f . get(Fl_ │ │ │ +0005d050: 5072 6566 6572 656e 6365 7320 7365 6c66 Preferences self │ │ │ +0005d060: 2c20 6368 6172 2063 6f6e 7374 202a 2065 , char const * e │ │ │ +0005d070: 6e74 7279 2c20 696e 7420 6465 6661 756c ntry, int defaul │ │ │ +0005d080: 7456 616c 7565 2920 2d3e 2063 6861 720a tValue) -> char. │ │ │ +0005d090: 2020 2020 2020 2020 6765 7428 466c 5f50 get(Fl_P │ │ │ +0005d0a0: 7265 6665 7265 6e63 6573 2073 656c 662c references self, │ │ │ +0005d0b0: 2063 6861 7220 636f 6e73 7420 2a20 656e char const * en │ │ │ +0005d0c0: 7472 792c 2066 6c6f 6174 2064 6566 6175 try, float defau │ │ │ +0005d0d0: 6c74 5661 6c75 6529 202d 3e20 6368 6172 ltValue) -> char │ │ │ +0005d0e0: 0a20 2020 2020 2020 2067 6574 2846 6c5f . get(Fl_ │ │ │ +0005d0f0: 5072 6566 6572 656e 6365 7320 7365 6c66 Preferences self │ │ │ +0005d100: 2c20 6368 6172 2063 6f6e 7374 202a 2065 , char const * e │ │ │ +0005d110: 6e74 7279 2c20 646f 7562 6c65 2064 6566 ntry, double def │ │ │ +0005d120: 6175 6c74 5661 6c75 6529 202d 3e20 6368 aultValue) -> ch │ │ │ +0005d130: 6172 0a20 2020 2020 2020 2067 6574 2846 ar. get(F │ │ │ +0005d140: 6c5f 5072 6566 6572 656e 6365 7320 7365 l_Preferences se │ │ │ +0005d150: 6c66 2c20 6368 6172 2063 6f6e 7374 202a lf, char const * │ │ │ +0005d160: 2065 6e74 7279 2c20 6368 6172 2063 6f6e entry, char con │ │ │ +0005d170: 7374 202a 2064 6566 6175 6c74 5661 6c75 st * defaultValu │ │ │ +0005d180: 652c 2069 6e74 206d 6178 5369 7a65 2920 e, int maxSize) │ │ │ +0005d190: 2d3e 2063 6861 720a 2020 2020 2020 2020 -> char. │ │ │ +0005d1a0: 6765 7428 466c 5f50 7265 6665 7265 6e63 get(Fl_Preferenc │ │ │ +0005d1b0: 6573 2073 656c 662c 2063 6861 7220 636f es self, char co │ │ │ +0005d1c0: 6e73 7420 2a20 656e 7472 792c 2076 6f69 nst * entry, voi │ │ │ +0005d1d0: 6420 2a20 7661 6c75 652c 2076 6f69 6420 d * value, void │ │ │ +0005d1e0: 636f 6e73 7420 2a20 6465 6661 756c 7456 const * defaultV │ │ │ +0005d1f0: 616c 7565 2c20 696e 7420 6465 6661 756c alue, int defaul │ │ │ +0005d200: 7453 697a 652c 2069 6e74 206d 6178 5369 tSize, int maxSi │ │ │ +0005d210: 7a65 2920 2d3e 2063 6861 720a 2020 2020 ze) -> char. │ │ │ +0005d220: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ +0005d230: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +0005d240: 5072 6566 6572 656e 6365 735f 6765 7428 Preferences_get( │ │ │ +0005d250: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +0005d260: 2020 6465 6620 7369 7a65 2873 656c 662c def size(self, │ │ │ +0005d270: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +0005d280: 2072 2222 2273 697a 6528 466c 5f50 7265 r"""size(Fl_Pre │ │ │ +0005d290: 6665 7265 6e63 6573 2073 656c 662c 2063 ferences self, c │ │ │ +0005d2a0: 6861 7220 636f 6e73 7420 2a20 656e 7472 har const * entr │ │ │ +0005d2b0: 7929 202d 3e20 696e 7422 2222 0a20 2020 y) -> int""". │ │ │ +0005d2c0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +0005d2d0: 6b2e 466c 5f50 7265 6665 7265 6e63 6573 k.Fl_Preferences │ │ │ +0005d2e0: 5f73 697a 6528 7365 6c66 2c20 2a61 7267 _size(self, *arg │ │ │ +0005d2f0: 7329 0a0a 2020 2020 6465 6620 6765 7455 s).. def getU │ │ │ +0005d300: 7365 7264 6174 6150 6174 6828 7365 6c66 serdataPath(self │ │ │ +0005d310: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +0005d320: 2020 7222 2222 6765 7455 7365 7264 6174 r"""getUserdat │ │ │ +0005d330: 6150 6174 6828 466c 5f50 7265 6665 7265 aPath(Fl_Prefere │ │ │ +0005d340: 6e63 6573 2073 656c 662c 2063 6861 7220 nces self, char │ │ │ +0005d350: 2a20 7061 7468 2920 2d3e 2063 6861 7222 * path) -> char" │ │ │ +0005d360: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0005d370: 6e20 5f66 6c74 6b2e 466c 5f50 7265 6665 n _fltk.Fl_Prefe │ │ │ +0005d380: 7265 6e63 6573 5f67 6574 5573 6572 6461 rences_getUserda │ │ │ +0005d390: 7461 5061 7468 2873 656c 662c 202a 6172 taPath(self, *ar │ │ │ +0005d3a0: 6773 290a 0a20 2020 2064 6566 2066 6c75 gs).. def flu │ │ │ +0005d3b0: 7368 2873 656c 662c 202a 6172 6773 293a sh(self, *args): │ │ │ +0005d3c0: 0a20 2020 2020 2020 2072 2222 2266 6c75 . r"""flu │ │ │ +0005d3d0: 7368 2846 6c5f 5072 6566 6572 656e 6365 sh(Fl_Preference │ │ │ +0005d3e0: 7320 7365 6c66 2922 2222 0a20 2020 2020 s self)""". │ │ │ +0005d3f0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +0005d400: 466c 5f50 7265 6665 7265 6e63 6573 5f66 Fl_Preferences_f │ │ │ +0005d410: 6c75 7368 2873 656c 662c 202a 6172 6773 lush(self, *args │ │ │ +0005d420: 290a 0a23 2052 6567 6973 7465 7220 466c )..# Register Fl │ │ │ +0005d430: 5f50 7265 6665 7265 6e63 6573 2069 6e20 _Preferences in │ │ │ +0005d440: 5f66 6c74 6b3a 0a5f 666c 746b 2e46 6c5f _fltk:._fltk.Fl_ │ │ │ +0005d450: 5072 6566 6572 656e 6365 735f 7377 6967 Preferences_swig │ │ │ +0005d460: 7265 6769 7374 6572 2846 6c5f 5072 6566 register(Fl_Pref │ │ │ +0005d470: 6572 656e 6365 7329 0a63 6c61 7373 2046 erences).class F │ │ │ +0005d480: 6c5f 5072 6f67 7265 7373 2846 6c5f 5769 l_Progress(Fl_Wi │ │ │ +0005d490: 6467 6574 293a 0a20 2020 2072 2222 220a dget):. r""". │ │ │ +0005d4a0: 0a20 2020 2054 6865 2046 6c5f 5072 6f67 . The Fl_Prog │ │ │ +0005d4b0: 7265 7373 2077 6964 6765 7420 6469 7370 ress widget disp │ │ │ +0005d4c0: 6c61 7973 2061 2070 726f 6772 6573 7320 lays a progress │ │ │ +0005d4d0: 6261 7220 666f 7220 7468 6520 7573 6572 bar for the user │ │ │ +0005d4e0: 2e0a 0a20 2020 2022 2222 0a0a 2020 2020 ... """.. │ │ │ +0005d4f0: 7468 6973 6f77 6e20 3d20 7072 6f70 6572 thisown = proper │ │ │ +0005d500: 7479 286c 616d 6264 6120 783a 2078 2e74 ty(lambda x: x.t │ │ │ +0005d510: 6869 732e 6f77 6e28 292c 206c 616d 6264 his.own(), lambd │ │ │ +0005d520: 6120 782c 2076 3a20 782e 7468 6973 2e6f a x, v: x.this.o │ │ │ +0005d530: 776e 2876 292c 2064 6f63 3d22 5468 6520 wn(v), doc="The │ │ │ +0005d540: 6d65 6d62 6572 7368 6970 2066 6c61 6722 membership flag" │ │ │ +0005d550: 290a 2020 2020 5f5f 7265 7072 5f5f 203d ). __repr__ = │ │ │ +0005d560: 205f 7377 6967 5f72 6570 720a 0a20 2020 _swig_repr.. │ │ │ +0005d570: 2064 6566 2064 7261 7728 7365 6c66 2c20 def draw(self, │ │ │ +0005d580: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +0005d590: 7222 2222 6472 6177 2846 6c5f 5072 6f67 r"""draw(Fl_Prog │ │ │ +0005d5a0: 7265 7373 2073 656c 6629 2222 220a 2020 ress self)""". │ │ │ +0005d5b0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +0005d5c0: 746b 2e46 6c5f 5072 6f67 7265 7373 5f64 tk.Fl_Progress_d │ │ │ +0005d5d0: 7261 7728 7365 6c66 2c20 2a61 7267 7329 raw(self, *args) │ │ │ +0005d5e0: 0a0a 2020 2020 6465 6620 5f5f 696e 6974 .. def __init │ │ │ +0005d5f0: 5f5f 2873 656c 662c 202a 6172 6773 293a __(self, *args): │ │ │ +0005d600: 0a20 2020 2020 2020 2072 2222 225f 5f69 . r"""__i │ │ │ +0005d610: 6e69 745f 5f28 466c 5f50 726f 6772 6573 nit__(Fl_Progres │ │ │ +0005d620: 7320 7365 6c66 2c20 696e 7420 782c 2069 s self, int x, i │ │ │ +0005d630: 6e74 2079 2c20 696e 7420 772c 2069 6e74 nt y, int w, int │ │ │ +0005d640: 2068 2c20 6368 6172 2063 6f6e 7374 202a h, char const * │ │ │ +0005d650: 206c 3d4e 6f6e 6529 202d 3e20 466c 5f50 l=None) -> Fl_P │ │ │ +0005d660: 726f 6772 6573 7322 2222 0a20 2020 2020 rogress""". │ │ │ +0005d670: 2020 2069 6620 7365 6c66 2e5f 5f63 6c61 if self.__cla │ │ │ +0005d680: 7373 5f5f 203d 3d20 466c 5f50 726f 6772 ss__ == Fl_Progr │ │ │ +0005d690: 6573 733a 0a20 2020 2020 2020 2020 2020 ess:. │ │ │ +0005d6a0: 205f 7365 6c66 203d 204e 6f6e 650a 2020 _self = None. │ │ │ +0005d6b0: 2020 2020 2020 656c 7365 3a0a 2020 2020 else:. │ │ │ +0005d6c0: 2020 2020 2020 2020 5f73 656c 6620 3d20 _self = │ │ │ +0005d6d0: 7365 6c66 0a20 2020 2020 2020 205f 666c self. _fl │ │ │ +0005d6e0: 746b 2e46 6c5f 5072 6f67 7265 7373 5f73 tk.Fl_Progress_s │ │ │ +0005d6f0: 7769 6769 6e69 7428 7365 6c66 2c20 5f66 wiginit(self, _f │ │ │ +0005d700: 6c74 6b2e 6e65 775f 466c 5f50 726f 6772 ltk.new_Fl_Progr │ │ │ +0005d710: 6573 7328 5f73 656c 662c 202a 6172 6773 ess(_self, *args │ │ │ +0005d720: 2929 0a0a 2020 2020 2020 2020 6966 206c )).. if l │ │ │ +0005d730: 656e 2861 7267 7329 203d 3d20 353a 2020 en(args) == 5: │ │ │ +0005d740: 2020 2020 2020 2020 0a20 2020 2020 2020 . │ │ │ +0005d750: 2023 7265 7461 696e 2072 6566 6572 656e #retain referen │ │ │ +0005d760: 6365 2074 6f20 6c61 6265 6c0a 2020 2020 ce to label. │ │ │ +0005d770: 2020 2020 2020 2020 7365 6c66 2e6d 795f self.my_ │ │ │ +0005d780: 6c61 6265 6c20 3d20 6172 6773 5b2d 315d label = args[-1] │ │ │ +0005d790: 0a20 2020 2020 2020 2069 6620 7365 6c66 . if self │ │ │ +0005d7a0: 2e70 6172 656e 7428 2920 213d 204e 6f6e .parent() != Non │ │ │ +0005d7b0: 653a 2020 200a 2020 2020 2020 2020 2364 e: . #d │ │ │ +0005d7c0: 656c 6567 6174 6520 6f77 6e65 7273 6869 elegate ownershi │ │ │ +0005d7d0: 7020 746f 2043 2b2b 0a20 2020 2020 2020 p to C++. │ │ │ +0005d7e0: 2020 2020 2073 656c 662e 7468 6973 2e64 self.this.d │ │ │ +0005d7f0: 6973 6f77 6e28 290a 2020 2020 2020 2020 isown(). │ │ │ +0005d800: 7365 6c66 2e69 6e69 745f 7479 7065 2822 self.init_type(" │ │ │ +0005d810: 466c 5f50 726f 6772 6573 7322 290a 2020 Fl_Progress"). │ │ │ +0005d820: 2020 2020 2020 2370 7269 6e74 2822 4164 #print("Ad │ │ │ +0005d830: 6469 6e67 2074 7970 653a 2022 2c20 466c ding type: ", Fl │ │ │ +0005d840: 5f50 726f 6772 6573 7329 0a0a 0a0a 0a20 _Progress)..... │ │ │ +0005d850: 2020 2064 6566 206d 6178 696d 756d 2873 def maximum(s │ │ │ +0005d860: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +0005d870: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ +0005d880: 2020 6d61 7869 6d75 6d28 466c 5f50 726f maximum(Fl_Pro │ │ │ +0005d890: 6772 6573 7320 7365 6c66 2c20 666c 6f61 gress self, floa │ │ │ +0005d8a0: 7420 7629 0a20 2020 2020 2020 206d 6178 t v). max │ │ │ +0005d8b0: 696d 756d 2846 6c5f 5072 6f67 7265 7373 imum(Fl_Progress │ │ │ +0005d8c0: 2073 656c 6629 202d 3e20 666c 6f61 740a self) -> float. │ │ │ +0005d8d0: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ +0005d8e0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +0005d8f0: 2e46 6c5f 5072 6f67 7265 7373 5f6d 6178 .Fl_Progress_max │ │ │ +0005d900: 696d 756d 2873 656c 662c 202a 6172 6773 imum(self, *args │ │ │ +0005d910: 290a 0a20 2020 2064 6566 206d 696e 696d ).. def minim │ │ │ +0005d920: 756d 2873 656c 662c 202a 6172 6773 293a um(self, *args): │ │ │ +0005d930: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ +0005d940: 2020 2020 2020 6d69 6e69 6d75 6d28 466c minimum(Fl │ │ │ +0005d950: 5f50 726f 6772 6573 7320 7365 6c66 2c20 _Progress self, │ │ │ +0005d960: 666c 6f61 7420 7629 0a20 2020 2020 2020 float v). │ │ │ +0005d970: 206d 696e 696d 756d 2846 6c5f 5072 6f67 minimum(Fl_Prog │ │ │ +0005d980: 7265 7373 2073 656c 6629 202d 3e20 666c ress self) -> fl │ │ │ +0005d990: 6f61 740a 2020 2020 2020 2020 2222 220a oat. """. │ │ │ +0005d9a0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +0005d9b0: 666c 746b 2e46 6c5f 5072 6f67 7265 7373 fltk.Fl_Progress │ │ │ +0005d9c0: 5f6d 696e 696d 756d 2873 656c 662c 202a _minimum(self, * │ │ │ +0005d9d0: 6172 6773 290a 0a20 2020 2064 6566 2076 args).. def v │ │ │ +0005d9e0: 616c 7565 2873 656c 662c 202a 6172 6773 alue(self, *args │ │ │ +0005d9f0: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ +0005da00: 2020 2020 2020 2020 7661 6c75 6528 466c value(Fl │ │ │ +0005da10: 5f50 726f 6772 6573 7320 7365 6c66 2c20 _Progress self, │ │ │ +0005da20: 666c 6f61 7420 7629 0a20 2020 2020 2020 float v). │ │ │ +0005da30: 2076 616c 7565 2846 6c5f 5072 6f67 7265 value(Fl_Progre │ │ │ +0005da40: 7373 2073 656c 6629 202d 3e20 666c 6f61 ss self) -> floa │ │ │ +0005da50: 740a 2020 2020 2020 2020 2222 220a 2020 t. """. │ │ │ +0005da60: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +0005da70: 746b 2e46 6c5f 5072 6f67 7265 7373 5f76 tk.Fl_Progress_v │ │ │ +0005da80: 616c 7565 2873 656c 662c 202a 6172 6773 alue(self, *args │ │ │ +0005da90: 290a 0a20 2020 2064 6566 2069 6e69 745f ).. def init_ │ │ │ +0005daa0: 7479 7065 2873 656c 662c 202a 6172 6773 type(self, *args │ │ │ +0005dab0: 293a 0a20 2020 2020 2020 2072 2222 2269 ):. r"""i │ │ │ +0005dac0: 6e69 745f 7479 7065 2846 6c5f 5072 6f67 nit_type(Fl_Prog │ │ │ +0005dad0: 7265 7373 2073 656c 662c 2063 6861 7220 ress self, char │ │ │ +0005dae0: 2a20 466c 5f50 726f 6772 6573 7329 2222 * Fl_Progress)"" │ │ │ +0005daf0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0005db00: 205f 666c 746b 2e46 6c5f 5072 6f67 7265 _fltk.Fl_Progre │ │ │ +0005db10: 7373 5f69 6e69 745f 7479 7065 2873 656c ss_init_type(sel │ │ │ +0005db20: 662c 202a 6172 6773 290a 2020 2020 5f5f f, *args). __ │ │ │ +0005db30: 7377 6967 5f64 6573 7472 6f79 5f5f 203d swig_destroy__ = │ │ │ +0005db40: 205f 666c 746b 2e64 656c 6574 655f 466c _fltk.delete_Fl │ │ │ +0005db50: 5f50 726f 6772 6573 730a 2020 2020 6465 _Progress. de │ │ │ +0005db60: 6620 5f5f 6469 736f 776e 5f5f 2873 656c f __disown__(sel │ │ │ +0005db70: 6629 3a0a 2020 2020 2020 2020 7365 6c66 f):. self │ │ │ +0005db80: 2e74 6869 732e 6469 736f 776e 2829 0a20 .this.disown(). │ │ │ +0005db90: 2020 2020 2020 205f 666c 746b 2e64 6973 _fltk.dis │ │ │ +0005dba0: 6f77 6e5f 466c 5f50 726f 6772 6573 7328 own_Fl_Progress( │ │ │ +0005dbb0: 7365 6c66 290a 2020 2020 2020 2020 7265 self). re │ │ │ +0005dbc0: 7475 726e 2077 6561 6b72 6566 2e70 726f turn weakref.pro │ │ │ +0005dbd0: 7879 2873 656c 6629 0a0a 2320 5265 6769 xy(self)..# Regi │ │ │ +0005dbe0: 7374 6572 2046 6c5f 5072 6f67 7265 7373 ster Fl_Progress │ │ │ +0005dbf0: 2069 6e20 5f66 6c74 6b3a 0a5f 666c 746b in _fltk:._fltk │ │ │ +0005dc00: 2e46 6c5f 5072 6f67 7265 7373 5f73 7769 .Fl_Progress_swi │ │ │ +0005dc10: 6772 6567 6973 7465 7228 466c 5f50 726f gregister(Fl_Pro │ │ │ +0005dc20: 6772 6573 7329 0a63 6c61 7373 2046 6c5f gress).class Fl_ │ │ │ +0005dc30: 5261 6469 6f5f 4275 7474 6f6e 2846 6c5f Radio_Button(Fl_ │ │ │ +0005dc40: 4275 7474 6f6e 293a 0a20 2020 2072 2222 Button):. r"" │ │ │ +0005dc50: 2250 726f 7879 206f 6620 432b 2b20 466c "Proxy of C++ Fl │ │ │ +0005dc60: 5f52 6164 696f 5f42 7574 746f 6e20 636c _Radio_Button cl │ │ │ +0005dc70: 6173 732e 2222 220a 0a20 2020 2074 6869 ass.""".. thi │ │ │ +0005dc80: 736f 776e 203d 2070 726f 7065 7274 7928 sown = property( │ │ │ +0005dc90: 6c61 6d62 6461 2078 3a20 782e 7468 6973 lambda x: x.this │ │ │ +0005dca0: 2e6f 776e 2829 2c20 6c61 6d62 6461 2078 .own(), lambda x │ │ │ +0005dcb0: 2c20 763a 2078 2e74 6869 732e 6f77 6e28 , v: x.this.own( │ │ │ +0005dcc0: 7629 2c20 646f 633d 2254 6865 206d 656d v), doc="The mem │ │ │ +0005dcd0: 6265 7273 6869 7020 666c 6167 2229 0a20 bership flag"). │ │ │ +0005dce0: 2020 205f 5f72 6570 725f 5f20 3d20 5f73 __repr__ = _s │ │ │ +0005dcf0: 7769 675f 7265 7072 0a0a 2020 2020 6465 wig_repr.. de │ │ │ +0005dd00: 6620 5f5f 696e 6974 5f5f 2873 656c 662c f __init__(self, │ │ │ +0005dd10: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +0005dd20: 2072 2222 225f 5f69 6e69 745f 5f28 466c r"""__init__(Fl │ │ │ +0005dd30: 5f52 6164 696f 5f42 7574 746f 6e20 7365 _Radio_Button se │ │ │ +0005dd40: 6c66 2c20 696e 7420 582c 2069 6e74 2059 lf, int X, int Y │ │ │ +0005dd50: 2c20 696e 7420 572c 2069 6e74 2048 2c20 , int W, int H, │ │ │ +0005dd60: 6368 6172 2063 6f6e 7374 202a 204c 3d4e char const * L=N │ │ │ +0005dd70: 6f6e 6529 202d 3e20 466c 5f52 6164 696f one) -> Fl_Radio │ │ │ +0005dd80: 5f42 7574 746f 6e22 2222 0a20 2020 2020 _Button""". │ │ │ +0005dd90: 2020 2069 6620 7365 6c66 2e5f 5f63 6c61 if self.__cla │ │ │ +0005dda0: 7373 5f5f 203d 3d20 466c 5f52 6164 696f ss__ == Fl_Radio │ │ │ +0005ddb0: 5f42 7574 746f 6e3a 0a20 2020 2020 2020 _Button:. │ │ │ +0005ddc0: 2020 2020 205f 7365 6c66 203d 204e 6f6e _self = Non │ │ │ +0005ddd0: 650a 2020 2020 2020 2020 656c 7365 3a0a e. else:. │ │ │ +0005dde0: 2020 2020 2020 2020 2020 2020 5f73 656c _sel │ │ │ +0005ddf0: 6620 3d20 7365 6c66 0a20 2020 2020 2020 f = self. │ │ │ +0005de00: 205f 666c 746b 2e46 6c5f 5261 6469 6f5f _fltk.Fl_Radio_ │ │ │ +0005de10: 4275 7474 6f6e 5f73 7769 6769 6e69 7428 Button_swiginit( │ │ │ +0005de20: 7365 6c66 2c20 5f66 6c74 6b2e 6e65 775f self, _fltk.new_ │ │ │ +0005de30: 466c 5f52 6164 696f 5f42 7574 746f 6e28 Fl_Radio_Button( │ │ │ +0005de40: 5f73 656c 662c 202a 6172 6773 2929 0a0a _self, *args)).. │ │ │ +0005de50: 2020 2020 2020 2020 6966 206c 656e 2861 if len(a │ │ │ +0005de60: 7267 7329 203d 3d20 353a 2020 2020 2020 rgs) == 5: │ │ │ +0005de70: 2020 2020 0a20 2020 2020 2020 2023 7265 . #re │ │ │ +0005de80: 7461 696e 2072 6566 6572 656e 6365 2074 tain reference t │ │ │ +0005de90: 6f20 6c61 6265 6c0a 2020 2020 2020 2020 o label. │ │ │ +0005dea0: 2020 2020 7365 6c66 2e6d 795f 6c61 6265 self.my_labe │ │ │ +0005deb0: 6c20 3d20 6172 6773 5b2d 315d 0a20 2020 l = args[-1]. │ │ │ +0005dec0: 2020 2020 2069 6620 7365 6c66 2e70 6172 if self.par │ │ │ +0005ded0: 656e 7428 2920 213d 204e 6f6e 653a 2020 ent() != None: │ │ │ +0005dee0: 200a 2020 2020 2020 2020 2364 656c 6567 . #deleg │ │ │ +0005def0: 6174 6520 6f77 6e65 7273 6869 7020 746f ate ownership to │ │ │ +0005df00: 2043 2b2b 0a20 2020 2020 2020 2020 2020 C++. │ │ │ +0005df10: 2073 656c 662e 7468 6973 2e64 6973 6f77 self.this.disow │ │ │ +0005df20: 6e28 290a 2020 2020 2020 2020 7365 6c66 n(). self │ │ │ +0005df30: 2e69 6e69 745f 7479 7065 2822 466c 5f52 .init_type("Fl_R │ │ │ +0005df40: 6164 696f 5f42 7574 746f 6e22 290a 2020 adio_Button"). │ │ │ +0005df50: 2020 2020 2020 2370 7269 6e74 2822 4164 #print("Ad │ │ │ +0005df60: 6469 6e67 2074 7970 653a 2022 2c20 466c ding type: ", Fl │ │ │ +0005df70: 5f52 6164 696f 5f42 7574 746f 6e29 0a0a _Radio_Button).. │ │ │ +0005df80: 0a0a 0a20 2020 2064 6566 2069 6e69 745f ... def init_ │ │ │ +0005df90: 7479 7065 2873 656c 662c 202a 6172 6773 type(self, *args │ │ │ +0005dfa0: 293a 0a20 2020 2020 2020 2072 2222 2269 ):. r"""i │ │ │ +0005dfb0: 6e69 745f 7479 7065 2846 6c5f 5261 6469 nit_type(Fl_Radi │ │ │ +0005dfc0: 6f5f 4275 7474 6f6e 2073 656c 662c 2063 o_Button self, c │ │ │ +0005dfd0: 6861 7220 2a20 466c 5f52 6164 696f 5f42 har * Fl_Radio_B │ │ │ +0005dfe0: 7574 746f 6e29 2222 220a 2020 2020 2020 utton)""". │ │ │ +0005dff0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +0005e000: 6c5f 5261 6469 6f5f 4275 7474 6f6e 5f69 l_Radio_Button_i │ │ │ +0005e010: 6e69 745f 7479 7065 2873 656c 662c 202a nit_type(self, * │ │ │ +0005e020: 6172 6773 290a 2020 2020 5f5f 7377 6967 args). __swig │ │ │ +0005e030: 5f64 6573 7472 6f79 5f5f 203d 205f 666c _destroy__ = _fl │ │ │ +0005e040: 746b 2e64 656c 6574 655f 466c 5f52 6164 tk.delete_Fl_Rad │ │ │ +0005e050: 696f 5f42 7574 746f 6e0a 2020 2020 6465 io_Button. de │ │ │ +0005e060: 6620 5f5f 6469 736f 776e 5f5f 2873 656c f __disown__(sel │ │ │ +0005e070: 6629 3a0a 2020 2020 2020 2020 7365 6c66 f):. self │ │ │ +0005e080: 2e74 6869 732e 6469 736f 776e 2829 0a20 .this.disown(). │ │ │ +0005e090: 2020 2020 2020 205f 666c 746b 2e64 6973 _fltk.dis │ │ │ +0005e0a0: 6f77 6e5f 466c 5f52 6164 696f 5f42 7574 own_Fl_Radio_But │ │ │ +0005e0b0: 746f 6e28 7365 6c66 290a 2020 2020 2020 ton(self). │ │ │ +0005e0c0: 2020 7265 7475 726e 2077 6561 6b72 6566 return weakref │ │ │ +0005e0d0: 2e70 726f 7879 2873 656c 6629 0a0a 2020 .proxy(self).. │ │ │ +0005e0e0: 2020 6465 6620 6472 6177 2873 656c 662c def draw(self, │ │ │ +0005e0f0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +0005e100: 2072 2222 2264 7261 7728 466c 5f52 6164 r"""draw(Fl_Rad │ │ │ +0005e110: 696f 5f42 7574 746f 6e20 7365 6c66 2922 io_Button self)" │ │ │ +0005e120: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0005e130: 6e20 5f66 6c74 6b2e 466c 5f52 6164 696f n _fltk.Fl_Radio │ │ │ +0005e140: 5f42 7574 746f 6e5f 6472 6177 2873 656c _Button_draw(sel │ │ │ +0005e150: 662c 202a 6172 6773 290a 0a23 2052 6567 f, *args)..# Reg │ │ │ +0005e160: 6973 7465 7220 466c 5f52 6164 696f 5f42 ister Fl_Radio_B │ │ │ +0005e170: 7574 746f 6e20 696e 205f 666c 746b 3a0a utton in _fltk:. │ │ │ +0005e180: 5f66 6c74 6b2e 466c 5f52 6164 696f 5f42 _fltk.Fl_Radio_B │ │ │ +0005e190: 7574 746f 6e5f 7377 6967 7265 6769 7374 utton_swigregist │ │ │ +0005e1a0: 6572 2846 6c5f 5261 6469 6f5f 4275 7474 er(Fl_Radio_Butt │ │ │ +0005e1b0: 6f6e 290a 636c 6173 7320 466c 5f52 6164 on).class Fl_Rad │ │ │ +0005e1c0: 696f 5f4c 6967 6874 5f42 7574 746f 6e28 io_Light_Button( │ │ │ +0005e1d0: 466c 5f4c 6967 6874 5f42 7574 746f 6e29 Fl_Light_Button) │ │ │ +0005e1e0: 3a0a 2020 2020 7222 2222 5072 6f78 7920 :. r"""Proxy │ │ │ +0005e1f0: 6f66 2043 2b2b 2046 6c5f 5261 6469 6f5f of C++ Fl_Radio_ │ │ │ +0005e200: 4c69 6768 745f 4275 7474 6f6e 2063 6c61 Light_Button cla │ │ │ +0005e210: 7373 2e22 2222 0a0a 2020 2020 7468 6973 ss.""".. this │ │ │ +0005e220: 6f77 6e20 3d20 7072 6f70 6572 7479 286c own = property(l │ │ │ +0005e230: 616d 6264 6120 783a 2078 2e74 6869 732e ambda x: x.this. │ │ │ +0005e240: 6f77 6e28 292c 206c 616d 6264 6120 782c own(), lambda x, │ │ │ +0005e250: 2076 3a20 782e 7468 6973 2e6f 776e 2876 v: x.this.own(v │ │ │ +0005e260: 292c 2064 6f63 3d22 5468 6520 6d65 6d62 ), doc="The memb │ │ │ +0005e270: 6572 7368 6970 2066 6c61 6722 290a 2020 ership flag"). │ │ │ +0005e280: 2020 5f5f 7265 7072 5f5f 203d 205f 7377 __repr__ = _sw │ │ │ +0005e290: 6967 5f72 6570 720a 0a20 2020 2064 6566 ig_repr.. def │ │ │ +0005e2a0: 205f 5f69 6e69 745f 5f28 7365 6c66 2c20 __init__(self, │ │ │ +0005e2b0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +0005e2c0: 7222 2222 5f5f 696e 6974 5f5f 2846 6c5f r"""__init__(Fl_ │ │ │ +0005e2d0: 5261 6469 6f5f 4c69 6768 745f 4275 7474 Radio_Light_Butt │ │ │ +0005e2e0: 6f6e 2073 656c 662c 2069 6e74 2058 2c20 on self, int X, │ │ │ +0005e2f0: 696e 7420 592c 2069 6e74 2057 2c20 696e int Y, int W, in │ │ │ +0005e300: 7420 482c 2063 6861 7220 636f 6e73 7420 t H, char const │ │ │ +0005e310: 2a20 6c3d 4e6f 6e65 2920 2d3e 2046 6c5f * l=None) -> Fl_ │ │ │ +0005e320: 5261 6469 6f5f 4c69 6768 745f 4275 7474 Radio_Light_Butt │ │ │ +0005e330: 6f6e 2222 220a 2020 2020 2020 2020 6966 on""". if │ │ │ +0005e340: 2073 656c 662e 5f5f 636c 6173 735f 5f20 self.__class__ │ │ │ +0005e350: 3d3d 2046 6c5f 5261 6469 6f5f 4c69 6768 == Fl_Radio_Ligh │ │ │ +0005e360: 745f 4275 7474 6f6e 3a0a 2020 2020 2020 t_Button:. │ │ │ +0005e370: 2020 2020 2020 5f73 656c 6620 3d20 4e6f _self = No │ │ │ +0005e380: 6e65 0a20 2020 2020 2020 2065 6c73 653a ne. else: │ │ │ +0005e390: 0a20 2020 2020 2020 2020 2020 205f 7365 . _se │ │ │ +0005e3a0: 6c66 203d 2073 656c 660a 2020 2020 2020 lf = self. │ │ │ +0005e3b0: 2020 5f66 6c74 6b2e 466c 5f52 6164 696f _fltk.Fl_Radio │ │ │ +0005e3c0: 5f4c 6967 6874 5f42 7574 746f 6e5f 7377 _Light_Button_sw │ │ │ +0005e3d0: 6967 696e 6974 2873 656c 662c 205f 666c iginit(self, _fl │ │ │ +0005e3e0: 746b 2e6e 6577 5f46 6c5f 5261 6469 6f5f tk.new_Fl_Radio_ │ │ │ +0005e3f0: 4c69 6768 745f 4275 7474 6f6e 285f 7365 Light_Button(_se │ │ │ +0005e400: 6c66 2c20 2a61 7267 7329 290a 0a20 2020 lf, *args)).. │ │ │ +0005e410: 2020 2020 2069 6620 6c65 6e28 6172 6773 if len(args │ │ │ +0005e420: 2920 3d3d 2035 3a20 2020 2020 2020 2020 ) == 5: │ │ │ +0005e430: 200a 2020 2020 2020 2020 2372 6574 6169 . #retai │ │ │ +0005e440: 6e20 7265 6665 7265 6e63 6520 746f 206c n reference to l │ │ │ +0005e450: 6162 656c 0a20 2020 2020 2020 2020 2020 abel. │ │ │ +0005e460: 2073 656c 662e 6d79 5f6c 6162 656c 203d self.my_label = │ │ │ +0005e470: 2061 7267 735b 2d31 5d0a 2020 2020 2020 args[-1]. │ │ │ +0005e480: 2020 6966 2073 656c 662e 7061 7265 6e74 if self.parent │ │ │ +0005e490: 2829 2021 3d20 4e6f 6e65 3a20 2020 0a20 () != None: . │ │ │ +0005e4a0: 2020 2020 2020 2023 6465 6c65 6761 7465 #delegate │ │ │ +0005e4b0: 206f 776e 6572 7368 6970 2074 6f20 432b ownership to C+ │ │ │ +0005e4c0: 2b0a 2020 2020 2020 2020 2020 2020 7365 +. se │ │ │ +0005e4d0: 6c66 2e74 6869 732e 6469 736f 776e 2829 lf.this.disown() │ │ │ +0005e4e0: 0a20 2020 2020 2020 2073 656c 662e 696e . self.in │ │ │ +0005e4f0: 6974 5f74 7970 6528 2246 6c5f 5261 6469 it_type("Fl_Radi │ │ │ +0005e500: 6f5f 4c69 6768 745f 4275 7474 6f6e 2229 o_Light_Button") │ │ │ +0005e510: 0a20 2020 2020 2020 2023 7072 696e 7428 . #print( │ │ │ +0005e520: 2241 6464 696e 6720 7479 7065 3a20 222c "Adding type: ", │ │ │ +0005e530: 2046 6c5f 5261 6469 6f5f 4c69 6768 745f Fl_Radio_Light_ │ │ │ +0005e540: 4275 7474 6f6e 290a 0a0a 0a0a 2020 2020 Button)..... │ │ │ +0005e550: 6465 6620 696e 6974 5f74 7970 6528 7365 def init_type(se │ │ │ +0005e560: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +0005e570: 2020 2020 7222 2222 696e 6974 5f74 7970 r"""init_typ │ │ │ +0005e580: 6528 466c 5f52 6164 696f 5f4c 6967 6874 e(Fl_Radio_Light │ │ │ +0005e590: 5f42 7574 746f 6e20 7365 6c66 2c20 6368 _Button self, ch │ │ │ +0005e5a0: 6172 202a 2046 6c5f 5261 6469 6f5f 4c69 ar * Fl_Radio_Li │ │ │ +0005e5b0: 6768 745f 4275 7474 6f6e 2922 2222 0a20 ght_Button)""". │ │ │ +0005e5c0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +0005e5d0: 6c74 6b2e 466c 5f52 6164 696f 5f4c 6967 ltk.Fl_Radio_Lig │ │ │ +0005e5e0: 6874 5f42 7574 746f 6e5f 696e 6974 5f74 ht_Button_init_t │ │ │ +0005e5f0: 7970 6528 7365 6c66 2c20 2a61 7267 7329 ype(self, *args) │ │ │ +0005e600: 0a20 2020 205f 5f73 7769 675f 6465 7374 . __swig_dest │ │ │ +0005e610: 726f 795f 5f20 3d20 5f66 6c74 6b2e 6465 roy__ = _fltk.de │ │ │ +0005e620: 6c65 7465 5f46 6c5f 5261 6469 6f5f 4c69 lete_Fl_Radio_Li │ │ │ +0005e630: 6768 745f 4275 7474 6f6e 0a20 2020 2064 ght_Button. d │ │ │ +0005e640: 6566 205f 5f64 6973 6f77 6e5f 5f28 7365 ef __disown__(se │ │ │ +0005e650: 6c66 293a 0a20 2020 2020 2020 2073 656c lf):. sel │ │ │ +0005e660: 662e 7468 6973 2e64 6973 6f77 6e28 290a f.this.disown(). │ │ │ +0005e670: 2020 2020 2020 2020 5f66 6c74 6b2e 6469 _fltk.di │ │ │ +0005e680: 736f 776e 5f46 6c5f 5261 6469 6f5f 4c69 sown_Fl_Radio_Li │ │ │ +0005e690: 6768 745f 4275 7474 6f6e 2873 656c 6629 ght_Button(self) │ │ │ +0005e6a0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +0005e6b0: 7765 616b 7265 662e 7072 6f78 7928 7365 weakref.proxy(se │ │ │ +0005e6c0: 6c66 290a 0a20 2020 2064 6566 2064 7261 lf).. def dra │ │ │ +0005e6d0: 7728 7365 6c66 2c20 2a61 7267 7329 3a0a w(self, *args):. │ │ │ +0005e6e0: 2020 2020 2020 2020 7222 2222 6472 6177 r"""draw │ │ │ +0005e6f0: 2846 6c5f 5261 6469 6f5f 4c69 6768 745f (Fl_Radio_Light_ │ │ │ +0005e700: 4275 7474 6f6e 2073 656c 6629 2222 220a Button self)""". │ │ │ +0005e710: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +0005e720: 666c 746b 2e46 6c5f 5261 6469 6f5f 4c69 fltk.Fl_Radio_Li │ │ │ +0005e730: 6768 745f 4275 7474 6f6e 5f64 7261 7728 ght_Button_draw( │ │ │ +0005e740: 7365 6c66 2c20 2a61 7267 7329 0a0a 2320 self, *args)..# │ │ │ +0005e750: 5265 6769 7374 6572 2046 6c5f 5261 6469 Register Fl_Radi │ │ │ +0005e760: 6f5f 4c69 6768 745f 4275 7474 6f6e 2069 o_Light_Button i │ │ │ +0005e770: 6e20 5f66 6c74 6b3a 0a5f 666c 746b 2e46 n _fltk:._fltk.F │ │ │ +0005e780: 6c5f 5261 6469 6f5f 4c69 6768 745f 4275 l_Radio_Light_Bu │ │ │ +0005e790: 7474 6f6e 5f73 7769 6772 6567 6973 7465 tton_swigregiste │ │ │ +0005e7a0: 7228 466c 5f52 6164 696f 5f4c 6967 6874 r(Fl_Radio_Light │ │ │ +0005e7b0: 5f42 7574 746f 6e29 0a63 6c61 7373 2046 _Button).class F │ │ │ +0005e7c0: 6c5f 526f 756e 645f 4275 7474 6f6e 2846 l_Round_Button(F │ │ │ +0005e7d0: 6c5f 4c69 6768 745f 4275 7474 6f6e 293a l_Light_Button): │ │ │ +0005e7e0: 0a20 2020 2072 2222 220a 0a20 2020 2042 . r""".. B │ │ │ +0005e7f0: 7574 746f 6e73 2067 656e 6572 6174 6520 uttons generate │ │ │ +0005e800: 6361 6c6c 6261 636b 7320 7768 656e 2074 callbacks when t │ │ │ +0005e810: 6865 7920 6172 6520 636c 6963 6b65 6420 hey are clicked │ │ │ +0005e820: 6279 2074 6865 2075 7365 722e 2059 6f75 by the user. You │ │ │ +0005e830: 2063 6f6e 7472 6f6c 200a 2020 2020 6578 control . ex │ │ │ +0005e840: 6163 746c 7920 7768 656e 2061 6e64 2068 actly when and h │ │ │ +0005e850: 6f77 2062 7920 6368 616e 6769 6e67 2074 ow by changing t │ │ │ +0005e860: 6865 2076 616c 7565 7320 666f 7220 7479 he values for ty │ │ │ +0005e870: 7065 2829 2061 6e64 2077 6865 6e28 292e pe() and when(). │ │ │ +0005e880: 0a0a 2020 2020 5468 6520 466c 5f52 6f75 .. The Fl_Rou │ │ │ +0005e890: 6e64 5f42 7574 746f 6e20 7375 6263 6c61 nd_Button subcla │ │ │ +0005e8a0: 7373 2064 6973 706c 6179 2074 6865 2027 ss display the ' │ │ │ +0005e8b0: 6f6e 2720 7374 6174 6520 6279 2074 7572 on' state by tur │ │ │ +0005e8c0: 6e69 6e67 206f 6e20 6120 6c69 6768 742c ning on a light, │ │ │ +0005e8d0: 200a 2020 2020 7261 7468 6572 2074 6861 . rather tha │ │ │ +0005e8e0: 6e20 6472 6177 696e 6720 7075 7368 6564 n drawing pushed │ │ │ +0005e8f0: 2069 6e2e 2054 6865 2073 6861 7065 206f in. The shape o │ │ │ +0005e900: 6620 7468 6520 276c 6967 6874 2720 6973 f the 'light' is │ │ │ +0005e910: 2069 6e69 7469 616c 6c79 2073 6574 200a initially set . │ │ │ +0005e920: 2020 2020 746f 2046 4c5f 524f 554e 445f to FL_ROUND_ │ │ │ +0005e930: 444f 574e 5f42 4f58 2e20 5468 6520 636f DOWN_BOX. The co │ │ │ +0005e940: 6c6f 7220 6f66 2074 6865 206c 6967 6874 lor of the light │ │ │ +0005e950: 2077 6865 6e20 6f6e 2069 7320 636f 6e74 when on is cont │ │ │ +0005e960: 726f 6c6c 6564 2077 6974 6820 0a20 2020 rolled with . │ │ │ +0005e970: 2073 656c 6563 7469 6f6e 5f63 6f6c 6f72 selection_color │ │ │ +0005e980: 2829 2c20 7768 6963 6820 6465 6661 756c (), which defaul │ │ │ +0005e990: 7473 2074 6f20 464c 5f52 4544 2e0a 0a20 ts to FL_RED... │ │ │ +0005e9a0: 2020 2022 2222 0a0a 2020 2020 7468 6973 """.. this │ │ │ +0005e9b0: 6f77 6e20 3d20 7072 6f70 6572 7479 286c own = property(l │ │ │ +0005e9c0: 616d 6264 6120 783a 2078 2e74 6869 732e ambda x: x.this. │ │ │ +0005e9d0: 6f77 6e28 292c 206c 616d 6264 6120 782c own(), lambda x, │ │ │ +0005e9e0: 2076 3a20 782e 7468 6973 2e6f 776e 2876 v: x.this.own(v │ │ │ +0005e9f0: 292c 2064 6f63 3d22 5468 6520 6d65 6d62 ), doc="The memb │ │ │ +0005ea00: 6572 7368 6970 2066 6c61 6722 290a 2020 ership flag"). │ │ │ +0005ea10: 2020 5f5f 7265 7072 5f5f 203d 205f 7377 __repr__ = _sw │ │ │ +0005ea20: 6967 5f72 6570 720a 0a20 2020 2064 6566 ig_repr.. def │ │ │ +0005ea30: 205f 5f69 6e69 745f 5f28 7365 6c66 2c20 __init__(self, │ │ │ +0005ea40: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +0005ea50: 7222 2222 5f5f 696e 6974 5f5f 2846 6c5f r"""__init__(Fl_ │ │ │ +0005ea60: 526f 756e 645f 4275 7474 6f6e 2073 656c Round_Button sel │ │ │ +0005ea70: 662c 2069 6e74 2078 2c20 696e 7420 792c f, int x, int y, │ │ │ +0005ea80: 2069 6e74 2077 2c20 696e 7420 682c 2063 int w, int h, c │ │ │ +0005ea90: 6861 7220 636f 6e73 7420 2a20 6c3d 4e6f har const * l=No │ │ │ +0005eaa0: 6e65 2920 2d3e 2046 6c5f 526f 756e 645f ne) -> Fl_Round_ │ │ │ +0005eab0: 4275 7474 6f6e 2222 220a 2020 2020 2020 Button""". │ │ │ +0005eac0: 2020 6966 2073 656c 662e 5f5f 636c 6173 if self.__clas │ │ │ +0005ead0: 735f 5f20 3d3d 2046 6c5f 526f 756e 645f s__ == Fl_Round_ │ │ │ +0005eae0: 4275 7474 6f6e 3a0a 2020 2020 2020 2020 Button:. │ │ │ +0005eaf0: 2020 2020 5f73 656c 6620 3d20 4e6f 6e65 _self = None │ │ │ +0005eb00: 0a20 2020 2020 2020 2065 6c73 653a 0a20 . else:. │ │ │ +0005eb10: 2020 2020 2020 2020 2020 205f 7365 6c66 _self │ │ │ +0005eb20: 203d 2073 656c 660a 2020 2020 2020 2020 = self. │ │ │ +0005eb30: 5f66 6c74 6b2e 466c 5f52 6f75 6e64 5f42 _fltk.Fl_Round_B │ │ │ +0005eb40: 7574 746f 6e5f 7377 6967 696e 6974 2873 utton_swiginit(s │ │ │ +0005eb50: 656c 662c 205f 666c 746b 2e6e 6577 5f46 elf, _fltk.new_F │ │ │ +0005eb60: 6c5f 526f 756e 645f 4275 7474 6f6e 285f l_Round_Button(_ │ │ │ +0005eb70: 7365 6c66 2c20 2a61 7267 7329 290a 0a20 self, *args)).. │ │ │ +0005eb80: 2020 2020 2020 2069 6620 6c65 6e28 6172 if len(ar │ │ │ +0005eb90: 6773 2920 3d3d 2035 3a20 2020 2020 2020 gs) == 5: │ │ │ +0005eba0: 2020 200a 2020 2020 2020 2020 2372 6574 . #ret │ │ │ +0005ebb0: 6169 6e20 7265 6665 7265 6e63 6520 746f ain reference to │ │ │ +0005ebc0: 206c 6162 656c 0a20 2020 2020 2020 2020 label. │ │ │ +0005ebd0: 2020 2073 656c 662e 6d79 5f6c 6162 656c self.my_label │ │ │ +0005ebe0: 203d 2061 7267 735b 2d31 5d0a 2020 2020 = args[-1]. │ │ │ +0005ebf0: 2020 2020 6966 2073 656c 662e 7061 7265 if self.pare │ │ │ +0005ec00: 6e74 2829 2021 3d20 4e6f 6e65 3a20 2020 nt() != None: │ │ │ +0005ec10: 0a20 2020 2020 2020 2023 6465 6c65 6761 . #delega │ │ │ +0005ec20: 7465 206f 776e 6572 7368 6970 2074 6f20 te ownership to │ │ │ +0005ec30: 432b 2b0a 2020 2020 2020 2020 2020 2020 C++. │ │ │ +0005ec40: 7365 6c66 2e74 6869 732e 6469 736f 776e self.this.disown │ │ │ +0005ec50: 2829 0a20 2020 2020 2020 2073 656c 662e (). self. │ │ │ +0005ec60: 696e 6974 5f74 7970 6528 2246 6c5f 526f init_type("Fl_Ro │ │ │ +0005ec70: 756e 645f 4275 7474 6f6e 2229 0a20 2020 und_Button"). │ │ │ +0005ec80: 2020 2020 2023 7072 696e 7428 2241 6464 #print("Add │ │ │ +0005ec90: 696e 6720 7479 7065 3a20 222c 2046 6c5f ing type: ", Fl_ │ │ │ +0005eca0: 526f 756e 645f 4275 7474 6f6e 290a 0a0a Round_Button)... │ │ │ +0005ecb0: 0a0a 2020 2020 6465 6620 696e 6974 5f74 .. def init_t │ │ │ +0005ecc0: 7970 6528 7365 6c66 2c20 2a61 7267 7329 ype(self, *args) │ │ │ +0005ecd0: 3a0a 2020 2020 2020 2020 7222 2222 696e :. r"""in │ │ │ +0005ece0: 6974 5f74 7970 6528 466c 5f52 6f75 6e64 it_type(Fl_Round │ │ │ +0005ecf0: 5f42 7574 746f 6e20 7365 6c66 2c20 6368 _Button self, ch │ │ │ +0005ed00: 6172 202a 2046 6c5f 526f 756e 645f 4275 ar * Fl_Round_Bu │ │ │ +0005ed10: 7474 6f6e 2922 2222 0a20 2020 2020 2020 tton)""". │ │ │ +0005ed20: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +0005ed30: 5f52 6f75 6e64 5f42 7574 746f 6e5f 696e _Round_Button_in │ │ │ +0005ed40: 6974 5f74 7970 6528 7365 6c66 2c20 2a61 it_type(self, *a │ │ │ +0005ed50: 7267 7329 0a20 2020 205f 5f73 7769 675f rgs). __swig_ │ │ │ +0005ed60: 6465 7374 726f 795f 5f20 3d20 5f66 6c74 destroy__ = _flt │ │ │ +0005ed70: 6b2e 6465 6c65 7465 5f46 6c5f 526f 756e k.delete_Fl_Roun │ │ │ +0005ed80: 645f 4275 7474 6f6e 0a20 2020 2064 6566 d_Button. def │ │ │ +0005ed90: 205f 5f64 6973 6f77 6e5f 5f28 7365 6c66 __disown__(self │ │ │ +0005eda0: 293a 0a20 2020 2020 2020 2073 656c 662e ):. self. │ │ │ +0005edb0: 7468 6973 2e64 6973 6f77 6e28 290a 2020 this.disown(). │ │ │ +0005edc0: 2020 2020 2020 5f66 6c74 6b2e 6469 736f _fltk.diso │ │ │ +0005edd0: 776e 5f46 6c5f 526f 756e 645f 4275 7474 wn_Fl_Round_Butt │ │ │ +0005ede0: 6f6e 2873 656c 6629 0a20 2020 2020 2020 on(self). │ │ │ +0005edf0: 2072 6574 7572 6e20 7765 616b 7265 662e return weakref. │ │ │ +0005ee00: 7072 6f78 7928 7365 6c66 290a 0a20 2020 proxy(self).. │ │ │ +0005ee10: 2064 6566 2064 7261 7728 7365 6c66 2c20 def draw(self, │ │ │ +0005ee20: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +0005ee30: 7222 2222 6472 6177 2846 6c5f 526f 756e r"""draw(Fl_Roun │ │ │ +0005ee40: 645f 4275 7474 6f6e 2073 656c 6629 2222 d_Button self)"" │ │ │ +0005ee50: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0005ee60: 205f 666c 746b 2e46 6c5f 526f 756e 645f _fltk.Fl_Round_ │ │ │ +0005ee70: 4275 7474 6f6e 5f64 7261 7728 7365 6c66 Button_draw(self │ │ │ +0005ee80: 2c20 2a61 7267 7329 0a0a 2320 5265 6769 , *args)..# Regi │ │ │ +0005ee90: 7374 6572 2046 6c5f 526f 756e 645f 4275 ster Fl_Round_Bu │ │ │ +0005eea0: 7474 6f6e 2069 6e20 5f66 6c74 6b3a 0a5f tton in _fltk:._ │ │ │ +0005eeb0: 666c 746b 2e46 6c5f 526f 756e 645f 4275 fltk.Fl_Round_Bu │ │ │ +0005eec0: 7474 6f6e 5f73 7769 6772 6567 6973 7465 tton_swigregiste │ │ │ +0005eed0: 7228 466c 5f52 6f75 6e64 5f42 7574 746f r(Fl_Round_Butto │ │ │ +0005eee0: 6e29 0a63 6c61 7373 2046 6c5f 5261 6469 n).class Fl_Radi │ │ │ +0005eef0: 6f5f 526f 756e 645f 4275 7474 6f6e 2846 o_Round_Button(F │ │ │ +0005ef00: 6c5f 526f 756e 645f 4275 7474 6f6e 293a l_Round_Button): │ │ │ +0005ef10: 0a20 2020 2072 2222 2250 726f 7879 206f . r"""Proxy o │ │ │ +0005ef20: 6620 432b 2b20 466c 5f52 6164 696f 5f52 f C++ Fl_Radio_R │ │ │ +0005ef30: 6f75 6e64 5f42 7574 746f 6e20 636c 6173 ound_Button clas │ │ │ +0005ef40: 732e 2222 220a 0a20 2020 2074 6869 736f s.""".. thiso │ │ │ +0005ef50: 776e 203d 2070 726f 7065 7274 7928 6c61 wn = property(la │ │ │ +0005ef60: 6d62 6461 2078 3a20 782e 7468 6973 2e6f mbda x: x.this.o │ │ │ +0005ef70: 776e 2829 2c20 6c61 6d62 6461 2078 2c20 wn(), lambda x, │ │ │ +0005ef80: 763a 2078 2e74 6869 732e 6f77 6e28 7629 v: x.this.own(v) │ │ │ +0005ef90: 2c20 646f 633d 2254 6865 206d 656d 6265 , doc="The membe │ │ │ +0005efa0: 7273 6869 7020 666c 6167 2229 0a20 2020 rship flag"). │ │ │ +0005efb0: 205f 5f72 6570 725f 5f20 3d20 5f73 7769 __repr__ = _swi │ │ │ +0005efc0: 675f 7265 7072 0a0a 2020 2020 6465 6620 g_repr.. def │ │ │ +0005efd0: 5f5f 696e 6974 5f5f 2873 656c 662c 202a __init__(self, * │ │ │ +0005efe0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +0005eff0: 2222 225f 5f69 6e69 745f 5f28 466c 5f52 """__init__(Fl_R │ │ │ +0005f000: 6164 696f 5f52 6f75 6e64 5f42 7574 746f adio_Round_Butto │ │ │ +0005f010: 6e20 7365 6c66 2c20 696e 7420 582c 2069 n self, int X, i │ │ │ +0005f020: 6e74 2059 2c20 696e 7420 572c 2069 6e74 nt Y, int W, int │ │ │ +0005f030: 2048 2c20 6368 6172 2063 6f6e 7374 202a H, char const * │ │ │ +0005f040: 204c 3d4e 6f6e 6529 202d 3e20 466c 5f52 L=None) -> Fl_R │ │ │ +0005f050: 6164 696f 5f52 6f75 6e64 5f42 7574 746f adio_Round_Butto │ │ │ +0005f060: 6e22 2222 0a20 2020 2020 2020 2069 6620 n""". if │ │ │ +0005f070: 7365 6c66 2e5f 5f63 6c61 7373 5f5f 203d self.__class__ = │ │ │ +0005f080: 3d20 466c 5f52 6164 696f 5f52 6f75 6e64 = Fl_Radio_Round │ │ │ +0005f090: 5f42 7574 746f 6e3a 0a20 2020 2020 2020 _Button:. │ │ │ +0005f0a0: 2020 2020 205f 7365 6c66 203d 204e 6f6e _self = Non │ │ │ +0005f0b0: 650a 2020 2020 2020 2020 656c 7365 3a0a e. else:. │ │ │ +0005f0c0: 2020 2020 2020 2020 2020 2020 5f73 656c _sel │ │ │ +0005f0d0: 6620 3d20 7365 6c66 0a20 2020 2020 2020 f = self. │ │ │ +0005f0e0: 205f 666c 746b 2e46 6c5f 5261 6469 6f5f _fltk.Fl_Radio_ │ │ │ +0005f0f0: 526f 756e 645f 4275 7474 6f6e 5f73 7769 Round_Button_swi │ │ │ +0005f100: 6769 6e69 7428 7365 6c66 2c20 5f66 6c74 ginit(self, _flt │ │ │ +0005f110: 6b2e 6e65 775f 466c 5f52 6164 696f 5f52 k.new_Fl_Radio_R │ │ │ +0005f120: 6f75 6e64 5f42 7574 746f 6e28 5f73 656c ound_Button(_sel │ │ │ +0005f130: 662c 202a 6172 6773 2929 0a0a 2020 2020 f, *args)).. │ │ │ +0005f140: 2020 2020 6966 206c 656e 2861 7267 7329 if len(args) │ │ │ +0005f150: 203d 3d20 353a 2020 2020 2020 2020 2020 == 5: │ │ │ +0005f160: 0a20 2020 2020 2020 2023 7265 7461 696e . #retain │ │ │ +0005f170: 2072 6566 6572 656e 6365 2074 6f20 6c61 reference to la │ │ │ +0005f180: 6265 6c0a 2020 2020 2020 2020 2020 2020 bel. │ │ │ +0005f190: 7365 6c66 2e6d 795f 6c61 6265 6c20 3d20 self.my_label = │ │ │ +0005f1a0: 6172 6773 5b2d 315d 0a20 2020 2020 2020 args[-1]. │ │ │ +0005f1b0: 2069 6620 7365 6c66 2e70 6172 656e 7428 if self.parent( │ │ │ +0005f1c0: 2920 213d 204e 6f6e 653a 2020 200a 2020 ) != None: . │ │ │ +0005f1d0: 2020 2020 2020 2364 656c 6567 6174 6520 #delegate │ │ │ +0005f1e0: 6f77 6e65 7273 6869 7020 746f 2043 2b2b ownership to C++ │ │ │ +0005f1f0: 0a20 2020 2020 2020 2020 2020 2073 656c . sel │ │ │ +0005f200: 662e 7468 6973 2e64 6973 6f77 6e28 290a f.this.disown(). │ │ │ +0005f210: 2020 2020 2020 2020 7365 6c66 2e69 6e69 self.ini │ │ │ +0005f220: 745f 7479 7065 2822 466c 5f52 6164 696f t_type("Fl_Radio │ │ │ +0005f230: 5f52 6f75 6e64 5f42 7574 746f 6e22 290a _Round_Button"). │ │ │ +0005f240: 2020 2020 2020 2020 2370 7269 6e74 2822 #print(" │ │ │ +0005f250: 4164 6469 6e67 2074 7970 653a 2022 2c20 Adding type: ", │ │ │ +0005f260: 466c 5f52 6164 696f 5f52 6f75 6e64 5f42 Fl_Radio_Round_B │ │ │ +0005f270: 7574 746f 6e29 0a0a 0a0a 0a20 2020 2064 utton)..... d │ │ │ +0005f280: 6566 2069 6e69 745f 7479 7065 2873 656c ef init_type(sel │ │ │ +0005f290: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +0005f2a0: 2020 2072 2222 2269 6e69 745f 7479 7065 r"""init_type │ │ │ +0005f2b0: 2846 6c5f 5261 6469 6f5f 526f 756e 645f (Fl_Radio_Round_ │ │ │ +0005f2c0: 4275 7474 6f6e 2073 656c 662c 2063 6861 Button self, cha │ │ │ +0005f2d0: 7220 2a20 466c 5f52 6164 696f 5f52 6f75 r * Fl_Radio_Rou │ │ │ +0005f2e0: 6e64 5f42 7574 746f 6e29 2222 220a 2020 nd_Button)""". │ │ │ +0005f2f0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +0005f300: 746b 2e46 6c5f 5261 6469 6f5f 526f 756e tk.Fl_Radio_Roun │ │ │ +0005f310: 645f 4275 7474 6f6e 5f69 6e69 745f 7479 d_Button_init_ty │ │ │ +0005f320: 7065 2873 656c 662c 202a 6172 6773 290a pe(self, *args). │ │ │ +0005f330: 2020 2020 5f5f 7377 6967 5f64 6573 7472 __swig_destr │ │ │ +0005f340: 6f79 5f5f 203d 205f 666c 746b 2e64 656c oy__ = _fltk.del │ │ │ +0005f350: 6574 655f 466c 5f52 6164 696f 5f52 6f75 ete_Fl_Radio_Rou │ │ │ +0005f360: 6e64 5f42 7574 746f 6e0a 2020 2020 6465 nd_Button. de │ │ │ +0005f370: 6620 5f5f 6469 736f 776e 5f5f 2873 656c f __disown__(sel │ │ │ +0005f380: 6629 3a0a 2020 2020 2020 2020 7365 6c66 f):. self │ │ │ +0005f390: 2e74 6869 732e 6469 736f 776e 2829 0a20 .this.disown(). │ │ │ +0005f3a0: 2020 2020 2020 205f 666c 746b 2e64 6973 _fltk.dis │ │ │ +0005f3b0: 6f77 6e5f 466c 5f52 6164 696f 5f52 6f75 own_Fl_Radio_Rou │ │ │ +0005f3c0: 6e64 5f42 7574 746f 6e28 7365 6c66 290a nd_Button(self). │ │ │ +0005f3d0: 2020 2020 2020 2020 7265 7475 726e 2077 return w │ │ │ +0005f3e0: 6561 6b72 6566 2e70 726f 7879 2873 656c eakref.proxy(sel │ │ │ +0005f3f0: 6629 0a0a 2020 2020 6465 6620 6472 6177 f).. def draw │ │ │ +0005f400: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +0005f410: 2020 2020 2020 2072 2222 2264 7261 7728 r"""draw( │ │ │ +0005f420: 466c 5f52 6164 696f 5f52 6f75 6e64 5f42 Fl_Radio_Round_B │ │ │ +0005f430: 7574 746f 6e20 7365 6c66 2922 2222 0a20 utton self)""". │ │ │ +0005f440: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +0005f450: 6c74 6b2e 466c 5f52 6164 696f 5f52 6f75 ltk.Fl_Radio_Rou │ │ │ +0005f460: 6e64 5f42 7574 746f 6e5f 6472 6177 2873 nd_Button_draw(s │ │ │ +0005f470: 656c 662c 202a 6172 6773 290a 0a23 2052 elf, *args)..# R │ │ │ +0005f480: 6567 6973 7465 7220 466c 5f52 6164 696f egister Fl_Radio │ │ │ +0005f490: 5f52 6f75 6e64 5f42 7574 746f 6e20 696e _Round_Button in │ │ │ +0005f4a0: 205f 666c 746b 3a0a 5f66 6c74 6b2e 466c _fltk:._fltk.Fl │ │ │ +0005f4b0: 5f52 6164 696f 5f52 6f75 6e64 5f42 7574 _Radio_Round_But │ │ │ +0005f4c0: 746f 6e5f 7377 6967 7265 6769 7374 6572 ton_swigregister │ │ │ +0005f4d0: 2846 6c5f 5261 6469 6f5f 526f 756e 645f (Fl_Radio_Round_ │ │ │ +0005f4e0: 4275 7474 6f6e 290a 636c 6173 7320 466c Button).class Fl │ │ │ +0005f4f0: 5f52 6570 6561 745f 4275 7474 6f6e 2846 _Repeat_Button(F │ │ │ +0005f500: 6c5f 4275 7474 6f6e 293a 0a20 2020 2072 l_Button):. r │ │ │ +0005f510: 2222 220a 0a20 2020 2054 6865 2046 6c5f """.. The Fl_ │ │ │ +0005f520: 5265 7065 6174 5f42 7574 746f 6e20 6973 Repeat_Button is │ │ │ +0005f530: 2061 2073 7562 636c 6173 7320 6f66 2046 a subclass of F │ │ │ +0005f540: 6c5f 4275 7474 6f6e 2074 6861 7420 6765 l_Button that ge │ │ │ +0005f550: 6e65 7261 7465 7320 6120 6361 6c6c 6261 nerates a callba │ │ │ +0005f560: 636b 200a 2020 2020 7768 656e 2069 7420 ck . when it │ │ │ +0005f570: 6973 2070 7265 7373 6564 2061 6e64 2074 is pressed and t │ │ │ +0005f580: 6865 6e20 7265 7065 6174 6564 6c79 2067 hen repeatedly g │ │ │ +0005f590: 656e 6572 6174 6573 2063 616c 6c62 6163 enerates callbac │ │ │ +0005f5a0: 6b73 2061 7320 6c6f 6e67 2061 7320 6974 ks as long as it │ │ │ +0005f5b0: 200a 2020 2020 6973 2068 656c 6420 646f . is held do │ │ │ +0005f5c0: 776e 2e20 5468 6520 7370 6565 6420 6f66 wn. The speed of │ │ │ +0005f5d0: 2074 6865 2072 6570 6561 7420 6973 2066 the repeat is f │ │ │ +0005f5e0: 6978 6564 2061 6e64 2064 6570 656e 6473 ixed and depends │ │ │ +0005f5f0: 206f 6e20 7468 6520 0a20 2020 2069 6d70 on the . imp │ │ │ +0005f600: 6c65 6d65 6e74 6174 696f 6e2e 0a0a 2020 lementation... │ │ │ +0005f610: 2020 2222 220a 0a20 2020 2074 6869 736f """.. thiso │ │ │ +0005f620: 776e 203d 2070 726f 7065 7274 7928 6c61 wn = property(la │ │ │ +0005f630: 6d62 6461 2078 3a20 782e 7468 6973 2e6f mbda x: x.this.o │ │ │ +0005f640: 776e 2829 2c20 6c61 6d62 6461 2078 2c20 wn(), lambda x, │ │ │ +0005f650: 763a 2078 2e74 6869 732e 6f77 6e28 7629 v: x.this.own(v) │ │ │ +0005f660: 2c20 646f 633d 2254 6865 206d 656d 6265 , doc="The membe │ │ │ +0005f670: 7273 6869 7020 666c 6167 2229 0a20 2020 rship flag"). │ │ │ +0005f680: 205f 5f72 6570 725f 5f20 3d20 5f73 7769 __repr__ = _swi │ │ │ +0005f690: 675f 7265 7072 0a0a 2020 2020 6465 6620 g_repr.. def │ │ │ +0005f6a0: 6861 6e64 6c65 2873 656c 662c 202a 6172 handle(self, *ar │ │ │ +0005f6b0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +0005f6c0: 2268 616e 646c 6528 466c 5f52 6570 6561 "handle(Fl_Repea │ │ │ +0005f6d0: 745f 4275 7474 6f6e 2073 656c 662c 2069 t_Button self, i │ │ │ +0005f6e0: 6e74 2061 7267 3029 202d 3e20 696e 7422 nt arg0) -> int" │ │ │ +0005f6f0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0005f700: 6e20 5f66 6c74 6b2e 466c 5f52 6570 6561 n _fltk.Fl_Repea │ │ │ +0005f710: 745f 4275 7474 6f6e 5f68 616e 646c 6528 t_Button_handle( │ │ │ +0005f720: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +0005f730: 2020 6465 6620 5f5f 696e 6974 5f5f 2873 def __init__(s │ │ │ +0005f740: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +0005f750: 2020 2020 2072 2222 225f 5f69 6e69 745f r"""__init_ │ │ │ +0005f760: 5f28 466c 5f52 6570 6561 745f 4275 7474 _(Fl_Repeat_Butt │ │ │ +0005f770: 6f6e 2073 656c 662c 2069 6e74 2058 2c20 on self, int X, │ │ │ +0005f780: 696e 7420 592c 2069 6e74 2057 2c20 696e int Y, int W, in │ │ │ +0005f790: 7420 482c 2063 6861 7220 636f 6e73 7420 t H, char const │ │ │ +0005f7a0: 2a20 6c3d 4e6f 6e65 2920 2d3e 2046 6c5f * l=None) -> Fl_ │ │ │ +0005f7b0: 5265 7065 6174 5f42 7574 746f 6e22 2222 Repeat_Button""" │ │ │ +0005f7c0: 0a20 2020 2020 2020 2069 6620 7365 6c66 . if self │ │ │ +0005f7d0: 2e5f 5f63 6c61 7373 5f5f 203d 3d20 466c .__class__ == Fl │ │ │ +0005f7e0: 5f52 6570 6561 745f 4275 7474 6f6e 3a0a _Repeat_Button:. │ │ │ +0005f7f0: 2020 2020 2020 2020 2020 2020 5f73 656c _sel │ │ │ +0005f800: 6620 3d20 4e6f 6e65 0a20 2020 2020 2020 f = None. │ │ │ +0005f810: 2065 6c73 653a 0a20 2020 2020 2020 2020 else:. │ │ │ +0005f820: 2020 205f 7365 6c66 203d 2073 656c 660a _self = self. │ │ │ +0005f830: 2020 2020 2020 2020 5f66 6c74 6b2e 466c _fltk.Fl │ │ │ +0005f840: 5f52 6570 6561 745f 4275 7474 6f6e 5f73 _Repeat_Button_s │ │ │ +0005f850: 7769 6769 6e69 7428 7365 6c66 2c20 5f66 wiginit(self, _f │ │ │ +0005f860: 6c74 6b2e 6e65 775f 466c 5f52 6570 6561 ltk.new_Fl_Repea │ │ │ +0005f870: 745f 4275 7474 6f6e 285f 7365 6c66 2c20 t_Button(_self, │ │ │ +0005f880: 2a61 7267 7329 290a 0a20 2020 2020 2020 *args)).. │ │ │ +0005f890: 2069 6620 6c65 6e28 6172 6773 2920 3d3d if len(args) == │ │ │ +0005f8a0: 2035 3a20 2020 2020 2020 2020 200a 2020 5: . │ │ │ +0005f8b0: 2020 2020 2020 2372 6574 6169 6e20 7265 #retain re │ │ │ +0005f8c0: 6665 7265 6e63 6520 746f 206c 6162 656c ference to label │ │ │ +0005f8d0: 0a20 2020 2020 2020 2020 2020 2073 656c . sel │ │ │ +0005f8e0: 662e 6d79 5f6c 6162 656c 203d 2061 7267 f.my_label = arg │ │ │ +0005f8f0: 735b 2d31 5d0a 2020 2020 2020 2020 6966 s[-1]. if │ │ │ +0005f900: 2073 656c 662e 7061 7265 6e74 2829 2021 self.parent() ! │ │ │ +0005f910: 3d20 4e6f 6e65 3a20 2020 0a20 2020 2020 = None: . │ │ │ +0005f920: 2020 2023 6465 6c65 6761 7465 206f 776e #delegate own │ │ │ +0005f930: 6572 7368 6970 2074 6f20 432b 2b0a 2020 ership to C++. │ │ │ +0005f940: 2020 2020 2020 2020 2020 7365 6c66 2e74 self.t │ │ │ +0005f950: 6869 732e 6469 736f 776e 2829 0a20 2020 his.disown(). │ │ │ +0005f960: 2020 2020 2073 656c 662e 696e 6974 5f74 self.init_t │ │ │ +0005f970: 7970 6528 2246 6c5f 5265 7065 6174 5f42 ype("Fl_Repeat_B │ │ │ +0005f980: 7574 746f 6e22 290a 2020 2020 2020 2020 utton"). │ │ │ +0005f990: 2370 7269 6e74 2822 4164 6469 6e67 2074 #print("Adding t │ │ │ +0005f9a0: 7970 653a 2022 2c20 466c 5f52 6570 6561 ype: ", Fl_Repea │ │ │ +0005f9b0: 745f 4275 7474 6f6e 290a 0a0a 0a0a 2020 t_Button)..... │ │ │ +0005f9c0: 2020 6465 6620 6465 6163 7469 7661 7465 def deactivate │ │ │ +0005f9d0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +0005f9e0: 2020 2020 2020 2072 2222 2264 6561 6374 r"""deact │ │ │ +0005f9f0: 6976 6174 6528 466c 5f52 6570 6561 745f ivate(Fl_Repeat_ │ │ │ +0005fa00: 4275 7474 6f6e 2073 656c 6629 2222 220a Button self)""". │ │ │ +0005fa10: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +0005fa20: 666c 746b 2e46 6c5f 5265 7065 6174 5f42 fltk.Fl_Repeat_B │ │ │ +0005fa30: 7574 746f 6e5f 6465 6163 7469 7661 7465 utton_deactivate │ │ │ +0005fa40: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +0005fa50: 2020 2064 6566 2069 6e69 745f 7479 7065 def init_type │ │ │ +0005fa60: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +0005fa70: 2020 2020 2020 2072 2222 2269 6e69 745f r"""init_ │ │ │ +0005fa80: 7479 7065 2846 6c5f 5265 7065 6174 5f42 type(Fl_Repeat_B │ │ │ +0005fa90: 7574 746f 6e20 7365 6c66 2c20 6368 6172 utton self, char │ │ │ +0005faa0: 202a 2046 6c5f 5265 7065 6174 5f42 7574 * Fl_Repeat_But │ │ │ +0005fab0: 746f 6e29 2222 220a 2020 2020 2020 2020 ton)""". │ │ │ +0005fac0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +0005fad0: 5265 7065 6174 5f42 7574 746f 6e5f 696e Repeat_Button_in │ │ │ +0005fae0: 6974 5f74 7970 6528 7365 6c66 2c20 2a61 it_type(self, *a │ │ │ +0005faf0: 7267 7329 0a20 2020 205f 5f73 7769 675f rgs). __swig_ │ │ │ +0005fb00: 6465 7374 726f 795f 5f20 3d20 5f66 6c74 destroy__ = _flt │ │ │ +0005fb10: 6b2e 6465 6c65 7465 5f46 6c5f 5265 7065 k.delete_Fl_Repe │ │ │ +0005fb20: 6174 5f42 7574 746f 6e0a 2020 2020 6465 at_Button. de │ │ │ +0005fb30: 6620 5f5f 6469 736f 776e 5f5f 2873 656c f __disown__(sel │ │ │ +0005fb40: 6629 3a0a 2020 2020 2020 2020 7365 6c66 f):. self │ │ │ +0005fb50: 2e74 6869 732e 6469 736f 776e 2829 0a20 .this.disown(). │ │ │ +0005fb60: 2020 2020 2020 205f 666c 746b 2e64 6973 _fltk.dis │ │ │ +0005fb70: 6f77 6e5f 466c 5f52 6570 6561 745f 4275 own_Fl_Repeat_Bu │ │ │ +0005fb80: 7474 6f6e 2873 656c 6629 0a20 2020 2020 tton(self). │ │ │ +0005fb90: 2020 2072 6574 7572 6e20 7765 616b 7265 return weakre │ │ │ +0005fba0: 662e 7072 6f78 7928 7365 6c66 290a 0a20 f.proxy(self).. │ │ │ +0005fbb0: 2020 2064 6566 2064 7261 7728 7365 6c66 def draw(self │ │ │ +0005fbc0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +0005fbd0: 2020 7222 2222 6472 6177 2846 6c5f 5265 r"""draw(Fl_Re │ │ │ +0005fbe0: 7065 6174 5f42 7574 746f 6e20 7365 6c66 peat_Button self │ │ │ +0005fbf0: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ +0005fc00: 7572 6e20 5f66 6c74 6b2e 466c 5f52 6570 urn _fltk.Fl_Rep │ │ │ +0005fc10: 6561 745f 4275 7474 6f6e 5f64 7261 7728 eat_Button_draw( │ │ │ +0005fc20: 7365 6c66 2c20 2a61 7267 7329 0a0a 2320 self, *args)..# │ │ │ +0005fc30: 5265 6769 7374 6572 2046 6c5f 5265 7065 Register Fl_Repe │ │ │ +0005fc40: 6174 5f42 7574 746f 6e20 696e 205f 666c at_Button in _fl │ │ │ +0005fc50: 746b 3a0a 5f66 6c74 6b2e 466c 5f52 6570 tk:._fltk.Fl_Rep │ │ │ +0005fc60: 6561 745f 4275 7474 6f6e 5f73 7769 6772 eat_Button_swigr │ │ │ +0005fc70: 6567 6973 7465 7228 466c 5f52 6570 6561 egister(Fl_Repea │ │ │ +0005fc80: 745f 4275 7474 6f6e 290a 636c 6173 7320 t_Button).class │ │ │ +0005fc90: 466c 5f52 6574 7572 6e5f 4275 7474 6f6e Fl_Return_Button │ │ │ +0005fca0: 2846 6c5f 4275 7474 6f6e 293a 0a20 2020 (Fl_Button):. │ │ │ +0005fcb0: 2072 2222 220a 0a20 2020 2054 6865 2046 r""".. The F │ │ │ +0005fcc0: 6c5f 5265 7475 726e 5f42 7574 746f 6e20 l_Return_Button │ │ │ +0005fcd0: 6973 2061 2073 7562 636c 6173 7320 6f66 is a subclass of │ │ │ +0005fce0: 2046 6c5f 4275 7474 6f6e 2074 6861 7420 Fl_Button that │ │ │ +0005fcf0: 6765 6e65 7261 7465 7320 6120 6361 6c6c generates a call │ │ │ +0005fd00: 6261 636b 200a 2020 2020 7768 656e 2069 back . when i │ │ │ +0005fd10: 7420 6973 2070 7265 7373 6564 206f 7220 t is pressed or │ │ │ +0005fd20: 7768 656e 2074 6865 2075 7365 7220 7072 when the user pr │ │ │ +0005fd30: 6573 7365 7320 7468 6520 456e 7465 7220 esses the Enter │ │ │ +0005fd40: 6b65 792e 2041 2063 6172 7269 6167 652d key. A carriage- │ │ │ +0005fd50: 7265 7475 726e 200a 2020 2020 7379 6d62 return . symb │ │ │ +0005fd60: 6f6c 2069 7320 6472 6177 6e20 6e65 7874 ol is drawn next │ │ │ +0005fd70: 2074 6f20 7468 6520 6275 7474 6f6e 206c to the button l │ │ │ +0005fd80: 6162 656c 2e0a 0a20 2020 2022 2222 0a0a abel... """.. │ │ │ +0005fd90: 2020 2020 7468 6973 6f77 6e20 3d20 7072 thisown = pr │ │ │ +0005fda0: 6f70 6572 7479 286c 616d 6264 6120 783a operty(lambda x: │ │ │ +0005fdb0: 2078 2e74 6869 732e 6f77 6e28 292c 206c x.this.own(), l │ │ │ +0005fdc0: 616d 6264 6120 782c 2076 3a20 782e 7468 ambda x, v: x.th │ │ │ +0005fdd0: 6973 2e6f 776e 2876 292c 2064 6f63 3d22 is.own(v), doc=" │ │ │ +0005fde0: 5468 6520 6d65 6d62 6572 7368 6970 2066 The membership f │ │ │ +0005fdf0: 6c61 6722 290a 2020 2020 5f5f 7265 7072 lag"). __repr │ │ │ +0005fe00: 5f5f 203d 205f 7377 6967 5f72 6570 720a __ = _swig_repr. │ │ │ +0005fe10: 0a20 2020 2064 6566 2064 7261 7728 7365 . def draw(se │ │ │ +0005fe20: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +0005fe30: 2020 2020 7222 2222 6472 6177 2846 6c5f r"""draw(Fl_ │ │ │ +0005fe40: 5265 7475 726e 5f42 7574 746f 6e20 7365 Return_Button se │ │ │ +0005fe50: 6c66 2922 2222 0a20 2020 2020 2020 2072 lf)""". r │ │ │ +0005fe60: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f52 eturn _fltk.Fl_R │ │ │ +0005fe70: 6574 7572 6e5f 4275 7474 6f6e 5f64 7261 eturn_Button_dra │ │ │ +0005fe80: 7728 7365 6c66 2c20 2a61 7267 7329 0a0a w(self, *args).. │ │ │ +0005fe90: 2020 2020 6465 6620 6861 6e64 6c65 2873 def handle(s │ │ │ +0005fea0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +0005feb0: 2020 2020 2072 2222 2268 616e 646c 6528 r"""handle( │ │ │ +0005fec0: 466c 5f52 6574 7572 6e5f 4275 7474 6f6e Fl_Return_Button │ │ │ +0005fed0: 2073 656c 662c 2069 6e74 2061 7267 3029 self, int arg0) │ │ │ +0005fee0: 202d 3e20 696e 7422 2222 0a20 2020 2020 -> int""". │ │ │ +0005fef0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +0005ff00: 466c 5f52 6574 7572 6e5f 4275 7474 6f6e Fl_Return_Button │ │ │ +0005ff10: 5f68 616e 646c 6528 7365 6c66 2c20 2a61 _handle(self, *a │ │ │ +0005ff20: 7267 7329 0a0a 2020 2020 6465 6620 5f5f rgs).. def __ │ │ │ +0005ff30: 696e 6974 5f5f 2873 656c 662c 202a 6172 init__(self, *ar │ │ │ +0005ff40: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +0005ff50: 225f 5f69 6e69 745f 5f28 466c 5f52 6574 "__init__(Fl_Ret │ │ │ +0005ff60: 7572 6e5f 4275 7474 6f6e 2073 656c 662c urn_Button self, │ │ │ +0005ff70: 2069 6e74 2058 2c20 696e 7420 592c 2069 int X, int Y, i │ │ │ +0005ff80: 6e74 2057 2c20 696e 7420 482c 2063 6861 nt W, int H, cha │ │ │ +0005ff90: 7220 636f 6e73 7420 2a20 6c3d 4e6f 6e65 r const * l=None │ │ │ +0005ffa0: 2920 2d3e 2046 6c5f 5265 7475 726e 5f42 ) -> Fl_Return_B │ │ │ +0005ffb0: 7574 746f 6e22 2222 0a20 2020 2020 2020 utton""". │ │ │ +0005ffc0: 2069 6620 7365 6c66 2e5f 5f63 6c61 7373 if self.__class │ │ │ +0005ffd0: 5f5f 203d 3d20 466c 5f52 6574 7572 6e5f __ == Fl_Return_ │ │ │ +0005ffe0: 4275 7474 6f6e 3a0a 2020 2020 2020 2020 Button:. │ │ │ +0005fff0: 2020 2020 5f73 656c 6620 3d20 4e6f 6e65 _self = None │ │ │ +00060000: 0a20 2020 2020 2020 2065 6c73 653a 0a20 . else:. │ │ │ +00060010: 2020 2020 2020 2020 2020 205f 7365 6c66 _self │ │ │ +00060020: 203d 2073 656c 660a 2020 2020 2020 2020 = self. │ │ │ +00060030: 5f66 6c74 6b2e 466c 5f52 6574 7572 6e5f _fltk.Fl_Return_ │ │ │ +00060040: 4275 7474 6f6e 5f73 7769 6769 6e69 7428 Button_swiginit( │ │ │ +00060050: 7365 6c66 2c20 5f66 6c74 6b2e 6e65 775f self, _fltk.new_ │ │ │ +00060060: 466c 5f52 6574 7572 6e5f 4275 7474 6f6e Fl_Return_Button │ │ │ +00060070: 285f 7365 6c66 2c20 2a61 7267 7329 290a (_self, *args)). │ │ │ +00060080: 0a20 2020 2020 2020 2069 6620 6c65 6e28 . if len( │ │ │ +00060090: 6172 6773 2920 3d3d 2035 3a20 2020 2020 args) == 5: │ │ │ +000600a0: 2020 2020 200a 2020 2020 2020 2020 2372 . #r │ │ │ +000600b0: 6574 6169 6e20 7265 6665 7265 6e63 6520 etain reference │ │ │ +000600c0: 746f 206c 6162 656c 0a20 2020 2020 2020 to label. │ │ │ +000600d0: 2020 2020 2073 656c 662e 6d79 5f6c 6162 self.my_lab │ │ │ +000600e0: 656c 203d 2061 7267 735b 2d31 5d0a 2020 el = args[-1]. │ │ │ +000600f0: 2020 2020 2020 6966 2073 656c 662e 7061 if self.pa │ │ │ +00060100: 7265 6e74 2829 2021 3d20 4e6f 6e65 3a20 rent() != None: │ │ │ +00060110: 2020 0a20 2020 2020 2020 2023 6465 6c65 . #dele │ │ │ +00060120: 6761 7465 206f 776e 6572 7368 6970 2074 gate ownership t │ │ │ +00060130: 6f20 432b 2b0a 2020 2020 2020 2020 2020 o C++. │ │ │ +00060140: 2020 7365 6c66 2e74 6869 732e 6469 736f self.this.diso │ │ │ +00060150: 776e 2829 0a20 2020 2020 2020 2073 656c wn(). sel │ │ │ +00060160: 662e 696e 6974 5f74 7970 6528 2246 6c5f f.init_type("Fl_ │ │ │ +00060170: 5265 7475 726e 5f42 7574 746f 6e22 290a Return_Button"). │ │ │ +00060180: 2020 2020 2020 2020 2370 7269 6e74 2822 #print(" │ │ │ +00060190: 4164 6469 6e67 2074 7970 653a 2022 2c20 Adding type: ", │ │ │ +000601a0: 466c 5f52 6574 7572 6e5f 4275 7474 6f6e Fl_Return_Button │ │ │ +000601b0: 290a 0a0a 0a0a 2020 2020 6465 6620 696e )..... def in │ │ │ +000601c0: 6974 5f74 7970 6528 7365 6c66 2c20 2a61 it_type(self, *a │ │ │ +000601d0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +000601e0: 2222 696e 6974 5f74 7970 6528 466c 5f52 ""init_type(Fl_R │ │ │ +000601f0: 6574 7572 6e5f 4275 7474 6f6e 2073 656c eturn_Button sel │ │ │ +00060200: 662c 2063 6861 7220 2a20 466c 5f52 6574 f, char * Fl_Ret │ │ │ +00060210: 7572 6e5f 4275 7474 6f6e 2922 2222 0a20 urn_Button)""". │ │ │ +00060220: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00060230: 6c74 6b2e 466c 5f52 6574 7572 6e5f 4275 ltk.Fl_Return_Bu │ │ │ +00060240: 7474 6f6e 5f69 6e69 745f 7479 7065 2873 tton_init_type(s │ │ │ +00060250: 656c 662c 202a 6172 6773 290a 2020 2020 elf, *args). │ │ │ +00060260: 5f5f 7377 6967 5f64 6573 7472 6f79 5f5f __swig_destroy__ │ │ │ +00060270: 203d 205f 666c 746b 2e64 656c 6574 655f = _fltk.delete_ │ │ │ +00060280: 466c 5f52 6574 7572 6e5f 4275 7474 6f6e Fl_Return_Button │ │ │ +00060290: 0a20 2020 2064 6566 205f 5f64 6973 6f77 . def __disow │ │ │ +000602a0: 6e5f 5f28 7365 6c66 293a 0a20 2020 2020 n__(self):. │ │ │ +000602b0: 2020 2073 656c 662e 7468 6973 2e64 6973 self.this.dis │ │ │ +000602c0: 6f77 6e28 290a 2020 2020 2020 2020 5f66 own(). _f │ │ │ +000602d0: 6c74 6b2e 6469 736f 776e 5f46 6c5f 5265 ltk.disown_Fl_Re │ │ │ +000602e0: 7475 726e 5f42 7574 746f 6e28 7365 6c66 turn_Button(self │ │ │ +000602f0: 290a 2020 2020 2020 2020 7265 7475 726e ). return │ │ │ +00060300: 2077 6561 6b72 6566 2e70 726f 7879 2873 weakref.proxy(s │ │ │ +00060310: 656c 6629 0a0a 2320 5265 6769 7374 6572 elf)..# Register │ │ │ +00060320: 2046 6c5f 5265 7475 726e 5f42 7574 746f Fl_Return_Butto │ │ │ +00060330: 6e20 696e 205f 666c 746b 3a0a 5f66 6c74 n in _fltk:._flt │ │ │ +00060340: 6b2e 466c 5f52 6574 7572 6e5f 4275 7474 k.Fl_Return_Butt │ │ │ +00060350: 6f6e 5f73 7769 6772 6567 6973 7465 7228 on_swigregister( │ │ │ +00060360: 466c 5f52 6574 7572 6e5f 4275 7474 6f6e Fl_Return_Button │ │ │ +00060370: 290a 636c 6173 7320 466c 5f52 6563 7428 ).class Fl_Rect( │ │ │ +00060380: 6f62 6a65 6374 293a 0a20 2020 2072 2222 object):. r"" │ │ │ +00060390: 220a 0a0a 0a20 2020 2022 2222 0a0a 2020 ".... """.. │ │ │ +000603a0: 2020 7468 6973 6f77 6e20 3d20 7072 6f70 thisown = prop │ │ │ +000603b0: 6572 7479 286c 616d 6264 6120 783a 2078 erty(lambda x: x │ │ │ +000603c0: 2e74 6869 732e 6f77 6e28 292c 206c 616d .this.own(), lam │ │ │ +000603d0: 6264 6120 782c 2076 3a20 782e 7468 6973 bda x, v: x.this │ │ │ +000603e0: 2e6f 776e 2876 292c 2064 6f63 3d22 5468 .own(v), doc="Th │ │ │ +000603f0: 6520 6d65 6d62 6572 7368 6970 2066 6c61 e membership fla │ │ │ +00060400: 6722 290a 2020 2020 5f5f 7265 7072 5f5f g"). __repr__ │ │ │ +00060410: 203d 205f 7377 6967 5f72 6570 720a 0a20 = _swig_repr.. │ │ │ +00060420: 2020 2064 6566 205f 5f69 6e69 745f 5f28 def __init__( │ │ │ +00060430: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +00060440: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ +00060450: 2020 205f 5f69 6e69 745f 5f28 466c 5f52 __init__(Fl_R │ │ │ +00060460: 6563 7420 7365 6c66 2920 2d3e 2046 6c5f ect self) -> Fl_ │ │ │ +00060470: 5265 6374 0a20 2020 2020 2020 205f 5f69 Rect. __i │ │ │ +00060480: 6e69 745f 5f28 466c 5f52 6563 7420 7365 nit__(Fl_Rect se │ │ │ +00060490: 6c66 2c20 696e 7420 572c 2069 6e74 2048 lf, int W, int H │ │ │ +000604a0: 2920 2d3e 2046 6c5f 5265 6374 0a20 2020 ) -> Fl_Rect. │ │ │ +000604b0: 2020 2020 205f 5f69 6e69 745f 5f28 466c __init__(Fl │ │ │ +000604c0: 5f52 6563 7420 7365 6c66 2c20 696e 7420 _Rect self, int │ │ │ +000604d0: 582c 2069 6e74 2059 2c20 696e 7420 572c X, int Y, int W, │ │ │ +000604e0: 2069 6e74 2048 2920 2d3e 2046 6c5f 5265 int H) -> Fl_Re │ │ │ +000604f0: 6374 0a20 2020 2020 2020 205f 5f69 6e69 ct. __ini │ │ │ +00060500: 745f 5f28 466c 5f52 6563 7420 7365 6c66 t__(Fl_Rect self │ │ │ +00060510: 2c20 696e 7420 582c 2069 6e74 2059 2c20 , int X, int Y, │ │ │ +00060520: 696e 7420 572c 2069 6e74 2048 2c20 466c int W, int H, Fl │ │ │ +00060530: 5f42 6f78 7479 7065 2062 7429 202d 3e20 _Boxtype bt) -> │ │ │ +00060540: 466c 5f52 6563 740a 2020 2020 2020 2020 Fl_Rect. │ │ │ +00060550: 5f5f 696e 6974 5f5f 2846 6c5f 5265 6374 __init__(Fl_Rect │ │ │ +00060560: 2073 656c 662c 2046 6c5f 5769 6467 6574 self, Fl_Widget │ │ │ +00060570: 2077 6964 6765 7429 202d 3e20 466c 5f52 widget) -> Fl_R │ │ │ +00060580: 6563 740a 2020 2020 2020 2020 5f5f 696e ect. __in │ │ │ +00060590: 6974 5f5f 2846 6c5f 5265 6374 2073 656c it__(Fl_Rect sel │ │ │ +000605a0: 662c 2046 6c5f 5769 6467 6574 2077 6964 f, Fl_Widget wid │ │ │ +000605b0: 6765 7429 202d 3e20 466c 5f52 6563 740a get) -> Fl_Rect. │ │ │ +000605c0: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ +000605d0: 2020 2020 5f66 6c74 6b2e 466c 5f52 6563 _fltk.Fl_Rec │ │ │ +000605e0: 745f 7377 6967 696e 6974 2873 656c 662c t_swiginit(self, │ │ │ +000605f0: 205f 666c 746b 2e6e 6577 5f46 6c5f 5265 _fltk.new_Fl_Re │ │ │ +00060600: 6374 282a 6172 6773 2929 0a0a 2020 2020 ct(*args)).. │ │ │ +00060610: 6465 6620 7828 7365 6c66 2c20 2a61 7267 def x(self, *arg │ │ │ +00060620: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +00060630: 0a20 2020 2020 2020 2078 2846 6c5f 5265 . x(Fl_Re │ │ │ +00060640: 6374 2073 656c 6629 202d 3e20 696e 740a ct self) -> int. │ │ │ +00060650: 2020 2020 2020 2020 7828 466c 5f52 6563 x(Fl_Rec │ │ │ +00060660: 7420 7365 6c66 2c20 696e 7420 5829 0a20 t self, int X). │ │ │ +00060670: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ +00060680: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00060690: 466c 5f52 6563 745f 7828 7365 6c66 2c20 Fl_Rect_x(self, │ │ │ +000606a0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +000606b0: 7928 7365 6c66 2c20 2a61 7267 7329 3a0a y(self, *args):. │ │ │ +000606c0: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ +000606d0: 2020 2020 2079 2846 6c5f 5265 6374 2073 y(Fl_Rect s │ │ │ +000606e0: 656c 6629 202d 3e20 696e 740a 2020 2020 elf) -> int. │ │ │ +000606f0: 2020 2020 7928 466c 5f52 6563 7420 7365 y(Fl_Rect se │ │ │ +00060700: 6c66 2c20 696e 7420 5929 0a20 2020 2020 lf, int Y). │ │ │ +00060710: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ +00060720: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f52 eturn _fltk.Fl_R │ │ │ +00060730: 6563 745f 7928 7365 6c66 2c20 2a61 7267 ect_y(self, *arg │ │ │ +00060740: 7329 0a0a 2020 2020 6465 6620 7728 7365 s).. def w(se │ │ │ +00060750: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +00060760: 2020 2020 7222 2222 0a20 2020 2020 2020 r""". │ │ │ +00060770: 2077 2846 6c5f 5265 6374 2073 656c 6629 w(Fl_Rect self) │ │ │ +00060780: 202d 3e20 696e 740a 2020 2020 2020 2020 -> int. │ │ │ +00060790: 7728 466c 5f52 6563 7420 7365 6c66 2c20 w(Fl_Rect self, │ │ │ +000607a0: 696e 7420 5729 0a20 2020 2020 2020 2022 int W). " │ │ │ +000607b0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +000607c0: 6e20 5f66 6c74 6b2e 466c 5f52 6563 745f n _fltk.Fl_Rect_ │ │ │ +000607d0: 7728 7365 6c66 2c20 2a61 7267 7329 0a0a w(self, *args).. │ │ │ +000607e0: 2020 2020 6465 6620 6828 7365 6c66 2c20 def h(self, │ │ │ +000607f0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00060800: 7222 2222 0a20 2020 2020 2020 2068 2846 r""". h(F │ │ │ +00060810: 6c5f 5265 6374 2073 656c 6629 202d 3e20 l_Rect self) -> │ │ │ +00060820: 696e 740a 2020 2020 2020 2020 6828 466c int. h(Fl │ │ │ +00060830: 5f52 6563 7420 7365 6c66 2c20 696e 7420 _Rect self, int │ │ │ +00060840: 4829 0a20 2020 2020 2020 2022 2222 0a20 H). """. │ │ │ +00060850: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00060860: 6c74 6b2e 466c 5f52 6563 745f 6828 7365 ltk.Fl_Rect_h(se │ │ │ +00060870: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +00060880: 6465 6620 7228 7365 6c66 2c20 2a61 7267 def r(self, *arg │ │ │ +00060890: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +000608a0: 0a20 2020 2020 2020 2072 2846 6c5f 5265 . r(Fl_Re │ │ │ +000608b0: 6374 2073 656c 6629 202d 3e20 696e 740a ct self) -> int. │ │ │ +000608c0: 2020 2020 2020 2020 7228 466c 5f52 6563 r(Fl_Rec │ │ │ +000608d0: 7420 7365 6c66 2c20 696e 7420 5229 0a20 t self, int R). │ │ │ +000608e0: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ +000608f0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00060900: 466c 5f52 6563 745f 7228 7365 6c66 2c20 Fl_Rect_r(self, │ │ │ +00060910: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +00060920: 6228 7365 6c66 2c20 2a61 7267 7329 3a0a b(self, *args):. │ │ │ +00060930: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ +00060940: 2020 2020 2062 2846 6c5f 5265 6374 2073 b(Fl_Rect s │ │ │ +00060950: 656c 6629 202d 3e20 696e 740a 2020 2020 elf) -> int. │ │ │ +00060960: 2020 2020 6228 466c 5f52 6563 7420 7365 b(Fl_Rect se │ │ │ +00060970: 6c66 2c20 696e 7420 4229 0a20 2020 2020 lf, int B). │ │ │ +00060980: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ +00060990: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f52 eturn _fltk.Fl_R │ │ │ +000609a0: 6563 745f 6228 7365 6c66 2c20 2a61 7267 ect_b(self, *arg │ │ │ +000609b0: 7329 0a0a 2020 2020 6465 6620 696e 7365 s).. def inse │ │ │ +000609c0: 7428 7365 6c66 2c20 2a61 7267 7329 3a0a t(self, *args):. │ │ │ +000609d0: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ +000609e0: 2020 2020 2069 6e73 6574 2846 6c5f 5265 inset(Fl_Re │ │ │ +000609f0: 6374 2073 656c 662c 2069 6e74 2064 290a ct self, int d). │ │ │ +00060a00: 2020 2020 2020 2020 696e 7365 7428 466c inset(Fl │ │ │ +00060a10: 5f52 6563 7420 7365 6c66 2c20 466c 5f42 _Rect self, Fl_B │ │ │ +00060a20: 6f78 7479 7065 2062 7429 0a20 2020 2020 oxtype bt). │ │ │ +00060a30: 2020 2069 6e73 6574 2846 6c5f 5265 6374 inset(Fl_Rect │ │ │ +00060a40: 2073 656c 662c 2069 6e74 206c 6566 742c self, int left, │ │ │ +00060a50: 2069 6e74 2074 6f70 2c20 696e 7420 7269 int top, int ri │ │ │ +00060a60: 6768 742c 2069 6e74 2062 6f74 746f 6d29 ght, int bottom) │ │ │ +00060a70: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ +00060a80: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00060a90: 6b2e 466c 5f52 6563 745f 696e 7365 7428 k.Fl_Rect_inset( │ │ │ +00060aa0: 7365 6c66 2c20 2a61 7267 7329 0a20 2020 self, *args). │ │ │ +00060ab0: 205f 5f73 7769 675f 6465 7374 726f 795f __swig_destroy_ │ │ │ +00060ac0: 5f20 3d20 5f66 6c74 6b2e 6465 6c65 7465 _ = _fltk.delete │ │ │ +00060ad0: 5f46 6c5f 5265 6374 0a0a 2320 5265 6769 _Fl_Rect..# Regi │ │ │ +00060ae0: 7374 6572 2046 6c5f 5265 6374 2069 6e20 ster Fl_Rect in │ │ │ +00060af0: 5f66 6c74 6b3a 0a5f 666c 746b 2e46 6c5f _fltk:._fltk.Fl_ │ │ │ +00060b00: 5265 6374 5f73 7769 6772 6567 6973 7465 Rect_swigregiste │ │ │ +00060b10: 7228 466c 5f52 6563 7429 0a63 6c61 7373 r(Fl_Rect).class │ │ │ +00060b20: 2046 6c5f 5356 475f 496d 6167 6528 466c Fl_SVG_Image(Fl │ │ │ +00060b30: 5f52 4742 5f49 6d61 6765 293a 0a20 2020 _RGB_Image):. │ │ │ +00060b40: 2072 2222 220a 0a0a 0a20 2020 2022 2222 r""".... """ │ │ │ +00060b50: 0a0a 2020 2020 7468 6973 6f77 6e20 3d20 .. thisown = │ │ │ +00060b60: 7072 6f70 6572 7479 286c 616d 6264 6120 property(lambda │ │ │ +00060b70: 783a 2078 2e74 6869 732e 6f77 6e28 292c x: x.this.own(), │ │ │ +00060b80: 206c 616d 6264 6120 782c 2076 3a20 782e lambda x, v: x. │ │ │ +00060b90: 7468 6973 2e6f 776e 2876 292c 2064 6f63 this.own(v), doc │ │ │ +00060ba0: 3d22 5468 6520 6d65 6d62 6572 7368 6970 ="The membership │ │ │ +00060bb0: 2066 6c61 6722 290a 2020 2020 5f5f 7265 flag"). __re │ │ │ +00060bc0: 7072 5f5f 203d 205f 7377 6967 5f72 6570 pr__ = _swig_rep │ │ │ +00060bd0: 720a 0a20 2020 2064 6566 205f 5f69 6e69 r.. def __ini │ │ │ +00060be0: 745f 5f28 7365 6c66 2c20 2a61 7267 7329 t__(self, *args) │ │ │ +00060bf0: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ +00060c00: 2020 2020 2020 205f 5f69 6e69 745f 5f28 __init__( │ │ │ +00060c10: 466c 5f53 5647 5f49 6d61 6765 2073 656c Fl_SVG_Image sel │ │ │ +00060c20: 662c 2063 6861 7220 636f 6e73 7420 2a20 f, char const * │ │ │ +00060c30: 6669 6c65 6e61 6d65 2920 2d3e 2046 6c5f filename) -> Fl_ │ │ │ +00060c40: 5356 475f 496d 6167 650a 2020 2020 2020 SVG_Image. │ │ │ +00060c50: 2020 5f5f 696e 6974 5f5f 2846 6c5f 5356 __init__(Fl_SV │ │ │ +00060c60: 475f 496d 6167 6520 7365 6c66 2c20 6368 G_Image self, ch │ │ │ +00060c70: 6172 2063 6f6e 7374 202a 2073 6861 7265 ar const * share │ │ │ +00060c80: 646e 616d 652c 2063 6861 7220 636f 6e73 dname, char cons │ │ │ +00060c90: 7420 2a20 7376 675f 6461 7461 2920 2d3e t * svg_data) -> │ │ │ +00060ca0: 2046 6c5f 5356 475f 496d 6167 650a 2020 Fl_SVG_Image. │ │ │ +00060cb0: 2020 2020 2020 5f5f 696e 6974 5f5f 2846 __init__(F │ │ │ +00060cc0: 6c5f 5356 475f 496d 6167 6520 7365 6c66 l_SVG_Image self │ │ │ +00060cd0: 2c20 6368 6172 2063 6f6e 7374 202a 2073 , char const * s │ │ │ +00060ce0: 6861 7265 646e 616d 652c 2075 6e73 6967 haredname, unsig │ │ │ +00060cf0: 6e65 6420 6368 6172 2063 6f6e 7374 202a ned char const * │ │ │ +00060d00: 2073 7667 5f64 6174 612c 2073 697a 655f svg_data, size_ │ │ │ +00060d10: 7420 6c65 6e67 7468 2920 2d3e 2046 6c5f t length) -> Fl_ │ │ │ +00060d20: 5356 475f 496d 6167 650a 2020 2020 2020 SVG_Image. │ │ │ +00060d30: 2020 2222 220a 2020 2020 2020 2020 6966 """. if │ │ │ +00060d40: 2073 656c 662e 5f5f 636c 6173 735f 5f20 self.__class__ │ │ │ +00060d50: 3d3d 2046 6c5f 5356 475f 496d 6167 653a == Fl_SVG_Image: │ │ │ +00060d60: 0a20 2020 2020 2020 2020 2020 205f 7365 . _se │ │ │ +00060d70: 6c66 203d 204e 6f6e 650a 2020 2020 2020 lf = None. │ │ │ +00060d80: 2020 656c 7365 3a0a 2020 2020 2020 2020 else:. │ │ │ +00060d90: 2020 2020 5f73 656c 6620 3d20 7365 6c66 _self = self │ │ │ +00060da0: 0a20 2020 2020 2020 205f 666c 746b 2e46 . _fltk.F │ │ │ +00060db0: 6c5f 5356 475f 496d 6167 655f 7377 6967 l_SVG_Image_swig │ │ │ +00060dc0: 696e 6974 2873 656c 662c 205f 666c 746b init(self, _fltk │ │ │ +00060dd0: 2e6e 6577 5f46 6c5f 5356 475f 496d 6167 .new_Fl_SVG_Imag │ │ │ +00060de0: 6528 5f73 656c 662c 202a 6172 6773 2929 e(_self, *args)) │ │ │ +00060df0: 0a20 2020 205f 5f73 7769 675f 6465 7374 . __swig_dest │ │ │ +00060e00: 726f 795f 5f20 3d20 5f66 6c74 6b2e 6465 roy__ = _fltk.de │ │ │ +00060e10: 6c65 7465 5f46 6c5f 5356 475f 496d 6167 lete_Fl_SVG_Imag │ │ │ +00060e20: 650a 0a20 2020 2064 6566 2063 6f70 7928 e.. def copy( │ │ │ +00060e30: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +00060e40: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ +00060e50: 2020 2063 6f70 7928 466c 5f53 5647 5f49 copy(Fl_SVG_I │ │ │ +00060e60: 6d61 6765 2073 656c 662c 2069 6e74 2057 mage self, int W │ │ │ +00060e70: 2c20 696e 7420 4829 202d 3e20 466c 5f49 , int H) -> Fl_I │ │ │ +00060e80: 6d61 6765 0a20 2020 2020 2020 2063 6f70 mage. cop │ │ │ +00060e90: 7928 466c 5f53 5647 5f49 6d61 6765 2073 y(Fl_SVG_Image s │ │ │ +00060ea0: 656c 6629 202d 3e20 466c 5f49 6d61 6765 elf) -> Fl_Image │ │ │ +00060eb0: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ +00060ec0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00060ed0: 6b2e 466c 5f53 5647 5f49 6d61 6765 5f63 k.Fl_SVG_Image_c │ │ │ +00060ee0: 6f70 7928 7365 6c66 2c20 2a61 7267 7329 opy(self, *args) │ │ │ +00060ef0: 0a0a 2020 2020 6465 6620 7265 7369 7a65 .. def resize │ │ │ +00060f00: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00060f10: 2020 2020 2020 2072 2222 2272 6573 697a r"""resiz │ │ │ +00060f20: 6528 466c 5f53 5647 5f49 6d61 6765 2073 e(Fl_SVG_Image s │ │ │ +00060f30: 656c 662c 2069 6e74 2077 6964 7468 2c20 elf, int width, │ │ │ +00060f40: 696e 7420 6865 6967 6874 2922 2222 0a20 int height)""". │ │ │ +00060f50: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00060f60: 6c74 6b2e 466c 5f53 5647 5f49 6d61 6765 ltk.Fl_SVG_Image │ │ │ +00060f70: 5f72 6573 697a 6528 7365 6c66 2c20 2a61 _resize(self, *a │ │ │ +00060f80: 7267 7329 0a0a 2020 2020 6465 6620 6465 rgs).. def de │ │ │ +00060f90: 7361 7475 7261 7465 2873 656c 662c 202a saturate(self, * │ │ │ +00060fa0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +00060fb0: 2222 2264 6573 6174 7572 6174 6528 466c """desaturate(Fl │ │ │ +00060fc0: 5f53 5647 5f49 6d61 6765 2073 656c 6629 _SVG_Image self) │ │ │ +00060fd0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +00060fe0: 726e 205f 666c 746b 2e46 6c5f 5356 475f rn _fltk.Fl_SVG_ │ │ │ +00060ff0: 496d 6167 655f 6465 7361 7475 7261 7465 Image_desaturate │ │ │ +00061000: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +00061010: 2020 2064 6566 2063 6f6c 6f72 5f61 7665 def color_ave │ │ │ +00061020: 7261 6765 2873 656c 662c 202a 6172 6773 rage(self, *args │ │ │ +00061030: 293a 0a20 2020 2020 2020 2072 2222 2263 ):. r"""c │ │ │ +00061040: 6f6c 6f72 5f61 7665 7261 6765 2846 6c5f olor_average(Fl_ │ │ │ +00061050: 5356 475f 496d 6167 6520 7365 6c66 2c20 SVG_Image self, │ │ │ +00061060: 466c 5f43 6f6c 6f72 2063 2c20 666c 6f61 Fl_Color c, floa │ │ │ +00061070: 7420 6929 2222 220a 2020 2020 2020 2020 t i)""". │ │ │ +00061080: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +00061090: 5356 475f 496d 6167 655f 636f 6c6f 725f SVG_Image_color_ │ │ │ +000610a0: 6176 6572 6167 6528 7365 6c66 2c20 2a61 average(self, *a │ │ │ +000610b0: 7267 7329 0a0a 2020 2020 6465 6620 6472 rgs).. def dr │ │ │ +000610c0: 6177 2873 656c 662c 202a 6172 6773 293a aw(self, *args): │ │ │ +000610d0: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ +000610e0: 2020 2020 2020 6472 6177 2846 6c5f 5356 draw(Fl_SV │ │ │ +000610f0: 475f 496d 6167 6520 7365 6c66 2c20 696e G_Image self, in │ │ │ +00061100: 7420 582c 2069 6e74 2059 2c20 696e 7420 t X, int Y, int │ │ │ +00061110: 572c 2069 6e74 2048 2c20 696e 7420 6378 W, int H, int cx │ │ │ +00061120: 3d30 2c20 696e 7420 6379 3d30 290a 2020 =0, int cy=0). │ │ │ +00061130: 2020 2020 2020 6472 6177 2846 6c5f 5356 draw(Fl_SV │ │ │ +00061140: 475f 496d 6167 6520 7365 6c66 2c20 696e G_Image self, in │ │ │ +00061150: 7420 582c 2069 6e74 2059 290a 2020 2020 t X, int Y). │ │ │ +00061160: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ +00061170: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +00061180: 5356 475f 496d 6167 655f 6472 6177 2873 SVG_Image_draw(s │ │ │ +00061190: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +000611a0: 2064 6566 2061 735f 7376 675f 696d 6167 def as_svg_imag │ │ │ +000611b0: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ +000611c0: 2020 2020 2020 2020 7222 2222 6173 5f73 r"""as_s │ │ │ +000611d0: 7667 5f69 6d61 6765 2846 6c5f 5356 475f vg_image(Fl_SVG_ │ │ │ +000611e0: 496d 6167 6520 7365 6c66 2920 2d3e 2046 Image self) -> F │ │ │ +000611f0: 6c5f 5356 475f 496d 6167 6522 2222 0a20 l_SVG_Image""". │ │ │ +00061200: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00061210: 6c74 6b2e 466c 5f53 5647 5f49 6d61 6765 ltk.Fl_SVG_Image │ │ │ +00061220: 5f61 735f 7376 675f 696d 6167 6528 7365 _as_svg_image(se │ │ │ +00061230: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +00061240: 6465 6620 6e6f 726d 616c 697a 6528 7365 def normalize(se │ │ │ +00061250: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +00061260: 2020 2020 7222 2222 6e6f 726d 616c 697a r"""normaliz │ │ │ +00061270: 6528 466c 5f53 5647 5f49 6d61 6765 2073 e(Fl_SVG_Image s │ │ │ +00061280: 656c 6629 2222 220a 2020 2020 2020 2020 elf)""". │ │ │ +00061290: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +000612a0: 5356 475f 496d 6167 655f 6e6f 726d 616c SVG_Image_normal │ │ │ +000612b0: 697a 6528 7365 6c66 2c20 2a61 7267 7329 ize(self, *args) │ │ │ +000612c0: 0a20 2020 2064 6566 205f 5f64 6973 6f77 . def __disow │ │ │ +000612d0: 6e5f 5f28 7365 6c66 293a 0a20 2020 2020 n__(self):. │ │ │ +000612e0: 2020 2073 656c 662e 7468 6973 2e64 6973 self.this.dis │ │ │ +000612f0: 6f77 6e28 290a 2020 2020 2020 2020 5f66 own(). _f │ │ │ +00061300: 6c74 6b2e 6469 736f 776e 5f46 6c5f 5356 ltk.disown_Fl_SV │ │ │ +00061310: 475f 496d 6167 6528 7365 6c66 290a 2020 G_Image(self). │ │ │ +00061320: 2020 2020 2020 7265 7475 726e 2077 6561 return wea │ │ │ +00061330: 6b72 6566 2e70 726f 7879 2873 656c 6629 kref.proxy(self) │ │ │ +00061340: 0a0a 2320 5265 6769 7374 6572 2046 6c5f ..# Register Fl_ │ │ │ +00061350: 5356 475f 496d 6167 6520 696e 205f 666c SVG_Image in _fl │ │ │ +00061360: 746b 3a0a 5f66 6c74 6b2e 466c 5f53 5647 tk:._fltk.Fl_SVG │ │ │ +00061370: 5f49 6d61 6765 5f73 7769 6772 6567 6973 _Image_swigregis │ │ │ +00061380: 7465 7228 466c 5f53 5647 5f49 6d61 6765 ter(Fl_SVG_Image │ │ │ +00061390: 290a 636c 6173 7320 466c 5f53 5647 5f46 ).class Fl_SVG_F │ │ │ +000613a0: 696c 655f 5375 7266 6163 6528 466c 5f57 ile_Surface(Fl_W │ │ │ +000613b0: 6964 6765 745f 5375 7266 6163 6529 3a0a idget_Surface):. │ │ │ +000613c0: 2020 2020 7222 2222 0a0a 0a0a 2020 2020 r""".... │ │ │ +000613d0: 2222 220a 0a20 2020 2074 6869 736f 776e """.. thisown │ │ │ +000613e0: 203d 2070 726f 7065 7274 7928 6c61 6d62 = property(lamb │ │ │ +000613f0: 6461 2078 3a20 782e 7468 6973 2e6f 776e da x: x.this.own │ │ │ +00061400: 2829 2c20 6c61 6d62 6461 2078 2c20 763a (), lambda x, v: │ │ │ +00061410: 2078 2e74 6869 732e 6f77 6e28 7629 2c20 x.this.own(v), │ │ │ +00061420: 646f 633d 2254 6865 206d 656d 6265 7273 doc="The members │ │ │ +00061430: 6869 7020 666c 6167 2229 0a20 2020 205f hip flag"). _ │ │ │ +00061440: 5f72 6570 725f 5f20 3d20 5f73 7769 675f _repr__ = _swig_ │ │ │ +00061450: 7265 7072 0a0a 2020 2020 6465 6620 5f5f repr.. def __ │ │ │ +00061460: 696e 6974 5f5f 2873 656c 662c 202a 6172 init__(self, *ar │ │ │ +00061470: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00061480: 225f 5f69 6e69 745f 5f28 466c 5f53 5647 "__init__(Fl_SVG │ │ │ +00061490: 5f46 696c 655f 5375 7266 6163 6520 7365 _File_Surface se │ │ │ +000614a0: 6c66 2c20 696e 7420 7769 6474 682c 2069 lf, int width, i │ │ │ +000614b0: 6e74 2068 6569 6768 742c 2046 494c 4520 nt height, FILE │ │ │ +000614c0: 2a20 7376 672c 2069 6e74 2028 2a29 2846 * svg, int (*)(F │ │ │ +000614d0: 494c 4520 2a29 2063 6c6f 7365 663d 4e6f ILE *) closef=No │ │ │ +000614e0: 6e65 2920 2d3e 2046 6c5f 5356 475f 4669 ne) -> Fl_SVG_Fi │ │ │ +000614f0: 6c65 5f53 7572 6661 6365 2222 220a 2020 le_Surface""". │ │ │ +00061500: 2020 2020 2020 5f66 6c74 6b2e 466c 5f53 _fltk.Fl_S │ │ │ +00061510: 5647 5f46 696c 655f 5375 7266 6163 655f VG_File_Surface_ │ │ │ +00061520: 7377 6967 696e 6974 2873 656c 662c 205f swiginit(self, _ │ │ │ +00061530: 666c 746b 2e6e 6577 5f46 6c5f 5356 475f fltk.new_Fl_SVG_ │ │ │ +00061540: 4669 6c65 5f53 7572 6661 6365 282a 6172 File_Surface(*ar │ │ │ +00061550: 6773 2929 0a20 2020 205f 5f73 7769 675f gs)). __swig_ │ │ │ +00061560: 6465 7374 726f 795f 5f20 3d20 5f66 6c74 destroy__ = _flt │ │ │ +00061570: 6b2e 6465 6c65 7465 5f46 6c5f 5356 475f k.delete_Fl_SVG_ │ │ │ +00061580: 4669 6c65 5f53 7572 6661 6365 0a0a 2020 File_Surface.. │ │ │ +00061590: 2020 6465 6620 6669 6c65 2873 656c 662c def file(self, │ │ │ +000615a0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +000615b0: 2072 2222 2266 696c 6528 466c 5f53 5647 r"""file(Fl_SVG │ │ │ +000615c0: 5f46 696c 655f 5375 7266 6163 6520 7365 _File_Surface se │ │ │ +000615d0: 6c66 2920 2d3e 2046 494c 4520 2a22 2222 lf) -> FILE *""" │ │ │ +000615e0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +000615f0: 5f66 6c74 6b2e 466c 5f53 5647 5f46 696c _fltk.Fl_SVG_Fil │ │ │ +00061600: 655f 5375 7266 6163 655f 6669 6c65 2873 e_Surface_file(s │ │ │ +00061610: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +00061620: 2064 6566 206f 7269 6769 6e28 7365 6c66 def origin(self │ │ │ +00061630: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00061640: 2020 7222 2222 0a20 2020 2020 2020 206f r""". o │ │ │ +00061650: 7269 6769 6e28 466c 5f53 5647 5f46 696c rigin(Fl_SVG_Fil │ │ │ +00061660: 655f 5375 7266 6163 6520 7365 6c66 2c20 e_Surface self, │ │ │ +00061670: 696e 7420 782c 2069 6e74 2079 290a 2020 int x, int y). │ │ │ +00061680: 2020 2020 2020 6f72 6967 696e 2846 6c5f origin(Fl_ │ │ │ +00061690: 5356 475f 4669 6c65 5f53 7572 6661 6365 SVG_File_Surface │ │ │ +000616a0: 2073 656c 662c 2069 6e74 202a 2078 2c20 self, int * x, │ │ │ +000616b0: 696e 7420 2a20 7929 0a20 2020 2020 2020 int * y). │ │ │ +000616c0: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ +000616d0: 7572 6e20 5f66 6c74 6b2e 466c 5f53 5647 urn _fltk.Fl_SVG │ │ │ +000616e0: 5f46 696c 655f 5375 7266 6163 655f 6f72 _File_Surface_or │ │ │ +000616f0: 6967 696e 2873 656c 662c 202a 6172 6773 igin(self, *args │ │ │ +00061700: 290a 0a20 2020 2064 6566 2074 7261 6e73 ).. def trans │ │ │ +00061710: 6c61 7465 2873 656c 662c 202a 6172 6773 late(self, *args │ │ │ +00061720: 293a 0a20 2020 2020 2020 2072 2222 2274 ):. r"""t │ │ │ +00061730: 7261 6e73 6c61 7465 2846 6c5f 5356 475f ranslate(Fl_SVG_ │ │ │ +00061740: 4669 6c65 5f53 7572 6661 6365 2073 656c File_Surface sel │ │ │ +00061750: 662c 2069 6e74 2078 2c20 696e 7420 7929 f, int x, int y) │ │ │ +00061760: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +00061770: 726e 205f 666c 746b 2e46 6c5f 5356 475f rn _fltk.Fl_SVG_ │ │ │ +00061780: 4669 6c65 5f53 7572 6661 6365 5f74 7261 File_Surface_tra │ │ │ +00061790: 6e73 6c61 7465 2873 656c 662c 202a 6172 nslate(self, *ar │ │ │ +000617a0: 6773 290a 0a20 2020 2064 6566 2075 6e74 gs).. def unt │ │ │ +000617b0: 7261 6e73 6c61 7465 2873 656c 662c 202a ranslate(self, * │ │ │ +000617c0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +000617d0: 2222 2275 6e74 7261 6e73 6c61 7465 2846 """untranslate(F │ │ │ +000617e0: 6c5f 5356 475f 4669 6c65 5f53 7572 6661 l_SVG_File_Surfa │ │ │ +000617f0: 6365 2073 656c 6629 2222 220a 2020 2020 ce self)""". │ │ │ +00061800: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +00061810: 2e46 6c5f 5356 475f 4669 6c65 5f53 7572 .Fl_SVG_File_Sur │ │ │ +00061820: 6661 6365 5f75 6e74 7261 6e73 6c61 7465 face_untranslate │ │ │ +00061830: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +00061840: 2020 2064 6566 2070 7269 6e74 6162 6c65 def printable │ │ │ +00061850: 5f72 6563 7428 7365 6c66 2c20 2a61 7267 _rect(self, *arg │ │ │ +00061860: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +00061870: 7072 696e 7461 626c 655f 7265 6374 2846 printable_rect(F │ │ │ +00061880: 6c5f 5356 475f 4669 6c65 5f53 7572 6661 l_SVG_File_Surfa │ │ │ +00061890: 6365 2073 656c 662c 2069 6e74 202a 2077 ce self, int * w │ │ │ +000618a0: 2c20 696e 7420 2a20 6829 202d 3e20 696e , int * h) -> in │ │ │ +000618b0: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ +000618c0: 7572 6e20 5f66 6c74 6b2e 466c 5f53 5647 urn _fltk.Fl_SVG │ │ │ +000618d0: 5f46 696c 655f 5375 7266 6163 655f 7072 _File_Surface_pr │ │ │ +000618e0: 696e 7461 626c 655f 7265 6374 2873 656c intable_rect(sel │ │ │ +000618f0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +00061900: 6566 2063 6c6f 7365 2873 656c 662c 202a ef close(self, * │ │ │ +00061910: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +00061920: 2222 2263 6c6f 7365 2846 6c5f 5356 475f """close(Fl_SVG_ │ │ │ +00061930: 4669 6c65 5f53 7572 6661 6365 2073 656c File_Surface sel │ │ │ +00061940: 6629 202d 3e20 696e 7422 2222 0a20 2020 f) -> int""". │ │ │ +00061950: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00061960: 6b2e 466c 5f53 5647 5f46 696c 655f 5375 k.Fl_SVG_File_Su │ │ │ +00061970: 7266 6163 655f 636c 6f73 6528 7365 6c66 rface_close(self │ │ │ +00061980: 2c20 2a61 7267 7329 0a0a 2320 5265 6769 , *args)..# Regi │ │ │ +00061990: 7374 6572 2046 6c5f 5356 475f 4669 6c65 ster Fl_SVG_File │ │ │ +000619a0: 5f53 7572 6661 6365 2069 6e20 5f66 6c74 _Surface in _flt │ │ │ +000619b0: 6b3a 0a5f 666c 746b 2e46 6c5f 5356 475f k:._fltk.Fl_SVG_ │ │ │ +000619c0: 4669 6c65 5f53 7572 6661 6365 5f73 7769 File_Surface_swi │ │ │ +000619d0: 6772 6567 6973 7465 7228 466c 5f53 5647 gregister(Fl_SVG │ │ │ +000619e0: 5f46 696c 655f 5375 7266 6163 6529 0a63 _File_Surface).c │ │ │ +000619f0: 6c61 7373 2046 6c5f 526f 6c6c 6572 2846 lass Fl_Roller(F │ │ │ +00061a00: 6c5f 5661 6c75 6174 6f72 293a 0a20 2020 l_Valuator):. │ │ │ +00061a10: 2072 2222 220a 0a20 2020 2054 6865 2046 r""".. The F │ │ │ +00061a20: 6c5f 526f 6c6c 6572 2077 6964 6765 7420 l_Roller widget │ │ │ +00061a30: 6973 2061 2027 646f 6c6c 7927 2063 6f6e is a 'dolly' con │ │ │ +00061a40: 7472 6f6c 2063 6f6d 6d6f 6e6c 7920 7573 trol commonly us │ │ │ +00061a50: 6564 2074 6f20 6d6f 7665 2033 4420 6f62 ed to move 3D ob │ │ │ +00061a60: 6a65 6374 732e 0a0a 2020 2020 2222 220a jects... """. │ │ │ +00061a70: 0a20 2020 2074 6869 736f 776e 203d 2070 . thisown = p │ │ │ +00061a80: 726f 7065 7274 7928 6c61 6d62 6461 2078 roperty(lambda x │ │ │ +00061a90: 3a20 782e 7468 6973 2e6f 776e 2829 2c20 : x.this.own(), │ │ │ +00061aa0: 6c61 6d62 6461 2078 2c20 763a 2078 2e74 lambda x, v: x.t │ │ │ +00061ab0: 6869 732e 6f77 6e28 7629 2c20 646f 633d his.own(v), doc= │ │ │ +00061ac0: 2254 6865 206d 656d 6265 7273 6869 7020 "The membership │ │ │ +00061ad0: 666c 6167 2229 0a20 2020 205f 5f72 6570 flag"). __rep │ │ │ +00061ae0: 725f 5f20 3d20 5f73 7769 675f 7265 7072 r__ = _swig_repr │ │ │ +00061af0: 0a0a 2020 2020 6465 6620 6472 6177 2873 .. def draw(s │ │ │ +00061b00: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00061b10: 2020 2020 2072 2222 2264 7261 7728 466c r"""draw(Fl │ │ │ +00061b20: 5f52 6f6c 6c65 7220 7365 6c66 2922 2222 _Roller self)""" │ │ │ +00061b30: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +00061b40: 5f66 6c74 6b2e 466c 5f52 6f6c 6c65 725f _fltk.Fl_Roller_ │ │ │ +00061b50: 6472 6177 2873 656c 662c 202a 6172 6773 draw(self, *args │ │ │ +00061b60: 290a 0a20 2020 2064 6566 2068 616e 646c ).. def handl │ │ │ +00061b70: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ +00061b80: 2020 2020 2020 2020 7222 2222 6861 6e64 r"""hand │ │ │ +00061b90: 6c65 2846 6c5f 526f 6c6c 6572 2073 656c le(Fl_Roller sel │ │ │ +00061ba0: 662c 2069 6e74 2061 7267 3029 202d 3e20 f, int arg0) -> │ │ │ +00061bb0: 696e 7422 2222 0a20 2020 2020 2020 2072 int""". r │ │ │ +00061bc0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f52 eturn _fltk.Fl_R │ │ │ +00061bd0: 6f6c 6c65 725f 6861 6e64 6c65 2873 656c oller_handle(sel │ │ │ +00061be0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +00061bf0: 6566 205f 5f69 6e69 745f 5f28 7365 6c66 ef __init__(self │ │ │ +00061c00: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00061c10: 2020 7222 2222 5f5f 696e 6974 5f5f 2846 r"""__init__(F │ │ │ +00061c20: 6c5f 526f 6c6c 6572 2073 656c 662c 2069 l_Roller self, i │ │ │ +00061c30: 6e74 2058 2c20 696e 7420 592c 2069 6e74 nt X, int Y, int │ │ │ +00061c40: 2057 2c20 696e 7420 482c 2063 6861 7220 W, int H, char │ │ │ +00061c50: 636f 6e73 7420 2a20 4c3d 4e6f 6e65 2920 const * L=None) │ │ │ +00061c60: 2d3e 2046 6c5f 526f 6c6c 6572 2222 220a -> Fl_Roller""". │ │ │ +00061c70: 2020 2020 2020 2020 6966 2073 656c 662e if self. │ │ │ +00061c80: 5f5f 636c 6173 735f 5f20 3d3d 2046 6c5f __class__ == Fl_ │ │ │ +00061c90: 526f 6c6c 6572 3a0a 2020 2020 2020 2020 Roller:. │ │ │ +00061ca0: 2020 2020 5f73 656c 6620 3d20 4e6f 6e65 _self = None │ │ │ +00061cb0: 0a20 2020 2020 2020 2065 6c73 653a 0a20 . else:. │ │ │ +00061cc0: 2020 2020 2020 2020 2020 205f 7365 6c66 _self │ │ │ +00061cd0: 203d 2073 656c 660a 2020 2020 2020 2020 = self. │ │ │ +00061ce0: 5f66 6c74 6b2e 466c 5f52 6f6c 6c65 725f _fltk.Fl_Roller_ │ │ │ +00061cf0: 7377 6967 696e 6974 2873 656c 662c 205f swiginit(self, _ │ │ │ +00061d00: 666c 746b 2e6e 6577 5f46 6c5f 526f 6c6c fltk.new_Fl_Roll │ │ │ +00061d10: 6572 285f 7365 6c66 2c20 2a61 7267 7329 er(_self, *args) │ │ │ +00061d20: 290a 0a20 2020 2020 2020 2069 6620 6c65 ).. if le │ │ │ +00061d30: 6e28 6172 6773 2920 3d3d 2035 3a20 2020 n(args) == 5: │ │ │ +00061d40: 2020 2020 2020 200a 2020 2020 2020 2020 . │ │ │ +00061d50: 2372 6574 6169 6e20 7265 6665 7265 6e63 #retain referenc │ │ │ +00061d60: 6520 746f 206c 6162 656c 0a20 2020 2020 e to label. │ │ │ +00061d70: 2020 2020 2020 2073 656c 662e 6d79 5f6c self.my_l │ │ │ +00061d80: 6162 656c 203d 2061 7267 735b 2d31 5d0a abel = args[-1]. │ │ │ +00061d90: 2020 2020 2020 2020 6966 2073 656c 662e if self. │ │ │ +00061da0: 7061 7265 6e74 2829 2021 3d20 4e6f 6e65 parent() != None │ │ │ +00061db0: 3a20 2020 0a20 2020 2020 2020 2023 6465 : . #de │ │ │ +00061dc0: 6c65 6761 7465 206f 776e 6572 7368 6970 legate ownership │ │ │ +00061dd0: 2074 6f20 432b 2b0a 2020 2020 2020 2020 to C++. │ │ │ +00061de0: 2020 2020 7365 6c66 2e74 6869 732e 6469 self.this.di │ │ │ +00061df0: 736f 776e 2829 0a20 2020 2020 2020 2073 sown(). s │ │ │ +00061e00: 656c 662e 696e 6974 5f74 7970 6528 2246 elf.init_type("F │ │ │ +00061e10: 6c5f 526f 6c6c 6572 2229 0a20 2020 2020 l_Roller"). │ │ │ +00061e20: 2020 2023 7072 696e 7428 2241 6464 696e #print("Addin │ │ │ +00061e30: 6720 7479 7065 3a20 222c 2046 6c5f 526f g type: ", Fl_Ro │ │ │ +00061e40: 6c6c 6572 290a 0a0a 0a0a 2020 2020 6465 ller)..... de │ │ │ +00061e50: 6620 696e 6974 5f74 7970 6528 7365 6c66 f init_type(self │ │ │ +00061e60: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00061e70: 2020 7222 2222 696e 6974 5f74 7970 6528 r"""init_type( │ │ │ +00061e80: 466c 5f52 6f6c 6c65 7220 7365 6c66 2c20 Fl_Roller self, │ │ │ +00061e90: 6368 6172 202a 2046 6c5f 526f 6c6c 6572 char * Fl_Roller │ │ │ +00061ea0: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ +00061eb0: 7572 6e20 5f66 6c74 6b2e 466c 5f52 6f6c urn _fltk.Fl_Rol │ │ │ +00061ec0: 6c65 725f 696e 6974 5f74 7970 6528 7365 ler_init_type(se │ │ │ +00061ed0: 6c66 2c20 2a61 7267 7329 0a20 2020 205f lf, *args). _ │ │ │ +00061ee0: 5f73 7769 675f 6465 7374 726f 795f 5f20 _swig_destroy__ │ │ │ +00061ef0: 3d20 5f66 6c74 6b2e 6465 6c65 7465 5f46 = _fltk.delete_F │ │ │ +00061f00: 6c5f 526f 6c6c 6572 0a20 2020 2064 6566 l_Roller. def │ │ │ +00061f10: 205f 5f64 6973 6f77 6e5f 5f28 7365 6c66 __disown__(self │ │ │ +00061f20: 293a 0a20 2020 2020 2020 2073 656c 662e ):. self. │ │ │ +00061f30: 7468 6973 2e64 6973 6f77 6e28 290a 2020 this.disown(). │ │ │ +00061f40: 2020 2020 2020 5f66 6c74 6b2e 6469 736f _fltk.diso │ │ │ +00061f50: 776e 5f46 6c5f 526f 6c6c 6572 2873 656c wn_Fl_Roller(sel │ │ │ +00061f60: 6629 0a20 2020 2020 2020 2072 6574 7572 f). retur │ │ │ +00061f70: 6e20 7765 616b 7265 662e 7072 6f78 7928 n weakref.proxy( │ │ │ +00061f80: 7365 6c66 290a 0a23 2052 6567 6973 7465 self)..# Registe │ │ │ +00061f90: 7220 466c 5f52 6f6c 6c65 7220 696e 205f r Fl_Roller in _ │ │ │ +00061fa0: 666c 746b 3a0a 5f66 6c74 6b2e 466c 5f52 fltk:._fltk.Fl_R │ │ │ +00061fb0: 6f6c 6c65 725f 7377 6967 7265 6769 7374 oller_swigregist │ │ │ +00061fc0: 6572 2846 6c5f 526f 6c6c 6572 290a 636c er(Fl_Roller).cl │ │ │ +00061fd0: 6173 7320 466c 5f52 6f75 6e64 5f43 6c6f ass Fl_Round_Clo │ │ │ +00061fe0: 636b 2846 6c5f 436c 6f63 6b29 3a0a 2020 ck(Fl_Clock):. │ │ │ +00061ff0: 2020 7222 2222 0a0a 2020 2020 5468 6973 r""".. This │ │ │ +00062000: 2077 6964 6765 7420 7072 6f76 6964 6573 widget provides │ │ │ +00062010: 2061 2072 6f75 6e64 2061 6e61 6c6f 6720 a round analog │ │ │ +00062020: 636c 6f63 6b20 6469 7370 6c61 7920 616e clock display an │ │ │ +00062030: 6420 6973 2070 726f 7669 6465 6420 666f d is provided fo │ │ │ +00062040: 7220 0a20 2020 2046 6f72 6d73 2063 6f6d r . Forms com │ │ │ +00062050: 7061 7469 6269 6c69 7479 2e20 4974 2069 patibility. It i │ │ │ +00062060: 6e73 7461 6c6c 7320 6120 312d 7365 636f nstalls a 1-seco │ │ │ +00062070: 6e64 2074 696d 656f 7574 2063 616c 6c62 nd timeout callb │ │ │ +00062080: 6163 6b20 7573 696e 6720 0a20 2020 2046 ack using . F │ │ │ +00062090: 6c3a 3a61 6464 5f74 696d 656f 7574 2829 l::add_timeout() │ │ │ +000620a0: 2e0a 0a20 2020 2022 2222 0a0a 2020 2020 ... """.. │ │ │ +000620b0: 7468 6973 6f77 6e20 3d20 7072 6f70 6572 thisown = proper │ │ │ +000620c0: 7479 286c 616d 6264 6120 783a 2078 2e74 ty(lambda x: x.t │ │ │ +000620d0: 6869 732e 6f77 6e28 292c 206c 616d 6264 his.own(), lambd │ │ │ +000620e0: 6120 782c 2076 3a20 782e 7468 6973 2e6f a x, v: x.this.o │ │ │ +000620f0: 776e 2876 292c 2064 6f63 3d22 5468 6520 wn(v), doc="The │ │ │ +00062100: 6d65 6d62 6572 7368 6970 2066 6c61 6722 membership flag" │ │ │ +00062110: 290a 2020 2020 5f5f 7265 7072 5f5f 203d ). __repr__ = │ │ │ +00062120: 205f 7377 6967 5f72 6570 720a 0a20 2020 _swig_repr.. │ │ │ +00062130: 2064 6566 205f 5f69 6e69 745f 5f28 7365 def __init__(se │ │ │ +00062140: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +00062150: 2020 2020 7222 2222 5f5f 696e 6974 5f5f r"""__init__ │ │ │ +00062160: 2846 6c5f 526f 756e 645f 436c 6f63 6b20 (Fl_Round_Clock │ │ │ +00062170: 7365 6c66 2c20 696e 7420 582c 2069 6e74 self, int X, int │ │ │ +00062180: 2059 2c20 696e 7420 572c 2069 6e74 2048 Y, int W, int H │ │ │ +00062190: 2c20 6368 6172 2063 6f6e 7374 202a 204c , char const * L │ │ │ +000621a0: 3d4e 6f6e 6529 202d 3e20 466c 5f52 6f75 =None) -> Fl_Rou │ │ │ +000621b0: 6e64 5f43 6c6f 636b 2222 220a 2020 2020 nd_Clock""". │ │ │ +000621c0: 2020 2020 6966 2073 656c 662e 5f5f 636c if self.__cl │ │ │ +000621d0: 6173 735f 5f20 3d3d 2046 6c5f 526f 756e ass__ == Fl_Roun │ │ │ +000621e0: 645f 436c 6f63 6b3a 0a20 2020 2020 2020 d_Clock:. │ │ │ +000621f0: 2020 2020 205f 7365 6c66 203d 204e 6f6e _self = Non │ │ │ +00062200: 650a 2020 2020 2020 2020 656c 7365 3a0a e. else:. │ │ │ +00062210: 2020 2020 2020 2020 2020 2020 5f73 656c _sel │ │ │ +00062220: 6620 3d20 7365 6c66 0a20 2020 2020 2020 f = self. │ │ │ +00062230: 205f 666c 746b 2e46 6c5f 526f 756e 645f _fltk.Fl_Round_ │ │ │ +00062240: 436c 6f63 6b5f 7377 6967 696e 6974 2873 Clock_swiginit(s │ │ │ +00062250: 656c 662c 205f 666c 746b 2e6e 6577 5f46 elf, _fltk.new_F │ │ │ +00062260: 6c5f 526f 756e 645f 436c 6f63 6b28 5f73 l_Round_Clock(_s │ │ │ +00062270: 656c 662c 202a 6172 6773 2929 0a0a 2020 elf, *args)).. │ │ │ +00062280: 2020 2020 2020 6966 206c 656e 2861 7267 if len(arg │ │ │ +00062290: 7329 203d 3d20 353a 2020 2020 2020 2020 s) == 5: │ │ │ +000622a0: 2020 0a20 2020 2020 2020 2023 7265 7461 . #reta │ │ │ +000622b0: 696e 2072 6566 6572 656e 6365 2074 6f20 in reference to │ │ │ +000622c0: 6c61 6265 6c0a 2020 2020 2020 2020 2020 label. │ │ │ +000622d0: 2020 7365 6c66 2e6d 795f 6c61 6265 6c20 self.my_label │ │ │ +000622e0: 3d20 6172 6773 5b2d 315d 0a20 2020 2020 = args[-1]. │ │ │ +000622f0: 2020 2069 6620 7365 6c66 2e70 6172 656e if self.paren │ │ │ +00062300: 7428 2920 213d 204e 6f6e 653a 2020 200a t() != None: . │ │ │ +00062310: 2020 2020 2020 2020 2364 656c 6567 6174 #delegat │ │ │ +00062320: 6520 6f77 6e65 7273 6869 7020 746f 2043 e ownership to C │ │ │ +00062330: 2b2b 0a20 2020 2020 2020 2020 2020 2073 ++. s │ │ │ +00062340: 656c 662e 7468 6973 2e64 6973 6f77 6e28 elf.this.disown( │ │ │ +00062350: 290a 2020 2020 2020 2020 7365 6c66 2e69 ). self.i │ │ │ +00062360: 6e69 745f 7479 7065 2822 466c 5f52 6f75 nit_type("Fl_Rou │ │ │ +00062370: 6e64 5f43 6c6f 636b 2229 0a20 2020 2020 nd_Clock"). │ │ │ +00062380: 2020 2023 7072 696e 7428 2241 6464 696e #print("Addin │ │ │ +00062390: 6720 7479 7065 3a20 222c 2046 6c5f 526f g type: ", Fl_Ro │ │ │ +000623a0: 756e 645f 436c 6f63 6b29 0a0a 0a0a 0a20 und_Clock)..... │ │ │ +000623b0: 2020 2064 6566 2069 6e69 745f 7479 7065 def init_type │ │ │ +000623c0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +000623d0: 2020 2020 2020 2072 2222 2269 6e69 745f r"""init_ │ │ │ +000623e0: 7479 7065 2846 6c5f 526f 756e 645f 436c type(Fl_Round_Cl │ │ │ +000623f0: 6f63 6b20 7365 6c66 2c20 6368 6172 202a ock self, char * │ │ │ +00062400: 2046 6c5f 526f 756e 645f 436c 6f63 6b29 Fl_Round_Clock) │ │ │ +00062410: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +00062420: 726e 205f 666c 746b 2e46 6c5f 526f 756e rn _fltk.Fl_Roun │ │ │ +00062430: 645f 436c 6f63 6b5f 696e 6974 5f74 7970 d_Clock_init_typ │ │ │ +00062440: 6528 7365 6c66 2c20 2a61 7267 7329 0a20 e(self, *args). │ │ │ +00062450: 2020 205f 5f73 7769 675f 6465 7374 726f __swig_destro │ │ │ +00062460: 795f 5f20 3d20 5f66 6c74 6b2e 6465 6c65 y__ = _fltk.dele │ │ │ +00062470: 7465 5f46 6c5f 526f 756e 645f 436c 6f63 te_Fl_Round_Cloc │ │ │ +00062480: 6b0a 2020 2020 6465 6620 5f5f 6469 736f k. def __diso │ │ │ +00062490: 776e 5f5f 2873 656c 6629 3a0a 2020 2020 wn__(self):. │ │ │ +000624a0: 2020 2020 7365 6c66 2e74 6869 732e 6469 self.this.di │ │ │ +000624b0: 736f 776e 2829 0a20 2020 2020 2020 205f sown(). _ │ │ │ +000624c0: 666c 746b 2e64 6973 6f77 6e5f 466c 5f52 fltk.disown_Fl_R │ │ │ +000624d0: 6f75 6e64 5f43 6c6f 636b 2873 656c 6629 ound_Clock(self) │ │ │ +000624e0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +000624f0: 7765 616b 7265 662e 7072 6f78 7928 7365 weakref.proxy(se │ │ │ +00062500: 6c66 290a 0a20 2020 2064 6566 2064 7261 lf).. def dra │ │ │ +00062510: 7728 7365 6c66 2c20 2a61 7267 7329 3a0a w(self, *args):. │ │ │ +00062520: 2020 2020 2020 2020 7222 2222 6472 6177 r"""draw │ │ │ +00062530: 2846 6c5f 526f 756e 645f 436c 6f63 6b20 (Fl_Round_Clock │ │ │ +00062540: 7365 6c66 2922 2222 0a20 2020 2020 2020 self)""". │ │ │ +00062550: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +00062560: 5f52 6f75 6e64 5f43 6c6f 636b 5f64 7261 _Round_Clock_dra │ │ │ +00062570: 7728 7365 6c66 2c20 2a61 7267 7329 0a0a w(self, *args).. │ │ │ +00062580: 2320 5265 6769 7374 6572 2046 6c5f 526f # Register Fl_Ro │ │ │ +00062590: 756e 645f 436c 6f63 6b20 696e 205f 666c und_Clock in _fl │ │ │ +000625a0: 746b 3a0a 5f66 6c74 6b2e 466c 5f52 6f75 tk:._fltk.Fl_Rou │ │ │ +000625b0: 6e64 5f43 6c6f 636b 5f73 7769 6772 6567 nd_Clock_swigreg │ │ │ +000625c0: 6973 7465 7228 466c 5f52 6f75 6e64 5f43 ister(Fl_Round_C │ │ │ +000625d0: 6c6f 636b 290a 636c 6173 7320 466c 5f53 lock).class Fl_S │ │ │ +000625e0: 6372 6f6c 6c28 466c 5f47 726f 7570 293a croll(Fl_Group): │ │ │ +000625f0: 0a20 2020 2072 2222 220a 0a20 2020 2054 . r""".. T │ │ │ +00062600: 6869 7320 636f 6e74 6169 6e65 7220 7769 his container wi │ │ │ +00062610: 6467 6574 206c 6574 7320 796f 7520 6d61 dget lets you ma │ │ │ +00062620: 6e65 7576 6572 2061 726f 756e 6420 6120 neuver around a │ │ │ +00062630: 7365 7420 6f66 2077 6964 6765 7473 206d set of widgets m │ │ │ +00062640: 7563 6820 6c61 7267 6572 200a 2020 2020 uch larger . │ │ │ +00062650: 7468 616e 2079 6f75 7220 7769 6e64 6f77 than your window │ │ │ +00062660: 2e20 4966 2074 6865 2063 6869 6c64 2077 . If the child w │ │ │ +00062670: 6964 6765 7473 2061 7265 206c 6172 6765 idgets are large │ │ │ +00062680: 7220 7468 616e 2074 6865 2073 697a 6520 r than the size │ │ │ +00062690: 6f66 2074 6869 7320 0a20 2020 206f 626a of this . obj │ │ │ +000626a0: 6563 7420 7468 656e 2073 6372 6f6c 6c62 ect then scrollb │ │ │ +000626b0: 6172 7320 7769 6c6c 2061 7070 6561 7220 ars will appear │ │ │ +000626c0: 736f 2074 6861 7420 796f 7520 6361 6e20 so that you can │ │ │ +000626d0: 7363 726f 6c6c 206f 7665 7220 746f 2074 scroll over to t │ │ │ +000626e0: 6865 6d3a 0a0a 2020 2020 4966 2061 6c6c hem:.. If all │ │ │ +000626f0: 206f 6620 7468 6520 6368 696c 6420 7769 of the child wi │ │ │ +00062700: 6467 6574 7320 6172 6520 7061 636b 6564 dgets are packed │ │ │ +00062710: 2074 6f67 6574 6865 7220 696e 746f 2061 together into a │ │ │ +00062720: 2073 6f6c 6964 2072 6563 7461 6e67 6c65 solid rectangle │ │ │ +00062730: 2074 6865 6e20 0a20 2020 2079 6f75 2077 then . you w │ │ │ +00062740: 616e 7420 746f 2073 6574 2062 6f78 2829 ant to set box() │ │ │ +00062750: 2074 6f20 464c 5f4e 4f5f 424f 5820 6f72 to FL_NO_BOX or │ │ │ +00062760: 206f 6e65 206f 6620 7468 6520 5f46 5241 one of the _FRA │ │ │ +00062770: 4d45 2074 7970 6573 2e20 5468 6973 2077 ME types. This w │ │ │ +00062780: 696c 6c20 0a20 2020 2072 6573 756c 7420 ill . result │ │ │ +00062790: 696e 2074 6865 2062 6573 7420 6f75 7470 in the best outp │ │ │ +000627a0: 7574 2e20 486f 7765 7665 722c 2069 6620 ut. However, if │ │ │ +000627b0: 7468 6520 6368 696c 6420 7769 6467 6574 the child widget │ │ │ +000627c0: 7320 6172 6520 6120 7370 6172 7365 200a s are a sparse . │ │ │ +000627d0: 2020 2020 6172 7261 6e67 6d65 6e74 2079 arrangment y │ │ │ +000627e0: 6f75 206d 7573 7420 7365 7420 626f 7828 ou must set box( │ │ │ +000627f0: 2920 746f 2061 2072 6561 6c20 5f42 4f58 ) to a real _BOX │ │ │ +00062800: 2074 7970 652e 2054 6869 7320 6361 6e20 type. This can │ │ │ +00062810: 7265 7375 6c74 2069 6e20 736f 6d65 200a result in some . │ │ │ +00062820: 2020 2020 626c 696e 6b69 6e67 2064 7572 blinking dur │ │ │ +00062830: 696e 6720 7265 6472 6177 696e 672c 2062 ing redrawing, b │ │ │ +00062840: 7574 2074 6861 7420 6361 6e20 6265 2073 ut that can be s │ │ │ +00062850: 6f6c 7665 6420 6279 2075 7369 6e67 2061 olved by using a │ │ │ +00062860: 2046 6c5f 446f 7562 6c65 5f57 696e 646f Fl_Double_Windo │ │ │ +00062870: 772e 0a0a 2020 2020 5468 6973 2077 6964 w... This wid │ │ │ +00062880: 6765 7420 6361 6e20 616c 736f 2062 6520 get can also be │ │ │ +00062890: 7573 6564 2074 6f20 7061 6e20 6172 6f75 used to pan arou │ │ │ +000628a0: 6e64 2061 2073 696e 676c 6520 6368 696c nd a single chil │ │ │ +000628b0: 6420 7769 6467 6574 2027 6361 6e76 6173 d widget 'canvas │ │ │ +000628c0: 272e 200a 2020 2020 5468 6973 2063 6869 '. . This chi │ │ │ +000628d0: 6c64 2077 6964 6765 7420 7368 6f75 6c64 ld widget should │ │ │ +000628e0: 2062 6520 6f66 2079 6f75 7220 6f77 6e20 be of your own │ │ │ +000628f0: 636c 6173 732c 2077 6974 6820 6120 6472 class, with a dr │ │ │ +00062900: 6177 2829 206d 6574 686f 6420 7468 6174 aw() method that │ │ │ +00062910: 200a 2020 2020 6472 6177 7320 7468 6520 . draws the │ │ │ +00062920: 636f 6e74 656e 7473 2e20 5468 6520 7363 contents. The sc │ │ │ +00062930: 726f 6c6c 696e 6720 6973 2064 6f6e 6520 rolling is done │ │ │ +00062940: 6279 2063 6861 6e67 696e 6720 7468 6520 by changing the │ │ │ +00062950: 7828 2920 616e 6420 7928 2920 6f66 200a x() and y() of . │ │ │ +00062960: 2020 2020 7468 6520 7769 6467 6574 2c20 the widget, │ │ │ +00062970: 736f 2074 6869 7320 6368 696c 6420 6d75 so this child mu │ │ │ +00062980: 7374 2075 7365 2074 6865 2078 2829 2061 st use the x() a │ │ │ +00062990: 6e64 2079 2829 2074 6f20 706f 7369 7469 nd y() to positi │ │ │ +000629a0: 6f6e 2069 7427 7320 6472 6177 696e 672e on it's drawing. │ │ │ +000629b0: 200a 2020 2020 546f 2073 7065 6564 2075 . To speed u │ │ │ +000629c0: 7020 6472 6177 696e 6720 6974 2073 686f p drawing it sho │ │ │ +000629d0: 756c 6420 7465 7374 2066 6c5f 7075 7368 uld test fl_push │ │ │ +000629e0: 5f63 6c69 7028 2920 2e0a 0a20 2020 2041 _clip() ... A │ │ │ +000629f0: 6e6f 7468 6572 2076 6572 7920 7573 6566 nother very usef │ │ │ +00062a00: 756c 2063 6869 6c64 2069 7320 6120 7369 ul child is a si │ │ │ +00062a10: 6e67 6c65 2046 6c5f 5061 636b 2c20 7768 ngle Fl_Pack, wh │ │ │ +00062a20: 6963 6820 6973 2069 7473 656c 6620 6120 ich is itself a │ │ │ +00062a30: 6772 6f75 7020 7468 6174 200a 2020 2020 group that . │ │ │ +00062a40: 7061 636b 7320 6974 2773 2063 6869 6c64 packs it's child │ │ │ +00062a50: 7265 6e20 746f 6765 7468 6572 2061 6e64 ren together and │ │ │ +00062a60: 2063 6861 6e67 6573 2073 697a 6520 746f changes size to │ │ │ +00062a70: 2073 7572 726f 756e 6420 7468 656d 2e20 surround them. │ │ │ +00062a80: 4669 6c6c 696e 6720 7468 6520 0a20 2020 Filling the . │ │ │ +00062a90: 2046 6c5f 5061 636b 2077 6974 6820 466c Fl_Pack with Fl │ │ │ +00062aa0: 5f54 6162 7320 6772 6f75 7073 2028 616e _Tabs groups (an │ │ │ +00062ab0: 6420 7468 656e 2070 7574 7469 6e67 206e d then putting n │ │ │ +00062ac0: 6f72 6d61 6c20 7769 6467 6574 7320 696e ormal widgets in │ │ │ +00062ad0: 7369 6465 2074 686f 7365 2920 0a20 2020 side those) . │ │ │ +00062ae0: 2067 6976 6573 2079 6f75 2061 2076 6572 gives you a ver │ │ │ +00062af0: 7920 706f 7765 7266 756c 2073 6372 6f6c y powerful scrol │ │ │ +00062b00: 6c69 6e67 206c 6973 7420 6f66 2069 6e64 ling list of ind │ │ │ +00062b10: 6976 6964 7561 6c6c 792d 6f70 656e 6162 ividually-openab │ │ │ +00062b20: 6c65 2070 616e 656c 732e 0a0a 2020 2020 le panels... │ │ │ +00062b30: 466c 7569 6420 6c65 7473 2079 6f75 2063 Fluid lets you c │ │ │ +00062b40: 7265 6174 6520 7468 6573 652c 2062 7574 reate these, but │ │ │ +00062b50: 2079 6f75 2063 616e 206f 6e6c 7920 6c61 you can only la │ │ │ +00062b60: 7920 6f75 7420 6f62 6a65 6374 7320 7468 y out objects th │ │ │ +00062b70: 6174 2066 6974 200a 2020 2020 696e 7369 at fit . insi │ │ │ +00062b80: 6465 2074 6865 2046 6c5f 5363 726f 6c6c de the Fl_Scroll │ │ │ +00062b90: 2077 6974 686f 7574 2073 6372 6f6c 6c69 without scrolli │ │ │ +00062ba0: 6e67 2e20 4265 2073 7572 6520 746f 206c ng. Be sure to l │ │ │ +00062bb0: 6561 7665 2073 7061 6365 2066 6f72 2074 eave space for t │ │ │ +00062bc0: 6865 200a 2020 2020 7363 726f 6c6c 6261 he . scrollba │ │ │ +00062bd0: 7273 2c20 6173 2046 6c75 6964 2077 6f6e rs, as Fluid won │ │ │ +00062be0: 2774 2073 686f 7720 7468 6573 6520 6569 't show these ei │ │ │ +00062bf0: 7468 6572 2e0a 0a20 2020 2059 6f75 2063 ther... You c │ │ │ +00062c00: 616e 6e6f 7420 7573 6520 466c 5f57 696e annot use Fl_Win │ │ │ +00062c10: 646f 7720 6173 2061 2063 6869 6c64 206f dow as a child o │ │ │ +00062c20: 6620 7468 6973 2073 696e 6365 2074 6865 f this since the │ │ │ +00062c30: 2063 6c69 7070 696e 6720 6973 206e 6f74 clipping is not │ │ │ +00062c40: 200a 2020 2020 636f 6e76 6579 6564 2074 . conveyed t │ │ │ +00062c50: 6f20 6974 2077 6865 6e20 6472 6177 6e2c o it when drawn, │ │ │ +00062c60: 2061 6e64 2069 7420 7769 6c6c 2064 7261 and it will dra │ │ │ +00062c70: 7720 6f76 6572 2074 6865 2073 6372 6f6c w over the scrol │ │ │ +00062c80: 6c62 6172 7320 616e 6420 0a20 2020 206e lbars and . n │ │ │ +00062c90: 6569 6768 626f 7269 6e67 206f 626a 6563 eighboring objec │ │ │ +00062ca0: 7473 2e0a 0a20 2020 2022 2222 0a0a 2020 ts... """.. │ │ │ +00062cb0: 2020 7468 6973 6f77 6e20 3d20 7072 6f70 thisown = prop │ │ │ +00062cc0: 6572 7479 286c 616d 6264 6120 783a 2078 erty(lambda x: x │ │ │ +00062cd0: 2e74 6869 732e 6f77 6e28 292c 206c 616d .this.own(), lam │ │ │ +00062ce0: 6264 6120 782c 2076 3a20 782e 7468 6973 bda x, v: x.this │ │ │ +00062cf0: 2e6f 776e 2876 292c 2064 6f63 3d22 5468 .own(v), doc="Th │ │ │ +00062d00: 6520 6d65 6d62 6572 7368 6970 2066 6c61 e membership fla │ │ │ +00062d10: 6722 290a 2020 2020 5f5f 7265 7072 5f5f g"). __repr__ │ │ │ +00062d20: 203d 205f 7377 6967 5f72 6570 720a 0a20 = _swig_repr.. │ │ │ +00062d30: 2020 2064 6566 2064 7261 7728 7365 6c66 def draw(self │ │ │ +00062d40: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00062d50: 2020 7222 2222 6472 6177 2846 6c5f 5363 r"""draw(Fl_Sc │ │ │ +00062d60: 726f 6c6c 2073 656c 6629 2222 220a 2020 roll self)""". │ │ │ +00062d70: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +00062d80: 746b 2e46 6c5f 5363 726f 6c6c 5f64 7261 tk.Fl_Scroll_dra │ │ │ +00062d90: 7728 7365 6c66 2c20 2a61 7267 7329 0a0a w(self, *args).. │ │ │ +00062da0: 2020 2020 6465 6620 7265 7369 7a65 2873 def resize(s │ │ │ +00062db0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00062dc0: 2020 2020 2072 2222 2272 6573 697a 6528 r"""resize( │ │ │ +00062dd0: 466c 5f53 6372 6f6c 6c20 7365 6c66 2c20 Fl_Scroll self, │ │ │ +00062de0: 696e 7420 582c 2069 6e74 2059 2c20 696e int X, int Y, in │ │ │ +00062df0: 7420 572c 2069 6e74 2048 2922 2222 0a20 t W, int H)""". │ │ │ +00062e00: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00062e10: 6c74 6b2e 466c 5f53 6372 6f6c 6c5f 7265 ltk.Fl_Scroll_re │ │ │ +00062e20: 7369 7a65 2873 656c 662c 202a 6172 6773 size(self, *args │ │ │ +00062e30: 290a 0a20 2020 2064 6566 2068 616e 646c ).. def handl │ │ │ +00062e40: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ +00062e50: 2020 2020 2020 2020 7222 2222 6861 6e64 r"""hand │ │ │ +00062e60: 6c65 2846 6c5f 5363 726f 6c6c 2073 656c le(Fl_Scroll sel │ │ │ +00062e70: 662c 2069 6e74 2061 7267 3029 202d 3e20 f, int arg0) -> │ │ │ +00062e80: 696e 7422 2222 0a20 2020 2020 2020 2072 int""". r │ │ │ +00062e90: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f53 eturn _fltk.Fl_S │ │ │ +00062ea0: 6372 6f6c 6c5f 6861 6e64 6c65 2873 656c croll_handle(sel │ │ │ +00062eb0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +00062ec0: 6566 205f 5f69 6e69 745f 5f28 7365 6c66 ef __init__(self │ │ │ +00062ed0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00062ee0: 2020 7222 2222 5f5f 696e 6974 5f5f 2846 r"""__init__(F │ │ │ +00062ef0: 6c5f 5363 726f 6c6c 2073 656c 662c 2069 l_Scroll self, i │ │ │ +00062f00: 6e74 2058 2c20 696e 7420 592c 2069 6e74 nt X, int Y, int │ │ │ +00062f10: 2057 2c20 696e 7420 482c 2063 6861 7220 W, int H, char │ │ │ +00062f20: 636f 6e73 7420 2a20 4c3d 4e6f 6e65 2920 const * L=None) │ │ │ +00062f30: 2d3e 2046 6c5f 5363 726f 6c6c 2222 220a -> Fl_Scroll""". │ │ │ +00062f40: 2020 2020 2020 2020 6966 2073 656c 662e if self. │ │ │ +00062f50: 5f5f 636c 6173 735f 5f20 3d3d 2046 6c5f __class__ == Fl_ │ │ │ +00062f60: 5363 726f 6c6c 3a0a 2020 2020 2020 2020 Scroll:. │ │ │ +00062f70: 2020 2020 5f73 656c 6620 3d20 4e6f 6e65 _self = None │ │ │ +00062f80: 0a20 2020 2020 2020 2065 6c73 653a 0a20 . else:. │ │ │ +00062f90: 2020 2020 2020 2020 2020 205f 7365 6c66 _self │ │ │ +00062fa0: 203d 2073 656c 660a 2020 2020 2020 2020 = self. │ │ │ +00062fb0: 5f66 6c74 6b2e 466c 5f53 6372 6f6c 6c5f _fltk.Fl_Scroll_ │ │ │ +00062fc0: 7377 6967 696e 6974 2873 656c 662c 205f swiginit(self, _ │ │ │ +00062fd0: 666c 746b 2e6e 6577 5f46 6c5f 5363 726f fltk.new_Fl_Scro │ │ │ +00062fe0: 6c6c 285f 7365 6c66 2c20 2a61 7267 7329 ll(_self, *args) │ │ │ +00062ff0: 290a 0a20 2020 2020 2020 2069 6620 6c65 ).. if le │ │ │ +00063000: 6e28 6172 6773 2920 3d3d 2035 3a20 2020 n(args) == 5: │ │ │ +00063010: 2020 2020 2020 200a 2020 2020 2020 2020 . │ │ │ +00063020: 2372 6574 6169 6e20 7265 6665 7265 6e63 #retain referenc │ │ │ +00063030: 6520 746f 206c 6162 656c 0a20 2020 2020 e to label. │ │ │ +00063040: 2020 2020 2020 2073 656c 662e 6d79 5f6c self.my_l │ │ │ +00063050: 6162 656c 203d 2061 7267 735b 2d31 5d0a abel = args[-1]. │ │ │ +00063060: 2020 2020 2020 2020 6966 2073 656c 662e if self. │ │ │ +00063070: 7061 7265 6e74 2829 2021 3d20 4e6f 6e65 parent() != None │ │ │ +00063080: 3a20 2020 0a20 2020 2020 2020 2023 6465 : . #de │ │ │ +00063090: 6c65 6761 7465 206f 776e 6572 7368 6970 legate ownership │ │ │ +000630a0: 2074 6f20 432b 2b0a 2020 2020 2020 2020 to C++. │ │ │ +000630b0: 2020 2020 7365 6c66 2e74 6869 732e 6469 self.this.di │ │ │ +000630c0: 736f 776e 2829 0a20 2020 2020 2020 2073 sown(). s │ │ │ +000630d0: 656c 662e 696e 6974 5f74 7970 6528 2246 elf.init_type("F │ │ │ +000630e0: 6c5f 5363 726f 6c6c 2229 0a20 2020 2020 l_Scroll"). │ │ │ +000630f0: 2020 2023 7072 696e 7428 2241 6464 696e #print("Addin │ │ │ +00063100: 6720 7479 7065 3a20 222c 2046 6c5f 5363 g type: ", Fl_Sc │ │ │ +00063110: 726f 6c6c 290a 0a0a 0a20 2020 205f 5f73 roll).... __s │ │ │ +00063120: 7769 675f 6465 7374 726f 795f 5f20 3d20 wig_destroy__ = │ │ │ +00063130: 5f66 6c74 6b2e 6465 6c65 7465 5f46 6c5f _fltk.delete_Fl_ │ │ │ +00063140: 5363 726f 6c6c 0a20 2020 2048 4f52 495a Scroll. HORIZ │ │ │ +00063150: 4f4e 5441 4c20 3d20 5f66 6c74 6b2e 466c ONTAL = _fltk.Fl │ │ │ +00063160: 5f53 6372 6f6c 6c5f 484f 5249 5a4f 4e54 _Scroll_HORIZONT │ │ │ +00063170: 414c 0a20 2020 200a 2020 2020 5645 5254 AL. . VERT │ │ │ +00063180: 4943 414c 203d 205f 666c 746b 2e46 6c5f ICAL = _fltk.Fl_ │ │ │ +00063190: 5363 726f 6c6c 5f56 4552 5449 4341 4c0a Scroll_VERTICAL. │ │ │ +000631a0: 2020 2020 0a20 2020 2042 4f54 4820 3d20 . BOTH = │ │ │ +000631b0: 5f66 6c74 6b2e 466c 5f53 6372 6f6c 6c5f _fltk.Fl_Scroll_ │ │ │ +000631c0: 424f 5448 0a20 2020 200a 2020 2020 414c BOTH. . AL │ │ │ +000631d0: 5741 5953 5f4f 4e20 3d20 5f66 6c74 6b2e WAYS_ON = _fltk. │ │ │ +000631e0: 466c 5f53 6372 6f6c 6c5f 414c 5741 5953 Fl_Scroll_ALWAYS │ │ │ +000631f0: 5f4f 4e0a 2020 2020 0a20 2020 2048 4f52 _ON. . HOR │ │ │ +00063200: 495a 4f4e 5441 4c5f 414c 5741 5953 203d IZONTAL_ALWAYS = │ │ │ +00063210: 205f 666c 746b 2e46 6c5f 5363 726f 6c6c _fltk.Fl_Scroll │ │ │ +00063220: 5f48 4f52 495a 4f4e 5441 4c5f 414c 5741 _HORIZONTAL_ALWA │ │ │ +00063230: 5953 0a20 2020 200a 2020 2020 5645 5254 YS. . VERT │ │ │ +00063240: 4943 414c 5f41 4c57 4159 5320 3d20 5f66 ICAL_ALWAYS = _f │ │ │ +00063250: 6c74 6b2e 466c 5f53 6372 6f6c 6c5f 5645 ltk.Fl_Scroll_VE │ │ │ +00063260: 5254 4943 414c 5f41 4c57 4159 530a 2020 RTICAL_ALWAYS. │ │ │ +00063270: 2020 0a20 2020 2042 4f54 485f 414c 5741 . BOTH_ALWA │ │ │ +00063280: 5953 203d 205f 666c 746b 2e46 6c5f 5363 YS = _fltk.Fl_Sc │ │ │ +00063290: 726f 6c6c 5f42 4f54 485f 414c 5741 5953 roll_BOTH_ALWAYS │ │ │ +000632a0: 0a20 2020 200a 0a20 2020 2064 6566 2078 . .. def x │ │ │ +000632b0: 706f 7369 7469 6f6e 2873 656c 662c 202a position(self, * │ │ │ +000632c0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +000632d0: 2222 2278 706f 7369 7469 6f6e 2846 6c5f """xposition(Fl_ │ │ │ +000632e0: 5363 726f 6c6c 2073 656c 6629 202d 3e20 Scroll self) -> │ │ │ +000632f0: 696e 7422 2222 0a20 2020 2020 2020 2072 int""". r │ │ │ +00063300: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f53 eturn _fltk.Fl_S │ │ │ +00063310: 6372 6f6c 6c5f 7870 6f73 6974 696f 6e28 croll_xposition( │ │ │ +00063320: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +00063330: 2020 6465 6620 7970 6f73 6974 696f 6e28 def yposition( │ │ │ +00063340: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +00063350: 2020 2020 2020 7222 2222 7970 6f73 6974 r"""yposit │ │ │ +00063360: 696f 6e28 466c 5f53 6372 6f6c 6c20 7365 ion(Fl_Scroll se │ │ │ +00063370: 6c66 2920 2d3e 2069 6e74 2222 220a 2020 lf) -> int""". │ │ │ +00063380: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +00063390: 746b 2e46 6c5f 5363 726f 6c6c 5f79 706f tk.Fl_Scroll_ypo │ │ │ +000633a0: 7369 7469 6f6e 2873 656c 662c 202a 6172 sition(self, *ar │ │ │ +000633b0: 6773 290a 0a20 2020 2064 6566 2073 6372 gs).. def scr │ │ │ +000633c0: 6f6c 6c5f 746f 2873 656c 662c 202a 6172 oll_to(self, *ar │ │ │ +000633d0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +000633e0: 2273 6372 6f6c 6c5f 746f 2846 6c5f 5363 "scroll_to(Fl_Sc │ │ │ +000633f0: 726f 6c6c 2073 656c 662c 2069 6e74 2061 roll self, int a │ │ │ +00063400: 7267 322c 2069 6e74 2061 7267 3329 2222 rg2, int arg3)"" │ │ │ +00063410: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +00063420: 205f 666c 746b 2e46 6c5f 5363 726f 6c6c _fltk.Fl_Scroll │ │ │ +00063430: 5f73 6372 6f6c 6c5f 746f 2873 656c 662c _scroll_to(self, │ │ │ +00063440: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +00063450: 2063 6c65 6172 2873 656c 662c 202a 6172 clear(self, *ar │ │ │ +00063460: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00063470: 2263 6c65 6172 2846 6c5f 5363 726f 6c6c "clear(Fl_Scroll │ │ │ +00063480: 2073 656c 6629 2222 220a 2020 2020 2020 self)""". │ │ │ +00063490: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +000634a0: 6c5f 5363 726f 6c6c 5f63 6c65 6172 2873 l_Scroll_clear(s │ │ │ +000634b0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +000634c0: 2064 6566 2064 656c 6574 655f 6368 696c def delete_chil │ │ │ +000634d0: 6428 7365 6c66 2c20 2a61 7267 7329 3a0a d(self, *args):. │ │ │ +000634e0: 2020 2020 2020 2020 7222 2222 6465 6c65 r"""dele │ │ │ +000634f0: 7465 5f63 6869 6c64 2846 6c5f 5363 726f te_child(Fl_Scro │ │ │ +00063500: 6c6c 2073 656c 662c 2069 6e74 206e 2920 ll self, int n) │ │ │ +00063510: 2d3e 2069 6e74 2222 220a 2020 2020 2020 -> int""". │ │ │ +00063520: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +00063530: 6c5f 5363 726f 6c6c 5f64 656c 6574 655f l_Scroll_delete_ │ │ │ +00063540: 6368 696c 6428 7365 6c66 2c20 2a61 7267 child(self, *arg │ │ │ +00063550: 7329 0a0a 2020 2020 6465 6620 7363 726f s).. def scro │ │ │ +00063560: 6c6c 6261 725f 7369 7a65 2873 656c 662c llbar_size(self, │ │ │ +00063570: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00063580: 2072 2222 220a 2020 2020 2020 2020 7363 r""". sc │ │ │ +00063590: 726f 6c6c 6261 725f 7369 7a65 2846 6c5f rollbar_size(Fl_ │ │ │ +000635a0: 5363 726f 6c6c 2073 656c 6629 202d 3e20 Scroll self) -> │ │ │ +000635b0: 696e 740a 2020 2020 2020 2020 7363 726f int. scro │ │ │ +000635c0: 6c6c 6261 725f 7369 7a65 2846 6c5f 5363 llbar_size(Fl_Sc │ │ │ +000635d0: 726f 6c6c 2073 656c 662c 2069 6e74 206e roll self, int n │ │ │ +000635e0: 6577 5369 7a65 290a 2020 2020 2020 2020 ewSize). │ │ │ +000635f0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +00063600: 726e 205f 666c 746b 2e46 6c5f 5363 726f rn _fltk.Fl_Scro │ │ │ +00063610: 6c6c 5f73 6372 6f6c 6c62 6172 5f73 697a ll_scrollbar_siz │ │ │ +00063620: 6528 7365 6c66 2c20 2a61 7267 7329 0a0a e(self, *args).. │ │ │ +00063630: 2020 2020 6465 6620 696e 6974 5f74 7970 def init_typ │ │ │ +00063640: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ +00063650: 2020 2020 2020 2020 7222 2222 696e 6974 r"""init │ │ │ +00063660: 5f74 7970 6528 466c 5f53 6372 6f6c 6c20 _type(Fl_Scroll │ │ │ +00063670: 7365 6c66 2c20 6368 6172 202a 2046 6c5f self, char * Fl_ │ │ │ +00063680: 5363 726f 6c6c 2922 2222 0a20 2020 2020 Scroll)""". │ │ │ +00063690: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +000636a0: 466c 5f53 6372 6f6c 6c5f 696e 6974 5f74 Fl_Scroll_init_t │ │ │ +000636b0: 7970 6528 7365 6c66 2c20 2a61 7267 7329 ype(self, *args) │ │ │ +000636c0: 0a0a 2020 2020 6465 6620 6765 7453 6372 .. def getScr │ │ │ +000636d0: 6f6c 6c62 6172 2873 656c 662c 202a 6172 ollbar(self, *ar │ │ │ +000636e0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +000636f0: 2267 6574 5363 726f 6c6c 6261 7228 466c "getScrollbar(Fl │ │ │ +00063700: 5f53 6372 6f6c 6c20 7365 6c66 2920 2d3e _Scroll self) -> │ │ │ +00063710: 2046 6c5f 5363 726f 6c6c 6261 7222 2222 Fl_Scrollbar""" │ │ │ +00063720: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +00063730: 5f66 6c74 6b2e 466c 5f53 6372 6f6c 6c5f _fltk.Fl_Scroll_ │ │ │ +00063740: 6765 7453 6372 6f6c 6c62 6172 2873 656c getScrollbar(sel │ │ │ +00063750: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +00063760: 6566 2067 6574 4853 6372 6f6c 6c62 6172 ef getHScrollbar │ │ │ +00063770: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00063780: 2020 2020 2020 2072 2222 2267 6574 4853 r"""getHS │ │ │ +00063790: 6372 6f6c 6c62 6172 2846 6c5f 5363 726f crollbar(Fl_Scro │ │ │ +000637a0: 6c6c 2073 656c 6629 202d 3e20 466c 5f53 ll self) -> Fl_S │ │ │ +000637b0: 6372 6f6c 6c62 6172 2222 220a 2020 2020 crollbar""". │ │ │ +000637c0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +000637d0: 2e46 6c5f 5363 726f 6c6c 5f67 6574 4853 .Fl_Scroll_getHS │ │ │ +000637e0: 6372 6f6c 6c62 6172 2873 656c 662c 202a crollbar(self, * │ │ │ +000637f0: 6172 6773 290a 2020 2020 6465 6620 5f5f args). def __ │ │ │ +00063800: 6469 736f 776e 5f5f 2873 656c 6629 3a0a disown__(self):. │ │ │ +00063810: 2020 2020 2020 2020 7365 6c66 2e74 6869 self.thi │ │ │ +00063820: 732e 6469 736f 776e 2829 0a20 2020 2020 s.disown(). │ │ │ +00063830: 2020 205f 666c 746b 2e64 6973 6f77 6e5f _fltk.disown_ │ │ │ +00063840: 466c 5f53 6372 6f6c 6c28 7365 6c66 290a Fl_Scroll(self). │ │ │ +00063850: 2020 2020 2020 2020 7265 7475 726e 2077 return w │ │ │ +00063860: 6561 6b72 6566 2e70 726f 7879 2873 656c eakref.proxy(sel │ │ │ +00063870: 6629 0a0a 2320 5265 6769 7374 6572 2046 f)..# Register F │ │ │ +00063880: 6c5f 5363 726f 6c6c 2069 6e20 5f66 6c74 l_Scroll in _flt │ │ │ +00063890: 6b3a 0a5f 666c 746b 2e46 6c5f 5363 726f k:._fltk.Fl_Scro │ │ │ +000638a0: 6c6c 5f73 7769 6772 6567 6973 7465 7228 ll_swigregister( │ │ │ +000638b0: 466c 5f53 6372 6f6c 6c29 0a63 6c61 7373 Fl_Scroll).class │ │ │ +000638c0: 2046 6c5f 5363 6865 6d65 5f43 686f 6963 Fl_Scheme_Choic │ │ │ +000638d0: 6528 466c 5f43 686f 6963 6529 3a0a 2020 e(Fl_Choice):. │ │ │ +000638e0: 2020 7222 2222 0a0a 0a0a 2020 2020 2222 r""".... "" │ │ │ +000638f0: 220a 0a20 2020 2074 6869 736f 776e 203d ".. thisown = │ │ │ +00063900: 2070 726f 7065 7274 7928 6c61 6d62 6461 property(lambda │ │ │ +00063910: 2078 3a20 782e 7468 6973 2e6f 776e 2829 x: x.this.own() │ │ │ +00063920: 2c20 6c61 6d62 6461 2078 2c20 763a 2078 , lambda x, v: x │ │ │ +00063930: 2e74 6869 732e 6f77 6e28 7629 2c20 646f .this.own(v), do │ │ │ +00063940: 633d 2254 6865 206d 656d 6265 7273 6869 c="The membershi │ │ │ +00063950: 7020 666c 6167 2229 0a20 2020 205f 5f72 p flag"). __r │ │ │ +00063960: 6570 725f 5f20 3d20 5f73 7769 675f 7265 epr__ = _swig_re │ │ │ +00063970: 7072 0a0a 2020 2020 6465 6620 5f5f 696e pr.. def __in │ │ │ +00063980: 6974 5f5f 2873 656c 662c 202a 6172 6773 it__(self, *args │ │ │ +00063990: 293a 0a20 2020 2020 2020 2072 2222 225f ):. r"""_ │ │ │ +000639a0: 5f69 6e69 745f 5f28 466c 5f53 6368 656d _init__(Fl_Schem │ │ │ +000639b0: 655f 4368 6f69 6365 2073 656c 662c 2069 e_Choice self, i │ │ │ +000639c0: 6e74 2058 2c20 696e 7420 592c 2069 6e74 nt X, int Y, int │ │ │ +000639d0: 2057 2c20 696e 7420 482c 2063 6861 7220 W, int H, char │ │ │ +000639e0: 636f 6e73 7420 2a20 4c3d 4e6f 6e65 2920 const * L=None) │ │ │ +000639f0: 2d3e 2046 6c5f 5363 6865 6d65 5f43 686f -> Fl_Scheme_Cho │ │ │ +00063a00: 6963 6522 2222 0a20 2020 2020 2020 2069 ice""". i │ │ │ +00063a10: 6620 7365 6c66 2e5f 5f63 6c61 7373 5f5f f self.__class__ │ │ │ +00063a20: 203d 3d20 466c 5f53 6368 656d 655f 4368 == Fl_Scheme_Ch │ │ │ +00063a30: 6f69 6365 3a0a 2020 2020 2020 2020 2020 oice:. │ │ │ +00063a40: 2020 5f73 656c 6620 3d20 4e6f 6e65 0a20 _self = None. │ │ │ +00063a50: 2020 2020 2020 2065 6c73 653a 0a20 2020 else:. │ │ │ +00063a60: 2020 2020 2020 2020 205f 7365 6c66 203d _self = │ │ │ +00063a70: 2073 656c 660a 2020 2020 2020 2020 5f66 self. _f │ │ │ +00063a80: 6c74 6b2e 466c 5f53 6368 656d 655f 4368 ltk.Fl_Scheme_Ch │ │ │ +00063a90: 6f69 6365 5f73 7769 6769 6e69 7428 7365 oice_swiginit(se │ │ │ +00063aa0: 6c66 2c20 5f66 6c74 6b2e 6e65 775f 466c lf, _fltk.new_Fl │ │ │ +00063ab0: 5f53 6368 656d 655f 4368 6f69 6365 285f _Scheme_Choice(_ │ │ │ +00063ac0: 7365 6c66 2c20 2a61 7267 7329 290a 0a20 self, *args)).. │ │ │ +00063ad0: 2020 2020 2020 2069 6620 6c65 6e28 6172 if len(ar │ │ │ +00063ae0: 6773 2920 3d3d 2035 3a20 2020 2020 2020 gs) == 5: │ │ │ +00063af0: 2020 200a 2020 2020 2020 2020 2372 6574 . #ret │ │ │ +00063b00: 6169 6e20 7265 6665 7265 6e63 6520 746f ain reference to │ │ │ +00063b10: 206c 6162 656c 0a20 2020 2020 2020 2020 label. │ │ │ +00063b20: 2020 2073 656c 662e 6d79 5f6c 6162 656c self.my_label │ │ │ +00063b30: 203d 2061 7267 735b 2d31 5d0a 2020 2020 = args[-1]. │ │ │ +00063b40: 2020 2020 6966 2073 656c 662e 7061 7265 if self.pare │ │ │ +00063b50: 6e74 2829 2021 3d20 4e6f 6e65 3a20 2020 nt() != None: │ │ │ +00063b60: 0a20 2020 2020 2020 2023 6465 6c65 6761 . #delega │ │ │ +00063b70: 7465 206f 776e 6572 7368 6970 2074 6f20 te ownership to │ │ │ +00063b80: 432b 2b0a 2020 2020 2020 2020 2020 2020 C++. │ │ │ +00063b90: 7365 6c66 2e74 6869 732e 6469 736f 776e self.this.disown │ │ │ +00063ba0: 2829 0a20 2020 2020 2020 2073 656c 662e (). self. │ │ │ +00063bb0: 696e 6974 5f74 7970 6528 2246 6c5f 5363 init_type("Fl_Sc │ │ │ +00063bc0: 6865 6d65 5f43 686f 6963 6522 290a 2020 heme_Choice"). │ │ │ +00063bd0: 2020 2020 2020 2370 7269 6e74 2822 4164 #print("Ad │ │ │ +00063be0: 6469 6e67 2074 7970 653a 2022 2c20 466c ding type: ", Fl │ │ │ +00063bf0: 5f53 6368 656d 655f 4368 6f69 6365 290a _Scheme_Choice). │ │ │ +00063c00: 0a0a 0a0a 2020 2020 6465 6620 6861 6e64 .... def hand │ │ │ +00063c10: 6c65 2873 656c 662c 202a 6172 6773 293a le(self, *args): │ │ │ +00063c20: 0a20 2020 2020 2020 2072 2222 2268 616e . r"""han │ │ │ +00063c30: 646c 6528 466c 5f53 6368 656d 655f 4368 dle(Fl_Scheme_Ch │ │ │ +00063c40: 6f69 6365 2073 656c 662c 2069 6e74 2065 oice self, int e │ │ │ +00063c50: 7665 6e74 2920 2d3e 2069 6e74 2222 220a vent) -> int""". │ │ │ +00063c60: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +00063c70: 666c 746b 2e46 6c5f 5363 6865 6d65 5f43 fltk.Fl_Scheme_C │ │ │ +00063c80: 686f 6963 655f 6861 6e64 6c65 2873 656c hoice_handle(sel │ │ │ +00063c90: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +00063ca0: 6566 2069 6e69 745f 7661 6c75 6528 7365 ef init_value(se │ │ │ +00063cb0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +00063cc0: 2020 2020 7222 2222 696e 6974 5f76 616c r"""init_val │ │ │ +00063cd0: 7565 2846 6c5f 5363 6865 6d65 5f43 686f ue(Fl_Scheme_Cho │ │ │ +00063ce0: 6963 6520 7365 6c66 2922 2222 0a20 2020 ice self)""". │ │ │ +00063cf0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00063d00: 6b2e 466c 5f53 6368 656d 655f 4368 6f69 k.Fl_Scheme_Choi │ │ │ +00063d10: 6365 5f69 6e69 745f 7661 6c75 6528 7365 ce_init_value(se │ │ │ +00063d20: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +00063d30: 6465 6620 696e 6974 5f74 7970 6528 7365 def init_type(se │ │ │ +00063d40: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +00063d50: 2020 2020 7222 2222 696e 6974 5f74 7970 r"""init_typ │ │ │ +00063d60: 6528 466c 5f53 6368 656d 655f 4368 6f69 e(Fl_Scheme_Choi │ │ │ +00063d70: 6365 2073 656c 662c 2063 6861 7220 2a20 ce self, char * │ │ │ +00063d80: 466c 5f53 6368 656d 655f 4368 6f69 6365 Fl_Scheme_Choice │ │ │ +00063d90: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ +00063da0: 7572 6e20 5f66 6c74 6b2e 466c 5f53 6368 urn _fltk.Fl_Sch │ │ │ +00063db0: 656d 655f 4368 6f69 6365 5f69 6e69 745f eme_Choice_init_ │ │ │ +00063dc0: 7479 7065 2873 656c 662c 202a 6172 6773 type(self, *args │ │ │ +00063dd0: 290a 2020 2020 5f5f 7377 6967 5f64 6573 ). __swig_des │ │ │ +00063de0: 7472 6f79 5f5f 203d 205f 666c 746b 2e64 troy__ = _fltk.d │ │ │ +00063df0: 656c 6574 655f 466c 5f53 6368 656d 655f elete_Fl_Scheme_ │ │ │ +00063e00: 4368 6f69 6365 0a20 2020 2064 6566 205f Choice. def _ │ │ │ +00063e10: 5f64 6973 6f77 6e5f 5f28 7365 6c66 293a _disown__(self): │ │ │ +00063e20: 0a20 2020 2020 2020 2073 656c 662e 7468 . self.th │ │ │ +00063e30: 6973 2e64 6973 6f77 6e28 290a 2020 2020 is.disown(). │ │ │ +00063e40: 2020 2020 5f66 6c74 6b2e 6469 736f 776e _fltk.disown │ │ │ +00063e50: 5f46 6c5f 5363 6865 6d65 5f43 686f 6963 _Fl_Scheme_Choic │ │ │ +00063e60: 6528 7365 6c66 290a 2020 2020 2020 2020 e(self). │ │ │ +00063e70: 7265 7475 726e 2077 6561 6b72 6566 2e70 return weakref.p │ │ │ +00063e80: 726f 7879 2873 656c 6629 0a0a 2020 2020 roxy(self).. │ │ │ +00063e90: 6465 6620 6472 6177 2873 656c 662c 202a def draw(self, * │ │ │ +00063ea0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +00063eb0: 2222 2264 7261 7728 466c 5f53 6368 656d """draw(Fl_Schem │ │ │ +00063ec0: 655f 4368 6f69 6365 2073 656c 6629 2222 e_Choice self)"" │ │ │ +00063ed0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +00063ee0: 205f 666c 746b 2e46 6c5f 5363 6865 6d65 _fltk.Fl_Scheme │ │ │ +00063ef0: 5f43 686f 6963 655f 6472 6177 2873 656c _Choice_draw(sel │ │ │ +00063f00: 662c 202a 6172 6773 290a 0a23 2052 6567 f, *args)..# Reg │ │ │ +00063f10: 6973 7465 7220 466c 5f53 6368 656d 655f ister Fl_Scheme_ │ │ │ +00063f20: 4368 6f69 6365 2069 6e20 5f66 6c74 6b3a Choice in _fltk: │ │ │ +00063f30: 0a5f 666c 746b 2e46 6c5f 5363 6865 6d65 ._fltk.Fl_Scheme │ │ │ +00063f40: 5f43 686f 6963 655f 7377 6967 7265 6769 _Choice_swigregi │ │ │ +00063f50: 7374 6572 2846 6c5f 5363 6865 6d65 5f43 ster(Fl_Scheme_C │ │ │ +00063f60: 686f 6963 6529 0a63 6c61 7373 2046 6c5f hoice).class Fl_ │ │ │ +00063f70: 5363 726f 6c6c 6261 7228 466c 5f53 6c69 Scrollbar(Fl_Sli │ │ │ +00063f80: 6465 7229 3a0a 2020 2020 7222 2222 0a0a der):. r""".. │ │ │ +00063f90: 2020 2020 5468 6520 466c 5f53 6372 6f6c The Fl_Scrol │ │ │ +00063fa0: 6c62 6172 2077 6964 6765 7420 6469 7370 lbar widget disp │ │ │ +00063fb0: 6c61 7973 2061 2073 6c69 6465 7220 7769 lays a slider wi │ │ │ +00063fc0: 7468 2061 7272 6f77 2062 7574 746f 6e73 th arrow buttons │ │ │ +00063fd0: 2061 7420 7468 6520 656e 6473 200a 2020 at the ends . │ │ │ +00063fe0: 2020 6f66 2074 6865 2073 6372 6f6c 6c62 of the scrollb │ │ │ +00063ff0: 6172 2e20 436c 6963 6b69 6e67 206f 6e20 ar. Clicking on │ │ │ +00064000: 7468 6520 6172 726f 7773 206d 6f76 6520 the arrows move │ │ │ +00064010: 7570 2f6c 6566 7420 616e 6420 646f 776e up/left and down │ │ │ +00064020: 2f72 6967 6874 2062 7920 0a20 2020 206c /right by . l │ │ │ +00064030: 696e 6573 697a 6528 292e 2053 6372 6f6c inesize(). Scrol │ │ │ +00064040: 6c62 6172 7320 616c 736f 2061 6363 6570 lbars also accep │ │ │ +00064050: 7420 464c 5f53 484f 5254 4355 5420 6576 t FL_SHORTCUT ev │ │ │ +00064060: 656e 7473 3a20 7468 6520 6172 726f 7773 ents: the arrows │ │ │ +00064070: 206d 6f76 6520 6279 200a 2020 2020 6c69 move by . li │ │ │ +00064080: 6e65 7369 7a65 2829 2c20 616e 6420 7665 nesize(), and ve │ │ │ +00064090: 7274 6963 616c 2073 6372 6f6c 6c62 6172 rtical scrollbar │ │ │ +000640a0: 7320 7461 6b65 2050 6167 6520 5570 2f44 s take Page Up/D │ │ │ +000640b0: 6f77 6e20 2874 6865 7920 6d6f 7665 2062 own (they move b │ │ │ +000640c0: 7920 7468 6520 0a20 2020 2070 6167 6520 y the . page │ │ │ +000640d0: 7369 7a65 206d 696e 7573 206c 696e 6573 size minus lines │ │ │ +000640e0: 697a 6528 2929 2061 6e64 2048 6f6d 652f ize()) and Home/ │ │ │ +000640f0: 456e 6420 2874 6865 7920 6a75 6d70 2074 End (they jump t │ │ │ +00064100: 6f20 7468 6520 746f 7020 6f72 2062 6f74 o the top or bot │ │ │ +00064110: 746f 6d29 2e0a 0a20 2020 2053 6372 6f6c tom)... Scrol │ │ │ +00064120: 6c62 6172 7320 6861 7665 2073 7465 7028 lbars have step( │ │ │ +00064130: 3129 2070 7265 7365 7420 2874 6865 7920 1) preset (they │ │ │ +00064140: 616c 7761 7973 2072 6574 7572 6e20 696e always return in │ │ │ +00064150: 7465 6765 7273 292e 2049 6620 6465 7369 tegers). If desi │ │ │ +00064160: 7265 6420 0a20 2020 2079 6f75 2063 616e red . you can │ │ │ +00064170: 2073 6574 2074 6865 2073 7465 7028 2920 set the step() │ │ │ +00064180: 746f 206e 6f6e 2d69 6e74 6567 6572 2076 to non-integer v │ │ │ +00064190: 616c 7565 732e 2059 6f75 2077 696c 6c20 alues. You will │ │ │ +000641a0: 7468 656e 2068 6176 6520 746f 2075 7365 then have to use │ │ │ +000641b0: 200a 2020 2020 6361 7374 7320 746f 2067 . casts to g │ │ │ +000641c0: 6574 2061 7420 7468 6520 666c 6f61 7469 et at the floati │ │ │ +000641d0: 6e67 2d70 6f69 6e74 2076 6572 7369 6f6e ng-point version │ │ │ +000641e0: 7320 6f66 2076 616c 7565 2829 2066 726f s of value() fro │ │ │ +000641f0: 6d20 466c 5f53 6c69 6465 722e 200a 0a20 m Fl_Slider. .. │ │ │ +00064200: 2020 2022 2222 0a0a 2020 2020 7468 6973 """.. this │ │ │ +00064210: 6f77 6e20 3d20 7072 6f70 6572 7479 286c own = property(l │ │ │ +00064220: 616d 6264 6120 783a 2078 2e74 6869 732e ambda x: x.this. │ │ │ +00064230: 6f77 6e28 292c 206c 616d 6264 6120 782c own(), lambda x, │ │ │ +00064240: 2076 3a20 782e 7468 6973 2e6f 776e 2876 v: x.this.own(v │ │ │ +00064250: 292c 2064 6f63 3d22 5468 6520 6d65 6d62 ), doc="The memb │ │ │ +00064260: 6572 7368 6970 2066 6c61 6722 290a 2020 ership flag"). │ │ │ +00064270: 2020 5f5f 7265 7072 5f5f 203d 205f 7377 __repr__ = _sw │ │ │ +00064280: 6967 5f72 6570 720a 0a20 2020 2064 6566 ig_repr.. def │ │ │ +00064290: 2064 7261 7728 7365 6c66 2c20 2a61 7267 draw(self, *arg │ │ │ +000642a0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +000642b0: 6472 6177 2846 6c5f 5363 726f 6c6c 6261 draw(Fl_Scrollba │ │ │ +000642c0: 7220 7365 6c66 2922 2222 0a20 2020 2020 r self)""". │ │ │ +000642d0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +000642e0: 466c 5f53 6372 6f6c 6c62 6172 5f64 7261 Fl_Scrollbar_dra │ │ │ +000642f0: 7728 7365 6c66 2c20 2a61 7267 7329 0a0a w(self, *args).. │ │ │ +00064300: 2020 2020 6465 6620 5f5f 696e 6974 5f5f def __init__ │ │ │ +00064310: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00064320: 2020 2020 2020 2072 2222 225f 5f69 6e69 r"""__ini │ │ │ +00064330: 745f 5f28 466c 5f53 6372 6f6c 6c62 6172 t__(Fl_Scrollbar │ │ │ +00064340: 2073 656c 662c 2069 6e74 2058 2c20 696e self, int X, in │ │ │ +00064350: 7420 592c 2069 6e74 2057 2c20 696e 7420 t Y, int W, int │ │ │ +00064360: 482c 2063 6861 7220 636f 6e73 7420 2a20 H, char const * │ │ │ +00064370: 4c3d 4e6f 6e65 2920 2d3e 2046 6c5f 5363 L=None) -> Fl_Sc │ │ │ +00064380: 726f 6c6c 6261 7222 2222 0a20 2020 2020 rollbar""". │ │ │ +00064390: 2020 2069 6620 7365 6c66 2e5f 5f63 6c61 if self.__cla │ │ │ +000643a0: 7373 5f5f 203d 3d20 466c 5f53 6372 6f6c ss__ == Fl_Scrol │ │ │ +000643b0: 6c62 6172 3a0a 2020 2020 2020 2020 2020 lbar:. │ │ │ +000643c0: 2020 5f73 656c 6620 3d20 4e6f 6e65 0a20 _self = None. │ │ │ +000643d0: 2020 2020 2020 2065 6c73 653a 0a20 2020 else:. │ │ │ +000643e0: 2020 2020 2020 2020 205f 7365 6c66 203d _self = │ │ │ +000643f0: 2073 656c 660a 2020 2020 2020 2020 5f66 self. _f │ │ │ +00064400: 6c74 6b2e 466c 5f53 6372 6f6c 6c62 6172 ltk.Fl_Scrollbar │ │ │ +00064410: 5f73 7769 6769 6e69 7428 7365 6c66 2c20 _swiginit(self, │ │ │ +00064420: 5f66 6c74 6b2e 6e65 775f 466c 5f53 6372 _fltk.new_Fl_Scr │ │ │ +00064430: 6f6c 6c62 6172 285f 7365 6c66 2c20 2a61 ollbar(_self, *a │ │ │ +00064440: 7267 7329 290a 0a20 2020 2020 2020 2069 rgs)).. i │ │ │ +00064450: 6620 6c65 6e28 6172 6773 2920 3d3d 2035 f len(args) == 5 │ │ │ +00064460: 3a20 2020 2020 2020 2020 200a 2020 2020 : . │ │ │ +00064470: 2020 2020 2372 6574 6169 6e20 7265 6665 #retain refe │ │ │ +00064480: 7265 6e63 6520 746f 206c 6162 656c 0a20 rence to label. │ │ │ +00064490: 2020 2020 2020 2020 2020 2073 656c 662e self. │ │ │ +000644a0: 6d79 5f6c 6162 656c 203d 2061 7267 735b my_label = args[ │ │ │ +000644b0: 2d31 5d0a 2020 2020 2020 2020 6966 2073 -1]. if s │ │ │ +000644c0: 656c 662e 7061 7265 6e74 2829 2021 3d20 elf.parent() != │ │ │ +000644d0: 4e6f 6e65 3a20 2020 0a20 2020 2020 2020 None: . │ │ │ +000644e0: 2023 6465 6c65 6761 7465 206f 776e 6572 #delegate owner │ │ │ +000644f0: 7368 6970 2074 6f20 432b 2b0a 2020 2020 ship to C++. │ │ │ +00064500: 2020 2020 2020 2020 7365 6c66 2e74 6869 self.thi │ │ │ +00064510: 732e 6469 736f 776e 2829 0a20 2020 2020 s.disown(). │ │ │ +00064520: 2020 2073 656c 662e 696e 6974 5f74 7970 self.init_typ │ │ │ +00064530: 6528 2246 6c5f 5363 726f 6c6c 6261 7222 e("Fl_Scrollbar" │ │ │ +00064540: 290a 2020 2020 2020 2020 2370 7269 6e74 ). #print │ │ │ +00064550: 2822 4164 6469 6e67 2074 7970 653a 2022 ("Adding type: " │ │ │ +00064560: 2c20 466c 5f53 6372 6f6c 6c62 6172 290a , Fl_Scrollbar). │ │ │ +00064570: 0a0a 0a20 2020 205f 5f73 7769 675f 6465 ... __swig_de │ │ │ +00064580: 7374 726f 795f 5f20 3d20 5f66 6c74 6b2e stroy__ = _fltk. │ │ │ +00064590: 6465 6c65 7465 5f46 6c5f 5363 726f 6c6c delete_Fl_Scroll │ │ │ +000645a0: 6261 720a 0a20 2020 2064 6566 2068 616e bar.. def han │ │ │ +000645b0: 646c 6528 7365 6c66 2c20 2a61 7267 7329 dle(self, *args) │ │ │ +000645c0: 3a0a 2020 2020 2020 2020 7222 2222 6861 :. r"""ha │ │ │ +000645d0: 6e64 6c65 2846 6c5f 5363 726f 6c6c 6261 ndle(Fl_Scrollba │ │ │ +000645e0: 7220 7365 6c66 2c20 696e 7420 6172 6730 r self, int arg0 │ │ │ +000645f0: 2920 2d3e 2069 6e74 2222 220a 2020 2020 ) -> int""". │ │ │ +00064600: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +00064610: 2e46 6c5f 5363 726f 6c6c 6261 725f 6861 .Fl_Scrollbar_ha │ │ │ +00064620: 6e64 6c65 2873 656c 662c 202a 6172 6773 ndle(self, *args │ │ │ +00064630: 290a 0a20 2020 2064 6566 2076 616c 7565 ).. def value │ │ │ +00064640: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00064650: 2020 2020 2020 2072 2222 220a 2020 2020 r""". │ │ │ +00064660: 2020 2020 7661 6c75 6528 466c 5f53 6372 value(Fl_Scr │ │ │ +00064670: 6f6c 6c62 6172 2073 656c 6629 202d 3e20 ollbar self) -> │ │ │ +00064680: 696e 740a 2020 2020 2020 2020 7661 6c75 int. valu │ │ │ +00064690: 6528 466c 5f53 6372 6f6c 6c62 6172 2073 e(Fl_Scrollbar s │ │ │ +000646a0: 656c 662c 2069 6e74 2070 2920 2d3e 2069 elf, int p) -> i │ │ │ +000646b0: 6e74 0a20 2020 2020 2020 2076 616c 7565 nt. value │ │ │ +000646c0: 2846 6c5f 5363 726f 6c6c 6261 7220 7365 (Fl_Scrollbar se │ │ │ +000646d0: 6c66 2c20 696e 7420 706f 732c 2069 6e74 lf, int pos, int │ │ │ +000646e0: 2077 696e 646f 7753 697a 652c 2069 6e74 windowSize, int │ │ │ +000646f0: 2066 6972 7374 5f6c 696e 652c 2069 6e74 first_line, int │ │ │ +00064700: 2074 6f74 616c 5f6c 696e 6573 2920 2d3e total_lines) -> │ │ │ +00064710: 2069 6e74 0a20 2020 2020 2020 2022 2222 int. """ │ │ │ +00064720: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +00064730: 5f66 6c74 6b2e 466c 5f53 6372 6f6c 6c62 _fltk.Fl_Scrollb │ │ │ +00064740: 6172 5f76 616c 7565 2873 656c 662c 202a ar_value(self, * │ │ │ +00064750: 6172 6773 290a 0a20 2020 2064 6566 206c args).. def l │ │ │ +00064760: 696e 6573 697a 6528 7365 6c66 2c20 2a61 inesize(self, *a │ │ │ +00064770: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00064780: 2222 0a20 2020 2020 2020 206c 696e 6573 "". lines │ │ │ +00064790: 697a 6528 466c 5f53 6372 6f6c 6c62 6172 ize(Fl_Scrollbar │ │ │ +000647a0: 2073 656c 6629 202d 3e20 696e 740a 2020 self) -> int. │ │ │ +000647b0: 2020 2020 2020 6c69 6e65 7369 7a65 2846 linesize(F │ │ │ +000647c0: 6c5f 5363 726f 6c6c 6261 7220 7365 6c66 l_Scrollbar self │ │ │ +000647d0: 2c20 696e 7420 6929 0a20 2020 2020 2020 , int i). │ │ │ +000647e0: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ +000647f0: 7572 6e20 5f66 6c74 6b2e 466c 5f53 6372 urn _fltk.Fl_Scr │ │ │ +00064800: 6f6c 6c62 6172 5f6c 696e 6573 697a 6528 ollbar_linesize( │ │ │ +00064810: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +00064820: 2020 6465 6620 696e 6974 5f74 7970 6528 def init_type( │ │ │ +00064830: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +00064840: 2020 2020 2020 7222 2222 696e 6974 5f74 r"""init_t │ │ │ +00064850: 7970 6528 466c 5f53 6372 6f6c 6c62 6172 ype(Fl_Scrollbar │ │ │ +00064860: 2073 656c 662c 2063 6861 7220 2a20 466c self, char * Fl │ │ │ +00064870: 5f53 6372 6f6c 6c62 6172 2922 2222 0a20 _Scrollbar)""". │ │ │ +00064880: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00064890: 6c74 6b2e 466c 5f53 6372 6f6c 6c62 6172 ltk.Fl_Scrollbar │ │ │ +000648a0: 5f69 6e69 745f 7479 7065 2873 656c 662c _init_type(self, │ │ │ +000648b0: 202a 6172 6773 290a 2020 2020 6465 6620 *args). def │ │ │ +000648c0: 5f5f 6469 736f 776e 5f5f 2873 656c 6629 __disown__(self) │ │ │ +000648d0: 3a0a 2020 2020 2020 2020 7365 6c66 2e74 :. self.t │ │ │ +000648e0: 6869 732e 6469 736f 776e 2829 0a20 2020 his.disown(). │ │ │ +000648f0: 2020 2020 205f 666c 746b 2e64 6973 6f77 _fltk.disow │ │ │ +00064900: 6e5f 466c 5f53 6372 6f6c 6c62 6172 2873 n_Fl_Scrollbar(s │ │ │ +00064910: 656c 6629 0a20 2020 2020 2020 2072 6574 elf). ret │ │ │ +00064920: 7572 6e20 7765 616b 7265 662e 7072 6f78 urn weakref.prox │ │ │ +00064930: 7928 7365 6c66 290a 0a23 2052 6567 6973 y(self)..# Regis │ │ │ +00064940: 7465 7220 466c 5f53 6372 6f6c 6c62 6172 ter Fl_Scrollbar │ │ │ +00064950: 2069 6e20 5f66 6c74 6b3a 0a5f 666c 746b in _fltk:._fltk │ │ │ +00064960: 2e46 6c5f 5363 726f 6c6c 6261 725f 7377 .Fl_Scrollbar_sw │ │ │ +00064970: 6967 7265 6769 7374 6572 2846 6c5f 5363 igregister(Fl_Sc │ │ │ +00064980: 726f 6c6c 6261 7229 0a63 6c61 7373 2046 rollbar).class F │ │ │ +00064990: 6c5f 5365 6372 6574 5f49 6e70 7574 2846 l_Secret_Input(F │ │ │ +000649a0: 6c5f 496e 7075 7429 3a0a 2020 2020 7222 l_Input):. r" │ │ │ +000649b0: 2222 0a0a 2020 2020 5468 6520 466c 5f53 "".. The Fl_S │ │ │ +000649c0: 6563 7265 745f 496e 7075 7420 636c 6173 ecret_Input clas │ │ │ +000649d0: 7320 6973 2061 2073 7562 636c 6173 7320 s is a subclass │ │ │ +000649e0: 6f66 2046 6c5f 496e 7075 7420 2074 6861 of Fl_Input tha │ │ │ +000649f0: 7420 6469 7370 6c61 7973 2069 7473 2069 t displays its i │ │ │ +00064a00: 6e70 7574 200a 2020 2020 6173 2061 2073 nput . as a s │ │ │ +00064a10: 7472 696e 6720 6f66 2061 7374 6572 6973 tring of asteris │ │ │ +00064a20: 6b73 2e20 5468 6973 2073 7562 636c 6173 ks. This subclas │ │ │ +00064a30: 7320 6973 2075 7375 616c 6c79 2075 7365 s is usually use │ │ │ +00064a40: 6420 746f 2072 6563 6569 7665 2070 6173 d to receive pas │ │ │ +00064a50: 7377 6f72 6473 200a 2020 2020 616e 6420 swords . and │ │ │ +00064a60: 6f74 6865 7220 2773 6563 7265 7427 2069 other 'secret' i │ │ │ +00064a70: 6e66 6f72 6d61 7469 6f6e 2e0a 0a20 2020 nformation... │ │ │ +00064a80: 2022 2222 0a0a 2020 2020 7468 6973 6f77 """.. thisow │ │ │ +00064a90: 6e20 3d20 7072 6f70 6572 7479 286c 616d n = property(lam │ │ │ +00064aa0: 6264 6120 783a 2078 2e74 6869 732e 6f77 bda x: x.this.ow │ │ │ +00064ab0: 6e28 292c 206c 616d 6264 6120 782c 2076 n(), lambda x, v │ │ │ +00064ac0: 3a20 782e 7468 6973 2e6f 776e 2876 292c : x.this.own(v), │ │ │ +00064ad0: 2064 6f63 3d22 5468 6520 6d65 6d62 6572 doc="The member │ │ │ +00064ae0: 7368 6970 2066 6c61 6722 290a 2020 2020 ship flag"). │ │ │ +00064af0: 5f5f 7265 7072 5f5f 203d 205f 7377 6967 __repr__ = _swig │ │ │ +00064b00: 5f72 6570 720a 0a20 2020 2064 6566 205f _repr.. def _ │ │ │ +00064b10: 5f69 6e69 745f 5f28 7365 6c66 2c20 2a61 _init__(self, *a │ │ │ +00064b20: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00064b30: 2222 5f5f 696e 6974 5f5f 2846 6c5f 5365 ""__init__(Fl_Se │ │ │ +00064b40: 6372 6574 5f49 6e70 7574 2073 656c 662c cret_Input self, │ │ │ +00064b50: 2069 6e74 2058 2c20 696e 7420 592c 2069 int X, int Y, i │ │ │ +00064b60: 6e74 2057 2c20 696e 7420 482c 2063 6861 nt W, int H, cha │ │ │ +00064b70: 7220 636f 6e73 7420 2a20 6c3d 4e6f 6e65 r const * l=None │ │ │ +00064b80: 2920 2d3e 2046 6c5f 5365 6372 6574 5f49 ) -> Fl_Secret_I │ │ │ +00064b90: 6e70 7574 2222 220a 2020 2020 2020 2020 nput""". │ │ │ +00064ba0: 6966 2073 656c 662e 5f5f 636c 6173 735f if self.__class_ │ │ │ +00064bb0: 5f20 3d3d 2046 6c5f 5365 6372 6574 5f49 _ == Fl_Secret_I │ │ │ +00064bc0: 6e70 7574 3a0a 2020 2020 2020 2020 2020 nput:. │ │ │ +00064bd0: 2020 5f73 656c 6620 3d20 4e6f 6e65 0a20 _self = None. │ │ │ +00064be0: 2020 2020 2020 2065 6c73 653a 0a20 2020 else:. │ │ │ +00064bf0: 2020 2020 2020 2020 205f 7365 6c66 203d _self = │ │ │ +00064c00: 2073 656c 660a 2020 2020 2020 2020 5f66 self. _f │ │ │ +00064c10: 6c74 6b2e 466c 5f53 6563 7265 745f 496e ltk.Fl_Secret_In │ │ │ +00064c20: 7075 745f 7377 6967 696e 6974 2873 656c put_swiginit(sel │ │ │ +00064c30: 662c 205f 666c 746b 2e6e 6577 5f46 6c5f f, _fltk.new_Fl_ │ │ │ +00064c40: 5365 6372 6574 5f49 6e70 7574 285f 7365 Secret_Input(_se │ │ │ +00064c50: 6c66 2c20 2a61 7267 7329 290a 0a20 2020 lf, *args)).. │ │ │ +00064c60: 2020 2020 2069 6620 6c65 6e28 6172 6773 if len(args │ │ │ +00064c70: 2920 3d3d 2035 3a20 2020 2020 2020 2020 ) == 5: │ │ │ +00064c80: 200a 2020 2020 2020 2020 2372 6574 6169 . #retai │ │ │ +00064c90: 6e20 7265 6665 7265 6e63 6520 746f 206c n reference to l │ │ │ +00064ca0: 6162 656c 0a20 2020 2020 2020 2020 2020 abel. │ │ │ +00064cb0: 2073 656c 662e 6d79 5f6c 6162 656c 203d self.my_label = │ │ │ +00064cc0: 2061 7267 735b 2d31 5d0a 2020 2020 2020 args[-1]. │ │ │ +00064cd0: 2020 6966 2073 656c 662e 7061 7265 6e74 if self.parent │ │ │ +00064ce0: 2829 2021 3d20 4e6f 6e65 3a20 2020 0a20 () != None: . │ │ │ +00064cf0: 2020 2020 2020 2023 6465 6c65 6761 7465 #delegate │ │ │ +00064d00: 206f 776e 6572 7368 6970 2074 6f20 432b ownership to C+ │ │ │ +00064d10: 2b0a 2020 2020 2020 2020 2020 2020 7365 +. se │ │ │ +00064d20: 6c66 2e74 6869 732e 6469 736f 776e 2829 lf.this.disown() │ │ │ +00064d30: 0a20 2020 2020 2020 2073 656c 662e 696e . self.in │ │ │ +00064d40: 6974 5f74 7970 6528 2246 6c5f 5365 6372 it_type("Fl_Secr │ │ │ +00064d50: 6574 5f49 6e70 7574 2229 0a20 2020 2020 et_Input"). │ │ │ +00064d60: 2020 2023 7072 696e 7428 2241 6464 696e #print("Addin │ │ │ +00064d70: 6720 7479 7065 3a20 222c 2046 6c5f 5365 g type: ", Fl_Se │ │ │ +00064d80: 6372 6574 5f49 6e70 7574 290a 0a0a 0a0a cret_Input)..... │ │ │ +00064d90: 2020 2020 6465 6620 6861 6e64 6c65 2873 def handle(s │ │ │ +00064da0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00064db0: 2020 2020 2072 2222 2268 616e 646c 6528 r"""handle( │ │ │ +00064dc0: 466c 5f53 6563 7265 745f 496e 7075 7420 Fl_Secret_Input │ │ │ +00064dd0: 7365 6c66 2c20 696e 7420 6172 6730 2920 self, int arg0) │ │ │ +00064de0: 2d3e 2069 6e74 2222 220a 2020 2020 2020 -> int""". │ │ │ +00064df0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +00064e00: 6c5f 5365 6372 6574 5f49 6e70 7574 5f68 l_Secret_Input_h │ │ │ +00064e10: 616e 646c 6528 7365 6c66 2c20 2a61 7267 andle(self, *arg │ │ │ +00064e20: 7329 0a0a 2020 2020 6465 6620 696e 6974 s).. def init │ │ │ +00064e30: 5f74 7970 6528 7365 6c66 2c20 2a61 7267 _type(self, *arg │ │ │ +00064e40: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +00064e50: 696e 6974 5f74 7970 6528 466c 5f53 6563 init_type(Fl_Sec │ │ │ +00064e60: 7265 745f 496e 7075 7420 7365 6c66 2c20 ret_Input self, │ │ │ +00064e70: 6368 6172 202a 2046 6c5f 5365 6372 6574 char * Fl_Secret │ │ │ +00064e80: 5f49 6e70 7574 2922 2222 0a20 2020 2020 _Input)""". │ │ │ +00064e90: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00064ea0: 466c 5f53 6563 7265 745f 496e 7075 745f Fl_Secret_Input_ │ │ │ +00064eb0: 696e 6974 5f74 7970 6528 7365 6c66 2c20 init_type(self, │ │ │ +00064ec0: 2a61 7267 7329 0a20 2020 205f 5f73 7769 *args). __swi │ │ │ +00064ed0: 675f 6465 7374 726f 795f 5f20 3d20 5f66 g_destroy__ = _f │ │ │ +00064ee0: 6c74 6b2e 6465 6c65 7465 5f46 6c5f 5365 ltk.delete_Fl_Se │ │ │ +00064ef0: 6372 6574 5f49 6e70 7574 0a20 2020 2064 cret_Input. d │ │ │ +00064f00: 6566 205f 5f64 6973 6f77 6e5f 5f28 7365 ef __disown__(se │ │ │ +00064f10: 6c66 293a 0a20 2020 2020 2020 2073 656c lf):. sel │ │ │ +00064f20: 662e 7468 6973 2e64 6973 6f77 6e28 290a f.this.disown(). │ │ │ +00064f30: 2020 2020 2020 2020 5f66 6c74 6b2e 6469 _fltk.di │ │ │ +00064f40: 736f 776e 5f46 6c5f 5365 6372 6574 5f49 sown_Fl_Secret_I │ │ │ +00064f50: 6e70 7574 2873 656c 6629 0a20 2020 2020 nput(self). │ │ │ +00064f60: 2020 2072 6574 7572 6e20 7765 616b 7265 return weakre │ │ │ +00064f70: 662e 7072 6f78 7928 7365 6c66 290a 0a20 f.proxy(self).. │ │ │ +00064f80: 2020 2064 6566 2064 7261 7728 7365 6c66 def draw(self │ │ │ +00064f90: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00064fa0: 2020 7222 2222 6472 6177 2846 6c5f 5365 r"""draw(Fl_Se │ │ │ +00064fb0: 6372 6574 5f49 6e70 7574 2073 656c 6629 cret_Input self) │ │ │ +00064fc0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +00064fd0: 726e 205f 666c 746b 2e46 6c5f 5365 6372 rn _fltk.Fl_Secr │ │ │ +00064fe0: 6574 5f49 6e70 7574 5f64 7261 7728 7365 et_Input_draw(se │ │ │ +00064ff0: 6c66 2c20 2a61 7267 7329 0a0a 2320 5265 lf, *args)..# Re │ │ │ +00065000: 6769 7374 6572 2046 6c5f 5365 6372 6574 gister Fl_Secret │ │ │ +00065010: 5f49 6e70 7574 2069 6e20 5f66 6c74 6b3a _Input in _fltk: │ │ │ +00065020: 0a5f 666c 746b 2e46 6c5f 5365 6372 6574 ._fltk.Fl_Secret │ │ │ +00065030: 5f49 6e70 7574 5f73 7769 6772 6567 6973 _Input_swigregis │ │ │ +00065040: 7465 7228 466c 5f53 6563 7265 745f 496e ter(Fl_Secret_In │ │ │ +00065050: 7075 7429 0a63 6c61 7373 2046 6c5f 5365 put).class Fl_Se │ │ │ +00065060: 6c65 6374 5f42 726f 7773 6572 2846 6c5f lect_Browser(Fl_ │ │ │ +00065070: 4272 6f77 7365 7229 3a0a 2020 2020 7222 Browser):. r" │ │ │ +00065080: 2222 0a0a 2020 2020 5468 6520 466c 5f53 "".. The Fl_S │ │ │ +00065090: 656c 6563 745f 4272 6f77 7365 7220 636c elect_Browser cl │ │ │ +000650a0: 6173 7320 6973 2061 2073 7562 636c 6173 ass is a subclas │ │ │ +000650b0: 7320 6f66 2046 6c5f 4272 6f77 7365 7220 s of Fl_Browser │ │ │ +000650c0: 2077 6869 6368 206c 6574 7320 7468 6520 which lets the │ │ │ +000650d0: 0a20 2020 2075 7365 7220 7365 6c65 6374 . user select │ │ │ +000650e0: 2061 2073 696e 676c 6520 6974 656d 2c20 a single item, │ │ │ +000650f0: 6f72 206e 6f20 6974 656d 7320 6279 2063 or no items by c │ │ │ +00065100: 6c69 636b 696e 6720 6f6e 2074 6865 2065 licking on the e │ │ │ +00065110: 6d70 7479 2073 7061 6365 2e20 4173 200a mpty space. As . │ │ │ +00065120: 2020 2020 6c6f 6e67 2061 7320 7468 6520 long as the │ │ │ +00065130: 6d6f 7573 6520 6275 7474 6f6e 2069 7320 mouse button is │ │ │ +00065140: 6865 6c64 2064 6f77 6e20 7468 6520 6974 held down the it │ │ │ +00065150: 656d 2070 6f69 6e74 6564 2074 6f20 6279 em pointed to by │ │ │ +00065160: 2069 7420 6973 200a 2020 2020 6869 6768 it is . high │ │ │ +00065170: 6c69 6768 7465 642e 204e 6f72 6d61 6c6c lighted. Normall │ │ │ +00065180: 7920 7468 6520 6361 6c6c 6261 636b 2069 y the callback i │ │ │ +00065190: 7320 646f 6e65 2077 6865 6e20 7468 6520 s done when the │ │ │ +000651a0: 7573 6572 2070 7265 7373 6573 2074 6865 user presses the │ │ │ +000651b0: 206d 6f75 7365 2c20 0a20 2020 2062 7574 mouse, . but │ │ │ +000651c0: 2079 6f75 2063 616e 2063 6861 6e67 6520 you can change │ │ │ +000651d0: 7468 6973 2077 6974 6820 7768 656e 2829 this with when() │ │ │ +000651e0: 2e0a 0a20 2020 2053 6565 2046 6c5f 4272 ... See Fl_Br │ │ │ +000651f0: 6f77 7365 7220 666f 7220 6d65 7468 6f64 owser for method │ │ │ +00065200: 7320 746f 2061 6464 2061 6e64 2072 656d s to add and rem │ │ │ +00065210: 6f76 6520 6c69 6e65 7320 6672 6f6d 2074 ove lines from t │ │ │ +00065220: 6865 2062 726f 7773 6572 2e20 0a0a 2020 he browser. .. │ │ │ +00065230: 2020 2222 220a 0a20 2020 2074 6869 736f """.. thiso │ │ │ +00065240: 776e 203d 2070 726f 7065 7274 7928 6c61 wn = property(la │ │ │ +00065250: 6d62 6461 2078 3a20 782e 7468 6973 2e6f mbda x: x.this.o │ │ │ +00065260: 776e 2829 2c20 6c61 6d62 6461 2078 2c20 wn(), lambda x, │ │ │ +00065270: 763a 2078 2e74 6869 732e 6f77 6e28 7629 v: x.this.own(v) │ │ │ +00065280: 2c20 646f 633d 2254 6865 206d 656d 6265 , doc="The membe │ │ │ +00065290: 7273 6869 7020 666c 6167 2229 0a20 2020 rship flag"). │ │ │ +000652a0: 205f 5f72 6570 725f 5f20 3d20 5f73 7769 __repr__ = _swi │ │ │ +000652b0: 675f 7265 7072 0a0a 2020 2020 6465 6620 g_repr.. def │ │ │ +000652c0: 5f5f 696e 6974 5f5f 2873 656c 662c 202a __init__(self, * │ │ │ +000652d0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +000652e0: 2222 225f 5f69 6e69 745f 5f28 466c 5f53 """__init__(Fl_S │ │ │ +000652f0: 656c 6563 745f 4272 6f77 7365 7220 7365 elect_Browser se │ │ │ +00065300: 6c66 2c20 696e 7420 582c 2069 6e74 2059 lf, int X, int Y │ │ │ +00065310: 2c20 696e 7420 572c 2069 6e74 2048 2c20 , int W, int H, │ │ │ +00065320: 6368 6172 2063 6f6e 7374 202a 204c 3d4e char const * L=N │ │ │ +00065330: 6f6e 6529 202d 3e20 466c 5f53 656c 6563 one) -> Fl_Selec │ │ │ +00065340: 745f 4272 6f77 7365 7222 2222 0a20 2020 t_Browser""". │ │ │ +00065350: 2020 2020 2069 6620 7365 6c66 2e5f 5f63 if self.__c │ │ │ +00065360: 6c61 7373 5f5f 203d 3d20 466c 5f53 656c lass__ == Fl_Sel │ │ │ +00065370: 6563 745f 4272 6f77 7365 723a 0a20 2020 ect_Browser:. │ │ │ +00065380: 2020 2020 2020 2020 205f 7365 6c66 203d _self = │ │ │ +00065390: 204e 6f6e 650a 2020 2020 2020 2020 656c None. el │ │ │ +000653a0: 7365 3a0a 2020 2020 2020 2020 2020 2020 se:. │ │ │ +000653b0: 5f73 656c 6620 3d20 7365 6c66 0a20 2020 _self = self. │ │ │ +000653c0: 2020 2020 205f 666c 746b 2e46 6c5f 5365 _fltk.Fl_Se │ │ │ +000653d0: 6c65 6374 5f42 726f 7773 6572 5f73 7769 lect_Browser_swi │ │ │ +000653e0: 6769 6e69 7428 7365 6c66 2c20 5f66 6c74 ginit(self, _flt │ │ │ +000653f0: 6b2e 6e65 775f 466c 5f53 656c 6563 745f k.new_Fl_Select_ │ │ │ +00065400: 4272 6f77 7365 7228 5f73 656c 662c 202a Browser(_self, * │ │ │ +00065410: 6172 6773 2929 0a0a 2020 2020 2020 2020 args)).. │ │ │ +00065420: 6966 206c 656e 2861 7267 7329 203d 3d20 if len(args) == │ │ │ +00065430: 353a 2020 2020 2020 2020 2020 0a20 2020 5: . │ │ │ +00065440: 2020 2020 2023 7265 7461 696e 2072 6566 #retain ref │ │ │ +00065450: 6572 656e 6365 2074 6f20 6c61 6265 6c0a erence to label. │ │ │ +00065460: 2020 2020 2020 2020 2020 2020 7365 6c66 self │ │ │ +00065470: 2e6d 795f 6c61 6265 6c20 3d20 6172 6773 .my_label = args │ │ │ +00065480: 5b2d 315d 0a20 2020 2020 2020 2069 6620 [-1]. if │ │ │ +00065490: 7365 6c66 2e70 6172 656e 7428 2920 213d self.parent() != │ │ │ +000654a0: 204e 6f6e 653a 2020 200a 2020 2020 2020 None: . │ │ │ +000654b0: 2020 2364 656c 6567 6174 6520 6f77 6e65 #delegate owne │ │ │ +000654c0: 7273 6869 7020 746f 2043 2b2b 0a20 2020 rship to C++. │ │ │ +000654d0: 2020 2020 2020 2020 2073 656c 662e 7468 self.th │ │ │ +000654e0: 6973 2e64 6973 6f77 6e28 290a 2020 2020 is.disown(). │ │ │ +000654f0: 2020 2020 7365 6c66 2e69 6e69 745f 7479 self.init_ty │ │ │ +00065500: 7065 2822 466c 5f53 656c 6563 745f 4272 pe("Fl_Select_Br │ │ │ +00065510: 6f77 7365 7222 290a 2020 2020 2020 2020 owser"). │ │ │ +00065520: 2370 7269 6e74 2822 4164 6469 6e67 2074 #print("Adding t │ │ │ +00065530: 7970 653a 2022 2c20 466c 5f53 656c 6563 ype: ", Fl_Selec │ │ │ +00065540: 745f 4272 6f77 7365 7229 0a0a 0a0a 0a20 t_Browser)..... │ │ │ +00065550: 2020 2064 6566 2069 6e69 745f 7479 7065 def init_type │ │ │ +00065560: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00065570: 2020 2020 2020 2072 2222 2269 6e69 745f r"""init_ │ │ │ +00065580: 7479 7065 2846 6c5f 5365 6c65 6374 5f42 type(Fl_Select_B │ │ │ +00065590: 726f 7773 6572 2073 656c 662c 2063 6861 rowser self, cha │ │ │ +000655a0: 7220 2a20 466c 5f53 656c 6563 745f 4272 r * Fl_Select_Br │ │ │ +000655b0: 6f77 7365 7229 2222 220a 2020 2020 2020 owser)""". │ │ │ +000655c0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +000655d0: 6c5f 5365 6c65 6374 5f42 726f 7773 6572 l_Select_Browser │ │ │ +000655e0: 5f69 6e69 745f 7479 7065 2873 656c 662c _init_type(self, │ │ │ +000655f0: 202a 6172 6773 290a 2020 2020 5f5f 7377 *args). __sw │ │ │ +00065600: 6967 5f64 6573 7472 6f79 5f5f 203d 205f ig_destroy__ = _ │ │ │ +00065610: 666c 746b 2e64 656c 6574 655f 466c 5f53 fltk.delete_Fl_S │ │ │ +00065620: 656c 6563 745f 4272 6f77 7365 720a 2020 elect_Browser. │ │ │ +00065630: 2020 6465 6620 5f5f 6469 736f 776e 5f5f def __disown__ │ │ │ +00065640: 2873 656c 6629 3a0a 2020 2020 2020 2020 (self):. │ │ │ +00065650: 7365 6c66 2e74 6869 732e 6469 736f 776e self.this.disown │ │ │ +00065660: 2829 0a20 2020 2020 2020 205f 666c 746b (). _fltk │ │ │ +00065670: 2e64 6973 6f77 6e5f 466c 5f53 656c 6563 .disown_Fl_Selec │ │ │ +00065680: 745f 4272 6f77 7365 7228 7365 6c66 290a t_Browser(self). │ │ │ +00065690: 2020 2020 2020 2020 7265 7475 726e 2077 return w │ │ │ +000656a0: 6561 6b72 6566 2e70 726f 7879 2873 656c eakref.proxy(sel │ │ │ +000656b0: 6629 0a0a 2020 2020 6465 6620 6472 6177 f).. def draw │ │ │ +000656c0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +000656d0: 2020 2020 2020 2072 2222 2264 7261 7728 r"""draw( │ │ │ +000656e0: 466c 5f53 656c 6563 745f 4272 6f77 7365 Fl_Select_Browse │ │ │ +000656f0: 7220 7365 6c66 2922 2222 0a20 2020 2020 r self)""". │ │ │ +00065700: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00065710: 466c 5f53 656c 6563 745f 4272 6f77 7365 Fl_Select_Browse │ │ │ +00065720: 725f 6472 6177 2873 656c 662c 202a 6172 r_draw(self, *ar │ │ │ +00065730: 6773 290a 0a20 2020 2064 6566 2069 7465 gs).. def ite │ │ │ +00065740: 6d5f 6669 7273 7428 7365 6c66 2c20 2a61 m_first(self, *a │ │ │ +00065750: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00065760: 2222 6974 656d 5f66 6972 7374 2846 6c5f ""item_first(Fl_ │ │ │ +00065770: 5365 6c65 6374 5f42 726f 7773 6572 2073 Select_Browser s │ │ │ +00065780: 656c 6629 202d 3e20 766f 6964 202a 2222 elf) -> void *"" │ │ │ +00065790: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +000657a0: 205f 666c 746b 2e46 6c5f 5365 6c65 6374 _fltk.Fl_Select │ │ │ +000657b0: 5f42 726f 7773 6572 5f69 7465 6d5f 6669 _Browser_item_fi │ │ │ +000657c0: 7273 7428 7365 6c66 2c20 2a61 7267 7329 rst(self, *args) │ │ │ +000657d0: 0a0a 2020 2020 6465 6620 6974 656d 5f6e .. def item_n │ │ │ +000657e0: 6578 7428 7365 6c66 2c20 2a61 7267 7329 ext(self, *args) │ │ │ +000657f0: 3a0a 2020 2020 2020 2020 7222 2222 6974 :. r"""it │ │ │ +00065800: 656d 5f6e 6578 7428 466c 5f53 656c 6563 em_next(Fl_Selec │ │ │ +00065810: 745f 4272 6f77 7365 7220 7365 6c66 2c20 t_Browser self, │ │ │ +00065820: 766f 6964 202a 2069 7465 6d29 202d 3e20 void * item) -> │ │ │ +00065830: 766f 6964 202a 2222 220a 2020 2020 2020 void *""". │ │ │ +00065840: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +00065850: 6c5f 5365 6c65 6374 5f42 726f 7773 6572 l_Select_Browser │ │ │ +00065860: 5f69 7465 6d5f 6e65 7874 2873 656c 662c _item_next(self, │ │ │ +00065870: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +00065880: 2069 7465 6d5f 7072 6576 2873 656c 662c item_prev(self, │ │ │ +00065890: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +000658a0: 2072 2222 2269 7465 6d5f 7072 6576 2846 r"""item_prev(F │ │ │ +000658b0: 6c5f 5365 6c65 6374 5f42 726f 7773 6572 l_Select_Browser │ │ │ +000658c0: 2073 656c 662c 2076 6f69 6420 2a20 6974 self, void * it │ │ │ +000658d0: 656d 2920 2d3e 2076 6f69 6420 2a22 2222 em) -> void *""" │ │ │ +000658e0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +000658f0: 5f66 6c74 6b2e 466c 5f53 656c 6563 745f _fltk.Fl_Select_ │ │ │ +00065900: 4272 6f77 7365 725f 6974 656d 5f70 7265 Browser_item_pre │ │ │ +00065910: 7628 7365 6c66 2c20 2a61 7267 7329 0a0a v(self, *args).. │ │ │ +00065920: 2020 2020 6465 6620 6974 656d 5f6c 6173 def item_las │ │ │ +00065930: 7428 7365 6c66 2c20 2a61 7267 7329 3a0a t(self, *args):. │ │ │ +00065940: 2020 2020 2020 2020 7222 2222 6974 656d r"""item │ │ │ +00065950: 5f6c 6173 7428 466c 5f53 656c 6563 745f _last(Fl_Select_ │ │ │ +00065960: 4272 6f77 7365 7220 7365 6c66 2920 2d3e Browser self) -> │ │ │ +00065970: 2076 6f69 6420 2a22 2222 0a20 2020 2020 void *""". │ │ │ +00065980: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00065990: 466c 5f53 656c 6563 745f 4272 6f77 7365 Fl_Select_Browse │ │ │ +000659a0: 725f 6974 656d 5f6c 6173 7428 7365 6c66 r_item_last(self │ │ │ +000659b0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +000659c0: 6620 6974 656d 5f68 6569 6768 7428 7365 f item_height(se │ │ │ +000659d0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +000659e0: 2020 2020 7222 2222 6974 656d 5f68 6569 r"""item_hei │ │ │ +000659f0: 6768 7428 466c 5f53 656c 6563 745f 4272 ght(Fl_Select_Br │ │ │ +00065a00: 6f77 7365 7220 7365 6c66 2c20 766f 6964 owser self, void │ │ │ +00065a10: 202a 2069 7465 6d29 202d 3e20 696e 7422 * item) -> int" │ │ │ +00065a20: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +00065a30: 6e20 5f66 6c74 6b2e 466c 5f53 656c 6563 n _fltk.Fl_Selec │ │ │ +00065a40: 745f 4272 6f77 7365 725f 6974 656d 5f68 t_Browser_item_h │ │ │ +00065a50: 6569 6768 7428 7365 6c66 2c20 2a61 7267 eight(self, *arg │ │ │ +00065a60: 7329 0a0a 2020 2020 6465 6620 6974 656d s).. def item │ │ │ +00065a70: 5f77 6964 7468 2873 656c 662c 202a 6172 _width(self, *ar │ │ │ +00065a80: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00065a90: 2269 7465 6d5f 7769 6474 6828 466c 5f53 "item_width(Fl_S │ │ │ +00065aa0: 656c 6563 745f 4272 6f77 7365 7220 7365 elect_Browser se │ │ │ +00065ab0: 6c66 2c20 766f 6964 202a 2069 7465 6d29 lf, void * item) │ │ │ +00065ac0: 202d 3e20 696e 7422 2222 0a20 2020 2020 -> int""". │ │ │ +00065ad0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00065ae0: 466c 5f53 656c 6563 745f 4272 6f77 7365 Fl_Select_Browse │ │ │ +00065af0: 725f 6974 656d 5f77 6964 7468 2873 656c r_item_width(sel │ │ │ +00065b00: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +00065b10: 6566 2069 7465 6d5f 7175 6963 6b5f 6865 ef item_quick_he │ │ │ +00065b20: 6967 6874 2873 656c 662c 202a 6172 6773 ight(self, *args │ │ │ +00065b30: 293a 0a20 2020 2020 2020 2072 2222 2269 ):. r"""i │ │ │ +00065b40: 7465 6d5f 7175 6963 6b5f 6865 6967 6874 tem_quick_height │ │ │ +00065b50: 2846 6c5f 5365 6c65 6374 5f42 726f 7773 (Fl_Select_Brows │ │ │ +00065b60: 6572 2073 656c 662c 2076 6f69 6420 2a20 er self, void * │ │ │ +00065b70: 6974 656d 2920 2d3e 2069 6e74 2222 220a item) -> int""". │ │ │ +00065b80: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +00065b90: 666c 746b 2e46 6c5f 5365 6c65 6374 5f42 fltk.Fl_Select_B │ │ │ +00065ba0: 726f 7773 6572 5f69 7465 6d5f 7175 6963 rowser_item_quic │ │ │ +00065bb0: 6b5f 6865 6967 6874 2873 656c 662c 202a k_height(self, * │ │ │ +00065bc0: 6172 6773 290a 0a20 2020 2064 6566 2069 args).. def i │ │ │ +00065bd0: 7465 6d5f 6472 6177 2873 656c 662c 202a tem_draw(self, * │ │ │ +00065be0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +00065bf0: 2222 2269 7465 6d5f 6472 6177 2846 6c5f """item_draw(Fl_ │ │ │ +00065c00: 5365 6c65 6374 5f42 726f 7773 6572 2073 Select_Browser s │ │ │ +00065c10: 656c 662c 2076 6f69 6420 2a20 6974 656d elf, void * item │ │ │ +00065c20: 2c20 696e 7420 582c 2069 6e74 2059 2c20 , int X, int Y, │ │ │ +00065c30: 696e 7420 572c 2069 6e74 2048 2922 2222 int W, int H)""" │ │ │ +00065c40: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +00065c50: 5f66 6c74 6b2e 466c 5f53 656c 6563 745f _fltk.Fl_Select_ │ │ │ +00065c60: 4272 6f77 7365 725f 6974 656d 5f64 7261 Browser_item_dra │ │ │ +00065c70: 7728 7365 6c66 2c20 2a61 7267 7329 0a0a w(self, *args).. │ │ │ +00065c80: 2020 2020 6465 6620 6974 656d 5f74 6578 def item_tex │ │ │ +00065c90: 7428 7365 6c66 2c20 2a61 7267 7329 3a0a t(self, *args):. │ │ │ +00065ca0: 2020 2020 2020 2020 7222 2222 6974 656d r"""item │ │ │ +00065cb0: 5f74 6578 7428 466c 5f53 656c 6563 745f _text(Fl_Select_ │ │ │ +00065cc0: 4272 6f77 7365 7220 7365 6c66 2c20 766f Browser self, vo │ │ │ +00065cd0: 6964 202a 2069 7465 6d29 202d 3e20 6368 id * item) -> ch │ │ │ +00065ce0: 6172 2063 6f6e 7374 202a 2222 220a 2020 ar const *""". │ │ │ +00065cf0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +00065d00: 746b 2e46 6c5f 5365 6c65 6374 5f42 726f tk.Fl_Select_Bro │ │ │ +00065d10: 7773 6572 5f69 7465 6d5f 7465 7874 2873 wser_item_text(s │ │ │ +00065d20: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +00065d30: 2064 6566 2069 7465 6d5f 7377 6170 2873 def item_swap(s │ │ │ +00065d40: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00065d50: 2020 2020 2072 2222 2269 7465 6d5f 7377 r"""item_sw │ │ │ +00065d60: 6170 2846 6c5f 5365 6c65 6374 5f42 726f ap(Fl_Select_Bro │ │ │ +00065d70: 7773 6572 2073 656c 662c 2076 6f69 6420 wser self, void │ │ │ +00065d80: 2a20 612c 2076 6f69 6420 2a20 6229 2222 * a, void * b)"" │ │ │ +00065d90: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +00065da0: 205f 666c 746b 2e46 6c5f 5365 6c65 6374 _fltk.Fl_Select │ │ │ +00065db0: 5f42 726f 7773 6572 5f69 7465 6d5f 7377 _Browser_item_sw │ │ │ +00065dc0: 6170 2873 656c 662c 202a 6172 6773 290a ap(self, *args). │ │ │ +00065dd0: 0a20 2020 2064 6566 2069 7465 6d5f 6174 . def item_at │ │ │ +00065de0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00065df0: 2020 2020 2020 2072 2222 2269 7465 6d5f r"""item_ │ │ │ +00065e00: 6174 2846 6c5f 5365 6c65 6374 5f42 726f at(Fl_Select_Bro │ │ │ +00065e10: 7773 6572 2073 656c 662c 2069 6e74 206c wser self, int l │ │ │ +00065e20: 696e 6529 202d 3e20 766f 6964 202a 2222 ine) -> void *"" │ │ │ +00065e30: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +00065e40: 205f 666c 746b 2e46 6c5f 5365 6c65 6374 _fltk.Fl_Select │ │ │ +00065e50: 5f42 726f 7773 6572 5f69 7465 6d5f 6174 _Browser_item_at │ │ │ +00065e60: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +00065e70: 2020 2064 6566 2066 756c 6c5f 7769 6474 def full_widt │ │ │ +00065e80: 6828 7365 6c66 2c20 2a61 7267 7329 3a0a h(self, *args):. │ │ │ +00065e90: 2020 2020 2020 2020 7222 2222 6675 6c6c r"""full │ │ │ +00065ea0: 5f77 6964 7468 2846 6c5f 5365 6c65 6374 _width(Fl_Select │ │ │ +00065eb0: 5f42 726f 7773 6572 2073 656c 6629 202d _Browser self) - │ │ │ +00065ec0: 3e20 696e 7422 2222 0a20 2020 2020 2020 > int""". │ │ │ +00065ed0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +00065ee0: 5f53 656c 6563 745f 4272 6f77 7365 725f _Select_Browser_ │ │ │ +00065ef0: 6675 6c6c 5f77 6964 7468 2873 656c 662c full_width(self, │ │ │ +00065f00: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +00065f10: 2066 756c 6c5f 6865 6967 6874 2873 656c full_height(sel │ │ │ +00065f20: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +00065f30: 2020 2072 2222 2266 756c 6c5f 6865 6967 r"""full_heig │ │ │ +00065f40: 6874 2846 6c5f 5365 6c65 6374 5f42 726f ht(Fl_Select_Bro │ │ │ +00065f50: 7773 6572 2073 656c 6629 202d 3e20 696e wser self) -> in │ │ │ +00065f60: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ +00065f70: 7572 6e20 5f66 6c74 6b2e 466c 5f53 656c urn _fltk.Fl_Sel │ │ │ +00065f80: 6563 745f 4272 6f77 7365 725f 6675 6c6c ect_Browser_full │ │ │ +00065f90: 5f68 6569 6768 7428 7365 6c66 2c20 2a61 _height(self, *a │ │ │ +00065fa0: 7267 7329 0a0a 2020 2020 6465 6620 696e rgs).. def in │ │ │ +00065fb0: 6372 5f68 6569 6768 7428 7365 6c66 2c20 cr_height(self, │ │ │ +00065fc0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00065fd0: 7222 2222 696e 6372 5f68 6569 6768 7428 r"""incr_height( │ │ │ +00065fe0: 466c 5f53 656c 6563 745f 4272 6f77 7365 Fl_Select_Browse │ │ │ +00065ff0: 7220 7365 6c66 2920 2d3e 2069 6e74 2222 r self) -> int"" │ │ │ +00066000: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +00066010: 205f 666c 746b 2e46 6c5f 5365 6c65 6374 _fltk.Fl_Select │ │ │ +00066020: 5f42 726f 7773 6572 5f69 6e63 725f 6865 _Browser_incr_he │ │ │ +00066030: 6967 6874 2873 656c 662c 202a 6172 6773 ight(self, *args │ │ │ +00066040: 290a 0a20 2020 2064 6566 2069 7465 6d5f ).. def item_ │ │ │ +00066050: 7365 6c65 6374 2873 656c 662c 202a 6172 select(self, *ar │ │ │ +00066060: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00066070: 2269 7465 6d5f 7365 6c65 6374 2846 6c5f "item_select(Fl_ │ │ │ +00066080: 5365 6c65 6374 5f42 726f 7773 6572 2073 Select_Browser s │ │ │ +00066090: 656c 662c 2076 6f69 6420 2a20 6974 656d elf, void * item │ │ │ +000660a0: 2c20 696e 7420 7661 6c29 2222 220a 2020 , int val)""". │ │ │ +000660b0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +000660c0: 746b 2e46 6c5f 5365 6c65 6374 5f42 726f tk.Fl_Select_Bro │ │ │ +000660d0: 7773 6572 5f69 7465 6d5f 7365 6c65 6374 wser_item_select │ │ │ +000660e0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +000660f0: 2020 2064 6566 2069 7465 6d5f 7365 6c65 def item_sele │ │ │ +00066100: 6374 6564 2873 656c 662c 202a 6172 6773 cted(self, *args │ │ │ +00066110: 293a 0a20 2020 2020 2020 2072 2222 2269 ):. r"""i │ │ │ +00066120: 7465 6d5f 7365 6c65 6374 6564 2846 6c5f tem_selected(Fl_ │ │ │ +00066130: 5365 6c65 6374 5f42 726f 7773 6572 2073 Select_Browser s │ │ │ +00066140: 656c 662c 2076 6f69 6420 2a20 6974 656d elf, void * item │ │ │ +00066150: 2920 2d3e 2069 6e74 2222 220a 2020 2020 ) -> int""". │ │ │ +00066160: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +00066170: 2e46 6c5f 5365 6c65 6374 5f42 726f 7773 .Fl_Select_Brows │ │ │ +00066180: 6572 5f69 7465 6d5f 7365 6c65 6374 6564 er_item_selected │ │ │ +00066190: 2873 656c 662c 202a 6172 6773 290a 0a23 (self, *args)..# │ │ │ +000661a0: 2052 6567 6973 7465 7220 466c 5f53 656c Register Fl_Sel │ │ │ +000661b0: 6563 745f 4272 6f77 7365 7220 696e 205f ect_Browser in _ │ │ │ +000661c0: 666c 746b 3a0a 5f66 6c74 6b2e 466c 5f53 fltk:._fltk.Fl_S │ │ │ +000661d0: 656c 6563 745f 4272 6f77 7365 725f 7377 elect_Browser_sw │ │ │ +000661e0: 6967 7265 6769 7374 6572 2846 6c5f 5365 igregister(Fl_Se │ │ │ +000661f0: 6c65 6374 5f42 726f 7773 6572 290a 636c lect_Browser).cl │ │ │ +00066200: 6173 7320 466c 5f53 6861 7265 645f 496d ass Fl_Shared_Im │ │ │ +00066210: 6167 6528 466c 5f49 6d61 6765 293a 0a20 age(Fl_Image):. │ │ │ +00066220: 2020 2072 2222 220a 0a20 2020 2054 6865 r""".. The │ │ │ +00066230: 2046 6c5f 5368 6172 6564 5f49 6d61 6765 Fl_Shared_Image │ │ │ +00066240: 2063 6c61 7373 2073 7570 706f 7274 7320 class supports │ │ │ +00066250: 6361 6368 696e 672c 206c 6f61 6469 6e67 caching, loading │ │ │ +00066260: 2c20 616e 6420 6472 6177 696e 6720 6f66 , and drawing of │ │ │ +00066270: 2069 6d61 6765 200a 2020 2020 6669 6c65 image . file │ │ │ +00066280: 732e 204d 6f73 7420 6170 706c 6963 6174 s. Most applicat │ │ │ +00066290: 696f 6e73 2077 696c 6c20 616c 736f 2077 ions will also w │ │ │ +000662a0: 616e 7420 746f 206c 696e 6b20 6167 6169 ant to link agai │ │ │ +000662b0: 6e73 7420 7468 6520 666c 746b 5f69 6d61 nst the fltk_ima │ │ │ +000662c0: 6765 7320 0a20 2020 206c 6962 7261 7279 ges . library │ │ │ +000662d0: 2061 6e64 2063 616c 6c20 7468 6520 666c and call the fl │ │ │ +000662e0: 5f72 6567 6973 7465 725f 696d 6167 6573 _register_images │ │ │ +000662f0: 2829 2066 756e 6374 696f 6e20 746f 2073 () function to s │ │ │ +00066300: 7570 706f 7274 2073 7461 6e64 6172 6420 upport standard │ │ │ +00066310: 696d 6167 6520 0a20 2020 2066 6f72 6d61 image . forma │ │ │ +00066320: 7473 2073 7563 6820 6173 2042 4d50 2c20 ts such as BMP, │ │ │ +00066330: 4749 462c 204a 5045 472c 2061 6e64 2050 GIF, JPEG, and P │ │ │ +00066340: 4e47 2e0a 0a20 2020 2022 2222 0a0a 2020 NG... """.. │ │ │ +00066350: 2020 7468 6973 6f77 6e20 3d20 7072 6f70 thisown = prop │ │ │ +00066360: 6572 7479 286c 616d 6264 6120 783a 2078 erty(lambda x: x │ │ │ +00066370: 2e74 6869 732e 6f77 6e28 292c 206c 616d .this.own(), lam │ │ │ +00066380: 6264 6120 782c 2076 3a20 782e 7468 6973 bda x, v: x.this │ │ │ +00066390: 2e6f 776e 2876 292c 2064 6f63 3d22 5468 .own(v), doc="Th │ │ │ +000663a0: 6520 6d65 6d62 6572 7368 6970 2066 6c61 e membership fla │ │ │ +000663b0: 6722 290a 2020 2020 5f5f 7265 7072 5f5f g"). __repr__ │ │ │ +000663c0: 203d 205f 7377 6967 5f72 6570 720a 0a20 = _swig_repr.. │ │ │ +000663d0: 2020 2064 6566 205f 5f69 6e69 745f 5f28 def __init__( │ │ │ +000663e0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +000663f0: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ +00066400: 2020 205f 5f69 6e69 745f 5f28 466c 5f53 __init__(Fl_S │ │ │ +00066410: 6861 7265 645f 496d 6167 6520 7365 6c66 hared_Image self │ │ │ +00066420: 2920 2d3e 2046 6c5f 5368 6172 6564 5f49 ) -> Fl_Shared_I │ │ │ +00066430: 6d61 6765 0a20 2020 2020 2020 205f 5f69 mage. __i │ │ │ +00066440: 6e69 745f 5f28 466c 5f53 6861 7265 645f nit__(Fl_Shared_ │ │ │ +00066450: 496d 6167 6520 7365 6c66 2c20 6368 6172 Image self, char │ │ │ +00066460: 2063 6f6e 7374 202a 206e 2c20 466c 5f49 const * n, Fl_I │ │ │ +00066470: 6d61 6765 2069 6d67 3d4e 6f6e 6529 202d mage img=None) - │ │ │ +00066480: 3e20 466c 5f53 6861 7265 645f 496d 6167 > Fl_Shared_Imag │ │ │ +00066490: 650a 2020 2020 2020 2020 2222 220a 2020 e. """. │ │ │ +000664a0: 2020 2020 2020 6966 2073 656c 662e 5f5f if self.__ │ │ │ +000664b0: 636c 6173 735f 5f20 3d3d 2046 6c5f 5368 class__ == Fl_Sh │ │ │ +000664c0: 6172 6564 5f49 6d61 6765 3a0a 2020 2020 ared_Image:. │ │ │ +000664d0: 2020 2020 2020 2020 5f73 656c 6620 3d20 _self = │ │ │ +000664e0: 4e6f 6e65 0a20 2020 2020 2020 2065 6c73 None. els │ │ │ +000664f0: 653a 0a20 2020 2020 2020 2020 2020 205f e:. _ │ │ │ +00066500: 7365 6c66 203d 2073 656c 660a 2020 2020 self = self. │ │ │ +00066510: 2020 2020 5f66 6c74 6b2e 466c 5f53 6861 _fltk.Fl_Sha │ │ │ +00066520: 7265 645f 496d 6167 655f 7377 6967 696e red_Image_swigin │ │ │ +00066530: 6974 2873 656c 662c 205f 666c 746b 2e6e it(self, _fltk.n │ │ │ +00066540: 6577 5f46 6c5f 5368 6172 6564 5f49 6d61 ew_Fl_Shared_Ima │ │ │ +00066550: 6765 285f 7365 6c66 2c20 2a61 7267 7329 ge(_self, *args) │ │ │ +00066560: 290a 0a20 2020 2064 6566 206e 616d 6528 ).. def name( │ │ │ +00066570: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +00066580: 2020 2020 2020 7222 2222 6e61 6d65 2846 r"""name(F │ │ │ +00066590: 6c5f 5368 6172 6564 5f49 6d61 6765 2073 l_Shared_Image s │ │ │ +000665a0: 656c 6629 202d 3e20 6368 6172 2063 6f6e elf) -> char con │ │ │ +000665b0: 7374 202a 2222 220a 2020 2020 2020 2020 st *""". │ │ │ +000665c0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +000665d0: 5368 6172 6564 5f49 6d61 6765 5f6e 616d Shared_Image_nam │ │ │ +000665e0: 6528 7365 6c66 2c20 2a61 7267 7329 0a0a e(self, *args).. │ │ │ +000665f0: 2020 2020 6465 6620 7265 6663 6f75 6e74 def refcount │ │ │ +00066600: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00066610: 2020 2020 2020 2072 2222 2272 6566 636f r"""refco │ │ │ +00066620: 756e 7428 466c 5f53 6861 7265 645f 496d unt(Fl_Shared_Im │ │ │ +00066630: 6167 6520 7365 6c66 2920 2d3e 2069 6e74 age self) -> int │ │ │ +00066640: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +00066650: 726e 205f 666c 746b 2e46 6c5f 5368 6172 rn _fltk.Fl_Shar │ │ │ +00066660: 6564 5f49 6d61 6765 5f72 6566 636f 756e ed_Image_refcoun │ │ │ +00066670: 7428 7365 6c66 2c20 2a61 7267 7329 0a0a t(self, *args).. │ │ │ +00066680: 2020 2020 6465 6620 6f72 6967 696e 616c def original │ │ │ +00066690: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +000666a0: 2020 2020 2020 2072 2222 226f 7269 6769 r"""origi │ │ │ +000666b0: 6e61 6c28 466c 5f53 6861 7265 645f 496d nal(Fl_Shared_Im │ │ │ +000666c0: 6167 6520 7365 6c66 2920 2d3e 2069 6e74 age self) -> int │ │ │ +000666d0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +000666e0: 726e 205f 666c 746b 2e46 6c5f 5368 6172 rn _fltk.Fl_Shar │ │ │ +000666f0: 6564 5f49 6d61 6765 5f6f 7269 6769 6e61 ed_Image_origina │ │ │ +00066700: 6c28 7365 6c66 2c20 2a61 7267 7329 0a0a l(self, *args).. │ │ │ +00066710: 2020 2020 6465 6620 7265 6c65 6173 6528 def release( │ │ │ +00066720: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +00066730: 2020 2020 2020 7222 2222 7265 6c65 6173 r"""releas │ │ │ +00066740: 6528 466c 5f53 6861 7265 645f 496d 6167 e(Fl_Shared_Imag │ │ │ +00066750: 6520 7365 6c66 2922 2222 0a20 2020 2020 e self)""". │ │ │ +00066760: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00066770: 466c 5f53 6861 7265 645f 496d 6167 655f Fl_Shared_Image_ │ │ │ +00066780: 7265 6c65 6173 6528 7365 6c66 2c20 2a61 release(self, *a │ │ │ +00066790: 7267 7329 0a0a 2020 2020 6465 6620 7265 rgs).. def re │ │ │ +000667a0: 6c6f 6164 2873 656c 662c 202a 6172 6773 load(self, *args │ │ │ +000667b0: 293a 0a20 2020 2020 2020 2072 2222 2272 ):. r"""r │ │ │ +000667c0: 656c 6f61 6428 466c 5f53 6861 7265 645f eload(Fl_Shared_ │ │ │ +000667d0: 496d 6167 6520 7365 6c66 2922 2222 0a20 Image self)""". │ │ │ +000667e0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +000667f0: 6c74 6b2e 466c 5f53 6861 7265 645f 496d ltk.Fl_Shared_Im │ │ │ +00066800: 6167 655f 7265 6c6f 6164 2873 656c 662c age_reload(self, │ │ │ +00066810: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +00066820: 2061 735f 7368 6172 6564 5f69 6d61 6765 as_shared_image │ │ │ +00066830: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00066840: 2020 2020 2020 2072 2222 2261 735f 7368 r"""as_sh │ │ │ +00066850: 6172 6564 5f69 6d61 6765 2846 6c5f 5368 ared_image(Fl_Sh │ │ │ +00066860: 6172 6564 5f49 6d61 6765 2073 656c 6629 ared_Image self) │ │ │ +00066870: 202d 3e20 466c 5f53 6861 7265 645f 496d -> Fl_Shared_Im │ │ │ +00066880: 6167 6522 2222 0a20 2020 2020 2020 2072 age""". r │ │ │ +00066890: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f53 eturn _fltk.Fl_S │ │ │ +000668a0: 6861 7265 645f 496d 6167 655f 6173 5f73 hared_Image_as_s │ │ │ +000668b0: 6861 7265 645f 696d 6167 6528 7365 6c66 hared_image(self │ │ │ +000668c0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +000668d0: 6620 636f 7079 2873 656c 662c 202a 6172 f copy(self, *ar │ │ │ +000668e0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +000668f0: 220a 2020 2020 2020 2020 636f 7079 2846 ". copy(F │ │ │ +00066900: 6c5f 5368 6172 6564 5f49 6d61 6765 2073 l_Shared_Image s │ │ │ +00066910: 656c 662c 2069 6e74 2057 2c20 696e 7420 elf, int W, int │ │ │ +00066920: 4829 202d 3e20 466c 5f49 6d61 6765 0a20 H) -> Fl_Image. │ │ │ +00066930: 2020 2020 2020 2063 6f70 7928 466c 5f53 copy(Fl_S │ │ │ +00066940: 6861 7265 645f 496d 6167 6520 7365 6c66 hared_Image self │ │ │ +00066950: 2920 2d3e 2046 6c5f 496d 6167 650a 2020 ) -> Fl_Image. │ │ │ +00066960: 2020 2020 2020 636f 7079 2846 6c5f 5368 copy(Fl_Sh │ │ │ +00066970: 6172 6564 5f49 6d61 6765 2073 656c 6629 ared_Image self) │ │ │ +00066980: 202d 3e20 466c 5f49 6d61 6765 0a20 2020 -> Fl_Image. │ │ │ +00066990: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ +000669a0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +000669b0: 5f53 6861 7265 645f 496d 6167 655f 636f _Shared_Image_co │ │ │ +000669c0: 7079 2873 656c 662c 202a 6172 6773 290a py(self, *args). │ │ │ +000669d0: 0a20 2020 2064 6566 2063 6f6c 6f72 5f61 . def color_a │ │ │ +000669e0: 7665 7261 6765 2873 656c 662c 202a 6172 verage(self, *ar │ │ │ +000669f0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00066a00: 2263 6f6c 6f72 5f61 7665 7261 6765 2846 "color_average(F │ │ │ +00066a10: 6c5f 5368 6172 6564 5f49 6d61 6765 2073 l_Shared_Image s │ │ │ +00066a20: 656c 662c 2046 6c5f 436f 6c6f 7220 632c elf, Fl_Color c, │ │ │ +00066a30: 2066 6c6f 6174 2069 2922 2222 0a20 2020 float i)""". │ │ │ +00066a40: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00066a50: 6b2e 466c 5f53 6861 7265 645f 496d 6167 k.Fl_Shared_Imag │ │ │ +00066a60: 655f 636f 6c6f 725f 6176 6572 6167 6528 e_color_average( │ │ │ +00066a70: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +00066a80: 2020 6465 6620 6465 7361 7475 7261 7465 def desaturate │ │ │ +00066a90: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00066aa0: 2020 2020 2020 2072 2222 2264 6573 6174 r"""desat │ │ │ +00066ab0: 7572 6174 6528 466c 5f53 6861 7265 645f urate(Fl_Shared_ │ │ │ +00066ac0: 496d 6167 6520 7365 6c66 2922 2222 0a20 Image self)""". │ │ │ +00066ad0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00066ae0: 6c74 6b2e 466c 5f53 6861 7265 645f 496d ltk.Fl_Shared_Im │ │ │ +00066af0: 6167 655f 6465 7361 7475 7261 7465 2873 age_desaturate(s │ │ │ +00066b00: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +00066b10: 2064 6566 2064 7261 7728 7365 6c66 2c20 def draw(self, │ │ │ +00066b20: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00066b30: 7222 2222 0a20 2020 2020 2020 2064 7261 r""". dra │ │ │ +00066b40: 7728 466c 5f53 6861 7265 645f 496d 6167 w(Fl_Shared_Imag │ │ │ +00066b50: 6520 7365 6c66 2c20 696e 7420 582c 2069 e self, int X, i │ │ │ +00066b60: 6e74 2059 2c20 696e 7420 572c 2069 6e74 nt Y, int W, int │ │ │ +00066b70: 2048 2c20 696e 7420 6378 3d30 2c20 696e H, int cx=0, in │ │ │ +00066b80: 7420 6379 3d30 290a 2020 2020 2020 2020 t cy=0). │ │ │ +00066b90: 6472 6177 2846 6c5f 5368 6172 6564 5f49 draw(Fl_Shared_I │ │ │ +00066ba0: 6d61 6765 2073 656c 662c 2069 6e74 2058 mage self, int X │ │ │ +00066bb0: 2c20 696e 7420 5929 0a20 2020 2020 2020 , int Y). │ │ │ +00066bc0: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ +00066bd0: 7572 6e20 5f66 6c74 6b2e 466c 5f53 6861 urn _fltk.Fl_Sha │ │ │ +00066be0: 7265 645f 496d 6167 655f 6472 6177 2873 red_Image_draw(s │ │ │ +00066bf0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +00066c00: 2064 6566 2075 6e63 6163 6865 2873 656c def uncache(sel │ │ │ +00066c10: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +00066c20: 2020 2072 2222 2275 6e63 6163 6865 2846 r"""uncache(F │ │ │ +00066c30: 6c5f 5368 6172 6564 5f49 6d61 6765 2073 l_Shared_Image s │ │ │ +00066c40: 656c 6629 2222 220a 2020 2020 2020 2020 elf)""". │ │ │ +00066c50: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +00066c60: 5368 6172 6564 5f49 6d61 6765 5f75 6e63 Shared_Image_unc │ │ │ +00066c70: 6163 6865 2873 656c 662c 202a 6172 6773 ache(self, *args │ │ │ +00066c80: 290a 0a20 2020 2040 7374 6174 6963 6d65 ).. @staticme │ │ │ +00066c90: 7468 6f64 0a20 2020 2064 6566 2066 696e thod. def fin │ │ │ +00066ca0: 6428 2a61 7267 7329 3a0a 2020 2020 2020 d(*args):. │ │ │ +00066cb0: 2020 7222 2222 6669 6e64 2863 6861 7220 r"""find(char │ │ │ +00066cc0: 636f 6e73 7420 2a20 6e61 6d65 2c20 696e const * name, in │ │ │ +00066cd0: 7420 573d 302c 2069 6e74 2048 3d30 2920 t W=0, int H=0) │ │ │ +00066ce0: 2d3e 2046 6c5f 5368 6172 6564 5f49 6d61 -> Fl_Shared_Ima │ │ │ +00066cf0: 6765 2222 220a 2020 2020 2020 2020 7265 ge""". re │ │ │ +00066d00: 7475 726e 205f 666c 746b 2e46 6c5f 5368 turn _fltk.Fl_Sh │ │ │ +00066d10: 6172 6564 5f49 6d61 6765 5f66 696e 6428 ared_Image_find( │ │ │ +00066d20: 2a61 7267 7329 0a0a 2020 2020 4073 7461 *args).. @sta │ │ │ +00066d30: 7469 636d 6574 686f 640a 2020 2020 6465 ticmethod. de │ │ │ +00066d40: 6620 6765 7428 2a61 7267 7329 3a0a 2020 f get(*args):. │ │ │ +00066d50: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ +00066d60: 2020 2067 6574 2863 6861 7220 636f 6e73 get(char cons │ │ │ +00066d70: 7420 2a20 6e61 6d65 2c20 696e 7420 573d t * name, int W= │ │ │ +00066d80: 302c 2069 6e74 2048 3d30 2920 2d3e 2046 0, int H=0) -> F │ │ │ +00066d90: 6c5f 5368 6172 6564 5f49 6d61 6765 0a20 l_Shared_Image. │ │ │ +00066da0: 2020 2020 2020 2067 6574 2846 6c5f 5247 get(Fl_RG │ │ │ +00066db0: 425f 496d 6167 6520 7267 622c 2069 6e74 B_Image rgb, int │ │ │ +00066dc0: 206f 776e 5f69 743d 3129 202d 3e20 466c own_it=1) -> Fl │ │ │ +00066dd0: 5f53 6861 7265 645f 496d 6167 650a 2020 _Shared_Image. │ │ │ +00066de0: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ +00066df0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +00066e00: 6c5f 5368 6172 6564 5f49 6d61 6765 5f67 l_Shared_Image_g │ │ │ +00066e10: 6574 282a 6172 6773 290a 0a20 2020 2040 et(*args).. @ │ │ │ +00066e20: 7374 6174 6963 6d65 7468 6f64 0a20 2020 staticmethod. │ │ │ +00066e30: 2064 6566 2069 6d61 6765 7328 2a61 7267 def images(*arg │ │ │ +00066e40: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +00066e50: 696d 6167 6573 2829 202d 3e20 466c 5f53 images() -> Fl_S │ │ │ +00066e60: 6861 7265 645f 496d 6167 6520 2a2a 2222 hared_Image **"" │ │ │ +00066e70: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +00066e80: 205f 666c 746b 2e46 6c5f 5368 6172 6564 _fltk.Fl_Shared │ │ │ +00066e90: 5f49 6d61 6765 5f69 6d61 6765 7328 2a61 _Image_images(*a │ │ │ +00066ea0: 7267 7329 0a0a 2020 2020 4073 7461 7469 rgs).. @stati │ │ │ +00066eb0: 636d 6574 686f 640a 2020 2020 6465 6620 cmethod. def │ │ │ +00066ec0: 6e75 6d5f 696d 6167 6573 282a 6172 6773 num_images(*args │ │ │ +00066ed0: 293a 0a20 2020 2020 2020 2072 2222 226e ):. r"""n │ │ │ +00066ee0: 756d 5f69 6d61 6765 7328 2920 2d3e 2069 um_images() -> i │ │ │ +00066ef0: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ +00066f00: 7475 726e 205f 666c 746b 2e46 6c5f 5368 turn _fltk.Fl_Sh │ │ │ +00066f10: 6172 6564 5f49 6d61 6765 5f6e 756d 5f69 ared_Image_num_i │ │ │ +00066f20: 6d61 6765 7328 2a61 7267 7329 0a0a 2020 mages(*args).. │ │ │ +00066f30: 2020 4073 7461 7469 636d 6574 686f 640a @staticmethod. │ │ │ +00066f40: 2020 2020 6465 6620 6164 645f 6861 6e64 def add_hand │ │ │ +00066f50: 6c65 7228 2a61 7267 7329 3a0a 2020 2020 ler(*args):. │ │ │ +00066f60: 2020 2020 7222 2222 6164 645f 6861 6e64 r"""add_hand │ │ │ +00066f70: 6c65 7228 466c 5f53 6861 7265 645f 4861 ler(Fl_Shared_Ha │ │ │ +00066f80: 6e64 6c65 7220 6629 2222 220a 2020 2020 ndler f)""". │ │ │ +00066f90: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +00066fa0: 2e46 6c5f 5368 6172 6564 5f49 6d61 6765 .Fl_Shared_Image │ │ │ +00066fb0: 5f61 6464 5f68 616e 646c 6572 282a 6172 _add_handler(*ar │ │ │ +00066fc0: 6773 290a 0a20 2020 2040 7374 6174 6963 gs).. @static │ │ │ +00066fd0: 6d65 7468 6f64 0a20 2020 2064 6566 2072 method. def r │ │ │ +00066fe0: 656d 6f76 655f 6861 6e64 6c65 7228 2a61 emove_handler(*a │ │ │ +00066ff0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00067000: 2222 7265 6d6f 7665 5f68 616e 646c 6572 ""remove_handler │ │ │ +00067010: 2846 6c5f 5368 6172 6564 5f48 616e 646c (Fl_Shared_Handl │ │ │ +00067020: 6572 2066 2922 2222 0a20 2020 2020 2020 er f)""". │ │ │ +00067030: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +00067040: 5f53 6861 7265 645f 496d 6167 655f 7265 _Shared_Image_re │ │ │ +00067050: 6d6f 7665 5f68 616e 646c 6572 282a 6172 move_handler(*ar │ │ │ +00067060: 6773 290a 0a20 2020 2064 6566 2069 6d61 gs).. def ima │ │ │ +00067070: 6765 2873 656c 662c 202a 6172 6773 293a ge(self, *args): │ │ │ +00067080: 0a20 2020 2020 2020 2072 2222 2269 6d61 . r"""ima │ │ │ +00067090: 6765 2846 6c5f 5368 6172 6564 5f49 6d61 ge(Fl_Shared_Ima │ │ │ +000670a0: 6765 2073 656c 6629 202d 3e20 466c 5f49 ge self) -> Fl_I │ │ │ +000670b0: 6d61 6765 2222 220a 2020 2020 2020 2020 mage""". │ │ │ +000670c0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +000670d0: 5368 6172 6564 5f49 6d61 6765 5f69 6d61 Shared_Image_ima │ │ │ +000670e0: 6765 2873 656c 662c 202a 6172 6773 290a ge(self, *args). │ │ │ +000670f0: 2020 2020 6465 6620 5f5f 6469 736f 776e def __disown │ │ │ +00067100: 5f5f 2873 656c 6629 3a0a 2020 2020 2020 __(self):. │ │ │ +00067110: 2020 7365 6c66 2e74 6869 732e 6469 736f self.this.diso │ │ │ +00067120: 776e 2829 0a20 2020 2020 2020 205f 666c wn(). _fl │ │ │ +00067130: 746b 2e64 6973 6f77 6e5f 466c 5f53 6861 tk.disown_Fl_Sha │ │ │ +00067140: 7265 645f 496d 6167 6528 7365 6c66 290a red_Image(self). │ │ │ +00067150: 2020 2020 2020 2020 7265 7475 726e 2077 return w │ │ │ +00067160: 6561 6b72 6566 2e70 726f 7879 2873 656c eakref.proxy(sel │ │ │ +00067170: 6629 0a0a 2320 5265 6769 7374 6572 2046 f)..# Register F │ │ │ +00067180: 6c5f 5368 6172 6564 5f49 6d61 6765 2069 l_Shared_Image i │ │ │ +00067190: 6e20 5f66 6c74 6b3a 0a5f 666c 746b 2e46 n _fltk:._fltk.F │ │ │ +000671a0: 6c5f 5368 6172 6564 5f49 6d61 6765 5f73 l_Shared_Image_s │ │ │ +000671b0: 7769 6772 6567 6973 7465 7228 466c 5f53 wigregister(Fl_S │ │ │ +000671c0: 6861 7265 645f 496d 6167 6529 0a0a 6465 hared_Image)..de │ │ │ +000671d0: 6620 666c 5f72 6567 6973 7465 725f 696d f fl_register_im │ │ │ +000671e0: 6167 6573 282a 6172 6773 293a 0a20 2020 ages(*args):. │ │ │ +000671f0: 2072 2222 2266 6c5f 7265 6769 7374 6572 r"""fl_register │ │ │ +00067200: 5f69 6d61 6765 7328 2922 2222 0a20 2020 _images()""". │ │ │ +00067210: 2072 6574 7572 6e20 5f66 6c74 6b2e 666c return _fltk.fl │ │ │ +00067220: 5f72 6567 6973 7465 725f 696d 6167 6573 _register_images │ │ │ +00067230: 282a 6172 6773 290a 636c 6173 7320 466c (*args).class Fl │ │ │ +00067240: 5f53 7069 6e6e 6572 2846 6c5f 4772 6f75 _Spinner(Fl_Grou │ │ │ +00067250: 7029 3a0a 2020 2020 7222 2222 0a0a 2020 p):. r""".. │ │ │ +00067260: 2020 5468 6520 466c 5f53 7069 6e6e 6572 The Fl_Spinner │ │ │ +00067270: 2077 6964 6765 7420 6973 2061 2063 6f6d widget is a com │ │ │ +00067280: 6269 6e61 7469 6f6e 206f 6620 7468 6520 bination of the │ │ │ +00067290: 696e 7075 7420 7769 6467 6574 2061 6e64 input widget and │ │ │ +000672a0: 2072 6570 6561 7420 0a20 2020 2062 7574 repeat . but │ │ │ +000672b0: 746f 6e73 2e20 5468 6520 7573 6572 2063 tons. The user c │ │ │ +000672c0: 616e 2065 6974 6865 7220 7479 7065 2069 an either type i │ │ │ +000672d0: 6e74 6f20 7468 6520 696e 7075 7420 6172 nto the input ar │ │ │ +000672e0: 6561 206f 7220 7573 6520 7468 6520 6275 ea or use the bu │ │ │ +000672f0: 7474 6f6e 7320 0a20 2020 2074 6f20 6368 ttons . to ch │ │ │ +00067300: 616e 6765 2074 6865 2076 616c 7565 2e0a ange the value.. │ │ │ +00067310: 0a20 2020 2022 2222 0a0a 2020 2020 7468 . """.. th │ │ │ +00067320: 6973 6f77 6e20 3d20 7072 6f70 6572 7479 isown = property │ │ │ +00067330: 286c 616d 6264 6120 783a 2078 2e74 6869 (lambda x: x.thi │ │ │ +00067340: 732e 6f77 6e28 292c 206c 616d 6264 6120 s.own(), lambda │ │ │ +00067350: 782c 2076 3a20 782e 7468 6973 2e6f 776e x, v: x.this.own │ │ │ +00067360: 2876 292c 2064 6f63 3d22 5468 6520 6d65 (v), doc="The me │ │ │ +00067370: 6d62 6572 7368 6970 2066 6c61 6722 290a mbership flag"). │ │ │ +00067380: 2020 2020 5f5f 7265 7072 5f5f 203d 205f __repr__ = _ │ │ │ +00067390: 7377 6967 5f72 6570 720a 0a20 2020 2064 swig_repr.. d │ │ │ +000673a0: 6566 2064 7261 7728 7365 6c66 2c20 2a61 ef draw(self, *a │ │ │ +000673b0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +000673c0: 2222 6472 6177 2846 6c5f 5370 696e 6e65 ""draw(Fl_Spinne │ │ │ +000673d0: 7220 7365 6c66 2922 2222 0a20 2020 2020 r self)""". │ │ │ +000673e0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +000673f0: 466c 5f53 7069 6e6e 6572 5f64 7261 7728 Fl_Spinner_draw( │ │ │ +00067400: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +00067410: 2020 6465 6620 5f5f 696e 6974 5f5f 2873 def __init__(s │ │ │ +00067420: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00067430: 2020 2020 2072 2222 225f 5f69 6e69 745f r"""__init_ │ │ │ +00067440: 5f28 466c 5f53 7069 6e6e 6572 2073 656c _(Fl_Spinner sel │ │ │ +00067450: 662c 2069 6e74 2058 2c20 696e 7420 592c f, int X, int Y, │ │ │ +00067460: 2069 6e74 2057 2c20 696e 7420 482c 2063 int W, int H, c │ │ │ +00067470: 6861 7220 636f 6e73 7420 2a20 4c3d 4e6f har const * L=No │ │ │ +00067480: 6e65 2920 2d3e 2046 6c5f 5370 696e 6e65 ne) -> Fl_Spinne │ │ │ +00067490: 7222 2222 0a20 2020 2020 2020 2069 6620 r""". if │ │ │ +000674a0: 7365 6c66 2e5f 5f63 6c61 7373 5f5f 203d self.__class__ = │ │ │ +000674b0: 3d20 466c 5f53 7069 6e6e 6572 3a0a 2020 = Fl_Spinner:. │ │ │ +000674c0: 2020 2020 2020 2020 2020 5f73 656c 6620 _self │ │ │ +000674d0: 3d20 4e6f 6e65 0a20 2020 2020 2020 2065 = None. e │ │ │ +000674e0: 6c73 653a 0a20 2020 2020 2020 2020 2020 lse:. │ │ │ +000674f0: 205f 7365 6c66 203d 2073 656c 660a 2020 _self = self. │ │ │ +00067500: 2020 2020 2020 5f66 6c74 6b2e 466c 5f53 _fltk.Fl_S │ │ │ +00067510: 7069 6e6e 6572 5f73 7769 6769 6e69 7428 pinner_swiginit( │ │ │ +00067520: 7365 6c66 2c20 5f66 6c74 6b2e 6e65 775f self, _fltk.new_ │ │ │ +00067530: 466c 5f53 7069 6e6e 6572 285f 7365 6c66 Fl_Spinner(_self │ │ │ +00067540: 2c20 2a61 7267 7329 290a 0a20 2020 2020 , *args)).. │ │ │ +00067550: 2020 2069 6620 6c65 6e28 6172 6773 2920 if len(args) │ │ │ +00067560: 3d3d 2035 3a20 2020 2020 2020 2020 200a == 5: . │ │ │ +00067570: 2020 2020 2020 2020 2372 6574 6169 6e20 #retain │ │ │ +00067580: 7265 6665 7265 6e63 6520 746f 206c 6162 reference to lab │ │ │ +00067590: 656c 0a20 2020 2020 2020 2020 2020 2073 el. s │ │ │ +000675a0: 656c 662e 6d79 5f6c 6162 656c 203d 2061 elf.my_label = a │ │ │ +000675b0: 7267 735b 2d31 5d0a 2020 2020 2020 2020 rgs[-1]. │ │ │ +000675c0: 6966 2073 656c 662e 7061 7265 6e74 2829 if self.parent() │ │ │ +000675d0: 2021 3d20 4e6f 6e65 3a20 2020 0a20 2020 != None: . │ │ │ +000675e0: 2020 2020 2023 6465 6c65 6761 7465 206f #delegate o │ │ │ +000675f0: 776e 6572 7368 6970 2074 6f20 432b 2b0a wnership to C++. │ │ │ +00067600: 2020 2020 2020 2020 2020 2020 7365 6c66 self │ │ │ +00067610: 2e74 6869 732e 6469 736f 776e 2829 0a20 .this.disown(). │ │ │ +00067620: 2020 2020 2020 2073 656c 662e 696e 6974 self.init │ │ │ +00067630: 5f74 7970 6528 2246 6c5f 5370 696e 6e65 _type("Fl_Spinne │ │ │ +00067640: 7222 290a 2020 2020 2020 2020 2370 7269 r"). #pri │ │ │ +00067650: 6e74 2822 4164 6469 6e67 2074 7970 653a nt("Adding type: │ │ │ +00067660: 2022 2c20 466c 5f53 7069 6e6e 6572 290a ", Fl_Spinner). │ │ │ +00067670: 0a0a 0a0a 2020 2020 6465 6620 6861 6e64 .... def hand │ │ │ +00067680: 6c65 2873 656c 662c 202a 6172 6773 293a le(self, *args): │ │ │ +00067690: 0a20 2020 2020 2020 2072 2222 2268 616e . r"""han │ │ │ +000676a0: 646c 6528 466c 5f53 7069 6e6e 6572 2073 dle(Fl_Spinner s │ │ │ +000676b0: 656c 662c 2069 6e74 2065 7665 6e74 2920 elf, int event) │ │ │ +000676c0: 2d3e 2069 6e74 2222 220a 2020 2020 2020 -> int""". │ │ │ +000676d0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +000676e0: 6c5f 5370 696e 6e65 725f 6861 6e64 6c65 l_Spinner_handle │ │ │ +000676f0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +00067700: 2020 2064 6566 2072 6573 697a 6528 7365 def resize(se │ │ │ +00067710: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +00067720: 2020 2020 7222 2222 7265 7369 7a65 2846 r"""resize(F │ │ │ +00067730: 6c5f 5370 696e 6e65 7220 7365 6c66 2c20 l_Spinner self, │ │ │ +00067740: 696e 7420 582c 2069 6e74 2059 2c20 696e int X, int Y, in │ │ │ +00067750: 7420 572c 2069 6e74 2048 2922 2222 0a20 t W, int H)""". │ │ │ +00067760: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00067770: 6c74 6b2e 466c 5f53 7069 6e6e 6572 5f72 ltk.Fl_Spinner_r │ │ │ +00067780: 6573 697a 6528 7365 6c66 2c20 2a61 7267 esize(self, *arg │ │ │ +00067790: 7329 0a0a 2020 2020 6465 6620 666f 726d s).. def form │ │ │ +000677a0: 6174 2873 656c 662c 202a 6172 6773 293a at(self, *args): │ │ │ +000677b0: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ +000677c0: 2020 2020 2020 666f 726d 6174 2846 6c5f format(Fl_ │ │ │ +000677d0: 5370 696e 6e65 7220 7365 6c66 2920 2d3e Spinner self) -> │ │ │ +000677e0: 2063 6861 7220 636f 6e73 740a 2020 2020 char const. │ │ │ +000677f0: 2020 2020 666f 726d 6174 2846 6c5f 5370 format(Fl_Sp │ │ │ +00067800: 696e 6e65 7220 7365 6c66 2c20 6368 6172 inner self, char │ │ │ +00067810: 2063 6f6e 7374 202a 2066 290a 2020 2020 const * f). │ │ │ +00067820: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ +00067830: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +00067840: 5370 696e 6e65 725f 666f 726d 6174 2873 Spinner_format(s │ │ │ +00067850: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +00067860: 2064 6566 2072 616e 6765 2873 656c 662c def range(self, │ │ │ +00067870: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00067880: 2072 2222 2272 616e 6765 2846 6c5f 5370 r"""range(Fl_Sp │ │ │ +00067890: 696e 6e65 7220 7365 6c66 2c20 646f 7562 inner self, doub │ │ │ +000678a0: 6c65 2061 2c20 646f 7562 6c65 2062 2922 le a, double b)" │ │ │ +000678b0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +000678c0: 6e20 5f66 6c74 6b2e 466c 5f53 7069 6e6e n _fltk.Fl_Spinn │ │ │ +000678d0: 6572 5f72 616e 6765 2873 656c 662c 202a er_range(self, * │ │ │ +000678e0: 6172 6773 290a 0a20 2020 2064 6566 2073 args).. def s │ │ │ +000678f0: 7465 7028 7365 6c66 2c20 2a61 7267 7329 tep(self, *args) │ │ │ +00067900: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ +00067910: 2020 2020 2020 2073 7465 7028 466c 5f53 step(Fl_S │ │ │ +00067920: 7069 6e6e 6572 2073 656c 662c 2064 6f75 pinner self, dou │ │ │ +00067930: 626c 6520 7329 0a20 2020 2020 2020 2073 ble s). s │ │ │ +00067940: 7465 7028 466c 5f53 7069 6e6e 6572 2073 tep(Fl_Spinner s │ │ │ +00067950: 656c 6629 202d 3e20 646f 7562 6c65 0a20 elf) -> double. │ │ │ +00067960: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ +00067970: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00067980: 466c 5f53 7069 6e6e 6572 5f73 7465 7028 Fl_Spinner_step( │ │ │ +00067990: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +000679a0: 2020 6465 6620 7772 6170 2873 656c 662c def wrap(self, │ │ │ +000679b0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +000679c0: 2072 2222 220a 2020 2020 2020 2020 7772 r""". wr │ │ │ +000679d0: 6170 2846 6c5f 5370 696e 6e65 7220 7365 ap(Fl_Spinner se │ │ │ +000679e0: 6c66 2c20 696e 7420 7365 7429 0a20 2020 lf, int set). │ │ │ +000679f0: 2020 2020 2077 7261 7028 466c 5f53 7069 wrap(Fl_Spi │ │ │ +00067a00: 6e6e 6572 2073 656c 6629 202d 3e20 696e nner self) -> in │ │ │ +00067a10: 740a 2020 2020 2020 2020 2222 220a 2020 t. """. │ │ │ +00067a20: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +00067a30: 746b 2e46 6c5f 5370 696e 6e65 725f 7772 tk.Fl_Spinner_wr │ │ │ +00067a40: 6170 2873 656c 662c 202a 6172 6773 290a ap(self, *args). │ │ │ +00067a50: 0a20 2020 2064 6566 2074 6578 7463 6f6c . def textcol │ │ │ +00067a60: 6f72 2873 656c 662c 202a 6172 6773 293a or(self, *args): │ │ │ +00067a70: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ +00067a80: 2020 2020 2020 7465 7874 636f 6c6f 7228 textcolor( │ │ │ +00067a90: 466c 5f53 7069 6e6e 6572 2073 656c 6629 Fl_Spinner self) │ │ │ +00067aa0: 202d 3e20 466c 5f43 6f6c 6f72 0a20 2020 -> Fl_Color. │ │ │ +00067ab0: 2020 2020 2074 6578 7463 6f6c 6f72 2846 textcolor(F │ │ │ +00067ac0: 6c5f 5370 696e 6e65 7220 7365 6c66 2c20 l_Spinner self, │ │ │ +00067ad0: 466c 5f43 6f6c 6f72 2063 290a 2020 2020 Fl_Color c). │ │ │ +00067ae0: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ +00067af0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +00067b00: 5370 696e 6e65 725f 7465 7874 636f 6c6f Spinner_textcolo │ │ │ +00067b10: 7228 7365 6c66 2c20 2a61 7267 7329 0a0a r(self, *args).. │ │ │ +00067b20: 2020 2020 6465 6620 7465 7874 666f 6e74 def textfont │ │ │ +00067b30: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00067b40: 2020 2020 2020 2072 2222 220a 2020 2020 r""". │ │ │ 00067b50: 2020 2020 7465 7874 666f 6e74 2846 6c5f textfont(Fl_ │ │ │ -00067b60: 5370 696e 6e65 7220 7365 6c66 2c20 466c Spinner self, Fl │ │ │ -00067b70: 5f46 6f6e 7420 6629 0a20 2020 2020 2020 _Font f). │ │ │ -00067b80: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ -00067b90: 7572 6e20 5f66 6c74 6b2e 466c 5f53 7069 urn _fltk.Fl_Spi │ │ │ -00067ba0: 6e6e 6572 5f74 6578 7466 6f6e 7428 7365 nner_textfont(se │ │ │ -00067bb0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -00067bc0: 6465 6620 7465 7874 7369 7a65 2873 656c def textsize(sel │ │ │ -00067bd0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00067be0: 2020 2072 2222 220a 2020 2020 2020 2020 r""". │ │ │ -00067bf0: 7465 7874 7369 7a65 2846 6c5f 5370 696e textsize(Fl_Spin │ │ │ -00067c00: 6e65 7220 7365 6c66 2920 2d3e 2046 6c5f ner self) -> Fl_ │ │ │ -00067c10: 466f 6e74 7369 7a65 0a20 2020 2020 2020 Fontsize. │ │ │ -00067c20: 2074 6578 7473 697a 6528 466c 5f53 7069 textsize(Fl_Spi │ │ │ -00067c30: 6e6e 6572 2073 656c 662c 2046 6c5f 466f nner self, Fl_Fo │ │ │ -00067c40: 6e74 7369 7a65 2073 290a 2020 2020 2020 ntsize s). │ │ │ -00067c50: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ -00067c60: 7475 726e 205f 666c 746b 2e46 6c5f 5370 turn _fltk.Fl_Sp │ │ │ -00067c70: 696e 6e65 725f 7465 7874 7369 7a65 2873 inner_textsize(s │ │ │ -00067c80: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -00067c90: 2064 6566 2074 7970 6528 7365 6c66 2c20 def type(self, │ │ │ -00067ca0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00067cb0: 7222 2222 0a20 2020 2020 2020 2074 7970 r""". typ │ │ │ -00067cc0: 6528 466c 5f53 7069 6e6e 6572 2073 656c e(Fl_Spinner sel │ │ │ -00067cd0: 662c 2075 6368 6172 2076 290a 2020 2020 f, uchar v). │ │ │ -00067ce0: 2020 2020 7479 7065 2846 6c5f 5370 696e type(Fl_Spin │ │ │ -00067cf0: 6e65 7220 7365 6c66 2920 2d3e 2075 6368 ner self) -> uch │ │ │ -00067d00: 6172 0a20 2020 2020 2020 2022 2222 0a20 ar. """. │ │ │ -00067d10: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -00067d20: 6c74 6b2e 466c 5f53 7069 6e6e 6572 5f74 ltk.Fl_Spinner_t │ │ │ -00067d30: 7970 6528 7365 6c66 2c20 2a61 7267 7329 ype(self, *args) │ │ │ -00067d40: 0a0a 2020 2020 6465 6620 7661 6c75 6528 .. def value( │ │ │ -00067d50: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -00067d60: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ -00067d70: 2020 2076 616c 7565 2846 6c5f 5370 696e value(Fl_Spin │ │ │ -00067d80: 6e65 7220 7365 6c66 2920 2d3e 2064 6f75 ner self) -> dou │ │ │ -00067d90: 626c 650a 2020 2020 2020 2020 7661 6c75 ble. valu │ │ │ -00067da0: 6528 466c 5f53 7069 6e6e 6572 2073 656c e(Fl_Spinner sel │ │ │ -00067db0: 662c 2064 6f75 626c 6520 7629 0a20 2020 f, double v). │ │ │ -00067dc0: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ -00067dd0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -00067de0: 5f53 7069 6e6e 6572 5f76 616c 7565 2873 _Spinner_value(s │ │ │ -00067df0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -00067e00: 2064 6566 2063 6f6c 6f72 2873 656c 662c def color(self, │ │ │ -00067e10: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00067e20: 2072 2222 220a 2020 2020 2020 2020 636f r""". co │ │ │ -00067e30: 6c6f 7228 466c 5f53 7069 6e6e 6572 2073 lor(Fl_Spinner s │ │ │ -00067e40: 656c 662c 2046 6c5f 436f 6c6f 7220 7629 elf, Fl_Color v) │ │ │ -00067e50: 0a20 2020 2020 2020 2063 6f6c 6f72 2846 . color(F │ │ │ -00067e60: 6c5f 5370 696e 6e65 7220 7365 6c66 2920 l_Spinner self) │ │ │ -00067e70: 2d3e 2046 6c5f 436f 6c6f 720a 2020 2020 -> Fl_Color. │ │ │ -00067e80: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ -00067e90: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00067ea0: 5370 696e 6e65 725f 636f 6c6f 7228 7365 Spinner_color(se │ │ │ -00067eb0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -00067ec0: 6465 6620 7365 6c65 6374 696f 6e5f 636f def selection_co │ │ │ -00067ed0: 6c6f 7228 7365 6c66 2c20 2a61 7267 7329 lor(self, *args) │ │ │ -00067ee0: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ -00067ef0: 2020 2020 2020 2073 656c 6563 7469 6f6e selection │ │ │ -00067f00: 5f63 6f6c 6f72 2846 6c5f 5370 696e 6e65 _color(Fl_Spinne │ │ │ -00067f10: 7220 7365 6c66 2c20 466c 5f43 6f6c 6f72 r self, Fl_Color │ │ │ -00067f20: 2076 616c 290a 2020 2020 2020 2020 7365 val). se │ │ │ -00067f30: 6c65 6374 696f 6e5f 636f 6c6f 7228 466c lection_color(Fl │ │ │ -00067f40: 5f53 7069 6e6e 6572 2073 656c 6629 202d _Spinner self) - │ │ │ -00067f50: 3e20 466c 5f43 6f6c 6f72 0a20 2020 2020 > Fl_Color. │ │ │ -00067f60: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ -00067f70: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f53 eturn _fltk.Fl_S │ │ │ -00067f80: 7069 6e6e 6572 5f73 656c 6563 7469 6f6e pinner_selection │ │ │ -00067f90: 5f63 6f6c 6f72 2873 656c 662c 202a 6172 _color(self, *ar │ │ │ -00067fa0: 6773 290a 0a20 2020 2064 6566 206d 6178 gs).. def max │ │ │ -00067fb0: 696d 756d 5f73 697a 6528 7365 6c66 2c20 imum_size(self, │ │ │ -00067fc0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00067fd0: 7222 2222 0a20 2020 2020 2020 206d 6178 r""". max │ │ │ -00067fe0: 696d 756d 5f73 697a 6528 466c 5f53 7069 imum_size(Fl_Spi │ │ │ -00067ff0: 6e6e 6572 2073 656c 662c 2069 6e74 206d nner self, int m │ │ │ -00068000: 290a 2020 2020 2020 2020 6d61 7869 6d75 ). maximu │ │ │ +00067b60: 5370 696e 6e65 7220 7365 6c66 2920 2d3e Spinner self) -> │ │ │ +00067b70: 2046 6c5f 466f 6e74 0a20 2020 2020 2020 Fl_Font. │ │ │ +00067b80: 2074 6578 7466 6f6e 7428 466c 5f53 7069 textfont(Fl_Spi │ │ │ +00067b90: 6e6e 6572 2073 656c 662c 2046 6c5f 466f nner self, Fl_Fo │ │ │ +00067ba0: 6e74 2066 290a 2020 2020 2020 2020 2222 nt f). "" │ │ │ +00067bb0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +00067bc0: 205f 666c 746b 2e46 6c5f 5370 696e 6e65 _fltk.Fl_Spinne │ │ │ +00067bd0: 725f 7465 7874 666f 6e74 2873 656c 662c r_textfont(self, │ │ │ +00067be0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +00067bf0: 2074 6578 7473 697a 6528 7365 6c66 2c20 textsize(self, │ │ │ +00067c00: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00067c10: 7222 2222 0a20 2020 2020 2020 2074 6578 r""". tex │ │ │ +00067c20: 7473 697a 6528 466c 5f53 7069 6e6e 6572 tsize(Fl_Spinner │ │ │ +00067c30: 2073 656c 6629 202d 3e20 466c 5f46 6f6e self) -> Fl_Fon │ │ │ +00067c40: 7473 697a 650a 2020 2020 2020 2020 7465 tsize. te │ │ │ +00067c50: 7874 7369 7a65 2846 6c5f 5370 696e 6e65 xtsize(Fl_Spinne │ │ │ +00067c60: 7220 7365 6c66 2c20 466c 5f46 6f6e 7473 r self, Fl_Fonts │ │ │ +00067c70: 697a 6520 7329 0a20 2020 2020 2020 2022 ize s). " │ │ │ +00067c80: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +00067c90: 6e20 5f66 6c74 6b2e 466c 5f53 7069 6e6e n _fltk.Fl_Spinn │ │ │ +00067ca0: 6572 5f74 6578 7473 697a 6528 7365 6c66 er_textsize(self │ │ │ +00067cb0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00067cc0: 6620 7479 7065 2873 656c 662c 202a 6172 f type(self, *ar │ │ │ +00067cd0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00067ce0: 220a 2020 2020 2020 2020 7479 7065 2846 ". type(F │ │ │ +00067cf0: 6c5f 5370 696e 6e65 7220 7365 6c66 2c20 l_Spinner self, │ │ │ +00067d00: 7563 6861 7220 7629 0a20 2020 2020 2020 uchar v). │ │ │ +00067d10: 2074 7970 6528 466c 5f53 7069 6e6e 6572 type(Fl_Spinner │ │ │ +00067d20: 2073 656c 6629 202d 3e20 7563 6861 720a self) -> uchar. │ │ │ +00067d30: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ +00067d40: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +00067d50: 2e46 6c5f 5370 696e 6e65 725f 7479 7065 .Fl_Spinner_type │ │ │ +00067d60: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +00067d70: 2020 2064 6566 2076 616c 7565 2873 656c def value(sel │ │ │ +00067d80: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +00067d90: 2020 2072 2222 220a 2020 2020 2020 2020 r""". │ │ │ +00067da0: 7661 6c75 6528 466c 5f53 7069 6e6e 6572 value(Fl_Spinner │ │ │ +00067db0: 2073 656c 6629 202d 3e20 646f 7562 6c65 self) -> double │ │ │ +00067dc0: 0a20 2020 2020 2020 2076 616c 7565 2846 . value(F │ │ │ +00067dd0: 6c5f 5370 696e 6e65 7220 7365 6c66 2c20 l_Spinner self, │ │ │ +00067de0: 646f 7562 6c65 2076 290a 2020 2020 2020 double v). │ │ │ +00067df0: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ +00067e00: 7475 726e 205f 666c 746b 2e46 6c5f 5370 turn _fltk.Fl_Sp │ │ │ +00067e10: 696e 6e65 725f 7661 6c75 6528 7365 6c66 inner_value(self │ │ │ +00067e20: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00067e30: 6620 636f 6c6f 7228 7365 6c66 2c20 2a61 f color(self, *a │ │ │ +00067e40: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00067e50: 2222 0a20 2020 2020 2020 2063 6f6c 6f72 "". color │ │ │ +00067e60: 2846 6c5f 5370 696e 6e65 7220 7365 6c66 (Fl_Spinner self │ │ │ +00067e70: 2c20 466c 5f43 6f6c 6f72 2076 290a 2020 , Fl_Color v). │ │ │ +00067e80: 2020 2020 2020 636f 6c6f 7228 466c 5f53 color(Fl_S │ │ │ +00067e90: 7069 6e6e 6572 2073 656c 6629 202d 3e20 pinner self) -> │ │ │ +00067ea0: 466c 5f43 6f6c 6f72 0a20 2020 2020 2020 Fl_Color. │ │ │ +00067eb0: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ +00067ec0: 7572 6e20 5f66 6c74 6b2e 466c 5f53 7069 urn _fltk.Fl_Spi │ │ │ +00067ed0: 6e6e 6572 5f63 6f6c 6f72 2873 656c 662c nner_color(self, │ │ │ +00067ee0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +00067ef0: 2073 656c 6563 7469 6f6e 5f63 6f6c 6f72 selection_color │ │ │ +00067f00: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00067f10: 2020 2020 2020 2072 2222 220a 2020 2020 r""". │ │ │ +00067f20: 2020 2020 7365 6c65 6374 696f 6e5f 636f selection_co │ │ │ +00067f30: 6c6f 7228 466c 5f53 7069 6e6e 6572 2073 lor(Fl_Spinner s │ │ │ +00067f40: 656c 662c 2046 6c5f 436f 6c6f 7220 7661 elf, Fl_Color va │ │ │ +00067f50: 6c29 0a20 2020 2020 2020 2073 656c 6563 l). selec │ │ │ +00067f60: 7469 6f6e 5f63 6f6c 6f72 2846 6c5f 5370 tion_color(Fl_Sp │ │ │ +00067f70: 696e 6e65 7220 7365 6c66 2920 2d3e 2046 inner self) -> F │ │ │ +00067f80: 6c5f 436f 6c6f 720a 2020 2020 2020 2020 l_Color. │ │ │ +00067f90: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +00067fa0: 726e 205f 666c 746b 2e46 6c5f 5370 696e rn _fltk.Fl_Spin │ │ │ +00067fb0: 6e65 725f 7365 6c65 6374 696f 6e5f 636f ner_selection_co │ │ │ +00067fc0: 6c6f 7228 7365 6c66 2c20 2a61 7267 7329 lor(self, *args) │ │ │ +00067fd0: 0a0a 2020 2020 6465 6620 6d61 7869 6d75 .. def maximu │ │ │ +00067fe0: 6d5f 7369 7a65 2873 656c 662c 202a 6172 m_size(self, *ar │ │ │ +00067ff0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00068000: 220a 2020 2020 2020 2020 6d61 7869 6d75 ". maximu │ │ │ 00068010: 6d5f 7369 7a65 2846 6c5f 5370 696e 6e65 m_size(Fl_Spinne │ │ │ -00068020: 7220 7365 6c66 2920 2d3e 2069 6e74 0a20 r self) -> int. │ │ │ -00068030: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ -00068040: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00068050: 466c 5f53 7069 6e6e 6572 5f6d 6178 696d Fl_Spinner_maxim │ │ │ -00068060: 756d 5f73 697a 6528 7365 6c66 2c20 2a61 um_size(self, *a │ │ │ -00068070: 7267 7329 0a0a 2020 2020 6465 6620 696e rgs).. def in │ │ │ -00068080: 6974 5f74 7970 6528 7365 6c66 2c20 2a61 it_type(self, *a │ │ │ -00068090: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -000680a0: 2222 696e 6974 5f74 7970 6528 466c 5f53 ""init_type(Fl_S │ │ │ -000680b0: 7069 6e6e 6572 2073 656c 662c 2063 6861 pinner self, cha │ │ │ -000680c0: 7220 2a20 466c 5f53 7069 6e6e 6572 2922 r * Fl_Spinner)" │ │ │ -000680d0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -000680e0: 6e20 5f66 6c74 6b2e 466c 5f53 7069 6e6e n _fltk.Fl_Spinn │ │ │ -000680f0: 6572 5f69 6e69 745f 7479 7065 2873 656c er_init_type(sel │ │ │ -00068100: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -00068110: 6566 206d 696e 696d 756d 2873 656c 662c ef minimum(self, │ │ │ -00068120: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00068130: 2072 2222 220a 2020 2020 2020 2020 6d69 r""". mi │ │ │ -00068140: 6e69 6d75 6d28 466c 5f53 7069 6e6e 6572 nimum(Fl_Spinner │ │ │ -00068150: 2073 656c 662c 2064 6f75 626c 6520 6d29 self, double m) │ │ │ -00068160: 0a20 2020 2020 2020 206d 696e 696d 756d . minimum │ │ │ -00068170: 2846 6c5f 5370 696e 6e65 7220 7365 6c66 (Fl_Spinner self │ │ │ -00068180: 2920 2d3e 2064 6f75 626c 650a 2020 2020 ) -> double. │ │ │ -00068190: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ -000681a0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -000681b0: 5370 696e 6e65 725f 6d69 6e69 6d75 6d28 Spinner_minimum( │ │ │ -000681c0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -000681d0: 2020 6465 6620 6d61 7869 6d75 6d28 7365 def maximum(se │ │ │ -000681e0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -000681f0: 2020 2020 7222 2222 0a20 2020 2020 2020 r""". │ │ │ -00068200: 206d 6178 696d 756d 2846 6c5f 5370 696e maximum(Fl_Spin │ │ │ -00068210: 6e65 7220 7365 6c66 2c20 646f 7562 6c65 ner self, double │ │ │ -00068220: 206d 290a 2020 2020 2020 2020 6d61 7869 m). maxi │ │ │ -00068230: 6d75 6d28 466c 5f53 7069 6e6e 6572 2073 mum(Fl_Spinner s │ │ │ -00068240: 656c 6629 202d 3e20 646f 7562 6c65 0a20 elf) -> double. │ │ │ -00068250: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ -00068260: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00068270: 466c 5f53 7069 6e6e 6572 5f6d 6178 696d Fl_Spinner_maxim │ │ │ -00068280: 756d 2873 656c 662c 202a 6172 6773 290a um(self, *args). │ │ │ -00068290: 2020 2020 5f5f 7377 6967 5f64 6573 7472 __swig_destr │ │ │ -000682a0: 6f79 5f5f 203d 205f 666c 746b 2e64 656c oy__ = _fltk.del │ │ │ -000682b0: 6574 655f 466c 5f53 7069 6e6e 6572 0a20 ete_Fl_Spinner. │ │ │ -000682c0: 2020 2064 6566 205f 5f64 6973 6f77 6e5f def __disown_ │ │ │ -000682d0: 5f28 7365 6c66 293a 0a20 2020 2020 2020 _(self):. │ │ │ -000682e0: 2073 656c 662e 7468 6973 2e64 6973 6f77 self.this.disow │ │ │ -000682f0: 6e28 290a 2020 2020 2020 2020 5f66 6c74 n(). _flt │ │ │ -00068300: 6b2e 6469 736f 776e 5f46 6c5f 5370 696e k.disown_Fl_Spin │ │ │ -00068310: 6e65 7228 7365 6c66 290a 2020 2020 2020 ner(self). │ │ │ -00068320: 2020 7265 7475 726e 2077 6561 6b72 6566 return weakref │ │ │ -00068330: 2e70 726f 7879 2873 656c 6629 0a0a 2320 .proxy(self)..# │ │ │ -00068340: 5265 6769 7374 6572 2046 6c5f 5370 696e Register Fl_Spin │ │ │ -00068350: 6e65 7220 696e 205f 666c 746b 3a0a 5f66 ner in _fltk:._f │ │ │ -00068360: 6c74 6b2e 466c 5f53 7069 6e6e 6572 5f73 ltk.Fl_Spinner_s │ │ │ -00068370: 7769 6772 6567 6973 7465 7228 466c 5f53 wigregister(Fl_S │ │ │ -00068380: 7069 6e6e 6572 290a 0a64 6566 2066 6c5f pinner)..def fl_ │ │ │ -00068390: 7368 6f77 5f63 6f6c 6f72 6d61 7028 2a61 show_colormap(*a │ │ │ -000683a0: 7267 7329 3a0a 2020 2020 7222 2222 666c rgs):. r"""fl │ │ │ -000683b0: 5f73 686f 775f 636f 6c6f 726d 6170 2846 _show_colormap(F │ │ │ -000683c0: 6c5f 436f 6c6f 7220 6f6c 6463 6f6c 2920 l_Color oldcol) │ │ │ -000683d0: 2d3e 2046 6c5f 436f 6c6f 7222 2222 0a20 -> Fl_Color""". │ │ │ -000683e0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -000683f0: 666c 5f73 686f 775f 636f 6c6f 726d 6170 fl_show_colormap │ │ │ -00068400: 282a 6172 6773 290a 636c 6173 7320 466c (*args).class Fl │ │ │ -00068410: 5f53 696d 706c 655f 436f 756e 7465 7228 _Simple_Counter( │ │ │ -00068420: 466c 5f43 6f75 6e74 6572 293a 0a20 2020 Fl_Counter):. │ │ │ -00068430: 2072 2222 2250 726f 7879 206f 6620 432b r"""Proxy of C+ │ │ │ -00068440: 2b20 466c 5f53 696d 706c 655f 436f 756e + Fl_Simple_Coun │ │ │ -00068450: 7465 7220 636c 6173 732e 2222 220a 0a20 ter class.""".. │ │ │ -00068460: 2020 2074 6869 736f 776e 203d 2070 726f thisown = pro │ │ │ -00068470: 7065 7274 7928 6c61 6d62 6461 2078 3a20 perty(lambda x: │ │ │ -00068480: 782e 7468 6973 2e6f 776e 2829 2c20 6c61 x.this.own(), la │ │ │ -00068490: 6d62 6461 2078 2c20 763a 2078 2e74 6869 mbda x, v: x.thi │ │ │ -000684a0: 732e 6f77 6e28 7629 2c20 646f 633d 2254 s.own(v), doc="T │ │ │ -000684b0: 6865 206d 656d 6265 7273 6869 7020 666c he membership fl │ │ │ -000684c0: 6167 2229 0a20 2020 205f 5f72 6570 725f ag"). __repr_ │ │ │ -000684d0: 5f20 3d20 5f73 7769 675f 7265 7072 0a0a _ = _swig_repr.. │ │ │ -000684e0: 2020 2020 6465 6620 5f5f 696e 6974 5f5f def __init__ │ │ │ -000684f0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -00068500: 2020 2020 2020 2072 2222 225f 5f69 6e69 r"""__ini │ │ │ -00068510: 745f 5f28 466c 5f53 696d 706c 655f 436f t__(Fl_Simple_Co │ │ │ -00068520: 756e 7465 7220 7365 6c66 2c20 696e 7420 unter self, int │ │ │ -00068530: 582c 2069 6e74 2059 2c20 696e 7420 572c X, int Y, int W, │ │ │ -00068540: 2069 6e74 2048 2c20 6368 6172 2063 6f6e int H, char con │ │ │ -00068550: 7374 202a 204c 3d4e 6f6e 6529 202d 3e20 st * L=None) -> │ │ │ -00068560: 466c 5f53 696d 706c 655f 436f 756e 7465 Fl_Simple_Counte │ │ │ -00068570: 7222 2222 0a20 2020 2020 2020 2069 6620 r""". if │ │ │ -00068580: 7365 6c66 2e5f 5f63 6c61 7373 5f5f 203d self.__class__ = │ │ │ -00068590: 3d20 466c 5f53 696d 706c 655f 436f 756e = Fl_Simple_Coun │ │ │ -000685a0: 7465 723a 0a20 2020 2020 2020 2020 2020 ter:. │ │ │ -000685b0: 205f 7365 6c66 203d 204e 6f6e 650a 2020 _self = None. │ │ │ -000685c0: 2020 2020 2020 656c 7365 3a0a 2020 2020 else:. │ │ │ -000685d0: 2020 2020 2020 2020 5f73 656c 6620 3d20 _self = │ │ │ -000685e0: 7365 6c66 0a20 2020 2020 2020 205f 666c self. _fl │ │ │ -000685f0: 746b 2e46 6c5f 5369 6d70 6c65 5f43 6f75 tk.Fl_Simple_Cou │ │ │ -00068600: 6e74 6572 5f73 7769 6769 6e69 7428 7365 nter_swiginit(se │ │ │ -00068610: 6c66 2c20 5f66 6c74 6b2e 6e65 775f 466c lf, _fltk.new_Fl │ │ │ -00068620: 5f53 696d 706c 655f 436f 756e 7465 7228 _Simple_Counter( │ │ │ -00068630: 5f73 656c 662c 202a 6172 6773 2929 0a0a _self, *args)).. │ │ │ -00068640: 2020 2020 2020 2020 6966 206c 656e 2861 if len(a │ │ │ -00068650: 7267 7329 203d 3d20 353a 2020 2020 2020 rgs) == 5: │ │ │ -00068660: 2020 2020 0a20 2020 2020 2020 2023 7265 . #re │ │ │ -00068670: 7461 696e 2072 6566 6572 656e 6365 2074 tain reference t │ │ │ -00068680: 6f20 6c61 6265 6c0a 2020 2020 2020 2020 o label. │ │ │ -00068690: 2020 2020 7365 6c66 2e6d 795f 6c61 6265 self.my_labe │ │ │ -000686a0: 6c20 3d20 6172 6773 5b2d 315d 0a20 2020 l = args[-1]. │ │ │ -000686b0: 2020 2020 2069 6620 7365 6c66 2e70 6172 if self.par │ │ │ -000686c0: 656e 7428 2920 213d 204e 6f6e 653a 2020 ent() != None: │ │ │ -000686d0: 200a 2020 2020 2020 2020 2364 656c 6567 . #deleg │ │ │ -000686e0: 6174 6520 6f77 6e65 7273 6869 7020 746f ate ownership to │ │ │ -000686f0: 2043 2b2b 0a20 2020 2020 2020 2020 2020 C++. │ │ │ -00068700: 2073 656c 662e 7468 6973 2e64 6973 6f77 self.this.disow │ │ │ -00068710: 6e28 290a 2020 2020 2020 2020 7365 6c66 n(). self │ │ │ -00068720: 2e69 6e69 745f 7479 7065 2822 466c 5f53 .init_type("Fl_S │ │ │ -00068730: 696d 706c 655f 436f 756e 7465 7222 290a imple_Counter"). │ │ │ -00068740: 2020 2020 2020 2020 2370 7269 6e74 2822 #print(" │ │ │ -00068750: 4164 6469 6e67 2074 7970 653a 2022 2c20 Adding type: ", │ │ │ -00068760: 466c 5f53 696d 706c 655f 436f 756e 7465 Fl_Simple_Counte │ │ │ -00068770: 7229 0a0a 0a0a 0a20 2020 2064 6566 2069 r)..... def i │ │ │ -00068780: 6e69 745f 7479 7065 2873 656c 662c 202a nit_type(self, * │ │ │ -00068790: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -000687a0: 2222 2269 6e69 745f 7479 7065 2846 6c5f """init_type(Fl_ │ │ │ -000687b0: 5369 6d70 6c65 5f43 6f75 6e74 6572 2073 Simple_Counter s │ │ │ -000687c0: 656c 662c 2063 6861 7220 2a20 466c 5f53 elf, char * Fl_S │ │ │ -000687d0: 696d 706c 655f 436f 756e 7465 7229 2222 imple_Counter)"" │ │ │ -000687e0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -000687f0: 205f 666c 746b 2e46 6c5f 5369 6d70 6c65 _fltk.Fl_Simple │ │ │ -00068800: 5f43 6f75 6e74 6572 5f69 6e69 745f 7479 _Counter_init_ty │ │ │ -00068810: 7065 2873 656c 662c 202a 6172 6773 290a pe(self, *args). │ │ │ -00068820: 2020 2020 5f5f 7377 6967 5f64 6573 7472 __swig_destr │ │ │ -00068830: 6f79 5f5f 203d 205f 666c 746b 2e64 656c oy__ = _fltk.del │ │ │ -00068840: 6574 655f 466c 5f53 696d 706c 655f 436f ete_Fl_Simple_Co │ │ │ -00068850: 756e 7465 720a 2020 2020 6465 6620 5f5f unter. def __ │ │ │ -00068860: 6469 736f 776e 5f5f 2873 656c 6629 3a0a disown__(self):. │ │ │ -00068870: 2020 2020 2020 2020 7365 6c66 2e74 6869 self.thi │ │ │ -00068880: 732e 6469 736f 776e 2829 0a20 2020 2020 s.disown(). │ │ │ -00068890: 2020 205f 666c 746b 2e64 6973 6f77 6e5f _fltk.disown_ │ │ │ -000688a0: 466c 5f53 696d 706c 655f 436f 756e 7465 Fl_Simple_Counte │ │ │ -000688b0: 7228 7365 6c66 290a 2020 2020 2020 2020 r(self). │ │ │ -000688c0: 7265 7475 726e 2077 6561 6b72 6566 2e70 return weakref.p │ │ │ -000688d0: 726f 7879 2873 656c 6629 0a0a 2020 2020 roxy(self).. │ │ │ -000688e0: 6465 6620 6472 6177 2873 656c 662c 202a def draw(self, * │ │ │ -000688f0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00068900: 2222 2264 7261 7728 466c 5f53 696d 706c """draw(Fl_Simpl │ │ │ -00068910: 655f 436f 756e 7465 7220 7365 6c66 2922 e_Counter self)" │ │ │ -00068920: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -00068930: 6e20 5f66 6c74 6b2e 466c 5f53 696d 706c n _fltk.Fl_Simpl │ │ │ -00068940: 655f 436f 756e 7465 725f 6472 6177 2873 e_Counter_draw(s │ │ │ -00068950: 656c 662c 202a 6172 6773 290a 0a23 2052 elf, *args)..# R │ │ │ -00068960: 6567 6973 7465 7220 466c 5f53 696d 706c egister Fl_Simpl │ │ │ -00068970: 655f 436f 756e 7465 7220 696e 205f 666c e_Counter in _fl │ │ │ -00068980: 746b 3a0a 5f66 6c74 6b2e 466c 5f53 696d tk:._fltk.Fl_Sim │ │ │ -00068990: 706c 655f 436f 756e 7465 725f 7377 6967 ple_Counter_swig │ │ │ -000689a0: 7265 6769 7374 6572 2846 6c5f 5369 6d70 register(Fl_Simp │ │ │ -000689b0: 6c65 5f43 6f75 6e74 6572 290a 636c 6173 le_Counter).clas │ │ │ -000689c0: 7320 466c 5f53 7973 5f4d 656e 755f 4261 s Fl_Sys_Menu_Ba │ │ │ -000689d0: 7228 466c 5f4d 656e 755f 4261 7229 3a0a r(Fl_Menu_Bar):. │ │ │ -000689e0: 2020 2020 7222 2222 5072 6f78 7920 6f66 r"""Proxy of │ │ │ -000689f0: 2043 2b2b 2046 6c5f 5379 735f 4d65 6e75 C++ Fl_Sys_Menu │ │ │ -00068a00: 5f42 6172 2063 6c61 7373 2e22 2222 0a0a _Bar class.""".. │ │ │ -00068a10: 2020 2020 7468 6973 6f77 6e20 3d20 7072 thisown = pr │ │ │ -00068a20: 6f70 6572 7479 286c 616d 6264 6120 783a operty(lambda x: │ │ │ -00068a30: 2078 2e74 6869 732e 6f77 6e28 292c 206c x.this.own(), l │ │ │ -00068a40: 616d 6264 6120 782c 2076 3a20 782e 7468 ambda x, v: x.th │ │ │ -00068a50: 6973 2e6f 776e 2876 292c 2064 6f63 3d22 is.own(v), doc=" │ │ │ -00068a60: 5468 6520 6d65 6d62 6572 7368 6970 2066 The membership f │ │ │ -00068a70: 6c61 6722 290a 2020 2020 5f5f 7265 7072 lag"). __repr │ │ │ -00068a80: 5f5f 203d 205f 7377 6967 5f72 6570 720a __ = _swig_repr. │ │ │ -00068a90: 0a20 2020 2064 6566 2064 7261 7728 7365 . def draw(se │ │ │ -00068aa0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -00068ab0: 2020 2020 7222 2222 6472 6177 2846 6c5f r"""draw(Fl_ │ │ │ -00068ac0: 5379 735f 4d65 6e75 5f42 6172 2073 656c Sys_Menu_Bar sel │ │ │ -00068ad0: 6629 2222 220a 2020 2020 2020 2020 7265 f)""". re │ │ │ -00068ae0: 7475 726e 205f 666c 746b 2e46 6c5f 5379 turn _fltk.Fl_Sy │ │ │ -00068af0: 735f 4d65 6e75 5f42 6172 5f64 7261 7728 s_Menu_Bar_draw( │ │ │ -00068b00: 7365 6c66 2c20 2a61 7267 7329 0a20 2020 self, *args). │ │ │ -00068b10: 206e 6f5f 7769 6e64 6f77 5f6d 656e 7520 no_window_menu │ │ │ -00068b20: 3d20 5f66 6c74 6b2e 466c 5f53 7973 5f4d = _fltk.Fl_Sys_M │ │ │ -00068b30: 656e 755f 4261 725f 6e6f 5f77 696e 646f enu_Bar_no_windo │ │ │ -00068b40: 775f 6d65 6e75 0a20 2020 200a 2020 2020 w_menu. . │ │ │ -00068b50: 7461 6262 696e 675f 6d6f 6465 5f6e 6f6e tabbing_mode_non │ │ │ -00068b60: 6520 3d20 5f66 6c74 6b2e 466c 5f53 7973 e = _fltk.Fl_Sys │ │ │ -00068b70: 5f4d 656e 755f 4261 725f 7461 6262 696e _Menu_Bar_tabbin │ │ │ -00068b80: 675f 6d6f 6465 5f6e 6f6e 650a 2020 2020 g_mode_none. │ │ │ -00068b90: 0a20 2020 2074 6162 6269 6e67 5f6d 6f64 . tabbing_mod │ │ │ -00068ba0: 655f 6175 746f 6d61 7469 6320 3d20 5f66 e_automatic = _f │ │ │ -00068bb0: 6c74 6b2e 466c 5f53 7973 5f4d 656e 755f ltk.Fl_Sys_Menu_ │ │ │ -00068bc0: 4261 725f 7461 6262 696e 675f 6d6f 6465 Bar_tabbing_mode │ │ │ -00068bd0: 5f61 7574 6f6d 6174 6963 0a20 2020 200a _automatic. . │ │ │ -00068be0: 2020 2020 7461 6262 696e 675f 6d6f 6465 tabbing_mode │ │ │ -00068bf0: 5f70 7265 6665 7272 6564 203d 205f 666c _preferred = _fl │ │ │ -00068c00: 746b 2e46 6c5f 5379 735f 4d65 6e75 5f42 tk.Fl_Sys_Menu_B │ │ │ -00068c10: 6172 5f74 6162 6269 6e67 5f6d 6f64 655f ar_tabbing_mode_ │ │ │ -00068c20: 7072 6566 6572 7265 640a 2020 2020 0a0a preferred. .. │ │ │ -00068c30: 2020 2020 6465 6620 5f5f 696e 6974 5f5f def __init__ │ │ │ -00068c40: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -00068c50: 2020 2020 2020 2072 2222 225f 5f69 6e69 r"""__ini │ │ │ -00068c60: 745f 5f28 466c 5f53 7973 5f4d 656e 755f t__(Fl_Sys_Menu_ │ │ │ -00068c70: 4261 7220 7365 6c66 2c20 696e 7420 782c Bar self, int x, │ │ │ -00068c80: 2069 6e74 2079 2c20 696e 7420 772c 2069 int y, int w, i │ │ │ -00068c90: 6e74 2068 2c20 6368 6172 2063 6f6e 7374 nt h, char const │ │ │ -00068ca0: 202a 206c 3d4e 6f6e 6529 202d 3e20 466c * l=None) -> Fl │ │ │ -00068cb0: 5f53 7973 5f4d 656e 755f 4261 7222 2222 _Sys_Menu_Bar""" │ │ │ -00068cc0: 0a20 2020 2020 2020 2069 6620 7365 6c66 . if self │ │ │ -00068cd0: 2e5f 5f63 6c61 7373 5f5f 203d 3d20 466c .__class__ == Fl │ │ │ -00068ce0: 5f53 7973 5f4d 656e 755f 4261 723a 0a20 _Sys_Menu_Bar:. │ │ │ -00068cf0: 2020 2020 2020 2020 2020 205f 7365 6c66 _self │ │ │ -00068d00: 203d 204e 6f6e 650a 2020 2020 2020 2020 = None. │ │ │ -00068d10: 656c 7365 3a0a 2020 2020 2020 2020 2020 else:. │ │ │ -00068d20: 2020 5f73 656c 6620 3d20 7365 6c66 0a20 _self = self. │ │ │ -00068d30: 2020 2020 2020 205f 666c 746b 2e46 6c5f _fltk.Fl_ │ │ │ -00068d40: 5379 735f 4d65 6e75 5f42 6172 5f73 7769 Sys_Menu_Bar_swi │ │ │ -00068d50: 6769 6e69 7428 7365 6c66 2c20 5f66 6c74 ginit(self, _flt │ │ │ -00068d60: 6b2e 6e65 775f 466c 5f53 7973 5f4d 656e k.new_Fl_Sys_Men │ │ │ -00068d70: 755f 4261 7228 5f73 656c 662c 202a 6172 u_Bar(_self, *ar │ │ │ -00068d80: 6773 2929 0a0a 2020 2020 2020 2020 6966 gs)).. if │ │ │ -00068d90: 206c 656e 2861 7267 7329 203d 3d20 353a len(args) == 5: │ │ │ -00068da0: 2020 2020 2020 2020 2020 0a20 2020 2020 . │ │ │ -00068db0: 2020 2023 7265 7461 696e 2072 6566 6572 #retain refer │ │ │ -00068dc0: 656e 6365 2074 6f20 6c61 6265 6c0a 2020 ence to label. │ │ │ -00068dd0: 2020 2020 2020 2020 2020 7365 6c66 2e6d self.m │ │ │ -00068de0: 795f 6c61 6265 6c20 3d20 6172 6773 5b2d y_label = args[- │ │ │ -00068df0: 315d 0a20 2020 2020 2020 2069 6620 7365 1]. if se │ │ │ -00068e00: 6c66 2e70 6172 656e 7428 2920 213d 204e lf.parent() != N │ │ │ -00068e10: 6f6e 653a 2020 200a 2020 2020 2020 2020 one: . │ │ │ -00068e20: 2364 656c 6567 6174 6520 6f77 6e65 7273 #delegate owners │ │ │ -00068e30: 6869 7020 746f 2043 2b2b 0a20 2020 2020 hip to C++. │ │ │ -00068e40: 2020 2020 2020 2073 656c 662e 7468 6973 self.this │ │ │ -00068e50: 2e64 6973 6f77 6e28 290a 2020 2020 2020 .disown(). │ │ │ -00068e60: 2020 7365 6c66 2e69 6e69 745f 7479 7065 self.init_type │ │ │ -00068e70: 2822 466c 5f53 7973 5f4d 656e 755f 4261 ("Fl_Sys_Menu_Ba │ │ │ -00068e80: 7222 290a 2020 2020 2020 2020 2370 7269 r"). #pri │ │ │ -00068e90: 6e74 2822 4164 6469 6e67 2074 7970 653a nt("Adding type: │ │ │ -00068ea0: 2022 2c20 466c 5f53 7973 5f4d 656e 755f ", Fl_Sys_Menu_ │ │ │ -00068eb0: 4261 7229 0a0a 0a0a 2020 2020 5f5f 7377 Bar).... __sw │ │ │ -00068ec0: 6967 5f64 6573 7472 6f79 5f5f 203d 205f ig_destroy__ = _ │ │ │ -00068ed0: 666c 746b 2e64 656c 6574 655f 466c 5f53 fltk.delete_Fl_S │ │ │ -00068ee0: 7973 5f4d 656e 755f 4261 720a 0a20 2020 ys_Menu_Bar.. │ │ │ -00068ef0: 2064 6566 206d 656e 7528 7365 6c66 2c20 def menu(self, │ │ │ -00068f00: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00068f10: 7222 2222 6d65 6e75 2846 6c5f 5379 735f r"""menu(Fl_Sys_ │ │ │ -00068f20: 4d65 6e75 5f42 6172 2073 656c 6629 202d Menu_Bar self) - │ │ │ -00068f30: 3e20 466c 5f4d 656e 755f 4974 656d 2222 > Fl_Menu_Item"" │ │ │ -00068f40: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00068f50: 205f 666c 746b 2e46 6c5f 5379 735f 4d65 _fltk.Fl_Sys_Me │ │ │ -00068f60: 6e75 5f42 6172 5f6d 656e 7528 7365 6c66 nu_Bar_menu(self │ │ │ -00068f70: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -00068f80: 6620 7570 6461 7465 2873 656c 662c 202a f update(self, * │ │ │ -00068f90: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00068fa0: 2222 2275 7064 6174 6528 466c 5f53 7973 """update(Fl_Sys │ │ │ -00068fb0: 5f4d 656e 755f 4261 7220 7365 6c66 2922 _Menu_Bar self)" │ │ │ -00068fc0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -00068fd0: 6e20 5f66 6c74 6b2e 466c 5f53 7973 5f4d n _fltk.Fl_Sys_M │ │ │ -00068fe0: 656e 755f 4261 725f 7570 6461 7465 2873 enu_Bar_update(s │ │ │ -00068ff0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -00069000: 2064 6566 2070 6c61 795f 6d65 6e75 2873 def play_menu(s │ │ │ -00069010: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00069020: 2020 2020 2072 2222 2270 6c61 795f 6d65 r"""play_me │ │ │ -00069030: 6e75 2846 6c5f 5379 735f 4d65 6e75 5f42 nu(Fl_Sys_Menu_B │ │ │ -00069040: 6172 2073 656c 662c 2046 6c5f 4d65 6e75 ar self, Fl_Menu │ │ │ -00069050: 5f49 7465 6d20 6172 6730 2922 2222 0a20 _Item arg0)""". │ │ │ -00069060: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -00069070: 6c74 6b2e 466c 5f53 7973 5f4d 656e 755f ltk.Fl_Sys_Menu_ │ │ │ -00069080: 4261 725f 706c 6179 5f6d 656e 7528 7365 Bar_play_menu(se │ │ │ -00069090: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -000690a0: 6465 6620 6164 6428 7365 6c66 2c20 2a61 def add(self, *a │ │ │ -000690b0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -000690c0: 2222 0a20 2020 2020 2020 2061 6464 2846 "". add(F │ │ │ -000690d0: 6c5f 5379 735f 4d65 6e75 5f42 6172 2073 l_Sys_Menu_Bar s │ │ │ -000690e0: 656c 662c 2063 6861 7220 636f 6e73 7420 elf, char const │ │ │ -000690f0: 2a20 6c61 6265 6c2c 2069 6e74 2073 686f * label, int sho │ │ │ -00069100: 7274 6375 742c 2046 6c5f 4361 6c6c 6261 rtcut, Fl_Callba │ │ │ -00069110: 636b 202a 2061 7267 342c 2076 6f69 6420 ck * arg4, void │ │ │ -00069120: 2a20 7573 6572 5f64 6174 613d 4e6f 6e65 * user_data=None │ │ │ -00069130: 2c20 696e 7420 666c 6167 733d 3029 202d , int flags=0) - │ │ │ -00069140: 3e20 696e 740a 2020 2020 2020 2020 6164 > int. ad │ │ │ -00069150: 6428 466c 5f53 7973 5f4d 656e 755f 4261 d(Fl_Sys_Menu_Ba │ │ │ -00069160: 7220 7365 6c66 2c20 6368 6172 2063 6f6e r self, char con │ │ │ -00069170: 7374 202a 2073 7472 2920 2d3e 2069 6e74 st * str) -> int │ │ │ -00069180: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ -00069190: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -000691a0: 6b2e 466c 5f53 7973 5f4d 656e 755f 4261 k.Fl_Sys_Menu_Ba │ │ │ -000691b0: 725f 6164 6428 7365 6c66 2c20 2a61 7267 r_add(self, *arg │ │ │ -000691c0: 7329 0a0a 2020 2020 6465 6620 696e 7365 s).. def inse │ │ │ -000691d0: 7274 2873 656c 662c 202a 6172 6773 293a rt(self, *args): │ │ │ -000691e0: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ -000691f0: 2020 2020 2020 696e 7365 7274 2846 6c5f insert(Fl_ │ │ │ -00069200: 5379 735f 4d65 6e75 5f42 6172 2073 656c Sys_Menu_Bar sel │ │ │ -00069210: 662c 2069 6e74 2069 6e64 6578 2c20 6368 f, int index, ch │ │ │ -00069220: 6172 2063 6f6e 7374 202a 206c 6162 656c ar const * label │ │ │ -00069230: 2c20 696e 7420 7368 6f72 7463 7574 2c20 , int shortcut, │ │ │ -00069240: 466c 5f43 616c 6c62 6163 6b20 2a20 6362 Fl_Callback * cb │ │ │ -00069250: 2c20 766f 6964 202a 2075 7365 725f 6461 , void * user_da │ │ │ -00069260: 7461 3d4e 6f6e 652c 2069 6e74 2066 6c61 ta=None, int fla │ │ │ -00069270: 6773 3d30 2920 2d3e 2069 6e74 0a20 2020 gs=0) -> int. │ │ │ -00069280: 2020 2020 2069 6e73 6572 7428 466c 5f53 insert(Fl_S │ │ │ -00069290: 7973 5f4d 656e 755f 4261 7220 7365 6c66 ys_Menu_Bar self │ │ │ -000692a0: 2c20 696e 7420 696e 6465 782c 2063 6861 , int index, cha │ │ │ -000692b0: 7220 636f 6e73 7420 2a20 6c61 6265 6c2c r const * label, │ │ │ -000692c0: 2063 6861 7220 636f 6e73 7420 2a20 7368 char const * sh │ │ │ -000692d0: 6f72 7463 7574 2c20 466c 5f43 616c 6c62 ortcut, Fl_Callb │ │ │ -000692e0: 6163 6b20 2a20 6362 2c20 766f 6964 202a ack * cb, void * │ │ │ -000692f0: 2075 7365 725f 6461 7461 3d4e 6f6e 652c user_data=None, │ │ │ -00069300: 2069 6e74 2066 6c61 6773 3d30 2920 2d3e int flags=0) -> │ │ │ -00069310: 2069 6e74 0a20 2020 2020 2020 2022 2222 int. """ │ │ │ -00069320: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00069330: 5f66 6c74 6b2e 466c 5f53 7973 5f4d 656e _fltk.Fl_Sys_Men │ │ │ -00069340: 755f 4261 725f 696e 7365 7274 2873 656c u_Bar_insert(sel │ │ │ -00069350: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -00069360: 6566 2072 656d 6f76 6528 7365 6c66 2c20 ef remove(self, │ │ │ -00069370: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00069380: 7222 2222 7265 6d6f 7665 2846 6c5f 5379 r"""remove(Fl_Sy │ │ │ -00069390: 735f 4d65 6e75 5f42 6172 2073 656c 662c s_Menu_Bar self, │ │ │ -000693a0: 2069 6e74 206e 2922 2222 0a20 2020 2020 int n)""". │ │ │ -000693b0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -000693c0: 466c 5f53 7973 5f4d 656e 755f 4261 725f Fl_Sys_Menu_Bar_ │ │ │ -000693d0: 7265 6d6f 7665 2873 656c 662c 202a 6172 remove(self, *ar │ │ │ -000693e0: 6773 290a 0a20 2020 2064 6566 2072 6570 gs).. def rep │ │ │ -000693f0: 6c61 6365 2873 656c 662c 202a 6172 6773 lace(self, *args │ │ │ -00069400: 293a 0a20 2020 2020 2020 2072 2222 2272 ):. r"""r │ │ │ -00069410: 6570 6c61 6365 2846 6c5f 5379 735f 4d65 eplace(Fl_Sys_Me │ │ │ -00069420: 6e75 5f42 6172 2073 656c 662c 2069 6e74 nu_Bar self, int │ │ │ -00069430: 2069 6e64 6578 2c20 6368 6172 2063 6f6e index, char con │ │ │ -00069440: 7374 202a 206e 616d 6529 2222 220a 2020 st * name)""". │ │ │ -00069450: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00069460: 746b 2e46 6c5f 5379 735f 4d65 6e75 5f42 tk.Fl_Sys_Menu_B │ │ │ -00069470: 6172 5f72 6570 6c61 6365 2873 656c 662c ar_replace(self, │ │ │ -00069480: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00069490: 2063 6c65 6172 2873 656c 662c 202a 6172 clear(self, *ar │ │ │ -000694a0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -000694b0: 2263 6c65 6172 2846 6c5f 5379 735f 4d65 "clear(Fl_Sys_Me │ │ │ -000694c0: 6e75 5f42 6172 2073 656c 6629 2222 220a nu_Bar self)""". │ │ │ -000694d0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -000694e0: 666c 746b 2e46 6c5f 5379 735f 4d65 6e75 fltk.Fl_Sys_Menu │ │ │ -000694f0: 5f42 6172 5f63 6c65 6172 2873 656c 662c _Bar_clear(self, │ │ │ -00069500: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00069510: 2063 6c65 6172 5f73 7562 6d65 6e75 2873 clear_submenu(s │ │ │ -00069520: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00069530: 2020 2020 2072 2222 2263 6c65 6172 5f73 r"""clear_s │ │ │ -00069540: 7562 6d65 6e75 2846 6c5f 5379 735f 4d65 ubmenu(Fl_Sys_Me │ │ │ -00069550: 6e75 5f42 6172 2073 656c 662c 2069 6e74 nu_Bar self, int │ │ │ -00069560: 2069 6e64 6578 2920 2d3e 2069 6e74 2222 index) -> int"" │ │ │ -00069570: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00069580: 205f 666c 746b 2e46 6c5f 5379 735f 4d65 _fltk.Fl_Sys_Me │ │ │ -00069590: 6e75 5f42 6172 5f63 6c65 6172 5f73 7562 nu_Bar_clear_sub │ │ │ -000695a0: 6d65 6e75 2873 656c 662c 202a 6172 6773 menu(self, *args │ │ │ -000695b0: 290a 0a20 2020 2064 6566 206d 6f64 6528 ).. def mode( │ │ │ -000695c0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -000695d0: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ -000695e0: 2020 206d 6f64 6528 466c 5f53 7973 5f4d mode(Fl_Sys_M │ │ │ -000695f0: 656e 755f 4261 7220 7365 6c66 2c20 696e enu_Bar self, in │ │ │ -00069600: 7420 692c 2069 6e74 2066 6c29 0a20 2020 t i, int fl). │ │ │ -00069610: 2020 2020 206d 6f64 6528 466c 5f53 7973 mode(Fl_Sys │ │ │ -00069620: 5f4d 656e 755f 4261 7220 7365 6c66 2c20 _Menu_Bar self, │ │ │ -00069630: 696e 7420 6929 202d 3e20 696e 740a 2020 int i) -> int. │ │ │ -00069640: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ -00069650: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -00069660: 6c5f 5379 735f 4d65 6e75 5f42 6172 5f6d l_Sys_Menu_Bar_m │ │ │ -00069670: 6f64 6528 7365 6c66 2c20 2a61 7267 7329 ode(self, *args) │ │ │ -00069680: 0a0a 2020 2020 6465 6620 7368 6f72 7463 .. def shortc │ │ │ -00069690: 7574 2873 656c 662c 202a 6172 6773 293a ut(self, *args): │ │ │ -000696a0: 0a20 2020 2020 2020 2072 2222 2273 686f . r"""sho │ │ │ -000696b0: 7274 6375 7428 466c 5f53 7973 5f4d 656e rtcut(Fl_Sys_Men │ │ │ -000696c0: 755f 4261 7220 7365 6c66 2c20 696e 7420 u_Bar self, int │ │ │ -000696d0: 692c 2069 6e74 2073 2922 2222 0a20 2020 i, int s)""". │ │ │ -000696e0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -000696f0: 6b2e 466c 5f53 7973 5f4d 656e 755f 4261 k.Fl_Sys_Menu_Ba │ │ │ -00069700: 725f 7368 6f72 7463 7574 2873 656c 662c r_shortcut(self, │ │ │ -00069710: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00069720: 2073 6574 6f6e 6c79 2873 656c 662c 202a setonly(self, * │ │ │ -00069730: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00069740: 2222 2273 6574 6f6e 6c79 2846 6c5f 5379 """setonly(Fl_Sy │ │ │ -00069750: 735f 4d65 6e75 5f42 6172 2073 656c 662c s_Menu_Bar self, │ │ │ -00069760: 2046 6c5f 4d65 6e75 5f49 7465 6d20 6974 Fl_Menu_Item it │ │ │ -00069770: 656d 2922 2222 0a20 2020 2020 2020 2072 em)""". r │ │ │ -00069780: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f53 eturn _fltk.Fl_S │ │ │ -00069790: 7973 5f4d 656e 755f 4261 725f 7365 746f ys_Menu_Bar_seto │ │ │ -000697a0: 6e6c 7928 7365 6c66 2c20 2a61 7267 7329 nly(self, *args) │ │ │ -000697b0: 0a0a 2020 2020 4073 7461 7469 636d 6574 .. @staticmet │ │ │ -000697c0: 686f 640a 2020 2020 6465 6620 6162 6f75 hod. def abou │ │ │ -000697d0: 7428 2a61 7267 7329 3a0a 2020 2020 2020 t(*args):. │ │ │ -000697e0: 2020 7222 2222 6162 6f75 7428 466c 5f43 r"""about(Fl_C │ │ │ -000697f0: 616c 6c62 6163 6b20 2a20 6362 2c20 766f allback * cb, vo │ │ │ -00069800: 6964 202a 2064 6174 6129 2222 220a 2020 id * data)""". │ │ │ -00069810: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00069820: 746b 2e46 6c5f 5379 735f 4d65 6e75 5f42 tk.Fl_Sys_Menu_B │ │ │ -00069830: 6172 5f61 626f 7574 282a 6172 6773 290a ar_about(*args). │ │ │ -00069840: 0a20 2020 2040 7374 6174 6963 6d65 7468 . @staticmeth │ │ │ -00069850: 6f64 0a20 2020 2064 6566 2077 696e 646f od. def windo │ │ │ -00069860: 775f 6d65 6e75 5f73 7479 6c65 282a 6172 w_menu_style(*ar │ │ │ -00069870: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -00069880: 220a 2020 2020 2020 2020 7769 6e64 6f77 ". window │ │ │ -00069890: 5f6d 656e 755f 7374 796c 6528 2920 2d3e _menu_style() -> │ │ │ -000698a0: 2046 6c5f 5379 735f 4d65 6e75 5f42 6172 Fl_Sys_Menu_Bar │ │ │ -000698b0: 3a3a 7769 6e64 6f77 5f6d 656e 755f 7374 ::window_menu_st │ │ │ -000698c0: 796c 655f 656e 756d 0a20 2020 2020 2020 yle_enum. │ │ │ -000698d0: 2077 696e 646f 775f 6d65 6e75 5f73 7479 window_menu_sty │ │ │ -000698e0: 6c65 2846 6c5f 5379 735f 4d65 6e75 5f42 le(Fl_Sys_Menu_B │ │ │ -000698f0: 6172 3a3a 7769 6e64 6f77 5f6d 656e 755f ar::window_menu_ │ │ │ -00069900: 7374 796c 655f 656e 756d 2073 7479 6c65 style_enum style │ │ │ -00069910: 290a 2020 2020 2020 2020 2222 220a 2020 ). """. │ │ │ -00069920: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00069930: 746b 2e46 6c5f 5379 735f 4d65 6e75 5f42 tk.Fl_Sys_Menu_B │ │ │ -00069940: 6172 5f77 696e 646f 775f 6d65 6e75 5f73 ar_window_menu_s │ │ │ -00069950: 7479 6c65 282a 6172 6773 290a 0a20 2020 tyle(*args).. │ │ │ -00069960: 2040 7374 6174 6963 6d65 7468 6f64 0a20 @staticmethod. │ │ │ -00069970: 2020 2064 6566 2063 7265 6174 655f 7769 def create_wi │ │ │ -00069980: 6e64 6f77 5f6d 656e 7528 2a61 7267 7329 ndow_menu(*args) │ │ │ -00069990: 3a0a 2020 2020 2020 2020 7222 2222 6372 :. r"""cr │ │ │ -000699a0: 6561 7465 5f77 696e 646f 775f 6d65 6e75 eate_window_menu │ │ │ -000699b0: 2829 2222 220a 2020 2020 2020 2020 7265 ()""". re │ │ │ -000699c0: 7475 726e 205f 666c 746b 2e46 6c5f 5379 turn _fltk.Fl_Sy │ │ │ -000699d0: 735f 4d65 6e75 5f42 6172 5f63 7265 6174 s_Menu_Bar_creat │ │ │ -000699e0: 655f 7769 6e64 6f77 5f6d 656e 7528 2a61 e_window_menu(*a │ │ │ -000699f0: 7267 7329 0a0a 2020 2020 6465 6620 696e rgs).. def in │ │ │ -00069a00: 6974 5f74 7970 6528 7365 6c66 2c20 2a61 it_type(self, *a │ │ │ -00069a10: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00069a20: 2222 696e 6974 5f74 7970 6528 466c 5f53 ""init_type(Fl_S │ │ │ -00069a30: 7973 5f4d 656e 755f 4261 7220 7365 6c66 ys_Menu_Bar self │ │ │ -00069a40: 2c20 6368 6172 202a 2046 6c5f 5379 735f , char * Fl_Sys_ │ │ │ -00069a50: 4d65 6e75 5f42 6172 2922 2222 0a20 2020 Menu_Bar)""". │ │ │ -00069a60: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -00069a70: 6b2e 466c 5f53 7973 5f4d 656e 755f 4261 k.Fl_Sys_Menu_Ba │ │ │ -00069a80: 725f 696e 6974 5f74 7970 6528 7365 6c66 r_init_type(self │ │ │ -00069a90: 2c20 2a61 7267 7329 0a20 2020 2064 6566 , *args). def │ │ │ -00069aa0: 205f 5f64 6973 6f77 6e5f 5f28 7365 6c66 __disown__(self │ │ │ -00069ab0: 293a 0a20 2020 2020 2020 2073 656c 662e ):. self. │ │ │ -00069ac0: 7468 6973 2e64 6973 6f77 6e28 290a 2020 this.disown(). │ │ │ -00069ad0: 2020 2020 2020 5f66 6c74 6b2e 6469 736f _fltk.diso │ │ │ -00069ae0: 776e 5f46 6c5f 5379 735f 4d65 6e75 5f42 wn_Fl_Sys_Menu_B │ │ │ -00069af0: 6172 2873 656c 6629 0a20 2020 2020 2020 ar(self). │ │ │ -00069b00: 2072 6574 7572 6e20 7765 616b 7265 662e return weakref. │ │ │ -00069b10: 7072 6f78 7928 7365 6c66 290a 0a23 2052 proxy(self)..# R │ │ │ -00069b20: 6567 6973 7465 7220 466c 5f53 7973 5f4d egister Fl_Sys_M │ │ │ -00069b30: 656e 755f 4261 7220 696e 205f 666c 746b enu_Bar in _fltk │ │ │ -00069b40: 3a0a 5f66 6c74 6b2e 466c 5f53 7973 5f4d :._fltk.Fl_Sys_M │ │ │ -00069b50: 656e 755f 4261 725f 7377 6967 7265 6769 enu_Bar_swigregi │ │ │ -00069b60: 7374 6572 2846 6c5f 5379 735f 4d65 6e75 ster(Fl_Sys_Menu │ │ │ -00069b70: 5f42 6172 290a 636c 6173 7320 466c 5f54 _Bar).class Fl_T │ │ │ -00069b80: 6162 6c65 2846 6c5f 4772 6f75 7029 3a0a able(Fl_Group):. │ │ │ -00069b90: 2020 2020 7222 2222 0a0a 2020 2020 5468 r""".. Th │ │ │ -00069ba0: 6973 2069 7320 7468 6520 6261 7365 2063 is is the base c │ │ │ -00069bb0: 6c61 7373 2066 6f72 2074 6162 6c65 2077 lass for table w │ │ │ -00069bc0: 6964 6765 7473 2e20 2865 672e 2046 6c5f idgets. (eg. Fl_ │ │ │ -00069bd0: 5461 626c 655f 526f 7729 2e20 546f 2062 Table_Row). To b │ │ │ -00069be0: 6520 7573 6566 756c 2069 7420 6d75 7374 e useful it must │ │ │ -00069bf0: 2062 6520 7375 6263 6c61 7373 6564 2061 be subclassed a │ │ │ -00069c00: 6e64 2073 6576 6572 616c 2076 6972 7475 nd several virtu │ │ │ -00069c10: 616c 2066 756e 6374 696f 6e73 2064 6566 al functions def │ │ │ -00069c20: 696e 6564 2e20 4e6f 726d 616c 6c79 2061 ined. Normally a │ │ │ -00069c30: 7070 6c69 6361 7469 6f6e 7320 7573 6520 pplications use │ │ │ -00069c40: 7769 6467 6574 7320 6465 7269 7665 6420 widgets derived │ │ │ -00069c50: 6672 6f6d 2074 6869 7320 7769 6467 6574 from this widget │ │ │ -00069c60: 2c20 616e 6420 646f 206e 6f74 2075 7365 , and do not use │ │ │ -00069c70: 2074 6869 7320 7769 6467 6574 2064 6972 this widget dir │ │ │ -00069c80: 6563 746c 793b 2074 6869 7320 7769 6467 ectly; this widg │ │ │ -00069c90: 6574 2069 7320 7573 7561 6c6c 7920 746f et is usually to │ │ │ -00069ca0: 6f20 6c6f 7720 6c65 7665 6c20 746f 2062 o low level to b │ │ │ -00069cb0: 6520 7573 6564 2064 6972 6563 746c 7920 e used directly │ │ │ -00069cc0: 6279 2061 7070 6c69 6361 7469 6f6e 732e by applications. │ │ │ -00069cd0: 0a0a 2020 2020 5468 6973 2077 6964 6765 .. This widge │ │ │ -00069ce0: 7420 646f 6573 206e 6f74 2068 616e 646c t does not handl │ │ │ -00069cf0: 6520 7468 6520 6461 7461 2069 6e20 7468 e the data in th │ │ │ -00069d00: 6520 7461 626c 652e 2054 6865 2064 7261 e table. The dra │ │ │ -00069d10: 775f 6365 6c6c 2829 206d 6574 686f 6420 w_cell() method │ │ │ -00069d20: 6d75 7374 2062 6520 6f76 6572 7269 6464 must be overridd │ │ │ -00069d30: 656e 2062 7920 6120 7375 6263 6c61 7373 en by a subclass │ │ │ -00069d40: 2074 6f20 6d61 6e61 6765 2064 7261 7769 to manage drawi │ │ │ -00069d50: 6e67 2074 6865 2063 6f6e 7465 6e74 7320 ng the contents │ │ │ -00069d60: 6f66 2074 6865 2063 656c 6c73 2e0a 0a20 of the cells... │ │ │ -00069d70: 2020 2054 6869 7320 7769 6467 6574 2063 This widget c │ │ │ -00069d80: 616e 2062 6520 7573 6564 2069 6e20 7365 an be used in se │ │ │ -00069d90: 7665 7261 6c20 7761 7973 3a0a 0a20 2020 veral ways:.. │ │ │ -00069da0: 2020 2020 202a 2041 7320 6120 6375 7374 * As a cust │ │ │ -00069db0: 6f6d 2077 6964 6765 743b 2073 6565 2074 om widget; see t │ │ │ -00069dc0: 6573 7474 6162 6c65 726f 772e 6378 782e esttablerow.cxx. │ │ │ -00069dd0: 2056 6572 7920 6f70 7469 6d61 6c20 666f Very optimal fo │ │ │ -00069de0: 7220 6576 656e 2065 7874 7265 6d65 6c79 r even extremely │ │ │ -00069df0: 206c 6172 6765 2074 6162 6c65 732e 0a0a large tables... │ │ │ -00069e00: 2020 2020 2020 2020 2a20 4173 2061 2074 * As a t │ │ │ -00069e10: 6162 6c65 206d 6164 6520 7570 206f 6620 able made up of │ │ │ -00069e20: 6120 7369 6e67 6c65 2046 4c54 4b20 7769 a single FLTK wi │ │ │ -00069e30: 6467 6574 2069 6e73 7461 6e63 6564 2061 dget instanced a │ │ │ -00069e40: 6c6c 206f 7665 7220 7468 6520 7461 626c ll over the tabl │ │ │ -00069e50: 653b 2073 6565 2073 696e 676c 6569 6e70 e; see singleinp │ │ │ -00069e60: 7574 2e63 7878 2e20 5665 7279 206f 7074 ut.cxx. Very opt │ │ │ -00069e70: 696d 616c 2066 6f72 2065 7665 6e20 6578 imal for even ex │ │ │ -00069e80: 7472 656d 656c 7920 6c61 7267 6520 7461 tremely large ta │ │ │ -00069e90: 626c 6573 3b0a 0a20 2020 2020 2020 202a bles;.. * │ │ │ -00069ea0: 2041 7320 6120 7265 6775 6c61 7220 636f As a regular co │ │ │ -00069eb0: 6e74 6169 6e65 7220 6f66 2046 4c54 4b20 ntainer of FLTK │ │ │ -00069ec0: 7769 6467 6574 732c 206f 6e65 2077 6964 widgets, one wid │ │ │ -00069ed0: 6765 7420 7065 7220 6365 6c6c 2e20 5365 get per cell. Se │ │ │ -00069ee0: 6520 7769 6467 6574 7461 626c 652e 6378 e widgettable.cx │ │ │ -00069ef0: 782e 204e 6f74 2072 6563 6f6d 6d65 6e64 x. Not recommend │ │ │ -00069f00: 6564 2066 6f72 206c 6172 6765 2074 6162 ed for large tab │ │ │ -00069f10: 6c65 732e 0a0a 2020 2020 5768 656e 2061 les... When a │ │ │ -00069f20: 6374 696e 6720 6173 2070 6172 7420 6f66 cting as part of │ │ │ -00069f30: 2061 2063 7573 746f 6d20 7769 6467 6574 a custom widget │ │ │ -00069f40: 2c20 6576 656e 7473 206f 6e20 7468 6520 , events on the │ │ │ -00069f50: 6365 6c6c 7320 616e 642f 6f72 2068 6561 cells and/or hea │ │ │ -00069f60: 6469 6e67 7320 6765 6e65 7261 7465 2063 dings generate c │ │ │ -00069f70: 616c 6c62 6163 6b73 2077 6865 6e20 7468 allbacks when th │ │ │ -00069f80: 6579 2061 7265 2063 6c69 636b 6564 2062 ey are clicked b │ │ │ -00069f90: 7920 7468 6520 7573 6572 2e20 596f 7520 y the user. You │ │ │ -00069fa0: 636f 6e74 726f 6c20 7768 656e 2065 7665 control when eve │ │ │ -00069fb0: 6e74 7320 6172 6520 6765 6e65 7261 7465 nts are generate │ │ │ -00069fc0: 6420 6261 7365 6420 6f6e 2074 6865 2073 d based on the s │ │ │ -00069fd0: 6574 7469 6e67 2066 6f72 2046 6c5f 5461 etting for Fl_Ta │ │ │ -00069fe0: 626c 653a 3a77 6865 6e28 292e 0a0a 2020 ble::when()... │ │ │ -00069ff0: 2020 5768 656e 2061 6374 696e 6720 6173 When acting as │ │ │ -0006a000: 2061 2063 6f6e 7461 696e 6572 2066 6f72 a container for │ │ │ -0006a010: 2046 4c54 4b20 7769 6467 6574 732c 2074 FLTK widgets, t │ │ │ -0006a020: 6865 2046 4c54 4b20 7769 6467 6574 7320 he FLTK widgets │ │ │ -0006a030: 6d61 696e 7461 696e 2074 6865 6d73 656c maintain themsel │ │ │ -0006a040: 7665 732e 2041 6c74 686f 7567 6820 7468 ves. Although th │ │ │ -0006a050: 6520 6472 6177 5f63 656c 6c28 2920 6d65 e draw_cell() me │ │ │ -0006a060: 7468 6f64 206d 7573 7420 6265 206f 7665 thod must be ove │ │ │ -0006a070: 7272 6964 6465 6e2c 2069 7473 2063 6f6e rridden, its con │ │ │ -0006a080: 7465 6e74 7320 6361 6e20 6265 2076 6572 tents can be ver │ │ │ -0006a090: 7920 7369 6d70 6c65 2e20 5365 6520 7468 y simple. See th │ │ │ -0006a0a0: 6520 6472 6177 5f63 656c 6c28 2920 636f e draw_cell() co │ │ │ -0006a0b0: 6465 2069 6e20 7769 6467 6574 7461 626c de in widgettabl │ │ │ -0006a0c0: 652e 6378 782e 200a 0a20 2020 2022 2222 e.cxx. .. """ │ │ │ -0006a0d0: 0a0a 2020 2020 7468 6973 6f77 6e20 3d20 .. thisown = │ │ │ -0006a0e0: 7072 6f70 6572 7479 286c 616d 6264 6120 property(lambda │ │ │ -0006a0f0: 783a 2078 2e74 6869 732e 6f77 6e28 292c x: x.this.own(), │ │ │ -0006a100: 206c 616d 6264 6120 782c 2076 3a20 782e lambda x, v: x. │ │ │ -0006a110: 7468 6973 2e6f 776e 2876 292c 2064 6f63 this.own(v), doc │ │ │ -0006a120: 3d22 5468 6520 6d65 6d62 6572 7368 6970 ="The membership │ │ │ -0006a130: 2066 6c61 6722 290a 2020 2020 5f5f 7265 flag"). __re │ │ │ -0006a140: 7072 5f5f 203d 205f 7377 6967 5f72 6570 pr__ = _swig_rep │ │ │ -0006a150: 720a 2020 2020 434f 4e54 4558 545f 4e4f r. CONTEXT_NO │ │ │ -0006a160: 4e45 203d 205f 666c 746b 2e46 6c5f 5461 NE = _fltk.Fl_Ta │ │ │ -0006a170: 626c 655f 434f 4e54 4558 545f 4e4f 4e45 ble_CONTEXT_NONE │ │ │ -0006a180: 0a20 2020 200a 2020 2020 434f 4e54 4558 . . CONTEX │ │ │ -0006a190: 545f 5354 4152 5450 4147 4520 3d20 5f66 T_STARTPAGE = _f │ │ │ -0006a1a0: 6c74 6b2e 466c 5f54 6162 6c65 5f43 4f4e ltk.Fl_Table_CON │ │ │ -0006a1b0: 5445 5854 5f53 5441 5254 5041 4745 0a20 TEXT_STARTPAGE. │ │ │ -0006a1c0: 2020 200a 2020 2020 434f 4e54 4558 545f . CONTEXT_ │ │ │ -0006a1d0: 454e 4450 4147 4520 3d20 5f66 6c74 6b2e ENDPAGE = _fltk. │ │ │ -0006a1e0: 466c 5f54 6162 6c65 5f43 4f4e 5445 5854 Fl_Table_CONTEXT │ │ │ -0006a1f0: 5f45 4e44 5041 4745 0a20 2020 200a 2020 _ENDPAGE. . │ │ │ -0006a200: 2020 434f 4e54 4558 545f 524f 575f 4845 CONTEXT_ROW_HE │ │ │ -0006a210: 4144 4552 203d 205f 666c 746b 2e46 6c5f ADER = _fltk.Fl_ │ │ │ -0006a220: 5461 626c 655f 434f 4e54 4558 545f 524f Table_CONTEXT_RO │ │ │ -0006a230: 575f 4845 4144 4552 0a20 2020 200a 2020 W_HEADER. . │ │ │ -0006a240: 2020 434f 4e54 4558 545f 434f 4c5f 4845 CONTEXT_COL_HE │ │ │ -0006a250: 4144 4552 203d 205f 666c 746b 2e46 6c5f ADER = _fltk.Fl_ │ │ │ -0006a260: 5461 626c 655f 434f 4e54 4558 545f 434f Table_CONTEXT_CO │ │ │ -0006a270: 4c5f 4845 4144 4552 0a20 2020 200a 2020 L_HEADER. . │ │ │ -0006a280: 2020 434f 4e54 4558 545f 4345 4c4c 203d CONTEXT_CELL = │ │ │ -0006a290: 205f 666c 746b 2e46 6c5f 5461 626c 655f _fltk.Fl_Table_ │ │ │ -0006a2a0: 434f 4e54 4558 545f 4345 4c4c 0a20 2020 CONTEXT_CELL. │ │ │ -0006a2b0: 200a 2020 2020 434f 4e54 4558 545f 5441 . CONTEXT_TA │ │ │ -0006a2c0: 424c 4520 3d20 5f66 6c74 6b2e 466c 5f54 BLE = _fltk.Fl_T │ │ │ -0006a2d0: 6162 6c65 5f43 4f4e 5445 5854 5f54 4142 able_CONTEXT_TAB │ │ │ -0006a2e0: 4c45 0a20 2020 200a 2020 2020 434f 4e54 LE. . CONT │ │ │ -0006a2f0: 4558 545f 5243 5f52 4553 495a 4520 3d20 EXT_RC_RESIZE = │ │ │ -0006a300: 5f66 6c74 6b2e 466c 5f54 6162 6c65 5f43 _fltk.Fl_Table_C │ │ │ -0006a310: 4f4e 5445 5854 5f52 435f 5245 5349 5a45 ONTEXT_RC_RESIZE │ │ │ -0006a320: 0a20 2020 200a 0a20 2020 2064 6566 2068 . .. def h │ │ │ -0006a330: 616e 646c 6528 7365 6c66 2c20 2a61 7267 andle(self, *arg │ │ │ -0006a340: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0006a350: 6861 6e64 6c65 2846 6c5f 5461 626c 6520 handle(Fl_Table │ │ │ -0006a360: 7365 6c66 2c20 696e 7420 6529 202d 3e20 self, int e) -> │ │ │ -0006a370: 696e 7422 2222 0a20 2020 2020 2020 2072 int""". r │ │ │ -0006a380: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -0006a390: 6162 6c65 5f68 616e 646c 6528 7365 6c66 able_handle(self │ │ │ -0006a3a0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -0006a3b0: 6620 6472 6177 5f63 656c 6c28 7365 6c66 f draw_cell(self │ │ │ -0006a3c0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -0006a3d0: 2020 7222 2222 6472 6177 5f63 656c 6c28 r"""draw_cell( │ │ │ -0006a3e0: 466c 5f54 6162 6c65 2073 656c 662c 2046 Fl_Table self, F │ │ │ -0006a3f0: 6c5f 5461 626c 653a 3a54 6162 6c65 436f l_Table::TableCo │ │ │ -0006a400: 6e74 6578 7420 636f 6e74 6578 742c 2069 ntext context, i │ │ │ -0006a410: 6e74 2052 3d30 2c20 696e 7420 433d 302c nt R=0, int C=0, │ │ │ -0006a420: 2069 6e74 2058 3d30 2c20 696e 7420 593d int X=0, int Y= │ │ │ -0006a430: 302c 2069 6e74 2057 3d30 2c20 696e 7420 0, int W=0, int │ │ │ -0006a440: 483d 3029 2222 220a 2020 2020 2020 2020 H=0)""". │ │ │ -0006a450: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -0006a460: 5461 626c 655f 6472 6177 5f63 656c 6c28 Table_draw_cell( │ │ │ -0006a470: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -0006a480: 2020 6465 6620 6472 6177 2873 656c 662c def draw(self, │ │ │ -0006a490: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -0006a4a0: 2072 2222 2264 7261 7728 466c 5f54 6162 r"""draw(Fl_Tab │ │ │ -0006a4b0: 6c65 2073 656c 6629 2222 220a 2020 2020 le self)""". │ │ │ -0006a4c0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -0006a4d0: 2e46 6c5f 5461 626c 655f 6472 6177 2873 .Fl_Table_draw(s │ │ │ -0006a4e0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -0006a4f0: 2064 6566 205f 5f69 6e69 745f 5f28 7365 def __init__(se │ │ │ -0006a500: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -0006a510: 2020 2020 7222 2222 5f5f 696e 6974 5f5f r"""__init__ │ │ │ -0006a520: 2846 6c5f 5461 626c 6520 7365 6c66 2c20 (Fl_Table self, │ │ │ -0006a530: 696e 7420 582c 2069 6e74 2059 2c20 696e int X, int Y, in │ │ │ -0006a540: 7420 572c 2069 6e74 2048 2c20 6368 6172 t W, int H, char │ │ │ -0006a550: 2063 6f6e 7374 202a 206c 3d4e 6f6e 6529 const * l=None) │ │ │ -0006a560: 202d 3e20 466c 5f54 6162 6c65 2222 220a -> Fl_Table""". │ │ │ -0006a570: 2020 2020 2020 2020 6966 2073 656c 662e if self. │ │ │ -0006a580: 5f5f 636c 6173 735f 5f20 3d3d 2046 6c5f __class__ == Fl_ │ │ │ -0006a590: 5461 626c 653a 0a20 2020 2020 2020 2020 Table:. │ │ │ -0006a5a0: 2020 205f 7365 6c66 203d 204e 6f6e 650a _self = None. │ │ │ -0006a5b0: 2020 2020 2020 2020 656c 7365 3a0a 2020 else:. │ │ │ -0006a5c0: 2020 2020 2020 2020 2020 5f73 656c 6620 _self │ │ │ -0006a5d0: 3d20 7365 6c66 0a20 2020 2020 2020 205f = self. _ │ │ │ -0006a5e0: 666c 746b 2e46 6c5f 5461 626c 655f 7377 fltk.Fl_Table_sw │ │ │ -0006a5f0: 6967 696e 6974 2873 656c 662c 205f 666c iginit(self, _fl │ │ │ -0006a600: 746b 2e6e 6577 5f46 6c5f 5461 626c 6528 tk.new_Fl_Table( │ │ │ -0006a610: 5f73 656c 662c 202a 6172 6773 2929 0a0a _self, *args)).. │ │ │ -0006a620: 2020 2020 2020 2020 6966 206c 656e 2861 if len(a │ │ │ -0006a630: 7267 7329 203d 3d20 353a 2020 2020 2020 rgs) == 5: │ │ │ -0006a640: 2020 2020 0a20 2020 2020 2020 2023 7265 . #re │ │ │ -0006a650: 7461 696e 2072 6566 6572 656e 6365 2074 tain reference t │ │ │ -0006a660: 6f20 6c61 6265 6c0a 2020 2020 2020 2020 o label. │ │ │ -0006a670: 2020 2020 7365 6c66 2e6d 795f 6c61 6265 self.my_labe │ │ │ -0006a680: 6c20 3d20 6172 6773 5b2d 315d 0a20 2020 l = args[-1]. │ │ │ -0006a690: 2020 2020 2069 6620 7365 6c66 2e70 6172 if self.par │ │ │ -0006a6a0: 656e 7428 2920 213d 204e 6f6e 653a 2020 ent() != None: │ │ │ -0006a6b0: 200a 2020 2020 2020 2020 2364 656c 6567 . #deleg │ │ │ -0006a6c0: 6174 6520 6f77 6e65 7273 6869 7020 746f ate ownership to │ │ │ -0006a6d0: 2043 2b2b 0a20 2020 2020 2020 2020 2020 C++. │ │ │ -0006a6e0: 2073 656c 662e 7468 6973 2e64 6973 6f77 self.this.disow │ │ │ -0006a6f0: 6e28 290a 2020 2020 2020 2020 7365 6c66 n(). self │ │ │ -0006a700: 2e69 6e69 745f 7479 7065 2822 466c 5f54 .init_type("Fl_T │ │ │ -0006a710: 6162 6c65 2229 0a20 2020 2020 2020 2023 able"). # │ │ │ -0006a720: 7072 696e 7428 2241 6464 696e 6720 7479 print("Adding ty │ │ │ -0006a730: 7065 3a20 222c 2046 6c5f 5461 626c 6529 pe: ", Fl_Table) │ │ │ -0006a740: 0a0a 0a0a 2020 2020 5f5f 7377 6967 5f64 .... __swig_d │ │ │ -0006a750: 6573 7472 6f79 5f5f 203d 205f 666c 746b estroy__ = _fltk │ │ │ -0006a760: 2e64 656c 6574 655f 466c 5f54 6162 6c65 .delete_Fl_Table │ │ │ -0006a770: 0a0a 2020 2020 6465 6620 636c 6561 7228 .. def clear( │ │ │ -0006a780: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -0006a790: 2020 2020 2020 7222 2222 636c 6561 7228 r"""clear( │ │ │ -0006a7a0: 466c 5f54 6162 6c65 2073 656c 6629 2222 Fl_Table self)"" │ │ │ -0006a7b0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -0006a7c0: 205f 666c 746b 2e46 6c5f 5461 626c 655f _fltk.Fl_Table_ │ │ │ -0006a7d0: 636c 6561 7228 7365 6c66 2c20 2a61 7267 clear(self, *arg │ │ │ -0006a7e0: 7329 0a0a 2020 2020 6465 6620 7461 626c s).. def tabl │ │ │ -0006a7f0: 655f 626f 7828 7365 6c66 2c20 2a61 7267 e_box(self, *arg │ │ │ -0006a800: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0006a810: 0a20 2020 2020 2020 2074 6162 6c65 5f62 . table_b │ │ │ -0006a820: 6f78 2846 6c5f 5461 626c 6520 7365 6c66 ox(Fl_Table self │ │ │ -0006a830: 2c20 466c 5f42 6f78 7479 7065 2076 616c , Fl_Boxtype val │ │ │ -0006a840: 290a 2020 2020 2020 2020 7461 626c 655f ). table_ │ │ │ -0006a850: 626f 7828 466c 5f54 6162 6c65 2073 656c box(Fl_Table sel │ │ │ -0006a860: 6629 202d 3e20 466c 5f42 6f78 7479 7065 f) -> Fl_Boxtype │ │ │ -0006a870: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ -0006a880: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -0006a890: 6b2e 466c 5f54 6162 6c65 5f74 6162 6c65 k.Fl_Table_table │ │ │ -0006a8a0: 5f62 6f78 2873 656c 662c 202a 6172 6773 _box(self, *args │ │ │ -0006a8b0: 290a 0a20 2020 2064 6566 2072 6f77 7328 ).. def rows( │ │ │ -0006a8c0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -0006a8d0: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ -0006a8e0: 2020 2072 6f77 7328 466c 5f54 6162 6c65 rows(Fl_Table │ │ │ -0006a8f0: 2073 656c 662c 2069 6e74 2076 616c 290a self, int val). │ │ │ -0006a900: 2020 2020 2020 2020 726f 7773 2846 6c5f rows(Fl_ │ │ │ -0006a910: 5461 626c 6520 7365 6c66 2920 2d3e 2069 Table self) -> i │ │ │ -0006a920: 6e74 0a20 2020 2020 2020 2022 2222 0a20 nt. """. │ │ │ -0006a930: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -0006a940: 6c74 6b2e 466c 5f54 6162 6c65 5f72 6f77 ltk.Fl_Table_row │ │ │ -0006a950: 7328 7365 6c66 2c20 2a61 7267 7329 0a0a s(self, *args).. │ │ │ -0006a960: 2020 2020 6465 6620 636f 6c73 2873 656c def cols(sel │ │ │ -0006a970: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -0006a980: 2020 2072 2222 220a 2020 2020 2020 2020 r""". │ │ │ -0006a990: 636f 6c73 2846 6c5f 5461 626c 6520 7365 cols(Fl_Table se │ │ │ -0006a9a0: 6c66 2c20 696e 7420 7661 6c29 0a20 2020 lf, int val). │ │ │ -0006a9b0: 2020 2020 2063 6f6c 7328 466c 5f54 6162 cols(Fl_Tab │ │ │ -0006a9c0: 6c65 2073 656c 6629 202d 3e20 696e 740a le self) -> int. │ │ │ -0006a9d0: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ -0006a9e0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -0006a9f0: 2e46 6c5f 5461 626c 655f 636f 6c73 2873 .Fl_Table_cols(s │ │ │ -0006aa00: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -0006aa10: 2064 6566 2076 6973 6962 6c65 5f63 656c def visible_cel │ │ │ -0006aa20: 6c73 2873 656c 662c 202a 6172 6773 293a ls(self, *args): │ │ │ -0006aa30: 0a20 2020 2020 2020 2072 2222 2276 6973 . r"""vis │ │ │ -0006aa40: 6962 6c65 5f63 656c 6c73 2846 6c5f 5461 ible_cells(Fl_Ta │ │ │ -0006aa50: 626c 6520 7365 6c66 2922 2222 0a20 2020 ble self)""". │ │ │ -0006aa60: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -0006aa70: 6b2e 466c 5f54 6162 6c65 5f76 6973 6962 k.Fl_Table_visib │ │ │ -0006aa80: 6c65 5f63 656c 6c73 2873 656c 662c 202a le_cells(self, * │ │ │ -0006aa90: 6172 6773 290a 0a20 2020 2064 6566 2069 args).. def i │ │ │ -0006aaa0: 735f 696e 7465 7261 6374 6976 655f 7265 s_interactive_re │ │ │ -0006aab0: 7369 7a65 2873 656c 662c 202a 6172 6773 size(self, *args │ │ │ -0006aac0: 293a 0a20 2020 2020 2020 2072 2222 2269 ):. r"""i │ │ │ -0006aad0: 735f 696e 7465 7261 6374 6976 655f 7265 s_interactive_re │ │ │ -0006aae0: 7369 7a65 2846 6c5f 5461 626c 6520 7365 size(Fl_Table se │ │ │ -0006aaf0: 6c66 2920 2d3e 2069 6e74 2222 220a 2020 lf) -> int""". │ │ │ -0006ab00: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -0006ab10: 746b 2e46 6c5f 5461 626c 655f 6973 5f69 tk.Fl_Table_is_i │ │ │ -0006ab20: 6e74 6572 6163 7469 7665 5f72 6573 697a nteractive_resiz │ │ │ -0006ab30: 6528 7365 6c66 2c20 2a61 7267 7329 0a0a e(self, *args).. │ │ │ -0006ab40: 2020 2020 6465 6620 726f 775f 7265 7369 def row_resi │ │ │ -0006ab50: 7a65 2873 656c 662c 202a 6172 6773 293a ze(self, *args): │ │ │ -0006ab60: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ -0006ab70: 2020 2020 2020 726f 775f 7265 7369 7a65 row_resize │ │ │ -0006ab80: 2846 6c5f 5461 626c 6520 7365 6c66 2920 (Fl_Table self) │ │ │ -0006ab90: 2d3e 2069 6e74 0a20 2020 2020 2020 2072 -> int. r │ │ │ -0006aba0: 6f77 5f72 6573 697a 6528 466c 5f54 6162 ow_resize(Fl_Tab │ │ │ -0006abb0: 6c65 2073 656c 662c 2069 6e74 2066 6c61 le self, int fla │ │ │ -0006abc0: 6729 0a20 2020 2020 2020 2022 2222 0a20 g). """. │ │ │ -0006abd0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -0006abe0: 6c74 6b2e 466c 5f54 6162 6c65 5f72 6f77 ltk.Fl_Table_row │ │ │ -0006abf0: 5f72 6573 697a 6528 7365 6c66 2c20 2a61 _resize(self, *a │ │ │ -0006ac00: 7267 7329 0a0a 2020 2020 6465 6620 636f rgs).. def co │ │ │ -0006ac10: 6c5f 7265 7369 7a65 2873 656c 662c 202a l_resize(self, * │ │ │ -0006ac20: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -0006ac30: 2222 220a 2020 2020 2020 2020 636f 6c5f """. col_ │ │ │ -0006ac40: 7265 7369 7a65 2846 6c5f 5461 626c 6520 resize(Fl_Table │ │ │ -0006ac50: 7365 6c66 2920 2d3e 2069 6e74 0a20 2020 self) -> int. │ │ │ -0006ac60: 2020 2020 2063 6f6c 5f72 6573 697a 6528 col_resize( │ │ │ -0006ac70: 466c 5f54 6162 6c65 2073 656c 662c 2069 Fl_Table self, i │ │ │ -0006ac80: 6e74 2066 6c61 6729 0a20 2020 2020 2020 nt flag). │ │ │ -0006ac90: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ -0006aca0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6162 urn _fltk.Fl_Tab │ │ │ -0006acb0: 6c65 5f63 6f6c 5f72 6573 697a 6528 7365 le_col_resize(se │ │ │ -0006acc0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -0006acd0: 6465 6620 636f 6c5f 7265 7369 7a65 5f6d def col_resize_m │ │ │ -0006ace0: 696e 2873 656c 662c 202a 6172 6773 293a in(self, *args): │ │ │ -0006acf0: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ -0006ad00: 2020 2020 2020 636f 6c5f 7265 7369 7a65 col_resize │ │ │ -0006ad10: 5f6d 696e 2846 6c5f 5461 626c 6520 7365 _min(Fl_Table se │ │ │ -0006ad20: 6c66 2920 2d3e 2069 6e74 0a20 2020 2020 lf) -> int. │ │ │ +00068020: 7220 7365 6c66 2c20 696e 7420 6d29 0a20 r self, int m). │ │ │ +00068030: 2020 2020 2020 206d 6178 696d 756d 5f73 maximum_s │ │ │ +00068040: 697a 6528 466c 5f53 7069 6e6e 6572 2073 ize(Fl_Spinner s │ │ │ +00068050: 656c 6629 202d 3e20 696e 740a 2020 2020 elf) -> int. │ │ │ +00068060: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ +00068070: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +00068080: 5370 696e 6e65 725f 6d61 7869 6d75 6d5f Spinner_maximum_ │ │ │ +00068090: 7369 7a65 2873 656c 662c 202a 6172 6773 size(self, *args │ │ │ +000680a0: 290a 0a20 2020 2064 6566 2069 6e69 745f ).. def init_ │ │ │ +000680b0: 7479 7065 2873 656c 662c 202a 6172 6773 type(self, *args │ │ │ +000680c0: 293a 0a20 2020 2020 2020 2072 2222 2269 ):. r"""i │ │ │ +000680d0: 6e69 745f 7479 7065 2846 6c5f 5370 696e nit_type(Fl_Spin │ │ │ +000680e0: 6e65 7220 7365 6c66 2c20 6368 6172 202a ner self, char * │ │ │ +000680f0: 2046 6c5f 5370 696e 6e65 7229 2222 220a Fl_Spinner)""". │ │ │ +00068100: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +00068110: 666c 746b 2e46 6c5f 5370 696e 6e65 725f fltk.Fl_Spinner_ │ │ │ +00068120: 696e 6974 5f74 7970 6528 7365 6c66 2c20 init_type(self, │ │ │ +00068130: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +00068140: 6d69 6e69 6d75 6d28 7365 6c66 2c20 2a61 minimum(self, *a │ │ │ +00068150: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00068160: 2222 0a20 2020 2020 2020 206d 696e 696d "". minim │ │ │ +00068170: 756d 2846 6c5f 5370 696e 6e65 7220 7365 um(Fl_Spinner se │ │ │ +00068180: 6c66 2c20 646f 7562 6c65 206d 290a 2020 lf, double m). │ │ │ +00068190: 2020 2020 2020 6d69 6e69 6d75 6d28 466c minimum(Fl │ │ │ +000681a0: 5f53 7069 6e6e 6572 2073 656c 6629 202d _Spinner self) - │ │ │ +000681b0: 3e20 646f 7562 6c65 0a20 2020 2020 2020 > double. │ │ │ +000681c0: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ +000681d0: 7572 6e20 5f66 6c74 6b2e 466c 5f53 7069 urn _fltk.Fl_Spi │ │ │ +000681e0: 6e6e 6572 5f6d 696e 696d 756d 2873 656c nner_minimum(sel │ │ │ +000681f0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +00068200: 6566 206d 6178 696d 756d 2873 656c 662c ef maximum(self, │ │ │ +00068210: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00068220: 2072 2222 220a 2020 2020 2020 2020 6d61 r""". ma │ │ │ +00068230: 7869 6d75 6d28 466c 5f53 7069 6e6e 6572 ximum(Fl_Spinner │ │ │ +00068240: 2073 656c 662c 2064 6f75 626c 6520 6d29 self, double m) │ │ │ +00068250: 0a20 2020 2020 2020 206d 6178 696d 756d . maximum │ │ │ +00068260: 2846 6c5f 5370 696e 6e65 7220 7365 6c66 (Fl_Spinner self │ │ │ +00068270: 2920 2d3e 2064 6f75 626c 650a 2020 2020 ) -> double. │ │ │ +00068280: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ +00068290: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +000682a0: 5370 696e 6e65 725f 6d61 7869 6d75 6d28 Spinner_maximum( │ │ │ +000682b0: 7365 6c66 2c20 2a61 7267 7329 0a20 2020 self, *args). │ │ │ +000682c0: 205f 5f73 7769 675f 6465 7374 726f 795f __swig_destroy_ │ │ │ +000682d0: 5f20 3d20 5f66 6c74 6b2e 6465 6c65 7465 _ = _fltk.delete │ │ │ +000682e0: 5f46 6c5f 5370 696e 6e65 720a 2020 2020 _Fl_Spinner. │ │ │ +000682f0: 6465 6620 5f5f 6469 736f 776e 5f5f 2873 def __disown__(s │ │ │ +00068300: 656c 6629 3a0a 2020 2020 2020 2020 7365 elf):. se │ │ │ +00068310: 6c66 2e74 6869 732e 6469 736f 776e 2829 lf.this.disown() │ │ │ +00068320: 0a20 2020 2020 2020 205f 666c 746b 2e64 . _fltk.d │ │ │ +00068330: 6973 6f77 6e5f 466c 5f53 7069 6e6e 6572 isown_Fl_Spinner │ │ │ +00068340: 2873 656c 6629 0a20 2020 2020 2020 2072 (self). r │ │ │ +00068350: 6574 7572 6e20 7765 616b 7265 662e 7072 eturn weakref.pr │ │ │ +00068360: 6f78 7928 7365 6c66 290a 0a23 2052 6567 oxy(self)..# Reg │ │ │ +00068370: 6973 7465 7220 466c 5f53 7069 6e6e 6572 ister Fl_Spinner │ │ │ +00068380: 2069 6e20 5f66 6c74 6b3a 0a5f 666c 746b in _fltk:._fltk │ │ │ +00068390: 2e46 6c5f 5370 696e 6e65 725f 7377 6967 .Fl_Spinner_swig │ │ │ +000683a0: 7265 6769 7374 6572 2846 6c5f 5370 696e register(Fl_Spin │ │ │ +000683b0: 6e65 7229 0a0a 6465 6620 666c 5f73 686f ner)..def fl_sho │ │ │ +000683c0: 775f 636f 6c6f 726d 6170 282a 6172 6773 w_colormap(*args │ │ │ +000683d0: 293a 0a20 2020 2072 2222 2266 6c5f 7368 ):. r"""fl_sh │ │ │ +000683e0: 6f77 5f63 6f6c 6f72 6d61 7028 466c 5f43 ow_colormap(Fl_C │ │ │ +000683f0: 6f6c 6f72 206f 6c64 636f 6c29 202d 3e20 olor oldcol) -> │ │ │ +00068400: 466c 5f43 6f6c 6f72 2222 220a 2020 2020 Fl_Color""". │ │ │ +00068410: 7265 7475 726e 205f 666c 746b 2e66 6c5f return _fltk.fl_ │ │ │ +00068420: 7368 6f77 5f63 6f6c 6f72 6d61 7028 2a61 show_colormap(*a │ │ │ +00068430: 7267 7329 0a63 6c61 7373 2046 6c5f 5369 rgs).class Fl_Si │ │ │ +00068440: 6d70 6c65 5f43 6f75 6e74 6572 2846 6c5f mple_Counter(Fl_ │ │ │ +00068450: 436f 756e 7465 7229 3a0a 2020 2020 7222 Counter):. r" │ │ │ +00068460: 2222 5072 6f78 7920 6f66 2043 2b2b 2046 ""Proxy of C++ F │ │ │ +00068470: 6c5f 5369 6d70 6c65 5f43 6f75 6e74 6572 l_Simple_Counter │ │ │ +00068480: 2063 6c61 7373 2e22 2222 0a0a 2020 2020 class.""".. │ │ │ +00068490: 7468 6973 6f77 6e20 3d20 7072 6f70 6572 thisown = proper │ │ │ +000684a0: 7479 286c 616d 6264 6120 783a 2078 2e74 ty(lambda x: x.t │ │ │ +000684b0: 6869 732e 6f77 6e28 292c 206c 616d 6264 his.own(), lambd │ │ │ +000684c0: 6120 782c 2076 3a20 782e 7468 6973 2e6f a x, v: x.this.o │ │ │ +000684d0: 776e 2876 292c 2064 6f63 3d22 5468 6520 wn(v), doc="The │ │ │ +000684e0: 6d65 6d62 6572 7368 6970 2066 6c61 6722 membership flag" │ │ │ +000684f0: 290a 2020 2020 5f5f 7265 7072 5f5f 203d ). __repr__ = │ │ │ +00068500: 205f 7377 6967 5f72 6570 720a 0a20 2020 _swig_repr.. │ │ │ +00068510: 2064 6566 205f 5f69 6e69 745f 5f28 7365 def __init__(se │ │ │ +00068520: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +00068530: 2020 2020 7222 2222 5f5f 696e 6974 5f5f r"""__init__ │ │ │ +00068540: 2846 6c5f 5369 6d70 6c65 5f43 6f75 6e74 (Fl_Simple_Count │ │ │ +00068550: 6572 2073 656c 662c 2069 6e74 2058 2c20 er self, int X, │ │ │ +00068560: 696e 7420 592c 2069 6e74 2057 2c20 696e int Y, int W, in │ │ │ +00068570: 7420 482c 2063 6861 7220 636f 6e73 7420 t H, char const │ │ │ +00068580: 2a20 4c3d 4e6f 6e65 2920 2d3e 2046 6c5f * L=None) -> Fl_ │ │ │ +00068590: 5369 6d70 6c65 5f43 6f75 6e74 6572 2222 Simple_Counter"" │ │ │ +000685a0: 220a 2020 2020 2020 2020 6966 2073 656c ". if sel │ │ │ +000685b0: 662e 5f5f 636c 6173 735f 5f20 3d3d 2046 f.__class__ == F │ │ │ +000685c0: 6c5f 5369 6d70 6c65 5f43 6f75 6e74 6572 l_Simple_Counter │ │ │ +000685d0: 3a0a 2020 2020 2020 2020 2020 2020 5f73 :. _s │ │ │ +000685e0: 656c 6620 3d20 4e6f 6e65 0a20 2020 2020 elf = None. │ │ │ +000685f0: 2020 2065 6c73 653a 0a20 2020 2020 2020 else:. │ │ │ +00068600: 2020 2020 205f 7365 6c66 203d 2073 656c _self = sel │ │ │ +00068610: 660a 2020 2020 2020 2020 5f66 6c74 6b2e f. _fltk. │ │ │ +00068620: 466c 5f53 696d 706c 655f 436f 756e 7465 Fl_Simple_Counte │ │ │ +00068630: 725f 7377 6967 696e 6974 2873 656c 662c r_swiginit(self, │ │ │ +00068640: 205f 666c 746b 2e6e 6577 5f46 6c5f 5369 _fltk.new_Fl_Si │ │ │ +00068650: 6d70 6c65 5f43 6f75 6e74 6572 285f 7365 mple_Counter(_se │ │ │ +00068660: 6c66 2c20 2a61 7267 7329 290a 0a20 2020 lf, *args)).. │ │ │ +00068670: 2020 2020 2069 6620 6c65 6e28 6172 6773 if len(args │ │ │ +00068680: 2920 3d3d 2035 3a20 2020 2020 2020 2020 ) == 5: │ │ │ +00068690: 200a 2020 2020 2020 2020 2372 6574 6169 . #retai │ │ │ +000686a0: 6e20 7265 6665 7265 6e63 6520 746f 206c n reference to l │ │ │ +000686b0: 6162 656c 0a20 2020 2020 2020 2020 2020 abel. │ │ │ +000686c0: 2073 656c 662e 6d79 5f6c 6162 656c 203d self.my_label = │ │ │ +000686d0: 2061 7267 735b 2d31 5d0a 2020 2020 2020 args[-1]. │ │ │ +000686e0: 2020 6966 2073 656c 662e 7061 7265 6e74 if self.parent │ │ │ +000686f0: 2829 2021 3d20 4e6f 6e65 3a20 2020 0a20 () != None: . │ │ │ +00068700: 2020 2020 2020 2023 6465 6c65 6761 7465 #delegate │ │ │ +00068710: 206f 776e 6572 7368 6970 2074 6f20 432b ownership to C+ │ │ │ +00068720: 2b0a 2020 2020 2020 2020 2020 2020 7365 +. se │ │ │ +00068730: 6c66 2e74 6869 732e 6469 736f 776e 2829 lf.this.disown() │ │ │ +00068740: 0a20 2020 2020 2020 2073 656c 662e 696e . self.in │ │ │ +00068750: 6974 5f74 7970 6528 2246 6c5f 5369 6d70 it_type("Fl_Simp │ │ │ +00068760: 6c65 5f43 6f75 6e74 6572 2229 0a20 2020 le_Counter"). │ │ │ +00068770: 2020 2020 2023 7072 696e 7428 2241 6464 #print("Add │ │ │ +00068780: 696e 6720 7479 7065 3a20 222c 2046 6c5f ing type: ", Fl_ │ │ │ +00068790: 5369 6d70 6c65 5f43 6f75 6e74 6572 290a Simple_Counter). │ │ │ +000687a0: 0a0a 0a0a 2020 2020 6465 6620 696e 6974 .... def init │ │ │ +000687b0: 5f74 7970 6528 7365 6c66 2c20 2a61 7267 _type(self, *arg │ │ │ +000687c0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +000687d0: 696e 6974 5f74 7970 6528 466c 5f53 696d init_type(Fl_Sim │ │ │ +000687e0: 706c 655f 436f 756e 7465 7220 7365 6c66 ple_Counter self │ │ │ +000687f0: 2c20 6368 6172 202a 2046 6c5f 5369 6d70 , char * Fl_Simp │ │ │ +00068800: 6c65 5f43 6f75 6e74 6572 2922 2222 0a20 le_Counter)""". │ │ │ +00068810: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00068820: 6c74 6b2e 466c 5f53 696d 706c 655f 436f ltk.Fl_Simple_Co │ │ │ +00068830: 756e 7465 725f 696e 6974 5f74 7970 6528 unter_init_type( │ │ │ +00068840: 7365 6c66 2c20 2a61 7267 7329 0a20 2020 self, *args). │ │ │ +00068850: 205f 5f73 7769 675f 6465 7374 726f 795f __swig_destroy_ │ │ │ +00068860: 5f20 3d20 5f66 6c74 6b2e 6465 6c65 7465 _ = _fltk.delete │ │ │ +00068870: 5f46 6c5f 5369 6d70 6c65 5f43 6f75 6e74 _Fl_Simple_Count │ │ │ +00068880: 6572 0a20 2020 2064 6566 205f 5f64 6973 er. def __dis │ │ │ +00068890: 6f77 6e5f 5f28 7365 6c66 293a 0a20 2020 own__(self):. │ │ │ +000688a0: 2020 2020 2073 656c 662e 7468 6973 2e64 self.this.d │ │ │ +000688b0: 6973 6f77 6e28 290a 2020 2020 2020 2020 isown(). │ │ │ +000688c0: 5f66 6c74 6b2e 6469 736f 776e 5f46 6c5f _fltk.disown_Fl_ │ │ │ +000688d0: 5369 6d70 6c65 5f43 6f75 6e74 6572 2873 Simple_Counter(s │ │ │ +000688e0: 656c 6629 0a20 2020 2020 2020 2072 6574 elf). ret │ │ │ +000688f0: 7572 6e20 7765 616b 7265 662e 7072 6f78 urn weakref.prox │ │ │ +00068900: 7928 7365 6c66 290a 0a20 2020 2064 6566 y(self).. def │ │ │ +00068910: 2064 7261 7728 7365 6c66 2c20 2a61 7267 draw(self, *arg │ │ │ +00068920: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +00068930: 6472 6177 2846 6c5f 5369 6d70 6c65 5f43 draw(Fl_Simple_C │ │ │ +00068940: 6f75 6e74 6572 2073 656c 6629 2222 220a ounter self)""". │ │ │ +00068950: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +00068960: 666c 746b 2e46 6c5f 5369 6d70 6c65 5f43 fltk.Fl_Simple_C │ │ │ +00068970: 6f75 6e74 6572 5f64 7261 7728 7365 6c66 ounter_draw(self │ │ │ +00068980: 2c20 2a61 7267 7329 0a0a 2320 5265 6769 , *args)..# Regi │ │ │ +00068990: 7374 6572 2046 6c5f 5369 6d70 6c65 5f43 ster Fl_Simple_C │ │ │ +000689a0: 6f75 6e74 6572 2069 6e20 5f66 6c74 6b3a ounter in _fltk: │ │ │ +000689b0: 0a5f 666c 746b 2e46 6c5f 5369 6d70 6c65 ._fltk.Fl_Simple │ │ │ +000689c0: 5f43 6f75 6e74 6572 5f73 7769 6772 6567 _Counter_swigreg │ │ │ +000689d0: 6973 7465 7228 466c 5f53 696d 706c 655f ister(Fl_Simple_ │ │ │ +000689e0: 436f 756e 7465 7229 0a63 6c61 7373 2046 Counter).class F │ │ │ +000689f0: 6c5f 5379 735f 4d65 6e75 5f42 6172 2846 l_Sys_Menu_Bar(F │ │ │ +00068a00: 6c5f 4d65 6e75 5f42 6172 293a 0a20 2020 l_Menu_Bar):. │ │ │ +00068a10: 2072 2222 2250 726f 7879 206f 6620 432b r"""Proxy of C+ │ │ │ +00068a20: 2b20 466c 5f53 7973 5f4d 656e 755f 4261 + Fl_Sys_Menu_Ba │ │ │ +00068a30: 7220 636c 6173 732e 2222 220a 0a20 2020 r class.""".. │ │ │ +00068a40: 2074 6869 736f 776e 203d 2070 726f 7065 thisown = prope │ │ │ +00068a50: 7274 7928 6c61 6d62 6461 2078 3a20 782e rty(lambda x: x. │ │ │ +00068a60: 7468 6973 2e6f 776e 2829 2c20 6c61 6d62 this.own(), lamb │ │ │ +00068a70: 6461 2078 2c20 763a 2078 2e74 6869 732e da x, v: x.this. │ │ │ +00068a80: 6f77 6e28 7629 2c20 646f 633d 2254 6865 own(v), doc="The │ │ │ +00068a90: 206d 656d 6265 7273 6869 7020 666c 6167 membership flag │ │ │ +00068aa0: 2229 0a20 2020 205f 5f72 6570 725f 5f20 "). __repr__ │ │ │ +00068ab0: 3d20 5f73 7769 675f 7265 7072 0a0a 2020 = _swig_repr.. │ │ │ +00068ac0: 2020 6465 6620 6472 6177 2873 656c 662c def draw(self, │ │ │ +00068ad0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00068ae0: 2072 2222 2264 7261 7728 466c 5f53 7973 r"""draw(Fl_Sys │ │ │ +00068af0: 5f4d 656e 755f 4261 7220 7365 6c66 2922 _Menu_Bar self)" │ │ │ +00068b00: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +00068b10: 6e20 5f66 6c74 6b2e 466c 5f53 7973 5f4d n _fltk.Fl_Sys_M │ │ │ +00068b20: 656e 755f 4261 725f 6472 6177 2873 656c enu_Bar_draw(sel │ │ │ +00068b30: 662c 202a 6172 6773 290a 2020 2020 6e6f f, *args). no │ │ │ +00068b40: 5f77 696e 646f 775f 6d65 6e75 203d 205f _window_menu = _ │ │ │ +00068b50: 666c 746b 2e46 6c5f 5379 735f 4d65 6e75 fltk.Fl_Sys_Menu │ │ │ +00068b60: 5f42 6172 5f6e 6f5f 7769 6e64 6f77 5f6d _Bar_no_window_m │ │ │ +00068b70: 656e 750a 2020 2020 0a20 2020 2074 6162 enu. . tab │ │ │ +00068b80: 6269 6e67 5f6d 6f64 655f 6e6f 6e65 203d bing_mode_none = │ │ │ +00068b90: 205f 666c 746b 2e46 6c5f 5379 735f 4d65 _fltk.Fl_Sys_Me │ │ │ +00068ba0: 6e75 5f42 6172 5f74 6162 6269 6e67 5f6d nu_Bar_tabbing_m │ │ │ +00068bb0: 6f64 655f 6e6f 6e65 0a20 2020 200a 2020 ode_none. . │ │ │ +00068bc0: 2020 7461 6262 696e 675f 6d6f 6465 5f61 tabbing_mode_a │ │ │ +00068bd0: 7574 6f6d 6174 6963 203d 205f 666c 746b utomatic = _fltk │ │ │ +00068be0: 2e46 6c5f 5379 735f 4d65 6e75 5f42 6172 .Fl_Sys_Menu_Bar │ │ │ +00068bf0: 5f74 6162 6269 6e67 5f6d 6f64 655f 6175 _tabbing_mode_au │ │ │ +00068c00: 746f 6d61 7469 630a 2020 2020 0a20 2020 tomatic. . │ │ │ +00068c10: 2074 6162 6269 6e67 5f6d 6f64 655f 7072 tabbing_mode_pr │ │ │ +00068c20: 6566 6572 7265 6420 3d20 5f66 6c74 6b2e eferred = _fltk. │ │ │ +00068c30: 466c 5f53 7973 5f4d 656e 755f 4261 725f Fl_Sys_Menu_Bar_ │ │ │ +00068c40: 7461 6262 696e 675f 6d6f 6465 5f70 7265 tabbing_mode_pre │ │ │ +00068c50: 6665 7272 6564 0a20 2020 200a 0a20 2020 ferred. .. │ │ │ +00068c60: 2064 6566 205f 5f69 6e69 745f 5f28 7365 def __init__(se │ │ │ +00068c70: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +00068c80: 2020 2020 7222 2222 5f5f 696e 6974 5f5f r"""__init__ │ │ │ +00068c90: 2846 6c5f 5379 735f 4d65 6e75 5f42 6172 (Fl_Sys_Menu_Bar │ │ │ +00068ca0: 2073 656c 662c 2069 6e74 2078 2c20 696e self, int x, in │ │ │ +00068cb0: 7420 792c 2069 6e74 2077 2c20 696e 7420 t y, int w, int │ │ │ +00068cc0: 682c 2063 6861 7220 636f 6e73 7420 2a20 h, char const * │ │ │ +00068cd0: 6c3d 4e6f 6e65 2920 2d3e 2046 6c5f 5379 l=None) -> Fl_Sy │ │ │ +00068ce0: 735f 4d65 6e75 5f42 6172 2222 220a 2020 s_Menu_Bar""". │ │ │ +00068cf0: 2020 2020 2020 6966 2073 656c 662e 5f5f if self.__ │ │ │ +00068d00: 636c 6173 735f 5f20 3d3d 2046 6c5f 5379 class__ == Fl_Sy │ │ │ +00068d10: 735f 4d65 6e75 5f42 6172 3a0a 2020 2020 s_Menu_Bar:. │ │ │ +00068d20: 2020 2020 2020 2020 5f73 656c 6620 3d20 _self = │ │ │ +00068d30: 4e6f 6e65 0a20 2020 2020 2020 2065 6c73 None. els │ │ │ +00068d40: 653a 0a20 2020 2020 2020 2020 2020 205f e:. _ │ │ │ +00068d50: 7365 6c66 203d 2073 656c 660a 2020 2020 self = self. │ │ │ +00068d60: 2020 2020 5f66 6c74 6b2e 466c 5f53 7973 _fltk.Fl_Sys │ │ │ +00068d70: 5f4d 656e 755f 4261 725f 7377 6967 696e _Menu_Bar_swigin │ │ │ +00068d80: 6974 2873 656c 662c 205f 666c 746b 2e6e it(self, _fltk.n │ │ │ +00068d90: 6577 5f46 6c5f 5379 735f 4d65 6e75 5f42 ew_Fl_Sys_Menu_B │ │ │ +00068da0: 6172 285f 7365 6c66 2c20 2a61 7267 7329 ar(_self, *args) │ │ │ +00068db0: 290a 0a20 2020 2020 2020 2069 6620 6c65 ).. if le │ │ │ +00068dc0: 6e28 6172 6773 2920 3d3d 2035 3a20 2020 n(args) == 5: │ │ │ +00068dd0: 2020 2020 2020 200a 2020 2020 2020 2020 . │ │ │ +00068de0: 2372 6574 6169 6e20 7265 6665 7265 6e63 #retain referenc │ │ │ +00068df0: 6520 746f 206c 6162 656c 0a20 2020 2020 e to label. │ │ │ +00068e00: 2020 2020 2020 2073 656c 662e 6d79 5f6c self.my_l │ │ │ +00068e10: 6162 656c 203d 2061 7267 735b 2d31 5d0a abel = args[-1]. │ │ │ +00068e20: 2020 2020 2020 2020 6966 2073 656c 662e if self. │ │ │ +00068e30: 7061 7265 6e74 2829 2021 3d20 4e6f 6e65 parent() != None │ │ │ +00068e40: 3a20 2020 0a20 2020 2020 2020 2023 6465 : . #de │ │ │ +00068e50: 6c65 6761 7465 206f 776e 6572 7368 6970 legate ownership │ │ │ +00068e60: 2074 6f20 432b 2b0a 2020 2020 2020 2020 to C++. │ │ │ +00068e70: 2020 2020 7365 6c66 2e74 6869 732e 6469 self.this.di │ │ │ +00068e80: 736f 776e 2829 0a20 2020 2020 2020 2073 sown(). s │ │ │ +00068e90: 656c 662e 696e 6974 5f74 7970 6528 2246 elf.init_type("F │ │ │ +00068ea0: 6c5f 5379 735f 4d65 6e75 5f42 6172 2229 l_Sys_Menu_Bar") │ │ │ +00068eb0: 0a20 2020 2020 2020 2023 7072 696e 7428 . #print( │ │ │ +00068ec0: 2241 6464 696e 6720 7479 7065 3a20 222c "Adding type: ", │ │ │ +00068ed0: 2046 6c5f 5379 735f 4d65 6e75 5f42 6172 Fl_Sys_Menu_Bar │ │ │ +00068ee0: 290a 0a0a 0a20 2020 205f 5f73 7769 675f ).... __swig_ │ │ │ +00068ef0: 6465 7374 726f 795f 5f20 3d20 5f66 6c74 destroy__ = _flt │ │ │ +00068f00: 6b2e 6465 6c65 7465 5f46 6c5f 5379 735f k.delete_Fl_Sys_ │ │ │ +00068f10: 4d65 6e75 5f42 6172 0a0a 2020 2020 6465 Menu_Bar.. de │ │ │ +00068f20: 6620 6d65 6e75 2873 656c 662c 202a 6172 f menu(self, *ar │ │ │ +00068f30: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00068f40: 226d 656e 7528 466c 5f53 7973 5f4d 656e "menu(Fl_Sys_Men │ │ │ +00068f50: 755f 4261 7220 7365 6c66 2920 2d3e 2046 u_Bar self) -> F │ │ │ +00068f60: 6c5f 4d65 6e75 5f49 7465 6d22 2222 0a20 l_Menu_Item""". │ │ │ +00068f70: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00068f80: 6c74 6b2e 466c 5f53 7973 5f4d 656e 755f ltk.Fl_Sys_Menu_ │ │ │ +00068f90: 4261 725f 6d65 6e75 2873 656c 662c 202a Bar_menu(self, * │ │ │ +00068fa0: 6172 6773 290a 0a20 2020 2064 6566 2075 args).. def u │ │ │ +00068fb0: 7064 6174 6528 7365 6c66 2c20 2a61 7267 pdate(self, *arg │ │ │ +00068fc0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +00068fd0: 7570 6461 7465 2846 6c5f 5379 735f 4d65 update(Fl_Sys_Me │ │ │ +00068fe0: 6e75 5f42 6172 2073 656c 6629 2222 220a nu_Bar self)""". │ │ │ +00068ff0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +00069000: 666c 746b 2e46 6c5f 5379 735f 4d65 6e75 fltk.Fl_Sys_Menu │ │ │ +00069010: 5f42 6172 5f75 7064 6174 6528 7365 6c66 _Bar_update(self │ │ │ +00069020: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00069030: 6620 706c 6179 5f6d 656e 7528 7365 6c66 f play_menu(self │ │ │ +00069040: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00069050: 2020 7222 2222 706c 6179 5f6d 656e 7528 r"""play_menu( │ │ │ +00069060: 466c 5f53 7973 5f4d 656e 755f 4261 7220 Fl_Sys_Menu_Bar │ │ │ +00069070: 7365 6c66 2c20 466c 5f4d 656e 755f 4974 self, Fl_Menu_It │ │ │ +00069080: 656d 2061 7267 3029 2222 220a 2020 2020 em arg0)""". │ │ │ +00069090: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +000690a0: 2e46 6c5f 5379 735f 4d65 6e75 5f42 6172 .Fl_Sys_Menu_Bar │ │ │ +000690b0: 5f70 6c61 795f 6d65 6e75 2873 656c 662c _play_menu(self, │ │ │ +000690c0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +000690d0: 2061 6464 2873 656c 662c 202a 6172 6773 add(self, *args │ │ │ +000690e0: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ +000690f0: 2020 2020 2020 2020 6164 6428 466c 5f53 add(Fl_S │ │ │ +00069100: 7973 5f4d 656e 755f 4261 7220 7365 6c66 ys_Menu_Bar self │ │ │ +00069110: 2c20 6368 6172 2063 6f6e 7374 202a 206c , char const * l │ │ │ +00069120: 6162 656c 2c20 696e 7420 7368 6f72 7463 abel, int shortc │ │ │ +00069130: 7574 2c20 466c 5f43 616c 6c62 6163 6b20 ut, Fl_Callback │ │ │ +00069140: 2a20 6172 6734 2c20 766f 6964 202a 2075 * arg4, void * u │ │ │ +00069150: 7365 725f 6461 7461 3d4e 6f6e 652c 2069 ser_data=None, i │ │ │ +00069160: 6e74 2066 6c61 6773 3d30 2920 2d3e 2069 nt flags=0) -> i │ │ │ +00069170: 6e74 0a20 2020 2020 2020 2061 6464 2846 nt. add(F │ │ │ +00069180: 6c5f 5379 735f 4d65 6e75 5f42 6172 2073 l_Sys_Menu_Bar s │ │ │ +00069190: 656c 662c 2063 6861 7220 636f 6e73 7420 elf, char const │ │ │ +000691a0: 2a20 7374 7229 202d 3e20 696e 740a 2020 * str) -> int. │ │ │ +000691b0: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ +000691c0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +000691d0: 6c5f 5379 735f 4d65 6e75 5f42 6172 5f61 l_Sys_Menu_Bar_a │ │ │ +000691e0: 6464 2873 656c 662c 202a 6172 6773 290a dd(self, *args). │ │ │ +000691f0: 0a20 2020 2064 6566 2069 6e73 6572 7428 . def insert( │ │ │ +00069200: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +00069210: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ +00069220: 2020 2069 6e73 6572 7428 466c 5f53 7973 insert(Fl_Sys │ │ │ +00069230: 5f4d 656e 755f 4261 7220 7365 6c66 2c20 _Menu_Bar self, │ │ │ +00069240: 696e 7420 696e 6465 782c 2063 6861 7220 int index, char │ │ │ +00069250: 636f 6e73 7420 2a20 6c61 6265 6c2c 2069 const * label, i │ │ │ +00069260: 6e74 2073 686f 7274 6375 742c 2046 6c5f nt shortcut, Fl_ │ │ │ +00069270: 4361 6c6c 6261 636b 202a 2063 622c 2076 Callback * cb, v │ │ │ +00069280: 6f69 6420 2a20 7573 6572 5f64 6174 613d oid * user_data= │ │ │ +00069290: 4e6f 6e65 2c20 696e 7420 666c 6167 733d None, int flags= │ │ │ +000692a0: 3029 202d 3e20 696e 740a 2020 2020 2020 0) -> int. │ │ │ +000692b0: 2020 696e 7365 7274 2846 6c5f 5379 735f insert(Fl_Sys_ │ │ │ +000692c0: 4d65 6e75 5f42 6172 2073 656c 662c 2069 Menu_Bar self, i │ │ │ +000692d0: 6e74 2069 6e64 6578 2c20 6368 6172 2063 nt index, char c │ │ │ +000692e0: 6f6e 7374 202a 206c 6162 656c 2c20 6368 onst * label, ch │ │ │ +000692f0: 6172 2063 6f6e 7374 202a 2073 686f 7274 ar const * short │ │ │ +00069300: 6375 742c 2046 6c5f 4361 6c6c 6261 636b cut, Fl_Callback │ │ │ +00069310: 202a 2063 622c 2076 6f69 6420 2a20 7573 * cb, void * us │ │ │ +00069320: 6572 5f64 6174 613d 4e6f 6e65 2c20 696e er_data=None, in │ │ │ +00069330: 7420 666c 6167 733d 3029 202d 3e20 696e t flags=0) -> in │ │ │ +00069340: 740a 2020 2020 2020 2020 2222 220a 2020 t. """. │ │ │ +00069350: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +00069360: 746b 2e46 6c5f 5379 735f 4d65 6e75 5f42 tk.Fl_Sys_Menu_B │ │ │ +00069370: 6172 5f69 6e73 6572 7428 7365 6c66 2c20 ar_insert(self, │ │ │ +00069380: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +00069390: 7265 6d6f 7665 2873 656c 662c 202a 6172 remove(self, *ar │ │ │ +000693a0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +000693b0: 2272 656d 6f76 6528 466c 5f53 7973 5f4d "remove(Fl_Sys_M │ │ │ +000693c0: 656e 755f 4261 7220 7365 6c66 2c20 696e enu_Bar self, in │ │ │ +000693d0: 7420 6e29 2222 220a 2020 2020 2020 2020 t n)""". │ │ │ +000693e0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +000693f0: 5379 735f 4d65 6e75 5f42 6172 5f72 656d Sys_Menu_Bar_rem │ │ │ +00069400: 6f76 6528 7365 6c66 2c20 2a61 7267 7329 ove(self, *args) │ │ │ +00069410: 0a0a 2020 2020 6465 6620 7265 706c 6163 .. def replac │ │ │ +00069420: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ +00069430: 2020 2020 2020 2020 7222 2222 7265 706c r"""repl │ │ │ +00069440: 6163 6528 466c 5f53 7973 5f4d 656e 755f ace(Fl_Sys_Menu_ │ │ │ +00069450: 4261 7220 7365 6c66 2c20 696e 7420 696e Bar self, int in │ │ │ +00069460: 6465 782c 2063 6861 7220 636f 6e73 7420 dex, char const │ │ │ +00069470: 2a20 6e61 6d65 2922 2222 0a20 2020 2020 * name)""". │ │ │ +00069480: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00069490: 466c 5f53 7973 5f4d 656e 755f 4261 725f Fl_Sys_Menu_Bar_ │ │ │ +000694a0: 7265 706c 6163 6528 7365 6c66 2c20 2a61 replace(self, *a │ │ │ +000694b0: 7267 7329 0a0a 2020 2020 6465 6620 636c rgs).. def cl │ │ │ +000694c0: 6561 7228 7365 6c66 2c20 2a61 7267 7329 ear(self, *args) │ │ │ +000694d0: 3a0a 2020 2020 2020 2020 7222 2222 636c :. r"""cl │ │ │ +000694e0: 6561 7228 466c 5f53 7973 5f4d 656e 755f ear(Fl_Sys_Menu_ │ │ │ +000694f0: 4261 7220 7365 6c66 2922 2222 0a20 2020 Bar self)""". │ │ │ +00069500: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00069510: 6b2e 466c 5f53 7973 5f4d 656e 755f 4261 k.Fl_Sys_Menu_Ba │ │ │ +00069520: 725f 636c 6561 7228 7365 6c66 2c20 2a61 r_clear(self, *a │ │ │ +00069530: 7267 7329 0a0a 2020 2020 6465 6620 636c rgs).. def cl │ │ │ +00069540: 6561 725f 7375 626d 656e 7528 7365 6c66 ear_submenu(self │ │ │ +00069550: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00069560: 2020 7222 2222 636c 6561 725f 7375 626d r"""clear_subm │ │ │ +00069570: 656e 7528 466c 5f53 7973 5f4d 656e 755f enu(Fl_Sys_Menu_ │ │ │ +00069580: 4261 7220 7365 6c66 2c20 696e 7420 696e Bar self, int in │ │ │ +00069590: 6465 7829 202d 3e20 696e 7422 2222 0a20 dex) -> int""". │ │ │ +000695a0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +000695b0: 6c74 6b2e 466c 5f53 7973 5f4d 656e 755f ltk.Fl_Sys_Menu_ │ │ │ +000695c0: 4261 725f 636c 6561 725f 7375 626d 656e Bar_clear_submen │ │ │ +000695d0: 7528 7365 6c66 2c20 2a61 7267 7329 0a0a u(self, *args).. │ │ │ +000695e0: 2020 2020 6465 6620 6d6f 6465 2873 656c def mode(sel │ │ │ +000695f0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +00069600: 2020 2072 2222 220a 2020 2020 2020 2020 r""". │ │ │ +00069610: 6d6f 6465 2846 6c5f 5379 735f 4d65 6e75 mode(Fl_Sys_Menu │ │ │ +00069620: 5f42 6172 2073 656c 662c 2069 6e74 2069 _Bar self, int i │ │ │ +00069630: 2c20 696e 7420 666c 290a 2020 2020 2020 , int fl). │ │ │ +00069640: 2020 6d6f 6465 2846 6c5f 5379 735f 4d65 mode(Fl_Sys_Me │ │ │ +00069650: 6e75 5f42 6172 2073 656c 662c 2069 6e74 nu_Bar self, int │ │ │ +00069660: 2069 2920 2d3e 2069 6e74 0a20 2020 2020 i) -> int. │ │ │ +00069670: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ +00069680: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f53 eturn _fltk.Fl_S │ │ │ +00069690: 7973 5f4d 656e 755f 4261 725f 6d6f 6465 ys_Menu_Bar_mode │ │ │ +000696a0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +000696b0: 2020 2064 6566 2073 686f 7274 6375 7428 def shortcut( │ │ │ +000696c0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +000696d0: 2020 2020 2020 7222 2222 7368 6f72 7463 r"""shortc │ │ │ +000696e0: 7574 2846 6c5f 5379 735f 4d65 6e75 5f42 ut(Fl_Sys_Menu_B │ │ │ +000696f0: 6172 2073 656c 662c 2069 6e74 2069 2c20 ar self, int i, │ │ │ +00069700: 696e 7420 7329 2222 220a 2020 2020 2020 int s)""". │ │ │ +00069710: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +00069720: 6c5f 5379 735f 4d65 6e75 5f42 6172 5f73 l_Sys_Menu_Bar_s │ │ │ +00069730: 686f 7274 6375 7428 7365 6c66 2c20 2a61 hortcut(self, *a │ │ │ +00069740: 7267 7329 0a0a 2020 2020 6465 6620 7365 rgs).. def se │ │ │ +00069750: 746f 6e6c 7928 7365 6c66 2c20 2a61 7267 tonly(self, *arg │ │ │ +00069760: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +00069770: 7365 746f 6e6c 7928 466c 5f53 7973 5f4d setonly(Fl_Sys_M │ │ │ +00069780: 656e 755f 4261 7220 7365 6c66 2c20 466c enu_Bar self, Fl │ │ │ +00069790: 5f4d 656e 755f 4974 656d 2069 7465 6d29 _Menu_Item item) │ │ │ +000697a0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +000697b0: 726e 205f 666c 746b 2e46 6c5f 5379 735f rn _fltk.Fl_Sys_ │ │ │ +000697c0: 4d65 6e75 5f42 6172 5f73 6574 6f6e 6c79 Menu_Bar_setonly │ │ │ +000697d0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +000697e0: 2020 2040 7374 6174 6963 6d65 7468 6f64 @staticmethod │ │ │ +000697f0: 0a20 2020 2064 6566 2061 626f 7574 282a . def about(* │ │ │ +00069800: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +00069810: 2222 2261 626f 7574 2846 6c5f 4361 6c6c """about(Fl_Call │ │ │ +00069820: 6261 636b 202a 2063 622c 2076 6f69 6420 back * cb, void │ │ │ +00069830: 2a20 6461 7461 2922 2222 0a20 2020 2020 * data)""". │ │ │ +00069840: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00069850: 466c 5f53 7973 5f4d 656e 755f 4261 725f Fl_Sys_Menu_Bar_ │ │ │ +00069860: 6162 6f75 7428 2a61 7267 7329 0a0a 2020 about(*args).. │ │ │ +00069870: 2020 4073 7461 7469 636d 6574 686f 640a @staticmethod. │ │ │ +00069880: 2020 2020 6465 6620 7769 6e64 6f77 5f6d def window_m │ │ │ +00069890: 656e 755f 7374 796c 6528 2a61 7267 7329 enu_style(*args) │ │ │ +000698a0: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ +000698b0: 2020 2020 2020 2077 696e 646f 775f 6d65 window_me │ │ │ +000698c0: 6e75 5f73 7479 6c65 2829 202d 3e20 466c nu_style() -> Fl │ │ │ +000698d0: 5f53 7973 5f4d 656e 755f 4261 723a 3a77 _Sys_Menu_Bar::w │ │ │ +000698e0: 696e 646f 775f 6d65 6e75 5f73 7479 6c65 indow_menu_style │ │ │ +000698f0: 5f65 6e75 6d0a 2020 2020 2020 2020 7769 _enum. wi │ │ │ +00069900: 6e64 6f77 5f6d 656e 755f 7374 796c 6528 ndow_menu_style( │ │ │ +00069910: 466c 5f53 7973 5f4d 656e 755f 4261 723a Fl_Sys_Menu_Bar: │ │ │ +00069920: 3a77 696e 646f 775f 6d65 6e75 5f73 7479 :window_menu_sty │ │ │ +00069930: 6c65 5f65 6e75 6d20 7374 796c 6529 0a20 le_enum style). │ │ │ +00069940: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ +00069950: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00069960: 466c 5f53 7973 5f4d 656e 755f 4261 725f Fl_Sys_Menu_Bar_ │ │ │ +00069970: 7769 6e64 6f77 5f6d 656e 755f 7374 796c window_menu_styl │ │ │ +00069980: 6528 2a61 7267 7329 0a0a 2020 2020 4073 e(*args).. @s │ │ │ +00069990: 7461 7469 636d 6574 686f 640a 2020 2020 taticmethod. │ │ │ +000699a0: 6465 6620 6372 6561 7465 5f77 696e 646f def create_windo │ │ │ +000699b0: 775f 6d65 6e75 282a 6172 6773 293a 0a20 w_menu(*args):. │ │ │ +000699c0: 2020 2020 2020 2072 2222 2263 7265 6174 r"""creat │ │ │ +000699d0: 655f 7769 6e64 6f77 5f6d 656e 7528 2922 e_window_menu()" │ │ │ +000699e0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +000699f0: 6e20 5f66 6c74 6b2e 466c 5f53 7973 5f4d n _fltk.Fl_Sys_M │ │ │ +00069a00: 656e 755f 4261 725f 6372 6561 7465 5f77 enu_Bar_create_w │ │ │ +00069a10: 696e 646f 775f 6d65 6e75 282a 6172 6773 indow_menu(*args │ │ │ +00069a20: 290a 0a20 2020 2064 6566 2069 6e69 745f ).. def init_ │ │ │ +00069a30: 7479 7065 2873 656c 662c 202a 6172 6773 type(self, *args │ │ │ +00069a40: 293a 0a20 2020 2020 2020 2072 2222 2269 ):. r"""i │ │ │ +00069a50: 6e69 745f 7479 7065 2846 6c5f 5379 735f nit_type(Fl_Sys_ │ │ │ +00069a60: 4d65 6e75 5f42 6172 2073 656c 662c 2063 Menu_Bar self, c │ │ │ +00069a70: 6861 7220 2a20 466c 5f53 7973 5f4d 656e har * Fl_Sys_Men │ │ │ +00069a80: 755f 4261 7229 2222 220a 2020 2020 2020 u_Bar)""". │ │ │ +00069a90: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +00069aa0: 6c5f 5379 735f 4d65 6e75 5f42 6172 5f69 l_Sys_Menu_Bar_i │ │ │ +00069ab0: 6e69 745f 7479 7065 2873 656c 662c 202a nit_type(self, * │ │ │ +00069ac0: 6172 6773 290a 2020 2020 6465 6620 5f5f args). def __ │ │ │ +00069ad0: 6469 736f 776e 5f5f 2873 656c 6629 3a0a disown__(self):. │ │ │ +00069ae0: 2020 2020 2020 2020 7365 6c66 2e74 6869 self.thi │ │ │ +00069af0: 732e 6469 736f 776e 2829 0a20 2020 2020 s.disown(). │ │ │ +00069b00: 2020 205f 666c 746b 2e64 6973 6f77 6e5f _fltk.disown_ │ │ │ +00069b10: 466c 5f53 7973 5f4d 656e 755f 4261 7228 Fl_Sys_Menu_Bar( │ │ │ +00069b20: 7365 6c66 290a 2020 2020 2020 2020 7265 self). re │ │ │ +00069b30: 7475 726e 2077 6561 6b72 6566 2e70 726f turn weakref.pro │ │ │ +00069b40: 7879 2873 656c 6629 0a0a 2320 5265 6769 xy(self)..# Regi │ │ │ +00069b50: 7374 6572 2046 6c5f 5379 735f 4d65 6e75 ster Fl_Sys_Menu │ │ │ +00069b60: 5f42 6172 2069 6e20 5f66 6c74 6b3a 0a5f _Bar in _fltk:._ │ │ │ +00069b70: 666c 746b 2e46 6c5f 5379 735f 4d65 6e75 fltk.Fl_Sys_Menu │ │ │ +00069b80: 5f42 6172 5f73 7769 6772 6567 6973 7465 _Bar_swigregiste │ │ │ +00069b90: 7228 466c 5f53 7973 5f4d 656e 755f 4261 r(Fl_Sys_Menu_Ba │ │ │ +00069ba0: 7229 0a63 6c61 7373 2046 6c5f 5461 626c r).class Fl_Tabl │ │ │ +00069bb0: 6528 466c 5f47 726f 7570 293a 0a20 2020 e(Fl_Group):. │ │ │ +00069bc0: 2072 2222 220a 0a20 2020 2054 6869 7320 r""".. This │ │ │ +00069bd0: 6973 2074 6865 2062 6173 6520 636c 6173 is the base clas │ │ │ +00069be0: 7320 666f 7220 7461 626c 6520 7769 6467 s for table widg │ │ │ +00069bf0: 6574 732e 2028 6567 2e20 466c 5f54 6162 ets. (eg. Fl_Tab │ │ │ +00069c00: 6c65 5f52 6f77 292e 2054 6f20 6265 2075 le_Row). To be u │ │ │ +00069c10: 7365 6675 6c20 6974 206d 7573 7420 6265 seful it must be │ │ │ +00069c20: 2073 7562 636c 6173 7365 6420 616e 6420 subclassed and │ │ │ +00069c30: 7365 7665 7261 6c20 7669 7274 7561 6c20 several virtual │ │ │ +00069c40: 6675 6e63 7469 6f6e 7320 6465 6669 6e65 functions define │ │ │ +00069c50: 642e 204e 6f72 6d61 6c6c 7920 6170 706c d. Normally appl │ │ │ +00069c60: 6963 6174 696f 6e73 2075 7365 2077 6964 ications use wid │ │ │ +00069c70: 6765 7473 2064 6572 6976 6564 2066 726f gets derived fro │ │ │ +00069c80: 6d20 7468 6973 2077 6964 6765 742c 2061 m this widget, a │ │ │ +00069c90: 6e64 2064 6f20 6e6f 7420 7573 6520 7468 nd do not use th │ │ │ +00069ca0: 6973 2077 6964 6765 7420 6469 7265 6374 is widget direct │ │ │ +00069cb0: 6c79 3b20 7468 6973 2077 6964 6765 7420 ly; this widget │ │ │ +00069cc0: 6973 2075 7375 616c 6c79 2074 6f6f 206c is usually too l │ │ │ +00069cd0: 6f77 206c 6576 656c 2074 6f20 6265 2075 ow level to be u │ │ │ +00069ce0: 7365 6420 6469 7265 6374 6c79 2062 7920 sed directly by │ │ │ +00069cf0: 6170 706c 6963 6174 696f 6e73 2e0a 0a20 applications... │ │ │ +00069d00: 2020 2054 6869 7320 7769 6467 6574 2064 This widget d │ │ │ +00069d10: 6f65 7320 6e6f 7420 6861 6e64 6c65 2074 oes not handle t │ │ │ +00069d20: 6865 2064 6174 6120 696e 2074 6865 2074 he data in the t │ │ │ +00069d30: 6162 6c65 2e20 5468 6520 6472 6177 5f63 able. The draw_c │ │ │ +00069d40: 656c 6c28 2920 6d65 7468 6f64 206d 7573 ell() method mus │ │ │ +00069d50: 7420 6265 206f 7665 7272 6964 6465 6e20 t be overridden │ │ │ +00069d60: 6279 2061 2073 7562 636c 6173 7320 746f by a subclass to │ │ │ +00069d70: 206d 616e 6167 6520 6472 6177 696e 6720 manage drawing │ │ │ +00069d80: 7468 6520 636f 6e74 656e 7473 206f 6620 the contents of │ │ │ +00069d90: 7468 6520 6365 6c6c 732e 0a0a 2020 2020 the cells... │ │ │ +00069da0: 5468 6973 2077 6964 6765 7420 6361 6e20 This widget can │ │ │ +00069db0: 6265 2075 7365 6420 696e 2073 6576 6572 be used in sever │ │ │ +00069dc0: 616c 2077 6179 733a 0a0a 2020 2020 2020 al ways:.. │ │ │ +00069dd0: 2020 2a20 4173 2061 2063 7573 746f 6d20 * As a custom │ │ │ +00069de0: 7769 6467 6574 3b20 7365 6520 7465 7374 widget; see test │ │ │ +00069df0: 7461 626c 6572 6f77 2e63 7878 2e20 5665 tablerow.cxx. Ve │ │ │ +00069e00: 7279 206f 7074 696d 616c 2066 6f72 2065 ry optimal for e │ │ │ +00069e10: 7665 6e20 6578 7472 656d 656c 7920 6c61 ven extremely la │ │ │ +00069e20: 7267 6520 7461 626c 6573 2e0a 0a20 2020 rge tables... │ │ │ +00069e30: 2020 2020 202a 2041 7320 6120 7461 626c * As a tabl │ │ │ +00069e40: 6520 6d61 6465 2075 7020 6f66 2061 2073 e made up of a s │ │ │ +00069e50: 696e 676c 6520 464c 544b 2077 6964 6765 ingle FLTK widge │ │ │ +00069e60: 7420 696e 7374 616e 6365 6420 616c 6c20 t instanced all │ │ │ +00069e70: 6f76 6572 2074 6865 2074 6162 6c65 3b20 over the table; │ │ │ +00069e80: 7365 6520 7369 6e67 6c65 696e 7075 742e see singleinput. │ │ │ +00069e90: 6378 782e 2056 6572 7920 6f70 7469 6d61 cxx. Very optima │ │ │ +00069ea0: 6c20 666f 7220 6576 656e 2065 7874 7265 l for even extre │ │ │ +00069eb0: 6d65 6c79 206c 6172 6765 2074 6162 6c65 mely large table │ │ │ +00069ec0: 733b 0a0a 2020 2020 2020 2020 2a20 4173 s;.. * As │ │ │ +00069ed0: 2061 2072 6567 756c 6172 2063 6f6e 7461 a regular conta │ │ │ +00069ee0: 696e 6572 206f 6620 464c 544b 2077 6964 iner of FLTK wid │ │ │ +00069ef0: 6765 7473 2c20 6f6e 6520 7769 6467 6574 gets, one widget │ │ │ +00069f00: 2070 6572 2063 656c 6c2e 2053 6565 2077 per cell. See w │ │ │ +00069f10: 6964 6765 7474 6162 6c65 2e63 7878 2e20 idgettable.cxx. │ │ │ +00069f20: 4e6f 7420 7265 636f 6d6d 656e 6465 6420 Not recommended │ │ │ +00069f30: 666f 7220 6c61 7267 6520 7461 626c 6573 for large tables │ │ │ +00069f40: 2e0a 0a20 2020 2057 6865 6e20 6163 7469 ... When acti │ │ │ +00069f50: 6e67 2061 7320 7061 7274 206f 6620 6120 ng as part of a │ │ │ +00069f60: 6375 7374 6f6d 2077 6964 6765 742c 2065 custom widget, e │ │ │ +00069f70: 7665 6e74 7320 6f6e 2074 6865 2063 656c vents on the cel │ │ │ +00069f80: 6c73 2061 6e64 2f6f 7220 6865 6164 696e ls and/or headin │ │ │ +00069f90: 6773 2067 656e 6572 6174 6520 6361 6c6c gs generate call │ │ │ +00069fa0: 6261 636b 7320 7768 656e 2074 6865 7920 backs when they │ │ │ +00069fb0: 6172 6520 636c 6963 6b65 6420 6279 2074 are clicked by t │ │ │ +00069fc0: 6865 2075 7365 722e 2059 6f75 2063 6f6e he user. You con │ │ │ +00069fd0: 7472 6f6c 2077 6865 6e20 6576 656e 7473 trol when events │ │ │ +00069fe0: 2061 7265 2067 656e 6572 6174 6564 2062 are generated b │ │ │ +00069ff0: 6173 6564 206f 6e20 7468 6520 7365 7474 ased on the sett │ │ │ +0006a000: 696e 6720 666f 7220 466c 5f54 6162 6c65 ing for Fl_Table │ │ │ +0006a010: 3a3a 7768 656e 2829 2e0a 0a20 2020 2057 ::when()... W │ │ │ +0006a020: 6865 6e20 6163 7469 6e67 2061 7320 6120 hen acting as a │ │ │ +0006a030: 636f 6e74 6169 6e65 7220 666f 7220 464c container for FL │ │ │ +0006a040: 544b 2077 6964 6765 7473 2c20 7468 6520 TK widgets, the │ │ │ +0006a050: 464c 544b 2077 6964 6765 7473 206d 6169 FLTK widgets mai │ │ │ +0006a060: 6e74 6169 6e20 7468 656d 7365 6c76 6573 ntain themselves │ │ │ +0006a070: 2e20 416c 7468 6f75 6768 2074 6865 2064 . Although the d │ │ │ +0006a080: 7261 775f 6365 6c6c 2829 206d 6574 686f raw_cell() metho │ │ │ +0006a090: 6420 6d75 7374 2062 6520 6f76 6572 7269 d must be overri │ │ │ +0006a0a0: 6464 656e 2c20 6974 7320 636f 6e74 656e dden, its conten │ │ │ +0006a0b0: 7473 2063 616e 2062 6520 7665 7279 2073 ts can be very s │ │ │ +0006a0c0: 696d 706c 652e 2053 6565 2074 6865 2064 imple. See the d │ │ │ +0006a0d0: 7261 775f 6365 6c6c 2829 2063 6f64 6520 raw_cell() code │ │ │ +0006a0e0: 696e 2077 6964 6765 7474 6162 6c65 2e63 in widgettable.c │ │ │ +0006a0f0: 7878 2e20 0a0a 2020 2020 2222 220a 0a20 xx. .. """.. │ │ │ +0006a100: 2020 2074 6869 736f 776e 203d 2070 726f thisown = pro │ │ │ +0006a110: 7065 7274 7928 6c61 6d62 6461 2078 3a20 perty(lambda x: │ │ │ +0006a120: 782e 7468 6973 2e6f 776e 2829 2c20 6c61 x.this.own(), la │ │ │ +0006a130: 6d62 6461 2078 2c20 763a 2078 2e74 6869 mbda x, v: x.thi │ │ │ +0006a140: 732e 6f77 6e28 7629 2c20 646f 633d 2254 s.own(v), doc="T │ │ │ +0006a150: 6865 206d 656d 6265 7273 6869 7020 666c he membership fl │ │ │ +0006a160: 6167 2229 0a20 2020 205f 5f72 6570 725f ag"). __repr_ │ │ │ +0006a170: 5f20 3d20 5f73 7769 675f 7265 7072 0a20 _ = _swig_repr. │ │ │ +0006a180: 2020 2043 4f4e 5445 5854 5f4e 4f4e 4520 CONTEXT_NONE │ │ │ +0006a190: 3d20 5f66 6c74 6b2e 466c 5f54 6162 6c65 = _fltk.Fl_Table │ │ │ +0006a1a0: 5f43 4f4e 5445 5854 5f4e 4f4e 450a 2020 _CONTEXT_NONE. │ │ │ +0006a1b0: 2020 0a20 2020 2043 4f4e 5445 5854 5f53 . CONTEXT_S │ │ │ +0006a1c0: 5441 5254 5041 4745 203d 205f 666c 746b TARTPAGE = _fltk │ │ │ +0006a1d0: 2e46 6c5f 5461 626c 655f 434f 4e54 4558 .Fl_Table_CONTEX │ │ │ +0006a1e0: 545f 5354 4152 5450 4147 450a 2020 2020 T_STARTPAGE. │ │ │ +0006a1f0: 0a20 2020 2043 4f4e 5445 5854 5f45 4e44 . CONTEXT_END │ │ │ +0006a200: 5041 4745 203d 205f 666c 746b 2e46 6c5f PAGE = _fltk.Fl_ │ │ │ +0006a210: 5461 626c 655f 434f 4e54 4558 545f 454e Table_CONTEXT_EN │ │ │ +0006a220: 4450 4147 450a 2020 2020 0a20 2020 2043 DPAGE. . C │ │ │ +0006a230: 4f4e 5445 5854 5f52 4f57 5f48 4541 4445 ONTEXT_ROW_HEADE │ │ │ +0006a240: 5220 3d20 5f66 6c74 6b2e 466c 5f54 6162 R = _fltk.Fl_Tab │ │ │ +0006a250: 6c65 5f43 4f4e 5445 5854 5f52 4f57 5f48 le_CONTEXT_ROW_H │ │ │ +0006a260: 4541 4445 520a 2020 2020 0a20 2020 2043 EADER. . C │ │ │ +0006a270: 4f4e 5445 5854 5f43 4f4c 5f48 4541 4445 ONTEXT_COL_HEADE │ │ │ +0006a280: 5220 3d20 5f66 6c74 6b2e 466c 5f54 6162 R = _fltk.Fl_Tab │ │ │ +0006a290: 6c65 5f43 4f4e 5445 5854 5f43 4f4c 5f48 le_CONTEXT_COL_H │ │ │ +0006a2a0: 4541 4445 520a 2020 2020 0a20 2020 2043 EADER. . C │ │ │ +0006a2b0: 4f4e 5445 5854 5f43 454c 4c20 3d20 5f66 ONTEXT_CELL = _f │ │ │ +0006a2c0: 6c74 6b2e 466c 5f54 6162 6c65 5f43 4f4e ltk.Fl_Table_CON │ │ │ +0006a2d0: 5445 5854 5f43 454c 4c0a 2020 2020 0a20 TEXT_CELL. . │ │ │ +0006a2e0: 2020 2043 4f4e 5445 5854 5f54 4142 4c45 CONTEXT_TABLE │ │ │ +0006a2f0: 203d 205f 666c 746b 2e46 6c5f 5461 626c = _fltk.Fl_Tabl │ │ │ +0006a300: 655f 434f 4e54 4558 545f 5441 424c 450a e_CONTEXT_TABLE. │ │ │ +0006a310: 2020 2020 0a20 2020 2043 4f4e 5445 5854 . CONTEXT │ │ │ +0006a320: 5f52 435f 5245 5349 5a45 203d 205f 666c _RC_RESIZE = _fl │ │ │ +0006a330: 746b 2e46 6c5f 5461 626c 655f 434f 4e54 tk.Fl_Table_CONT │ │ │ +0006a340: 4558 545f 5243 5f52 4553 495a 450a 2020 EXT_RC_RESIZE. │ │ │ +0006a350: 2020 0a0a 2020 2020 6465 6620 6861 6e64 .. def hand │ │ │ +0006a360: 6c65 2873 656c 662c 202a 6172 6773 293a le(self, *args): │ │ │ +0006a370: 0a20 2020 2020 2020 2072 2222 2268 616e . r"""han │ │ │ +0006a380: 646c 6528 466c 5f54 6162 6c65 2073 656c dle(Fl_Table sel │ │ │ +0006a390: 662c 2069 6e74 2065 2920 2d3e 2069 6e74 f, int e) -> int │ │ │ +0006a3a0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +0006a3b0: 726e 205f 666c 746b 2e46 6c5f 5461 626c rn _fltk.Fl_Tabl │ │ │ +0006a3c0: 655f 6861 6e64 6c65 2873 656c 662c 202a e_handle(self, * │ │ │ +0006a3d0: 6172 6773 290a 0a20 2020 2064 6566 2064 args).. def d │ │ │ +0006a3e0: 7261 775f 6365 6c6c 2873 656c 662c 202a raw_cell(self, * │ │ │ +0006a3f0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +0006a400: 2222 2264 7261 775f 6365 6c6c 2846 6c5f """draw_cell(Fl_ │ │ │ +0006a410: 5461 626c 6520 7365 6c66 2c20 466c 5f54 Table self, Fl_T │ │ │ +0006a420: 6162 6c65 3a3a 5461 626c 6543 6f6e 7465 able::TableConte │ │ │ +0006a430: 7874 2063 6f6e 7465 7874 2c20 696e 7420 xt context, int │ │ │ +0006a440: 523d 302c 2069 6e74 2043 3d30 2c20 696e R=0, int C=0, in │ │ │ +0006a450: 7420 583d 302c 2069 6e74 2059 3d30 2c20 t X=0, int Y=0, │ │ │ +0006a460: 696e 7420 573d 302c 2069 6e74 2048 3d30 int W=0, int H=0 │ │ │ +0006a470: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ +0006a480: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6162 urn _fltk.Fl_Tab │ │ │ +0006a490: 6c65 5f64 7261 775f 6365 6c6c 2873 656c le_draw_cell(sel │ │ │ +0006a4a0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +0006a4b0: 6566 2064 7261 7728 7365 6c66 2c20 2a61 ef draw(self, *a │ │ │ +0006a4c0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0006a4d0: 2222 6472 6177 2846 6c5f 5461 626c 6520 ""draw(Fl_Table │ │ │ +0006a4e0: 7365 6c66 2922 2222 0a20 2020 2020 2020 self)""". │ │ │ +0006a4f0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +0006a500: 5f54 6162 6c65 5f64 7261 7728 7365 6c66 _Table_draw(self │ │ │ +0006a510: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +0006a520: 6620 5f5f 696e 6974 5f5f 2873 656c 662c f __init__(self, │ │ │ +0006a530: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +0006a540: 2072 2222 225f 5f69 6e69 745f 5f28 466c r"""__init__(Fl │ │ │ +0006a550: 5f54 6162 6c65 2073 656c 662c 2069 6e74 _Table self, int │ │ │ +0006a560: 2058 2c20 696e 7420 592c 2069 6e74 2057 X, int Y, int W │ │ │ +0006a570: 2c20 696e 7420 482c 2063 6861 7220 636f , int H, char co │ │ │ +0006a580: 6e73 7420 2a20 6c3d 4e6f 6e65 2920 2d3e nst * l=None) -> │ │ │ +0006a590: 2046 6c5f 5461 626c 6522 2222 0a20 2020 Fl_Table""". │ │ │ +0006a5a0: 2020 2020 2069 6620 7365 6c66 2e5f 5f63 if self.__c │ │ │ +0006a5b0: 6c61 7373 5f5f 203d 3d20 466c 5f54 6162 lass__ == Fl_Tab │ │ │ +0006a5c0: 6c65 3a0a 2020 2020 2020 2020 2020 2020 le:. │ │ │ +0006a5d0: 5f73 656c 6620 3d20 4e6f 6e65 0a20 2020 _self = None. │ │ │ +0006a5e0: 2020 2020 2065 6c73 653a 0a20 2020 2020 else:. │ │ │ +0006a5f0: 2020 2020 2020 205f 7365 6c66 203d 2073 _self = s │ │ │ +0006a600: 656c 660a 2020 2020 2020 2020 5f66 6c74 elf. _flt │ │ │ +0006a610: 6b2e 466c 5f54 6162 6c65 5f73 7769 6769 k.Fl_Table_swigi │ │ │ +0006a620: 6e69 7428 7365 6c66 2c20 5f66 6c74 6b2e nit(self, _fltk. │ │ │ +0006a630: 6e65 775f 466c 5f54 6162 6c65 285f 7365 new_Fl_Table(_se │ │ │ +0006a640: 6c66 2c20 2a61 7267 7329 290a 0a20 2020 lf, *args)).. │ │ │ +0006a650: 2020 2020 2069 6620 6c65 6e28 6172 6773 if len(args │ │ │ +0006a660: 2920 3d3d 2035 3a20 2020 2020 2020 2020 ) == 5: │ │ │ +0006a670: 200a 2020 2020 2020 2020 2372 6574 6169 . #retai │ │ │ +0006a680: 6e20 7265 6665 7265 6e63 6520 746f 206c n reference to l │ │ │ +0006a690: 6162 656c 0a20 2020 2020 2020 2020 2020 abel. │ │ │ +0006a6a0: 2073 656c 662e 6d79 5f6c 6162 656c 203d self.my_label = │ │ │ +0006a6b0: 2061 7267 735b 2d31 5d0a 2020 2020 2020 args[-1]. │ │ │ +0006a6c0: 2020 6966 2073 656c 662e 7061 7265 6e74 if self.parent │ │ │ +0006a6d0: 2829 2021 3d20 4e6f 6e65 3a20 2020 0a20 () != None: . │ │ │ +0006a6e0: 2020 2020 2020 2023 6465 6c65 6761 7465 #delegate │ │ │ +0006a6f0: 206f 776e 6572 7368 6970 2074 6f20 432b ownership to C+ │ │ │ +0006a700: 2b0a 2020 2020 2020 2020 2020 2020 7365 +. se │ │ │ +0006a710: 6c66 2e74 6869 732e 6469 736f 776e 2829 lf.this.disown() │ │ │ +0006a720: 0a20 2020 2020 2020 2073 656c 662e 696e . self.in │ │ │ +0006a730: 6974 5f74 7970 6528 2246 6c5f 5461 626c it_type("Fl_Tabl │ │ │ +0006a740: 6522 290a 2020 2020 2020 2020 2370 7269 e"). #pri │ │ │ +0006a750: 6e74 2822 4164 6469 6e67 2074 7970 653a nt("Adding type: │ │ │ +0006a760: 2022 2c20 466c 5f54 6162 6c65 290a 0a0a ", Fl_Table)... │ │ │ +0006a770: 0a20 2020 205f 5f73 7769 675f 6465 7374 . __swig_dest │ │ │ +0006a780: 726f 795f 5f20 3d20 5f66 6c74 6b2e 6465 roy__ = _fltk.de │ │ │ +0006a790: 6c65 7465 5f46 6c5f 5461 626c 650a 0a20 lete_Fl_Table.. │ │ │ +0006a7a0: 2020 2064 6566 2063 6c65 6172 2873 656c def clear(sel │ │ │ +0006a7b0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +0006a7c0: 2020 2072 2222 2263 6c65 6172 2846 6c5f r"""clear(Fl_ │ │ │ +0006a7d0: 5461 626c 6520 7365 6c66 2922 2222 0a20 Table self)""". │ │ │ +0006a7e0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +0006a7f0: 6c74 6b2e 466c 5f54 6162 6c65 5f63 6c65 ltk.Fl_Table_cle │ │ │ +0006a800: 6172 2873 656c 662c 202a 6172 6773 290a ar(self, *args). │ │ │ +0006a810: 0a20 2020 2064 6566 2074 6162 6c65 5f62 . def table_b │ │ │ +0006a820: 6f78 2873 656c 662c 202a 6172 6773 293a ox(self, *args): │ │ │ +0006a830: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ +0006a840: 2020 2020 2020 7461 626c 655f 626f 7828 table_box( │ │ │ +0006a850: 466c 5f54 6162 6c65 2073 656c 662c 2046 Fl_Table self, F │ │ │ +0006a860: 6c5f 426f 7874 7970 6520 7661 6c29 0a20 l_Boxtype val). │ │ │ +0006a870: 2020 2020 2020 2074 6162 6c65 5f62 6f78 table_box │ │ │ +0006a880: 2846 6c5f 5461 626c 6520 7365 6c66 2920 (Fl_Table self) │ │ │ +0006a890: 2d3e 2046 6c5f 426f 7874 7970 650a 2020 -> Fl_Boxtype. │ │ │ +0006a8a0: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ +0006a8b0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +0006a8c0: 6c5f 5461 626c 655f 7461 626c 655f 626f l_Table_table_bo │ │ │ +0006a8d0: 7828 7365 6c66 2c20 2a61 7267 7329 0a0a x(self, *args).. │ │ │ +0006a8e0: 2020 2020 6465 6620 726f 7773 2873 656c def rows(sel │ │ │ +0006a8f0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +0006a900: 2020 2072 2222 220a 2020 2020 2020 2020 r""". │ │ │ +0006a910: 726f 7773 2846 6c5f 5461 626c 6520 7365 rows(Fl_Table se │ │ │ +0006a920: 6c66 2c20 696e 7420 7661 6c29 0a20 2020 lf, int val). │ │ │ +0006a930: 2020 2020 2072 6f77 7328 466c 5f54 6162 rows(Fl_Tab │ │ │ +0006a940: 6c65 2073 656c 6629 202d 3e20 696e 740a le self) -> int. │ │ │ +0006a950: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ +0006a960: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +0006a970: 2e46 6c5f 5461 626c 655f 726f 7773 2873 .Fl_Table_rows(s │ │ │ +0006a980: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +0006a990: 2064 6566 2063 6f6c 7328 7365 6c66 2c20 def cols(self, │ │ │ +0006a9a0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +0006a9b0: 7222 2222 0a20 2020 2020 2020 2063 6f6c r""". col │ │ │ +0006a9c0: 7328 466c 5f54 6162 6c65 2073 656c 662c s(Fl_Table self, │ │ │ +0006a9d0: 2069 6e74 2076 616c 290a 2020 2020 2020 int val). │ │ │ +0006a9e0: 2020 636f 6c73 2846 6c5f 5461 626c 6520 cols(Fl_Table │ │ │ +0006a9f0: 7365 6c66 2920 2d3e 2069 6e74 0a20 2020 self) -> int. │ │ │ +0006aa00: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ +0006aa10: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +0006aa20: 5f54 6162 6c65 5f63 6f6c 7328 7365 6c66 _Table_cols(self │ │ │ +0006aa30: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +0006aa40: 6620 7669 7369 626c 655f 6365 6c6c 7328 f visible_cells( │ │ │ +0006aa50: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +0006aa60: 2020 2020 2020 7222 2222 7669 7369 626c r"""visibl │ │ │ +0006aa70: 655f 6365 6c6c 7328 466c 5f54 6162 6c65 e_cells(Fl_Table │ │ │ +0006aa80: 2073 656c 6629 2222 220a 2020 2020 2020 self)""". │ │ │ +0006aa90: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +0006aaa0: 6c5f 5461 626c 655f 7669 7369 626c 655f l_Table_visible_ │ │ │ +0006aab0: 6365 6c6c 7328 7365 6c66 2c20 2a61 7267 cells(self, *arg │ │ │ +0006aac0: 7329 0a0a 2020 2020 6465 6620 6973 5f69 s).. def is_i │ │ │ +0006aad0: 6e74 6572 6163 7469 7665 5f72 6573 697a nteractive_resiz │ │ │ +0006aae0: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ +0006aaf0: 2020 2020 2020 2020 7222 2222 6973 5f69 r"""is_i │ │ │ +0006ab00: 6e74 6572 6163 7469 7665 5f72 6573 697a nteractive_resiz │ │ │ +0006ab10: 6528 466c 5f54 6162 6c65 2073 656c 6629 e(Fl_Table self) │ │ │ +0006ab20: 202d 3e20 696e 7422 2222 0a20 2020 2020 -> int""". │ │ │ +0006ab30: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +0006ab40: 466c 5f54 6162 6c65 5f69 735f 696e 7465 Fl_Table_is_inte │ │ │ +0006ab50: 7261 6374 6976 655f 7265 7369 7a65 2873 ractive_resize(s │ │ │ +0006ab60: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +0006ab70: 2064 6566 2072 6f77 5f72 6573 697a 6528 def row_resize( │ │ │ +0006ab80: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +0006ab90: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ +0006aba0: 2020 2072 6f77 5f72 6573 697a 6528 466c row_resize(Fl │ │ │ +0006abb0: 5f54 6162 6c65 2073 656c 6629 202d 3e20 _Table self) -> │ │ │ +0006abc0: 696e 740a 2020 2020 2020 2020 726f 775f int. row_ │ │ │ +0006abd0: 7265 7369 7a65 2846 6c5f 5461 626c 6520 resize(Fl_Table │ │ │ +0006abe0: 7365 6c66 2c20 696e 7420 666c 6167 290a self, int flag). │ │ │ +0006abf0: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ +0006ac00: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +0006ac10: 2e46 6c5f 5461 626c 655f 726f 775f 7265 .Fl_Table_row_re │ │ │ +0006ac20: 7369 7a65 2873 656c 662c 202a 6172 6773 size(self, *args │ │ │ +0006ac30: 290a 0a20 2020 2064 6566 2063 6f6c 5f72 ).. def col_r │ │ │ +0006ac40: 6573 697a 6528 7365 6c66 2c20 2a61 7267 esize(self, *arg │ │ │ +0006ac50: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +0006ac60: 0a20 2020 2020 2020 2063 6f6c 5f72 6573 . col_res │ │ │ +0006ac70: 697a 6528 466c 5f54 6162 6c65 2073 656c ize(Fl_Table sel │ │ │ +0006ac80: 6629 202d 3e20 696e 740a 2020 2020 2020 f) -> int. │ │ │ +0006ac90: 2020 636f 6c5f 7265 7369 7a65 2846 6c5f col_resize(Fl_ │ │ │ +0006aca0: 5461 626c 6520 7365 6c66 2c20 696e 7420 Table self, int │ │ │ +0006acb0: 666c 6167 290a 2020 2020 2020 2020 2222 flag). "" │ │ │ +0006acc0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0006acd0: 205f 666c 746b 2e46 6c5f 5461 626c 655f _fltk.Fl_Table_ │ │ │ +0006ace0: 636f 6c5f 7265 7369 7a65 2873 656c 662c col_resize(self, │ │ │ +0006acf0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +0006ad00: 2063 6f6c 5f72 6573 697a 655f 6d69 6e28 col_resize_min( │ │ │ +0006ad10: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +0006ad20: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ 0006ad30: 2020 2063 6f6c 5f72 6573 697a 655f 6d69 col_resize_mi │ │ │ -0006ad40: 6e28 466c 5f54 6162 6c65 2073 656c 662c n(Fl_Table self, │ │ │ -0006ad50: 2069 6e74 2076 616c 290a 2020 2020 2020 int val). │ │ │ -0006ad60: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ -0006ad70: 7475 726e 205f 666c 746b 2e46 6c5f 5461 turn _fltk.Fl_Ta │ │ │ -0006ad80: 626c 655f 636f 6c5f 7265 7369 7a65 5f6d ble_col_resize_m │ │ │ -0006ad90: 696e 2873 656c 662c 202a 6172 6773 290a in(self, *args). │ │ │ -0006ada0: 0a20 2020 2064 6566 2072 6f77 5f72 6573 . def row_res │ │ │ -0006adb0: 697a 655f 6d69 6e28 7365 6c66 2c20 2a61 ize_min(self, *a │ │ │ -0006adc0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -0006add0: 2222 0a20 2020 2020 2020 2072 6f77 5f72 "". row_r │ │ │ -0006ade0: 6573 697a 655f 6d69 6e28 466c 5f54 6162 esize_min(Fl_Tab │ │ │ -0006adf0: 6c65 2073 656c 6629 202d 3e20 696e 740a le self) -> int. │ │ │ +0006ad40: 6e28 466c 5f54 6162 6c65 2073 656c 6629 n(Fl_Table self) │ │ │ +0006ad50: 202d 3e20 696e 740a 2020 2020 2020 2020 -> int. │ │ │ +0006ad60: 636f 6c5f 7265 7369 7a65 5f6d 696e 2846 col_resize_min(F │ │ │ +0006ad70: 6c5f 5461 626c 6520 7365 6c66 2c20 696e l_Table self, in │ │ │ +0006ad80: 7420 7661 6c29 0a20 2020 2020 2020 2022 t val). " │ │ │ +0006ad90: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0006ada0: 6e20 5f66 6c74 6b2e 466c 5f54 6162 6c65 n _fltk.Fl_Table │ │ │ +0006adb0: 5f63 6f6c 5f72 6573 697a 655f 6d69 6e28 _col_resize_min( │ │ │ +0006adc0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +0006add0: 2020 6465 6620 726f 775f 7265 7369 7a65 def row_resize │ │ │ +0006ade0: 5f6d 696e 2873 656c 662c 202a 6172 6773 _min(self, *args │ │ │ +0006adf0: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ 0006ae00: 2020 2020 2020 2020 726f 775f 7265 7369 row_resi │ │ │ 0006ae10: 7a65 5f6d 696e 2846 6c5f 5461 626c 6520 ze_min(Fl_Table │ │ │ -0006ae20: 7365 6c66 2c20 696e 7420 7661 6c29 0a20 self, int val). │ │ │ -0006ae30: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ -0006ae40: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -0006ae50: 466c 5f54 6162 6c65 5f72 6f77 5f72 6573 Fl_Table_row_res │ │ │ -0006ae60: 697a 655f 6d69 6e28 7365 6c66 2c20 2a61 ize_min(self, *a │ │ │ -0006ae70: 7267 7329 0a0a 2020 2020 6465 6620 726f rgs).. def ro │ │ │ -0006ae80: 775f 6865 6164 6572 2873 656c 662c 202a w_header(self, * │ │ │ -0006ae90: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -0006aea0: 2222 220a 2020 2020 2020 2020 726f 775f """. row_ │ │ │ -0006aeb0: 6865 6164 6572 2846 6c5f 5461 626c 6520 header(Fl_Table │ │ │ -0006aec0: 7365 6c66 2920 2d3e 2069 6e74 0a20 2020 self) -> int. │ │ │ -0006aed0: 2020 2020 2072 6f77 5f68 6561 6465 7228 row_header( │ │ │ -0006aee0: 466c 5f54 6162 6c65 2073 656c 662c 2069 Fl_Table self, i │ │ │ -0006aef0: 6e74 2066 6c61 6729 0a20 2020 2020 2020 nt flag). │ │ │ -0006af00: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ -0006af10: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6162 urn _fltk.Fl_Tab │ │ │ -0006af20: 6c65 5f72 6f77 5f68 6561 6465 7228 7365 le_row_header(se │ │ │ -0006af30: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -0006af40: 6465 6620 636f 6c5f 6865 6164 6572 2873 def col_header(s │ │ │ -0006af50: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -0006af60: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ -0006af70: 2020 636f 6c5f 6865 6164 6572 2846 6c5f col_header(Fl_ │ │ │ -0006af80: 5461 626c 6520 7365 6c66 2920 2d3e 2069 Table self) -> i │ │ │ -0006af90: 6e74 0a20 2020 2020 2020 2063 6f6c 5f68 nt. col_h │ │ │ -0006afa0: 6561 6465 7228 466c 5f54 6162 6c65 2073 eader(Fl_Table s │ │ │ -0006afb0: 656c 662c 2069 6e74 2066 6c61 6729 0a20 elf, int flag). │ │ │ -0006afc0: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ -0006afd0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -0006afe0: 466c 5f54 6162 6c65 5f63 6f6c 5f68 6561 Fl_Table_col_hea │ │ │ -0006aff0: 6465 7228 7365 6c66 2c20 2a61 7267 7329 der(self, *args) │ │ │ -0006b000: 0a0a 2020 2020 6465 6620 636f 6c5f 6865 .. def col_he │ │ │ -0006b010: 6164 6572 5f68 6569 6768 7428 7365 6c66 ader_height(self │ │ │ -0006b020: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -0006b030: 2020 7222 2222 0a20 2020 2020 2020 2063 r""". c │ │ │ -0006b040: 6f6c 5f68 6561 6465 725f 6865 6967 6874 ol_header_height │ │ │ -0006b050: 2846 6c5f 5461 626c 6520 7365 6c66 2c20 (Fl_Table self, │ │ │ -0006b060: 696e 7420 6865 6967 6874 290a 2020 2020 int height). │ │ │ -0006b070: 2020 2020 636f 6c5f 6865 6164 6572 5f68 col_header_h │ │ │ -0006b080: 6569 6768 7428 466c 5f54 6162 6c65 2073 eight(Fl_Table s │ │ │ -0006b090: 656c 6629 202d 3e20 696e 740a 2020 2020 elf) -> int. │ │ │ -0006b0a0: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ -0006b0b0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -0006b0c0: 5461 626c 655f 636f 6c5f 6865 6164 6572 Table_col_header │ │ │ -0006b0d0: 5f68 6569 6768 7428 7365 6c66 2c20 2a61 _height(self, *a │ │ │ -0006b0e0: 7267 7329 0a0a 2020 2020 6465 6620 726f rgs).. def ro │ │ │ -0006b0f0: 775f 6865 6164 6572 5f77 6964 7468 2873 w_header_width(s │ │ │ -0006b100: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -0006b110: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ -0006b120: 2020 726f 775f 6865 6164 6572 5f77 6964 row_header_wid │ │ │ -0006b130: 7468 2846 6c5f 5461 626c 6520 7365 6c66 th(Fl_Table self │ │ │ -0006b140: 2c20 696e 7420 7769 6474 6829 0a20 2020 , int width). │ │ │ -0006b150: 2020 2020 2072 6f77 5f68 6561 6465 725f row_header_ │ │ │ -0006b160: 7769 6474 6828 466c 5f54 6162 6c65 2073 width(Fl_Table s │ │ │ -0006b170: 656c 6629 202d 3e20 696e 740a 2020 2020 elf) -> int. │ │ │ -0006b180: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ -0006b190: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -0006b1a0: 5461 626c 655f 726f 775f 6865 6164 6572 Table_row_header │ │ │ -0006b1b0: 5f77 6964 7468 2873 656c 662c 202a 6172 _width(self, *ar │ │ │ -0006b1c0: 6773 290a 0a20 2020 2064 6566 2072 6f77 gs).. def row │ │ │ -0006b1d0: 5f68 6561 6465 725f 636f 6c6f 7228 7365 _header_color(se │ │ │ -0006b1e0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -0006b1f0: 2020 2020 7222 2222 0a20 2020 2020 2020 r""". │ │ │ -0006b200: 2072 6f77 5f68 6561 6465 725f 636f 6c6f row_header_colo │ │ │ -0006b210: 7228 466c 5f54 6162 6c65 2073 656c 662c r(Fl_Table self, │ │ │ -0006b220: 2046 6c5f 436f 6c6f 7220 7661 6c29 0a20 Fl_Color val). │ │ │ -0006b230: 2020 2020 2020 2072 6f77 5f68 6561 6465 row_heade │ │ │ -0006b240: 725f 636f 6c6f 7228 466c 5f54 6162 6c65 r_color(Fl_Table │ │ │ -0006b250: 2073 656c 6629 202d 3e20 466c 5f43 6f6c self) -> Fl_Col │ │ │ -0006b260: 6f72 0a20 2020 2020 2020 2022 2222 0a20 or. """. │ │ │ -0006b270: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -0006b280: 6c74 6b2e 466c 5f54 6162 6c65 5f72 6f77 ltk.Fl_Table_row │ │ │ -0006b290: 5f68 6561 6465 725f 636f 6c6f 7228 7365 _header_color(se │ │ │ -0006b2a0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -0006b2b0: 6465 6620 636f 6c5f 6865 6164 6572 5f63 def col_header_c │ │ │ -0006b2c0: 6f6c 6f72 2873 656c 662c 202a 6172 6773 olor(self, *args │ │ │ -0006b2d0: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ -0006b2e0: 2020 2020 2020 2020 636f 6c5f 6865 6164 col_head │ │ │ -0006b2f0: 6572 5f63 6f6c 6f72 2846 6c5f 5461 626c er_color(Fl_Tabl │ │ │ -0006b300: 6520 7365 6c66 2c20 466c 5f43 6f6c 6f72 e self, Fl_Color │ │ │ -0006b310: 2076 616c 290a 2020 2020 2020 2020 636f val). co │ │ │ -0006b320: 6c5f 6865 6164 6572 5f63 6f6c 6f72 2846 l_header_color(F │ │ │ -0006b330: 6c5f 5461 626c 6520 7365 6c66 2920 2d3e l_Table self) -> │ │ │ -0006b340: 2046 6c5f 436f 6c6f 720a 2020 2020 2020 Fl_Color. │ │ │ -0006b350: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ -0006b360: 7475 726e 205f 666c 746b 2e46 6c5f 5461 turn _fltk.Fl_Ta │ │ │ -0006b370: 626c 655f 636f 6c5f 6865 6164 6572 5f63 ble_col_header_c │ │ │ -0006b380: 6f6c 6f72 2873 656c 662c 202a 6172 6773 olor(self, *args │ │ │ -0006b390: 290a 0a20 2020 2064 6566 2072 6f77 5f68 ).. def row_h │ │ │ -0006b3a0: 6569 6768 7428 7365 6c66 2c20 2a61 7267 eight(self, *arg │ │ │ -0006b3b0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0006b3c0: 0a20 2020 2020 2020 2072 6f77 5f68 6569 . row_hei │ │ │ -0006b3d0: 6768 7428 466c 5f54 6162 6c65 2073 656c ght(Fl_Table sel │ │ │ -0006b3e0: 662c 2069 6e74 2072 6f77 2c20 696e 7420 f, int row, int │ │ │ -0006b3f0: 6865 6967 6874 290a 2020 2020 2020 2020 height). │ │ │ -0006b400: 726f 775f 6865 6967 6874 2846 6c5f 5461 row_height(Fl_Ta │ │ │ -0006b410: 626c 6520 7365 6c66 2c20 696e 7420 726f ble self, int ro │ │ │ -0006b420: 7729 202d 3e20 696e 740a 2020 2020 2020 w) -> int. │ │ │ -0006b430: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ -0006b440: 7475 726e 205f 666c 746b 2e46 6c5f 5461 turn _fltk.Fl_Ta │ │ │ -0006b450: 626c 655f 726f 775f 6865 6967 6874 2873 ble_row_height(s │ │ │ -0006b460: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -0006b470: 2064 6566 2063 6f6c 5f77 6964 7468 2873 def col_width(s │ │ │ -0006b480: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -0006b490: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ -0006b4a0: 2020 636f 6c5f 7769 6474 6828 466c 5f54 col_width(Fl_T │ │ │ -0006b4b0: 6162 6c65 2073 656c 662c 2069 6e74 2063 able self, int c │ │ │ -0006b4c0: 6f6c 2c20 696e 7420 7769 6474 6829 0a20 ol, int width). │ │ │ -0006b4d0: 2020 2020 2020 2063 6f6c 5f77 6964 7468 col_width │ │ │ -0006b4e0: 2846 6c5f 5461 626c 6520 7365 6c66 2c20 (Fl_Table self, │ │ │ -0006b4f0: 696e 7420 636f 6c29 202d 3e20 696e 740a int col) -> int. │ │ │ -0006b500: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ -0006b510: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -0006b520: 2e46 6c5f 5461 626c 655f 636f 6c5f 7769 .Fl_Table_col_wi │ │ │ -0006b530: 6474 6828 7365 6c66 2c20 2a61 7267 7329 dth(self, *args) │ │ │ -0006b540: 0a0a 2020 2020 6465 6620 726f 775f 6865 .. def row_he │ │ │ -0006b550: 6967 6874 5f61 6c6c 2873 656c 662c 202a ight_all(self, * │ │ │ -0006b560: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -0006b570: 2222 2272 6f77 5f68 6569 6768 745f 616c """row_height_al │ │ │ -0006b580: 6c28 466c 5f54 6162 6c65 2073 656c 662c l(Fl_Table self, │ │ │ -0006b590: 2069 6e74 2068 6569 6768 7429 2222 220a int height)""". │ │ │ -0006b5a0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -0006b5b0: 666c 746b 2e46 6c5f 5461 626c 655f 726f fltk.Fl_Table_ro │ │ │ -0006b5c0: 775f 6865 6967 6874 5f61 6c6c 2873 656c w_height_all(sel │ │ │ -0006b5d0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -0006b5e0: 6566 2063 6f6c 5f77 6964 7468 5f61 6c6c ef col_width_all │ │ │ -0006b5f0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -0006b600: 2020 2020 2020 2072 2222 2263 6f6c 5f77 r"""col_w │ │ │ -0006b610: 6964 7468 5f61 6c6c 2846 6c5f 5461 626c idth_all(Fl_Tabl │ │ │ -0006b620: 6520 7365 6c66 2c20 696e 7420 7769 6474 e self, int widt │ │ │ -0006b630: 6829 2222 220a 2020 2020 2020 2020 7265 h)""". re │ │ │ -0006b640: 7475 726e 205f 666c 746b 2e46 6c5f 5461 turn _fltk.Fl_Ta │ │ │ -0006b650: 626c 655f 636f 6c5f 7769 6474 685f 616c ble_col_width_al │ │ │ -0006b660: 6c28 7365 6c66 2c20 2a61 7267 7329 0a0a l(self, *args).. │ │ │ -0006b670: 2020 2020 6465 6620 726f 775f 706f 7369 def row_posi │ │ │ -0006b680: 7469 6f6e 2873 656c 662c 202a 6172 6773 tion(self, *args │ │ │ -0006b690: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ -0006b6a0: 2020 2020 2020 2020 726f 775f 706f 7369 row_posi │ │ │ -0006b6b0: 7469 6f6e 2846 6c5f 5461 626c 6520 7365 tion(Fl_Table se │ │ │ -0006b6c0: 6c66 2c20 696e 7420 726f 7729 0a20 2020 lf, int row). │ │ │ +0006ae20: 7365 6c66 2920 2d3e 2069 6e74 0a20 2020 self) -> int. │ │ │ +0006ae30: 2020 2020 2072 6f77 5f72 6573 697a 655f row_resize_ │ │ │ +0006ae40: 6d69 6e28 466c 5f54 6162 6c65 2073 656c min(Fl_Table sel │ │ │ +0006ae50: 662c 2069 6e74 2076 616c 290a 2020 2020 f, int val). │ │ │ +0006ae60: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ +0006ae70: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +0006ae80: 5461 626c 655f 726f 775f 7265 7369 7a65 Table_row_resize │ │ │ +0006ae90: 5f6d 696e 2873 656c 662c 202a 6172 6773 _min(self, *args │ │ │ +0006aea0: 290a 0a20 2020 2064 6566 2072 6f77 5f68 ).. def row_h │ │ │ +0006aeb0: 6561 6465 7228 7365 6c66 2c20 2a61 7267 eader(self, *arg │ │ │ +0006aec0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +0006aed0: 0a20 2020 2020 2020 2072 6f77 5f68 6561 . row_hea │ │ │ +0006aee0: 6465 7228 466c 5f54 6162 6c65 2073 656c der(Fl_Table sel │ │ │ +0006aef0: 6629 202d 3e20 696e 740a 2020 2020 2020 f) -> int. │ │ │ +0006af00: 2020 726f 775f 6865 6164 6572 2846 6c5f row_header(Fl_ │ │ │ +0006af10: 5461 626c 6520 7365 6c66 2c20 696e 7420 Table self, int │ │ │ +0006af20: 666c 6167 290a 2020 2020 2020 2020 2222 flag). "" │ │ │ +0006af30: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0006af40: 205f 666c 746b 2e46 6c5f 5461 626c 655f _fltk.Fl_Table_ │ │ │ +0006af50: 726f 775f 6865 6164 6572 2873 656c 662c row_header(self, │ │ │ +0006af60: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +0006af70: 2063 6f6c 5f68 6561 6465 7228 7365 6c66 col_header(self │ │ │ +0006af80: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +0006af90: 2020 7222 2222 0a20 2020 2020 2020 2063 r""". c │ │ │ +0006afa0: 6f6c 5f68 6561 6465 7228 466c 5f54 6162 ol_header(Fl_Tab │ │ │ +0006afb0: 6c65 2073 656c 6629 202d 3e20 696e 740a le self) -> int. │ │ │ +0006afc0: 2020 2020 2020 2020 636f 6c5f 6865 6164 col_head │ │ │ +0006afd0: 6572 2846 6c5f 5461 626c 6520 7365 6c66 er(Fl_Table self │ │ │ +0006afe0: 2c20 696e 7420 666c 6167 290a 2020 2020 , int flag). │ │ │ +0006aff0: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ +0006b000: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +0006b010: 5461 626c 655f 636f 6c5f 6865 6164 6572 Table_col_header │ │ │ +0006b020: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +0006b030: 2020 2064 6566 2063 6f6c 5f68 6561 6465 def col_heade │ │ │ +0006b040: 725f 6865 6967 6874 2873 656c 662c 202a r_height(self, * │ │ │ +0006b050: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +0006b060: 2222 220a 2020 2020 2020 2020 636f 6c5f """. col_ │ │ │ +0006b070: 6865 6164 6572 5f68 6569 6768 7428 466c header_height(Fl │ │ │ +0006b080: 5f54 6162 6c65 2073 656c 662c 2069 6e74 _Table self, int │ │ │ +0006b090: 2068 6569 6768 7429 0a20 2020 2020 2020 height). │ │ │ +0006b0a0: 2063 6f6c 5f68 6561 6465 725f 6865 6967 col_header_heig │ │ │ +0006b0b0: 6874 2846 6c5f 5461 626c 6520 7365 6c66 ht(Fl_Table self │ │ │ +0006b0c0: 2920 2d3e 2069 6e74 0a20 2020 2020 2020 ) -> int. │ │ │ +0006b0d0: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ +0006b0e0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6162 urn _fltk.Fl_Tab │ │ │ +0006b0f0: 6c65 5f63 6f6c 5f68 6561 6465 725f 6865 le_col_header_he │ │ │ +0006b100: 6967 6874 2873 656c 662c 202a 6172 6773 ight(self, *args │ │ │ +0006b110: 290a 0a20 2020 2064 6566 2072 6f77 5f68 ).. def row_h │ │ │ +0006b120: 6561 6465 725f 7769 6474 6828 7365 6c66 eader_width(self │ │ │ +0006b130: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +0006b140: 2020 7222 2222 0a20 2020 2020 2020 2072 r""". r │ │ │ +0006b150: 6f77 5f68 6561 6465 725f 7769 6474 6828 ow_header_width( │ │ │ +0006b160: 466c 5f54 6162 6c65 2073 656c 662c 2069 Fl_Table self, i │ │ │ +0006b170: 6e74 2077 6964 7468 290a 2020 2020 2020 nt width). │ │ │ +0006b180: 2020 726f 775f 6865 6164 6572 5f77 6964 row_header_wid │ │ │ +0006b190: 7468 2846 6c5f 5461 626c 6520 7365 6c66 th(Fl_Table self │ │ │ +0006b1a0: 2920 2d3e 2069 6e74 0a20 2020 2020 2020 ) -> int. │ │ │ +0006b1b0: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ +0006b1c0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6162 urn _fltk.Fl_Tab │ │ │ +0006b1d0: 6c65 5f72 6f77 5f68 6561 6465 725f 7769 le_row_header_wi │ │ │ +0006b1e0: 6474 6828 7365 6c66 2c20 2a61 7267 7329 dth(self, *args) │ │ │ +0006b1f0: 0a0a 2020 2020 6465 6620 726f 775f 6865 .. def row_he │ │ │ +0006b200: 6164 6572 5f63 6f6c 6f72 2873 656c 662c ader_color(self, │ │ │ +0006b210: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +0006b220: 2072 2222 220a 2020 2020 2020 2020 726f r""". ro │ │ │ +0006b230: 775f 6865 6164 6572 5f63 6f6c 6f72 2846 w_header_color(F │ │ │ +0006b240: 6c5f 5461 626c 6520 7365 6c66 2c20 466c l_Table self, Fl │ │ │ +0006b250: 5f43 6f6c 6f72 2076 616c 290a 2020 2020 _Color val). │ │ │ +0006b260: 2020 2020 726f 775f 6865 6164 6572 5f63 row_header_c │ │ │ +0006b270: 6f6c 6f72 2846 6c5f 5461 626c 6520 7365 olor(Fl_Table se │ │ │ +0006b280: 6c66 2920 2d3e 2046 6c5f 436f 6c6f 720a lf) -> Fl_Color. │ │ │ +0006b290: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ +0006b2a0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +0006b2b0: 2e46 6c5f 5461 626c 655f 726f 775f 6865 .Fl_Table_row_he │ │ │ +0006b2c0: 6164 6572 5f63 6f6c 6f72 2873 656c 662c ader_color(self, │ │ │ +0006b2d0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +0006b2e0: 2063 6f6c 5f68 6561 6465 725f 636f 6c6f col_header_colo │ │ │ +0006b2f0: 7228 7365 6c66 2c20 2a61 7267 7329 3a0a r(self, *args):. │ │ │ +0006b300: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ +0006b310: 2020 2020 2063 6f6c 5f68 6561 6465 725f col_header_ │ │ │ +0006b320: 636f 6c6f 7228 466c 5f54 6162 6c65 2073 color(Fl_Table s │ │ │ +0006b330: 656c 662c 2046 6c5f 436f 6c6f 7220 7661 elf, Fl_Color va │ │ │ +0006b340: 6c29 0a20 2020 2020 2020 2063 6f6c 5f68 l). col_h │ │ │ +0006b350: 6561 6465 725f 636f 6c6f 7228 466c 5f54 eader_color(Fl_T │ │ │ +0006b360: 6162 6c65 2073 656c 6629 202d 3e20 466c able self) -> Fl │ │ │ +0006b370: 5f43 6f6c 6f72 0a20 2020 2020 2020 2022 _Color. " │ │ │ +0006b380: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0006b390: 6e20 5f66 6c74 6b2e 466c 5f54 6162 6c65 n _fltk.Fl_Table │ │ │ +0006b3a0: 5f63 6f6c 5f68 6561 6465 725f 636f 6c6f _col_header_colo │ │ │ +0006b3b0: 7228 7365 6c66 2c20 2a61 7267 7329 0a0a r(self, *args).. │ │ │ +0006b3c0: 2020 2020 6465 6620 726f 775f 6865 6967 def row_heig │ │ │ +0006b3d0: 6874 2873 656c 662c 202a 6172 6773 293a ht(self, *args): │ │ │ +0006b3e0: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ +0006b3f0: 2020 2020 2020 726f 775f 6865 6967 6874 row_height │ │ │ +0006b400: 2846 6c5f 5461 626c 6520 7365 6c66 2c20 (Fl_Table self, │ │ │ +0006b410: 696e 7420 726f 772c 2069 6e74 2068 6569 int row, int hei │ │ │ +0006b420: 6768 7429 0a20 2020 2020 2020 2072 6f77 ght). row │ │ │ +0006b430: 5f68 6569 6768 7428 466c 5f54 6162 6c65 _height(Fl_Table │ │ │ +0006b440: 2073 656c 662c 2069 6e74 2072 6f77 2920 self, int row) │ │ │ +0006b450: 2d3e 2069 6e74 0a20 2020 2020 2020 2022 -> int. " │ │ │ +0006b460: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0006b470: 6e20 5f66 6c74 6b2e 466c 5f54 6162 6c65 n _fltk.Fl_Table │ │ │ +0006b480: 5f72 6f77 5f68 6569 6768 7428 7365 6c66 _row_height(self │ │ │ +0006b490: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +0006b4a0: 6620 636f 6c5f 7769 6474 6828 7365 6c66 f col_width(self │ │ │ +0006b4b0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +0006b4c0: 2020 7222 2222 0a20 2020 2020 2020 2063 r""". c │ │ │ +0006b4d0: 6f6c 5f77 6964 7468 2846 6c5f 5461 626c ol_width(Fl_Tabl │ │ │ +0006b4e0: 6520 7365 6c66 2c20 696e 7420 636f 6c2c e self, int col, │ │ │ +0006b4f0: 2069 6e74 2077 6964 7468 290a 2020 2020 int width). │ │ │ +0006b500: 2020 2020 636f 6c5f 7769 6474 6828 466c col_width(Fl │ │ │ +0006b510: 5f54 6162 6c65 2073 656c 662c 2069 6e74 _Table self, int │ │ │ +0006b520: 2063 6f6c 2920 2d3e 2069 6e74 0a20 2020 col) -> int. │ │ │ +0006b530: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ +0006b540: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +0006b550: 5f54 6162 6c65 5f63 6f6c 5f77 6964 7468 _Table_col_width │ │ │ +0006b560: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +0006b570: 2020 2064 6566 2072 6f77 5f68 6569 6768 def row_heigh │ │ │ +0006b580: 745f 616c 6c28 7365 6c66 2c20 2a61 7267 t_all(self, *arg │ │ │ +0006b590: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +0006b5a0: 726f 775f 6865 6967 6874 5f61 6c6c 2846 row_height_all(F │ │ │ +0006b5b0: 6c5f 5461 626c 6520 7365 6c66 2c20 696e l_Table self, in │ │ │ +0006b5c0: 7420 6865 6967 6874 2922 2222 0a20 2020 t height)""". │ │ │ +0006b5d0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +0006b5e0: 6b2e 466c 5f54 6162 6c65 5f72 6f77 5f68 k.Fl_Table_row_h │ │ │ +0006b5f0: 6569 6768 745f 616c 6c28 7365 6c66 2c20 eight_all(self, │ │ │ +0006b600: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +0006b610: 636f 6c5f 7769 6474 685f 616c 6c28 7365 col_width_all(se │ │ │ +0006b620: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +0006b630: 2020 2020 7222 2222 636f 6c5f 7769 6474 r"""col_widt │ │ │ +0006b640: 685f 616c 6c28 466c 5f54 6162 6c65 2073 h_all(Fl_Table s │ │ │ +0006b650: 656c 662c 2069 6e74 2077 6964 7468 2922 elf, int width)" │ │ │ +0006b660: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0006b670: 6e20 5f66 6c74 6b2e 466c 5f54 6162 6c65 n _fltk.Fl_Table │ │ │ +0006b680: 5f63 6f6c 5f77 6964 7468 5f61 6c6c 2873 _col_width_all(s │ │ │ +0006b690: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +0006b6a0: 2064 6566 2072 6f77 5f70 6f73 6974 696f def row_positio │ │ │ +0006b6b0: 6e28 7365 6c66 2c20 2a61 7267 7329 3a0a n(self, *args):. │ │ │ +0006b6c0: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ 0006b6d0: 2020 2020 2072 6f77 5f70 6f73 6974 696f row_positio │ │ │ -0006b6e0: 6e28 466c 5f54 6162 6c65 2073 656c 6629 n(Fl_Table self) │ │ │ -0006b6f0: 202d 3e20 696e 740a 2020 2020 2020 2020 -> int. │ │ │ -0006b700: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -0006b710: 726e 205f 666c 746b 2e46 6c5f 5461 626c rn _fltk.Fl_Tabl │ │ │ -0006b720: 655f 726f 775f 706f 7369 7469 6f6e 2873 e_row_position(s │ │ │ -0006b730: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -0006b740: 2064 6566 2063 6f6c 5f70 6f73 6974 696f def col_positio │ │ │ -0006b750: 6e28 7365 6c66 2c20 2a61 7267 7329 3a0a n(self, *args):. │ │ │ -0006b760: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ -0006b770: 2020 2020 2063 6f6c 5f70 6f73 6974 696f col_positio │ │ │ -0006b780: 6e28 466c 5f54 6162 6c65 2073 656c 662c n(Fl_Table self, │ │ │ -0006b790: 2069 6e74 2063 6f6c 290a 2020 2020 2020 int col). │ │ │ +0006b6e0: 6e28 466c 5f54 6162 6c65 2073 656c 662c n(Fl_Table self, │ │ │ +0006b6f0: 2069 6e74 2072 6f77 290a 2020 2020 2020 int row). │ │ │ +0006b700: 2020 726f 775f 706f 7369 7469 6f6e 2846 row_position(F │ │ │ +0006b710: 6c5f 5461 626c 6520 7365 6c66 2920 2d3e l_Table self) -> │ │ │ +0006b720: 2069 6e74 0a20 2020 2020 2020 2022 2222 int. """ │ │ │ +0006b730: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +0006b740: 5f66 6c74 6b2e 466c 5f54 6162 6c65 5f72 _fltk.Fl_Table_r │ │ │ +0006b750: 6f77 5f70 6f73 6974 696f 6e28 7365 6c66 ow_position(self │ │ │ +0006b760: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +0006b770: 6620 636f 6c5f 706f 7369 7469 6f6e 2873 f col_position(s │ │ │ +0006b780: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +0006b790: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ 0006b7a0: 2020 636f 6c5f 706f 7369 7469 6f6e 2846 col_position(F │ │ │ -0006b7b0: 6c5f 5461 626c 6520 7365 6c66 2920 2d3e l_Table self) -> │ │ │ -0006b7c0: 2069 6e74 0a20 2020 2020 2020 2022 2222 int. """ │ │ │ -0006b7d0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -0006b7e0: 5f66 6c74 6b2e 466c 5f54 6162 6c65 5f63 _fltk.Fl_Table_c │ │ │ -0006b7f0: 6f6c 5f70 6f73 6974 696f 6e28 7365 6c66 ol_position(self │ │ │ -0006b800: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -0006b810: 6620 746f 705f 726f 7728 7365 6c66 2c20 f top_row(self, │ │ │ -0006b820: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -0006b830: 7222 2222 0a20 2020 2020 2020 2074 6f70 r""". top │ │ │ -0006b840: 5f72 6f77 2846 6c5f 5461 626c 6520 7365 _row(Fl_Table se │ │ │ -0006b850: 6c66 2c20 696e 7420 726f 7729 0a20 2020 lf, int row). │ │ │ -0006b860: 2020 2020 2074 6f70 5f72 6f77 2846 6c5f top_row(Fl_ │ │ │ -0006b870: 5461 626c 6520 7365 6c66 2920 2d3e 2069 Table self) -> i │ │ │ -0006b880: 6e74 0a20 2020 2020 2020 2022 2222 0a20 nt. """. │ │ │ -0006b890: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -0006b8a0: 6c74 6b2e 466c 5f54 6162 6c65 5f74 6f70 ltk.Fl_Table_top │ │ │ -0006b8b0: 5f72 6f77 2873 656c 662c 202a 6172 6773 _row(self, *args │ │ │ -0006b8c0: 290a 0a20 2020 2064 6566 2069 735f 7365 ).. def is_se │ │ │ -0006b8d0: 6c65 6374 6564 2873 656c 662c 202a 6172 lected(self, *ar │ │ │ -0006b8e0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -0006b8f0: 2269 735f 7365 6c65 6374 6564 2846 6c5f "is_selected(Fl_ │ │ │ -0006b900: 5461 626c 6520 7365 6c66 2c20 696e 7420 Table self, int │ │ │ -0006b910: 722c 2069 6e74 2063 2920 2d3e 2069 6e74 r, int c) -> int │ │ │ -0006b920: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -0006b930: 726e 205f 666c 746b 2e46 6c5f 5461 626c rn _fltk.Fl_Tabl │ │ │ -0006b940: 655f 6973 5f73 656c 6563 7465 6428 7365 e_is_selected(se │ │ │ -0006b950: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -0006b960: 6465 6620 6765 745f 7365 6c65 6374 696f def get_selectio │ │ │ -0006b970: 6e28 7365 6c66 2c20 2a61 7267 7329 3a0a n(self, *args):. │ │ │ -0006b980: 2020 2020 2020 2020 7222 2222 6765 745f r"""get_ │ │ │ -0006b990: 7365 6c65 6374 696f 6e28 466c 5f54 6162 selection(Fl_Tab │ │ │ -0006b9a0: 6c65 2073 656c 6629 2222 220a 2020 2020 le self)""". │ │ │ -0006b9b0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -0006b9c0: 2e46 6c5f 5461 626c 655f 6765 745f 7365 .Fl_Table_get_se │ │ │ -0006b9d0: 6c65 6374 696f 6e28 7365 6c66 2c20 2a61 lection(self, *a │ │ │ -0006b9e0: 7267 7329 0a0a 2020 2020 6465 6620 7365 rgs).. def se │ │ │ -0006b9f0: 745f 7365 6c65 6374 696f 6e28 7365 6c66 t_selection(self │ │ │ -0006ba00: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -0006ba10: 2020 7222 2222 7365 745f 7365 6c65 6374 r"""set_select │ │ │ -0006ba20: 696f 6e28 466c 5f54 6162 6c65 2073 656c ion(Fl_Table sel │ │ │ -0006ba30: 662c 2069 6e74 2072 6f77 5f74 6f70 2c20 f, int row_top, │ │ │ -0006ba40: 696e 7420 636f 6c5f 6c65 6674 2c20 696e int col_left, in │ │ │ -0006ba50: 7420 726f 775f 626f 742c 2069 6e74 2063 t row_bot, int c │ │ │ -0006ba60: 6f6c 5f72 6967 6874 2922 2222 0a20 2020 ol_right)""". │ │ │ -0006ba70: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -0006ba80: 6b2e 466c 5f54 6162 6c65 5f73 6574 5f73 k.Fl_Table_set_s │ │ │ -0006ba90: 656c 6563 7469 6f6e 2873 656c 662c 202a election(self, * │ │ │ -0006baa0: 6172 6773 290a 0a20 2020 2064 6566 206d args).. def m │ │ │ -0006bab0: 6f76 655f 6375 7273 6f72 2873 656c 662c ove_cursor(self, │ │ │ -0006bac0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -0006bad0: 2072 2222 220a 2020 2020 2020 2020 6d6f r""". mo │ │ │ -0006bae0: 7665 5f63 7572 736f 7228 466c 5f54 6162 ve_cursor(Fl_Tab │ │ │ -0006baf0: 6c65 2073 656c 662c 2069 6e74 2052 2c20 le self, int R, │ │ │ -0006bb00: 696e 7420 432c 2069 6e74 2073 6869 6674 int C, int shift │ │ │ -0006bb10: 7365 6c65 6374 2920 2d3e 2069 6e74 0a20 select) -> int. │ │ │ -0006bb20: 2020 2020 2020 206d 6f76 655f 6375 7273 move_curs │ │ │ -0006bb30: 6f72 2846 6c5f 5461 626c 6520 7365 6c66 or(Fl_Table self │ │ │ -0006bb40: 2c20 696e 7420 522c 2069 6e74 2043 2920 , int R, int C) │ │ │ -0006bb50: 2d3e 2069 6e74 0a20 2020 2020 2020 2022 -> int. " │ │ │ -0006bb60: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -0006bb70: 6e20 5f66 6c74 6b2e 466c 5f54 6162 6c65 n _fltk.Fl_Table │ │ │ -0006bb80: 5f6d 6f76 655f 6375 7273 6f72 2873 656c _move_cursor(sel │ │ │ -0006bb90: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -0006bba0: 6566 2072 6573 697a 6528 7365 6c66 2c20 ef resize(self, │ │ │ -0006bbb0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -0006bbc0: 7222 2222 7265 7369 7a65 2846 6c5f 5461 r"""resize(Fl_Ta │ │ │ -0006bbd0: 626c 6520 7365 6c66 2c20 696e 7420 582c ble self, int X, │ │ │ -0006bbe0: 2069 6e74 2059 2c20 696e 7420 572c 2069 int Y, int W, i │ │ │ -0006bbf0: 6e74 2048 2922 2222 0a20 2020 2020 2020 nt H)""". │ │ │ -0006bc00: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -0006bc10: 5f54 6162 6c65 5f72 6573 697a 6528 7365 _Table_resize(se │ │ │ -0006bc20: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -0006bc30: 6465 6620 696e 6974 5f73 697a 6573 2873 def init_sizes(s │ │ │ -0006bc40: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -0006bc50: 2020 2020 2072 2222 2269 6e69 745f 7369 r"""init_si │ │ │ -0006bc60: 7a65 7328 466c 5f54 6162 6c65 2073 656c zes(Fl_Table sel │ │ │ -0006bc70: 6629 2222 220a 2020 2020 2020 2020 7265 f)""". re │ │ │ -0006bc80: 7475 726e 205f 666c 746b 2e46 6c5f 5461 turn _fltk.Fl_Ta │ │ │ -0006bc90: 626c 655f 696e 6974 5f73 697a 6573 2873 ble_init_sizes(s │ │ │ -0006bca0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -0006bcb0: 2064 6566 2061 6464 2873 656c 662c 202a def add(self, * │ │ │ -0006bcc0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -0006bcd0: 2222 2261 6464 2846 6c5f 5461 626c 6520 """add(Fl_Table │ │ │ -0006bce0: 7365 6c66 2c20 466c 5f57 6964 6765 7420 self, Fl_Widget │ │ │ -0006bcf0: 7767 7429 2222 220a 2020 2020 2020 2020 wgt)""". │ │ │ -0006bd00: 7661 6c20 3d20 5f66 6c74 6b2e 466c 5f54 val = _fltk.Fl_T │ │ │ -0006bd10: 6162 6c65 5f61 6464 2873 656c 662c 202a able_add(self, * │ │ │ -0006bd20: 6172 6773 290a 0a20 2020 2020 2020 2023 args).. # │ │ │ -0006bd30: 7365 6c66 203d 2061 7267 735b 305d 0a20 self = args[0]. │ │ │ -0006bd40: 2020 2020 2020 2069 6620 7365 6c66 2e70 if self.p │ │ │ -0006bd50: 6172 656e 7428 2920 213d 204e 6f6e 653a arent() != None: │ │ │ -0006bd60: 2020 200a 2020 2020 2020 2020 2364 656c . #del │ │ │ -0006bd70: 6567 6174 6520 6f77 6e65 7273 6869 7020 egate ownership │ │ │ -0006bd80: 746f 2043 2b2b 0a20 2020 2020 2020 2020 to C++. │ │ │ -0006bd90: 2020 2073 656c 662e 7468 6973 2e64 6973 self.this.dis │ │ │ -0006bda0: 6f77 6e28 290a 2020 2020 2020 2020 656c own(). el │ │ │ -0006bdb0: 7365 3a20 2020 2020 2020 2020 2020 2020 se: │ │ │ -0006bdc0: 2020 2020 2020 2020 2020 0a20 2020 2020 . │ │ │ -0006bdd0: 2020 2023 6769 7665 206f 776e 6572 7368 #give ownersh │ │ │ -0006bde0: 6970 2062 6163 6b20 746f 2050 7974 686f ip back to Pytho │ │ │ -0006bdf0: 6e0a 2020 2020 2020 2020 2020 2020 7365 n. se │ │ │ -0006be00: 6c66 2e74 6869 732e 6f77 6e28 2920 0a0a lf.this.own() .. │ │ │ -0006be10: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -0006be20: 7661 6c0a 0a0a 2020 2020 6465 6620 696e val... def in │ │ │ -0006be30: 7365 7274 2873 656c 662c 202a 6172 6773 sert(self, *args │ │ │ -0006be40: 293a 0a20 2020 2020 2020 2072 2222 2269 ):. r"""i │ │ │ -0006be50: 6e73 6572 7428 466c 5f54 6162 6c65 2073 nsert(Fl_Table s │ │ │ -0006be60: 656c 662c 2046 6c5f 5769 6467 6574 2077 elf, Fl_Widget w │ │ │ -0006be70: 6774 2c20 696e 7420 6e29 2222 220a 2020 gt, int n)""". │ │ │ -0006be80: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -0006be90: 746b 2e46 6c5f 5461 626c 655f 696e 7365 tk.Fl_Table_inse │ │ │ -0006bea0: 7274 2873 656c 662c 202a 6172 6773 290a rt(self, *args). │ │ │ -0006beb0: 0a20 2020 2064 6566 2069 6e73 6572 745f . def insert_ │ │ │ -0006bec0: 6265 666f 7265 2873 656c 662c 202a 6172 before(self, *ar │ │ │ -0006bed0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -0006bee0: 2269 6e73 6572 745f 6265 666f 7265 2846 "insert_before(F │ │ │ -0006bef0: 6c5f 5461 626c 6520 7365 6c66 2c20 466c l_Table self, Fl │ │ │ -0006bf00: 5f57 6964 6765 7420 7767 742c 2046 6c5f _Widget wgt, Fl_ │ │ │ -0006bf10: 5769 6467 6574 2077 3229 2222 220a 2020 Widget w2)""". │ │ │ -0006bf20: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -0006bf30: 746b 2e46 6c5f 5461 626c 655f 696e 7365 tk.Fl_Table_inse │ │ │ -0006bf40: 7274 5f62 6566 6f72 6528 7365 6c66 2c20 rt_before(self, │ │ │ -0006bf50: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -0006bf60: 6265 6769 6e28 7365 6c66 2c20 2a61 7267 begin(self, *arg │ │ │ -0006bf70: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0006bf80: 6265 6769 6e28 466c 5f54 6162 6c65 2073 begin(Fl_Table s │ │ │ -0006bf90: 656c 6629 2222 220a 2020 2020 2020 2020 elf)""". │ │ │ -0006bfa0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -0006bfb0: 5461 626c 655f 6265 6769 6e28 7365 6c66 Table_begin(self │ │ │ -0006bfc0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -0006bfd0: 6620 656e 6428 7365 6c66 2c20 2a61 7267 f end(self, *arg │ │ │ -0006bfe0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0006bff0: 656e 6428 466c 5f54 6162 6c65 2073 656c end(Fl_Table sel │ │ │ -0006c000: 6629 2222 220a 2020 2020 2020 2020 7265 f)""". re │ │ │ -0006c010: 7475 726e 205f 666c 746b 2e46 6c5f 5461 turn _fltk.Fl_Ta │ │ │ -0006c020: 626c 655f 656e 6428 7365 6c66 2c20 2a61 ble_end(self, *a │ │ │ -0006c030: 7267 7329 0a0a 2020 2020 6465 6620 6368 rgs).. def ch │ │ │ -0006c040: 696c 6428 7365 6c66 2c20 2a61 7267 7329 ild(self, *args) │ │ │ -0006c050: 3a0a 2020 2020 2020 2020 7222 2222 6368 :. r"""ch │ │ │ -0006c060: 696c 6428 466c 5f54 6162 6c65 2073 656c ild(Fl_Table sel │ │ │ -0006c070: 662c 2069 6e74 206e 2920 2d3e 2046 6c5f f, int n) -> Fl_ │ │ │ -0006c080: 5769 6467 6574 2222 220a 2020 2020 2020 Widget""". │ │ │ -0006c090: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -0006c0a0: 6c5f 5461 626c 655f 6368 696c 6428 7365 l_Table_child(se │ │ │ -0006c0b0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -0006c0c0: 6465 6620 6368 696c 6472 656e 2873 656c def children(sel │ │ │ -0006c0d0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -0006c0e0: 2020 2072 2222 2263 6869 6c64 7265 6e28 r"""children( │ │ │ -0006c0f0: 466c 5f54 6162 6c65 2073 656c 6629 202d Fl_Table self) - │ │ │ -0006c100: 3e20 696e 7422 2222 0a20 2020 2020 2020 > int""". │ │ │ -0006c110: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -0006c120: 5f54 6162 6c65 5f63 6869 6c64 7265 6e28 _Table_children( │ │ │ -0006c130: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -0006c140: 2020 6465 6620 6669 6e64 2873 656c 662c def find(self, │ │ │ -0006c150: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -0006c160: 2072 2222 2266 696e 6428 466c 5f54 6162 r"""find(Fl_Tab │ │ │ -0006c170: 6c65 2073 656c 662c 2046 6c5f 5769 6467 le self, Fl_Widg │ │ │ -0006c180: 6574 2077 6774 2920 2d3e 2069 6e74 2222 et wgt) -> int"" │ │ │ -0006c190: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -0006c1a0: 205f 666c 746b 2e46 6c5f 5461 626c 655f _fltk.Fl_Table_ │ │ │ -0006c1b0: 6669 6e64 2873 656c 662c 202a 6172 6773 find(self, *args │ │ │ -0006c1c0: 290a 0a20 2020 2064 6566 2063 616c 6c62 ).. def callb │ │ │ -0006c1d0: 6163 6b5f 726f 7728 7365 6c66 2c20 2a61 ack_row(self, *a │ │ │ -0006c1e0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -0006c1f0: 2222 6361 6c6c 6261 636b 5f72 6f77 2846 ""callback_row(F │ │ │ -0006c200: 6c5f 5461 626c 6520 7365 6c66 2920 2d3e l_Table self) -> │ │ │ -0006c210: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ -0006c220: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -0006c230: 5461 626c 655f 6361 6c6c 6261 636b 5f72 Table_callback_r │ │ │ -0006c240: 6f77 2873 656c 662c 202a 6172 6773 290a ow(self, *args). │ │ │ -0006c250: 0a20 2020 2064 6566 2063 616c 6c62 6163 . def callbac │ │ │ -0006c260: 6b5f 636f 6c28 7365 6c66 2c20 2a61 7267 k_col(self, *arg │ │ │ -0006c270: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0006c280: 6361 6c6c 6261 636b 5f63 6f6c 2846 6c5f callback_col(Fl_ │ │ │ -0006c290: 5461 626c 6520 7365 6c66 2920 2d3e 2069 Table self) -> i │ │ │ -0006c2a0: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ -0006c2b0: 7475 726e 205f 666c 746b 2e46 6c5f 5461 turn _fltk.Fl_Ta │ │ │ -0006c2c0: 626c 655f 6361 6c6c 6261 636b 5f63 6f6c ble_callback_col │ │ │ -0006c2d0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -0006c2e0: 2020 2064 6566 2063 616c 6c62 6163 6b5f def callback_ │ │ │ -0006c2f0: 636f 6e74 6578 7428 7365 6c66 2c20 2a61 context(self, *a │ │ │ -0006c300: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -0006c310: 2222 6361 6c6c 6261 636b 5f63 6f6e 7465 ""callback_conte │ │ │ -0006c320: 7874 2846 6c5f 5461 626c 6520 7365 6c66 xt(Fl_Table self │ │ │ -0006c330: 2920 2d3e 2046 6c5f 5461 626c 653a 3a54 ) -> Fl_Table::T │ │ │ -0006c340: 6162 6c65 436f 6e74 6578 7422 2222 0a20 ableContext""". │ │ │ -0006c350: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -0006c360: 6c74 6b2e 466c 5f54 6162 6c65 5f63 616c ltk.Fl_Table_cal │ │ │ -0006c370: 6c62 6163 6b5f 636f 6e74 6578 7428 7365 lback_context(se │ │ │ -0006c380: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -0006c390: 6465 6620 646f 5f63 616c 6c62 6163 6b28 def do_callback( │ │ │ -0006c3a0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -0006c3b0: 2020 2020 2020 7222 2222 646f 5f63 616c r"""do_cal │ │ │ -0006c3c0: 6c62 6163 6b28 466c 5f54 6162 6c65 2073 lback(Fl_Table s │ │ │ -0006c3d0: 656c 662c 2046 6c5f 5461 626c 653a 3a54 elf, Fl_Table::T │ │ │ -0006c3e0: 6162 6c65 436f 6e74 6578 7420 636f 6e74 ableContext cont │ │ │ -0006c3f0: 6578 742c 2069 6e74 2072 6f77 2c20 696e ext, int row, in │ │ │ -0006c400: 7420 636f 6c29 2222 220a 2020 2020 2020 t col)""". │ │ │ -0006c410: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -0006c420: 6c5f 5461 626c 655f 646f 5f63 616c 6c62 l_Table_do_callb │ │ │ -0006c430: 6163 6b28 7365 6c66 2c20 2a61 7267 7329 ack(self, *args) │ │ │ -0006c440: 0a0a 2020 2020 6465 6620 7363 726f 6c6c .. def scroll │ │ │ -0006c450: 6261 725f 7369 7a65 2873 656c 662c 202a bar_size(self, * │ │ │ -0006c460: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -0006c470: 2222 220a 2020 2020 2020 2020 7363 726f """. scro │ │ │ -0006c480: 6c6c 6261 725f 7369 7a65 2846 6c5f 5461 llbar_size(Fl_Ta │ │ │ -0006c490: 626c 6520 7365 6c66 2920 2d3e 2069 6e74 ble self) -> int │ │ │ +0006b7b0: 6c5f 5461 626c 6520 7365 6c66 2c20 696e l_Table self, in │ │ │ +0006b7c0: 7420 636f 6c29 0a20 2020 2020 2020 2063 t col). c │ │ │ +0006b7d0: 6f6c 5f70 6f73 6974 696f 6e28 466c 5f54 ol_position(Fl_T │ │ │ +0006b7e0: 6162 6c65 2073 656c 6629 202d 3e20 696e able self) -> in │ │ │ +0006b7f0: 740a 2020 2020 2020 2020 2222 220a 2020 t. """. │ │ │ +0006b800: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +0006b810: 746b 2e46 6c5f 5461 626c 655f 636f 6c5f tk.Fl_Table_col_ │ │ │ +0006b820: 706f 7369 7469 6f6e 2873 656c 662c 202a position(self, * │ │ │ +0006b830: 6172 6773 290a 0a20 2020 2064 6566 2074 args).. def t │ │ │ +0006b840: 6f70 5f72 6f77 2873 656c 662c 202a 6172 op_row(self, *ar │ │ │ +0006b850: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +0006b860: 220a 2020 2020 2020 2020 746f 705f 726f ". top_ro │ │ │ +0006b870: 7728 466c 5f54 6162 6c65 2073 656c 662c w(Fl_Table self, │ │ │ +0006b880: 2069 6e74 2072 6f77 290a 2020 2020 2020 int row). │ │ │ +0006b890: 2020 746f 705f 726f 7728 466c 5f54 6162 top_row(Fl_Tab │ │ │ +0006b8a0: 6c65 2073 656c 6629 202d 3e20 696e 740a le self) -> int. │ │ │ +0006b8b0: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ +0006b8c0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +0006b8d0: 2e46 6c5f 5461 626c 655f 746f 705f 726f .Fl_Table_top_ro │ │ │ +0006b8e0: 7728 7365 6c66 2c20 2a61 7267 7329 0a0a w(self, *args).. │ │ │ +0006b8f0: 2020 2020 6465 6620 6973 5f73 656c 6563 def is_selec │ │ │ +0006b900: 7465 6428 7365 6c66 2c20 2a61 7267 7329 ted(self, *args) │ │ │ +0006b910: 3a0a 2020 2020 2020 2020 7222 2222 6973 :. r"""is │ │ │ +0006b920: 5f73 656c 6563 7465 6428 466c 5f54 6162 _selected(Fl_Tab │ │ │ +0006b930: 6c65 2073 656c 662c 2069 6e74 2072 2c20 le self, int r, │ │ │ +0006b940: 696e 7420 6329 202d 3e20 696e 7422 2222 int c) -> int""" │ │ │ +0006b950: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +0006b960: 5f66 6c74 6b2e 466c 5f54 6162 6c65 5f69 _fltk.Fl_Table_i │ │ │ +0006b970: 735f 7365 6c65 6374 6564 2873 656c 662c s_selected(self, │ │ │ +0006b980: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +0006b990: 2067 6574 5f73 656c 6563 7469 6f6e 2873 get_selection(s │ │ │ +0006b9a0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +0006b9b0: 2020 2020 2072 2222 2267 6574 5f73 656c r"""get_sel │ │ │ +0006b9c0: 6563 7469 6f6e 2846 6c5f 5461 626c 6520 ection(Fl_Table │ │ │ +0006b9d0: 7365 6c66 2922 2222 0a20 2020 2020 2020 self)""". │ │ │ +0006b9e0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +0006b9f0: 5f54 6162 6c65 5f67 6574 5f73 656c 6563 _Table_get_selec │ │ │ +0006ba00: 7469 6f6e 2873 656c 662c 202a 6172 6773 tion(self, *args │ │ │ +0006ba10: 290a 0a20 2020 2064 6566 2073 6574 5f73 ).. def set_s │ │ │ +0006ba20: 656c 6563 7469 6f6e 2873 656c 662c 202a election(self, * │ │ │ +0006ba30: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +0006ba40: 2222 2273 6574 5f73 656c 6563 7469 6f6e """set_selection │ │ │ +0006ba50: 2846 6c5f 5461 626c 6520 7365 6c66 2c20 (Fl_Table self, │ │ │ +0006ba60: 696e 7420 726f 775f 746f 702c 2069 6e74 int row_top, int │ │ │ +0006ba70: 2063 6f6c 5f6c 6566 742c 2069 6e74 2072 col_left, int r │ │ │ +0006ba80: 6f77 5f62 6f74 2c20 696e 7420 636f 6c5f ow_bot, int col_ │ │ │ +0006ba90: 7269 6768 7429 2222 220a 2020 2020 2020 right)""". │ │ │ +0006baa0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +0006bab0: 6c5f 5461 626c 655f 7365 745f 7365 6c65 l_Table_set_sele │ │ │ +0006bac0: 6374 696f 6e28 7365 6c66 2c20 2a61 7267 ction(self, *arg │ │ │ +0006bad0: 7329 0a0a 2020 2020 6465 6620 6d6f 7665 s).. def move │ │ │ +0006bae0: 5f63 7572 736f 7228 7365 6c66 2c20 2a61 _cursor(self, *a │ │ │ +0006baf0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0006bb00: 2222 0a20 2020 2020 2020 206d 6f76 655f "". move_ │ │ │ +0006bb10: 6375 7273 6f72 2846 6c5f 5461 626c 6520 cursor(Fl_Table │ │ │ +0006bb20: 7365 6c66 2c20 696e 7420 522c 2069 6e74 self, int R, int │ │ │ +0006bb30: 2043 2c20 696e 7420 7368 6966 7473 656c C, int shiftsel │ │ │ +0006bb40: 6563 7429 202d 3e20 696e 740a 2020 2020 ect) -> int. │ │ │ +0006bb50: 2020 2020 6d6f 7665 5f63 7572 736f 7228 move_cursor( │ │ │ +0006bb60: 466c 5f54 6162 6c65 2073 656c 662c 2069 Fl_Table self, i │ │ │ +0006bb70: 6e74 2052 2c20 696e 7420 4329 202d 3e20 nt R, int C) -> │ │ │ +0006bb80: 696e 740a 2020 2020 2020 2020 2222 220a int. """. │ │ │ +0006bb90: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +0006bba0: 666c 746b 2e46 6c5f 5461 626c 655f 6d6f fltk.Fl_Table_mo │ │ │ +0006bbb0: 7665 5f63 7572 736f 7228 7365 6c66 2c20 ve_cursor(self, │ │ │ +0006bbc0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +0006bbd0: 7265 7369 7a65 2873 656c 662c 202a 6172 resize(self, *ar │ │ │ +0006bbe0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +0006bbf0: 2272 6573 697a 6528 466c 5f54 6162 6c65 "resize(Fl_Table │ │ │ +0006bc00: 2073 656c 662c 2069 6e74 2058 2c20 696e self, int X, in │ │ │ +0006bc10: 7420 592c 2069 6e74 2057 2c20 696e 7420 t Y, int W, int │ │ │ +0006bc20: 4829 2222 220a 2020 2020 2020 2020 7265 H)""". re │ │ │ +0006bc30: 7475 726e 205f 666c 746b 2e46 6c5f 5461 turn _fltk.Fl_Ta │ │ │ +0006bc40: 626c 655f 7265 7369 7a65 2873 656c 662c ble_resize(self, │ │ │ +0006bc50: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +0006bc60: 2069 6e69 745f 7369 7a65 7328 7365 6c66 init_sizes(self │ │ │ +0006bc70: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +0006bc80: 2020 7222 2222 696e 6974 5f73 697a 6573 r"""init_sizes │ │ │ +0006bc90: 2846 6c5f 5461 626c 6520 7365 6c66 2922 (Fl_Table self)" │ │ │ +0006bca0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0006bcb0: 6e20 5f66 6c74 6b2e 466c 5f54 6162 6c65 n _fltk.Fl_Table │ │ │ +0006bcc0: 5f69 6e69 745f 7369 7a65 7328 7365 6c66 _init_sizes(self │ │ │ +0006bcd0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +0006bce0: 6620 6164 6428 7365 6c66 2c20 2a61 7267 f add(self, *arg │ │ │ +0006bcf0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +0006bd00: 6164 6428 466c 5f54 6162 6c65 2073 656c add(Fl_Table sel │ │ │ +0006bd10: 662c 2046 6c5f 5769 6467 6574 2077 6774 f, Fl_Widget wgt │ │ │ +0006bd20: 2922 2222 0a20 2020 2020 2020 2076 616c )""". val │ │ │ +0006bd30: 203d 205f 666c 746b 2e46 6c5f 5461 626c = _fltk.Fl_Tabl │ │ │ +0006bd40: 655f 6164 6428 7365 6c66 2c20 2a61 7267 e_add(self, *arg │ │ │ +0006bd50: 7329 0a0a 2020 2020 2020 2020 2373 656c s).. #sel │ │ │ +0006bd60: 6620 3d20 6172 6773 5b30 5d0a 2020 2020 f = args[0]. │ │ │ +0006bd70: 2020 2020 6966 2073 656c 662e 7061 7265 if self.pare │ │ │ +0006bd80: 6e74 2829 2021 3d20 4e6f 6e65 3a20 2020 nt() != None: │ │ │ +0006bd90: 0a20 2020 2020 2020 2023 6465 6c65 6761 . #delega │ │ │ +0006bda0: 7465 206f 776e 6572 7368 6970 2074 6f20 te ownership to │ │ │ +0006bdb0: 432b 2b0a 2020 2020 2020 2020 2020 2020 C++. │ │ │ +0006bdc0: 7365 6c66 2e74 6869 732e 6469 736f 776e self.this.disown │ │ │ +0006bdd0: 2829 0a20 2020 2020 2020 2065 6c73 653a (). else: │ │ │ +0006bde0: 2020 2020 2020 2020 2020 2020 2020 2020 │ │ │ +0006bdf0: 2020 2020 2020 200a 2020 2020 2020 2020 . │ │ │ +0006be00: 2367 6976 6520 6f77 6e65 7273 6869 7020 #give ownership │ │ │ +0006be10: 6261 636b 2074 6f20 5079 7468 6f6e 0a20 back to Python. │ │ │ +0006be20: 2020 2020 2020 2020 2020 2073 656c 662e self. │ │ │ +0006be30: 7468 6973 2e6f 776e 2829 200a 0a0a 2020 this.own() ... │ │ │ +0006be40: 2020 2020 2020 7265 7475 726e 2076 616c return val │ │ │ +0006be50: 0a0a 0a20 2020 2064 6566 2069 6e73 6572 ... def inser │ │ │ +0006be60: 7428 7365 6c66 2c20 2a61 7267 7329 3a0a t(self, *args):. │ │ │ +0006be70: 2020 2020 2020 2020 7222 2222 696e 7365 r"""inse │ │ │ +0006be80: 7274 2846 6c5f 5461 626c 6520 7365 6c66 rt(Fl_Table self │ │ │ +0006be90: 2c20 466c 5f57 6964 6765 7420 7767 742c , Fl_Widget wgt, │ │ │ +0006bea0: 2069 6e74 206e 2922 2222 0a20 2020 2020 int n)""". │ │ │ +0006beb0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +0006bec0: 466c 5f54 6162 6c65 5f69 6e73 6572 7428 Fl_Table_insert( │ │ │ +0006bed0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +0006bee0: 2020 6465 6620 696e 7365 7274 5f62 6566 def insert_bef │ │ │ +0006bef0: 6f72 6528 7365 6c66 2c20 2a61 7267 7329 ore(self, *args) │ │ │ +0006bf00: 3a0a 2020 2020 2020 2020 7222 2222 696e :. r"""in │ │ │ +0006bf10: 7365 7274 5f62 6566 6f72 6528 466c 5f54 sert_before(Fl_T │ │ │ +0006bf20: 6162 6c65 2073 656c 662c 2046 6c5f 5769 able self, Fl_Wi │ │ │ +0006bf30: 6467 6574 2077 6774 2c20 466c 5f57 6964 dget wgt, Fl_Wid │ │ │ +0006bf40: 6765 7420 7732 2922 2222 0a20 2020 2020 get w2)""". │ │ │ +0006bf50: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +0006bf60: 466c 5f54 6162 6c65 5f69 6e73 6572 745f Fl_Table_insert_ │ │ │ +0006bf70: 6265 666f 7265 2873 656c 662c 202a 6172 before(self, *ar │ │ │ +0006bf80: 6773 290a 0a20 2020 2064 6566 2062 6567 gs).. def beg │ │ │ +0006bf90: 696e 2873 656c 662c 202a 6172 6773 293a in(self, *args): │ │ │ +0006bfa0: 0a20 2020 2020 2020 2072 2222 2262 6567 . r"""beg │ │ │ +0006bfb0: 696e 2846 6c5f 5461 626c 6520 7365 6c66 in(Fl_Table self │ │ │ +0006bfc0: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ +0006bfd0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6162 urn _fltk.Fl_Tab │ │ │ +0006bfe0: 6c65 5f62 6567 696e 2873 656c 662c 202a le_begin(self, * │ │ │ +0006bff0: 6172 6773 290a 0a20 2020 2064 6566 2065 args).. def e │ │ │ +0006c000: 6e64 2873 656c 662c 202a 6172 6773 293a nd(self, *args): │ │ │ +0006c010: 0a20 2020 2020 2020 2072 2222 2265 6e64 . r"""end │ │ │ +0006c020: 2846 6c5f 5461 626c 6520 7365 6c66 2922 (Fl_Table self)" │ │ │ +0006c030: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0006c040: 6e20 5f66 6c74 6b2e 466c 5f54 6162 6c65 n _fltk.Fl_Table │ │ │ +0006c050: 5f65 6e64 2873 656c 662c 202a 6172 6773 _end(self, *args │ │ │ +0006c060: 290a 0a20 2020 2064 6566 2063 6869 6c64 ).. def child │ │ │ +0006c070: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +0006c080: 2020 2020 2020 2072 2222 2263 6869 6c64 r"""child │ │ │ +0006c090: 2846 6c5f 5461 626c 6520 7365 6c66 2c20 (Fl_Table self, │ │ │ +0006c0a0: 696e 7420 6e29 202d 3e20 466c 5f57 6964 int n) -> Fl_Wid │ │ │ +0006c0b0: 6765 7422 2222 0a20 2020 2020 2020 2072 get""". r │ │ │ +0006c0c0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +0006c0d0: 6162 6c65 5f63 6869 6c64 2873 656c 662c able_child(self, │ │ │ +0006c0e0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +0006c0f0: 2063 6869 6c64 7265 6e28 7365 6c66 2c20 children(self, │ │ │ +0006c100: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +0006c110: 7222 2222 6368 696c 6472 656e 2846 6c5f r"""children(Fl_ │ │ │ +0006c120: 5461 626c 6520 7365 6c66 2920 2d3e 2069 Table self) -> i │ │ │ +0006c130: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ +0006c140: 7475 726e 205f 666c 746b 2e46 6c5f 5461 turn _fltk.Fl_Ta │ │ │ +0006c150: 626c 655f 6368 696c 6472 656e 2873 656c ble_children(sel │ │ │ +0006c160: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +0006c170: 6566 2066 696e 6428 7365 6c66 2c20 2a61 ef find(self, *a │ │ │ +0006c180: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0006c190: 2222 6669 6e64 2846 6c5f 5461 626c 6520 ""find(Fl_Table │ │ │ +0006c1a0: 7365 6c66 2c20 466c 5f57 6964 6765 7420 self, Fl_Widget │ │ │ +0006c1b0: 7767 7429 202d 3e20 696e 7422 2222 0a20 wgt) -> int""". │ │ │ +0006c1c0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +0006c1d0: 6c74 6b2e 466c 5f54 6162 6c65 5f66 696e ltk.Fl_Table_fin │ │ │ +0006c1e0: 6428 7365 6c66 2c20 2a61 7267 7329 0a0a d(self, *args).. │ │ │ +0006c1f0: 2020 2020 6465 6620 6361 6c6c 6261 636b def callback │ │ │ +0006c200: 5f72 6f77 2873 656c 662c 202a 6172 6773 _row(self, *args │ │ │ +0006c210: 293a 0a20 2020 2020 2020 2072 2222 2263 ):. r"""c │ │ │ +0006c220: 616c 6c62 6163 6b5f 726f 7728 466c 5f54 allback_row(Fl_T │ │ │ +0006c230: 6162 6c65 2073 656c 6629 202d 3e20 696e able self) -> in │ │ │ +0006c240: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ +0006c250: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6162 urn _fltk.Fl_Tab │ │ │ +0006c260: 6c65 5f63 616c 6c62 6163 6b5f 726f 7728 le_callback_row( │ │ │ +0006c270: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +0006c280: 2020 6465 6620 6361 6c6c 6261 636b 5f63 def callback_c │ │ │ +0006c290: 6f6c 2873 656c 662c 202a 6172 6773 293a ol(self, *args): │ │ │ +0006c2a0: 0a20 2020 2020 2020 2072 2222 2263 616c . r"""cal │ │ │ +0006c2b0: 6c62 6163 6b5f 636f 6c28 466c 5f54 6162 lback_col(Fl_Tab │ │ │ +0006c2c0: 6c65 2073 656c 6629 202d 3e20 696e 7422 le self) -> int" │ │ │ +0006c2d0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0006c2e0: 6e20 5f66 6c74 6b2e 466c 5f54 6162 6c65 n _fltk.Fl_Table │ │ │ +0006c2f0: 5f63 616c 6c62 6163 6b5f 636f 6c28 7365 _callback_col(se │ │ │ +0006c300: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +0006c310: 6465 6620 6361 6c6c 6261 636b 5f63 6f6e def callback_con │ │ │ +0006c320: 7465 7874 2873 656c 662c 202a 6172 6773 text(self, *args │ │ │ +0006c330: 293a 0a20 2020 2020 2020 2072 2222 2263 ):. r"""c │ │ │ +0006c340: 616c 6c62 6163 6b5f 636f 6e74 6578 7428 allback_context( │ │ │ +0006c350: 466c 5f54 6162 6c65 2073 656c 6629 202d Fl_Table self) - │ │ │ +0006c360: 3e20 466c 5f54 6162 6c65 3a3a 5461 626c > Fl_Table::Tabl │ │ │ +0006c370: 6543 6f6e 7465 7874 2222 220a 2020 2020 eContext""". │ │ │ +0006c380: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +0006c390: 2e46 6c5f 5461 626c 655f 6361 6c6c 6261 .Fl_Table_callba │ │ │ +0006c3a0: 636b 5f63 6f6e 7465 7874 2873 656c 662c ck_context(self, │ │ │ +0006c3b0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +0006c3c0: 2064 6f5f 6361 6c6c 6261 636b 2873 656c do_callback(sel │ │ │ +0006c3d0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +0006c3e0: 2020 2072 2222 2264 6f5f 6361 6c6c 6261 r"""do_callba │ │ │ +0006c3f0: 636b 2846 6c5f 5461 626c 6520 7365 6c66 ck(Fl_Table self │ │ │ +0006c400: 2c20 466c 5f54 6162 6c65 3a3a 5461 626c , Fl_Table::Tabl │ │ │ +0006c410: 6543 6f6e 7465 7874 2063 6f6e 7465 7874 eContext context │ │ │ +0006c420: 2c20 696e 7420 726f 772c 2069 6e74 2063 , int row, int c │ │ │ +0006c430: 6f6c 2922 2222 0a20 2020 2020 2020 2072 ol)""". r │ │ │ +0006c440: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +0006c450: 6162 6c65 5f64 6f5f 6361 6c6c 6261 636b able_do_callback │ │ │ +0006c460: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +0006c470: 2020 2064 6566 2073 6372 6f6c 6c62 6172 def scrollbar │ │ │ +0006c480: 5f73 697a 6528 7365 6c66 2c20 2a61 7267 _size(self, *arg │ │ │ +0006c490: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ 0006c4a0: 0a20 2020 2020 2020 2073 6372 6f6c 6c62 . scrollb │ │ │ 0006c4b0: 6172 5f73 697a 6528 466c 5f54 6162 6c65 ar_size(Fl_Table │ │ │ -0006c4c0: 2073 656c 662c 2069 6e74 206e 6577 5369 self, int newSi │ │ │ -0006c4d0: 7a65 290a 2020 2020 2020 2020 2222 220a ze). """. │ │ │ -0006c4e0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -0006c4f0: 666c 746b 2e46 6c5f 5461 626c 655f 7363 fltk.Fl_Table_sc │ │ │ -0006c500: 726f 6c6c 6261 725f 7369 7a65 2873 656c rollbar_size(sel │ │ │ -0006c510: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -0006c520: 6566 2074 6162 5f63 656c 6c5f 6e61 7628 ef tab_cell_nav( │ │ │ -0006c530: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -0006c540: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ -0006c550: 2020 2074 6162 5f63 656c 6c5f 6e61 7628 tab_cell_nav( │ │ │ -0006c560: 466c 5f54 6162 6c65 2073 656c 662c 2069 Fl_Table self, i │ │ │ -0006c570: 6e74 2076 616c 290a 2020 2020 2020 2020 nt val). │ │ │ +0006c4c0: 2073 656c 6629 202d 3e20 696e 740a 2020 self) -> int. │ │ │ +0006c4d0: 2020 2020 2020 7363 726f 6c6c 6261 725f scrollbar_ │ │ │ +0006c4e0: 7369 7a65 2846 6c5f 5461 626c 6520 7365 size(Fl_Table se │ │ │ +0006c4f0: 6c66 2c20 696e 7420 6e65 7753 697a 6529 lf, int newSize) │ │ │ +0006c500: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ +0006c510: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +0006c520: 6b2e 466c 5f54 6162 6c65 5f73 6372 6f6c k.Fl_Table_scrol │ │ │ +0006c530: 6c62 6172 5f73 697a 6528 7365 6c66 2c20 lbar_size(self, │ │ │ +0006c540: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +0006c550: 7461 625f 6365 6c6c 5f6e 6176 2873 656c tab_cell_nav(sel │ │ │ +0006c560: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +0006c570: 2020 2072 2222 220a 2020 2020 2020 2020 r""". │ │ │ 0006c580: 7461 625f 6365 6c6c 5f6e 6176 2846 6c5f tab_cell_nav(Fl_ │ │ │ -0006c590: 5461 626c 6520 7365 6c66 2920 2d3e 2069 Table self) -> i │ │ │ -0006c5a0: 6e74 0a20 2020 2020 2020 2022 2222 0a20 nt. """. │ │ │ -0006c5b0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -0006c5c0: 6c74 6b2e 466c 5f54 6162 6c65 5f74 6162 ltk.Fl_Table_tab │ │ │ -0006c5d0: 5f63 656c 6c5f 6e61 7628 7365 6c66 2c20 _cell_nav(self, │ │ │ -0006c5e0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -0006c5f0: 696e 6974 5f74 7970 6528 7365 6c66 2c20 init_type(self, │ │ │ -0006c600: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -0006c610: 7222 2222 696e 6974 5f74 7970 6528 466c r"""init_type(Fl │ │ │ -0006c620: 5f54 6162 6c65 2073 656c 662c 2063 6861 _Table self, cha │ │ │ -0006c630: 7220 2a20 466c 5f54 6162 6c65 2922 2222 r * Fl_Table)""" │ │ │ -0006c640: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -0006c650: 5f66 6c74 6b2e 466c 5f54 6162 6c65 5f69 _fltk.Fl_Table_i │ │ │ -0006c660: 6e69 745f 7479 7065 2873 656c 662c 202a nit_type(self, * │ │ │ -0006c670: 6172 6773 290a 2020 2020 6465 6620 5f5f args). def __ │ │ │ -0006c680: 6469 736f 776e 5f5f 2873 656c 6629 3a0a disown__(self):. │ │ │ -0006c690: 2020 2020 2020 2020 7365 6c66 2e74 6869 self.thi │ │ │ -0006c6a0: 732e 6469 736f 776e 2829 0a20 2020 2020 s.disown(). │ │ │ -0006c6b0: 2020 205f 666c 746b 2e64 6973 6f77 6e5f _fltk.disown_ │ │ │ -0006c6c0: 466c 5f54 6162 6c65 2873 656c 6629 0a20 Fl_Table(self). │ │ │ -0006c6d0: 2020 2020 2020 2072 6574 7572 6e20 7765 return we │ │ │ -0006c6e0: 616b 7265 662e 7072 6f78 7928 7365 6c66 akref.proxy(self │ │ │ -0006c6f0: 290a 0a23 2052 6567 6973 7465 7220 466c )..# Register Fl │ │ │ -0006c700: 5f54 6162 6c65 2069 6e20 5f66 6c74 6b3a _Table in _fltk: │ │ │ -0006c710: 0a5f 666c 746b 2e46 6c5f 5461 626c 655f ._fltk.Fl_Table_ │ │ │ -0006c720: 7377 6967 7265 6769 7374 6572 2846 6c5f swigregister(Fl_ │ │ │ -0006c730: 5461 626c 6529 0a63 6c61 7373 2046 6c5f Table).class Fl_ │ │ │ -0006c740: 5461 626c 655f 526f 7728 466c 5f54 6162 Table_Row(Fl_Tab │ │ │ -0006c750: 6c65 293a 0a20 2020 2072 2222 220a 0a20 le):. r""".. │ │ │ -0006c760: 2020 2054 6869 7320 636c 6173 7320 696d This class im │ │ │ -0006c770: 706c 656d 656e 7473 2061 2073 696d 706c plements a simpl │ │ │ -0006c780: 6520 7461 626c 6520 6f66 2072 6f77 7320 e table of rows │ │ │ -0006c790: 616e 6420 636f 6c75 6d6e 7320 7468 6174 and columns that │ │ │ -0006c7a0: 2073 7065 6369 616c 697a 6573 2069 6e20 specializes in │ │ │ -0006c7b0: 7468 6520 7365 6c65 6374 696f 6e20 6f66 the selection of │ │ │ -0006c7c0: 2072 6f77 732e 2054 6869 7320 7769 6467 rows. This widg │ │ │ -0006c7d0: 6574 2069 7320 7369 6d69 6c61 7220 696e et is similar in │ │ │ -0006c7e0: 2062 6568 6176 696f 7220 746f 2061 2027 behavior to a ' │ │ │ -0006c7f0: 6d61 696c 2073 7562 6a65 6374 2062 726f mail subject bro │ │ │ -0006c800: 7773 6572 272c 2073 696d 696c 6172 2074 wser', similar t │ │ │ -0006c810: 6f20 7468 6174 2066 6f75 6e64 2069 6e20 o that found in │ │ │ -0006c820: 6d6f 7a69 6c6c 612c 206e 6574 7363 6170 mozilla, netscap │ │ │ -0006c830: 6520 616e 6420 6f75 746c 6f6f 6b20 6d61 e and outlook ma │ │ │ -0006c840: 696c 2062 726f 7773 6572 732e 0a0a 2020 il browsers... │ │ │ -0006c850: 2020 4d6f 7374 206d 6574 686f 6473 206f Most methods o │ │ │ -0006c860: 6620 696d 706f 7274 616e 6365 2077 696c f importance wil │ │ │ -0006c870: 6c20 6265 2066 6f75 6e64 2069 6e20 7468 l be found in th │ │ │ -0006c880: 6520 466c 5f54 6162 6c65 2077 6964 6765 e Fl_Table widge │ │ │ -0006c890: 742c 2073 7563 6820 6173 2072 6f77 7328 t, such as rows( │ │ │ -0006c8a0: 2920 616e 6420 636f 6c73 2829 2e0a 0a20 ) and cols()... │ │ │ -0006c8b0: 2020 2054 6f20 6265 2075 7365 6675 6c20 To be useful │ │ │ -0006c8c0: 6974 206d 7573 7420 6265 2073 7562 636c it must be subcl │ │ │ -0006c8d0: 6173 7365 6420 616e 6420 6174 206d 696e assed and at min │ │ │ -0006c8e0: 696d 756d 2074 6865 2064 7261 775f 6365 imum the draw_ce │ │ │ -0006c8f0: 6c6c 2829 206d 6574 686f 6420 6d75 7374 ll() method must │ │ │ -0006c900: 2062 6520 6f76 6572 7269 6464 656e 2074 be overridden t │ │ │ -0006c910: 6f20 7072 6f76 6964 6520 7468 6520 636f o provide the co │ │ │ -0006c920: 6e74 656e 7420 6f66 2074 6865 2063 656c ntent of the cel │ │ │ -0006c930: 6c73 2e20 5468 6973 2077 6964 6765 7420 ls. This widget │ │ │ -0006c940: 646f 6573 206e 6f74 206d 616e 6167 6520 does not manage │ │ │ -0006c950: 7468 6520 6365 6c6c 2773 2064 6174 6120 the cell's data │ │ │ -0006c960: 636f 6e74 656e 743b 2069 7420 6973 2075 content; it is u │ │ │ -0006c970: 7020 746f 2074 6865 2070 6172 656e 7420 p to the parent │ │ │ -0006c980: 636c 6173 7327 7320 6472 6177 5f63 656c class's draw_cel │ │ │ -0006c990: 6c28 2920 6d65 7468 6f64 206f 7665 7272 l() method overr │ │ │ -0006c9a0: 6964 6520 746f 2070 726f 7669 6465 2074 ide to provide t │ │ │ -0006c9b0: 6869 732e 0a0a 2020 2020 4576 656e 7473 his... Events │ │ │ -0006c9c0: 206f 6e20 7468 6520 6365 6c6c 7320 616e on the cells an │ │ │ -0006c9d0: 642f 6f72 2068 6561 6469 6e67 7320 6765 d/or headings ge │ │ │ -0006c9e0: 6e65 7261 7465 2063 616c 6c62 6163 6b73 nerate callbacks │ │ │ -0006c9f0: 2077 6865 6e20 7468 6579 2061 7265 2063 when they are c │ │ │ -0006ca00: 6c69 636b 6564 2062 7920 7468 6520 7573 licked by the us │ │ │ -0006ca10: 6572 2e20 596f 7520 636f 6e74 726f 6c20 er. You control │ │ │ -0006ca20: 7768 656e 2065 7665 6e74 7320 6172 6520 when events are │ │ │ -0006ca30: 6765 6e65 7261 7465 6420 6261 7365 6420 generated based │ │ │ -0006ca40: 6f6e 2074 6865 2076 616c 7565 7320 796f on the values yo │ │ │ -0006ca50: 7520 7375 7070 6c79 2066 6f72 2077 6865 u supply for whe │ │ │ -0006ca60: 6e28 292e 200a 0a20 2020 2022 2222 0a0a n(). .. """.. │ │ │ -0006ca70: 2020 2020 7468 6973 6f77 6e20 3d20 7072 thisown = pr │ │ │ -0006ca80: 6f70 6572 7479 286c 616d 6264 6120 783a operty(lambda x: │ │ │ -0006ca90: 2078 2e74 6869 732e 6f77 6e28 292c 206c x.this.own(), l │ │ │ -0006caa0: 616d 6264 6120 782c 2076 3a20 782e 7468 ambda x, v: x.th │ │ │ -0006cab0: 6973 2e6f 776e 2876 292c 2064 6f63 3d22 is.own(v), doc=" │ │ │ -0006cac0: 5468 6520 6d65 6d62 6572 7368 6970 2066 The membership f │ │ │ -0006cad0: 6c61 6722 290a 2020 2020 5f5f 7265 7072 lag"). __repr │ │ │ -0006cae0: 5f5f 203d 205f 7377 6967 5f72 6570 720a __ = _swig_repr. │ │ │ -0006caf0: 2020 2020 5345 4c45 4354 5f4e 4f4e 4520 SELECT_NONE │ │ │ -0006cb00: 3d20 5f66 6c74 6b2e 466c 5f54 6162 6c65 = _fltk.Fl_Table │ │ │ -0006cb10: 5f52 6f77 5f53 454c 4543 545f 4e4f 4e45 _Row_SELECT_NONE │ │ │ -0006cb20: 0a20 2020 200a 2020 2020 5345 4c45 4354 . . SELECT │ │ │ -0006cb30: 5f53 494e 474c 4520 3d20 5f66 6c74 6b2e _SINGLE = _fltk. │ │ │ -0006cb40: 466c 5f54 6162 6c65 5f52 6f77 5f53 454c Fl_Table_Row_SEL │ │ │ -0006cb50: 4543 545f 5349 4e47 4c45 0a20 2020 200a ECT_SINGLE. . │ │ │ -0006cb60: 2020 2020 5345 4c45 4354 5f4d 554c 5449 SELECT_MULTI │ │ │ -0006cb70: 203d 205f 666c 746b 2e46 6c5f 5461 626c = _fltk.Fl_Tabl │ │ │ -0006cb80: 655f 526f 775f 5345 4c45 4354 5f4d 554c e_Row_SELECT_MUL │ │ │ -0006cb90: 5449 0a20 2020 200a 0a20 2020 2064 6566 TI. .. def │ │ │ -0006cba0: 2068 616e 646c 6528 7365 6c66 2c20 2a61 handle(self, *a │ │ │ -0006cbb0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -0006cbc0: 2222 6861 6e64 6c65 2846 6c5f 5461 626c ""handle(Fl_Tabl │ │ │ -0006cbd0: 655f 526f 7720 7365 6c66 2c20 696e 7420 e_Row self, int │ │ │ -0006cbe0: 6576 656e 7429 202d 3e20 696e 7422 2222 event) -> int""" │ │ │ -0006cbf0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -0006cc00: 5f66 6c74 6b2e 466c 5f54 6162 6c65 5f52 _fltk.Fl_Table_R │ │ │ -0006cc10: 6f77 5f68 616e 646c 6528 7365 6c66 2c20 ow_handle(self, │ │ │ -0006cc20: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -0006cc30: 5f5f 696e 6974 5f5f 2873 656c 662c 202a __init__(self, * │ │ │ -0006cc40: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -0006cc50: 2222 225f 5f69 6e69 745f 5f28 466c 5f54 """__init__(Fl_T │ │ │ -0006cc60: 6162 6c65 5f52 6f77 2073 656c 662c 2069 able_Row self, i │ │ │ -0006cc70: 6e74 2058 2c20 696e 7420 592c 2069 6e74 nt X, int Y, int │ │ │ -0006cc80: 2057 2c20 696e 7420 482c 2063 6861 7220 W, int H, char │ │ │ -0006cc90: 636f 6e73 7420 2a20 6c3d 4e6f 6e65 2920 const * l=None) │ │ │ -0006cca0: 2d3e 2046 6c5f 5461 626c 655f 526f 7722 -> Fl_Table_Row" │ │ │ -0006ccb0: 2222 0a20 2020 2020 2020 2069 6620 7365 "". if se │ │ │ -0006ccc0: 6c66 2e5f 5f63 6c61 7373 5f5f 203d 3d20 lf.__class__ == │ │ │ -0006ccd0: 466c 5f54 6162 6c65 5f52 6f77 3a0a 2020 Fl_Table_Row:. │ │ │ -0006cce0: 2020 2020 2020 2020 2020 5f73 656c 6620 _self │ │ │ -0006ccf0: 3d20 4e6f 6e65 0a20 2020 2020 2020 2065 = None. e │ │ │ -0006cd00: 6c73 653a 0a20 2020 2020 2020 2020 2020 lse:. │ │ │ -0006cd10: 205f 7365 6c66 203d 2073 656c 660a 2020 _self = self. │ │ │ -0006cd20: 2020 2020 2020 5f66 6c74 6b2e 466c 5f54 _fltk.Fl_T │ │ │ -0006cd30: 6162 6c65 5f52 6f77 5f73 7769 6769 6e69 able_Row_swigini │ │ │ -0006cd40: 7428 7365 6c66 2c20 5f66 6c74 6b2e 6e65 t(self, _fltk.ne │ │ │ -0006cd50: 775f 466c 5f54 6162 6c65 5f52 6f77 285f w_Fl_Table_Row(_ │ │ │ -0006cd60: 7365 6c66 2c20 2a61 7267 7329 290a 0a20 self, *args)).. │ │ │ -0006cd70: 2020 2020 2020 2069 6620 6c65 6e28 6172 if len(ar │ │ │ -0006cd80: 6773 2920 3d3d 2035 3a20 2020 2020 2020 gs) == 5: │ │ │ -0006cd90: 2020 200a 2020 2020 2020 2020 2372 6574 . #ret │ │ │ -0006cda0: 6169 6e20 7265 6665 7265 6e63 6520 746f ain reference to │ │ │ -0006cdb0: 206c 6162 656c 0a20 2020 2020 2020 2020 label. │ │ │ -0006cdc0: 2020 2073 656c 662e 6d79 5f6c 6162 656c self.my_label │ │ │ -0006cdd0: 203d 2061 7267 735b 2d31 5d0a 2020 2020 = args[-1]. │ │ │ -0006cde0: 2020 2020 6966 2073 656c 662e 7061 7265 if self.pare │ │ │ -0006cdf0: 6e74 2829 2021 3d20 4e6f 6e65 3a20 2020 nt() != None: │ │ │ -0006ce00: 0a20 2020 2020 2020 2023 6465 6c65 6761 . #delega │ │ │ -0006ce10: 7465 206f 776e 6572 7368 6970 2074 6f20 te ownership to │ │ │ -0006ce20: 432b 2b0a 2020 2020 2020 2020 2020 2020 C++. │ │ │ -0006ce30: 7365 6c66 2e74 6869 732e 6469 736f 776e self.this.disown │ │ │ -0006ce40: 2829 0a20 2020 2020 2020 2073 656c 662e (). self. │ │ │ -0006ce50: 696e 6974 5f74 7970 6528 2246 6c5f 5461 init_type("Fl_Ta │ │ │ -0006ce60: 626c 655f 526f 7722 290a 2020 2020 2020 ble_Row"). │ │ │ -0006ce70: 2020 2370 7269 6e74 2822 4164 6469 6e67 #print("Adding │ │ │ -0006ce80: 2074 7970 653a 2022 2c20 466c 5f54 6162 type: ", Fl_Tab │ │ │ -0006ce90: 6c65 5f52 6f77 290a 0a0a 0a20 2020 205f le_Row).... _ │ │ │ -0006cea0: 5f73 7769 675f 6465 7374 726f 795f 5f20 _swig_destroy__ │ │ │ -0006ceb0: 3d20 5f66 6c74 6b2e 6465 6c65 7465 5f46 = _fltk.delete_F │ │ │ -0006cec0: 6c5f 5461 626c 655f 526f 770a 0a20 2020 l_Table_Row.. │ │ │ -0006ced0: 2064 6566 2072 6f77 7328 7365 6c66 2c20 def rows(self, │ │ │ -0006cee0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -0006cef0: 7222 2222 0a20 2020 2020 2020 2072 6f77 r""". row │ │ │ -0006cf00: 7328 466c 5f54 6162 6c65 5f52 6f77 2073 s(Fl_Table_Row s │ │ │ -0006cf10: 656c 662c 2069 6e74 2076 616c 290a 2020 elf, int val). │ │ │ -0006cf20: 2020 2020 2020 726f 7773 2846 6c5f 5461 rows(Fl_Ta │ │ │ -0006cf30: 626c 655f 526f 7720 7365 6c66 2920 2d3e ble_Row self) -> │ │ │ -0006cf40: 2069 6e74 0a20 2020 2020 2020 2022 2222 int. """ │ │ │ -0006cf50: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -0006cf60: 5f66 6c74 6b2e 466c 5f54 6162 6c65 5f52 _fltk.Fl_Table_R │ │ │ -0006cf70: 6f77 5f72 6f77 7328 7365 6c66 2c20 2a61 ow_rows(self, *a │ │ │ -0006cf80: 7267 7329 0a0a 2020 2020 6465 6620 7479 rgs).. def ty │ │ │ -0006cf90: 7065 2873 656c 662c 202a 6172 6773 293a pe(self, *args): │ │ │ -0006cfa0: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ -0006cfb0: 2020 2020 2020 7479 7065 2846 6c5f 5461 type(Fl_Ta │ │ │ -0006cfc0: 626c 655f 526f 7720 7365 6c66 2c20 466c ble_Row self, Fl │ │ │ -0006cfd0: 5f54 6162 6c65 5f52 6f77 3a3a 5461 626c _Table_Row::Tabl │ │ │ -0006cfe0: 6552 6f77 5365 6c65 6374 4d6f 6465 2076 eRowSelectMode v │ │ │ -0006cff0: 616c 290a 2020 2020 2020 2020 7479 7065 al). type │ │ │ -0006d000: 2846 6c5f 5461 626c 655f 526f 7720 7365 (Fl_Table_Row se │ │ │ -0006d010: 6c66 2920 2d3e 2046 6c5f 5461 626c 655f lf) -> Fl_Table_ │ │ │ -0006d020: 526f 773a 3a54 6162 6c65 526f 7753 656c Row::TableRowSel │ │ │ -0006d030: 6563 744d 6f64 650a 2020 2020 2020 2020 ectMode. │ │ │ -0006d040: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -0006d050: 726e 205f 666c 746b 2e46 6c5f 5461 626c rn _fltk.Fl_Tabl │ │ │ -0006d060: 655f 526f 775f 7479 7065 2873 656c 662c e_Row_type(self, │ │ │ -0006d070: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -0006d080: 2072 6f77 5f73 656c 6563 7465 6428 7365 row_selected(se │ │ │ -0006d090: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -0006d0a0: 2020 2020 7222 2222 726f 775f 7365 6c65 r"""row_sele │ │ │ -0006d0b0: 6374 6564 2846 6c5f 5461 626c 655f 526f cted(Fl_Table_Ro │ │ │ -0006d0c0: 7720 7365 6c66 2c20 696e 7420 726f 7729 w self, int row) │ │ │ -0006d0d0: 202d 3e20 696e 7422 2222 0a20 2020 2020 -> int""". │ │ │ -0006d0e0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -0006d0f0: 466c 5f54 6162 6c65 5f52 6f77 5f72 6f77 Fl_Table_Row_row │ │ │ -0006d100: 5f73 656c 6563 7465 6428 7365 6c66 2c20 _selected(self, │ │ │ -0006d110: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -0006d120: 7365 6c65 6374 5f72 6f77 2873 656c 662c select_row(self, │ │ │ -0006d130: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -0006d140: 2072 2222 2273 656c 6563 745f 726f 7728 r"""select_row( │ │ │ -0006d150: 466c 5f54 6162 6c65 5f52 6f77 2073 656c Fl_Table_Row sel │ │ │ -0006d160: 662c 2069 6e74 2072 6f77 2c20 696e 7420 f, int row, int │ │ │ -0006d170: 666c 6167 3d31 2920 2d3e 2069 6e74 2222 flag=1) -> int"" │ │ │ -0006d180: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -0006d190: 205f 666c 746b 2e46 6c5f 5461 626c 655f _fltk.Fl_Table_ │ │ │ -0006d1a0: 526f 775f 7365 6c65 6374 5f72 6f77 2873 Row_select_row(s │ │ │ -0006d1b0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -0006d1c0: 2064 6566 2073 656c 6563 745f 616c 6c5f def select_all_ │ │ │ -0006d1d0: 726f 7773 2873 656c 662c 202a 6172 6773 rows(self, *args │ │ │ -0006d1e0: 293a 0a20 2020 2020 2020 2072 2222 2273 ):. r"""s │ │ │ -0006d1f0: 656c 6563 745f 616c 6c5f 726f 7773 2846 elect_all_rows(F │ │ │ -0006d200: 6c5f 5461 626c 655f 526f 7720 7365 6c66 l_Table_Row self │ │ │ -0006d210: 2c20 696e 7420 666c 6167 3d31 2922 2222 , int flag=1)""" │ │ │ -0006d220: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -0006d230: 5f66 6c74 6b2e 466c 5f54 6162 6c65 5f52 _fltk.Fl_Table_R │ │ │ -0006d240: 6f77 5f73 656c 6563 745f 616c 6c5f 726f ow_select_all_ro │ │ │ -0006d250: 7773 2873 656c 662c 202a 6172 6773 290a ws(self, *args). │ │ │ -0006d260: 0a20 2020 2064 6566 2063 6c65 6172 2873 . def clear(s │ │ │ -0006d270: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -0006d280: 2020 2020 2072 2222 2263 6c65 6172 2846 r"""clear(F │ │ │ -0006d290: 6c5f 5461 626c 655f 526f 7720 7365 6c66 l_Table_Row self │ │ │ -0006d2a0: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ -0006d2b0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6162 urn _fltk.Fl_Tab │ │ │ -0006d2c0: 6c65 5f52 6f77 5f63 6c65 6172 2873 656c le_Row_clear(sel │ │ │ -0006d2d0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -0006d2e0: 6566 2069 6e69 745f 7479 7065 2873 656c ef init_type(sel │ │ │ -0006d2f0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -0006d300: 2020 2072 2222 2269 6e69 745f 7479 7065 r"""init_type │ │ │ -0006d310: 2846 6c5f 5461 626c 655f 526f 7720 7365 (Fl_Table_Row se │ │ │ -0006d320: 6c66 2c20 6368 6172 202a 2046 6c5f 5461 lf, char * Fl_Ta │ │ │ -0006d330: 626c 655f 526f 7729 2222 220a 2020 2020 ble_Row)""". │ │ │ -0006d340: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -0006d350: 2e46 6c5f 5461 626c 655f 526f 775f 696e .Fl_Table_Row_in │ │ │ -0006d360: 6974 5f74 7970 6528 7365 6c66 2c20 2a61 it_type(self, *a │ │ │ -0006d370: 7267 7329 0a20 2020 2064 6566 205f 5f64 rgs). def __d │ │ │ -0006d380: 6973 6f77 6e5f 5f28 7365 6c66 293a 0a20 isown__(self):. │ │ │ -0006d390: 2020 2020 2020 2073 656c 662e 7468 6973 self.this │ │ │ -0006d3a0: 2e64 6973 6f77 6e28 290a 2020 2020 2020 .disown(). │ │ │ -0006d3b0: 2020 5f66 6c74 6b2e 6469 736f 776e 5f46 _fltk.disown_F │ │ │ -0006d3c0: 6c5f 5461 626c 655f 526f 7728 7365 6c66 l_Table_Row(self │ │ │ -0006d3d0: 290a 2020 2020 2020 2020 7265 7475 726e ). return │ │ │ -0006d3e0: 2077 6561 6b72 6566 2e70 726f 7879 2873 weakref.proxy(s │ │ │ -0006d3f0: 656c 6629 0a0a 2020 2020 6465 6620 6472 elf).. def dr │ │ │ -0006d400: 6177 2873 656c 662c 202a 6172 6773 293a aw(self, *args): │ │ │ -0006d410: 0a20 2020 2020 2020 2072 2222 2264 7261 . r"""dra │ │ │ -0006d420: 7728 466c 5f54 6162 6c65 5f52 6f77 2073 w(Fl_Table_Row s │ │ │ -0006d430: 656c 6629 2222 220a 2020 2020 2020 2020 elf)""". │ │ │ -0006d440: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -0006d450: 5461 626c 655f 526f 775f 6472 6177 2873 Table_Row_draw(s │ │ │ -0006d460: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -0006d470: 2064 6566 2064 7261 775f 6365 6c6c 2873 def draw_cell(s │ │ │ -0006d480: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -0006d490: 2020 2020 2072 2222 2264 7261 775f 6365 r"""draw_ce │ │ │ -0006d4a0: 6c6c 2846 6c5f 5461 626c 655f 526f 7720 ll(Fl_Table_Row │ │ │ -0006d4b0: 7365 6c66 2c20 466c 5f54 6162 6c65 3a3a self, Fl_Table:: │ │ │ -0006d4c0: 5461 626c 6543 6f6e 7465 7874 2063 6f6e TableContext con │ │ │ -0006d4d0: 7465 7874 2c20 696e 7420 523d 302c 2069 text, int R=0, i │ │ │ -0006d4e0: 6e74 2043 3d30 2c20 696e 7420 583d 302c nt C=0, int X=0, │ │ │ -0006d4f0: 2069 6e74 2059 3d30 2c20 696e 7420 573d int Y=0, int W= │ │ │ -0006d500: 302c 2069 6e74 2048 3d30 2922 2222 0a20 0, int H=0)""". │ │ │ -0006d510: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -0006d520: 6c74 6b2e 466c 5f54 6162 6c65 5f52 6f77 ltk.Fl_Table_Row │ │ │ -0006d530: 5f64 7261 775f 6365 6c6c 2873 656c 662c _draw_cell(self, │ │ │ -0006d540: 202a 6172 6773 290a 0a23 2052 6567 6973 *args)..# Regis │ │ │ -0006d550: 7465 7220 466c 5f54 6162 6c65 5f52 6f77 ter Fl_Table_Row │ │ │ -0006d560: 2069 6e20 5f66 6c74 6b3a 0a5f 666c 746b in _fltk:._fltk │ │ │ -0006d570: 2e46 6c5f 5461 626c 655f 526f 775f 7377 .Fl_Table_Row_sw │ │ │ -0006d580: 6967 7265 6769 7374 6572 2846 6c5f 5461 igregister(Fl_Ta │ │ │ -0006d590: 626c 655f 526f 7729 0a63 6c61 7373 2046 ble_Row).class F │ │ │ -0006d5a0: 6c5f 5461 6273 2846 6c5f 4772 6f75 7029 l_Tabs(Fl_Group) │ │ │ -0006d5b0: 3a0a 2020 2020 7222 2222 0a0a 2020 2020 :. r""".. │ │ │ -0006d5c0: 5468 6520 466c 5f54 6162 7320 7769 6467 The Fl_Tabs widg │ │ │ -0006d5d0: 6574 2069 7320 7468 6520 2766 696c 6520 et is the 'file │ │ │ -0006d5e0: 6361 7264 2074 6162 7327 2069 6e74 6572 card tabs' inter │ │ │ -0006d5f0: 6661 6365 2074 6861 7420 616c 6c6f 7773 face that allows │ │ │ -0006d600: 2079 6f75 2074 6f20 0a20 2020 2070 7574 you to . put │ │ │ -0006d610: 206c 6f74 7320 616e 6420 6c6f 7473 206f lots and lots o │ │ │ -0006d620: 6620 6275 7474 6f6e 7320 616e 6420 7377 f buttons and sw │ │ │ -0006d630: 6974 6368 6573 2069 6e20 6120 7061 6e65 itches in a pane │ │ │ -0006d640: 6c2c 2061 7320 706f 7075 6c61 7269 7a65 l, as popularize │ │ │ -0006d650: 6420 6279 200a 2020 2020 6d61 6e79 2074 d by . many t │ │ │ -0006d660: 6f6f 6c6b 6974 732e 0a0a 2020 2020 436c oolkits... Cl │ │ │ -0006d670: 6963 6b69 6e67 2074 6865 2074 6162 206d icking the tab m │ │ │ -0006d680: 616b 6573 2061 2063 6869 6c64 2076 6973 akes a child vis │ │ │ -0006d690: 6962 6c65 2829 2062 7920 6361 6c6c 696e ible() by callin │ │ │ -0006d6a0: 6720 7368 6f77 2829 206f 6e20 6974 2c20 g show() on it, │ │ │ -0006d6b0: 616e 6420 0a20 2020 2061 6c6c 206f 7468 and . all oth │ │ │ -0006d6c0: 6572 2063 6869 6c64 7265 6e20 6172 6520 er children are │ │ │ -0006d6d0: 6d61 6465 2069 6e76 6973 6962 6c65 2062 made invisible b │ │ │ -0006d6e0: 7920 6361 6c6c 696e 6720 6869 6465 2829 y calling hide() │ │ │ -0006d6f0: 206f 6e20 7468 656d 2e20 5573 7561 6c6c on them. Usuall │ │ │ -0006d700: 7920 0a20 2020 2074 6865 2063 6869 6c64 y . the child │ │ │ -0006d710: 7265 6e20 6172 6520 466c 5f47 726f 7570 ren are Fl_Group │ │ │ -0006d720: 2077 6964 6765 7473 2063 6f6e 7461 696e widgets contain │ │ │ -0006d730: 696e 6720 7365 7665 7261 6c20 7769 6467 ing several widg │ │ │ -0006d740: 6574 7320 7468 656d 7365 6c76 6573 2e0a ets themselves.. │ │ │ -0006d750: 0a20 2020 2045 6163 6820 6368 696c 6420 . Each child │ │ │ -0006d760: 6d61 6b65 7320 6120 6361 7264 2c20 616e makes a card, an │ │ │ -0006d770: 6420 6974 2773 206c 6162 656c 2829 2069 d it's label() i │ │ │ -0006d780: 7320 7072 696e 7465 6420 6f6e 2074 6865 s printed on the │ │ │ -0006d790: 2063 6172 6420 7461 622c 200a 2020 2020 card tab, . │ │ │ -0006d7a0: 696e 636c 7564 696e 6720 7468 6520 6c61 including the la │ │ │ -0006d7b0: 6265 6c20 666f 6e74 2061 6e64 2073 7479 bel font and sty │ │ │ -0006d7c0: 6c65 2e20 5468 6520 7365 6c65 6374 696f le. The selectio │ │ │ -0006d7d0: 6e20 636f 6c6f 7220 6f66 2074 6861 7420 n color of that │ │ │ -0006d7e0: 6368 696c 6420 0a20 2020 2069 7320 7573 child . is us │ │ │ -0006d7f0: 6564 2074 6f20 636f 6c6f 7220 7468 6520 ed to color the │ │ │ -0006d800: 7461 622c 2077 6869 6c65 2074 6865 2063 tab, while the c │ │ │ -0006d810: 6f6c 6f72 206f 6620 7468 6520 6368 696c olor of the chil │ │ │ -0006d820: 6420 6465 7465 726d 696e 6573 2074 6865 d determines the │ │ │ -0006d830: 200a 2020 2020 6261 636b 6772 6f75 6e64 . background │ │ │ -0006d840: 2063 6f6c 6f72 206f 6620 7468 6520 7061 color of the pa │ │ │ -0006d850: 6e65 2e0a 0a20 2020 2054 6865 2073 697a ne... The siz │ │ │ -0006d860: 6520 6f66 2074 6865 2074 6162 7320 6973 e of the tabs is │ │ │ -0006d870: 2063 6f6e 7472 6f6c 6c65 6420 6279 2074 controlled by t │ │ │ -0006d880: 6865 2062 6f75 6e64 696e 6720 626f 7820 he bounding box │ │ │ -0006d890: 6f66 2074 6865 2063 6869 6c64 7265 6e20 of the children │ │ │ -0006d8a0: 0a20 2020 2028 7468 6572 6520 7368 6f75 . (there shou │ │ │ -0006d8b0: 6c64 2062 6520 736f 6d65 2073 7061 6365 ld be some space │ │ │ -0006d8c0: 2062 6574 7765 656e 2074 6865 2063 6869 between the chi │ │ │ -0006d8d0: 6c64 7265 6e20 616e 6420 7468 6520 6564 ldren and the ed │ │ │ -0006d8e0: 6765 206f 6620 7468 6520 466c 5f54 6162 ge of the Fl_Tab │ │ │ -0006d8f0: 7329 2c20 0a20 2020 2061 6e64 2074 6865 s), . and the │ │ │ -0006d900: 2074 6162 7320 6d61 7920 6265 2070 6c61 tabs may be pla │ │ │ -0006d910: 6365 6420 2769 6e76 6572 7465 6427 206f ced 'inverted' o │ │ │ -0006d920: 6e20 7468 6520 626f 7474 6f6d 2c20 7468 n the bottom, th │ │ │ -0006d930: 6973 2069 7320 6465 7465 726d 696e 6564 is is determined │ │ │ -0006d940: 200a 2020 2020 6279 2077 6869 6368 2067 . by which g │ │ │ -0006d950: 6170 2069 7320 6c61 7267 6572 2e20 4974 ap is larger. It │ │ │ -0006d960: 2069 7320 6561 7369 6573 7420 746f 206c is easiest to l │ │ │ -0006d970: 6179 2074 6869 7320 6f75 7420 696e 2066 ay this out in f │ │ │ -0006d980: 6c75 6964 2c20 7573 696e 6720 7468 6520 luid, using the │ │ │ -0006d990: 0a20 2020 2066 6c75 6964 2062 726f 7773 . fluid brows │ │ │ -0006d9a0: 6572 2074 6f20 7365 6c65 6374 2065 6163 er to select eac │ │ │ -0006d9b0: 6820 6368 696c 6420 6772 6f75 7020 616e h child group an │ │ │ -0006d9c0: 6420 7265 7369 7a65 2074 6865 6d20 756e d resize them un │ │ │ -0006d9d0: 7469 6c20 7468 6520 7461 6273 200a 2020 til the tabs . │ │ │ -0006d9e0: 2020 6c6f 6f6b 2074 6865 2077 6179 2079 look the way y │ │ │ -0006d9f0: 6f75 2077 616e 7420 7468 656d 2074 6f2e ou want them to. │ │ │ -0006da00: 200a 0a20 2020 2022 2222 0a0a 2020 2020 .. """.. │ │ │ -0006da10: 7468 6973 6f77 6e20 3d20 7072 6f70 6572 thisown = proper │ │ │ -0006da20: 7479 286c 616d 6264 6120 783a 2078 2e74 ty(lambda x: x.t │ │ │ -0006da30: 6869 732e 6f77 6e28 292c 206c 616d 6264 his.own(), lambd │ │ │ -0006da40: 6120 782c 2076 3a20 782e 7468 6973 2e6f a x, v: x.this.o │ │ │ -0006da50: 776e 2876 292c 2064 6f63 3d22 5468 6520 wn(v), doc="The │ │ │ -0006da60: 6d65 6d62 6572 7368 6970 2066 6c61 6722 membership flag" │ │ │ -0006da70: 290a 2020 2020 5f5f 7265 7072 5f5f 203d ). __repr__ = │ │ │ -0006da80: 205f 7377 6967 5f72 6570 720a 0a20 2020 _swig_repr.. │ │ │ -0006da90: 2064 6566 2072 6564 7261 775f 7461 6273 def redraw_tabs │ │ │ -0006daa0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -0006dab0: 2020 2020 2020 2072 2222 2272 6564 7261 r"""redra │ │ │ -0006dac0: 775f 7461 6273 2846 6c5f 5461 6273 2073 w_tabs(Fl_Tabs s │ │ │ -0006dad0: 656c 6629 2222 220a 2020 2020 2020 2020 elf)""". │ │ │ -0006dae0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -0006daf0: 5461 6273 5f72 6564 7261 775f 7461 6273 Tabs_redraw_tabs │ │ │ -0006db00: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -0006db10: 2020 2064 6566 2074 6162 5f70 6f73 6974 def tab_posit │ │ │ -0006db20: 696f 6e73 2873 656c 662c 202a 6172 6773 ions(self, *args │ │ │ -0006db30: 293a 0a20 2020 2020 2020 2072 2222 2274 ):. r"""t │ │ │ -0006db40: 6162 5f70 6f73 6974 696f 6e73 2846 6c5f ab_positions(Fl_ │ │ │ -0006db50: 5461 6273 2073 656c 6629 202d 3e20 696e Tabs self) -> in │ │ │ -0006db60: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ -0006db70: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6162 urn _fltk.Fl_Tab │ │ │ -0006db80: 735f 7461 625f 706f 7369 7469 6f6e 7328 s_tab_positions( │ │ │ -0006db90: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -0006dba0: 2020 6465 6620 636c 6561 725f 7461 625f def clear_tab_ │ │ │ -0006dbb0: 706f 7369 7469 6f6e 7328 7365 6c66 2c20 positions(self, │ │ │ -0006dbc0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -0006dbd0: 7222 2222 636c 6561 725f 7461 625f 706f r"""clear_tab_po │ │ │ -0006dbe0: 7369 7469 6f6e 7328 466c 5f54 6162 7320 sitions(Fl_Tabs │ │ │ -0006dbf0: 7365 6c66 2922 2222 0a20 2020 2020 2020 self)""". │ │ │ -0006dc00: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -0006dc10: 5f54 6162 735f 636c 6561 725f 7461 625f _Tabs_clear_tab_ │ │ │ -0006dc20: 706f 7369 7469 6f6e 7328 7365 6c66 2c20 positions(self, │ │ │ -0006dc30: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -0006dc40: 6472 6177 5f74 6162 2873 656c 662c 202a draw_tab(self, * │ │ │ -0006dc50: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -0006dc60: 2222 2264 7261 775f 7461 6228 466c 5f54 """draw_tab(Fl_T │ │ │ -0006dc70: 6162 7320 7365 6c66 2c20 696e 7420 7831 abs self, int x1 │ │ │ -0006dc80: 2c20 696e 7420 7832 2c20 696e 7420 572c , int x2, int W, │ │ │ -0006dc90: 2069 6e74 2048 2c20 466c 5f57 6964 6765 int H, Fl_Widge │ │ │ -0006dca0: 7420 6f2c 2069 6e74 2066 6c61 6773 2c20 t o, int flags, │ │ │ -0006dcb0: 696e 7420 7365 6c29 2222 220a 2020 2020 int sel)""". │ │ │ -0006dcc0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -0006dcd0: 2e46 6c5f 5461 6273 5f64 7261 775f 7461 .Fl_Tabs_draw_ta │ │ │ -0006dce0: 6228 7365 6c66 2c20 2a61 7267 7329 0a0a b(self, *args).. │ │ │ -0006dcf0: 2020 2020 6465 6620 7461 625f 6865 6967 def tab_heig │ │ │ -0006dd00: 6874 2873 656c 662c 202a 6172 6773 293a ht(self, *args): │ │ │ -0006dd10: 0a20 2020 2020 2020 2072 2222 2274 6162 . r"""tab │ │ │ -0006dd20: 5f68 6569 6768 7428 466c 5f54 6162 7320 _height(Fl_Tabs │ │ │ -0006dd30: 7365 6c66 2920 2d3e 2069 6e74 2222 220a self) -> int""". │ │ │ -0006dd40: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -0006dd50: 666c 746b 2e46 6c5f 5461 6273 5f74 6162 fltk.Fl_Tabs_tab │ │ │ -0006dd60: 5f68 6569 6768 7428 7365 6c66 2c20 2a61 _height(self, *a │ │ │ -0006dd70: 7267 7329 0a0a 2020 2020 6465 6620 6869 rgs).. def hi │ │ │ -0006dd80: 745f 636c 6f73 6528 7365 6c66 2c20 2a61 t_close(self, *a │ │ │ -0006dd90: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -0006dda0: 2222 6869 745f 636c 6f73 6528 466c 5f54 ""hit_close(Fl_T │ │ │ -0006ddb0: 6162 7320 7365 6c66 2c20 466c 5f57 6964 abs self, Fl_Wid │ │ │ -0006ddc0: 6765 7420 6f2c 2069 6e74 2065 7665 6e74 get o, int event │ │ │ -0006ddd0: 5f78 2c20 696e 7420 6576 656e 745f 7929 _x, int event_y) │ │ │ -0006dde0: 202d 3e20 696e 7422 2222 0a20 2020 2020 -> int""". │ │ │ -0006ddf0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -0006de00: 466c 5f54 6162 735f 6869 745f 636c 6f73 Fl_Tabs_hit_clos │ │ │ -0006de10: 6528 7365 6c66 2c20 2a61 7267 7329 0a0a e(self, *args).. │ │ │ -0006de20: 2020 2020 6465 6620 6869 745f 6f76 6572 def hit_over │ │ │ -0006de30: 666c 6f77 5f6d 656e 7528 7365 6c66 2c20 flow_menu(self, │ │ │ -0006de40: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -0006de50: 7222 2222 6869 745f 6f76 6572 666c 6f77 r"""hit_overflow │ │ │ -0006de60: 5f6d 656e 7528 466c 5f54 6162 7320 7365 _menu(Fl_Tabs se │ │ │ -0006de70: 6c66 2c20 696e 7420 6576 656e 745f 782c lf, int event_x, │ │ │ -0006de80: 2069 6e74 2065 7665 6e74 5f79 2920 2d3e int event_y) -> │ │ │ -0006de90: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ -0006dea0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -0006deb0: 5461 6273 5f68 6974 5f6f 7665 7266 6c6f Tabs_hit_overflo │ │ │ -0006dec0: 775f 6d65 6e75 2873 656c 662c 202a 6172 w_menu(self, *ar │ │ │ -0006ded0: 6773 290a 0a20 2020 2064 6566 2068 6974 gs).. def hit │ │ │ -0006dee0: 5f74 6162 735f 6172 6561 2873 656c 662c _tabs_area(self, │ │ │ -0006def0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -0006df00: 2072 2222 2268 6974 5f74 6162 735f 6172 r"""hit_tabs_ar │ │ │ -0006df10: 6561 2846 6c5f 5461 6273 2073 656c 662c ea(Fl_Tabs self, │ │ │ -0006df20: 2069 6e74 2065 7665 6e74 5f78 2c20 696e int event_x, in │ │ │ -0006df30: 7420 6576 656e 745f 7929 202d 3e20 696e t event_y) -> in │ │ │ -0006df40: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ -0006df50: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6162 urn _fltk.Fl_Tab │ │ │ -0006df60: 735f 6869 745f 7461 6273 5f61 7265 6128 s_hit_tabs_area( │ │ │ -0006df70: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -0006df80: 2020 6465 6620 6472 6177 2873 656c 662c def draw(self, │ │ │ -0006df90: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -0006dfa0: 2072 2222 2264 7261 7728 466c 5f54 6162 r"""draw(Fl_Tab │ │ │ -0006dfb0: 7320 7365 6c66 2922 2222 0a20 2020 2020 s self)""". │ │ │ -0006dfc0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -0006dfd0: 466c 5f54 6162 735f 6472 6177 2873 656c Fl_Tabs_draw(sel │ │ │ -0006dfe0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -0006dff0: 6566 205f 5f69 6e69 745f 5f28 7365 6c66 ef __init__(self │ │ │ -0006e000: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -0006e010: 2020 7222 2222 5f5f 696e 6974 5f5f 2846 r"""__init__(F │ │ │ -0006e020: 6c5f 5461 6273 2073 656c 662c 2069 6e74 l_Tabs self, int │ │ │ -0006e030: 2058 2c20 696e 7420 592c 2069 6e74 2057 X, int Y, int W │ │ │ -0006e040: 2c20 696e 7420 482c 2063 6861 7220 636f , int H, char co │ │ │ -0006e050: 6e73 7420 2a20 4c3d 4e6f 6e65 2920 2d3e nst * L=None) -> │ │ │ -0006e060: 2046 6c5f 5461 6273 2222 220a 2020 2020 Fl_Tabs""". │ │ │ -0006e070: 2020 2020 6966 2073 656c 662e 5f5f 636c if self.__cl │ │ │ -0006e080: 6173 735f 5f20 3d3d 2046 6c5f 5461 6273 ass__ == Fl_Tabs │ │ │ -0006e090: 3a0a 2020 2020 2020 2020 2020 2020 5f73 :. _s │ │ │ -0006e0a0: 656c 6620 3d20 4e6f 6e65 0a20 2020 2020 elf = None. │ │ │ -0006e0b0: 2020 2065 6c73 653a 0a20 2020 2020 2020 else:. │ │ │ -0006e0c0: 2020 2020 205f 7365 6c66 203d 2073 656c _self = sel │ │ │ -0006e0d0: 660a 2020 2020 2020 2020 5f66 6c74 6b2e f. _fltk. │ │ │ -0006e0e0: 466c 5f54 6162 735f 7377 6967 696e 6974 Fl_Tabs_swiginit │ │ │ -0006e0f0: 2873 656c 662c 205f 666c 746b 2e6e 6577 (self, _fltk.new │ │ │ -0006e100: 5f46 6c5f 5461 6273 285f 7365 6c66 2c20 _Fl_Tabs(_self, │ │ │ -0006e110: 2a61 7267 7329 290a 0a20 2020 2020 2020 *args)).. │ │ │ -0006e120: 2069 6620 6c65 6e28 6172 6773 2920 3d3d if len(args) == │ │ │ -0006e130: 2035 3a20 2020 2020 2020 2020 200a 2020 5: . │ │ │ -0006e140: 2020 2020 2020 2372 6574 6169 6e20 7265 #retain re │ │ │ -0006e150: 6665 7265 6e63 6520 746f 206c 6162 656c ference to label │ │ │ -0006e160: 0a20 2020 2020 2020 2020 2020 2073 656c . sel │ │ │ -0006e170: 662e 6d79 5f6c 6162 656c 203d 2061 7267 f.my_label = arg │ │ │ -0006e180: 735b 2d31 5d0a 2020 2020 2020 2020 6966 s[-1]. if │ │ │ -0006e190: 2073 656c 662e 7061 7265 6e74 2829 2021 self.parent() ! │ │ │ -0006e1a0: 3d20 4e6f 6e65 3a20 2020 0a20 2020 2020 = None: . │ │ │ -0006e1b0: 2020 2023 6465 6c65 6761 7465 206f 776e #delegate own │ │ │ -0006e1c0: 6572 7368 6970 2074 6f20 432b 2b0a 2020 ership to C++. │ │ │ -0006e1d0: 2020 2020 2020 2020 2020 7365 6c66 2e74 self.t │ │ │ -0006e1e0: 6869 732e 6469 736f 776e 2829 0a20 2020 his.disown(). │ │ │ -0006e1f0: 2020 2020 2073 656c 662e 696e 6974 5f74 self.init_t │ │ │ -0006e200: 7970 6528 2246 6c5f 5461 6273 2229 0a20 ype("Fl_Tabs"). │ │ │ -0006e210: 2020 2020 2020 2023 7072 696e 7428 2241 #print("A │ │ │ -0006e220: 6464 696e 6720 7479 7065 3a20 222c 2046 dding type: ", F │ │ │ -0006e230: 6c5f 5461 6273 290a 0a0a 0a20 2020 205f l_Tabs).... _ │ │ │ -0006e240: 5f73 7769 675f 6465 7374 726f 795f 5f20 _swig_destroy__ │ │ │ -0006e250: 3d20 5f66 6c74 6b2e 6465 6c65 7465 5f46 = _fltk.delete_F │ │ │ -0006e260: 6c5f 5461 6273 0a0a 2020 2020 6465 6620 l_Tabs.. def │ │ │ -0006e270: 7265 7369 7a65 2873 656c 662c 202a 6172 resize(self, *ar │ │ │ -0006e280: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -0006e290: 2272 6573 697a 6528 466c 5f54 6162 7320 "resize(Fl_Tabs │ │ │ -0006e2a0: 7365 6c66 2c20 696e 7420 6172 6730 2c20 self, int arg0, │ │ │ -0006e2b0: 696e 7420 6172 6731 2c20 696e 7420 6172 int arg1, int ar │ │ │ -0006e2c0: 6732 2c20 696e 7420 6172 6733 2922 2222 g2, int arg3)""" │ │ │ -0006e2d0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -0006e2e0: 5f66 6c74 6b2e 466c 5f54 6162 735f 7265 _fltk.Fl_Tabs_re │ │ │ -0006e2f0: 7369 7a65 2873 656c 662c 202a 6172 6773 size(self, *args │ │ │ -0006e300: 290a 0a20 2020 2064 6566 2073 686f 7728 ).. def show( │ │ │ -0006e310: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -0006e320: 2020 2020 2020 7222 2222 7368 6f77 2846 r"""show(F │ │ │ -0006e330: 6c5f 5461 6273 2073 656c 6629 2222 220a l_Tabs self)""". │ │ │ -0006e340: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -0006e350: 666c 746b 2e46 6c5f 5461 6273 5f73 686f fltk.Fl_Tabs_sho │ │ │ -0006e360: 7728 7365 6c66 2c20 2a61 7267 7329 0a0a w(self, *args).. │ │ │ -0006e370: 2020 2020 6465 6620 6861 6e64 6c65 2873 def handle(s │ │ │ -0006e380: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -0006e390: 2020 2020 2072 2222 2268 616e 646c 6528 r"""handle( │ │ │ -0006e3a0: 466c 5f54 6162 7320 7365 6c66 2c20 696e Fl_Tabs self, in │ │ │ -0006e3b0: 7420 6172 6730 2920 2d3e 2069 6e74 2222 t arg0) -> int"" │ │ │ -0006e3c0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -0006e3d0: 205f 666c 746b 2e46 6c5f 5461 6273 5f68 _fltk.Fl_Tabs_h │ │ │ -0006e3e0: 616e 646c 6528 7365 6c66 2c20 2a61 7267 andle(self, *arg │ │ │ -0006e3f0: 7329 0a0a 2020 2020 6465 6620 7661 6c75 s).. def valu │ │ │ -0006e400: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ -0006e410: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ -0006e420: 2020 2020 2076 616c 7565 2846 6c5f 5461 value(Fl_Ta │ │ │ -0006e430: 6273 2073 656c 6629 202d 3e20 466c 5f57 bs self) -> Fl_W │ │ │ -0006e440: 6964 6765 740a 2020 2020 2020 2020 7661 idget. va │ │ │ -0006e450: 6c75 6528 466c 5f54 6162 7320 7365 6c66 lue(Fl_Tabs self │ │ │ -0006e460: 2c20 466c 5f57 6964 6765 7420 6172 6732 , Fl_Widget arg2 │ │ │ -0006e470: 2920 2d3e 2069 6e74 0a20 2020 2020 2020 ) -> int. │ │ │ -0006e480: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ -0006e490: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6162 urn _fltk.Fl_Tab │ │ │ -0006e4a0: 735f 7661 6c75 6528 7365 6c66 2c20 2a61 s_value(self, *a │ │ │ -0006e4b0: 7267 7329 0a0a 2020 2020 6465 6620 7075 rgs).. def pu │ │ │ -0006e4c0: 7368 2873 656c 662c 202a 6172 6773 293a sh(self, *args): │ │ │ -0006e4d0: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ -0006e4e0: 2020 2020 2020 7075 7368 2846 6c5f 5461 push(Fl_Ta │ │ │ -0006e4f0: 6273 2073 656c 6629 202d 3e20 466c 5f57 bs self) -> Fl_W │ │ │ -0006e500: 6964 6765 740a 2020 2020 2020 2020 7075 idget. pu │ │ │ -0006e510: 7368 2846 6c5f 5461 6273 2073 656c 662c sh(Fl_Tabs self, │ │ │ -0006e520: 2046 6c5f 5769 6467 6574 2061 7267 3229 Fl_Widget arg2) │ │ │ -0006e530: 202d 3e20 696e 740a 2020 2020 2020 2020 -> int. │ │ │ -0006e540: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -0006e550: 726e 205f 666c 746b 2e46 6c5f 5461 6273 rn _fltk.Fl_Tabs │ │ │ -0006e560: 5f70 7573 6828 7365 6c66 2c20 2a61 7267 _push(self, *arg │ │ │ -0006e570: 7329 0a0a 2020 2020 6465 6620 7768 6963 s).. def whic │ │ │ -0006e580: 6828 7365 6c66 2c20 2a61 7267 7329 3a0a h(self, *args):. │ │ │ -0006e590: 2020 2020 2020 2020 7222 2222 7768 6963 r"""whic │ │ │ -0006e5a0: 6828 466c 5f54 6162 7320 7365 6c66 2c20 h(Fl_Tabs self, │ │ │ -0006e5b0: 696e 7420 6576 656e 745f 782c 2069 6e74 int event_x, int │ │ │ -0006e5c0: 2065 7665 6e74 5f79 2920 2d3e 2046 6c5f event_y) -> Fl_ │ │ │ -0006e5d0: 5769 6467 6574 2222 220a 2020 2020 2020 Widget""". │ │ │ -0006e5e0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -0006e5f0: 6c5f 5461 6273 5f77 6869 6368 2873 656c l_Tabs_which(sel │ │ │ -0006e600: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -0006e610: 6566 2063 6c69 656e 745f 6172 6561 2873 ef client_area(s │ │ │ -0006e620: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -0006e630: 2020 2020 2072 2222 2263 6c69 656e 745f r"""client_ │ │ │ -0006e640: 6172 6561 2846 6c5f 5461 6273 2073 656c area(Fl_Tabs sel │ │ │ -0006e650: 662c 2069 6e74 2074 6162 683d 3029 2222 f, int tabh=0)"" │ │ │ -0006e660: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -0006e670: 205f 666c 746b 2e46 6c5f 5461 6273 5f63 _fltk.Fl_Tabs_c │ │ │ -0006e680: 6c69 656e 745f 6172 6561 2873 656c 662c lient_area(self, │ │ │ -0006e690: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -0006e6a0: 2074 6162 5f61 6c69 676e 2873 656c 662c tab_align(self, │ │ │ -0006e6b0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -0006e6c0: 2072 2222 220a 2020 2020 2020 2020 7461 r""". ta │ │ │ -0006e6d0: 625f 616c 6967 6e28 466c 5f54 6162 7320 b_align(Fl_Tabs │ │ │ -0006e6e0: 7365 6c66 2c20 466c 5f41 6c69 676e 2061 self, Fl_Align a │ │ │ -0006e6f0: 290a 2020 2020 2020 2020 7461 625f 616c ). tab_al │ │ │ -0006e700: 6967 6e28 466c 5f54 6162 7320 7365 6c66 ign(Fl_Tabs self │ │ │ -0006e710: 2920 2d3e 2046 6c5f 416c 6967 6e0a 2020 ) -> Fl_Align. │ │ │ -0006e720: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ -0006e730: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -0006e740: 6c5f 5461 6273 5f74 6162 5f61 6c69 676e l_Tabs_tab_align │ │ │ -0006e750: 2873 656c 662c 202a 6172 6773 290a 2020 (self, *args). │ │ │ -0006e760: 2020 4f56 4552 464c 4f57 5f43 4f4d 5052 OVERFLOW_COMPR │ │ │ -0006e770: 4553 5320 3d20 5f66 6c74 6b2e 466c 5f54 ESS = _fltk.Fl_T │ │ │ -0006e780: 6162 735f 4f56 4552 464c 4f57 5f43 4f4d abs_OVERFLOW_COM │ │ │ -0006e790: 5052 4553 530a 2020 2020 0a20 2020 204f PRESS. . O │ │ │ -0006e7a0: 5645 5246 4c4f 575f 434c 4950 203d 205f VERFLOW_CLIP = _ │ │ │ -0006e7b0: 666c 746b 2e46 6c5f 5461 6273 5f4f 5645 fltk.Fl_Tabs_OVE │ │ │ -0006e7c0: 5246 4c4f 575f 434c 4950 0a20 2020 200a RFLOW_CLIP. . │ │ │ -0006e7d0: 2020 2020 4f56 4552 464c 4f57 5f50 554c OVERFLOW_PUL │ │ │ -0006e7e0: 4c44 4f57 4e20 3d20 5f66 6c74 6b2e 466c LDOWN = _fltk.Fl │ │ │ -0006e7f0: 5f54 6162 735f 4f56 4552 464c 4f57 5f50 _Tabs_OVERFLOW_P │ │ │ -0006e800: 554c 4c44 4f57 4e0a 2020 2020 0a20 2020 ULLDOWN. . │ │ │ -0006e810: 204f 5645 5246 4c4f 575f 4452 4147 203d OVERFLOW_DRAG = │ │ │ -0006e820: 205f 666c 746b 2e46 6c5f 5461 6273 5f4f _fltk.Fl_Tabs_O │ │ │ -0006e830: 5645 5246 4c4f 575f 4452 4147 0a20 2020 VERFLOW_DRAG. │ │ │ -0006e840: 200a 0a20 2020 2064 6566 2068 616e 646c .. def handl │ │ │ -0006e850: 655f 6f76 6572 666c 6f77 2873 656c 662c e_overflow(self, │ │ │ -0006e860: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -0006e870: 2072 2222 2268 616e 646c 655f 6f76 6572 r"""handle_over │ │ │ -0006e880: 666c 6f77 2846 6c5f 5461 6273 2073 656c flow(Fl_Tabs sel │ │ │ -0006e890: 662c 2069 6e74 206f 7629 2222 220a 2020 f, int ov)""". │ │ │ -0006e8a0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -0006e8b0: 746b 2e46 6c5f 5461 6273 5f68 616e 646c tk.Fl_Tabs_handl │ │ │ -0006e8c0: 655f 6f76 6572 666c 6f77 2873 656c 662c e_overflow(self, │ │ │ -0006e8d0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -0006e8e0: 2069 6e69 745f 7479 7065 2873 656c 662c init_type(self, │ │ │ -0006e8f0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -0006e900: 2072 2222 2269 6e69 745f 7479 7065 2846 r"""init_type(F │ │ │ -0006e910: 6c5f 5461 6273 2073 656c 662c 2063 6861 l_Tabs self, cha │ │ │ -0006e920: 7220 2a20 466c 5f54 6162 7329 2222 220a r * Fl_Tabs)""". │ │ │ -0006e930: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -0006e940: 666c 746b 2e46 6c5f 5461 6273 5f69 6e69 fltk.Fl_Tabs_ini │ │ │ -0006e950: 745f 7479 7065 2873 656c 662c 202a 6172 t_type(self, *ar │ │ │ -0006e960: 6773 290a 2020 2020 6465 6620 5f5f 6469 gs). def __di │ │ │ -0006e970: 736f 776e 5f5f 2873 656c 6629 3a0a 2020 sown__(self):. │ │ │ -0006e980: 2020 2020 2020 7365 6c66 2e74 6869 732e self.this. │ │ │ -0006e990: 6469 736f 776e 2829 0a20 2020 2020 2020 disown(). │ │ │ -0006e9a0: 205f 666c 746b 2e64 6973 6f77 6e5f 466c _fltk.disown_Fl │ │ │ -0006e9b0: 5f54 6162 7328 7365 6c66 290a 2020 2020 _Tabs(self). │ │ │ -0006e9c0: 2020 2020 7265 7475 726e 2077 6561 6b72 return weakr │ │ │ -0006e9d0: 6566 2e70 726f 7879 2873 656c 6629 0a0a ef.proxy(self).. │ │ │ -0006e9e0: 2320 5265 6769 7374 6572 2046 6c5f 5461 # Register Fl_Ta │ │ │ -0006e9f0: 6273 2069 6e20 5f66 6c74 6b3a 0a5f 666c bs in _fltk:._fl │ │ │ -0006ea00: 746b 2e46 6c5f 5461 6273 5f73 7769 6772 tk.Fl_Tabs_swigr │ │ │ -0006ea10: 6567 6973 7465 7228 466c 5f54 6162 7329 egister(Fl_Tabs) │ │ │ -0006ea20: 0a63 6c61 7373 2046 6c5f 5465 726d 696e .class Fl_Termin │ │ │ -0006ea30: 616c 2846 6c5f 4772 6f75 7029 3a0a 2020 al(Fl_Group):. │ │ │ -0006ea40: 2020 7222 2222 0a0a 0a0a 2020 2020 2222 r""".... "" │ │ │ -0006ea50: 220a 0a20 2020 2074 6869 736f 776e 203d ".. thisown = │ │ │ -0006ea60: 2070 726f 7065 7274 7928 6c61 6d62 6461 property(lambda │ │ │ -0006ea70: 2078 3a20 782e 7468 6973 2e6f 776e 2829 x: x.this.own() │ │ │ -0006ea80: 2c20 6c61 6d62 6461 2078 2c20 763a 2078 , lambda x, v: x │ │ │ -0006ea90: 2e74 6869 732e 6f77 6e28 7629 2c20 646f .this.own(v), do │ │ │ -0006eaa0: 633d 2254 6865 206d 656d 6265 7273 6869 c="The membershi │ │ │ -0006eab0: 7020 666c 6167 2229 0a20 2020 205f 5f72 p flag"). __r │ │ │ -0006eac0: 6570 725f 5f20 3d20 5f73 7769 675f 7265 epr__ = _swig_re │ │ │ -0006ead0: 7072 0a20 2020 204e 4f5f 5245 4452 4157 pr. NO_REDRAW │ │ │ -0006eae0: 203d 205f 666c 746b 2e46 6c5f 5465 726d = _fltk.Fl_Term │ │ │ -0006eaf0: 696e 616c 5f4e 4f5f 5245 4452 4157 0a20 inal_NO_REDRAW. │ │ │ -0006eb00: 2020 200a 2020 2020 5241 5445 5f4c 494d . RATE_LIM │ │ │ -0006eb10: 4954 4544 203d 205f 666c 746b 2e46 6c5f ITED = _fltk.Fl_ │ │ │ -0006eb20: 5465 726d 696e 616c 5f52 4154 455f 4c49 Terminal_RATE_LI │ │ │ -0006eb30: 4d49 5445 440a 2020 2020 0a20 2020 2050 MITED. . P │ │ │ -0006eb40: 4552 5f57 5249 5445 203d 205f 666c 746b ER_WRITE = _fltk │ │ │ -0006eb50: 2e46 6c5f 5465 726d 696e 616c 5f50 4552 .Fl_Terminal_PER │ │ │ -0006eb60: 5f57 5249 5445 0a20 2020 200a 2020 2020 _WRITE. . │ │ │ -0006eb70: 4e4f 524d 414c 203d 205f 666c 746b 2e46 NORMAL = _fltk.F │ │ │ -0006eb80: 6c5f 5465 726d 696e 616c 5f4e 4f52 4d41 l_Terminal_NORMA │ │ │ -0006eb90: 4c0a 2020 2020 0a20 2020 2042 4f4c 4420 L. . BOLD │ │ │ -0006eba0: 3d20 5f66 6c74 6b2e 466c 5f54 6572 6d69 = _fltk.Fl_Termi │ │ │ -0006ebb0: 6e61 6c5f 424f 4c44 0a20 2020 200a 2020 nal_BOLD. . │ │ │ -0006ebc0: 2020 4449 4d20 3d20 5f66 6c74 6b2e 466c DIM = _fltk.Fl │ │ │ -0006ebd0: 5f54 6572 6d69 6e61 6c5f 4449 4d0a 2020 _Terminal_DIM. │ │ │ -0006ebe0: 2020 0a20 2020 2049 5441 4c49 4320 3d20 . ITALIC = │ │ │ -0006ebf0: 5f66 6c74 6b2e 466c 5f54 6572 6d69 6e61 _fltk.Fl_Termina │ │ │ -0006ec00: 6c5f 4954 414c 4943 0a20 2020 200a 2020 l_ITALIC. . │ │ │ -0006ec10: 2020 554e 4445 524c 494e 4520 3d20 5f66 UNDERLINE = _f │ │ │ -0006ec20: 6c74 6b2e 466c 5f54 6572 6d69 6e61 6c5f ltk.Fl_Terminal_ │ │ │ -0006ec30: 554e 4445 524c 494e 450a 2020 2020 0a20 UNDERLINE. . │ │ │ -0006ec40: 2020 205f 5245 5345 5256 4544 5f31 203d _RESERVED_1 = │ │ │ -0006ec50: 205f 666c 746b 2e46 6c5f 5465 726d 696e _fltk.Fl_Termin │ │ │ -0006ec60: 616c 5f5f 5245 5345 5256 4544 5f31 0a20 al__RESERVED_1. │ │ │ -0006ec70: 2020 200a 2020 2020 494e 5645 5253 4520 . INVERSE │ │ │ -0006ec80: 3d20 5f66 6c74 6b2e 466c 5f54 6572 6d69 = _fltk.Fl_Termi │ │ │ -0006ec90: 6e61 6c5f 494e 5645 5253 450a 2020 2020 nal_INVERSE. │ │ │ -0006eca0: 0a20 2020 205f 5245 5345 5256 4544 5f32 . _RESERVED_2 │ │ │ -0006ecb0: 203d 205f 666c 746b 2e46 6c5f 5465 726d = _fltk.Fl_Term │ │ │ -0006ecc0: 696e 616c 5f5f 5245 5345 5256 4544 5f32 inal__RESERVED_2 │ │ │ -0006ecd0: 0a20 2020 200a 2020 2020 5354 5249 4b45 . . STRIKE │ │ │ -0006ece0: 4f55 5420 3d20 5f66 6c74 6b2e 466c 5f54 OUT = _fltk.Fl_T │ │ │ -0006ecf0: 6572 6d69 6e61 6c5f 5354 5249 4b45 4f55 erminal_STRIKEOU │ │ │ -0006ed00: 540a 2020 2020 0a20 2020 2046 475f 5854 T. . FG_XT │ │ │ -0006ed10: 4552 4d20 3d20 5f66 6c74 6b2e 466c 5f54 ERM = _fltk.Fl_T │ │ │ -0006ed20: 6572 6d69 6e61 6c5f 4647 5f58 5445 524d erminal_FG_XTERM │ │ │ -0006ed30: 0a20 2020 200a 2020 2020 4247 5f58 5445 . . BG_XTE │ │ │ -0006ed40: 524d 203d 205f 666c 746b 2e46 6c5f 5465 RM = _fltk.Fl_Te │ │ │ -0006ed50: 726d 696e 616c 5f42 475f 5854 4552 4d0a rminal_BG_XTERM. │ │ │ -0006ed60: 2020 2020 0a20 2020 2045 4f4c 203d 205f . EOL = _ │ │ │ -0006ed70: 666c 746b 2e46 6c5f 5465 726d 696e 616c fltk.Fl_Terminal │ │ │ -0006ed80: 5f45 4f4c 0a20 2020 200a 2020 2020 5245 _EOL. . RE │ │ │ -0006ed90: 5356 5f41 203d 205f 666c 746b 2e46 6c5f SV_A = _fltk.Fl_ │ │ │ -0006eda0: 5465 726d 696e 616c 5f52 4553 565f 410a Terminal_RESV_A. │ │ │ -0006edb0: 2020 2020 0a20 2020 2052 4553 565f 4220 . RESV_B │ │ │ -0006edc0: 3d20 5f66 6c74 6b2e 466c 5f54 6572 6d69 = _fltk.Fl_Termi │ │ │ -0006edd0: 6e61 6c5f 5245 5356 5f42 0a20 2020 200a nal_RESV_B. . │ │ │ -0006ede0: 2020 2020 5245 5356 5f43 203d 205f 666c RESV_C = _fl │ │ │ -0006edf0: 746b 2e46 6c5f 5465 726d 696e 616c 5f52 tk.Fl_Terminal_R │ │ │ -0006ee00: 4553 565f 430a 2020 2020 0a20 2020 2052 ESV_C. . R │ │ │ -0006ee10: 4553 565f 4420 3d20 5f66 6c74 6b2e 466c ESV_D = _fltk.Fl │ │ │ -0006ee20: 5f54 6572 6d69 6e61 6c5f 5245 5356 5f44 _Terminal_RESV_D │ │ │ -0006ee30: 0a20 2020 200a 2020 2020 5245 5356 5f45 . . RESV_E │ │ │ -0006ee40: 203d 205f 666c 746b 2e46 6c5f 5465 726d = _fltk.Fl_Term │ │ │ -0006ee50: 696e 616c 5f52 4553 565f 450a 2020 2020 inal_RESV_E. │ │ │ -0006ee60: 0a20 2020 2043 4f4c 4f52 4d41 534b 203d . COLORMASK = │ │ │ -0006ee70: 205f 666c 746b 2e46 6c5f 5465 726d 696e _fltk.Fl_Termin │ │ │ -0006ee80: 616c 5f43 4f4c 4f52 4d41 534b 0a20 2020 al_COLORMASK. │ │ │ -0006ee90: 200a 2020 2020 4f46 4620 3d20 5f66 6c74 . OFF = _flt │ │ │ -0006eea0: 6b2e 466c 5f54 6572 6d69 6e61 6c5f 4f46 k.Fl_Terminal_OF │ │ │ -0006eeb0: 460a 2020 2020 0a20 2020 2043 525f 544f F. . CR_TO │ │ │ -0006eec0: 5f4c 4620 3d20 5f66 6c74 6b2e 466c 5f54 _LF = _fltk.Fl_T │ │ │ -0006eed0: 6572 6d69 6e61 6c5f 4352 5f54 4f5f 4c46 erminal_CR_TO_LF │ │ │ -0006eee0: 0a20 2020 200a 2020 2020 4c46 5f54 4f5f . . LF_TO_ │ │ │ -0006eef0: 4352 203d 205f 666c 746b 2e46 6c5f 5465 CR = _fltk.Fl_Te │ │ │ -0006ef00: 726d 696e 616c 5f4c 465f 544f 5f43 520a rminal_LF_TO_CR. │ │ │ -0006ef10: 2020 2020 0a20 2020 204c 465f 544f 5f43 . LF_TO_C │ │ │ -0006ef20: 524c 4620 3d20 5f66 6c74 6b2e 466c 5f54 RLF = _fltk.Fl_T │ │ │ -0006ef30: 6572 6d69 6e61 6c5f 4c46 5f54 4f5f 4352 erminal_LF_TO_CR │ │ │ -0006ef40: 4c46 0a20 2020 200a 2020 2020 5343 524f LF. . SCRO │ │ │ -0006ef50: 4c4c 4241 525f 4f46 4620 3d20 5f66 6c74 LLBAR_OFF = _flt │ │ │ -0006ef60: 6b2e 466c 5f54 6572 6d69 6e61 6c5f 5343 k.Fl_Terminal_SC │ │ │ -0006ef70: 524f 4c4c 4241 525f 4f46 460a 2020 2020 ROLLBAR_OFF. │ │ │ -0006ef80: 0a20 2020 2053 4352 4f4c 4c42 4152 5f41 . SCROLLBAR_A │ │ │ -0006ef90: 5554 4f20 3d20 5f66 6c74 6b2e 466c 5f54 UTO = _fltk.Fl_T │ │ │ -0006efa0: 6572 6d69 6e61 6c5f 5343 524f 4c4c 4241 erminal_SCROLLBA │ │ │ -0006efb0: 525f 4155 544f 0a20 2020 200a 2020 2020 R_AUTO. . │ │ │ -0006efc0: 5343 524f 4c4c 4241 525f 4f4e 203d 205f SCROLLBAR_ON = _ │ │ │ -0006efd0: 666c 746b 2e46 6c5f 5465 726d 696e 616c fltk.Fl_Terminal │ │ │ -0006efe0: 5f53 4352 4f4c 4c42 4152 5f4f 4e0a 2020 _SCROLLBAR_ON. │ │ │ -0006eff0: 2020 0a0a 2020 2020 6465 6620 7365 6c65 .. def sele │ │ │ -0006f000: 6374 696f 6e5f 7465 7874 5f6c 656e 2873 ction_text_len(s │ │ │ -0006f010: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -0006f020: 2020 2020 2072 2222 2273 656c 6563 7469 r"""selecti │ │ │ -0006f030: 6f6e 5f74 6578 745f 6c65 6e28 466c 5f54 on_text_len(Fl_T │ │ │ -0006f040: 6572 6d69 6e61 6c20 7365 6c66 2920 2d3e erminal self) -> │ │ │ -0006f050: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ -0006f060: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -0006f070: 5465 726d 696e 616c 5f73 656c 6563 7469 Terminal_selecti │ │ │ -0006f080: 6f6e 5f74 6578 745f 6c65 6e28 7365 6c66 on_text_len(self │ │ │ -0006f090: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -0006f0a0: 6620 7365 6c65 6374 696f 6e5f 7465 7874 f selection_text │ │ │ -0006f0b0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -0006f0c0: 2020 2020 2020 2072 2222 2273 656c 6563 r"""selec │ │ │ -0006f0d0: 7469 6f6e 5f74 6578 7428 466c 5f54 6572 tion_text(Fl_Ter │ │ │ -0006f0e0: 6d69 6e61 6c20 7365 6c66 2920 2d3e 2063 minal self) -> c │ │ │ -0006f0f0: 6861 7220 636f 6e73 7420 2a22 2222 0a20 har const *""". │ │ │ -0006f100: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -0006f110: 6c74 6b2e 466c 5f54 6572 6d69 6e61 6c5f ltk.Fl_Terminal_ │ │ │ -0006f120: 7365 6c65 6374 696f 6e5f 7465 7874 2873 selection_text(s │ │ │ -0006f130: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -0006f140: 2064 6566 2063 6c65 6172 2873 656c 662c def clear(self, │ │ │ -0006f150: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -0006f160: 2072 2222 220a 2020 2020 2020 2020 636c r""". cl │ │ │ -0006f170: 6561 7228 466c 5f54 6572 6d69 6e61 6c20 ear(Fl_Terminal │ │ │ -0006f180: 7365 6c66 290a 2020 2020 2020 2020 636c self). cl │ │ │ -0006f190: 6561 7228 466c 5f54 6572 6d69 6e61 6c20 ear(Fl_Terminal │ │ │ -0006f1a0: 7365 6c66 2c20 466c 5f43 6f6c 6f72 2076 self, Fl_Color v │ │ │ -0006f1b0: 616c 290a 2020 2020 2020 2020 2222 220a al). """. │ │ │ -0006f1c0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -0006f1d0: 666c 746b 2e46 6c5f 5465 726d 696e 616c fltk.Fl_Terminal │ │ │ -0006f1e0: 5f63 6c65 6172 2873 656c 662c 202a 6172 _clear(self, *ar │ │ │ -0006f1f0: 6773 290a 0a20 2020 2064 6566 2063 6c65 gs).. def cle │ │ │ -0006f200: 6172 5f73 6372 6565 6e28 7365 6c66 2c20 ar_screen(self, │ │ │ -0006f210: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -0006f220: 7222 2222 636c 6561 725f 7363 7265 656e r"""clear_screen │ │ │ -0006f230: 2846 6c5f 5465 726d 696e 616c 2073 656c (Fl_Terminal sel │ │ │ -0006f240: 662c 2062 6f6f 6c20 7363 726f 6c6c 5f74 f, bool scroll_t │ │ │ -0006f250: 6f5f 6869 7374 3d54 7275 6529 2222 220a o_hist=True)""". │ │ │ -0006f260: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -0006f270: 666c 746b 2e46 6c5f 5465 726d 696e 616c fltk.Fl_Terminal │ │ │ -0006f280: 5f63 6c65 6172 5f73 6372 6565 6e28 7365 _clear_screen(se │ │ │ -0006f290: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -0006f2a0: 6465 6620 636c 6561 725f 7363 7265 656e def clear_screen │ │ │ -0006f2b0: 5f68 6f6d 6528 7365 6c66 2c20 2a61 7267 _home(self, *arg │ │ │ -0006f2c0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0006f2d0: 636c 6561 725f 7363 7265 656e 5f68 6f6d clear_screen_hom │ │ │ -0006f2e0: 6528 466c 5f54 6572 6d69 6e61 6c20 7365 e(Fl_Terminal se │ │ │ -0006f2f0: 6c66 2c20 626f 6f6c 2073 6372 6f6c 6c5f lf, bool scroll_ │ │ │ -0006f300: 746f 5f68 6973 743d 5472 7565 2922 2222 to_hist=True)""" │ │ │ -0006f310: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -0006f320: 5f66 6c74 6b2e 466c 5f54 6572 6d69 6e61 _fltk.Fl_Termina │ │ │ -0006f330: 6c5f 636c 6561 725f 7363 7265 656e 5f68 l_clear_screen_h │ │ │ -0006f340: 6f6d 6528 7365 6c66 2c20 2a61 7267 7329 ome(self, *args) │ │ │ -0006f350: 0a0a 2020 2020 6465 6620 636c 6561 725f .. def clear_ │ │ │ -0006f360: 6869 7374 6f72 7928 7365 6c66 2c20 2a61 history(self, *a │ │ │ -0006f370: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -0006f380: 2222 636c 6561 725f 6869 7374 6f72 7928 ""clear_history( │ │ │ -0006f390: 466c 5f54 6572 6d69 6e61 6c20 7365 6c66 Fl_Terminal self │ │ │ -0006f3a0: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ -0006f3b0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6572 urn _fltk.Fl_Ter │ │ │ -0006f3c0: 6d69 6e61 6c5f 636c 6561 725f 6869 7374 minal_clear_hist │ │ │ -0006f3d0: 6f72 7928 7365 6c66 2c20 2a61 7267 7329 ory(self, *args) │ │ │ -0006f3e0: 0a0a 2020 2020 6465 6620 7265 7365 745f .. def reset_ │ │ │ -0006f3f0: 7465 726d 696e 616c 2873 656c 662c 202a terminal(self, * │ │ │ -0006f400: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -0006f410: 2222 2272 6573 6574 5f74 6572 6d69 6e61 """reset_termina │ │ │ -0006f420: 6c28 466c 5f54 6572 6d69 6e61 6c20 7365 l(Fl_Terminal se │ │ │ -0006f430: 6c66 2922 2222 0a20 2020 2020 2020 2072 lf)""". r │ │ │ -0006f440: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -0006f450: 6572 6d69 6e61 6c5f 7265 7365 745f 7465 erminal_reset_te │ │ │ -0006f460: 726d 696e 616c 2873 656c 662c 202a 6172 rminal(self, *ar │ │ │ -0006f470: 6773 290a 0a20 2020 2064 6566 2063 7572 gs).. def cur │ │ │ -0006f480: 736f 725f 686f 6d65 2873 656c 662c 202a sor_home(self, * │ │ │ -0006f490: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -0006f4a0: 2222 2263 7572 736f 725f 686f 6d65 2846 """cursor_home(F │ │ │ -0006f4b0: 6c5f 5465 726d 696e 616c 2073 656c 6629 l_Terminal self) │ │ │ -0006f4c0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -0006f4d0: 726e 205f 666c 746b 2e46 6c5f 5465 726d rn _fltk.Fl_Term │ │ │ -0006f4e0: 696e 616c 5f63 7572 736f 725f 686f 6d65 inal_cursor_home │ │ │ -0006f4f0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -0006f500: 2020 2064 6566 2063 7572 736f 7266 6763 def cursorfgc │ │ │ -0006f510: 6f6c 6f72 2873 656c 662c 202a 6172 6773 olor(self, *args │ │ │ -0006f520: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ -0006f530: 2020 2020 2020 2020 6375 7273 6f72 6667 cursorfg │ │ │ -0006f540: 636f 6c6f 7228 466c 5f54 6572 6d69 6e61 color(Fl_Termina │ │ │ -0006f550: 6c20 7365 6c66 2c20 466c 5f43 6f6c 6f72 l self, Fl_Color │ │ │ -0006f560: 2076 616c 290a 2020 2020 2020 2020 6375 val). cu │ │ │ -0006f570: 7273 6f72 6667 636f 6c6f 7228 466c 5f54 rsorfgcolor(Fl_T │ │ │ -0006f580: 6572 6d69 6e61 6c20 7365 6c66 2920 2d3e erminal self) -> │ │ │ -0006f590: 2046 6c5f 436f 6c6f 720a 2020 2020 2020 Fl_Color. │ │ │ -0006f5a0: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ -0006f5b0: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ -0006f5c0: 726d 696e 616c 5f63 7572 736f 7266 6763 rminal_cursorfgc │ │ │ -0006f5d0: 6f6c 6f72 2873 656c 662c 202a 6172 6773 olor(self, *args │ │ │ -0006f5e0: 290a 0a20 2020 2064 6566 2063 7572 736f ).. def curso │ │ │ -0006f5f0: 7262 6763 6f6c 6f72 2873 656c 662c 202a rbgcolor(self, * │ │ │ -0006f600: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -0006f610: 2222 220a 2020 2020 2020 2020 6375 7273 """. curs │ │ │ -0006f620: 6f72 6267 636f 6c6f 7228 466c 5f54 6572 orbgcolor(Fl_Ter │ │ │ -0006f630: 6d69 6e61 6c20 7365 6c66 2c20 466c 5f43 minal self, Fl_C │ │ │ -0006f640: 6f6c 6f72 2076 616c 290a 2020 2020 2020 olor val). │ │ │ -0006f650: 2020 6375 7273 6f72 6267 636f 6c6f 7228 cursorbgcolor( │ │ │ -0006f660: 466c 5f54 6572 6d69 6e61 6c20 7365 6c66 Fl_Terminal self │ │ │ -0006f670: 2920 2d3e 2046 6c5f 436f 6c6f 720a 2020 ) -> Fl_Color. │ │ │ -0006f680: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ -0006f690: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -0006f6a0: 6c5f 5465 726d 696e 616c 5f63 7572 736f l_Terminal_curso │ │ │ -0006f6b0: 7262 6763 6f6c 6f72 2873 656c 662c 202a rbgcolor(self, * │ │ │ -0006f6c0: 6172 6773 290a 0a20 2020 2064 6566 2063 args).. def c │ │ │ -0006f6d0: 7572 736f 725f 726f 7728 7365 6c66 2c20 ursor_row(self, │ │ │ -0006f6e0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -0006f6f0: 7222 2222 6375 7273 6f72 5f72 6f77 2846 r"""cursor_row(F │ │ │ -0006f700: 6c5f 5465 726d 696e 616c 2073 656c 6629 l_Terminal self) │ │ │ -0006f710: 202d 3e20 696e 7422 2222 0a20 2020 2020 -> int""". │ │ │ -0006f720: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -0006f730: 466c 5f54 6572 6d69 6e61 6c5f 6375 7273 Fl_Terminal_curs │ │ │ -0006f740: 6f72 5f72 6f77 2873 656c 662c 202a 6172 or_row(self, *ar │ │ │ -0006f750: 6773 290a 0a20 2020 2064 6566 2063 7572 gs).. def cur │ │ │ -0006f760: 736f 725f 636f 6c28 7365 6c66 2c20 2a61 sor_col(self, *a │ │ │ -0006f770: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -0006f780: 2222 6375 7273 6f72 5f63 6f6c 2846 6c5f ""cursor_col(Fl_ │ │ │ -0006f790: 5465 726d 696e 616c 2073 656c 6629 202d Terminal self) - │ │ │ -0006f7a0: 3e20 696e 7422 2222 0a20 2020 2020 2020 > int""". │ │ │ -0006f7b0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -0006f7c0: 5f54 6572 6d69 6e61 6c5f 6375 7273 6f72 _Terminal_cursor │ │ │ -0006f7d0: 5f63 6f6c 2873 656c 662c 202a 6172 6773 _col(self, *args │ │ │ -0006f7e0: 290a 0a20 2020 2064 6566 206f 7574 7075 ).. def outpu │ │ │ -0006f7f0: 745f 7472 616e 736c 6174 6528 7365 6c66 t_translate(self │ │ │ -0006f800: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -0006f810: 2020 7222 2222 0a20 2020 2020 2020 206f r""". o │ │ │ -0006f820: 7574 7075 745f 7472 616e 736c 6174 6528 utput_translate( │ │ │ -0006f830: 466c 5f54 6572 6d69 6e61 6c20 7365 6c66 Fl_Terminal self │ │ │ -0006f840: 2c20 466c 5f54 6572 6d69 6e61 6c3a 3a4f , Fl_Terminal::O │ │ │ -0006f850: 7574 466c 6167 7320 7661 6c29 0a20 2020 utFlags val). │ │ │ -0006f860: 2020 2020 206f 7574 7075 745f 7472 616e output_tran │ │ │ -0006f870: 736c 6174 6528 466c 5f54 6572 6d69 6e61 slate(Fl_Termina │ │ │ -0006f880: 6c20 7365 6c66 2920 2d3e 2046 6c5f 5465 l self) -> Fl_Te │ │ │ -0006f890: 726d 696e 616c 3a3a 4f75 7446 6c61 6773 rminal::OutFlags │ │ │ -0006f8a0: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ -0006f8b0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -0006f8c0: 6b2e 466c 5f54 6572 6d69 6e61 6c5f 6f75 k.Fl_Terminal_ou │ │ │ -0006f8d0: 7470 7574 5f74 7261 6e73 6c61 7465 2873 tput_translate(s │ │ │ -0006f8e0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -0006f8f0: 2064 6566 2070 6c6f 745f 6368 6172 2873 def plot_char(s │ │ │ -0006f900: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -0006f910: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ -0006f920: 2020 706c 6f74 5f63 6861 7228 466c 5f54 plot_char(Fl_T │ │ │ -0006f930: 6572 6d69 6e61 6c20 7365 6c66 2c20 6368 erminal self, ch │ │ │ -0006f940: 6172 2063 6f6e 7374 202a 2074 6578 742c ar const * text, │ │ │ -0006f950: 2069 6e74 206c 656e 2c20 696e 7420 6472 int len, int dr │ │ │ -0006f960: 6f77 2c20 696e 7420 6463 6f6c 290a 2020 ow, int dcol). │ │ │ -0006f970: 2020 2020 2020 706c 6f74 5f63 6861 7228 plot_char( │ │ │ -0006f980: 466c 5f54 6572 6d69 6e61 6c20 7365 6c66 Fl_Terminal self │ │ │ -0006f990: 2c20 6368 6172 2063 2c20 696e 7420 6472 , char c, int dr │ │ │ -0006f9a0: 6f77 2c20 696e 7420 6463 6f6c 290a 2020 ow, int dcol). │ │ │ -0006f9b0: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ -0006f9c0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -0006f9d0: 6c5f 5465 726d 696e 616c 5f70 6c6f 745f l_Terminal_plot_ │ │ │ -0006f9e0: 6368 6172 2873 656c 662c 202a 6172 6773 char(self, *args │ │ │ -0006f9f0: 290a 0a20 2020 2064 6566 2070 7269 6e74 ).. def print │ │ │ -0006fa00: 5f63 6861 7228 7365 6c66 2c20 2a61 7267 _char(self, *arg │ │ │ -0006fa10: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0006fa20: 0a20 2020 2020 2020 2070 7269 6e74 5f63 . print_c │ │ │ -0006fa30: 6861 7228 466c 5f54 6572 6d69 6e61 6c20 har(Fl_Terminal │ │ │ -0006fa40: 7365 6c66 2c20 6368 6172 2063 6f6e 7374 self, char const │ │ │ -0006fa50: 202a 2074 6578 742c 2069 6e74 206c 656e * text, int len │ │ │ -0006fa60: 3d2d 3129 0a20 2020 2020 2020 2070 7269 =-1). pri │ │ │ -0006fa70: 6e74 5f63 6861 7228 466c 5f54 6572 6d69 nt_char(Fl_Termi │ │ │ -0006fa80: 6e61 6c20 7365 6c66 2c20 6368 6172 2063 nal self, char c │ │ │ -0006fa90: 290a 2020 2020 2020 2020 2222 220a 2020 ). """. │ │ │ -0006faa0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -0006fab0: 746b 2e46 6c5f 5465 726d 696e 616c 5f70 tk.Fl_Terminal_p │ │ │ -0006fac0: 7269 6e74 5f63 6861 7228 7365 6c66 2c20 rint_char(self, │ │ │ -0006fad0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -0006fae0: 6170 7065 6e64 5f75 7466 3828 7365 6c66 append_utf8(self │ │ │ -0006faf0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -0006fb00: 2020 7222 2222 6170 7065 6e64 5f75 7466 r"""append_utf │ │ │ -0006fb10: 3828 466c 5f54 6572 6d69 6e61 6c20 7365 8(Fl_Terminal se │ │ │ -0006fb20: 6c66 2c20 6368 6172 2063 6f6e 7374 202a lf, char const * │ │ │ -0006fb30: 2062 7566 2c20 696e 7420 6c65 6e3d 2d31 buf, int len=-1 │ │ │ -0006fb40: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ -0006fb50: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6572 urn _fltk.Fl_Ter │ │ │ -0006fb60: 6d69 6e61 6c5f 6170 7065 6e64 5f75 7466 minal_append_utf │ │ │ -0006fb70: 3828 7365 6c66 2c20 2a61 7267 7329 0a0a 8(self, *args).. │ │ │ -0006fb80: 2020 2020 6465 6620 6170 7065 6e64 5f61 def append_a │ │ │ -0006fb90: 7363 6969 2873 656c 662c 202a 6172 6773 scii(self, *args │ │ │ -0006fba0: 293a 0a20 2020 2020 2020 2072 2222 2261 ):. r"""a │ │ │ -0006fbb0: 7070 656e 645f 6173 6369 6928 466c 5f54 ppend_ascii(Fl_T │ │ │ -0006fbc0: 6572 6d69 6e61 6c20 7365 6c66 2c20 6368 erminal self, ch │ │ │ -0006fbd0: 6172 2063 6f6e 7374 202a 2073 2922 2222 ar const * s)""" │ │ │ -0006fbe0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -0006fbf0: 5f66 6c74 6b2e 466c 5f54 6572 6d69 6e61 _fltk.Fl_Termina │ │ │ -0006fc00: 6c5f 6170 7065 6e64 5f61 7363 6969 2873 l_append_ascii(s │ │ │ -0006fc10: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -0006fc20: 2064 6566 2061 7070 656e 6428 7365 6c66 def append(self │ │ │ -0006fc30: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -0006fc40: 2020 7222 2222 6170 7065 6e64 2846 6c5f r"""append(Fl_ │ │ │ -0006fc50: 5465 726d 696e 616c 2073 656c 662c 2063 Terminal self, c │ │ │ -0006fc60: 6861 7220 636f 6e73 7420 2a20 732c 2069 har const * s, i │ │ │ -0006fc70: 6e74 206c 656e 3d2d 3129 2222 220a 2020 nt len=-1)""". │ │ │ -0006fc80: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -0006fc90: 746b 2e46 6c5f 5465 726d 696e 616c 5f61 tk.Fl_Terminal_a │ │ │ -0006fca0: 7070 656e 6428 7365 6c66 2c20 2a61 7267 ppend(self, *arg │ │ │ -0006fcb0: 7329 0a0a 2020 2020 6465 6620 6472 6177 s).. def draw │ │ │ -0006fcc0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -0006fcd0: 2020 2020 2020 2072 2222 2264 7261 7728 r"""draw( │ │ │ -0006fce0: 466c 5f54 6572 6d69 6e61 6c20 7365 6c66 Fl_Terminal self │ │ │ -0006fcf0: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ -0006fd00: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6572 urn _fltk.Fl_Ter │ │ │ -0006fd10: 6d69 6e61 6c5f 6472 6177 2873 656c 662c minal_draw(self, │ │ │ -0006fd20: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -0006fd30: 2072 6573 697a 6528 7365 6c66 2c20 2a61 resize(self, *a │ │ │ -0006fd40: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -0006fd50: 2222 7265 7369 7a65 2846 6c5f 5465 726d ""resize(Fl_Term │ │ │ -0006fd60: 696e 616c 2073 656c 662c 2069 6e74 2058 inal self, int X │ │ │ -0006fd70: 2c20 696e 7420 592c 2069 6e74 2057 2c20 , int Y, int W, │ │ │ -0006fd80: 696e 7420 4829 2222 220a 2020 2020 2020 int H)""". │ │ │ -0006fd90: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -0006fda0: 6c5f 5465 726d 696e 616c 5f72 6573 697a l_Terminal_resiz │ │ │ -0006fdb0: 6528 7365 6c66 2c20 2a61 7267 7329 0a0a e(self, *args).. │ │ │ -0006fdc0: 2020 2020 6465 6620 6861 6e64 6c65 2873 def handle(s │ │ │ -0006fdd0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -0006fde0: 2020 2020 2072 2222 2268 616e 646c 6528 r"""handle( │ │ │ -0006fdf0: 466c 5f54 6572 6d69 6e61 6c20 7365 6c66 Fl_Terminal self │ │ │ -0006fe00: 2c20 696e 7420 6529 202d 3e20 696e 7422 , int e) -> int" │ │ │ -0006fe10: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -0006fe20: 6e20 5f66 6c74 6b2e 466c 5f54 6572 6d69 n _fltk.Fl_Termi │ │ │ -0006fe30: 6e61 6c5f 6861 6e64 6c65 2873 656c 662c nal_handle(self, │ │ │ -0006fe40: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -0006fe50: 2074 6578 7428 7365 6c66 2c20 2a61 7267 text(self, *arg │ │ │ -0006fe60: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0006fe70: 7465 7874 2846 6c5f 5465 726d 696e 616c text(Fl_Terminal │ │ │ -0006fe80: 2073 656c 662c 2062 6f6f 6c20 6c69 6e65 self, bool line │ │ │ -0006fe90: 735f 6265 6c6f 775f 6375 7273 6f72 3d46 s_below_cursor=F │ │ │ -0006fea0: 616c 7365 2920 2d3e 2063 6861 7220 636f alse) -> char co │ │ │ -0006feb0: 6e73 7420 2a22 2222 0a20 2020 2020 2020 nst *""". │ │ │ -0006fec0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -0006fed0: 5f54 6572 6d69 6e61 6c5f 7465 7874 2873 _Terminal_text(s │ │ │ -0006fee0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -0006fef0: 2064 6566 2073 6372 6f6c 6c62 6172 5f73 def scrollbar_s │ │ │ -0006ff00: 697a 6528 7365 6c66 2c20 2a61 7267 7329 ize(self, *args) │ │ │ -0006ff10: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ -0006ff20: 2020 2020 2020 2073 6372 6f6c 6c62 6172 scrollbar │ │ │ -0006ff30: 5f73 697a 6528 466c 5f54 6572 6d69 6e61 _size(Fl_Termina │ │ │ -0006ff40: 6c20 7365 6c66 2920 2d3e 2069 6e74 0a20 l self) -> int. │ │ │ -0006ff50: 2020 2020 2020 2073 6372 6f6c 6c62 6172 scrollbar │ │ │ -0006ff60: 5f73 697a 6528 466c 5f54 6572 6d69 6e61 _size(Fl_Termina │ │ │ -0006ff70: 6c20 7365 6c66 2c20 696e 7420 7661 6c29 l self, int val) │ │ │ -0006ff80: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ -0006ff90: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -0006ffa0: 6b2e 466c 5f54 6572 6d69 6e61 6c5f 7363 k.Fl_Terminal_sc │ │ │ -0006ffb0: 726f 6c6c 6261 725f 7369 7a65 2873 656c rollbar_size(sel │ │ │ -0006ffc0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -0006ffd0: 6566 2073 6372 6f6c 6c62 6172 5f61 6374 ef scrollbar_act │ │ │ -0006ffe0: 7561 6c5f 7369 7a65 2873 656c 662c 202a ual_size(self, * │ │ │ -0006fff0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00070000: 2222 2273 6372 6f6c 6c62 6172 5f61 6374 """scrollbar_act │ │ │ -00070010: 7561 6c5f 7369 7a65 2846 6c5f 5465 726d ual_size(Fl_Term │ │ │ -00070020: 696e 616c 2073 656c 6629 202d 3e20 696e inal self) -> in │ │ │ -00070030: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ -00070040: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6572 urn _fltk.Fl_Ter │ │ │ -00070050: 6d69 6e61 6c5f 7363 726f 6c6c 6261 725f minal_scrollbar_ │ │ │ -00070060: 6163 7475 616c 5f73 697a 6528 7365 6c66 actual_size(self │ │ │ -00070070: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -00070080: 6620 6873 6372 6f6c 6c62 6172 5f73 7479 f hscrollbar_sty │ │ │ -00070090: 6c65 2873 656c 662c 202a 6172 6773 293a le(self, *args): │ │ │ -000700a0: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ -000700b0: 2020 2020 2020 6873 6372 6f6c 6c62 6172 hscrollbar │ │ │ -000700c0: 5f73 7479 6c65 2846 6c5f 5465 726d 696e _style(Fl_Termin │ │ │ -000700d0: 616c 2073 656c 662c 2046 6c5f 5465 726d al self, Fl_Term │ │ │ -000700e0: 696e 616c 3a3a 5363 726f 6c6c 6261 7253 inal::ScrollbarS │ │ │ -000700f0: 7479 6c65 2076 616c 290a 2020 2020 2020 tyle val). │ │ │ -00070100: 2020 6873 6372 6f6c 6c62 6172 5f73 7479 hscrollbar_sty │ │ │ -00070110: 6c65 2846 6c5f 5465 726d 696e 616c 2073 le(Fl_Terminal s │ │ │ -00070120: 656c 6629 202d 3e20 466c 5f54 6572 6d69 elf) -> Fl_Termi │ │ │ -00070130: 6e61 6c3a 3a53 6372 6f6c 6c62 6172 5374 nal::ScrollbarSt │ │ │ -00070140: 796c 650a 2020 2020 2020 2020 2222 220a yle. """. │ │ │ -00070150: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00070160: 666c 746b 2e46 6c5f 5465 726d 696e 616c fltk.Fl_Terminal │ │ │ -00070170: 5f68 7363 726f 6c6c 6261 725f 7374 796c _hscrollbar_styl │ │ │ -00070180: 6528 7365 6c66 2c20 2a61 7267 7329 0a0a e(self, *args).. │ │ │ -00070190: 2020 2020 6465 6620 6869 7374 6f72 795f def history_ │ │ │ -000701a0: 726f 7773 2873 656c 662c 202a 6172 6773 rows(self, *args │ │ │ -000701b0: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ -000701c0: 2020 2020 2020 2020 6869 7374 6f72 795f history_ │ │ │ -000701d0: 726f 7773 2846 6c5f 5465 726d 696e 616c rows(Fl_Terminal │ │ │ -000701e0: 2073 656c 6629 202d 3e20 696e 740a 2020 self) -> int. │ │ │ -000701f0: 2020 2020 2020 6869 7374 6f72 795f 726f history_ro │ │ │ -00070200: 7773 2846 6c5f 5465 726d 696e 616c 2073 ws(Fl_Terminal s │ │ │ -00070210: 656c 662c 2069 6e74 2076 616c 290a 2020 elf, int val). │ │ │ -00070220: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ -00070230: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -00070240: 6c5f 5465 726d 696e 616c 5f68 6973 746f l_Terminal_histo │ │ │ -00070250: 7279 5f72 6f77 7328 7365 6c66 2c20 2a61 ry_rows(self, *a │ │ │ -00070260: 7267 7329 0a0a 2020 2020 6465 6620 6869 rgs).. def hi │ │ │ -00070270: 7374 6f72 795f 7573 6528 7365 6c66 2c20 story_use(self, │ │ │ -00070280: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00070290: 7222 2222 6869 7374 6f72 795f 7573 6528 r"""history_use( │ │ │ -000702a0: 466c 5f54 6572 6d69 6e61 6c20 7365 6c66 Fl_Terminal self │ │ │ -000702b0: 2920 2d3e 2069 6e74 2222 220a 2020 2020 ) -> int""". │ │ │ -000702c0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -000702d0: 2e46 6c5f 5465 726d 696e 616c 5f68 6973 .Fl_Terminal_his │ │ │ -000702e0: 746f 7279 5f75 7365 2873 656c 662c 202a tory_use(self, * │ │ │ -000702f0: 6172 6773 290a 0a20 2020 2064 6566 2064 args).. def d │ │ │ -00070300: 6973 706c 6179 5f72 6f77 7328 7365 6c66 isplay_rows(self │ │ │ -00070310: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -00070320: 2020 7222 2222 0a20 2020 2020 2020 2064 r""". d │ │ │ -00070330: 6973 706c 6179 5f72 6f77 7328 466c 5f54 isplay_rows(Fl_T │ │ │ -00070340: 6572 6d69 6e61 6c20 7365 6c66 2920 2d3e erminal self) -> │ │ │ -00070350: 2069 6e74 0a20 2020 2020 2020 2064 6973 int. dis │ │ │ -00070360: 706c 6179 5f72 6f77 7328 466c 5f54 6572 play_rows(Fl_Ter │ │ │ -00070370: 6d69 6e61 6c20 7365 6c66 2c20 696e 7420 minal self, int │ │ │ -00070380: 7661 6c29 0a20 2020 2020 2020 2022 2222 val). """ │ │ │ -00070390: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -000703a0: 5f66 6c74 6b2e 466c 5f54 6572 6d69 6e61 _fltk.Fl_Termina │ │ │ -000703b0: 6c5f 6469 7370 6c61 795f 726f 7773 2873 l_display_rows(s │ │ │ -000703c0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -000703d0: 2064 6566 2064 6973 706c 6179 5f63 6f6c def display_col │ │ │ -000703e0: 756d 6e73 2873 656c 662c 202a 6172 6773 umns(self, *args │ │ │ -000703f0: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ -00070400: 2020 2020 2020 2020 6469 7370 6c61 795f display_ │ │ │ -00070410: 636f 6c75 6d6e 7328 466c 5f54 6572 6d69 columns(Fl_Termi │ │ │ -00070420: 6e61 6c20 7365 6c66 2920 2d3e 2069 6e74 nal self) -> int │ │ │ -00070430: 0a20 2020 2020 2020 2064 6973 706c 6179 . display │ │ │ -00070440: 5f63 6f6c 756d 6e73 2846 6c5f 5465 726d _columns(Fl_Term │ │ │ -00070450: 696e 616c 2073 656c 662c 2069 6e74 2076 inal self, int v │ │ │ -00070460: 616c 290a 2020 2020 2020 2020 2222 220a al). """. │ │ │ -00070470: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00070480: 666c 746b 2e46 6c5f 5465 726d 696e 616c fltk.Fl_Terminal │ │ │ -00070490: 5f64 6973 706c 6179 5f63 6f6c 756d 6e73 _display_columns │ │ │ -000704a0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -000704b0: 2020 2064 6566 2062 6f78 2873 656c 662c def box(self, │ │ │ -000704c0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -000704d0: 2072 2222 220a 2020 2020 2020 2020 626f r""". bo │ │ │ -000704e0: 7828 466c 5f54 6572 6d69 6e61 6c20 7365 x(Fl_Terminal se │ │ │ -000704f0: 6c66 2c20 466c 5f42 6f78 7479 7065 2076 lf, Fl_Boxtype v │ │ │ -00070500: 616c 290a 2020 2020 2020 2020 626f 7828 al). box( │ │ │ -00070510: 466c 5f54 6572 6d69 6e61 6c20 7365 6c66 Fl_Terminal self │ │ │ -00070520: 2920 2d3e 2046 6c5f 426f 7874 7970 650a ) -> Fl_Boxtype. │ │ │ -00070530: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ -00070540: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00070550: 2e46 6c5f 5465 726d 696e 616c 5f62 6f78 .Fl_Terminal_box │ │ │ -00070560: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -00070570: 2020 2064 6566 206d 6172 6769 6e5f 6c65 def margin_le │ │ │ -00070580: 6674 2873 656c 662c 202a 6172 6773 293a ft(self, *args): │ │ │ -00070590: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ -000705a0: 2020 2020 2020 6d61 7267 696e 5f6c 6566 margin_lef │ │ │ -000705b0: 7428 466c 5f54 6572 6d69 6e61 6c20 7365 t(Fl_Terminal se │ │ │ -000705c0: 6c66 2920 2d3e 2069 6e74 0a20 2020 2020 lf) -> int. │ │ │ +0006c590: 5461 626c 6520 7365 6c66 2c20 696e 7420 Table self, int │ │ │ +0006c5a0: 7661 6c29 0a20 2020 2020 2020 2074 6162 val). tab │ │ │ +0006c5b0: 5f63 656c 6c5f 6e61 7628 466c 5f54 6162 _cell_nav(Fl_Tab │ │ │ +0006c5c0: 6c65 2073 656c 6629 202d 3e20 696e 740a le self) -> int. │ │ │ +0006c5d0: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ +0006c5e0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +0006c5f0: 2e46 6c5f 5461 626c 655f 7461 625f 6365 .Fl_Table_tab_ce │ │ │ +0006c600: 6c6c 5f6e 6176 2873 656c 662c 202a 6172 ll_nav(self, *ar │ │ │ +0006c610: 6773 290a 0a20 2020 2064 6566 2069 6e69 gs).. def ini │ │ │ +0006c620: 745f 7479 7065 2873 656c 662c 202a 6172 t_type(self, *ar │ │ │ +0006c630: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +0006c640: 2269 6e69 745f 7479 7065 2846 6c5f 5461 "init_type(Fl_Ta │ │ │ +0006c650: 626c 6520 7365 6c66 2c20 6368 6172 202a ble self, char * │ │ │ +0006c660: 2046 6c5f 5461 626c 6529 2222 220a 2020 Fl_Table)""". │ │ │ +0006c670: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +0006c680: 746b 2e46 6c5f 5461 626c 655f 696e 6974 tk.Fl_Table_init │ │ │ +0006c690: 5f74 7970 6528 7365 6c66 2c20 2a61 7267 _type(self, *arg │ │ │ +0006c6a0: 7329 0a20 2020 2064 6566 205f 5f64 6973 s). def __dis │ │ │ +0006c6b0: 6f77 6e5f 5f28 7365 6c66 293a 0a20 2020 own__(self):. │ │ │ +0006c6c0: 2020 2020 2073 656c 662e 7468 6973 2e64 self.this.d │ │ │ +0006c6d0: 6973 6f77 6e28 290a 2020 2020 2020 2020 isown(). │ │ │ +0006c6e0: 5f66 6c74 6b2e 6469 736f 776e 5f46 6c5f _fltk.disown_Fl_ │ │ │ +0006c6f0: 5461 626c 6528 7365 6c66 290a 2020 2020 Table(self). │ │ │ +0006c700: 2020 2020 7265 7475 726e 2077 6561 6b72 return weakr │ │ │ +0006c710: 6566 2e70 726f 7879 2873 656c 6629 0a0a ef.proxy(self).. │ │ │ +0006c720: 2320 5265 6769 7374 6572 2046 6c5f 5461 # Register Fl_Ta │ │ │ +0006c730: 626c 6520 696e 205f 666c 746b 3a0a 5f66 ble in _fltk:._f │ │ │ +0006c740: 6c74 6b2e 466c 5f54 6162 6c65 5f73 7769 ltk.Fl_Table_swi │ │ │ +0006c750: 6772 6567 6973 7465 7228 466c 5f54 6162 gregister(Fl_Tab │ │ │ +0006c760: 6c65 290a 636c 6173 7320 466c 5f54 6162 le).class Fl_Tab │ │ │ +0006c770: 6c65 5f52 6f77 2846 6c5f 5461 626c 6529 le_Row(Fl_Table) │ │ │ +0006c780: 3a0a 2020 2020 7222 2222 0a0a 2020 2020 :. r""".. │ │ │ +0006c790: 5468 6973 2063 6c61 7373 2069 6d70 6c65 This class imple │ │ │ +0006c7a0: 6d65 6e74 7320 6120 7369 6d70 6c65 2074 ments a simple t │ │ │ +0006c7b0: 6162 6c65 206f 6620 726f 7773 2061 6e64 able of rows and │ │ │ +0006c7c0: 2063 6f6c 756d 6e73 2074 6861 7420 7370 columns that sp │ │ │ +0006c7d0: 6563 6961 6c69 7a65 7320 696e 2074 6865 ecializes in the │ │ │ +0006c7e0: 2073 656c 6563 7469 6f6e 206f 6620 726f selection of ro │ │ │ +0006c7f0: 7773 2e20 5468 6973 2077 6964 6765 7420 ws. This widget │ │ │ +0006c800: 6973 2073 696d 696c 6172 2069 6e20 6265 is similar in be │ │ │ +0006c810: 6861 7669 6f72 2074 6f20 6120 276d 6169 havior to a 'mai │ │ │ +0006c820: 6c20 7375 626a 6563 7420 6272 6f77 7365 l subject browse │ │ │ +0006c830: 7227 2c20 7369 6d69 6c61 7220 746f 2074 r', similar to t │ │ │ +0006c840: 6861 7420 666f 756e 6420 696e 206d 6f7a hat found in moz │ │ │ +0006c850: 696c 6c61 2c20 6e65 7473 6361 7065 2061 illa, netscape a │ │ │ +0006c860: 6e64 206f 7574 6c6f 6f6b 206d 6169 6c20 nd outlook mail │ │ │ +0006c870: 6272 6f77 7365 7273 2e0a 0a20 2020 204d browsers... M │ │ │ +0006c880: 6f73 7420 6d65 7468 6f64 7320 6f66 2069 ost methods of i │ │ │ +0006c890: 6d70 6f72 7461 6e63 6520 7769 6c6c 2062 mportance will b │ │ │ +0006c8a0: 6520 666f 756e 6420 696e 2074 6865 2046 e found in the F │ │ │ +0006c8b0: 6c5f 5461 626c 6520 7769 6467 6574 2c20 l_Table widget, │ │ │ +0006c8c0: 7375 6368 2061 7320 726f 7773 2829 2061 such as rows() a │ │ │ +0006c8d0: 6e64 2063 6f6c 7328 292e 0a0a 2020 2020 nd cols()... │ │ │ +0006c8e0: 546f 2062 6520 7573 6566 756c 2069 7420 To be useful it │ │ │ +0006c8f0: 6d75 7374 2062 6520 7375 6263 6c61 7373 must be subclass │ │ │ +0006c900: 6564 2061 6e64 2061 7420 6d69 6e69 6d75 ed and at minimu │ │ │ +0006c910: 6d20 7468 6520 6472 6177 5f63 656c 6c28 m the draw_cell( │ │ │ +0006c920: 2920 6d65 7468 6f64 206d 7573 7420 6265 ) method must be │ │ │ +0006c930: 206f 7665 7272 6964 6465 6e20 746f 2070 overridden to p │ │ │ +0006c940: 726f 7669 6465 2074 6865 2063 6f6e 7465 rovide the conte │ │ │ +0006c950: 6e74 206f 6620 7468 6520 6365 6c6c 732e nt of the cells. │ │ │ +0006c960: 2054 6869 7320 7769 6467 6574 2064 6f65 This widget doe │ │ │ +0006c970: 7320 6e6f 7420 6d61 6e61 6765 2074 6865 s not manage the │ │ │ +0006c980: 2063 656c 6c27 7320 6461 7461 2063 6f6e cell's data con │ │ │ +0006c990: 7465 6e74 3b20 6974 2069 7320 7570 2074 tent; it is up t │ │ │ +0006c9a0: 6f20 7468 6520 7061 7265 6e74 2063 6c61 o the parent cla │ │ │ +0006c9b0: 7373 2773 2064 7261 775f 6365 6c6c 2829 ss's draw_cell() │ │ │ +0006c9c0: 206d 6574 686f 6420 6f76 6572 7269 6465 method override │ │ │ +0006c9d0: 2074 6f20 7072 6f76 6964 6520 7468 6973 to provide this │ │ │ +0006c9e0: 2e0a 0a20 2020 2045 7665 6e74 7320 6f6e ... Events on │ │ │ +0006c9f0: 2074 6865 2063 656c 6c73 2061 6e64 2f6f the cells and/o │ │ │ +0006ca00: 7220 6865 6164 696e 6773 2067 656e 6572 r headings gener │ │ │ +0006ca10: 6174 6520 6361 6c6c 6261 636b 7320 7768 ate callbacks wh │ │ │ +0006ca20: 656e 2074 6865 7920 6172 6520 636c 6963 en they are clic │ │ │ +0006ca30: 6b65 6420 6279 2074 6865 2075 7365 722e ked by the user. │ │ │ +0006ca40: 2059 6f75 2063 6f6e 7472 6f6c 2077 6865 You control whe │ │ │ +0006ca50: 6e20 6576 656e 7473 2061 7265 2067 656e n events are gen │ │ │ +0006ca60: 6572 6174 6564 2062 6173 6564 206f 6e20 erated based on │ │ │ +0006ca70: 7468 6520 7661 6c75 6573 2079 6f75 2073 the values you s │ │ │ +0006ca80: 7570 706c 7920 666f 7220 7768 656e 2829 upply for when() │ │ │ +0006ca90: 2e20 0a0a 2020 2020 2222 220a 0a20 2020 . .. """.. │ │ │ +0006caa0: 2074 6869 736f 776e 203d 2070 726f 7065 thisown = prope │ │ │ +0006cab0: 7274 7928 6c61 6d62 6461 2078 3a20 782e rty(lambda x: x. │ │ │ +0006cac0: 7468 6973 2e6f 776e 2829 2c20 6c61 6d62 this.own(), lamb │ │ │ +0006cad0: 6461 2078 2c20 763a 2078 2e74 6869 732e da x, v: x.this. │ │ │ +0006cae0: 6f77 6e28 7629 2c20 646f 633d 2254 6865 own(v), doc="The │ │ │ +0006caf0: 206d 656d 6265 7273 6869 7020 666c 6167 membership flag │ │ │ +0006cb00: 2229 0a20 2020 205f 5f72 6570 725f 5f20 "). __repr__ │ │ │ +0006cb10: 3d20 5f73 7769 675f 7265 7072 0a20 2020 = _swig_repr. │ │ │ +0006cb20: 2053 454c 4543 545f 4e4f 4e45 203d 205f SELECT_NONE = _ │ │ │ +0006cb30: 666c 746b 2e46 6c5f 5461 626c 655f 526f fltk.Fl_Table_Ro │ │ │ +0006cb40: 775f 5345 4c45 4354 5f4e 4f4e 450a 2020 w_SELECT_NONE. │ │ │ +0006cb50: 2020 0a20 2020 2053 454c 4543 545f 5349 . SELECT_SI │ │ │ +0006cb60: 4e47 4c45 203d 205f 666c 746b 2e46 6c5f NGLE = _fltk.Fl_ │ │ │ +0006cb70: 5461 626c 655f 526f 775f 5345 4c45 4354 Table_Row_SELECT │ │ │ +0006cb80: 5f53 494e 474c 450a 2020 2020 0a20 2020 _SINGLE. . │ │ │ +0006cb90: 2053 454c 4543 545f 4d55 4c54 4920 3d20 SELECT_MULTI = │ │ │ +0006cba0: 5f66 6c74 6b2e 466c 5f54 6162 6c65 5f52 _fltk.Fl_Table_R │ │ │ +0006cbb0: 6f77 5f53 454c 4543 545f 4d55 4c54 490a ow_SELECT_MULTI. │ │ │ +0006cbc0: 2020 2020 0a0a 2020 2020 6465 6620 6861 .. def ha │ │ │ +0006cbd0: 6e64 6c65 2873 656c 662c 202a 6172 6773 ndle(self, *args │ │ │ +0006cbe0: 293a 0a20 2020 2020 2020 2072 2222 2268 ):. r"""h │ │ │ +0006cbf0: 616e 646c 6528 466c 5f54 6162 6c65 5f52 andle(Fl_Table_R │ │ │ +0006cc00: 6f77 2073 656c 662c 2069 6e74 2065 7665 ow self, int eve │ │ │ +0006cc10: 6e74 2920 2d3e 2069 6e74 2222 220a 2020 nt) -> int""". │ │ │ +0006cc20: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +0006cc30: 746b 2e46 6c5f 5461 626c 655f 526f 775f tk.Fl_Table_Row_ │ │ │ +0006cc40: 6861 6e64 6c65 2873 656c 662c 202a 6172 handle(self, *ar │ │ │ +0006cc50: 6773 290a 0a20 2020 2064 6566 205f 5f69 gs).. def __i │ │ │ +0006cc60: 6e69 745f 5f28 7365 6c66 2c20 2a61 7267 nit__(self, *arg │ │ │ +0006cc70: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +0006cc80: 5f5f 696e 6974 5f5f 2846 6c5f 5461 626c __init__(Fl_Tabl │ │ │ +0006cc90: 655f 526f 7720 7365 6c66 2c20 696e 7420 e_Row self, int │ │ │ +0006cca0: 582c 2069 6e74 2059 2c20 696e 7420 572c X, int Y, int W, │ │ │ +0006ccb0: 2069 6e74 2048 2c20 6368 6172 2063 6f6e int H, char con │ │ │ +0006ccc0: 7374 202a 206c 3d4e 6f6e 6529 202d 3e20 st * l=None) -> │ │ │ +0006ccd0: 466c 5f54 6162 6c65 5f52 6f77 2222 220a Fl_Table_Row""". │ │ │ +0006cce0: 2020 2020 2020 2020 6966 2073 656c 662e if self. │ │ │ +0006ccf0: 5f5f 636c 6173 735f 5f20 3d3d 2046 6c5f __class__ == Fl_ │ │ │ +0006cd00: 5461 626c 655f 526f 773a 0a20 2020 2020 Table_Row:. │ │ │ +0006cd10: 2020 2020 2020 205f 7365 6c66 203d 204e _self = N │ │ │ +0006cd20: 6f6e 650a 2020 2020 2020 2020 656c 7365 one. else │ │ │ +0006cd30: 3a0a 2020 2020 2020 2020 2020 2020 5f73 :. _s │ │ │ +0006cd40: 656c 6620 3d20 7365 6c66 0a20 2020 2020 elf = self. │ │ │ +0006cd50: 2020 205f 666c 746b 2e46 6c5f 5461 626c _fltk.Fl_Tabl │ │ │ +0006cd60: 655f 526f 775f 7377 6967 696e 6974 2873 e_Row_swiginit(s │ │ │ +0006cd70: 656c 662c 205f 666c 746b 2e6e 6577 5f46 elf, _fltk.new_F │ │ │ +0006cd80: 6c5f 5461 626c 655f 526f 7728 5f73 656c l_Table_Row(_sel │ │ │ +0006cd90: 662c 202a 6172 6773 2929 0a0a 2020 2020 f, *args)).. │ │ │ +0006cda0: 2020 2020 6966 206c 656e 2861 7267 7329 if len(args) │ │ │ +0006cdb0: 203d 3d20 353a 2020 2020 2020 2020 2020 == 5: │ │ │ +0006cdc0: 0a20 2020 2020 2020 2023 7265 7461 696e . #retain │ │ │ +0006cdd0: 2072 6566 6572 656e 6365 2074 6f20 6c61 reference to la │ │ │ +0006cde0: 6265 6c0a 2020 2020 2020 2020 2020 2020 bel. │ │ │ +0006cdf0: 7365 6c66 2e6d 795f 6c61 6265 6c20 3d20 self.my_label = │ │ │ +0006ce00: 6172 6773 5b2d 315d 0a20 2020 2020 2020 args[-1]. │ │ │ +0006ce10: 2069 6620 7365 6c66 2e70 6172 656e 7428 if self.parent( │ │ │ +0006ce20: 2920 213d 204e 6f6e 653a 2020 200a 2020 ) != None: . │ │ │ +0006ce30: 2020 2020 2020 2364 656c 6567 6174 6520 #delegate │ │ │ +0006ce40: 6f77 6e65 7273 6869 7020 746f 2043 2b2b ownership to C++ │ │ │ +0006ce50: 0a20 2020 2020 2020 2020 2020 2073 656c . sel │ │ │ +0006ce60: 662e 7468 6973 2e64 6973 6f77 6e28 290a f.this.disown(). │ │ │ +0006ce70: 2020 2020 2020 2020 7365 6c66 2e69 6e69 self.ini │ │ │ +0006ce80: 745f 7479 7065 2822 466c 5f54 6162 6c65 t_type("Fl_Table │ │ │ +0006ce90: 5f52 6f77 2229 0a20 2020 2020 2020 2023 _Row"). # │ │ │ +0006cea0: 7072 696e 7428 2241 6464 696e 6720 7479 print("Adding ty │ │ │ +0006ceb0: 7065 3a20 222c 2046 6c5f 5461 626c 655f pe: ", Fl_Table_ │ │ │ +0006cec0: 526f 7729 0a0a 0a0a 2020 2020 5f5f 7377 Row).... __sw │ │ │ +0006ced0: 6967 5f64 6573 7472 6f79 5f5f 203d 205f ig_destroy__ = _ │ │ │ +0006cee0: 666c 746b 2e64 656c 6574 655f 466c 5f54 fltk.delete_Fl_T │ │ │ +0006cef0: 6162 6c65 5f52 6f77 0a0a 2020 2020 6465 able_Row.. de │ │ │ +0006cf00: 6620 726f 7773 2873 656c 662c 202a 6172 f rows(self, *ar │ │ │ +0006cf10: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +0006cf20: 220a 2020 2020 2020 2020 726f 7773 2846 ". rows(F │ │ │ +0006cf30: 6c5f 5461 626c 655f 526f 7720 7365 6c66 l_Table_Row self │ │ │ +0006cf40: 2c20 696e 7420 7661 6c29 0a20 2020 2020 , int val). │ │ │ +0006cf50: 2020 2072 6f77 7328 466c 5f54 6162 6c65 rows(Fl_Table │ │ │ +0006cf60: 5f52 6f77 2073 656c 6629 202d 3e20 696e _Row self) -> in │ │ │ +0006cf70: 740a 2020 2020 2020 2020 2222 220a 2020 t. """. │ │ │ +0006cf80: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +0006cf90: 746b 2e46 6c5f 5461 626c 655f 526f 775f tk.Fl_Table_Row_ │ │ │ +0006cfa0: 726f 7773 2873 656c 662c 202a 6172 6773 rows(self, *args │ │ │ +0006cfb0: 290a 0a20 2020 2064 6566 2074 7970 6528 ).. def type( │ │ │ +0006cfc0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +0006cfd0: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ +0006cfe0: 2020 2074 7970 6528 466c 5f54 6162 6c65 type(Fl_Table │ │ │ +0006cff0: 5f52 6f77 2073 656c 662c 2046 6c5f 5461 _Row self, Fl_Ta │ │ │ +0006d000: 626c 655f 526f 773a 3a54 6162 6c65 526f ble_Row::TableRo │ │ │ +0006d010: 7753 656c 6563 744d 6f64 6520 7661 6c29 wSelectMode val) │ │ │ +0006d020: 0a20 2020 2020 2020 2074 7970 6528 466c . type(Fl │ │ │ +0006d030: 5f54 6162 6c65 5f52 6f77 2073 656c 6629 _Table_Row self) │ │ │ +0006d040: 202d 3e20 466c 5f54 6162 6c65 5f52 6f77 -> Fl_Table_Row │ │ │ +0006d050: 3a3a 5461 626c 6552 6f77 5365 6c65 6374 ::TableRowSelect │ │ │ +0006d060: 4d6f 6465 0a20 2020 2020 2020 2022 2222 Mode. """ │ │ │ +0006d070: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +0006d080: 5f66 6c74 6b2e 466c 5f54 6162 6c65 5f52 _fltk.Fl_Table_R │ │ │ +0006d090: 6f77 5f74 7970 6528 7365 6c66 2c20 2a61 ow_type(self, *a │ │ │ +0006d0a0: 7267 7329 0a0a 2020 2020 6465 6620 726f rgs).. def ro │ │ │ +0006d0b0: 775f 7365 6c65 6374 6564 2873 656c 662c w_selected(self, │ │ │ +0006d0c0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +0006d0d0: 2072 2222 2272 6f77 5f73 656c 6563 7465 r"""row_selecte │ │ │ +0006d0e0: 6428 466c 5f54 6162 6c65 5f52 6f77 2073 d(Fl_Table_Row s │ │ │ +0006d0f0: 656c 662c 2069 6e74 2072 6f77 2920 2d3e elf, int row) -> │ │ │ +0006d100: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ +0006d110: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +0006d120: 5461 626c 655f 526f 775f 726f 775f 7365 Table_Row_row_se │ │ │ +0006d130: 6c65 6374 6564 2873 656c 662c 202a 6172 lected(self, *ar │ │ │ +0006d140: 6773 290a 0a20 2020 2064 6566 2073 656c gs).. def sel │ │ │ +0006d150: 6563 745f 726f 7728 7365 6c66 2c20 2a61 ect_row(self, *a │ │ │ +0006d160: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0006d170: 2222 7365 6c65 6374 5f72 6f77 2846 6c5f ""select_row(Fl_ │ │ │ +0006d180: 5461 626c 655f 526f 7720 7365 6c66 2c20 Table_Row self, │ │ │ +0006d190: 696e 7420 726f 772c 2069 6e74 2066 6c61 int row, int fla │ │ │ +0006d1a0: 673d 3129 202d 3e20 696e 7422 2222 0a20 g=1) -> int""". │ │ │ +0006d1b0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +0006d1c0: 6c74 6b2e 466c 5f54 6162 6c65 5f52 6f77 ltk.Fl_Table_Row │ │ │ +0006d1d0: 5f73 656c 6563 745f 726f 7728 7365 6c66 _select_row(self │ │ │ +0006d1e0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +0006d1f0: 6620 7365 6c65 6374 5f61 6c6c 5f72 6f77 f select_all_row │ │ │ +0006d200: 7328 7365 6c66 2c20 2a61 7267 7329 3a0a s(self, *args):. │ │ │ +0006d210: 2020 2020 2020 2020 7222 2222 7365 6c65 r"""sele │ │ │ +0006d220: 6374 5f61 6c6c 5f72 6f77 7328 466c 5f54 ct_all_rows(Fl_T │ │ │ +0006d230: 6162 6c65 5f52 6f77 2073 656c 662c 2069 able_Row self, i │ │ │ +0006d240: 6e74 2066 6c61 673d 3129 2222 220a 2020 nt flag=1)""". │ │ │ +0006d250: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +0006d260: 746b 2e46 6c5f 5461 626c 655f 526f 775f tk.Fl_Table_Row_ │ │ │ +0006d270: 7365 6c65 6374 5f61 6c6c 5f72 6f77 7328 select_all_rows( │ │ │ +0006d280: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +0006d290: 2020 6465 6620 636c 6561 7228 7365 6c66 def clear(self │ │ │ +0006d2a0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +0006d2b0: 2020 7222 2222 636c 6561 7228 466c 5f54 r"""clear(Fl_T │ │ │ +0006d2c0: 6162 6c65 5f52 6f77 2073 656c 6629 2222 able_Row self)"" │ │ │ +0006d2d0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0006d2e0: 205f 666c 746b 2e46 6c5f 5461 626c 655f _fltk.Fl_Table_ │ │ │ +0006d2f0: 526f 775f 636c 6561 7228 7365 6c66 2c20 Row_clear(self, │ │ │ +0006d300: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +0006d310: 696e 6974 5f74 7970 6528 7365 6c66 2c20 init_type(self, │ │ │ +0006d320: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +0006d330: 7222 2222 696e 6974 5f74 7970 6528 466c r"""init_type(Fl │ │ │ +0006d340: 5f54 6162 6c65 5f52 6f77 2073 656c 662c _Table_Row self, │ │ │ +0006d350: 2063 6861 7220 2a20 466c 5f54 6162 6c65 char * Fl_Table │ │ │ +0006d360: 5f52 6f77 2922 2222 0a20 2020 2020 2020 _Row)""". │ │ │ +0006d370: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +0006d380: 5f54 6162 6c65 5f52 6f77 5f69 6e69 745f _Table_Row_init_ │ │ │ +0006d390: 7479 7065 2873 656c 662c 202a 6172 6773 type(self, *args │ │ │ +0006d3a0: 290a 2020 2020 6465 6620 5f5f 6469 736f ). def __diso │ │ │ +0006d3b0: 776e 5f5f 2873 656c 6629 3a0a 2020 2020 wn__(self):. │ │ │ +0006d3c0: 2020 2020 7365 6c66 2e74 6869 732e 6469 self.this.di │ │ │ +0006d3d0: 736f 776e 2829 0a20 2020 2020 2020 205f sown(). _ │ │ │ +0006d3e0: 666c 746b 2e64 6973 6f77 6e5f 466c 5f54 fltk.disown_Fl_T │ │ │ +0006d3f0: 6162 6c65 5f52 6f77 2873 656c 6629 0a20 able_Row(self). │ │ │ +0006d400: 2020 2020 2020 2072 6574 7572 6e20 7765 return we │ │ │ +0006d410: 616b 7265 662e 7072 6f78 7928 7365 6c66 akref.proxy(self │ │ │ +0006d420: 290a 0a20 2020 2064 6566 2064 7261 7728 ).. def draw( │ │ │ +0006d430: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +0006d440: 2020 2020 2020 7222 2222 6472 6177 2846 r"""draw(F │ │ │ +0006d450: 6c5f 5461 626c 655f 526f 7720 7365 6c66 l_Table_Row self │ │ │ +0006d460: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ +0006d470: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6162 urn _fltk.Fl_Tab │ │ │ +0006d480: 6c65 5f52 6f77 5f64 7261 7728 7365 6c66 le_Row_draw(self │ │ │ +0006d490: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +0006d4a0: 6620 6472 6177 5f63 656c 6c28 7365 6c66 f draw_cell(self │ │ │ +0006d4b0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +0006d4c0: 2020 7222 2222 6472 6177 5f63 656c 6c28 r"""draw_cell( │ │ │ +0006d4d0: 466c 5f54 6162 6c65 5f52 6f77 2073 656c Fl_Table_Row sel │ │ │ +0006d4e0: 662c 2046 6c5f 5461 626c 653a 3a54 6162 f, Fl_Table::Tab │ │ │ +0006d4f0: 6c65 436f 6e74 6578 7420 636f 6e74 6578 leContext contex │ │ │ +0006d500: 742c 2069 6e74 2052 3d30 2c20 696e 7420 t, int R=0, int │ │ │ +0006d510: 433d 302c 2069 6e74 2058 3d30 2c20 696e C=0, int X=0, in │ │ │ +0006d520: 7420 593d 302c 2069 6e74 2057 3d30 2c20 t Y=0, int W=0, │ │ │ +0006d530: 696e 7420 483d 3029 2222 220a 2020 2020 int H=0)""". │ │ │ +0006d540: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +0006d550: 2e46 6c5f 5461 626c 655f 526f 775f 6472 .Fl_Table_Row_dr │ │ │ +0006d560: 6177 5f63 656c 6c28 7365 6c66 2c20 2a61 aw_cell(self, *a │ │ │ +0006d570: 7267 7329 0a0a 2320 5265 6769 7374 6572 rgs)..# Register │ │ │ +0006d580: 2046 6c5f 5461 626c 655f 526f 7720 696e Fl_Table_Row in │ │ │ +0006d590: 205f 666c 746b 3a0a 5f66 6c74 6b2e 466c _fltk:._fltk.Fl │ │ │ +0006d5a0: 5f54 6162 6c65 5f52 6f77 5f73 7769 6772 _Table_Row_swigr │ │ │ +0006d5b0: 6567 6973 7465 7228 466c 5f54 6162 6c65 egister(Fl_Table │ │ │ +0006d5c0: 5f52 6f77 290a 636c 6173 7320 466c 5f54 _Row).class Fl_T │ │ │ +0006d5d0: 6162 7328 466c 5f47 726f 7570 293a 0a20 abs(Fl_Group):. │ │ │ +0006d5e0: 2020 2072 2222 220a 0a20 2020 2054 6865 r""".. The │ │ │ +0006d5f0: 2046 6c5f 5461 6273 2077 6964 6765 7420 Fl_Tabs widget │ │ │ +0006d600: 6973 2074 6865 2027 6669 6c65 2063 6172 is the 'file car │ │ │ +0006d610: 6420 7461 6273 2720 696e 7465 7266 6163 d tabs' interfac │ │ │ +0006d620: 6520 7468 6174 2061 6c6c 6f77 7320 796f e that allows yo │ │ │ +0006d630: 7520 746f 200a 2020 2020 7075 7420 6c6f u to . put lo │ │ │ +0006d640: 7473 2061 6e64 206c 6f74 7320 6f66 2062 ts and lots of b │ │ │ +0006d650: 7574 746f 6e73 2061 6e64 2073 7769 7463 uttons and switc │ │ │ +0006d660: 6865 7320 696e 2061 2070 616e 656c 2c20 hes in a panel, │ │ │ +0006d670: 6173 2070 6f70 756c 6172 697a 6564 2062 as popularized b │ │ │ +0006d680: 7920 0a20 2020 206d 616e 7920 746f 6f6c y . many tool │ │ │ +0006d690: 6b69 7473 2e0a 0a20 2020 2043 6c69 636b kits... Click │ │ │ +0006d6a0: 696e 6720 7468 6520 7461 6220 6d61 6b65 ing the tab make │ │ │ +0006d6b0: 7320 6120 6368 696c 6420 7669 7369 626c s a child visibl │ │ │ +0006d6c0: 6528 2920 6279 2063 616c 6c69 6e67 2073 e() by calling s │ │ │ +0006d6d0: 686f 7728 2920 6f6e 2069 742c 2061 6e64 how() on it, and │ │ │ +0006d6e0: 200a 2020 2020 616c 6c20 6f74 6865 7220 . all other │ │ │ +0006d6f0: 6368 696c 6472 656e 2061 7265 206d 6164 children are mad │ │ │ +0006d700: 6520 696e 7669 7369 626c 6520 6279 2063 e invisible by c │ │ │ +0006d710: 616c 6c69 6e67 2068 6964 6528 2920 6f6e alling hide() on │ │ │ +0006d720: 2074 6865 6d2e 2055 7375 616c 6c79 200a them. Usually . │ │ │ +0006d730: 2020 2020 7468 6520 6368 696c 6472 656e the children │ │ │ +0006d740: 2061 7265 2046 6c5f 4772 6f75 7020 7769 are Fl_Group wi │ │ │ +0006d750: 6467 6574 7320 636f 6e74 6169 6e69 6e67 dgets containing │ │ │ +0006d760: 2073 6576 6572 616c 2077 6964 6765 7473 several widgets │ │ │ +0006d770: 2074 6865 6d73 656c 7665 732e 0a0a 2020 themselves... │ │ │ +0006d780: 2020 4561 6368 2063 6869 6c64 206d 616b Each child mak │ │ │ +0006d790: 6573 2061 2063 6172 642c 2061 6e64 2069 es a card, and i │ │ │ +0006d7a0: 7427 7320 6c61 6265 6c28 2920 6973 2070 t's label() is p │ │ │ +0006d7b0: 7269 6e74 6564 206f 6e20 7468 6520 6361 rinted on the ca │ │ │ +0006d7c0: 7264 2074 6162 2c20 0a20 2020 2069 6e63 rd tab, . inc │ │ │ +0006d7d0: 6c75 6469 6e67 2074 6865 206c 6162 656c luding the label │ │ │ +0006d7e0: 2066 6f6e 7420 616e 6420 7374 796c 652e font and style. │ │ │ +0006d7f0: 2054 6865 2073 656c 6563 7469 6f6e 2063 The selection c │ │ │ +0006d800: 6f6c 6f72 206f 6620 7468 6174 2063 6869 olor of that chi │ │ │ +0006d810: 6c64 200a 2020 2020 6973 2075 7365 6420 ld . is used │ │ │ +0006d820: 746f 2063 6f6c 6f72 2074 6865 2074 6162 to color the tab │ │ │ +0006d830: 2c20 7768 696c 6520 7468 6520 636f 6c6f , while the colo │ │ │ +0006d840: 7220 6f66 2074 6865 2063 6869 6c64 2064 r of the child d │ │ │ +0006d850: 6574 6572 6d69 6e65 7320 7468 6520 0a20 etermines the . │ │ │ +0006d860: 2020 2062 6163 6b67 726f 756e 6420 636f background co │ │ │ +0006d870: 6c6f 7220 6f66 2074 6865 2070 616e 652e lor of the pane. │ │ │ +0006d880: 0a0a 2020 2020 5468 6520 7369 7a65 206f .. The size o │ │ │ +0006d890: 6620 7468 6520 7461 6273 2069 7320 636f f the tabs is co │ │ │ +0006d8a0: 6e74 726f 6c6c 6564 2062 7920 7468 6520 ntrolled by the │ │ │ +0006d8b0: 626f 756e 6469 6e67 2062 6f78 206f 6620 bounding box of │ │ │ +0006d8c0: 7468 6520 6368 696c 6472 656e 200a 2020 the children . │ │ │ +0006d8d0: 2020 2874 6865 7265 2073 686f 756c 6420 (there should │ │ │ +0006d8e0: 6265 2073 6f6d 6520 7370 6163 6520 6265 be some space be │ │ │ +0006d8f0: 7477 6565 6e20 7468 6520 6368 696c 6472 tween the childr │ │ │ +0006d900: 656e 2061 6e64 2074 6865 2065 6467 6520 en and the edge │ │ │ +0006d910: 6f66 2074 6865 2046 6c5f 5461 6273 292c of the Fl_Tabs), │ │ │ +0006d920: 200a 2020 2020 616e 6420 7468 6520 7461 . and the ta │ │ │ +0006d930: 6273 206d 6179 2062 6520 706c 6163 6564 bs may be placed │ │ │ +0006d940: 2027 696e 7665 7274 6564 2720 6f6e 2074 'inverted' on t │ │ │ +0006d950: 6865 2062 6f74 746f 6d2c 2074 6869 7320 he bottom, this │ │ │ +0006d960: 6973 2064 6574 6572 6d69 6e65 6420 0a20 is determined . │ │ │ +0006d970: 2020 2062 7920 7768 6963 6820 6761 7020 by which gap │ │ │ +0006d980: 6973 206c 6172 6765 722e 2049 7420 6973 is larger. It is │ │ │ +0006d990: 2065 6173 6965 7374 2074 6f20 6c61 7920 easiest to lay │ │ │ +0006d9a0: 7468 6973 206f 7574 2069 6e20 666c 7569 this out in flui │ │ │ +0006d9b0: 642c 2075 7369 6e67 2074 6865 200a 2020 d, using the . │ │ │ +0006d9c0: 2020 666c 7569 6420 6272 6f77 7365 7220 fluid browser │ │ │ +0006d9d0: 746f 2073 656c 6563 7420 6561 6368 2063 to select each c │ │ │ +0006d9e0: 6869 6c64 2067 726f 7570 2061 6e64 2072 hild group and r │ │ │ +0006d9f0: 6573 697a 6520 7468 656d 2075 6e74 696c esize them until │ │ │ +0006da00: 2074 6865 2074 6162 7320 0a20 2020 206c the tabs . l │ │ │ +0006da10: 6f6f 6b20 7468 6520 7761 7920 796f 7520 ook the way you │ │ │ +0006da20: 7761 6e74 2074 6865 6d20 746f 2e20 0a0a want them to. .. │ │ │ +0006da30: 2020 2020 2222 220a 0a20 2020 2074 6869 """.. thi │ │ │ +0006da40: 736f 776e 203d 2070 726f 7065 7274 7928 sown = property( │ │ │ +0006da50: 6c61 6d62 6461 2078 3a20 782e 7468 6973 lambda x: x.this │ │ │ +0006da60: 2e6f 776e 2829 2c20 6c61 6d62 6461 2078 .own(), lambda x │ │ │ +0006da70: 2c20 763a 2078 2e74 6869 732e 6f77 6e28 , v: x.this.own( │ │ │ +0006da80: 7629 2c20 646f 633d 2254 6865 206d 656d v), doc="The mem │ │ │ +0006da90: 6265 7273 6869 7020 666c 6167 2229 0a20 bership flag"). │ │ │ +0006daa0: 2020 205f 5f72 6570 725f 5f20 3d20 5f73 __repr__ = _s │ │ │ +0006dab0: 7769 675f 7265 7072 0a0a 2020 2020 6465 wig_repr.. de │ │ │ +0006dac0: 6620 7265 6472 6177 5f74 6162 7328 7365 f redraw_tabs(se │ │ │ +0006dad0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +0006dae0: 2020 2020 7222 2222 7265 6472 6177 5f74 r"""redraw_t │ │ │ +0006daf0: 6162 7328 466c 5f54 6162 7320 7365 6c66 abs(Fl_Tabs self │ │ │ +0006db00: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ +0006db10: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6162 urn _fltk.Fl_Tab │ │ │ +0006db20: 735f 7265 6472 6177 5f74 6162 7328 7365 s_redraw_tabs(se │ │ │ +0006db30: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +0006db40: 6465 6620 7461 625f 706f 7369 7469 6f6e def tab_position │ │ │ +0006db50: 7328 7365 6c66 2c20 2a61 7267 7329 3a0a s(self, *args):. │ │ │ +0006db60: 2020 2020 2020 2020 7222 2222 7461 625f r"""tab_ │ │ │ +0006db70: 706f 7369 7469 6f6e 7328 466c 5f54 6162 positions(Fl_Tab │ │ │ +0006db80: 7320 7365 6c66 2920 2d3e 2069 6e74 2222 s self) -> int"" │ │ │ +0006db90: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0006dba0: 205f 666c 746b 2e46 6c5f 5461 6273 5f74 _fltk.Fl_Tabs_t │ │ │ +0006dbb0: 6162 5f70 6f73 6974 696f 6e73 2873 656c ab_positions(sel │ │ │ +0006dbc0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +0006dbd0: 6566 2063 6c65 6172 5f74 6162 5f70 6f73 ef clear_tab_pos │ │ │ +0006dbe0: 6974 696f 6e73 2873 656c 662c 202a 6172 itions(self, *ar │ │ │ +0006dbf0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +0006dc00: 2263 6c65 6172 5f74 6162 5f70 6f73 6974 "clear_tab_posit │ │ │ +0006dc10: 696f 6e73 2846 6c5f 5461 6273 2073 656c ions(Fl_Tabs sel │ │ │ +0006dc20: 6629 2222 220a 2020 2020 2020 2020 7265 f)""". re │ │ │ +0006dc30: 7475 726e 205f 666c 746b 2e46 6c5f 5461 turn _fltk.Fl_Ta │ │ │ +0006dc40: 6273 5f63 6c65 6172 5f74 6162 5f70 6f73 bs_clear_tab_pos │ │ │ +0006dc50: 6974 696f 6e73 2873 656c 662c 202a 6172 itions(self, *ar │ │ │ +0006dc60: 6773 290a 0a20 2020 2064 6566 2064 7261 gs).. def dra │ │ │ +0006dc70: 775f 7461 6228 7365 6c66 2c20 2a61 7267 w_tab(self, *arg │ │ │ +0006dc80: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +0006dc90: 6472 6177 5f74 6162 2846 6c5f 5461 6273 draw_tab(Fl_Tabs │ │ │ +0006dca0: 2073 656c 662c 2069 6e74 2078 312c 2069 self, int x1, i │ │ │ +0006dcb0: 6e74 2078 322c 2069 6e74 2057 2c20 696e nt x2, int W, in │ │ │ +0006dcc0: 7420 482c 2046 6c5f 5769 6467 6574 206f t H, Fl_Widget o │ │ │ +0006dcd0: 2c20 696e 7420 666c 6167 732c 2069 6e74 , int flags, int │ │ │ +0006dce0: 2073 656c 2922 2222 0a20 2020 2020 2020 sel)""". │ │ │ +0006dcf0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +0006dd00: 5f54 6162 735f 6472 6177 5f74 6162 2873 _Tabs_draw_tab(s │ │ │ +0006dd10: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +0006dd20: 2064 6566 2074 6162 5f68 6569 6768 7428 def tab_height( │ │ │ +0006dd30: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +0006dd40: 2020 2020 2020 7222 2222 7461 625f 6865 r"""tab_he │ │ │ +0006dd50: 6967 6874 2846 6c5f 5461 6273 2073 656c ight(Fl_Tabs sel │ │ │ +0006dd60: 6629 202d 3e20 696e 7422 2222 0a20 2020 f) -> int""". │ │ │ +0006dd70: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +0006dd80: 6b2e 466c 5f54 6162 735f 7461 625f 6865 k.Fl_Tabs_tab_he │ │ │ +0006dd90: 6967 6874 2873 656c 662c 202a 6172 6773 ight(self, *args │ │ │ +0006dda0: 290a 0a20 2020 2064 6566 2068 6974 5f63 ).. def hit_c │ │ │ +0006ddb0: 6c6f 7365 2873 656c 662c 202a 6172 6773 lose(self, *args │ │ │ +0006ddc0: 293a 0a20 2020 2020 2020 2072 2222 2268 ):. r"""h │ │ │ +0006ddd0: 6974 5f63 6c6f 7365 2846 6c5f 5461 6273 it_close(Fl_Tabs │ │ │ +0006dde0: 2073 656c 662c 2046 6c5f 5769 6467 6574 self, Fl_Widget │ │ │ +0006ddf0: 206f 2c20 696e 7420 6576 656e 745f 782c o, int event_x, │ │ │ +0006de00: 2069 6e74 2065 7665 6e74 5f79 2920 2d3e int event_y) -> │ │ │ +0006de10: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ +0006de20: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +0006de30: 5461 6273 5f68 6974 5f63 6c6f 7365 2873 Tabs_hit_close(s │ │ │ +0006de40: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +0006de50: 2064 6566 2068 6974 5f6f 7665 7266 6c6f def hit_overflo │ │ │ +0006de60: 775f 6d65 6e75 2873 656c 662c 202a 6172 w_menu(self, *ar │ │ │ +0006de70: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +0006de80: 2268 6974 5f6f 7665 7266 6c6f 775f 6d65 "hit_overflow_me │ │ │ +0006de90: 6e75 2846 6c5f 5461 6273 2073 656c 662c nu(Fl_Tabs self, │ │ │ +0006dea0: 2069 6e74 2065 7665 6e74 5f78 2c20 696e int event_x, in │ │ │ +0006deb0: 7420 6576 656e 745f 7929 202d 3e20 696e t event_y) -> in │ │ │ +0006dec0: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ +0006ded0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6162 urn _fltk.Fl_Tab │ │ │ +0006dee0: 735f 6869 745f 6f76 6572 666c 6f77 5f6d s_hit_overflow_m │ │ │ +0006def0: 656e 7528 7365 6c66 2c20 2a61 7267 7329 enu(self, *args) │ │ │ +0006df00: 0a0a 2020 2020 6465 6620 6869 745f 7461 .. def hit_ta │ │ │ +0006df10: 6273 5f61 7265 6128 7365 6c66 2c20 2a61 bs_area(self, *a │ │ │ +0006df20: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0006df30: 2222 6869 745f 7461 6273 5f61 7265 6128 ""hit_tabs_area( │ │ │ +0006df40: 466c 5f54 6162 7320 7365 6c66 2c20 696e Fl_Tabs self, in │ │ │ +0006df50: 7420 6576 656e 745f 782c 2069 6e74 2065 t event_x, int e │ │ │ +0006df60: 7665 6e74 5f79 2920 2d3e 2069 6e74 2222 vent_y) -> int"" │ │ │ +0006df70: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0006df80: 205f 666c 746b 2e46 6c5f 5461 6273 5f68 _fltk.Fl_Tabs_h │ │ │ +0006df90: 6974 5f74 6162 735f 6172 6561 2873 656c it_tabs_area(sel │ │ │ +0006dfa0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +0006dfb0: 6566 2064 7261 7728 7365 6c66 2c20 2a61 ef draw(self, *a │ │ │ +0006dfc0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0006dfd0: 2222 6472 6177 2846 6c5f 5461 6273 2073 ""draw(Fl_Tabs s │ │ │ +0006dfe0: 656c 6629 2222 220a 2020 2020 2020 2020 elf)""". │ │ │ +0006dff0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +0006e000: 5461 6273 5f64 7261 7728 7365 6c66 2c20 Tabs_draw(self, │ │ │ +0006e010: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +0006e020: 5f5f 696e 6974 5f5f 2873 656c 662c 202a __init__(self, * │ │ │ +0006e030: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +0006e040: 2222 225f 5f69 6e69 745f 5f28 466c 5f54 """__init__(Fl_T │ │ │ +0006e050: 6162 7320 7365 6c66 2c20 696e 7420 582c abs self, int X, │ │ │ +0006e060: 2069 6e74 2059 2c20 696e 7420 572c 2069 int Y, int W, i │ │ │ +0006e070: 6e74 2048 2c20 6368 6172 2063 6f6e 7374 nt H, char const │ │ │ +0006e080: 202a 204c 3d4e 6f6e 6529 202d 3e20 466c * L=None) -> Fl │ │ │ +0006e090: 5f54 6162 7322 2222 0a20 2020 2020 2020 _Tabs""". │ │ │ +0006e0a0: 2069 6620 7365 6c66 2e5f 5f63 6c61 7373 if self.__class │ │ │ +0006e0b0: 5f5f 203d 3d20 466c 5f54 6162 733a 0a20 __ == Fl_Tabs:. │ │ │ +0006e0c0: 2020 2020 2020 2020 2020 205f 7365 6c66 _self │ │ │ +0006e0d0: 203d 204e 6f6e 650a 2020 2020 2020 2020 = None. │ │ │ +0006e0e0: 656c 7365 3a0a 2020 2020 2020 2020 2020 else:. │ │ │ +0006e0f0: 2020 5f73 656c 6620 3d20 7365 6c66 0a20 _self = self. │ │ │ +0006e100: 2020 2020 2020 205f 666c 746b 2e46 6c5f _fltk.Fl_ │ │ │ +0006e110: 5461 6273 5f73 7769 6769 6e69 7428 7365 Tabs_swiginit(se │ │ │ +0006e120: 6c66 2c20 5f66 6c74 6b2e 6e65 775f 466c lf, _fltk.new_Fl │ │ │ +0006e130: 5f54 6162 7328 5f73 656c 662c 202a 6172 _Tabs(_self, *ar │ │ │ +0006e140: 6773 2929 0a0a 2020 2020 2020 2020 6966 gs)).. if │ │ │ +0006e150: 206c 656e 2861 7267 7329 203d 3d20 353a len(args) == 5: │ │ │ +0006e160: 2020 2020 2020 2020 2020 0a20 2020 2020 . │ │ │ +0006e170: 2020 2023 7265 7461 696e 2072 6566 6572 #retain refer │ │ │ +0006e180: 656e 6365 2074 6f20 6c61 6265 6c0a 2020 ence to label. │ │ │ +0006e190: 2020 2020 2020 2020 2020 7365 6c66 2e6d self.m │ │ │ +0006e1a0: 795f 6c61 6265 6c20 3d20 6172 6773 5b2d y_label = args[- │ │ │ +0006e1b0: 315d 0a20 2020 2020 2020 2069 6620 7365 1]. if se │ │ │ +0006e1c0: 6c66 2e70 6172 656e 7428 2920 213d 204e lf.parent() != N │ │ │ +0006e1d0: 6f6e 653a 2020 200a 2020 2020 2020 2020 one: . │ │ │ +0006e1e0: 2364 656c 6567 6174 6520 6f77 6e65 7273 #delegate owners │ │ │ +0006e1f0: 6869 7020 746f 2043 2b2b 0a20 2020 2020 hip to C++. │ │ │ +0006e200: 2020 2020 2020 2073 656c 662e 7468 6973 self.this │ │ │ +0006e210: 2e64 6973 6f77 6e28 290a 2020 2020 2020 .disown(). │ │ │ +0006e220: 2020 7365 6c66 2e69 6e69 745f 7479 7065 self.init_type │ │ │ +0006e230: 2822 466c 5f54 6162 7322 290a 2020 2020 ("Fl_Tabs"). │ │ │ +0006e240: 2020 2020 2370 7269 6e74 2822 4164 6469 #print("Addi │ │ │ +0006e250: 6e67 2074 7970 653a 2022 2c20 466c 5f54 ng type: ", Fl_T │ │ │ +0006e260: 6162 7329 0a0a 0a0a 2020 2020 5f5f 7377 abs).... __sw │ │ │ +0006e270: 6967 5f64 6573 7472 6f79 5f5f 203d 205f ig_destroy__ = _ │ │ │ +0006e280: 666c 746b 2e64 656c 6574 655f 466c 5f54 fltk.delete_Fl_T │ │ │ +0006e290: 6162 730a 0a20 2020 2064 6566 2072 6573 abs.. def res │ │ │ +0006e2a0: 697a 6528 7365 6c66 2c20 2a61 7267 7329 ize(self, *args) │ │ │ +0006e2b0: 3a0a 2020 2020 2020 2020 7222 2222 7265 :. r"""re │ │ │ +0006e2c0: 7369 7a65 2846 6c5f 5461 6273 2073 656c size(Fl_Tabs sel │ │ │ +0006e2d0: 662c 2069 6e74 2061 7267 302c 2069 6e74 f, int arg0, int │ │ │ +0006e2e0: 2061 7267 312c 2069 6e74 2061 7267 322c arg1, int arg2, │ │ │ +0006e2f0: 2069 6e74 2061 7267 3329 2222 220a 2020 int arg3)""". │ │ │ +0006e300: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +0006e310: 746b 2e46 6c5f 5461 6273 5f72 6573 697a tk.Fl_Tabs_resiz │ │ │ +0006e320: 6528 7365 6c66 2c20 2a61 7267 7329 0a0a e(self, *args).. │ │ │ +0006e330: 2020 2020 6465 6620 7368 6f77 2873 656c def show(sel │ │ │ +0006e340: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +0006e350: 2020 2072 2222 2273 686f 7728 466c 5f54 r"""show(Fl_T │ │ │ +0006e360: 6162 7320 7365 6c66 2922 2222 0a20 2020 abs self)""". │ │ │ +0006e370: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +0006e380: 6b2e 466c 5f54 6162 735f 7368 6f77 2873 k.Fl_Tabs_show(s │ │ │ +0006e390: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +0006e3a0: 2064 6566 2068 616e 646c 6528 7365 6c66 def handle(self │ │ │ +0006e3b0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +0006e3c0: 2020 7222 2222 6861 6e64 6c65 2846 6c5f r"""handle(Fl_ │ │ │ +0006e3d0: 5461 6273 2073 656c 662c 2069 6e74 2061 Tabs self, int a │ │ │ +0006e3e0: 7267 3029 202d 3e20 696e 7422 2222 0a20 rg0) -> int""". │ │ │ +0006e3f0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +0006e400: 6c74 6b2e 466c 5f54 6162 735f 6861 6e64 ltk.Fl_Tabs_hand │ │ │ +0006e410: 6c65 2873 656c 662c 202a 6172 6773 290a le(self, *args). │ │ │ +0006e420: 0a20 2020 2064 6566 2076 616c 7565 2873 . def value(s │ │ │ +0006e430: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +0006e440: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ +0006e450: 2020 7661 6c75 6528 466c 5f54 6162 7320 value(Fl_Tabs │ │ │ +0006e460: 7365 6c66 2920 2d3e 2046 6c5f 5769 6467 self) -> Fl_Widg │ │ │ +0006e470: 6574 0a20 2020 2020 2020 2076 616c 7565 et. value │ │ │ +0006e480: 2846 6c5f 5461 6273 2073 656c 662c 2046 (Fl_Tabs self, F │ │ │ +0006e490: 6c5f 5769 6467 6574 2061 7267 3229 202d l_Widget arg2) - │ │ │ +0006e4a0: 3e20 696e 740a 2020 2020 2020 2020 2222 > int. "" │ │ │ +0006e4b0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0006e4c0: 205f 666c 746b 2e46 6c5f 5461 6273 5f76 _fltk.Fl_Tabs_v │ │ │ +0006e4d0: 616c 7565 2873 656c 662c 202a 6172 6773 alue(self, *args │ │ │ +0006e4e0: 290a 0a20 2020 2064 6566 2070 7573 6828 ).. def push( │ │ │ +0006e4f0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +0006e500: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ +0006e510: 2020 2070 7573 6828 466c 5f54 6162 7320 push(Fl_Tabs │ │ │ +0006e520: 7365 6c66 2920 2d3e 2046 6c5f 5769 6467 self) -> Fl_Widg │ │ │ +0006e530: 6574 0a20 2020 2020 2020 2070 7573 6828 et. push( │ │ │ +0006e540: 466c 5f54 6162 7320 7365 6c66 2c20 466c Fl_Tabs self, Fl │ │ │ +0006e550: 5f57 6964 6765 7420 6172 6732 2920 2d3e _Widget arg2) -> │ │ │ +0006e560: 2069 6e74 0a20 2020 2020 2020 2022 2222 int. """ │ │ │ +0006e570: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +0006e580: 5f66 6c74 6b2e 466c 5f54 6162 735f 7075 _fltk.Fl_Tabs_pu │ │ │ +0006e590: 7368 2873 656c 662c 202a 6172 6773 290a sh(self, *args). │ │ │ +0006e5a0: 0a20 2020 2064 6566 2077 6869 6368 2873 . def which(s │ │ │ +0006e5b0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +0006e5c0: 2020 2020 2072 2222 2277 6869 6368 2846 r"""which(F │ │ │ +0006e5d0: 6c5f 5461 6273 2073 656c 662c 2069 6e74 l_Tabs self, int │ │ │ +0006e5e0: 2065 7665 6e74 5f78 2c20 696e 7420 6576 event_x, int ev │ │ │ +0006e5f0: 656e 745f 7929 202d 3e20 466c 5f57 6964 ent_y) -> Fl_Wid │ │ │ +0006e600: 6765 7422 2222 0a20 2020 2020 2020 2072 get""". r │ │ │ +0006e610: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +0006e620: 6162 735f 7768 6963 6828 7365 6c66 2c20 abs_which(self, │ │ │ +0006e630: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +0006e640: 636c 6965 6e74 5f61 7265 6128 7365 6c66 client_area(self │ │ │ +0006e650: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +0006e660: 2020 7222 2222 636c 6965 6e74 5f61 7265 r"""client_are │ │ │ +0006e670: 6128 466c 5f54 6162 7320 7365 6c66 2c20 a(Fl_Tabs self, │ │ │ +0006e680: 696e 7420 7461 6268 3d30 2922 2222 0a20 int tabh=0)""". │ │ │ +0006e690: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +0006e6a0: 6c74 6b2e 466c 5f54 6162 735f 636c 6965 ltk.Fl_Tabs_clie │ │ │ +0006e6b0: 6e74 5f61 7265 6128 7365 6c66 2c20 2a61 nt_area(self, *a │ │ │ +0006e6c0: 7267 7329 0a0a 2020 2020 6465 6620 7461 rgs).. def ta │ │ │ +0006e6d0: 625f 616c 6967 6e28 7365 6c66 2c20 2a61 b_align(self, *a │ │ │ +0006e6e0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0006e6f0: 2222 0a20 2020 2020 2020 2074 6162 5f61 "". tab_a │ │ │ +0006e700: 6c69 676e 2846 6c5f 5461 6273 2073 656c lign(Fl_Tabs sel │ │ │ +0006e710: 662c 2046 6c5f 416c 6967 6e20 6129 0a20 f, Fl_Align a). │ │ │ +0006e720: 2020 2020 2020 2074 6162 5f61 6c69 676e tab_align │ │ │ +0006e730: 2846 6c5f 5461 6273 2073 656c 6629 202d (Fl_Tabs self) - │ │ │ +0006e740: 3e20 466c 5f41 6c69 676e 0a20 2020 2020 > Fl_Align. │ │ │ +0006e750: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ +0006e760: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +0006e770: 6162 735f 7461 625f 616c 6967 6e28 7365 abs_tab_align(se │ │ │ +0006e780: 6c66 2c20 2a61 7267 7329 0a20 2020 204f lf, *args). O │ │ │ +0006e790: 5645 5246 4c4f 575f 434f 4d50 5245 5353 VERFLOW_COMPRESS │ │ │ +0006e7a0: 203d 205f 666c 746b 2e46 6c5f 5461 6273 = _fltk.Fl_Tabs │ │ │ +0006e7b0: 5f4f 5645 5246 4c4f 575f 434f 4d50 5245 _OVERFLOW_COMPRE │ │ │ +0006e7c0: 5353 0a20 2020 200a 2020 2020 4f56 4552 SS. . OVER │ │ │ +0006e7d0: 464c 4f57 5f43 4c49 5020 3d20 5f66 6c74 FLOW_CLIP = _flt │ │ │ +0006e7e0: 6b2e 466c 5f54 6162 735f 4f56 4552 464c k.Fl_Tabs_OVERFL │ │ │ +0006e7f0: 4f57 5f43 4c49 500a 2020 2020 0a20 2020 OW_CLIP. . │ │ │ +0006e800: 204f 5645 5246 4c4f 575f 5055 4c4c 444f OVERFLOW_PULLDO │ │ │ +0006e810: 574e 203d 205f 666c 746b 2e46 6c5f 5461 WN = _fltk.Fl_Ta │ │ │ +0006e820: 6273 5f4f 5645 5246 4c4f 575f 5055 4c4c bs_OVERFLOW_PULL │ │ │ +0006e830: 444f 574e 0a20 2020 200a 2020 2020 4f56 DOWN. . OV │ │ │ +0006e840: 4552 464c 4f57 5f44 5241 4720 3d20 5f66 ERFLOW_DRAG = _f │ │ │ +0006e850: 6c74 6b2e 466c 5f54 6162 735f 4f56 4552 ltk.Fl_Tabs_OVER │ │ │ +0006e860: 464c 4f57 5f44 5241 470a 2020 2020 0a0a FLOW_DRAG. .. │ │ │ +0006e870: 2020 2020 6465 6620 6861 6e64 6c65 5f6f def handle_o │ │ │ +0006e880: 7665 7266 6c6f 7728 7365 6c66 2c20 2a61 verflow(self, *a │ │ │ +0006e890: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0006e8a0: 2222 6861 6e64 6c65 5f6f 7665 7266 6c6f ""handle_overflo │ │ │ +0006e8b0: 7728 466c 5f54 6162 7320 7365 6c66 2c20 w(Fl_Tabs self, │ │ │ +0006e8c0: 696e 7420 6f76 2922 2222 0a20 2020 2020 int ov)""". │ │ │ +0006e8d0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +0006e8e0: 466c 5f54 6162 735f 6861 6e64 6c65 5f6f Fl_Tabs_handle_o │ │ │ +0006e8f0: 7665 7266 6c6f 7728 7365 6c66 2c20 2a61 verflow(self, *a │ │ │ +0006e900: 7267 7329 0a0a 2020 2020 6465 6620 696e rgs).. def in │ │ │ +0006e910: 6974 5f74 7970 6528 7365 6c66 2c20 2a61 it_type(self, *a │ │ │ +0006e920: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0006e930: 2222 696e 6974 5f74 7970 6528 466c 5f54 ""init_type(Fl_T │ │ │ +0006e940: 6162 7320 7365 6c66 2c20 6368 6172 202a abs self, char * │ │ │ +0006e950: 2046 6c5f 5461 6273 2922 2222 0a20 2020 Fl_Tabs)""". │ │ │ +0006e960: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +0006e970: 6b2e 466c 5f54 6162 735f 696e 6974 5f74 k.Fl_Tabs_init_t │ │ │ +0006e980: 7970 6528 7365 6c66 2c20 2a61 7267 7329 ype(self, *args) │ │ │ +0006e990: 0a20 2020 2064 6566 205f 5f64 6973 6f77 . def __disow │ │ │ +0006e9a0: 6e5f 5f28 7365 6c66 293a 0a20 2020 2020 n__(self):. │ │ │ +0006e9b0: 2020 2073 656c 662e 7468 6973 2e64 6973 self.this.dis │ │ │ +0006e9c0: 6f77 6e28 290a 2020 2020 2020 2020 5f66 own(). _f │ │ │ +0006e9d0: 6c74 6b2e 6469 736f 776e 5f46 6c5f 5461 ltk.disown_Fl_Ta │ │ │ +0006e9e0: 6273 2873 656c 6629 0a20 2020 2020 2020 bs(self). │ │ │ +0006e9f0: 2072 6574 7572 6e20 7765 616b 7265 662e return weakref. │ │ │ +0006ea00: 7072 6f78 7928 7365 6c66 290a 0a23 2052 proxy(self)..# R │ │ │ +0006ea10: 6567 6973 7465 7220 466c 5f54 6162 7320 egister Fl_Tabs │ │ │ +0006ea20: 696e 205f 666c 746b 3a0a 5f66 6c74 6b2e in _fltk:._fltk. │ │ │ +0006ea30: 466c 5f54 6162 735f 7377 6967 7265 6769 Fl_Tabs_swigregi │ │ │ +0006ea40: 7374 6572 2846 6c5f 5461 6273 290a 636c ster(Fl_Tabs).cl │ │ │ +0006ea50: 6173 7320 466c 5f54 6572 6d69 6e61 6c28 ass Fl_Terminal( │ │ │ +0006ea60: 466c 5f47 726f 7570 293a 0a20 2020 2072 Fl_Group):. r │ │ │ +0006ea70: 2222 220a 0a0a 0a20 2020 2022 2222 0a0a """.... """.. │ │ │ +0006ea80: 2020 2020 7468 6973 6f77 6e20 3d20 7072 thisown = pr │ │ │ +0006ea90: 6f70 6572 7479 286c 616d 6264 6120 783a operty(lambda x: │ │ │ +0006eaa0: 2078 2e74 6869 732e 6f77 6e28 292c 206c x.this.own(), l │ │ │ +0006eab0: 616d 6264 6120 782c 2076 3a20 782e 7468 ambda x, v: x.th │ │ │ +0006eac0: 6973 2e6f 776e 2876 292c 2064 6f63 3d22 is.own(v), doc=" │ │ │ +0006ead0: 5468 6520 6d65 6d62 6572 7368 6970 2066 The membership f │ │ │ +0006eae0: 6c61 6722 290a 2020 2020 5f5f 7265 7072 lag"). __repr │ │ │ +0006eaf0: 5f5f 203d 205f 7377 6967 5f72 6570 720a __ = _swig_repr. │ │ │ +0006eb00: 2020 2020 4e4f 5f52 4544 5241 5720 3d20 NO_REDRAW = │ │ │ +0006eb10: 5f66 6c74 6b2e 466c 5f54 6572 6d69 6e61 _fltk.Fl_Termina │ │ │ +0006eb20: 6c5f 4e4f 5f52 4544 5241 570a 2020 2020 l_NO_REDRAW. │ │ │ +0006eb30: 0a20 2020 2052 4154 455f 4c49 4d49 5445 . RATE_LIMITE │ │ │ +0006eb40: 4420 3d20 5f66 6c74 6b2e 466c 5f54 6572 D = _fltk.Fl_Ter │ │ │ +0006eb50: 6d69 6e61 6c5f 5241 5445 5f4c 494d 4954 minal_RATE_LIMIT │ │ │ +0006eb60: 4544 0a20 2020 200a 2020 2020 5045 525f ED. . PER_ │ │ │ +0006eb70: 5752 4954 4520 3d20 5f66 6c74 6b2e 466c WRITE = _fltk.Fl │ │ │ +0006eb80: 5f54 6572 6d69 6e61 6c5f 5045 525f 5752 _Terminal_PER_WR │ │ │ +0006eb90: 4954 450a 2020 2020 0a20 2020 204e 4f52 ITE. . NOR │ │ │ +0006eba0: 4d41 4c20 3d20 5f66 6c74 6b2e 466c 5f54 MAL = _fltk.Fl_T │ │ │ +0006ebb0: 6572 6d69 6e61 6c5f 4e4f 524d 414c 0a20 erminal_NORMAL. │ │ │ +0006ebc0: 2020 200a 2020 2020 424f 4c44 203d 205f . BOLD = _ │ │ │ +0006ebd0: 666c 746b 2e46 6c5f 5465 726d 696e 616c fltk.Fl_Terminal │ │ │ +0006ebe0: 5f42 4f4c 440a 2020 2020 0a20 2020 2044 _BOLD. . D │ │ │ +0006ebf0: 494d 203d 205f 666c 746b 2e46 6c5f 5465 IM = _fltk.Fl_Te │ │ │ +0006ec00: 726d 696e 616c 5f44 494d 0a20 2020 200a rminal_DIM. . │ │ │ +0006ec10: 2020 2020 4954 414c 4943 203d 205f 666c ITALIC = _fl │ │ │ +0006ec20: 746b 2e46 6c5f 5465 726d 696e 616c 5f49 tk.Fl_Terminal_I │ │ │ +0006ec30: 5441 4c49 430a 2020 2020 0a20 2020 2055 TALIC. . U │ │ │ +0006ec40: 4e44 4552 4c49 4e45 203d 205f 666c 746b NDERLINE = _fltk │ │ │ +0006ec50: 2e46 6c5f 5465 726d 696e 616c 5f55 4e44 .Fl_Terminal_UND │ │ │ +0006ec60: 4552 4c49 4e45 0a20 2020 200a 2020 2020 ERLINE. . │ │ │ +0006ec70: 5f52 4553 4552 5645 445f 3120 3d20 5f66 _RESERVED_1 = _f │ │ │ +0006ec80: 6c74 6b2e 466c 5f54 6572 6d69 6e61 6c5f ltk.Fl_Terminal_ │ │ │ +0006ec90: 5f52 4553 4552 5645 445f 310a 2020 2020 _RESERVED_1. │ │ │ +0006eca0: 0a20 2020 2049 4e56 4552 5345 203d 205f . INVERSE = _ │ │ │ +0006ecb0: 666c 746b 2e46 6c5f 5465 726d 696e 616c fltk.Fl_Terminal │ │ │ +0006ecc0: 5f49 4e56 4552 5345 0a20 2020 200a 2020 _INVERSE. . │ │ │ +0006ecd0: 2020 5f52 4553 4552 5645 445f 3220 3d20 _RESERVED_2 = │ │ │ +0006ece0: 5f66 6c74 6b2e 466c 5f54 6572 6d69 6e61 _fltk.Fl_Termina │ │ │ +0006ecf0: 6c5f 5f52 4553 4552 5645 445f 320a 2020 l__RESERVED_2. │ │ │ +0006ed00: 2020 0a20 2020 2053 5452 494b 454f 5554 . STRIKEOUT │ │ │ +0006ed10: 203d 205f 666c 746b 2e46 6c5f 5465 726d = _fltk.Fl_Term │ │ │ +0006ed20: 696e 616c 5f53 5452 494b 454f 5554 0a20 inal_STRIKEOUT. │ │ │ +0006ed30: 2020 200a 2020 2020 4647 5f58 5445 524d . FG_XTERM │ │ │ +0006ed40: 203d 205f 666c 746b 2e46 6c5f 5465 726d = _fltk.Fl_Term │ │ │ +0006ed50: 696e 616c 5f46 475f 5854 4552 4d0a 2020 inal_FG_XTERM. │ │ │ +0006ed60: 2020 0a20 2020 2042 475f 5854 4552 4d20 . BG_XTERM │ │ │ +0006ed70: 3d20 5f66 6c74 6b2e 466c 5f54 6572 6d69 = _fltk.Fl_Termi │ │ │ +0006ed80: 6e61 6c5f 4247 5f58 5445 524d 0a20 2020 nal_BG_XTERM. │ │ │ +0006ed90: 200a 2020 2020 454f 4c20 3d20 5f66 6c74 . EOL = _flt │ │ │ +0006eda0: 6b2e 466c 5f54 6572 6d69 6e61 6c5f 454f k.Fl_Terminal_EO │ │ │ +0006edb0: 4c0a 2020 2020 0a20 2020 2052 4553 565f L. . RESV_ │ │ │ +0006edc0: 4120 3d20 5f66 6c74 6b2e 466c 5f54 6572 A = _fltk.Fl_Ter │ │ │ +0006edd0: 6d69 6e61 6c5f 5245 5356 5f41 0a20 2020 minal_RESV_A. │ │ │ +0006ede0: 200a 2020 2020 5245 5356 5f42 203d 205f . RESV_B = _ │ │ │ +0006edf0: 666c 746b 2e46 6c5f 5465 726d 696e 616c fltk.Fl_Terminal │ │ │ +0006ee00: 5f52 4553 565f 420a 2020 2020 0a20 2020 _RESV_B. . │ │ │ +0006ee10: 2052 4553 565f 4320 3d20 5f66 6c74 6b2e RESV_C = _fltk. │ │ │ +0006ee20: 466c 5f54 6572 6d69 6e61 6c5f 5245 5356 Fl_Terminal_RESV │ │ │ +0006ee30: 5f43 0a20 2020 200a 2020 2020 5245 5356 _C. . RESV │ │ │ +0006ee40: 5f44 203d 205f 666c 746b 2e46 6c5f 5465 _D = _fltk.Fl_Te │ │ │ +0006ee50: 726d 696e 616c 5f52 4553 565f 440a 2020 rminal_RESV_D. │ │ │ +0006ee60: 2020 0a20 2020 2052 4553 565f 4520 3d20 . RESV_E = │ │ │ +0006ee70: 5f66 6c74 6b2e 466c 5f54 6572 6d69 6e61 _fltk.Fl_Termina │ │ │ +0006ee80: 6c5f 5245 5356 5f45 0a20 2020 200a 2020 l_RESV_E. . │ │ │ +0006ee90: 2020 434f 4c4f 524d 4153 4b20 3d20 5f66 COLORMASK = _f │ │ │ +0006eea0: 6c74 6b2e 466c 5f54 6572 6d69 6e61 6c5f ltk.Fl_Terminal_ │ │ │ +0006eeb0: 434f 4c4f 524d 4153 4b0a 2020 2020 0a20 COLORMASK. . │ │ │ +0006eec0: 2020 204f 4646 203d 205f 666c 746b 2e46 OFF = _fltk.F │ │ │ +0006eed0: 6c5f 5465 726d 696e 616c 5f4f 4646 0a20 l_Terminal_OFF. │ │ │ +0006eee0: 2020 200a 2020 2020 4352 5f54 4f5f 4c46 . CR_TO_LF │ │ │ +0006eef0: 203d 205f 666c 746b 2e46 6c5f 5465 726d = _fltk.Fl_Term │ │ │ +0006ef00: 696e 616c 5f43 525f 544f 5f4c 460a 2020 inal_CR_TO_LF. │ │ │ +0006ef10: 2020 0a20 2020 204c 465f 544f 5f43 5220 . LF_TO_CR │ │ │ +0006ef20: 3d20 5f66 6c74 6b2e 466c 5f54 6572 6d69 = _fltk.Fl_Termi │ │ │ +0006ef30: 6e61 6c5f 4c46 5f54 4f5f 4352 0a20 2020 nal_LF_TO_CR. │ │ │ +0006ef40: 200a 2020 2020 4c46 5f54 4f5f 4352 4c46 . LF_TO_CRLF │ │ │ +0006ef50: 203d 205f 666c 746b 2e46 6c5f 5465 726d = _fltk.Fl_Term │ │ │ +0006ef60: 696e 616c 5f4c 465f 544f 5f43 524c 460a inal_LF_TO_CRLF. │ │ │ +0006ef70: 2020 2020 0a20 2020 2053 4352 4f4c 4c42 . SCROLLB │ │ │ +0006ef80: 4152 5f4f 4646 203d 205f 666c 746b 2e46 AR_OFF = _fltk.F │ │ │ +0006ef90: 6c5f 5465 726d 696e 616c 5f53 4352 4f4c l_Terminal_SCROL │ │ │ +0006efa0: 4c42 4152 5f4f 4646 0a20 2020 200a 2020 LBAR_OFF. . │ │ │ +0006efb0: 2020 5343 524f 4c4c 4241 525f 4155 544f SCROLLBAR_AUTO │ │ │ +0006efc0: 203d 205f 666c 746b 2e46 6c5f 5465 726d = _fltk.Fl_Term │ │ │ +0006efd0: 696e 616c 5f53 4352 4f4c 4c42 4152 5f41 inal_SCROLLBAR_A │ │ │ +0006efe0: 5554 4f0a 2020 2020 0a20 2020 2053 4352 UTO. . SCR │ │ │ +0006eff0: 4f4c 4c42 4152 5f4f 4e20 3d20 5f66 6c74 OLLBAR_ON = _flt │ │ │ +0006f000: 6b2e 466c 5f54 6572 6d69 6e61 6c5f 5343 k.Fl_Terminal_SC │ │ │ +0006f010: 524f 4c4c 4241 525f 4f4e 0a20 2020 200a ROLLBAR_ON. . │ │ │ +0006f020: 0a20 2020 2064 6566 2073 656c 6563 7469 . def selecti │ │ │ +0006f030: 6f6e 5f74 6578 745f 6c65 6e28 7365 6c66 on_text_len(self │ │ │ +0006f040: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +0006f050: 2020 7222 2222 7365 6c65 6374 696f 6e5f r"""selection_ │ │ │ +0006f060: 7465 7874 5f6c 656e 2846 6c5f 5465 726d text_len(Fl_Term │ │ │ +0006f070: 696e 616c 2073 656c 6629 202d 3e20 696e inal self) -> in │ │ │ +0006f080: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ +0006f090: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6572 urn _fltk.Fl_Ter │ │ │ +0006f0a0: 6d69 6e61 6c5f 7365 6c65 6374 696f 6e5f minal_selection_ │ │ │ +0006f0b0: 7465 7874 5f6c 656e 2873 656c 662c 202a text_len(self, * │ │ │ +0006f0c0: 6172 6773 290a 0a20 2020 2064 6566 2073 args).. def s │ │ │ +0006f0d0: 656c 6563 7469 6f6e 5f74 6578 7428 7365 election_text(se │ │ │ +0006f0e0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +0006f0f0: 2020 2020 7222 2222 7365 6c65 6374 696f r"""selectio │ │ │ +0006f100: 6e5f 7465 7874 2846 6c5f 5465 726d 696e n_text(Fl_Termin │ │ │ +0006f110: 616c 2073 656c 6629 202d 3e20 6368 6172 al self) -> char │ │ │ +0006f120: 2063 6f6e 7374 202a 2222 220a 2020 2020 const *""". │ │ │ +0006f130: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +0006f140: 2e46 6c5f 5465 726d 696e 616c 5f73 656c .Fl_Terminal_sel │ │ │ +0006f150: 6563 7469 6f6e 5f74 6578 7428 7365 6c66 ection_text(self │ │ │ +0006f160: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +0006f170: 6620 636c 6561 7228 7365 6c66 2c20 2a61 f clear(self, *a │ │ │ +0006f180: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0006f190: 2222 0a20 2020 2020 2020 2063 6c65 6172 "". clear │ │ │ +0006f1a0: 2846 6c5f 5465 726d 696e 616c 2073 656c (Fl_Terminal sel │ │ │ +0006f1b0: 6629 0a20 2020 2020 2020 2063 6c65 6172 f). clear │ │ │ +0006f1c0: 2846 6c5f 5465 726d 696e 616c 2073 656c (Fl_Terminal sel │ │ │ +0006f1d0: 662c 2046 6c5f 436f 6c6f 7220 7661 6c29 f, Fl_Color val) │ │ │ +0006f1e0: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ +0006f1f0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +0006f200: 6b2e 466c 5f54 6572 6d69 6e61 6c5f 636c k.Fl_Terminal_cl │ │ │ +0006f210: 6561 7228 7365 6c66 2c20 2a61 7267 7329 ear(self, *args) │ │ │ +0006f220: 0a0a 2020 2020 6465 6620 636c 6561 725f .. def clear_ │ │ │ +0006f230: 7363 7265 656e 2873 656c 662c 202a 6172 screen(self, *ar │ │ │ +0006f240: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +0006f250: 2263 6c65 6172 5f73 6372 6565 6e28 466c "clear_screen(Fl │ │ │ +0006f260: 5f54 6572 6d69 6e61 6c20 7365 6c66 2c20 _Terminal self, │ │ │ +0006f270: 626f 6f6c 2073 6372 6f6c 6c5f 746f 5f68 bool scroll_to_h │ │ │ +0006f280: 6973 743d 5472 7565 2922 2222 0a20 2020 ist=True)""". │ │ │ +0006f290: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +0006f2a0: 6b2e 466c 5f54 6572 6d69 6e61 6c5f 636c k.Fl_Terminal_cl │ │ │ +0006f2b0: 6561 725f 7363 7265 656e 2873 656c 662c ear_screen(self, │ │ │ +0006f2c0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +0006f2d0: 2063 6c65 6172 5f73 6372 6565 6e5f 686f clear_screen_ho │ │ │ +0006f2e0: 6d65 2873 656c 662c 202a 6172 6773 293a me(self, *args): │ │ │ +0006f2f0: 0a20 2020 2020 2020 2072 2222 2263 6c65 . r"""cle │ │ │ +0006f300: 6172 5f73 6372 6565 6e5f 686f 6d65 2846 ar_screen_home(F │ │ │ +0006f310: 6c5f 5465 726d 696e 616c 2073 656c 662c l_Terminal self, │ │ │ +0006f320: 2062 6f6f 6c20 7363 726f 6c6c 5f74 6f5f bool scroll_to_ │ │ │ +0006f330: 6869 7374 3d54 7275 6529 2222 220a 2020 hist=True)""". │ │ │ +0006f340: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +0006f350: 746b 2e46 6c5f 5465 726d 696e 616c 5f63 tk.Fl_Terminal_c │ │ │ +0006f360: 6c65 6172 5f73 6372 6565 6e5f 686f 6d65 lear_screen_home │ │ │ +0006f370: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +0006f380: 2020 2064 6566 2063 6c65 6172 5f68 6973 def clear_his │ │ │ +0006f390: 746f 7279 2873 656c 662c 202a 6172 6773 tory(self, *args │ │ │ +0006f3a0: 293a 0a20 2020 2020 2020 2072 2222 2263 ):. r"""c │ │ │ +0006f3b0: 6c65 6172 5f68 6973 746f 7279 2846 6c5f lear_history(Fl_ │ │ │ +0006f3c0: 5465 726d 696e 616c 2073 656c 6629 2222 Terminal self)"" │ │ │ +0006f3d0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0006f3e0: 205f 666c 746b 2e46 6c5f 5465 726d 696e _fltk.Fl_Termin │ │ │ +0006f3f0: 616c 5f63 6c65 6172 5f68 6973 746f 7279 al_clear_history │ │ │ +0006f400: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +0006f410: 2020 2064 6566 2072 6573 6574 5f74 6572 def reset_ter │ │ │ +0006f420: 6d69 6e61 6c28 7365 6c66 2c20 2a61 7267 minal(self, *arg │ │ │ +0006f430: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +0006f440: 7265 7365 745f 7465 726d 696e 616c 2846 reset_terminal(F │ │ │ +0006f450: 6c5f 5465 726d 696e 616c 2073 656c 6629 l_Terminal self) │ │ │ +0006f460: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +0006f470: 726e 205f 666c 746b 2e46 6c5f 5465 726d rn _fltk.Fl_Term │ │ │ +0006f480: 696e 616c 5f72 6573 6574 5f74 6572 6d69 inal_reset_termi │ │ │ +0006f490: 6e61 6c28 7365 6c66 2c20 2a61 7267 7329 nal(self, *args) │ │ │ +0006f4a0: 0a0a 2020 2020 6465 6620 6375 7273 6f72 .. def cursor │ │ │ +0006f4b0: 5f68 6f6d 6528 7365 6c66 2c20 2a61 7267 _home(self, *arg │ │ │ +0006f4c0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +0006f4d0: 6375 7273 6f72 5f68 6f6d 6528 466c 5f54 cursor_home(Fl_T │ │ │ +0006f4e0: 6572 6d69 6e61 6c20 7365 6c66 2922 2222 erminal self)""" │ │ │ +0006f4f0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +0006f500: 5f66 6c74 6b2e 466c 5f54 6572 6d69 6e61 _fltk.Fl_Termina │ │ │ +0006f510: 6c5f 6375 7273 6f72 5f68 6f6d 6528 7365 l_cursor_home(se │ │ │ +0006f520: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +0006f530: 6465 6620 6375 7273 6f72 6667 636f 6c6f def cursorfgcolo │ │ │ +0006f540: 7228 7365 6c66 2c20 2a61 7267 7329 3a0a r(self, *args):. │ │ │ +0006f550: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ +0006f560: 2020 2020 2063 7572 736f 7266 6763 6f6c cursorfgcol │ │ │ +0006f570: 6f72 2846 6c5f 5465 726d 696e 616c 2073 or(Fl_Terminal s │ │ │ +0006f580: 656c 662c 2046 6c5f 436f 6c6f 7220 7661 elf, Fl_Color va │ │ │ +0006f590: 6c29 0a20 2020 2020 2020 2063 7572 736f l). curso │ │ │ +0006f5a0: 7266 6763 6f6c 6f72 2846 6c5f 5465 726d rfgcolor(Fl_Term │ │ │ +0006f5b0: 696e 616c 2073 656c 6629 202d 3e20 466c inal self) -> Fl │ │ │ +0006f5c0: 5f43 6f6c 6f72 0a20 2020 2020 2020 2022 _Color. " │ │ │ +0006f5d0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0006f5e0: 6e20 5f66 6c74 6b2e 466c 5f54 6572 6d69 n _fltk.Fl_Termi │ │ │ +0006f5f0: 6e61 6c5f 6375 7273 6f72 6667 636f 6c6f nal_cursorfgcolo │ │ │ +0006f600: 7228 7365 6c66 2c20 2a61 7267 7329 0a0a r(self, *args).. │ │ │ +0006f610: 2020 2020 6465 6620 6375 7273 6f72 6267 def cursorbg │ │ │ +0006f620: 636f 6c6f 7228 7365 6c66 2c20 2a61 7267 color(self, *arg │ │ │ +0006f630: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +0006f640: 0a20 2020 2020 2020 2063 7572 736f 7262 . cursorb │ │ │ +0006f650: 6763 6f6c 6f72 2846 6c5f 5465 726d 696e gcolor(Fl_Termin │ │ │ +0006f660: 616c 2073 656c 662c 2046 6c5f 436f 6c6f al self, Fl_Colo │ │ │ +0006f670: 7220 7661 6c29 0a20 2020 2020 2020 2063 r val). c │ │ │ +0006f680: 7572 736f 7262 6763 6f6c 6f72 2846 6c5f ursorbgcolor(Fl_ │ │ │ +0006f690: 5465 726d 696e 616c 2073 656c 6629 202d Terminal self) - │ │ │ +0006f6a0: 3e20 466c 5f43 6f6c 6f72 0a20 2020 2020 > Fl_Color. │ │ │ +0006f6b0: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ +0006f6c0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +0006f6d0: 6572 6d69 6e61 6c5f 6375 7273 6f72 6267 erminal_cursorbg │ │ │ +0006f6e0: 636f 6c6f 7228 7365 6c66 2c20 2a61 7267 color(self, *arg │ │ │ +0006f6f0: 7329 0a0a 2020 2020 6465 6620 6375 7273 s).. def curs │ │ │ +0006f700: 6f72 5f72 6f77 2873 656c 662c 202a 6172 or_row(self, *ar │ │ │ +0006f710: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +0006f720: 2263 7572 736f 725f 726f 7728 466c 5f54 "cursor_row(Fl_T │ │ │ +0006f730: 6572 6d69 6e61 6c20 7365 6c66 2920 2d3e erminal self) -> │ │ │ +0006f740: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ +0006f750: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +0006f760: 5465 726d 696e 616c 5f63 7572 736f 725f Terminal_cursor_ │ │ │ +0006f770: 726f 7728 7365 6c66 2c20 2a61 7267 7329 row(self, *args) │ │ │ +0006f780: 0a0a 2020 2020 6465 6620 6375 7273 6f72 .. def cursor │ │ │ +0006f790: 5f63 6f6c 2873 656c 662c 202a 6172 6773 _col(self, *args │ │ │ +0006f7a0: 293a 0a20 2020 2020 2020 2072 2222 2263 ):. r"""c │ │ │ +0006f7b0: 7572 736f 725f 636f 6c28 466c 5f54 6572 ursor_col(Fl_Ter │ │ │ +0006f7c0: 6d69 6e61 6c20 7365 6c66 2920 2d3e 2069 minal self) -> i │ │ │ +0006f7d0: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ +0006f7e0: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ +0006f7f0: 726d 696e 616c 5f63 7572 736f 725f 636f rminal_cursor_co │ │ │ +0006f800: 6c28 7365 6c66 2c20 2a61 7267 7329 0a0a l(self, *args).. │ │ │ +0006f810: 2020 2020 6465 6620 6f75 7470 7574 5f74 def output_t │ │ │ +0006f820: 7261 6e73 6c61 7465 2873 656c 662c 202a ranslate(self, * │ │ │ +0006f830: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +0006f840: 2222 220a 2020 2020 2020 2020 6f75 7470 """. outp │ │ │ +0006f850: 7574 5f74 7261 6e73 6c61 7465 2846 6c5f ut_translate(Fl_ │ │ │ +0006f860: 5465 726d 696e 616c 2073 656c 662c 2046 Terminal self, F │ │ │ +0006f870: 6c5f 5465 726d 696e 616c 3a3a 4f75 7446 l_Terminal::OutF │ │ │ +0006f880: 6c61 6773 2076 616c 290a 2020 2020 2020 lags val). │ │ │ +0006f890: 2020 6f75 7470 7574 5f74 7261 6e73 6c61 output_transla │ │ │ +0006f8a0: 7465 2846 6c5f 5465 726d 696e 616c 2073 te(Fl_Terminal s │ │ │ +0006f8b0: 656c 6629 202d 3e20 466c 5f54 6572 6d69 elf) -> Fl_Termi │ │ │ +0006f8c0: 6e61 6c3a 3a4f 7574 466c 6167 730a 2020 nal::OutFlags. │ │ │ +0006f8d0: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ +0006f8e0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +0006f8f0: 6c5f 5465 726d 696e 616c 5f6f 7574 7075 l_Terminal_outpu │ │ │ +0006f900: 745f 7472 616e 736c 6174 6528 7365 6c66 t_translate(self │ │ │ +0006f910: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +0006f920: 6620 706c 6f74 5f63 6861 7228 7365 6c66 f plot_char(self │ │ │ +0006f930: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +0006f940: 2020 7222 2222 0a20 2020 2020 2020 2070 r""". p │ │ │ +0006f950: 6c6f 745f 6368 6172 2846 6c5f 5465 726d lot_char(Fl_Term │ │ │ +0006f960: 696e 616c 2073 656c 662c 2063 6861 7220 inal self, char │ │ │ +0006f970: 636f 6e73 7420 2a20 7465 7874 2c20 696e const * text, in │ │ │ +0006f980: 7420 6c65 6e2c 2069 6e74 2064 726f 772c t len, int drow, │ │ │ +0006f990: 2069 6e74 2064 636f 6c29 0a20 2020 2020 int dcol). │ │ │ +0006f9a0: 2020 2070 6c6f 745f 6368 6172 2846 6c5f plot_char(Fl_ │ │ │ +0006f9b0: 5465 726d 696e 616c 2073 656c 662c 2063 Terminal self, c │ │ │ +0006f9c0: 6861 7220 632c 2069 6e74 2064 726f 772c har c, int drow, │ │ │ +0006f9d0: 2069 6e74 2064 636f 6c29 0a20 2020 2020 int dcol). │ │ │ +0006f9e0: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ +0006f9f0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +0006fa00: 6572 6d69 6e61 6c5f 706c 6f74 5f63 6861 erminal_plot_cha │ │ │ +0006fa10: 7228 7365 6c66 2c20 2a61 7267 7329 0a0a r(self, *args).. │ │ │ +0006fa20: 2020 2020 6465 6620 7072 696e 745f 6368 def print_ch │ │ │ +0006fa30: 6172 2873 656c 662c 202a 6172 6773 293a ar(self, *args): │ │ │ +0006fa40: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ +0006fa50: 2020 2020 2020 7072 696e 745f 6368 6172 print_char │ │ │ +0006fa60: 2846 6c5f 5465 726d 696e 616c 2073 656c (Fl_Terminal sel │ │ │ +0006fa70: 662c 2063 6861 7220 636f 6e73 7420 2a20 f, char const * │ │ │ +0006fa80: 7465 7874 2c20 696e 7420 6c65 6e3d 2d31 text, int len=-1 │ │ │ +0006fa90: 290a 2020 2020 2020 2020 7072 696e 745f ). print_ │ │ │ +0006faa0: 6368 6172 2846 6c5f 5465 726d 696e 616c char(Fl_Terminal │ │ │ +0006fab0: 2073 656c 662c 2063 6861 7220 6329 0a20 self, char c). │ │ │ +0006fac0: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ +0006fad0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +0006fae0: 466c 5f54 6572 6d69 6e61 6c5f 7072 696e Fl_Terminal_prin │ │ │ +0006faf0: 745f 6368 6172 2873 656c 662c 202a 6172 t_char(self, *ar │ │ │ +0006fb00: 6773 290a 0a20 2020 2064 6566 2061 7070 gs).. def app │ │ │ +0006fb10: 656e 645f 7574 6638 2873 656c 662c 202a end_utf8(self, * │ │ │ +0006fb20: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +0006fb30: 2222 2261 7070 656e 645f 7574 6638 2846 """append_utf8(F │ │ │ +0006fb40: 6c5f 5465 726d 696e 616c 2073 656c 662c l_Terminal self, │ │ │ +0006fb50: 2063 6861 7220 636f 6e73 7420 2a20 6275 char const * bu │ │ │ +0006fb60: 662c 2069 6e74 206c 656e 3d2d 3129 2222 f, int len=-1)"" │ │ │ +0006fb70: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0006fb80: 205f 666c 746b 2e46 6c5f 5465 726d 696e _fltk.Fl_Termin │ │ │ +0006fb90: 616c 5f61 7070 656e 645f 7574 6638 2873 al_append_utf8(s │ │ │ +0006fba0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +0006fbb0: 2064 6566 2061 7070 656e 645f 6173 6369 def append_asci │ │ │ +0006fbc0: 6928 7365 6c66 2c20 2a61 7267 7329 3a0a i(self, *args):. │ │ │ +0006fbd0: 2020 2020 2020 2020 7222 2222 6170 7065 r"""appe │ │ │ +0006fbe0: 6e64 5f61 7363 6969 2846 6c5f 5465 726d nd_ascii(Fl_Term │ │ │ +0006fbf0: 696e 616c 2073 656c 662c 2063 6861 7220 inal self, char │ │ │ +0006fc00: 636f 6e73 7420 2a20 7329 2222 220a 2020 const * s)""". │ │ │ +0006fc10: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +0006fc20: 746b 2e46 6c5f 5465 726d 696e 616c 5f61 tk.Fl_Terminal_a │ │ │ +0006fc30: 7070 656e 645f 6173 6369 6928 7365 6c66 ppend_ascii(self │ │ │ +0006fc40: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +0006fc50: 6620 6170 7065 6e64 2873 656c 662c 202a f append(self, * │ │ │ +0006fc60: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +0006fc70: 2222 2261 7070 656e 6428 466c 5f54 6572 """append(Fl_Ter │ │ │ +0006fc80: 6d69 6e61 6c20 7365 6c66 2c20 6368 6172 minal self, char │ │ │ +0006fc90: 2063 6f6e 7374 202a 2073 2c20 696e 7420 const * s, int │ │ │ +0006fca0: 6c65 6e3d 2d31 2922 2222 0a20 2020 2020 len=-1)""". │ │ │ +0006fcb0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +0006fcc0: 466c 5f54 6572 6d69 6e61 6c5f 6170 7065 Fl_Terminal_appe │ │ │ +0006fcd0: 6e64 2873 656c 662c 202a 6172 6773 290a nd(self, *args). │ │ │ +0006fce0: 0a20 2020 2064 6566 2064 7261 7728 7365 . def draw(se │ │ │ +0006fcf0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +0006fd00: 2020 2020 7222 2222 6472 6177 2846 6c5f r"""draw(Fl_ │ │ │ +0006fd10: 5465 726d 696e 616c 2073 656c 6629 2222 Terminal self)"" │ │ │ +0006fd20: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0006fd30: 205f 666c 746b 2e46 6c5f 5465 726d 696e _fltk.Fl_Termin │ │ │ +0006fd40: 616c 5f64 7261 7728 7365 6c66 2c20 2a61 al_draw(self, *a │ │ │ +0006fd50: 7267 7329 0a0a 2020 2020 6465 6620 7265 rgs).. def re │ │ │ +0006fd60: 7369 7a65 2873 656c 662c 202a 6172 6773 size(self, *args │ │ │ +0006fd70: 293a 0a20 2020 2020 2020 2072 2222 2272 ):. r"""r │ │ │ +0006fd80: 6573 697a 6528 466c 5f54 6572 6d69 6e61 esize(Fl_Termina │ │ │ +0006fd90: 6c20 7365 6c66 2c20 696e 7420 582c 2069 l self, int X, i │ │ │ +0006fda0: 6e74 2059 2c20 696e 7420 572c 2069 6e74 nt Y, int W, int │ │ │ +0006fdb0: 2048 2922 2222 0a20 2020 2020 2020 2072 H)""". r │ │ │ +0006fdc0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +0006fdd0: 6572 6d69 6e61 6c5f 7265 7369 7a65 2873 erminal_resize(s │ │ │ +0006fde0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +0006fdf0: 2064 6566 2068 616e 646c 6528 7365 6c66 def handle(self │ │ │ +0006fe00: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +0006fe10: 2020 7222 2222 6861 6e64 6c65 2846 6c5f r"""handle(Fl_ │ │ │ +0006fe20: 5465 726d 696e 616c 2073 656c 662c 2069 Terminal self, i │ │ │ +0006fe30: 6e74 2065 2920 2d3e 2069 6e74 2222 220a nt e) -> int""". │ │ │ +0006fe40: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +0006fe50: 666c 746b 2e46 6c5f 5465 726d 696e 616c fltk.Fl_Terminal │ │ │ +0006fe60: 5f68 616e 646c 6528 7365 6c66 2c20 2a61 _handle(self, *a │ │ │ +0006fe70: 7267 7329 0a0a 2020 2020 6465 6620 7465 rgs).. def te │ │ │ +0006fe80: 7874 2873 656c 662c 202a 6172 6773 293a xt(self, *args): │ │ │ +0006fe90: 0a20 2020 2020 2020 2072 2222 2274 6578 . r"""tex │ │ │ +0006fea0: 7428 466c 5f54 6572 6d69 6e61 6c20 7365 t(Fl_Terminal se │ │ │ +0006feb0: 6c66 2c20 626f 6f6c 206c 696e 6573 5f62 lf, bool lines_b │ │ │ +0006fec0: 656c 6f77 5f63 7572 736f 723d 4661 6c73 elow_cursor=Fals │ │ │ +0006fed0: 6529 202d 3e20 6368 6172 2063 6f6e 7374 e) -> char const │ │ │ +0006fee0: 202a 2222 220a 2020 2020 2020 2020 7265 *""". re │ │ │ +0006fef0: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ +0006ff00: 726d 696e 616c 5f74 6578 7428 7365 6c66 rminal_text(self │ │ │ +0006ff10: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +0006ff20: 6620 7363 726f 6c6c 6261 725f 7369 7a65 f scrollbar_size │ │ │ +0006ff30: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +0006ff40: 2020 2020 2020 2072 2222 220a 2020 2020 r""". │ │ │ +0006ff50: 2020 2020 7363 726f 6c6c 6261 725f 7369 scrollbar_si │ │ │ +0006ff60: 7a65 2846 6c5f 5465 726d 696e 616c 2073 ze(Fl_Terminal s │ │ │ +0006ff70: 656c 6629 202d 3e20 696e 740a 2020 2020 elf) -> int. │ │ │ +0006ff80: 2020 2020 7363 726f 6c6c 6261 725f 7369 scrollbar_si │ │ │ +0006ff90: 7a65 2846 6c5f 5465 726d 696e 616c 2073 ze(Fl_Terminal s │ │ │ +0006ffa0: 656c 662c 2069 6e74 2076 616c 290a 2020 elf, int val). │ │ │ +0006ffb0: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ +0006ffc0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +0006ffd0: 6c5f 5465 726d 696e 616c 5f73 6372 6f6c l_Terminal_scrol │ │ │ +0006ffe0: 6c62 6172 5f73 697a 6528 7365 6c66 2c20 lbar_size(self, │ │ │ +0006fff0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +00070000: 7363 726f 6c6c 6261 725f 6163 7475 616c scrollbar_actual │ │ │ +00070010: 5f73 697a 6528 7365 6c66 2c20 2a61 7267 _size(self, *arg │ │ │ +00070020: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +00070030: 7363 726f 6c6c 6261 725f 6163 7475 616c scrollbar_actual │ │ │ +00070040: 5f73 697a 6528 466c 5f54 6572 6d69 6e61 _size(Fl_Termina │ │ │ +00070050: 6c20 7365 6c66 2920 2d3e 2069 6e74 2222 l self) -> int"" │ │ │ +00070060: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +00070070: 205f 666c 746b 2e46 6c5f 5465 726d 696e _fltk.Fl_Termin │ │ │ +00070080: 616c 5f73 6372 6f6c 6c62 6172 5f61 6374 al_scrollbar_act │ │ │ +00070090: 7561 6c5f 7369 7a65 2873 656c 662c 202a ual_size(self, * │ │ │ +000700a0: 6172 6773 290a 0a20 2020 2064 6566 2068 args).. def h │ │ │ +000700b0: 7363 726f 6c6c 6261 725f 7374 796c 6528 scrollbar_style( │ │ │ +000700c0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +000700d0: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ +000700e0: 2020 2068 7363 726f 6c6c 6261 725f 7374 hscrollbar_st │ │ │ +000700f0: 796c 6528 466c 5f54 6572 6d69 6e61 6c20 yle(Fl_Terminal │ │ │ +00070100: 7365 6c66 2c20 466c 5f54 6572 6d69 6e61 self, Fl_Termina │ │ │ +00070110: 6c3a 3a53 6372 6f6c 6c62 6172 5374 796c l::ScrollbarStyl │ │ │ +00070120: 6520 7661 6c29 0a20 2020 2020 2020 2068 e val). h │ │ │ +00070130: 7363 726f 6c6c 6261 725f 7374 796c 6528 scrollbar_style( │ │ │ +00070140: 466c 5f54 6572 6d69 6e61 6c20 7365 6c66 Fl_Terminal self │ │ │ +00070150: 2920 2d3e 2046 6c5f 5465 726d 696e 616c ) -> Fl_Terminal │ │ │ +00070160: 3a3a 5363 726f 6c6c 6261 7253 7479 6c65 ::ScrollbarStyle │ │ │ +00070170: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ +00070180: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00070190: 6b2e 466c 5f54 6572 6d69 6e61 6c5f 6873 k.Fl_Terminal_hs │ │ │ +000701a0: 6372 6f6c 6c62 6172 5f73 7479 6c65 2873 crollbar_style(s │ │ │ +000701b0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +000701c0: 2064 6566 2068 6973 746f 7279 5f72 6f77 def history_row │ │ │ +000701d0: 7328 7365 6c66 2c20 2a61 7267 7329 3a0a s(self, *args):. │ │ │ +000701e0: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ +000701f0: 2020 2020 2068 6973 746f 7279 5f72 6f77 history_row │ │ │ +00070200: 7328 466c 5f54 6572 6d69 6e61 6c20 7365 s(Fl_Terminal se │ │ │ +00070210: 6c66 2920 2d3e 2069 6e74 0a20 2020 2020 lf) -> int. │ │ │ +00070220: 2020 2068 6973 746f 7279 5f72 6f77 7328 history_rows( │ │ │ +00070230: 466c 5f54 6572 6d69 6e61 6c20 7365 6c66 Fl_Terminal self │ │ │ +00070240: 2c20 696e 7420 7661 6c29 0a20 2020 2020 , int val). │ │ │ +00070250: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ +00070260: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +00070270: 6572 6d69 6e61 6c5f 6869 7374 6f72 795f erminal_history_ │ │ │ +00070280: 726f 7773 2873 656c 662c 202a 6172 6773 rows(self, *args │ │ │ +00070290: 290a 0a20 2020 2064 6566 2068 6973 746f ).. def histo │ │ │ +000702a0: 7279 5f75 7365 2873 656c 662c 202a 6172 ry_use(self, *ar │ │ │ +000702b0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +000702c0: 2268 6973 746f 7279 5f75 7365 2846 6c5f "history_use(Fl_ │ │ │ +000702d0: 5465 726d 696e 616c 2073 656c 6629 202d Terminal self) - │ │ │ +000702e0: 3e20 696e 7422 2222 0a20 2020 2020 2020 > int""". │ │ │ +000702f0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +00070300: 5f54 6572 6d69 6e61 6c5f 6869 7374 6f72 _Terminal_histor │ │ │ +00070310: 795f 7573 6528 7365 6c66 2c20 2a61 7267 y_use(self, *arg │ │ │ +00070320: 7329 0a0a 2020 2020 6465 6620 6469 7370 s).. def disp │ │ │ +00070330: 6c61 795f 726f 7773 2873 656c 662c 202a lay_rows(self, * │ │ │ +00070340: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +00070350: 2222 220a 2020 2020 2020 2020 6469 7370 """. disp │ │ │ +00070360: 6c61 795f 726f 7773 2846 6c5f 5465 726d lay_rows(Fl_Term │ │ │ +00070370: 696e 616c 2073 656c 6629 202d 3e20 696e inal self) -> in │ │ │ +00070380: 740a 2020 2020 2020 2020 6469 7370 6c61 t. displa │ │ │ +00070390: 795f 726f 7773 2846 6c5f 5465 726d 696e y_rows(Fl_Termin │ │ │ +000703a0: 616c 2073 656c 662c 2069 6e74 2076 616c al self, int val │ │ │ +000703b0: 290a 2020 2020 2020 2020 2222 220a 2020 ). """. │ │ │ +000703c0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +000703d0: 746b 2e46 6c5f 5465 726d 696e 616c 5f64 tk.Fl_Terminal_d │ │ │ +000703e0: 6973 706c 6179 5f72 6f77 7328 7365 6c66 isplay_rows(self │ │ │ +000703f0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00070400: 6620 6469 7370 6c61 795f 636f 6c75 6d6e f display_column │ │ │ +00070410: 7328 7365 6c66 2c20 2a61 7267 7329 3a0a s(self, *args):. │ │ │ +00070420: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ +00070430: 2020 2020 2064 6973 706c 6179 5f63 6f6c display_col │ │ │ +00070440: 756d 6e73 2846 6c5f 5465 726d 696e 616c umns(Fl_Terminal │ │ │ +00070450: 2073 656c 6629 202d 3e20 696e 740a 2020 self) -> int. │ │ │ +00070460: 2020 2020 2020 6469 7370 6c61 795f 636f display_co │ │ │ +00070470: 6c75 6d6e 7328 466c 5f54 6572 6d69 6e61 lumns(Fl_Termina │ │ │ +00070480: 6c20 7365 6c66 2c20 696e 7420 7661 6c29 l self, int val) │ │ │ +00070490: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ +000704a0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +000704b0: 6b2e 466c 5f54 6572 6d69 6e61 6c5f 6469 k.Fl_Terminal_di │ │ │ +000704c0: 7370 6c61 795f 636f 6c75 6d6e 7328 7365 splay_columns(se │ │ │ +000704d0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +000704e0: 6465 6620 626f 7828 7365 6c66 2c20 2a61 def box(self, *a │ │ │ +000704f0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00070500: 2222 0a20 2020 2020 2020 2062 6f78 2846 "". box(F │ │ │ +00070510: 6c5f 5465 726d 696e 616c 2073 656c 662c l_Terminal self, │ │ │ +00070520: 2046 6c5f 426f 7874 7970 6520 7661 6c29 Fl_Boxtype val) │ │ │ +00070530: 0a20 2020 2020 2020 2062 6f78 2846 6c5f . box(Fl_ │ │ │ +00070540: 5465 726d 696e 616c 2073 656c 6629 202d Terminal self) - │ │ │ +00070550: 3e20 466c 5f42 6f78 7479 7065 0a20 2020 > Fl_Boxtype. │ │ │ +00070560: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ +00070570: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +00070580: 5f54 6572 6d69 6e61 6c5f 626f 7828 7365 _Terminal_box(se │ │ │ +00070590: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +000705a0: 6465 6620 6d61 7267 696e 5f6c 6566 7428 def margin_left( │ │ │ +000705b0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +000705c0: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ 000705d0: 2020 206d 6172 6769 6e5f 6c65 6674 2846 margin_left(F │ │ │ -000705e0: 6c5f 5465 726d 696e 616c 2073 656c 662c l_Terminal self, │ │ │ -000705f0: 2069 6e74 2076 616c 290a 2020 2020 2020 int val). │ │ │ -00070600: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ -00070610: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ -00070620: 726d 696e 616c 5f6d 6172 6769 6e5f 6c65 rminal_margin_le │ │ │ -00070630: 6674 2873 656c 662c 202a 6172 6773 290a ft(self, *args). │ │ │ -00070640: 0a20 2020 2064 6566 206d 6172 6769 6e5f . def margin_ │ │ │ -00070650: 7269 6768 7428 7365 6c66 2c20 2a61 7267 right(self, *arg │ │ │ -00070660: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -00070670: 0a20 2020 2020 2020 206d 6172 6769 6e5f . margin_ │ │ │ -00070680: 7269 6768 7428 466c 5f54 6572 6d69 6e61 right(Fl_Termina │ │ │ -00070690: 6c20 7365 6c66 2920 2d3e 2069 6e74 0a20 l self) -> int. │ │ │ -000706a0: 2020 2020 2020 206d 6172 6769 6e5f 7269 margin_ri │ │ │ -000706b0: 6768 7428 466c 5f54 6572 6d69 6e61 6c20 ght(Fl_Terminal │ │ │ -000706c0: 7365 6c66 2c20 696e 7420 7661 6c29 0a20 self, int val). │ │ │ -000706d0: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ -000706e0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -000706f0: 466c 5f54 6572 6d69 6e61 6c5f 6d61 7267 Fl_Terminal_marg │ │ │ -00070700: 696e 5f72 6967 6874 2873 656c 662c 202a in_right(self, * │ │ │ -00070710: 6172 6773 290a 0a20 2020 2064 6566 206d args).. def m │ │ │ -00070720: 6172 6769 6e5f 746f 7028 7365 6c66 2c20 argin_top(self, │ │ │ -00070730: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00070740: 7222 2222 0a20 2020 2020 2020 206d 6172 r""". mar │ │ │ -00070750: 6769 6e5f 746f 7028 466c 5f54 6572 6d69 gin_top(Fl_Termi │ │ │ -00070760: 6e61 6c20 7365 6c66 2920 2d3e 2069 6e74 nal self) -> int │ │ │ -00070770: 0a20 2020 2020 2020 206d 6172 6769 6e5f . margin_ │ │ │ -00070780: 746f 7028 466c 5f54 6572 6d69 6e61 6c20 top(Fl_Terminal │ │ │ -00070790: 7365 6c66 2c20 696e 7420 7661 6c29 0a20 self, int val). │ │ │ -000707a0: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ -000707b0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -000707c0: 466c 5f54 6572 6d69 6e61 6c5f 6d61 7267 Fl_Terminal_marg │ │ │ -000707d0: 696e 5f74 6f70 2873 656c 662c 202a 6172 in_top(self, *ar │ │ │ -000707e0: 6773 290a 0a20 2020 2064 6566 206d 6172 gs).. def mar │ │ │ -000707f0: 6769 6e5f 626f 7474 6f6d 2873 656c 662c gin_bottom(self, │ │ │ -00070800: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00070810: 2072 2222 220a 2020 2020 2020 2020 6d61 r""". ma │ │ │ -00070820: 7267 696e 5f62 6f74 746f 6d28 466c 5f54 rgin_bottom(Fl_T │ │ │ -00070830: 6572 6d69 6e61 6c20 7365 6c66 2920 2d3e erminal self) -> │ │ │ -00070840: 2069 6e74 0a20 2020 2020 2020 206d 6172 int. mar │ │ │ -00070850: 6769 6e5f 626f 7474 6f6d 2846 6c5f 5465 gin_bottom(Fl_Te │ │ │ -00070860: 726d 696e 616c 2073 656c 662c 2069 6e74 rminal self, int │ │ │ -00070870: 2076 616c 290a 2020 2020 2020 2020 2222 val). "" │ │ │ -00070880: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00070890: 205f 666c 746b 2e46 6c5f 5465 726d 696e _fltk.Fl_Termin │ │ │ -000708a0: 616c 5f6d 6172 6769 6e5f 626f 7474 6f6d al_margin_bottom │ │ │ -000708b0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -000708c0: 2020 2064 6566 2074 6578 7466 6f6e 7428 def textfont( │ │ │ -000708d0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -000708e0: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ -000708f0: 2020 2074 6578 7466 6f6e 7428 466c 5f54 textfont(Fl_T │ │ │ -00070900: 6572 6d69 6e61 6c20 7365 6c66 2c20 466c erminal self, Fl │ │ │ -00070910: 5f46 6f6e 7420 7661 6c29 0a20 2020 2020 _Font val). │ │ │ -00070920: 2020 2074 6578 7466 6f6e 7428 466c 5f54 textfont(Fl_T │ │ │ -00070930: 6572 6d69 6e61 6c20 7365 6c66 2920 2d3e erminal self) -> │ │ │ -00070940: 2046 6c5f 466f 6e74 0a20 2020 2020 2020 Fl_Font. │ │ │ -00070950: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ -00070960: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6572 urn _fltk.Fl_Ter │ │ │ -00070970: 6d69 6e61 6c5f 7465 7874 666f 6e74 2873 minal_textfont(s │ │ │ -00070980: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -00070990: 2064 6566 2074 6578 7473 697a 6528 7365 def textsize(se │ │ │ -000709a0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -000709b0: 2020 2020 7222 2222 0a20 2020 2020 2020 r""". │ │ │ -000709c0: 2074 6578 7473 697a 6528 466c 5f54 6572 textsize(Fl_Ter │ │ │ -000709d0: 6d69 6e61 6c20 7365 6c66 2c20 466c 5f46 minal self, Fl_F │ │ │ -000709e0: 6f6e 7473 697a 6520 7661 6c29 0a20 2020 ontsize val). │ │ │ -000709f0: 2020 2020 2074 6578 7473 697a 6528 466c textsize(Fl │ │ │ -00070a00: 5f54 6572 6d69 6e61 6c20 7365 6c66 2920 _Terminal self) │ │ │ -00070a10: 2d3e 2046 6c5f 466f 6e74 7369 7a65 0a20 -> Fl_Fontsize. │ │ │ -00070a20: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ -00070a30: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00070a40: 466c 5f54 6572 6d69 6e61 6c5f 7465 7874 Fl_Terminal_text │ │ │ -00070a50: 7369 7a65 2873 656c 662c 202a 6172 6773 size(self, *args │ │ │ -00070a60: 290a 0a20 2020 2064 6566 2063 6f6c 6f72 ).. def color │ │ │ -00070a70: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -00070a80: 2020 2020 2020 2072 2222 220a 2020 2020 r""". │ │ │ -00070a90: 2020 2020 636f 6c6f 7228 466c 5f54 6572 color(Fl_Ter │ │ │ -00070aa0: 6d69 6e61 6c20 7365 6c66 2c20 466c 5f43 minal self, Fl_C │ │ │ -00070ab0: 6f6c 6f72 2076 616c 290a 2020 2020 2020 olor val). │ │ │ -00070ac0: 2020 636f 6c6f 7228 466c 5f54 6572 6d69 color(Fl_Termi │ │ │ -00070ad0: 6e61 6c20 7365 6c66 2920 2d3e 2046 6c5f nal self) -> Fl_ │ │ │ -00070ae0: 436f 6c6f 720a 2020 2020 2020 2020 2222 Color. "" │ │ │ -00070af0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00070b00: 205f 666c 746b 2e46 6c5f 5465 726d 696e _fltk.Fl_Termin │ │ │ -00070b10: 616c 5f63 6f6c 6f72 2873 656c 662c 202a al_color(self, * │ │ │ -00070b20: 6172 6773 290a 0a20 2020 2064 6566 2074 args).. def t │ │ │ -00070b30: 6578 7463 6f6c 6f72 2873 656c 662c 202a extcolor(self, * │ │ │ -00070b40: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00070b50: 2222 220a 2020 2020 2020 2020 7465 7874 """. text │ │ │ -00070b60: 636f 6c6f 7228 466c 5f54 6572 6d69 6e61 color(Fl_Termina │ │ │ -00070b70: 6c20 7365 6c66 2c20 466c 5f43 6f6c 6f72 l self, Fl_Color │ │ │ -00070b80: 2076 616c 290a 2020 2020 2020 2020 7465 val). te │ │ │ -00070b90: 7874 636f 6c6f 7228 466c 5f54 6572 6d69 xtcolor(Fl_Termi │ │ │ -00070ba0: 6e61 6c20 7365 6c66 2920 2d3e 2046 6c5f nal self) -> Fl_ │ │ │ -00070bb0: 436f 6c6f 720a 2020 2020 2020 2020 2222 Color. "" │ │ │ -00070bc0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00070bd0: 205f 666c 746b 2e46 6c5f 5465 726d 696e _fltk.Fl_Termin │ │ │ -00070be0: 616c 5f74 6578 7463 6f6c 6f72 2873 656c al_textcolor(sel │ │ │ -00070bf0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -00070c00: 6566 2074 6578 7466 6763 6f6c 6f72 2873 ef textfgcolor(s │ │ │ -00070c10: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00070c20: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ -00070c30: 2020 7465 7874 6667 636f 6c6f 7228 466c textfgcolor(Fl │ │ │ -00070c40: 5f54 6572 6d69 6e61 6c20 7365 6c66 2c20 _Terminal self, │ │ │ -00070c50: 466c 5f43 6f6c 6f72 2076 616c 290a 2020 Fl_Color val). │ │ │ -00070c60: 2020 2020 2020 7465 7874 6667 636f 6c6f textfgcolo │ │ │ -00070c70: 7228 466c 5f54 6572 6d69 6e61 6c20 7365 r(Fl_Terminal se │ │ │ -00070c80: 6c66 2920 2d3e 2046 6c5f 436f 6c6f 720a lf) -> Fl_Color. │ │ │ -00070c90: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ -00070ca0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00070cb0: 2e46 6c5f 5465 726d 696e 616c 5f74 6578 .Fl_Terminal_tex │ │ │ -00070cc0: 7466 6763 6f6c 6f72 2873 656c 662c 202a tfgcolor(self, * │ │ │ -00070cd0: 6172 6773 290a 0a20 2020 2064 6566 2074 args).. def t │ │ │ -00070ce0: 6578 7462 6763 6f6c 6f72 2873 656c 662c extbgcolor(self, │ │ │ -00070cf0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00070d00: 2072 2222 220a 2020 2020 2020 2020 7465 r""". te │ │ │ -00070d10: 7874 6267 636f 6c6f 7228 466c 5f54 6572 xtbgcolor(Fl_Ter │ │ │ -00070d20: 6d69 6e61 6c20 7365 6c66 2c20 466c 5f43 minal self, Fl_C │ │ │ -00070d30: 6f6c 6f72 2076 616c 290a 2020 2020 2020 olor val). │ │ │ -00070d40: 2020 7465 7874 6267 636f 6c6f 7228 466c textbgcolor(Fl │ │ │ -00070d50: 5f54 6572 6d69 6e61 6c20 7365 6c66 2920 _Terminal self) │ │ │ -00070d60: 2d3e 2046 6c5f 436f 6c6f 720a 2020 2020 -> Fl_Color. │ │ │ -00070d70: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ -00070d80: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00070d90: 5465 726d 696e 616c 5f74 6578 7462 6763 Terminal_textbgc │ │ │ -00070da0: 6f6c 6f72 2873 656c 662c 202a 6172 6773 olor(self, *args │ │ │ -00070db0: 290a 0a20 2020 2064 6566 2074 6578 7466 ).. def textf │ │ │ -00070dc0: 6763 6f6c 6f72 5f64 6566 6175 6c74 2873 gcolor_default(s │ │ │ -00070dd0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00070de0: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ -00070df0: 2020 7465 7874 6667 636f 6c6f 725f 6465 textfgcolor_de │ │ │ -00070e00: 6661 756c 7428 466c 5f54 6572 6d69 6e61 fault(Fl_Termina │ │ │ -00070e10: 6c20 7365 6c66 2c20 466c 5f43 6f6c 6f72 l self, Fl_Color │ │ │ -00070e20: 2076 616c 290a 2020 2020 2020 2020 7465 val). te │ │ │ -00070e30: 7874 6667 636f 6c6f 725f 6465 6661 756c xtfgcolor_defaul │ │ │ -00070e40: 7428 466c 5f54 6572 6d69 6e61 6c20 7365 t(Fl_Terminal se │ │ │ -00070e50: 6c66 2920 2d3e 2046 6c5f 436f 6c6f 720a lf) -> Fl_Color. │ │ │ -00070e60: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ -00070e70: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00070e80: 2e46 6c5f 5465 726d 696e 616c 5f74 6578 .Fl_Terminal_tex │ │ │ -00070e90: 7466 6763 6f6c 6f72 5f64 6566 6175 6c74 tfgcolor_default │ │ │ -00070ea0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -00070eb0: 2020 2064 6566 2074 6578 7462 6763 6f6c def textbgcol │ │ │ -00070ec0: 6f72 5f64 6566 6175 6c74 2873 656c 662c or_default(self, │ │ │ -00070ed0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00070ee0: 2072 2222 220a 2020 2020 2020 2020 7465 r""". te │ │ │ -00070ef0: 7874 6267 636f 6c6f 725f 6465 6661 756c xtbgcolor_defaul │ │ │ -00070f00: 7428 466c 5f54 6572 6d69 6e61 6c20 7365 t(Fl_Terminal se │ │ │ -00070f10: 6c66 2c20 466c 5f43 6f6c 6f72 2076 616c lf, Fl_Color val │ │ │ -00070f20: 290a 2020 2020 2020 2020 7465 7874 6267 ). textbg │ │ │ -00070f30: 636f 6c6f 725f 6465 6661 756c 7428 466c color_default(Fl │ │ │ -00070f40: 5f54 6572 6d69 6e61 6c20 7365 6c66 2920 _Terminal self) │ │ │ -00070f50: 2d3e 2046 6c5f 436f 6c6f 720a 2020 2020 -> Fl_Color. │ │ │ -00070f60: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ -00070f70: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00070f80: 5465 726d 696e 616c 5f74 6578 7462 6763 Terminal_textbgc │ │ │ -00070f90: 6f6c 6f72 5f64 6566 6175 6c74 2873 656c olor_default(sel │ │ │ -00070fa0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -00070fb0: 6566 2074 6578 7466 6763 6f6c 6f72 5f78 ef textfgcolor_x │ │ │ -00070fc0: 7465 726d 2873 656c 662c 202a 6172 6773 term(self, *args │ │ │ -00070fd0: 293a 0a20 2020 2020 2020 2072 2222 2274 ):. r"""t │ │ │ -00070fe0: 6578 7466 6763 6f6c 6f72 5f78 7465 726d extfgcolor_xterm │ │ │ -00070ff0: 2846 6c5f 5465 726d 696e 616c 2073 656c (Fl_Terminal sel │ │ │ -00071000: 662c 2075 6368 6172 2076 616c 2922 2222 f, uchar val)""" │ │ │ -00071010: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00071020: 5f66 6c74 6b2e 466c 5f54 6572 6d69 6e61 _fltk.Fl_Termina │ │ │ -00071030: 6c5f 7465 7874 6667 636f 6c6f 725f 7874 l_textfgcolor_xt │ │ │ -00071040: 6572 6d28 7365 6c66 2c20 2a61 7267 7329 erm(self, *args) │ │ │ -00071050: 0a0a 2020 2020 6465 6620 7465 7874 6267 .. def textbg │ │ │ -00071060: 636f 6c6f 725f 7874 6572 6d28 7365 6c66 color_xterm(self │ │ │ -00071070: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -00071080: 2020 7222 2222 7465 7874 6267 636f 6c6f r"""textbgcolo │ │ │ -00071090: 725f 7874 6572 6d28 466c 5f54 6572 6d69 r_xterm(Fl_Termi │ │ │ -000710a0: 6e61 6c20 7365 6c66 2c20 7563 6861 7220 nal self, uchar │ │ │ -000710b0: 7661 6c29 2222 220a 2020 2020 2020 2020 val)""". │ │ │ -000710c0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -000710d0: 5465 726d 696e 616c 5f74 6578 7462 6763 Terminal_textbgc │ │ │ -000710e0: 6f6c 6f72 5f78 7465 726d 2873 656c 662c olor_xterm(self, │ │ │ -000710f0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00071100: 2073 656c 6563 7469 6f6e 6667 636f 6c6f selectionfgcolo │ │ │ -00071110: 7228 7365 6c66 2c20 2a61 7267 7329 3a0a r(self, *args):. │ │ │ -00071120: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ -00071130: 2020 2020 2073 656c 6563 7469 6f6e 6667 selectionfg │ │ │ -00071140: 636f 6c6f 7228 466c 5f54 6572 6d69 6e61 color(Fl_Termina │ │ │ -00071150: 6c20 7365 6c66 2c20 466c 5f43 6f6c 6f72 l self, Fl_Color │ │ │ -00071160: 2076 616c 290a 2020 2020 2020 2020 7365 val). se │ │ │ -00071170: 6c65 6374 696f 6e66 6763 6f6c 6f72 2846 lectionfgcolor(F │ │ │ -00071180: 6c5f 5465 726d 696e 616c 2073 656c 6629 l_Terminal self) │ │ │ -00071190: 202d 3e20 466c 5f43 6f6c 6f72 0a20 2020 -> Fl_Color. │ │ │ -000711a0: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ -000711b0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -000711c0: 5f54 6572 6d69 6e61 6c5f 7365 6c65 6374 _Terminal_select │ │ │ -000711d0: 696f 6e66 6763 6f6c 6f72 2873 656c 662c ionfgcolor(self, │ │ │ -000711e0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -000711f0: 2073 656c 6563 7469 6f6e 6267 636f 6c6f selectionbgcolo │ │ │ -00071200: 7228 7365 6c66 2c20 2a61 7267 7329 3a0a r(self, *args):. │ │ │ -00071210: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ -00071220: 2020 2020 2073 656c 6563 7469 6f6e 6267 selectionbg │ │ │ -00071230: 636f 6c6f 7228 466c 5f54 6572 6d69 6e61 color(Fl_Termina │ │ │ -00071240: 6c20 7365 6c66 2c20 466c 5f43 6f6c 6f72 l self, Fl_Color │ │ │ -00071250: 2076 616c 290a 2020 2020 2020 2020 7365 val). se │ │ │ -00071260: 6c65 6374 696f 6e62 6763 6f6c 6f72 2846 lectionbgcolor(F │ │ │ -00071270: 6c5f 5465 726d 696e 616c 2073 656c 6629 l_Terminal self) │ │ │ -00071280: 202d 3e20 466c 5f43 6f6c 6f72 0a20 2020 -> Fl_Color. │ │ │ -00071290: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ -000712a0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -000712b0: 5f54 6572 6d69 6e61 6c5f 7365 6c65 6374 _Terminal_select │ │ │ -000712c0: 696f 6e62 6763 6f6c 6f72 2873 656c 662c ionbgcolor(self, │ │ │ -000712d0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -000712e0: 2074 6578 7461 7474 7269 6228 7365 6c66 textattrib(self │ │ │ -000712f0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -00071300: 2020 7222 2222 0a20 2020 2020 2020 2074 r""". t │ │ │ -00071310: 6578 7461 7474 7269 6228 466c 5f54 6572 extattrib(Fl_Ter │ │ │ -00071320: 6d69 6e61 6c20 7365 6c66 2c20 7563 6861 minal self, ucha │ │ │ -00071330: 7220 7661 6c29 0a20 2020 2020 2020 2074 r val). t │ │ │ -00071340: 6578 7461 7474 7269 6228 466c 5f54 6572 extattrib(Fl_Ter │ │ │ -00071350: 6d69 6e61 6c20 7365 6c66 2920 2d3e 2075 minal self) -> u │ │ │ -00071360: 6368 6172 0a20 2020 2020 2020 2022 2222 char. """ │ │ │ -00071370: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00071380: 5f66 6c74 6b2e 466c 5f54 6572 6d69 6e61 _fltk.Fl_Termina │ │ │ -00071390: 6c5f 7465 7874 6174 7472 6962 2873 656c l_textattrib(sel │ │ │ -000713a0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -000713b0: 6566 2072 6564 7261 775f 7374 796c 6528 ef redraw_style( │ │ │ -000713c0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -000713d0: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ -000713e0: 2020 2072 6564 7261 775f 7374 796c 6528 redraw_style( │ │ │ -000713f0: 466c 5f54 6572 6d69 6e61 6c20 7365 6c66 Fl_Terminal self │ │ │ -00071400: 2920 2d3e 2046 6c5f 5465 726d 696e 616c ) -> Fl_Terminal │ │ │ -00071410: 3a3a 5265 6472 6177 5374 796c 650a 2020 ::RedrawStyle. │ │ │ -00071420: 2020 2020 2020 7265 6472 6177 5f73 7479 redraw_sty │ │ │ -00071430: 6c65 2846 6c5f 5465 726d 696e 616c 2073 le(Fl_Terminal s │ │ │ -00071440: 656c 662c 2046 6c5f 5465 726d 696e 616c elf, Fl_Terminal │ │ │ -00071450: 3a3a 5265 6472 6177 5374 796c 6520 7661 ::RedrawStyle va │ │ │ -00071460: 6c29 0a20 2020 2020 2020 2022 2222 0a20 l). """. │ │ │ -00071470: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -00071480: 6c74 6b2e 466c 5f54 6572 6d69 6e61 6c5f ltk.Fl_Terminal_ │ │ │ -00071490: 7265 6472 6177 5f73 7479 6c65 2873 656c redraw_style(sel │ │ │ -000714a0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -000714b0: 6566 2072 6564 7261 775f 7261 7465 2873 ef redraw_rate(s │ │ │ -000714c0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -000714d0: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ -000714e0: 2020 7265 6472 6177 5f72 6174 6528 466c redraw_rate(Fl │ │ │ -000714f0: 5f54 6572 6d69 6e61 6c20 7365 6c66 2920 _Terminal self) │ │ │ -00071500: 2d3e 2066 6c6f 6174 0a20 2020 2020 2020 -> float. │ │ │ -00071510: 2072 6564 7261 775f 7261 7465 2846 6c5f redraw_rate(Fl_ │ │ │ -00071520: 5465 726d 696e 616c 2073 656c 662c 2066 Terminal self, f │ │ │ -00071530: 6c6f 6174 2076 616c 290a 2020 2020 2020 loat val). │ │ │ -00071540: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ -00071550: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ -00071560: 726d 696e 616c 5f72 6564 7261 775f 7261 rminal_redraw_ra │ │ │ -00071570: 7465 2873 656c 662c 202a 6172 6773 290a te(self, *args). │ │ │ -00071580: 0a20 2020 2064 6566 2073 686f 775f 756e . def show_un │ │ │ -00071590: 6b6e 6f77 6e28 7365 6c66 2c20 2a61 7267 known(self, *arg │ │ │ -000715a0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -000715b0: 0a20 2020 2020 2020 2073 686f 775f 756e . show_un │ │ │ -000715c0: 6b6e 6f77 6e28 466c 5f54 6572 6d69 6e61 known(Fl_Termina │ │ │ -000715d0: 6c20 7365 6c66 2920 2d3e 2062 6f6f 6c0a l self) -> bool. │ │ │ -000715e0: 2020 2020 2020 2020 7368 6f77 5f75 6e6b show_unk │ │ │ -000715f0: 6e6f 776e 2846 6c5f 5465 726d 696e 616c nown(Fl_Terminal │ │ │ -00071600: 2073 656c 662c 2062 6f6f 6c20 7661 6c29 self, bool val) │ │ │ -00071610: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ -00071620: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -00071630: 6b2e 466c 5f54 6572 6d69 6e61 6c5f 7368 k.Fl_Terminal_sh │ │ │ -00071640: 6f77 5f75 6e6b 6e6f 776e 2873 656c 662c ow_unknown(self, │ │ │ -00071650: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00071660: 2065 7272 6f72 5f63 6861 7228 7365 6c66 error_char(self │ │ │ -00071670: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -00071680: 2020 7222 2222 0a20 2020 2020 2020 2065 r""". e │ │ │ -00071690: 7272 6f72 5f63 6861 7228 466c 5f54 6572 rror_char(Fl_Ter │ │ │ -000716a0: 6d69 6e61 6c20 7365 6c66 2c20 6368 6172 minal self, char │ │ │ -000716b0: 2063 6f6e 7374 202a 2076 616c 290a 2020 const * val). │ │ │ -000716c0: 2020 2020 2020 6572 726f 725f 6368 6172 error_char │ │ │ -000716d0: 2846 6c5f 5465 726d 696e 616c 2073 656c (Fl_Terminal sel │ │ │ -000716e0: 6629 202d 3e20 6368 6172 2063 6f6e 7374 f) -> char const │ │ │ -000716f0: 202a 0a20 2020 2020 2020 2022 2222 0a20 *. """. │ │ │ -00071700: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -00071710: 6c74 6b2e 466c 5f54 6572 6d69 6e61 6c5f ltk.Fl_Terminal_ │ │ │ -00071720: 6572 726f 725f 6368 6172 2873 656c 662c error_char(self, │ │ │ -00071730: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00071740: 2061 6e73 6928 7365 6c66 2c20 2a61 7267 ansi(self, *arg │ │ │ -00071750: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -00071760: 0a20 2020 2020 2020 2061 6e73 6928 466c . ansi(Fl │ │ │ -00071770: 5f54 6572 6d69 6e61 6c20 7365 6c66 2920 _Terminal self) │ │ │ -00071780: 2d3e 2062 6f6f 6c0a 2020 2020 2020 2020 -> bool. │ │ │ -00071790: 616e 7369 2846 6c5f 5465 726d 696e 616c ansi(Fl_Terminal │ │ │ -000717a0: 2073 656c 662c 2062 6f6f 6c20 7661 6c29 self, bool val) │ │ │ -000717b0: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ -000717c0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -000717d0: 6b2e 466c 5f54 6572 6d69 6e61 6c5f 616e k.Fl_Terminal_an │ │ │ -000717e0: 7369 2873 656c 662c 202a 6172 6773 290a si(self, *args). │ │ │ -000717f0: 0a20 2020 2064 6566 2068 6973 746f 7279 . def history │ │ │ -00071800: 5f6c 696e 6573 2873 656c 662c 202a 6172 _lines(self, *ar │ │ │ -00071810: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -00071820: 220a 2020 2020 2020 2020 6869 7374 6f72 ". histor │ │ │ -00071830: 795f 6c69 6e65 7328 466c 5f54 6572 6d69 y_lines(Fl_Termi │ │ │ -00071840: 6e61 6c20 7365 6c66 2920 2d3e 2069 6e74 nal self) -> int │ │ │ -00071850: 0a20 2020 2020 2020 2068 6973 746f 7279 . history │ │ │ -00071860: 5f6c 696e 6573 2846 6c5f 5465 726d 696e _lines(Fl_Termin │ │ │ -00071870: 616c 2073 656c 662c 2069 6e74 2076 616c al self, int val │ │ │ -00071880: 290a 2020 2020 2020 2020 2222 220a 2020 ). """. │ │ │ -00071890: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -000718a0: 746b 2e46 6c5f 5465 726d 696e 616c 5f68 tk.Fl_Terminal_h │ │ │ -000718b0: 6973 746f 7279 5f6c 696e 6573 2873 656c istory_lines(sel │ │ │ -000718c0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -000718d0: 6566 2070 7269 6e74 6628 7365 6c66 2c20 ef printf(self, │ │ │ -000718e0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -000718f0: 7222 2222 7072 696e 7466 2846 6c5f 5465 r"""printf(Fl_Te │ │ │ -00071900: 726d 696e 616c 2073 656c 662c 2063 6861 rminal self, cha │ │ │ -00071910: 7220 636f 6e73 7420 2a20 666d 7429 2222 r const * fmt)"" │ │ │ -00071920: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00071930: 205f 666c 746b 2e46 6c5f 5465 726d 696e _fltk.Fl_Termin │ │ │ -00071940: 616c 5f70 7269 6e74 6628 7365 6c66 2c20 al_printf(self, │ │ │ -00071950: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -00071960: 5f5f 696e 6974 5f5f 2873 656c 662c 202a __init__(self, * │ │ │ -00071970: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00071980: 2222 220a 2020 2020 2020 2020 5f5f 696e """. __in │ │ │ -00071990: 6974 5f5f 2846 6c5f 5465 726d 696e 616c it__(Fl_Terminal │ │ │ -000719a0: 2073 656c 662c 2069 6e74 2058 2c20 696e self, int X, in │ │ │ -000719b0: 7420 592c 2069 6e74 2057 2c20 696e 7420 t Y, int W, int │ │ │ -000719c0: 482c 2063 6861 7220 636f 6e73 7420 2a20 H, char const * │ │ │ -000719d0: 4c3d 4e6f 6e65 2920 2d3e 2046 6c5f 5465 L=None) -> Fl_Te │ │ │ -000719e0: 726d 696e 616c 0a20 2020 2020 2020 205f rminal. _ │ │ │ -000719f0: 5f69 6e69 745f 5f28 466c 5f54 6572 6d69 _init__(Fl_Termi │ │ │ -00071a00: 6e61 6c20 7365 6c66 2c20 696e 7420 582c nal self, int X, │ │ │ -00071a10: 2069 6e74 2059 2c20 696e 7420 572c 2069 int Y, int W, i │ │ │ -00071a20: 6e74 2048 2c20 6368 6172 2063 6f6e 7374 nt H, char const │ │ │ -00071a30: 202a 204c 2c20 696e 7420 726f 7773 2c20 * L, int rows, │ │ │ -00071a40: 696e 7420 636f 6c73 2c20 696e 7420 6869 int cols, int hi │ │ │ -00071a50: 7374 2920 2d3e 2046 6c5f 5465 726d 696e st) -> Fl_Termin │ │ │ -00071a60: 616c 0a20 2020 2020 2020 2022 2222 0a20 al. """. │ │ │ -00071a70: 2020 2020 2020 2069 6620 7365 6c66 2e5f if self._ │ │ │ -00071a80: 5f63 6c61 7373 5f5f 203d 3d20 466c 5f54 _class__ == Fl_T │ │ │ -00071a90: 6572 6d69 6e61 6c3a 0a20 2020 2020 2020 erminal:. │ │ │ -00071aa0: 2020 2020 205f 7365 6c66 203d 204e 6f6e _self = Non │ │ │ -00071ab0: 650a 2020 2020 2020 2020 656c 7365 3a0a e. else:. │ │ │ -00071ac0: 2020 2020 2020 2020 2020 2020 5f73 656c _sel │ │ │ -00071ad0: 6620 3d20 7365 6c66 0a20 2020 2020 2020 f = self. │ │ │ -00071ae0: 205f 666c 746b 2e46 6c5f 5465 726d 696e _fltk.Fl_Termin │ │ │ -00071af0: 616c 5f73 7769 6769 6e69 7428 7365 6c66 al_swiginit(self │ │ │ -00071b00: 2c20 5f66 6c74 6b2e 6e65 775f 466c 5f54 , _fltk.new_Fl_T │ │ │ -00071b10: 6572 6d69 6e61 6c28 5f73 656c 662c 202a erminal(_self, * │ │ │ -00071b20: 6172 6773 2929 0a0a 2020 2020 2020 2020 args)).. │ │ │ -00071b30: 6966 206c 656e 2861 7267 7329 203d 3d20 if len(args) == │ │ │ -00071b40: 353a 2020 2020 2020 2020 2020 0a20 2020 5: . │ │ │ -00071b50: 2020 2020 2023 7265 7461 696e 2072 6566 #retain ref │ │ │ -00071b60: 6572 656e 6365 2074 6f20 6c61 6265 6c0a erence to label. │ │ │ -00071b70: 2020 2020 2020 2020 2020 2020 7365 6c66 self │ │ │ -00071b80: 2e6d 795f 6c61 6265 6c20 3d20 6172 6773 .my_label = args │ │ │ -00071b90: 5b2d 315d 0a20 2020 2020 2020 2069 6620 [-1]. if │ │ │ -00071ba0: 7365 6c66 2e70 6172 656e 7428 2920 213d self.parent() != │ │ │ -00071bb0: 204e 6f6e 653a 2020 200a 2020 2020 2020 None: . │ │ │ -00071bc0: 2020 2364 656c 6567 6174 6520 6f77 6e65 #delegate owne │ │ │ -00071bd0: 7273 6869 7020 746f 2043 2b2b 0a20 2020 rship to C++. │ │ │ -00071be0: 2020 2020 2020 2020 2073 656c 662e 7468 self.th │ │ │ -00071bf0: 6973 2e64 6973 6f77 6e28 290a 2020 2020 is.disown(). │ │ │ -00071c00: 2020 2020 7365 6c66 2e69 6e69 745f 7479 self.init_ty │ │ │ -00071c10: 7065 2822 466c 5f54 6572 6d69 6e61 6c22 pe("Fl_Terminal" │ │ │ -00071c20: 290a 2020 2020 2020 2020 2370 7269 6e74 ). #print │ │ │ -00071c30: 2822 4164 6469 6e67 2074 7970 653a 2022 ("Adding type: " │ │ │ -00071c40: 2c20 466c 5f54 6572 6d69 6e61 6c29 0a0a , Fl_Terminal).. │ │ │ -00071c50: 0a0a 2020 2020 5f5f 7377 6967 5f64 6573 .. __swig_des │ │ │ -00071c60: 7472 6f79 5f5f 203d 205f 666c 746b 2e64 troy__ = _fltk.d │ │ │ -00071c70: 656c 6574 655f 466c 5f54 6572 6d69 6e61 elete_Fl_Termina │ │ │ -00071c80: 6c0a 0a20 2020 2064 6566 2069 6e69 745f l.. def init_ │ │ │ -00071c90: 7479 7065 2873 656c 662c 202a 6172 6773 type(self, *args │ │ │ -00071ca0: 293a 0a20 2020 2020 2020 2072 2222 2269 ):. r"""i │ │ │ -00071cb0: 6e69 745f 7479 7065 2846 6c5f 5465 726d nit_type(Fl_Term │ │ │ -00071cc0: 696e 616c 2073 656c 662c 2063 6861 7220 inal self, char │ │ │ -00071cd0: 2a20 466c 5f54 6572 6d69 6e61 6c29 2222 * Fl_Terminal)"" │ │ │ -00071ce0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00071cf0: 205f 666c 746b 2e46 6c5f 5465 726d 696e _fltk.Fl_Termin │ │ │ -00071d00: 616c 5f69 6e69 745f 7479 7065 2873 656c al_init_type(sel │ │ │ -00071d10: 662c 202a 6172 6773 290a 2020 2020 6465 f, *args). de │ │ │ -00071d20: 6620 5f5f 6469 736f 776e 5f5f 2873 656c f __disown__(sel │ │ │ -00071d30: 6629 3a0a 2020 2020 2020 2020 7365 6c66 f):. self │ │ │ -00071d40: 2e74 6869 732e 6469 736f 776e 2829 0a20 .this.disown(). │ │ │ -00071d50: 2020 2020 2020 205f 666c 746b 2e64 6973 _fltk.dis │ │ │ -00071d60: 6f77 6e5f 466c 5f54 6572 6d69 6e61 6c28 own_Fl_Terminal( │ │ │ -00071d70: 7365 6c66 290a 2020 2020 2020 2020 7265 self). re │ │ │ -00071d80: 7475 726e 2077 6561 6b72 6566 2e70 726f turn weakref.pro │ │ │ -00071d90: 7879 2873 656c 6629 0a0a 2320 5265 6769 xy(self)..# Regi │ │ │ -00071da0: 7374 6572 2046 6c5f 5465 726d 696e 616c ster Fl_Terminal │ │ │ -00071db0: 2069 6e20 5f66 6c74 6b3a 0a5f 666c 746b in _fltk:._fltk │ │ │ -00071dc0: 2e46 6c5f 5465 726d 696e 616c 5f73 7769 .Fl_Terminal_swi │ │ │ -00071dd0: 6772 6567 6973 7465 7228 466c 5f54 6572 gregister(Fl_Ter │ │ │ -00071de0: 6d69 6e61 6c29 0a46 4c5f 5445 5854 5f4d minal).FL_TEXT_M │ │ │ -00071df0: 4158 5f45 5850 5f43 4841 525f 4c45 4e20 AX_EXP_CHAR_LEN │ │ │ -00071e00: 3d20 5f66 6c74 6b2e 464c 5f54 4558 545f = _fltk.FL_TEXT_ │ │ │ -00071e10: 4d41 585f 4558 505f 4348 4152 5f4c 454e MAX_EXP_CHAR_LEN │ │ │ -00071e20: 0a0a 636c 6173 7320 466c 5f54 6578 745f ..class Fl_Text_ │ │ │ -00071e30: 5365 6c65 6374 696f 6e28 6f62 6a65 6374 Selection(object │ │ │ -00071e40: 293a 0a20 2020 2072 2222 2250 726f 7879 ):. r"""Proxy │ │ │ -00071e50: 206f 6620 432b 2b20 466c 5f54 6578 745f of C++ Fl_Text_ │ │ │ -00071e60: 5365 6c65 6374 696f 6e20 636c 6173 732e Selection class. │ │ │ -00071e70: 2222 220a 0a20 2020 2074 6869 736f 776e """.. thisown │ │ │ -00071e80: 203d 2070 726f 7065 7274 7928 6c61 6d62 = property(lamb │ │ │ -00071e90: 6461 2078 3a20 782e 7468 6973 2e6f 776e da x: x.this.own │ │ │ -00071ea0: 2829 2c20 6c61 6d62 6461 2078 2c20 763a (), lambda x, v: │ │ │ -00071eb0: 2078 2e74 6869 732e 6f77 6e28 7629 2c20 x.this.own(v), │ │ │ -00071ec0: 646f 633d 2254 6865 206d 656d 6265 7273 doc="The members │ │ │ -00071ed0: 6869 7020 666c 6167 2229 0a20 2020 205f hip flag"). _ │ │ │ -00071ee0: 5f72 6570 725f 5f20 3d20 5f73 7769 675f _repr__ = _swig_ │ │ │ -00071ef0: 7265 7072 0a0a 2020 2020 6465 6620 7365 repr.. def se │ │ │ -00071f00: 7428 7365 6c66 2c20 2a61 7267 7329 3a0a t(self, *args):. │ │ │ -00071f10: 2020 2020 2020 2020 7222 2222 7365 7428 r"""set( │ │ │ -00071f20: 466c 5f54 6578 745f 5365 6c65 6374 696f Fl_Text_Selectio │ │ │ -00071f30: 6e20 7365 6c66 2c20 696e 7420 7374 6172 n self, int star │ │ │ -00071f40: 7470 6f73 2c20 696e 7420 656e 6470 6f73 tpos, int endpos │ │ │ -00071f50: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ -00071f60: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6578 urn _fltk.Fl_Tex │ │ │ -00071f70: 745f 5365 6c65 6374 696f 6e5f 7365 7428 t_Selection_set( │ │ │ -00071f80: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -00071f90: 2020 6465 6620 7570 6461 7465 2873 656c def update(sel │ │ │ -00071fa0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00071fb0: 2020 2072 2222 2275 7064 6174 6528 466c r"""update(Fl │ │ │ -00071fc0: 5f54 6578 745f 5365 6c65 6374 696f 6e20 _Text_Selection │ │ │ -00071fd0: 7365 6c66 2c20 696e 7420 706f 732c 2069 self, int pos, i │ │ │ -00071fe0: 6e74 206e 4465 6c65 7465 642c 2069 6e74 nt nDeleted, int │ │ │ -00071ff0: 206e 496e 7365 7274 6564 2922 2222 0a20 nInserted)""". │ │ │ -00072000: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -00072010: 6c74 6b2e 466c 5f54 6578 745f 5365 6c65 ltk.Fl_Text_Sele │ │ │ -00072020: 6374 696f 6e5f 7570 6461 7465 2873 656c ction_update(sel │ │ │ -00072030: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -00072040: 6566 2073 7461 7274 2873 656c 662c 202a ef start(self, * │ │ │ -00072050: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00072060: 2222 2273 7461 7274 2846 6c5f 5465 7874 """start(Fl_Text │ │ │ -00072070: 5f53 656c 6563 7469 6f6e 2073 656c 6629 _Selection self) │ │ │ -00072080: 202d 3e20 696e 7422 2222 0a20 2020 2020 -> int""". │ │ │ -00072090: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -000720a0: 466c 5f54 6578 745f 5365 6c65 6374 696f Fl_Text_Selectio │ │ │ -000720b0: 6e5f 7374 6172 7428 7365 6c66 2c20 2a61 n_start(self, *a │ │ │ -000720c0: 7267 7329 0a0a 2020 2020 6465 6620 656e rgs).. def en │ │ │ -000720d0: 6428 7365 6c66 2c20 2a61 7267 7329 3a0a d(self, *args):. │ │ │ -000720e0: 2020 2020 2020 2020 7222 2222 656e 6428 r"""end( │ │ │ -000720f0: 466c 5f54 6578 745f 5365 6c65 6374 696f Fl_Text_Selectio │ │ │ -00072100: 6e20 7365 6c66 2920 2d3e 2069 6e74 2222 n self) -> int"" │ │ │ -00072110: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00072120: 205f 666c 746b 2e46 6c5f 5465 7874 5f53 _fltk.Fl_Text_S │ │ │ -00072130: 656c 6563 7469 6f6e 5f65 6e64 2873 656c election_end(sel │ │ │ -00072140: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -00072150: 6566 206c 656e 6774 6828 7365 6c66 2c20 ef length(self, │ │ │ -00072160: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00072170: 7222 2222 6c65 6e67 7468 2846 6c5f 5465 r"""length(Fl_Te │ │ │ -00072180: 7874 5f53 656c 6563 7469 6f6e 2073 656c xt_Selection sel │ │ │ -00072190: 6629 202d 3e20 696e 7422 2222 0a20 2020 f) -> int""". │ │ │ -000721a0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -000721b0: 6b2e 466c 5f54 6578 745f 5365 6c65 6374 k.Fl_Text_Select │ │ │ -000721c0: 696f 6e5f 6c65 6e67 7468 2873 656c 662c ion_length(self, │ │ │ -000721d0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -000721e0: 2069 6e63 6c75 6465 7328 7365 6c66 2c20 includes(self, │ │ │ -000721f0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00072200: 7222 2222 696e 636c 7564 6573 2846 6c5f r"""includes(Fl_ │ │ │ -00072210: 5465 7874 5f53 656c 6563 7469 6f6e 2073 Text_Selection s │ │ │ -00072220: 656c 662c 2069 6e74 2070 6f73 2920 2d3e elf, int pos) -> │ │ │ -00072230: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ -00072240: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00072250: 5465 7874 5f53 656c 6563 7469 6f6e 5f69 Text_Selection_i │ │ │ -00072260: 6e63 6c75 6465 7328 7365 6c66 2c20 2a61 ncludes(self, *a │ │ │ -00072270: 7267 7329 0a0a 2020 2020 6465 6620 7365 rgs).. def se │ │ │ -00072280: 6c65 6374 6564 2873 656c 662c 202a 6172 lected(self, *ar │ │ │ -00072290: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -000722a0: 220a 2020 2020 2020 2020 7365 6c65 6374 ". select │ │ │ -000722b0: 6564 2846 6c5f 5465 7874 5f53 656c 6563 ed(Fl_Text_Selec │ │ │ -000722c0: 7469 6f6e 2073 656c 6629 202d 3e20 626f tion self) -> bo │ │ │ -000722d0: 6f6c 0a20 2020 2020 2020 2073 656c 6563 ol. selec │ │ │ -000722e0: 7465 6428 466c 5f54 6578 745f 5365 6c65 ted(Fl_Text_Sele │ │ │ -000722f0: 6374 696f 6e20 7365 6c66 2c20 626f 6f6c ction self, bool │ │ │ -00072300: 2062 290a 2020 2020 2020 2020 7365 6c65 b). sele │ │ │ -00072310: 6374 6564 2846 6c5f 5465 7874 5f53 656c cted(Fl_Text_Sel │ │ │ -00072320: 6563 7469 6f6e 2073 656c 662c 2069 6e74 ection self, int │ │ │ -00072330: 202a 2073 7461 7274 706f 732c 2069 6e74 * startpos, int │ │ │ -00072340: 202a 2065 6e64 706f 7329 202d 3e20 696e * endpos) -> in │ │ │ -00072350: 740a 2020 2020 2020 2020 2222 220a 2020 t. """. │ │ │ -00072360: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00072370: 746b 2e46 6c5f 5465 7874 5f53 656c 6563 tk.Fl_Text_Selec │ │ │ -00072380: 7469 6f6e 5f73 656c 6563 7465 6428 7365 tion_selected(se │ │ │ -00072390: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -000723a0: 6465 6620 5f5f 696e 6974 5f5f 2873 656c def __init__(sel │ │ │ -000723b0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -000723c0: 2020 2072 2222 225f 5f69 6e69 745f 5f28 r"""__init__( │ │ │ -000723d0: 466c 5f54 6578 745f 5365 6c65 6374 696f Fl_Text_Selectio │ │ │ -000723e0: 6e20 7365 6c66 2920 2d3e 2046 6c5f 5465 n self) -> Fl_Te │ │ │ -000723f0: 7874 5f53 656c 6563 7469 6f6e 2222 220a xt_Selection""". │ │ │ -00072400: 2020 2020 2020 2020 5f66 6c74 6b2e 466c _fltk.Fl │ │ │ -00072410: 5f54 6578 745f 5365 6c65 6374 696f 6e5f _Text_Selection_ │ │ │ -00072420: 7377 6967 696e 6974 2873 656c 662c 205f swiginit(self, _ │ │ │ -00072430: 666c 746b 2e6e 6577 5f46 6c5f 5465 7874 fltk.new_Fl_Text │ │ │ -00072440: 5f53 656c 6563 7469 6f6e 282a 6172 6773 _Selection(*args │ │ │ -00072450: 2929 0a20 2020 205f 5f73 7769 675f 6465 )). __swig_de │ │ │ -00072460: 7374 726f 795f 5f20 3d20 5f66 6c74 6b2e stroy__ = _fltk. │ │ │ -00072470: 6465 6c65 7465 5f46 6c5f 5465 7874 5f53 delete_Fl_Text_S │ │ │ -00072480: 656c 6563 7469 6f6e 0a0a 2320 5265 6769 election..# Regi │ │ │ -00072490: 7374 6572 2046 6c5f 5465 7874 5f53 656c ster Fl_Text_Sel │ │ │ -000724a0: 6563 7469 6f6e 2069 6e20 5f66 6c74 6b3a ection in _fltk: │ │ │ -000724b0: 0a5f 666c 746b 2e46 6c5f 5465 7874 5f53 ._fltk.Fl_Text_S │ │ │ -000724c0: 656c 6563 7469 6f6e 5f73 7769 6772 6567 election_swigreg │ │ │ -000724d0: 6973 7465 7228 466c 5f54 6578 745f 5365 ister(Fl_Text_Se │ │ │ -000724e0: 6c65 6374 696f 6e29 0a63 6c61 7373 2046 lection).class F │ │ │ -000724f0: 6c5f 5465 7874 5f42 7566 6665 7228 6f62 l_Text_Buffer(ob │ │ │ -00072500: 6a65 6374 293a 0a20 2020 2072 2222 220a ject):. r""". │ │ │ -00072510: 0a20 2020 2054 6865 2046 6c5f 5465 7874 . The Fl_Text │ │ │ -00072520: 5f42 7566 6665 7220 636c 6173 7320 6973 _Buffer class is │ │ │ -00072530: 2075 7365 6420 6279 2074 6865 2046 6c5f used by the Fl_ │ │ │ -00072540: 5465 7874 5f44 6973 706c 6179 2061 6e64 Text_Display and │ │ │ -00072550: 2046 6c5f 5465 7874 5f45 6469 746f 7220 Fl_Text_Editor │ │ │ -00072560: 0a20 2020 2074 6f20 6d61 6e61 6765 2063 . to manage c │ │ │ -00072570: 6f6d 706c 6578 2074 6578 7420 6461 7461 omplex text data │ │ │ -00072580: 2061 6e64 2069 7320 6261 7365 6420 7570 and is based up │ │ │ -00072590: 6f6e 2074 6865 2065 7863 656c 6c65 6e74 on the excellent │ │ │ -000725a0: 204e 4564 6974 2074 6578 7420 0a20 2020 NEdit text . │ │ │ -000725b0: 2065 6469 746f 7220 656e 6769 6e65 202d editor engine - │ │ │ -000725c0: 2073 6565 2068 7474 703a 2f2f 7777 772e see http://www. │ │ │ -000725d0: 6e65 6469 742e 6f72 672f 2e0a 0a20 2020 nedit.org/... │ │ │ -000725e0: 2022 2222 0a0a 2020 2020 7468 6973 6f77 """.. thisow │ │ │ -000725f0: 6e20 3d20 7072 6f70 6572 7479 286c 616d n = property(lam │ │ │ -00072600: 6264 6120 783a 2078 2e74 6869 732e 6f77 bda x: x.this.ow │ │ │ -00072610: 6e28 292c 206c 616d 6264 6120 782c 2076 n(), lambda x, v │ │ │ -00072620: 3a20 782e 7468 6973 2e6f 776e 2876 292c : x.this.own(v), │ │ │ -00072630: 2064 6f63 3d22 5468 6520 6d65 6d62 6572 doc="The member │ │ │ -00072640: 7368 6970 2066 6c61 6722 290a 2020 2020 ship flag"). │ │ │ -00072650: 5f5f 7265 7072 5f5f 203d 205f 7377 6967 __repr__ = _swig │ │ │ -00072660: 5f72 6570 720a 0a20 2020 2064 6566 205f _repr.. def _ │ │ │ -00072670: 5f69 6e69 745f 5f28 7365 6c66 2c20 2a61 _init__(self, *a │ │ │ -00072680: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00072690: 2222 5f5f 696e 6974 5f5f 2846 6c5f 5465 ""__init__(Fl_Te │ │ │ -000726a0: 7874 5f42 7566 6665 7220 7365 6c66 2c20 xt_Buffer self, │ │ │ -000726b0: 696e 7420 7265 7175 6573 7465 6453 697a int requestedSiz │ │ │ -000726c0: 653d 302c 2069 6e74 2070 7265 6665 7272 e=0, int preferr │ │ │ -000726d0: 6564 4761 7053 697a 653d 3130 3234 2920 edGapSize=1024) │ │ │ -000726e0: 2d3e 2046 6c5f 5465 7874 5f42 7566 6665 -> Fl_Text_Buffe │ │ │ -000726f0: 7222 2222 0a20 2020 2020 2020 205f 666c r""". _fl │ │ │ -00072700: 746b 2e46 6c5f 5465 7874 5f42 7566 6665 tk.Fl_Text_Buffe │ │ │ -00072710: 725f 7377 6967 696e 6974 2873 656c 662c r_swiginit(self, │ │ │ -00072720: 205f 666c 746b 2e6e 6577 5f46 6c5f 5465 _fltk.new_Fl_Te │ │ │ -00072730: 7874 5f42 7566 6665 7228 2a61 7267 7329 xt_Buffer(*args) │ │ │ -00072740: 290a 2020 2020 5f5f 7377 6967 5f64 6573 ). __swig_des │ │ │ -00072750: 7472 6f79 5f5f 203d 205f 666c 746b 2e64 troy__ = _fltk.d │ │ │ -00072760: 656c 6574 655f 466c 5f54 6578 745f 4275 elete_Fl_Text_Bu │ │ │ -00072770: 6666 6572 0a0a 2020 2020 6465 6620 6c65 ffer.. def le │ │ │ -00072780: 6e67 7468 2873 656c 662c 202a 6172 6773 ngth(self, *args │ │ │ -00072790: 293a 0a20 2020 2020 2020 2072 2222 226c ):. r"""l │ │ │ -000727a0: 656e 6774 6828 466c 5f54 6578 745f 4275 ength(Fl_Text_Bu │ │ │ -000727b0: 6666 6572 2073 656c 6629 202d 3e20 696e ffer self) -> in │ │ │ -000727c0: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ -000727d0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6578 urn _fltk.Fl_Tex │ │ │ -000727e0: 745f 4275 6666 6572 5f6c 656e 6774 6828 t_Buffer_length( │ │ │ -000727f0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -00072800: 2020 6465 6620 7465 7874 2873 656c 662c def text(self, │ │ │ -00072810: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00072820: 2072 2222 220a 2020 2020 2020 2020 7465 r""". te │ │ │ -00072830: 7874 2846 6c5f 5465 7874 5f42 7566 6665 xt(Fl_Text_Buffe │ │ │ -00072840: 7220 7365 6c66 2920 2d3e 2063 6861 720a r self) -> char. │ │ │ -00072850: 2020 2020 2020 2020 7465 7874 2846 6c5f text(Fl_ │ │ │ -00072860: 5465 7874 5f42 7566 6665 7220 7365 6c66 Text_Buffer self │ │ │ -00072870: 2c20 6368 6172 2063 6f6e 7374 202a 2074 , char const * t │ │ │ -00072880: 6578 7429 0a20 2020 2020 2020 2022 2222 ext). """ │ │ │ -00072890: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -000728a0: 5f66 6c74 6b2e 466c 5f54 6578 745f 4275 _fltk.Fl_Text_Bu │ │ │ -000728b0: 6666 6572 5f74 6578 7428 7365 6c66 2c20 ffer_text(self, │ │ │ -000728c0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -000728d0: 7465 7874 5f72 616e 6765 2873 656c 662c text_range(self, │ │ │ -000728e0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -000728f0: 2072 2222 2274 6578 745f 7261 6e67 6528 r"""text_range( │ │ │ -00072900: 466c 5f54 6578 745f 4275 6666 6572 2073 Fl_Text_Buffer s │ │ │ -00072910: 656c 662c 2069 6e74 2073 7461 7274 2c20 elf, int start, │ │ │ -00072920: 696e 7420 656e 6429 202d 3e20 6368 6172 int end) -> char │ │ │ -00072930: 202a 2222 220a 2020 2020 2020 2020 7265 *""". re │ │ │ -00072940: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ -00072950: 7874 5f42 7566 6665 725f 7465 7874 5f72 xt_Buffer_text_r │ │ │ -00072960: 616e 6765 2873 656c 662c 202a 6172 6773 ange(self, *args │ │ │ -00072970: 290a 0a20 2020 2064 6566 2063 6861 725f ).. def char_ │ │ │ -00072980: 6174 2873 656c 662c 202a 6172 6773 293a at(self, *args): │ │ │ -00072990: 0a20 2020 2020 2020 2072 2222 2263 6861 . r"""cha │ │ │ -000729a0: 725f 6174 2846 6c5f 5465 7874 5f42 7566 r_at(Fl_Text_Buf │ │ │ -000729b0: 6665 7220 7365 6c66 2c20 696e 7420 706f fer self, int po │ │ │ -000729c0: 7329 202d 3e20 756e 7369 676e 6564 2069 s) -> unsigned i │ │ │ -000729d0: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ -000729e0: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ -000729f0: 7874 5f42 7566 6665 725f 6368 6172 5f61 xt_Buffer_char_a │ │ │ -00072a00: 7428 7365 6c66 2c20 2a61 7267 7329 0a0a t(self, *args).. │ │ │ -00072a10: 2020 2020 6465 6620 6279 7465 5f61 7428 def byte_at( │ │ │ -00072a20: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -00072a30: 2020 2020 2020 7222 2222 6279 7465 5f61 r"""byte_a │ │ │ -00072a40: 7428 466c 5f54 6578 745f 4275 6666 6572 t(Fl_Text_Buffer │ │ │ -00072a50: 2073 656c 662c 2069 6e74 2070 6f73 2920 self, int pos) │ │ │ -00072a60: 2d3e 2063 6861 7222 2222 0a20 2020 2020 -> char""". │ │ │ -00072a70: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00072a80: 466c 5f54 6578 745f 4275 6666 6572 5f62 Fl_Text_Buffer_b │ │ │ -00072a90: 7974 655f 6174 2873 656c 662c 202a 6172 yte_at(self, *ar │ │ │ -00072aa0: 6773 290a 0a20 2020 2064 6566 2061 6464 gs).. def add │ │ │ -00072ab0: 7265 7373 2873 656c 662c 202a 6172 6773 ress(self, *args │ │ │ -00072ac0: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ -00072ad0: 2020 2020 2020 2020 6164 6472 6573 7328 address( │ │ │ -00072ae0: 466c 5f54 6578 745f 4275 6666 6572 2073 Fl_Text_Buffer s │ │ │ -00072af0: 656c 662c 2069 6e74 2070 6f73 2920 2d3e elf, int pos) -> │ │ │ -00072b00: 2063 6861 7220 636f 6e73 740a 2020 2020 char const. │ │ │ -00072b10: 2020 2020 6164 6472 6573 7328 466c 5f54 address(Fl_T │ │ │ -00072b20: 6578 745f 4275 6666 6572 2073 656c 662c ext_Buffer self, │ │ │ -00072b30: 2069 6e74 2070 6f73 2920 2d3e 2063 6861 int pos) -> cha │ │ │ -00072b40: 7220 2a0a 2020 2020 2020 2020 2222 220a r *. """. │ │ │ -00072b50: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00072b60: 666c 746b 2e46 6c5f 5465 7874 5f42 7566 fltk.Fl_Text_Buf │ │ │ -00072b70: 6665 725f 6164 6472 6573 7328 7365 6c66 fer_address(self │ │ │ -00072b80: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -00072b90: 6620 696e 7365 7274 2873 656c 662c 202a f insert(self, * │ │ │ -00072ba0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00072bb0: 2222 2269 6e73 6572 7428 466c 5f54 6578 """insert(Fl_Tex │ │ │ -00072bc0: 745f 4275 6666 6572 2073 656c 662c 2069 t_Buffer self, i │ │ │ -00072bd0: 6e74 2070 6f73 2c20 6368 6172 2063 6f6e nt pos, char con │ │ │ -00072be0: 7374 202a 2074 6578 742c 2069 6e74 2069 st * text, int i │ │ │ -00072bf0: 6e73 6572 7465 644c 656e 6774 683d 2d31 nsertedLength=-1 │ │ │ -00072c00: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ -00072c10: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6578 urn _fltk.Fl_Tex │ │ │ -00072c20: 745f 4275 6666 6572 5f69 6e73 6572 7428 t_Buffer_insert( │ │ │ -00072c30: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -00072c40: 2020 6465 6620 6170 7065 6e64 2873 656c def append(sel │ │ │ -00072c50: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00072c60: 2020 2072 2222 2261 7070 656e 6428 466c r"""append(Fl │ │ │ -00072c70: 5f54 6578 745f 4275 6666 6572 2073 656c _Text_Buffer sel │ │ │ -00072c80: 662c 2063 6861 7220 636f 6e73 7420 2a20 f, char const * │ │ │ -00072c90: 742c 2069 6e74 2061 6464 6564 4c65 6e67 t, int addedLeng │ │ │ -00072ca0: 7468 3d2d 3129 2222 220a 2020 2020 2020 th=-1)""". │ │ │ -00072cb0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -00072cc0: 6c5f 5465 7874 5f42 7566 6665 725f 6170 l_Text_Buffer_ap │ │ │ -00072cd0: 7065 6e64 2873 656c 662c 202a 6172 6773 pend(self, *args │ │ │ -00072ce0: 290a 0a20 2020 2064 6566 2070 7269 6e74 ).. def print │ │ │ -00072cf0: 6628 7365 6c66 2c20 2a61 7267 7329 3a0a f(self, *args):. │ │ │ -00072d00: 2020 2020 2020 2020 7222 2222 7072 696e r"""prin │ │ │ -00072d10: 7466 2846 6c5f 5465 7874 5f42 7566 6665 tf(Fl_Text_Buffe │ │ │ -00072d20: 7220 7365 6c66 2c20 6368 6172 2063 6f6e r self, char con │ │ │ -00072d30: 7374 202a 2066 6d74 2922 2222 0a20 2020 st * fmt)""". │ │ │ -00072d40: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -00072d50: 6b2e 466c 5f54 6578 745f 4275 6666 6572 k.Fl_Text_Buffer │ │ │ -00072d60: 5f70 7269 6e74 6628 7365 6c66 2c20 2a61 _printf(self, *a │ │ │ -00072d70: 7267 7329 0a0a 2020 2020 6465 6620 7265 rgs).. def re │ │ │ -00072d80: 6d6f 7665 2873 656c 662c 202a 6172 6773 move(self, *args │ │ │ -00072d90: 293a 0a20 2020 2020 2020 2072 2222 2272 ):. r"""r │ │ │ -00072da0: 656d 6f76 6528 466c 5f54 6578 745f 4275 emove(Fl_Text_Bu │ │ │ -00072db0: 6666 6572 2073 656c 662c 2069 6e74 2073 ffer self, int s │ │ │ -00072dc0: 7461 7274 2c20 696e 7420 656e 6429 2222 tart, int end)"" │ │ │ -00072dd0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00072de0: 205f 666c 746b 2e46 6c5f 5465 7874 5f42 _fltk.Fl_Text_B │ │ │ -00072df0: 7566 6665 725f 7265 6d6f 7665 2873 656c uffer_remove(sel │ │ │ -00072e00: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -00072e10: 6566 2072 6570 6c61 6365 2873 656c 662c ef replace(self, │ │ │ -00072e20: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00072e30: 2072 2222 2272 6570 6c61 6365 2846 6c5f r"""replace(Fl_ │ │ │ -00072e40: 5465 7874 5f42 7566 6665 7220 7365 6c66 Text_Buffer self │ │ │ -00072e50: 2c20 696e 7420 7374 6172 742c 2069 6e74 , int start, int │ │ │ -00072e60: 2065 6e64 2c20 6368 6172 2063 6f6e 7374 end, char const │ │ │ -00072e70: 202a 2074 6578 742c 2069 6e74 2069 6e73 * text, int ins │ │ │ -00072e80: 6572 7465 644c 656e 6774 683d 2d31 2922 ertedLength=-1)" │ │ │ -00072e90: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -00072ea0: 6e20 5f66 6c74 6b2e 466c 5f54 6578 745f n _fltk.Fl_Text_ │ │ │ -00072eb0: 4275 6666 6572 5f72 6570 6c61 6365 2873 Buffer_replace(s │ │ │ -00072ec0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -00072ed0: 2064 6566 2063 6f70 7928 7365 6c66 2c20 def copy(self, │ │ │ -00072ee0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00072ef0: 7222 2222 636f 7079 2846 6c5f 5465 7874 r"""copy(Fl_Text │ │ │ -00072f00: 5f42 7566 6665 7220 7365 6c66 2c20 466c _Buffer self, Fl │ │ │ -00072f10: 5f54 6578 745f 4275 6666 6572 2066 726f _Text_Buffer fro │ │ │ -00072f20: 6d42 7566 2c20 696e 7420 6672 6f6d 5374 mBuf, int fromSt │ │ │ -00072f30: 6172 742c 2069 6e74 2066 726f 6d45 6e64 art, int fromEnd │ │ │ -00072f40: 2c20 696e 7420 746f 506f 7329 2222 220a , int toPos)""". │ │ │ -00072f50: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00072f60: 666c 746b 2e46 6c5f 5465 7874 5f42 7566 fltk.Fl_Text_Buf │ │ │ -00072f70: 6665 725f 636f 7079 2873 656c 662c 202a fer_copy(self, * │ │ │ -00072f80: 6172 6773 290a 0a20 2020 2064 6566 2075 args).. def u │ │ │ -00072f90: 6e64 6f28 7365 6c66 2c20 2a61 7267 7329 ndo(self, *args) │ │ │ -00072fa0: 3a0a 2020 2020 2020 2020 7222 2222 756e :. r"""un │ │ │ -00072fb0: 646f 2846 6c5f 5465 7874 5f42 7566 6665 do(Fl_Text_Buffe │ │ │ -00072fc0: 7220 7365 6c66 2c20 696e 7420 2a20 6370 r self, int * cp │ │ │ -00072fd0: 3d4e 6f6e 6529 202d 3e20 696e 7422 2222 =None) -> int""" │ │ │ -00072fe0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00072ff0: 5f66 6c74 6b2e 466c 5f54 6578 745f 4275 _fltk.Fl_Text_Bu │ │ │ -00073000: 6666 6572 5f75 6e64 6f28 7365 6c66 2c20 ffer_undo(self, │ │ │ -00073010: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -00073020: 6361 6e5f 756e 646f 2873 656c 662c 202a can_undo(self, * │ │ │ -00073030: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00073040: 2222 2263 616e 5f75 6e64 6f28 466c 5f54 """can_undo(Fl_T │ │ │ -00073050: 6578 745f 4275 6666 6572 2073 656c 6629 ext_Buffer self) │ │ │ -00073060: 202d 3e20 626f 6f6c 2222 220a 2020 2020 -> bool""". │ │ │ -00073070: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00073080: 2e46 6c5f 5465 7874 5f42 7566 6665 725f .Fl_Text_Buffer_ │ │ │ -00073090: 6361 6e5f 756e 646f 2873 656c 662c 202a can_undo(self, * │ │ │ -000730a0: 6172 6773 290a 0a20 2020 2064 6566 2072 args).. def r │ │ │ -000730b0: 6564 6f28 7365 6c66 2c20 2a61 7267 7329 edo(self, *args) │ │ │ -000730c0: 3a0a 2020 2020 2020 2020 7222 2222 7265 :. r"""re │ │ │ -000730d0: 646f 2846 6c5f 5465 7874 5f42 7566 6665 do(Fl_Text_Buffe │ │ │ -000730e0: 7220 7365 6c66 2c20 696e 7420 2a20 6370 r self, int * cp │ │ │ -000730f0: 3d4e 6f6e 6529 202d 3e20 696e 7422 2222 =None) -> int""" │ │ │ -00073100: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00073110: 5f66 6c74 6b2e 466c 5f54 6578 745f 4275 _fltk.Fl_Text_Bu │ │ │ -00073120: 6666 6572 5f72 6564 6f28 7365 6c66 2c20 ffer_redo(self, │ │ │ -00073130: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -00073140: 6361 6e5f 7265 646f 2873 656c 662c 202a can_redo(self, * │ │ │ -00073150: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00073160: 2222 2263 616e 5f72 6564 6f28 466c 5f54 """can_redo(Fl_T │ │ │ -00073170: 6578 745f 4275 6666 6572 2073 656c 6629 ext_Buffer self) │ │ │ -00073180: 202d 3e20 626f 6f6c 2222 220a 2020 2020 -> bool""". │ │ │ -00073190: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -000731a0: 2e46 6c5f 5465 7874 5f42 7566 6665 725f .Fl_Text_Buffer_ │ │ │ -000731b0: 6361 6e5f 7265 646f 2873 656c 662c 202a can_redo(self, * │ │ │ -000731c0: 6172 6773 290a 0a20 2020 2064 6566 2063 args).. def c │ │ │ -000731d0: 616e 556e 646f 2873 656c 662c 202a 6172 anUndo(self, *ar │ │ │ -000731e0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -000731f0: 2263 616e 556e 646f 2846 6c5f 5465 7874 "canUndo(Fl_Text │ │ │ -00073200: 5f42 7566 6665 7220 7365 6c66 2c20 6368 _Buffer self, ch │ │ │ -00073210: 6172 2066 6c61 673d 3129 2222 220a 2020 ar flag=1)""". │ │ │ -00073220: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00073230: 746b 2e46 6c5f 5465 7874 5f42 7566 6665 tk.Fl_Text_Buffe │ │ │ -00073240: 725f 6361 6e55 6e64 6f28 7365 6c66 2c20 r_canUndo(self, │ │ │ -00073250: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -00073260: 696e 7365 7274 6669 6c65 2873 656c 662c insertfile(self, │ │ │ -00073270: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00073280: 2072 2222 2269 6e73 6572 7466 696c 6528 r"""insertfile( │ │ │ -00073290: 466c 5f54 6578 745f 4275 6666 6572 2073 Fl_Text_Buffer s │ │ │ -000732a0: 656c 662c 2063 6861 7220 636f 6e73 7420 elf, char const │ │ │ -000732b0: 2a20 6669 6c65 2c20 696e 7420 706f 732c * file, int pos, │ │ │ -000732c0: 2069 6e74 2062 7566 6c65 6e3d 3132 382a int buflen=128* │ │ │ -000732d0: 3130 3234 2920 2d3e 2069 6e74 2222 220a 1024) -> int""". │ │ │ -000732e0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -000732f0: 666c 746b 2e46 6c5f 5465 7874 5f42 7566 fltk.Fl_Text_Buf │ │ │ -00073300: 6665 725f 696e 7365 7274 6669 6c65 2873 fer_insertfile(s │ │ │ -00073310: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -00073320: 2064 6566 2061 7070 656e 6466 696c 6528 def appendfile( │ │ │ -00073330: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -00073340: 2020 2020 2020 7222 2222 6170 7065 6e64 r"""append │ │ │ -00073350: 6669 6c65 2846 6c5f 5465 7874 5f42 7566 file(Fl_Text_Buf │ │ │ -00073360: 6665 7220 7365 6c66 2c20 6368 6172 2063 fer self, char c │ │ │ -00073370: 6f6e 7374 202a 2066 696c 652c 2069 6e74 onst * file, int │ │ │ -00073380: 2062 7566 6c65 6e3d 3132 382a 3130 3234 buflen=128*1024 │ │ │ -00073390: 2920 2d3e 2069 6e74 2222 220a 2020 2020 ) -> int""". │ │ │ -000733a0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -000733b0: 2e46 6c5f 5465 7874 5f42 7566 6665 725f .Fl_Text_Buffer_ │ │ │ -000733c0: 6170 7065 6e64 6669 6c65 2873 656c 662c appendfile(self, │ │ │ -000733d0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -000733e0: 206c 6f61 6466 696c 6528 7365 6c66 2c20 loadfile(self, │ │ │ -000733f0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00073400: 7222 2222 6c6f 6164 6669 6c65 2846 6c5f r"""loadfile(Fl_ │ │ │ -00073410: 5465 7874 5f42 7566 6665 7220 7365 6c66 Text_Buffer self │ │ │ -00073420: 2c20 6368 6172 2063 6f6e 7374 202a 2066 , char const * f │ │ │ -00073430: 696c 652c 2069 6e74 2062 7566 6c65 6e3d ile, int buflen= │ │ │ -00073440: 3132 382a 3130 3234 2920 2d3e 2069 6e74 128*1024) -> int │ │ │ -00073450: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -00073460: 726e 205f 666c 746b 2e46 6c5f 5465 7874 rn _fltk.Fl_Text │ │ │ -00073470: 5f42 7566 6665 725f 6c6f 6164 6669 6c65 _Buffer_loadfile │ │ │ -00073480: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -00073490: 2020 2064 6566 206f 7574 7075 7466 696c def outputfil │ │ │ -000734a0: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ -000734b0: 2020 2020 2020 2020 7222 2222 6f75 7470 r"""outp │ │ │ -000734c0: 7574 6669 6c65 2846 6c5f 5465 7874 5f42 utfile(Fl_Text_B │ │ │ -000734d0: 7566 6665 7220 7365 6c66 2c20 6368 6172 uffer self, char │ │ │ -000734e0: 2063 6f6e 7374 202a 2066 696c 652c 2069 const * file, i │ │ │ -000734f0: 6e74 2073 7461 7274 2c20 696e 7420 656e nt start, int en │ │ │ -00073500: 642c 2069 6e74 2062 7566 6c65 6e3d 3132 d, int buflen=12 │ │ │ -00073510: 382a 3130 3234 2920 2d3e 2069 6e74 2222 8*1024) -> int"" │ │ │ -00073520: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00073530: 205f 666c 746b 2e46 6c5f 5465 7874 5f42 _fltk.Fl_Text_B │ │ │ -00073540: 7566 6665 725f 6f75 7470 7574 6669 6c65 uffer_outputfile │ │ │ -00073550: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -00073560: 2020 2064 6566 2073 6176 6566 696c 6528 def savefile( │ │ │ -00073570: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -00073580: 2020 2020 2020 7222 2222 7361 7665 6669 r"""savefi │ │ │ -00073590: 6c65 2846 6c5f 5465 7874 5f42 7566 6665 le(Fl_Text_Buffe │ │ │ -000735a0: 7220 7365 6c66 2c20 6368 6172 2063 6f6e r self, char con │ │ │ -000735b0: 7374 202a 2066 696c 652c 2069 6e74 2062 st * file, int b │ │ │ -000735c0: 7566 6c65 6e3d 3132 382a 3130 3234 2920 uflen=128*1024) │ │ │ -000735d0: 2d3e 2069 6e74 2222 220a 2020 2020 2020 -> int""". │ │ │ -000735e0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -000735f0: 6c5f 5465 7874 5f42 7566 6665 725f 7361 l_Text_Buffer_sa │ │ │ -00073600: 7665 6669 6c65 2873 656c 662c 202a 6172 vefile(self, *ar │ │ │ -00073610: 6773 290a 0a20 2020 2064 6566 2074 6162 gs).. def tab │ │ │ -00073620: 5f64 6973 7461 6e63 6528 7365 6c66 2c20 _distance(self, │ │ │ -00073630: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00073640: 7222 2222 0a20 2020 2020 2020 2074 6162 r""". tab │ │ │ -00073650: 5f64 6973 7461 6e63 6528 466c 5f54 6578 _distance(Fl_Tex │ │ │ -00073660: 745f 4275 6666 6572 2073 656c 6629 202d t_Buffer self) - │ │ │ -00073670: 3e20 696e 740a 2020 2020 2020 2020 7461 > int. ta │ │ │ -00073680: 625f 6469 7374 616e 6365 2846 6c5f 5465 b_distance(Fl_Te │ │ │ -00073690: 7874 5f42 7566 6665 7220 7365 6c66 2c20 xt_Buffer self, │ │ │ -000736a0: 696e 7420 7461 6244 6973 7429 0a20 2020 int tabDist). │ │ │ -000736b0: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ -000736c0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -000736d0: 5f54 6578 745f 4275 6666 6572 5f74 6162 _Text_Buffer_tab │ │ │ -000736e0: 5f64 6973 7461 6e63 6528 7365 6c66 2c20 _distance(self, │ │ │ -000736f0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -00073700: 7365 6c65 6374 2873 656c 662c 202a 6172 select(self, *ar │ │ │ -00073710: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -00073720: 2273 656c 6563 7428 466c 5f54 6578 745f "select(Fl_Text_ │ │ │ -00073730: 4275 6666 6572 2073 656c 662c 2069 6e74 Buffer self, int │ │ │ -00073740: 2073 7461 7274 2c20 696e 7420 656e 6429 start, int end) │ │ │ -00073750: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -00073760: 726e 205f 666c 746b 2e46 6c5f 5465 7874 rn _fltk.Fl_Text │ │ │ -00073770: 5f42 7566 6665 725f 7365 6c65 6374 2873 _Buffer_select(s │ │ │ -00073780: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -00073790: 2064 6566 2073 656c 6563 7465 6428 7365 def selected(se │ │ │ -000737a0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -000737b0: 2020 2020 7222 2222 7365 6c65 6374 6564 r"""selected │ │ │ -000737c0: 2846 6c5f 5465 7874 5f42 7566 6665 7220 (Fl_Text_Buffer │ │ │ -000737d0: 7365 6c66 2920 2d3e 2069 6e74 2222 220a self) -> int""". │ │ │ -000737e0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -000737f0: 666c 746b 2e46 6c5f 5465 7874 5f42 7566 fltk.Fl_Text_Buf │ │ │ -00073800: 6665 725f 7365 6c65 6374 6564 2873 656c fer_selected(sel │ │ │ -00073810: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -00073820: 6566 2075 6e73 656c 6563 7428 7365 6c66 ef unselect(self │ │ │ -00073830: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -00073840: 2020 7222 2222 756e 7365 6c65 6374 2846 r"""unselect(F │ │ │ -00073850: 6c5f 5465 7874 5f42 7566 6665 7220 7365 l_Text_Buffer se │ │ │ -00073860: 6c66 2922 2222 0a20 2020 2020 2020 2072 lf)""". r │ │ │ -00073870: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -00073880: 6578 745f 4275 6666 6572 5f75 6e73 656c ext_Buffer_unsel │ │ │ -00073890: 6563 7428 7365 6c66 2c20 2a61 7267 7329 ect(self, *args) │ │ │ -000738a0: 0a0a 2020 2020 6465 6620 7365 6c65 6374 .. def select │ │ │ -000738b0: 696f 6e5f 706f 7369 7469 6f6e 2873 656c ion_position(sel │ │ │ -000738c0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -000738d0: 2020 2072 2222 2273 656c 6563 7469 6f6e r"""selection │ │ │ -000738e0: 5f70 6f73 6974 696f 6e28 466c 5f54 6578 _position(Fl_Tex │ │ │ -000738f0: 745f 4275 6666 6572 2073 656c 662c 2069 t_Buffer self, i │ │ │ -00073900: 6e74 202a 2073 7461 7274 2c20 696e 7420 nt * start, int │ │ │ -00073910: 2a20 656e 6429 202d 3e20 696e 7422 2222 * end) -> int""" │ │ │ -00073920: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00073930: 5f66 6c74 6b2e 466c 5f54 6578 745f 4275 _fltk.Fl_Text_Bu │ │ │ -00073940: 6666 6572 5f73 656c 6563 7469 6f6e 5f70 ffer_selection_p │ │ │ -00073950: 6f73 6974 696f 6e28 7365 6c66 2c20 2a61 osition(self, *a │ │ │ -00073960: 7267 7329 0a0a 2020 2020 6465 6620 7365 rgs).. def se │ │ │ -00073970: 6c65 6374 696f 6e5f 7465 7874 2873 656c lection_text(sel │ │ │ -00073980: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00073990: 2020 2072 2222 2273 656c 6563 7469 6f6e r"""selection │ │ │ -000739a0: 5f74 6578 7428 466c 5f54 6578 745f 4275 _text(Fl_Text_Bu │ │ │ -000739b0: 6666 6572 2073 656c 6629 202d 3e20 6368 ffer self) -> ch │ │ │ -000739c0: 6172 202a 2222 220a 2020 2020 2020 2020 ar *""". │ │ │ -000739d0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -000739e0: 5465 7874 5f42 7566 6665 725f 7365 6c65 Text_Buffer_sele │ │ │ -000739f0: 6374 696f 6e5f 7465 7874 2873 656c 662c ction_text(self, │ │ │ -00073a00: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00073a10: 2072 656d 6f76 655f 7365 6c65 6374 696f remove_selectio │ │ │ -00073a20: 6e28 7365 6c66 2c20 2a61 7267 7329 3a0a n(self, *args):. │ │ │ -00073a30: 2020 2020 2020 2020 7222 2222 7265 6d6f r"""remo │ │ │ -00073a40: 7665 5f73 656c 6563 7469 6f6e 2846 6c5f ve_selection(Fl_ │ │ │ -00073a50: 5465 7874 5f42 7566 6665 7220 7365 6c66 Text_Buffer self │ │ │ -00073a60: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ -00073a70: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6578 urn _fltk.Fl_Tex │ │ │ -00073a80: 745f 4275 6666 6572 5f72 656d 6f76 655f t_Buffer_remove_ │ │ │ -00073a90: 7365 6c65 6374 696f 6e28 7365 6c66 2c20 selection(self, │ │ │ -00073aa0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -00073ab0: 7265 706c 6163 655f 7365 6c65 6374 696f replace_selectio │ │ │ -00073ac0: 6e28 7365 6c66 2c20 2a61 7267 7329 3a0a n(self, *args):. │ │ │ -00073ad0: 2020 2020 2020 2020 7222 2222 7265 706c r"""repl │ │ │ -00073ae0: 6163 655f 7365 6c65 6374 696f 6e28 466c ace_selection(Fl │ │ │ -00073af0: 5f54 6578 745f 4275 6666 6572 2073 656c _Text_Buffer sel │ │ │ -00073b00: 662c 2063 6861 7220 636f 6e73 7420 2a20 f, char const * │ │ │ -00073b10: 7465 7874 2922 2222 0a20 2020 2020 2020 text)""". │ │ │ -00073b20: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -00073b30: 5f54 6578 745f 4275 6666 6572 5f72 6570 _Text_Buffer_rep │ │ │ -00073b40: 6c61 6365 5f73 656c 6563 7469 6f6e 2873 lace_selection(s │ │ │ -00073b50: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -00073b60: 2064 6566 2073 6563 6f6e 6461 7279 5f73 def secondary_s │ │ │ -00073b70: 656c 6563 7428 7365 6c66 2c20 2a61 7267 elect(self, *arg │ │ │ -00073b80: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -00073b90: 7365 636f 6e64 6172 795f 7365 6c65 6374 secondary_select │ │ │ -00073ba0: 2846 6c5f 5465 7874 5f42 7566 6665 7220 (Fl_Text_Buffer │ │ │ -00073bb0: 7365 6c66 2c20 696e 7420 7374 6172 742c self, int start, │ │ │ -00073bc0: 2069 6e74 2065 6e64 2922 2222 0a20 2020 int end)""". │ │ │ -00073bd0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -00073be0: 6b2e 466c 5f54 6578 745f 4275 6666 6572 k.Fl_Text_Buffer │ │ │ -00073bf0: 5f73 6563 6f6e 6461 7279 5f73 656c 6563 _secondary_selec │ │ │ -00073c00: 7428 7365 6c66 2c20 2a61 7267 7329 0a0a t(self, *args).. │ │ │ -00073c10: 2020 2020 6465 6620 7365 636f 6e64 6172 def secondar │ │ │ -00073c20: 795f 7365 6c65 6374 6564 2873 656c 662c y_selected(self, │ │ │ -00073c30: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00073c40: 2072 2222 2273 6563 6f6e 6461 7279 5f73 r"""secondary_s │ │ │ -00073c50: 656c 6563 7465 6428 466c 5f54 6578 745f elected(Fl_Text_ │ │ │ -00073c60: 4275 6666 6572 2073 656c 6629 202d 3e20 Buffer self) -> │ │ │ -00073c70: 696e 7422 2222 0a20 2020 2020 2020 2072 int""". r │ │ │ -00073c80: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -00073c90: 6578 745f 4275 6666 6572 5f73 6563 6f6e ext_Buffer_secon │ │ │ -00073ca0: 6461 7279 5f73 656c 6563 7465 6428 7365 dary_selected(se │ │ │ -00073cb0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -00073cc0: 6465 6620 7365 636f 6e64 6172 795f 756e def secondary_un │ │ │ -00073cd0: 7365 6c65 6374 2873 656c 662c 202a 6172 select(self, *ar │ │ │ -00073ce0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -00073cf0: 2273 6563 6f6e 6461 7279 5f75 6e73 656c "secondary_unsel │ │ │ -00073d00: 6563 7428 466c 5f54 6578 745f 4275 6666 ect(Fl_Text_Buff │ │ │ -00073d10: 6572 2073 656c 6629 2222 220a 2020 2020 er self)""". │ │ │ -00073d20: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00073d30: 2e46 6c5f 5465 7874 5f42 7566 6665 725f .Fl_Text_Buffer_ │ │ │ -00073d40: 7365 636f 6e64 6172 795f 756e 7365 6c65 secondary_unsele │ │ │ -00073d50: 6374 2873 656c 662c 202a 6172 6773 290a ct(self, *args). │ │ │ -00073d60: 0a20 2020 2064 6566 2073 6563 6f6e 6461 . def seconda │ │ │ -00073d70: 7279 5f73 656c 6563 7469 6f6e 5f70 6f73 ry_selection_pos │ │ │ -00073d80: 6974 696f 6e28 7365 6c66 2c20 2a61 7267 ition(self, *arg │ │ │ -00073d90: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -00073da0: 7365 636f 6e64 6172 795f 7365 6c65 6374 secondary_select │ │ │ -00073db0: 696f 6e5f 706f 7369 7469 6f6e 2846 6c5f ion_position(Fl_ │ │ │ -00073dc0: 5465 7874 5f42 7566 6665 7220 7365 6c66 Text_Buffer self │ │ │ -00073dd0: 2c20 696e 7420 2a20 7374 6172 742c 2069 , int * start, i │ │ │ -00073de0: 6e74 202a 2065 6e64 2920 2d3e 2069 6e74 nt * end) -> int │ │ │ -00073df0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -00073e00: 726e 205f 666c 746b 2e46 6c5f 5465 7874 rn _fltk.Fl_Text │ │ │ -00073e10: 5f42 7566 6665 725f 7365 636f 6e64 6172 _Buffer_secondar │ │ │ -00073e20: 795f 7365 6c65 6374 696f 6e5f 706f 7369 y_selection_posi │ │ │ -00073e30: 7469 6f6e 2873 656c 662c 202a 6172 6773 tion(self, *args │ │ │ -00073e40: 290a 0a20 2020 2064 6566 2073 6563 6f6e ).. def secon │ │ │ -00073e50: 6461 7279 5f73 656c 6563 7469 6f6e 5f74 dary_selection_t │ │ │ -00073e60: 6578 7428 7365 6c66 2c20 2a61 7267 7329 ext(self, *args) │ │ │ -00073e70: 3a0a 2020 2020 2020 2020 7222 2222 7365 :. r"""se │ │ │ -00073e80: 636f 6e64 6172 795f 7365 6c65 6374 696f condary_selectio │ │ │ -00073e90: 6e5f 7465 7874 2846 6c5f 5465 7874 5f42 n_text(Fl_Text_B │ │ │ -00073ea0: 7566 6665 7220 7365 6c66 2920 2d3e 2063 uffer self) -> c │ │ │ -00073eb0: 6861 7220 2a22 2222 0a20 2020 2020 2020 har *""". │ │ │ -00073ec0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -00073ed0: 5f54 6578 745f 4275 6666 6572 5f73 6563 _Text_Buffer_sec │ │ │ -00073ee0: 6f6e 6461 7279 5f73 656c 6563 7469 6f6e ondary_selection │ │ │ -00073ef0: 5f74 6578 7428 7365 6c66 2c20 2a61 7267 _text(self, *arg │ │ │ -00073f00: 7329 0a0a 2020 2020 6465 6620 7265 6d6f s).. def remo │ │ │ -00073f10: 7665 5f73 6563 6f6e 6461 7279 5f73 656c ve_secondary_sel │ │ │ -00073f20: 6563 7469 6f6e 2873 656c 662c 202a 6172 ection(self, *ar │ │ │ -00073f30: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -00073f40: 2272 656d 6f76 655f 7365 636f 6e64 6172 "remove_secondar │ │ │ -00073f50: 795f 7365 6c65 6374 696f 6e28 466c 5f54 y_selection(Fl_T │ │ │ -00073f60: 6578 745f 4275 6666 6572 2073 656c 6629 ext_Buffer self) │ │ │ -00073f70: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -00073f80: 726e 205f 666c 746b 2e46 6c5f 5465 7874 rn _fltk.Fl_Text │ │ │ -00073f90: 5f42 7566 6665 725f 7265 6d6f 7665 5f73 _Buffer_remove_s │ │ │ -00073fa0: 6563 6f6e 6461 7279 5f73 656c 6563 7469 econdary_selecti │ │ │ -00073fb0: 6f6e 2873 656c 662c 202a 6172 6773 290a on(self, *args). │ │ │ -00073fc0: 0a20 2020 2064 6566 2072 6570 6c61 6365 . def replace │ │ │ -00073fd0: 5f73 6563 6f6e 6461 7279 5f73 656c 6563 _secondary_selec │ │ │ -00073fe0: 7469 6f6e 2873 656c 662c 202a 6172 6773 tion(self, *args │ │ │ -00073ff0: 293a 0a20 2020 2020 2020 2072 2222 2272 ):. r"""r │ │ │ -00074000: 6570 6c61 6365 5f73 6563 6f6e 6461 7279 eplace_secondary │ │ │ -00074010: 5f73 656c 6563 7469 6f6e 2846 6c5f 5465 _selection(Fl_Te │ │ │ -00074020: 7874 5f42 7566 6665 7220 7365 6c66 2c20 xt_Buffer self, │ │ │ -00074030: 6368 6172 2063 6f6e 7374 202a 2074 6578 char const * tex │ │ │ -00074040: 7429 2222 220a 2020 2020 2020 2020 7265 t)""". re │ │ │ -00074050: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ -00074060: 7874 5f42 7566 6665 725f 7265 706c 6163 xt_Buffer_replac │ │ │ -00074070: 655f 7365 636f 6e64 6172 795f 7365 6c65 e_secondary_sele │ │ │ -00074080: 6374 696f 6e28 7365 6c66 2c20 2a61 7267 ction(self, *arg │ │ │ -00074090: 7329 0a0a 2020 2020 6465 6620 6869 6768 s).. def high │ │ │ -000740a0: 6c69 6768 7428 7365 6c66 2c20 2a61 7267 light(self, *arg │ │ │ -000740b0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -000740c0: 0a20 2020 2020 2020 2068 6967 686c 6967 . highlig │ │ │ -000740d0: 6874 2846 6c5f 5465 7874 5f42 7566 6665 ht(Fl_Text_Buffe │ │ │ -000740e0: 7220 7365 6c66 2c20 696e 7420 7374 6172 r self, int star │ │ │ -000740f0: 742c 2069 6e74 2065 6e64 290a 2020 2020 t, int end). │ │ │ -00074100: 2020 2020 6869 6768 6c69 6768 7428 466c highlight(Fl │ │ │ -00074110: 5f54 6578 745f 4275 6666 6572 2073 656c _Text_Buffer sel │ │ │ -00074120: 6629 202d 3e20 696e 740a 2020 2020 2020 f) -> int. │ │ │ -00074130: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ -00074140: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ -00074150: 7874 5f42 7566 6665 725f 6869 6768 6c69 xt_Buffer_highli │ │ │ -00074160: 6768 7428 7365 6c66 2c20 2a61 7267 7329 ght(self, *args) │ │ │ -00074170: 0a0a 2020 2020 6465 6620 756e 6869 6768 .. def unhigh │ │ │ -00074180: 6c69 6768 7428 7365 6c66 2c20 2a61 7267 light(self, *arg │ │ │ -00074190: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -000741a0: 756e 6869 6768 6c69 6768 7428 466c 5f54 unhighlight(Fl_T │ │ │ -000741b0: 6578 745f 4275 6666 6572 2073 656c 6629 ext_Buffer self) │ │ │ -000741c0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -000741d0: 726e 205f 666c 746b 2e46 6c5f 5465 7874 rn _fltk.Fl_Text │ │ │ -000741e0: 5f42 7566 6665 725f 756e 6869 6768 6c69 _Buffer_unhighli │ │ │ -000741f0: 6768 7428 7365 6c66 2c20 2a61 7267 7329 ght(self, *args) │ │ │ -00074200: 0a0a 2020 2020 6465 6620 6869 6768 6c69 .. def highli │ │ │ -00074210: 6768 745f 706f 7369 7469 6f6e 2873 656c ght_position(sel │ │ │ -00074220: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00074230: 2020 2072 2222 2268 6967 686c 6967 6874 r"""highlight │ │ │ -00074240: 5f70 6f73 6974 696f 6e28 466c 5f54 6578 _position(Fl_Tex │ │ │ -00074250: 745f 4275 6666 6572 2073 656c 662c 2069 t_Buffer self, i │ │ │ -00074260: 6e74 202a 2073 7461 7274 2c20 696e 7420 nt * start, int │ │ │ -00074270: 2a20 656e 6429 202d 3e20 696e 7422 2222 * end) -> int""" │ │ │ -00074280: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00074290: 5f66 6c74 6b2e 466c 5f54 6578 745f 4275 _fltk.Fl_Text_Bu │ │ │ -000742a0: 6666 6572 5f68 6967 686c 6967 6874 5f70 ffer_highlight_p │ │ │ -000742b0: 6f73 6974 696f 6e28 7365 6c66 2c20 2a61 osition(self, *a │ │ │ -000742c0: 7267 7329 0a0a 2020 2020 6465 6620 6869 rgs).. def hi │ │ │ -000742d0: 6768 6c69 6768 745f 7465 7874 2873 656c ghlight_text(sel │ │ │ -000742e0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -000742f0: 2020 2072 2222 2268 6967 686c 6967 6874 r"""highlight │ │ │ -00074300: 5f74 6578 7428 466c 5f54 6578 745f 4275 _text(Fl_Text_Bu │ │ │ -00074310: 6666 6572 2073 656c 6629 202d 3e20 6368 ffer self) -> ch │ │ │ -00074320: 6172 202a 2222 220a 2020 2020 2020 2020 ar *""". │ │ │ -00074330: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00074340: 5465 7874 5f42 7566 6665 725f 6869 6768 Text_Buffer_high │ │ │ -00074350: 6c69 6768 745f 7465 7874 2873 656c 662c light_text(self, │ │ │ -00074360: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00074370: 2063 616c 6c5f 6d6f 6469 6679 5f63 616c call_modify_cal │ │ │ -00074380: 6c62 6163 6b73 2873 656c 662c 202a 6172 lbacks(self, *ar │ │ │ -00074390: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -000743a0: 2263 616c 6c5f 6d6f 6469 6679 5f63 616c "call_modify_cal │ │ │ -000743b0: 6c62 6163 6b73 2846 6c5f 5465 7874 5f42 lbacks(Fl_Text_B │ │ │ -000743c0: 7566 6665 7220 7365 6c66 2922 2222 0a20 uffer self)""". │ │ │ -000743d0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -000743e0: 6c74 6b2e 466c 5f54 6578 745f 4275 6666 ltk.Fl_Text_Buff │ │ │ -000743f0: 6572 5f63 616c 6c5f 6d6f 6469 6679 5f63 er_call_modify_c │ │ │ -00074400: 616c 6c62 6163 6b73 2873 656c 662c 202a allbacks(self, * │ │ │ -00074410: 6172 6773 290a 0a20 2020 2064 6566 2061 args).. def a │ │ │ -00074420: 6464 5f70 7265 6465 6c65 7465 5f63 616c dd_predelete_cal │ │ │ -00074430: 6c62 6163 6b28 7365 6c66 2c20 2a61 7267 lback(self, *arg │ │ │ -00074440: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -00074450: 6164 645f 7072 6564 656c 6574 655f 6361 add_predelete_ca │ │ │ -00074460: 6c6c 6261 636b 2846 6c5f 5465 7874 5f42 llback(Fl_Text_B │ │ │ -00074470: 7566 6665 7220 7365 6c66 2c20 466c 5f54 uffer self, Fl_T │ │ │ -00074480: 6578 745f 5072 6564 656c 6574 655f 4362 ext_Predelete_Cb │ │ │ -00074490: 2062 7566 5072 6564 656c 4342 2c20 766f bufPredelCB, vo │ │ │ -000744a0: 6964 202a 2063 6241 7267 2922 2222 0a20 id * cbArg)""". │ │ │ -000744b0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -000744c0: 6c74 6b2e 466c 5f54 6578 745f 4275 6666 ltk.Fl_Text_Buff │ │ │ -000744d0: 6572 5f61 6464 5f70 7265 6465 6c65 7465 er_add_predelete │ │ │ -000744e0: 5f63 616c 6c62 6163 6b28 7365 6c66 2c20 _callback(self, │ │ │ -000744f0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -00074500: 7265 6d6f 7665 5f70 7265 6465 6c65 7465 remove_predelete │ │ │ -00074510: 5f63 616c 6c62 6163 6b28 7365 6c66 2c20 _callback(self, │ │ │ -00074520: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00074530: 7222 2222 7265 6d6f 7665 5f70 7265 6465 r"""remove_prede │ │ │ -00074540: 6c65 7465 5f63 616c 6c62 6163 6b28 466c lete_callback(Fl │ │ │ -00074550: 5f54 6578 745f 4275 6666 6572 2073 656c _Text_Buffer sel │ │ │ -00074560: 662c 2046 6c5f 5465 7874 5f50 7265 6465 f, Fl_Text_Prede │ │ │ -00074570: 6c65 7465 5f43 6220 7072 6564 656c 4342 lete_Cb predelCB │ │ │ -00074580: 2c20 766f 6964 202a 2063 6241 7267 2922 , void * cbArg)" │ │ │ -00074590: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -000745a0: 6e20 5f66 6c74 6b2e 466c 5f54 6578 745f n _fltk.Fl_Text_ │ │ │ -000745b0: 4275 6666 6572 5f72 656d 6f76 655f 7072 Buffer_remove_pr │ │ │ -000745c0: 6564 656c 6574 655f 6361 6c6c 6261 636b edelete_callback │ │ │ -000745d0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -000745e0: 2020 2064 6566 2063 616c 6c5f 7072 6564 def call_pred │ │ │ -000745f0: 656c 6574 655f 6361 6c6c 6261 636b 7328 elete_callbacks( │ │ │ -00074600: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -00074610: 2020 2020 2020 7222 2222 6361 6c6c 5f70 r"""call_p │ │ │ -00074620: 7265 6465 6c65 7465 5f63 616c 6c62 6163 redelete_callbac │ │ │ -00074630: 6b73 2846 6c5f 5465 7874 5f42 7566 6665 ks(Fl_Text_Buffe │ │ │ -00074640: 7220 7365 6c66 2922 2222 0a20 2020 2020 r self)""". │ │ │ -00074650: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00074660: 466c 5f54 6578 745f 4275 6666 6572 5f63 Fl_Text_Buffer_c │ │ │ -00074670: 616c 6c5f 7072 6564 656c 6574 655f 6361 all_predelete_ca │ │ │ -00074680: 6c6c 6261 636b 7328 7365 6c66 2c20 2a61 llbacks(self, *a │ │ │ -00074690: 7267 7329 0a0a 2020 2020 6465 6620 6c69 rgs).. def li │ │ │ -000746a0: 6e65 5f74 6578 7428 7365 6c66 2c20 2a61 ne_text(self, *a │ │ │ -000746b0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -000746c0: 2222 6c69 6e65 5f74 6578 7428 466c 5f54 ""line_text(Fl_T │ │ │ -000746d0: 6578 745f 4275 6666 6572 2073 656c 662c ext_Buffer self, │ │ │ -000746e0: 2069 6e74 2070 6f73 2920 2d3e 2063 6861 int pos) -> cha │ │ │ -000746f0: 7220 2a22 2222 0a20 2020 2020 2020 2072 r *""". r │ │ │ -00074700: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -00074710: 6578 745f 4275 6666 6572 5f6c 696e 655f ext_Buffer_line_ │ │ │ -00074720: 7465 7874 2873 656c 662c 202a 6172 6773 text(self, *args │ │ │ -00074730: 290a 0a20 2020 2064 6566 206c 696e 655f ).. def line_ │ │ │ -00074740: 7374 6172 7428 7365 6c66 2c20 2a61 7267 start(self, *arg │ │ │ -00074750: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -00074760: 6c69 6e65 5f73 7461 7274 2846 6c5f 5465 line_start(Fl_Te │ │ │ -00074770: 7874 5f42 7566 6665 7220 7365 6c66 2c20 xt_Buffer self, │ │ │ -00074780: 696e 7420 706f 7329 202d 3e20 696e 7422 int pos) -> int" │ │ │ -00074790: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -000747a0: 6e20 5f66 6c74 6b2e 466c 5f54 6578 745f n _fltk.Fl_Text_ │ │ │ -000747b0: 4275 6666 6572 5f6c 696e 655f 7374 6172 Buffer_line_star │ │ │ -000747c0: 7428 7365 6c66 2c20 2a61 7267 7329 0a0a t(self, *args).. │ │ │ -000747d0: 2020 2020 6465 6620 6c69 6e65 5f65 6e64 def line_end │ │ │ -000747e0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -000747f0: 2020 2020 2020 2072 2222 226c 696e 655f r"""line_ │ │ │ -00074800: 656e 6428 466c 5f54 6578 745f 4275 6666 end(Fl_Text_Buff │ │ │ -00074810: 6572 2073 656c 662c 2069 6e74 2070 6f73 er self, int pos │ │ │ -00074820: 2920 2d3e 2069 6e74 2222 220a 2020 2020 ) -> int""". │ │ │ -00074830: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00074840: 2e46 6c5f 5465 7874 5f42 7566 6665 725f .Fl_Text_Buffer_ │ │ │ -00074850: 6c69 6e65 5f65 6e64 2873 656c 662c 202a line_end(self, * │ │ │ -00074860: 6172 6773 290a 0a20 2020 2064 6566 2077 args).. def w │ │ │ -00074870: 6f72 645f 7374 6172 7428 7365 6c66 2c20 ord_start(self, │ │ │ -00074880: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00074890: 7222 2222 776f 7264 5f73 7461 7274 2846 r"""word_start(F │ │ │ -000748a0: 6c5f 5465 7874 5f42 7566 6665 7220 7365 l_Text_Buffer se │ │ │ -000748b0: 6c66 2c20 696e 7420 706f 7329 202d 3e20 lf, int pos) -> │ │ │ -000748c0: 696e 7422 2222 0a20 2020 2020 2020 2072 int""". r │ │ │ -000748d0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -000748e0: 6578 745f 4275 6666 6572 5f77 6f72 645f ext_Buffer_word_ │ │ │ -000748f0: 7374 6172 7428 7365 6c66 2c20 2a61 7267 start(self, *arg │ │ │ -00074900: 7329 0a0a 2020 2020 6465 6620 776f 7264 s).. def word │ │ │ -00074910: 5f65 6e64 2873 656c 662c 202a 6172 6773 _end(self, *args │ │ │ -00074920: 293a 0a20 2020 2020 2020 2072 2222 2277 ):. r"""w │ │ │ -00074930: 6f72 645f 656e 6428 466c 5f54 6578 745f ord_end(Fl_Text_ │ │ │ -00074940: 4275 6666 6572 2073 656c 662c 2069 6e74 Buffer self, int │ │ │ -00074950: 2070 6f73 2920 2d3e 2069 6e74 2222 220a pos) -> int""". │ │ │ -00074960: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00074970: 666c 746b 2e46 6c5f 5465 7874 5f42 7566 fltk.Fl_Text_Buf │ │ │ -00074980: 6665 725f 776f 7264 5f65 6e64 2873 656c fer_word_end(sel │ │ │ -00074990: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -000749a0: 6566 2063 6f75 6e74 5f64 6973 706c 6179 ef count_display │ │ │ -000749b0: 6564 5f63 6861 7261 6374 6572 7328 7365 ed_characters(se │ │ │ -000749c0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -000749d0: 2020 2020 7222 2222 636f 756e 745f 6469 r"""count_di │ │ │ -000749e0: 7370 6c61 7965 645f 6368 6172 6163 7465 splayed_characte │ │ │ -000749f0: 7273 2846 6c5f 5465 7874 5f42 7566 6665 rs(Fl_Text_Buffe │ │ │ -00074a00: 7220 7365 6c66 2c20 696e 7420 6c69 6e65 r self, int line │ │ │ -00074a10: 5374 6172 7450 6f73 2c20 696e 7420 7461 StartPos, int ta │ │ │ -00074a20: 7267 6574 506f 7329 202d 3e20 696e 7422 rgetPos) -> int" │ │ │ -00074a30: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -00074a40: 6e20 5f66 6c74 6b2e 466c 5f54 6578 745f n _fltk.Fl_Text_ │ │ │ -00074a50: 4275 6666 6572 5f63 6f75 6e74 5f64 6973 Buffer_count_dis │ │ │ -00074a60: 706c 6179 6564 5f63 6861 7261 6374 6572 played_character │ │ │ -00074a70: 7328 7365 6c66 2c20 2a61 7267 7329 0a0a s(self, *args).. │ │ │ -00074a80: 2020 2020 6465 6620 736b 6970 5f64 6973 def skip_dis │ │ │ -00074a90: 706c 6179 6564 5f63 6861 7261 6374 6572 played_character │ │ │ -00074aa0: 7328 7365 6c66 2c20 2a61 7267 7329 3a0a s(self, *args):. │ │ │ -00074ab0: 2020 2020 2020 2020 7222 2222 736b 6970 r"""skip │ │ │ -00074ac0: 5f64 6973 706c 6179 6564 5f63 6861 7261 _displayed_chara │ │ │ -00074ad0: 6374 6572 7328 466c 5f54 6578 745f 4275 cters(Fl_Text_Bu │ │ │ -00074ae0: 6666 6572 2073 656c 662c 2069 6e74 206c ffer self, int l │ │ │ -00074af0: 696e 6553 7461 7274 506f 732c 2069 6e74 ineStartPos, int │ │ │ -00074b00: 206e 4368 6172 7329 202d 3e20 696e 7422 nChars) -> int" │ │ │ -00074b10: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -00074b20: 6e20 5f66 6c74 6b2e 466c 5f54 6578 745f n _fltk.Fl_Text_ │ │ │ -00074b30: 4275 6666 6572 5f73 6b69 705f 6469 7370 Buffer_skip_disp │ │ │ -00074b40: 6c61 7965 645f 6368 6172 6163 7465 7273 layed_characters │ │ │ -00074b50: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -00074b60: 2020 2064 6566 2063 6f75 6e74 5f6c 696e def count_lin │ │ │ -00074b70: 6573 2873 656c 662c 202a 6172 6773 293a es(self, *args): │ │ │ -00074b80: 0a20 2020 2020 2020 2072 2222 2263 6f75 . r"""cou │ │ │ -00074b90: 6e74 5f6c 696e 6573 2846 6c5f 5465 7874 nt_lines(Fl_Text │ │ │ -00074ba0: 5f42 7566 6665 7220 7365 6c66 2c20 696e _Buffer self, in │ │ │ -00074bb0: 7420 7374 6172 7450 6f73 2c20 696e 7420 t startPos, int │ │ │ -00074bc0: 656e 6450 6f73 2920 2d3e 2069 6e74 2222 endPos) -> int"" │ │ │ -00074bd0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00074be0: 205f 666c 746b 2e46 6c5f 5465 7874 5f42 _fltk.Fl_Text_B │ │ │ -00074bf0: 7566 6665 725f 636f 756e 745f 6c69 6e65 uffer_count_line │ │ │ -00074c00: 7328 7365 6c66 2c20 2a61 7267 7329 0a0a s(self, *args).. │ │ │ -00074c10: 2020 2020 6465 6620 6573 7469 6d61 7465 def estimate │ │ │ -00074c20: 5f6c 696e 6573 2873 656c 662c 202a 6172 _lines(self, *ar │ │ │ -00074c30: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -00074c40: 2265 7374 696d 6174 655f 6c69 6e65 7328 "estimate_lines( │ │ │ -00074c50: 466c 5f54 6578 745f 4275 6666 6572 2073 Fl_Text_Buffer s │ │ │ -00074c60: 656c 662c 2069 6e74 2073 7461 7274 506f elf, int startPo │ │ │ -00074c70: 732c 2069 6e74 2065 6e64 506f 732c 2069 s, int endPos, i │ │ │ -00074c80: 6e74 206c 696e 654c 656e 2920 2d3e 2069 nt lineLen) -> i │ │ │ -00074c90: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ -00074ca0: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ -00074cb0: 7874 5f42 7566 6665 725f 6573 7469 6d61 xt_Buffer_estima │ │ │ -00074cc0: 7465 5f6c 696e 6573 2873 656c 662c 202a te_lines(self, * │ │ │ -00074cd0: 6172 6773 290a 0a20 2020 2064 6566 2073 args).. def s │ │ │ -00074ce0: 6b69 705f 6c69 6e65 7328 7365 6c66 2c20 kip_lines(self, │ │ │ -00074cf0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00074d00: 7222 2222 736b 6970 5f6c 696e 6573 2846 r"""skip_lines(F │ │ │ -00074d10: 6c5f 5465 7874 5f42 7566 6665 7220 7365 l_Text_Buffer se │ │ │ -00074d20: 6c66 2c20 696e 7420 7374 6172 7450 6f73 lf, int startPos │ │ │ -00074d30: 2c20 696e 7420 6e4c 696e 6573 2920 2d3e , int nLines) -> │ │ │ -00074d40: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ -00074d50: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00074d60: 5465 7874 5f42 7566 6665 725f 736b 6970 Text_Buffer_skip │ │ │ -00074d70: 5f6c 696e 6573 2873 656c 662c 202a 6172 _lines(self, *ar │ │ │ -00074d80: 6773 290a 0a20 2020 2064 6566 2072 6577 gs).. def rew │ │ │ -00074d90: 696e 645f 6c69 6e65 7328 7365 6c66 2c20 ind_lines(self, │ │ │ -00074da0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00074db0: 7222 2222 7265 7769 6e64 5f6c 696e 6573 r"""rewind_lines │ │ │ -00074dc0: 2846 6c5f 5465 7874 5f42 7566 6665 7220 (Fl_Text_Buffer │ │ │ -00074dd0: 7365 6c66 2c20 696e 7420 7374 6172 7450 self, int startP │ │ │ -00074de0: 6f73 2c20 696e 7420 6e4c 696e 6573 2920 os, int nLines) │ │ │ -00074df0: 2d3e 2069 6e74 2222 220a 2020 2020 2020 -> int""". │ │ │ -00074e00: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -00074e10: 6c5f 5465 7874 5f42 7566 6665 725f 7265 l_Text_Buffer_re │ │ │ -00074e20: 7769 6e64 5f6c 696e 6573 2873 656c 662c wind_lines(self, │ │ │ -00074e30: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00074e40: 2066 696e 6463 6861 725f 666f 7277 6172 findchar_forwar │ │ │ -00074e50: 6428 7365 6c66 2c20 2a61 7267 7329 3a0a d(self, *args):. │ │ │ -00074e60: 2020 2020 2020 2020 7222 2222 6669 6e64 r"""find │ │ │ -00074e70: 6368 6172 5f66 6f72 7761 7264 2846 6c5f char_forward(Fl_ │ │ │ -00074e80: 5465 7874 5f42 7566 6665 7220 7365 6c66 Text_Buffer self │ │ │ -00074e90: 2c20 696e 7420 7374 6172 7450 6f73 2c20 , int startPos, │ │ │ -00074ea0: 756e 7369 676e 6564 2069 6e74 2073 6561 unsigned int sea │ │ │ -00074eb0: 7263 6843 6861 7229 202d 3e20 696e 7422 rchChar) -> int" │ │ │ -00074ec0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -00074ed0: 6e20 5f66 6c74 6b2e 466c 5f54 6578 745f n _fltk.Fl_Text_ │ │ │ -00074ee0: 4275 6666 6572 5f66 696e 6463 6861 725f Buffer_findchar_ │ │ │ -00074ef0: 666f 7277 6172 6428 7365 6c66 2c20 2a61 forward(self, *a │ │ │ -00074f00: 7267 7329 0a0a 2020 2020 6465 6620 6669 rgs).. def fi │ │ │ -00074f10: 6e64 6368 6172 5f62 6163 6b77 6172 6428 ndchar_backward( │ │ │ -00074f20: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -00074f30: 2020 2020 2020 7222 2222 6669 6e64 6368 r"""findch │ │ │ -00074f40: 6172 5f62 6163 6b77 6172 6428 466c 5f54 ar_backward(Fl_T │ │ │ -00074f50: 6578 745f 4275 6666 6572 2073 656c 662c ext_Buffer self, │ │ │ -00074f60: 2069 6e74 2073 7461 7274 506f 732c 2075 int startPos, u │ │ │ -00074f70: 6e73 6967 6e65 6420 696e 7420 7365 6172 nsigned int sear │ │ │ -00074f80: 6368 4368 6172 2920 2d3e 2069 6e74 2222 chChar) -> int"" │ │ │ -00074f90: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00074fa0: 205f 666c 746b 2e46 6c5f 5465 7874 5f42 _fltk.Fl_Text_B │ │ │ -00074fb0: 7566 6665 725f 6669 6e64 6368 6172 5f62 uffer_findchar_b │ │ │ -00074fc0: 6163 6b77 6172 6428 7365 6c66 2c20 2a61 ackward(self, *a │ │ │ -00074fd0: 7267 7329 0a0a 2020 2020 6465 6620 7365 rgs).. def se │ │ │ -00074fe0: 6172 6368 5f66 6f72 7761 7264 2873 656c arch_forward(sel │ │ │ -00074ff0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00075000: 2020 2072 2222 2273 6561 7263 685f 666f r"""search_fo │ │ │ -00075010: 7277 6172 6428 466c 5f54 6578 745f 4275 rward(Fl_Text_Bu │ │ │ -00075020: 6666 6572 2073 656c 662c 2069 6e74 2073 ffer self, int s │ │ │ -00075030: 7461 7274 506f 732c 2063 6861 7220 636f tartPos, char co │ │ │ -00075040: 6e73 7420 2a20 7365 6172 6368 5374 7269 nst * searchStri │ │ │ -00075050: 6e67 2c20 696e 7420 6d61 7463 6843 6173 ng, int matchCas │ │ │ -00075060: 653d 3029 202d 3e20 696e 7422 2222 0a20 e=0) -> int""". │ │ │ -00075070: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -00075080: 6c74 6b2e 466c 5f54 6578 745f 4275 6666 ltk.Fl_Text_Buff │ │ │ -00075090: 6572 5f73 6561 7263 685f 666f 7277 6172 er_search_forwar │ │ │ -000750a0: 6428 7365 6c66 2c20 2a61 7267 7329 0a0a d(self, *args).. │ │ │ -000750b0: 2020 2020 6465 6620 7365 6172 6368 5f62 def search_b │ │ │ -000750c0: 6163 6b77 6172 6428 7365 6c66 2c20 2a61 ackward(self, *a │ │ │ -000750d0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -000750e0: 2222 7365 6172 6368 5f62 6163 6b77 6172 ""search_backwar │ │ │ -000750f0: 6428 466c 5f54 6578 745f 4275 6666 6572 d(Fl_Text_Buffer │ │ │ -00075100: 2073 656c 662c 2069 6e74 2073 7461 7274 self, int start │ │ │ -00075110: 506f 732c 2063 6861 7220 636f 6e73 7420 Pos, char const │ │ │ -00075120: 2a20 7365 6172 6368 5374 7269 6e67 2c20 * searchString, │ │ │ -00075130: 696e 7420 6d61 7463 6843 6173 653d 3029 int matchCase=0) │ │ │ -00075140: 202d 3e20 696e 7422 2222 0a20 2020 2020 -> int""". │ │ │ -00075150: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00075160: 466c 5f54 6578 745f 4275 6666 6572 5f73 Fl_Text_Buffer_s │ │ │ -00075170: 6561 7263 685f 6261 636b 7761 7264 2873 earch_backward(s │ │ │ -00075180: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -00075190: 2064 6566 2070 7269 6d61 7279 5f73 656c def primary_sel │ │ │ -000751a0: 6563 7469 6f6e 2873 656c 662c 202a 6172 ection(self, *ar │ │ │ -000751b0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -000751c0: 220a 2020 2020 2020 2020 7072 696d 6172 ". primar │ │ │ -000751d0: 795f 7365 6c65 6374 696f 6e28 466c 5f54 y_selection(Fl_T │ │ │ -000751e0: 6578 745f 4275 6666 6572 2073 656c 6629 ext_Buffer self) │ │ │ -000751f0: 202d 3e20 466c 5f54 6578 745f 5365 6c65 -> Fl_Text_Sele │ │ │ -00075200: 6374 696f 6e0a 2020 2020 2020 2020 7072 ction. pr │ │ │ -00075210: 696d 6172 795f 7365 6c65 6374 696f 6e28 imary_selection( │ │ │ -00075220: 466c 5f54 6578 745f 4275 6666 6572 2073 Fl_Text_Buffer s │ │ │ -00075230: 656c 6629 202d 3e20 466c 5f54 6578 745f elf) -> Fl_Text_ │ │ │ -00075240: 5365 6c65 6374 696f 6e0a 2020 2020 2020 Selection. │ │ │ -00075250: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ -00075260: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ -00075270: 7874 5f42 7566 6665 725f 7072 696d 6172 xt_Buffer_primar │ │ │ -00075280: 795f 7365 6c65 6374 696f 6e28 7365 6c66 y_selection(self │ │ │ -00075290: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -000752a0: 6620 7365 636f 6e64 6172 795f 7365 6c65 f secondary_sele │ │ │ -000752b0: 6374 696f 6e28 7365 6c66 2c20 2a61 7267 ction(self, *arg │ │ │ -000752c0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -000752d0: 7365 636f 6e64 6172 795f 7365 6c65 6374 secondary_select │ │ │ -000752e0: 696f 6e28 466c 5f54 6578 745f 4275 6666 ion(Fl_Text_Buff │ │ │ -000752f0: 6572 2073 656c 6629 202d 3e20 466c 5f54 er self) -> Fl_T │ │ │ -00075300: 6578 745f 5365 6c65 6374 696f 6e22 2222 ext_Selection""" │ │ │ -00075310: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00075320: 5f66 6c74 6b2e 466c 5f54 6578 745f 4275 _fltk.Fl_Text_Bu │ │ │ -00075330: 6666 6572 5f73 6563 6f6e 6461 7279 5f73 ffer_secondary_s │ │ │ -00075340: 656c 6563 7469 6f6e 2873 656c 662c 202a election(self, * │ │ │ -00075350: 6172 6773 290a 0a20 2020 2064 6566 2068 args).. def h │ │ │ -00075360: 6967 686c 6967 6874 5f73 656c 6563 7469 ighlight_selecti │ │ │ -00075370: 6f6e 2873 656c 662c 202a 6172 6773 293a on(self, *args): │ │ │ -00075380: 0a20 2020 2020 2020 2072 2222 2268 6967 . r"""hig │ │ │ -00075390: 686c 6967 6874 5f73 656c 6563 7469 6f6e hlight_selection │ │ │ -000753a0: 2846 6c5f 5465 7874 5f42 7566 6665 7220 (Fl_Text_Buffer │ │ │ -000753b0: 7365 6c66 2920 2d3e 2046 6c5f 5465 7874 self) -> Fl_Text │ │ │ -000753c0: 5f53 656c 6563 7469 6f6e 2222 220a 2020 _Selection""". │ │ │ -000753d0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -000753e0: 746b 2e46 6c5f 5465 7874 5f42 7566 6665 tk.Fl_Text_Buffe │ │ │ -000753f0: 725f 6869 6768 6c69 6768 745f 7365 6c65 r_highlight_sele │ │ │ -00075400: 6374 696f 6e28 7365 6c66 2c20 2a61 7267 ction(self, *arg │ │ │ -00075410: 7329 0a0a 2020 2020 6465 6620 7072 6576 s).. def prev │ │ │ -00075420: 5f63 6861 7228 7365 6c66 2c20 2a61 7267 _char(self, *arg │ │ │ -00075430: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -00075440: 7072 6576 5f63 6861 7228 466c 5f54 6578 prev_char(Fl_Tex │ │ │ -00075450: 745f 4275 6666 6572 2073 656c 662c 2069 t_Buffer self, i │ │ │ -00075460: 6e74 2069 7829 202d 3e20 696e 7422 2222 nt ix) -> int""" │ │ │ -00075470: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00075480: 5f66 6c74 6b2e 466c 5f54 6578 745f 4275 _fltk.Fl_Text_Bu │ │ │ -00075490: 6666 6572 5f70 7265 765f 6368 6172 2873 ffer_prev_char(s │ │ │ -000754a0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -000754b0: 2064 6566 2070 7265 765f 6368 6172 5f63 def prev_char_c │ │ │ -000754c0: 6c69 7070 6564 2873 656c 662c 202a 6172 lipped(self, *ar │ │ │ -000754d0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -000754e0: 2270 7265 765f 6368 6172 5f63 6c69 7070 "prev_char_clipp │ │ │ -000754f0: 6564 2846 6c5f 5465 7874 5f42 7566 6665 ed(Fl_Text_Buffe │ │ │ -00075500: 7220 7365 6c66 2c20 696e 7420 6978 2920 r self, int ix) │ │ │ -00075510: 2d3e 2069 6e74 2222 220a 2020 2020 2020 -> int""". │ │ │ -00075520: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -00075530: 6c5f 5465 7874 5f42 7566 6665 725f 7072 l_Text_Buffer_pr │ │ │ -00075540: 6576 5f63 6861 725f 636c 6970 7065 6428 ev_char_clipped( │ │ │ -00075550: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -00075560: 2020 6465 6620 6e65 7874 5f63 6861 7228 def next_char( │ │ │ -00075570: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -00075580: 2020 2020 2020 7222 2222 6e65 7874 5f63 r"""next_c │ │ │ -00075590: 6861 7228 466c 5f54 6578 745f 4275 6666 har(Fl_Text_Buff │ │ │ -000755a0: 6572 2073 656c 662c 2069 6e74 2069 7829 er self, int ix) │ │ │ -000755b0: 202d 3e20 696e 7422 2222 0a20 2020 2020 -> int""". │ │ │ -000755c0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -000755d0: 466c 5f54 6578 745f 4275 6666 6572 5f6e Fl_Text_Buffer_n │ │ │ -000755e0: 6578 745f 6368 6172 2873 656c 662c 202a ext_char(self, * │ │ │ -000755f0: 6172 6773 290a 0a20 2020 2064 6566 206e args).. def n │ │ │ -00075600: 6578 745f 6368 6172 5f63 6c69 7070 6564 ext_char_clipped │ │ │ -00075610: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -00075620: 2020 2020 2020 2072 2222 226e 6578 745f r"""next_ │ │ │ -00075630: 6368 6172 5f63 6c69 7070 6564 2846 6c5f char_clipped(Fl_ │ │ │ -00075640: 5465 7874 5f42 7566 6665 7220 7365 6c66 Text_Buffer self │ │ │ -00075650: 2c20 696e 7420 6978 2920 2d3e 2069 6e74 , int ix) -> int │ │ │ -00075660: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -00075670: 726e 205f 666c 746b 2e46 6c5f 5465 7874 rn _fltk.Fl_Text │ │ │ -00075680: 5f42 7566 6665 725f 6e65 7874 5f63 6861 _Buffer_next_cha │ │ │ -00075690: 725f 636c 6970 7065 6428 7365 6c66 2c20 r_clipped(self, │ │ │ -000756a0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -000756b0: 7574 6638 5f61 6c69 676e 2873 656c 662c utf8_align(self, │ │ │ -000756c0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -000756d0: 2072 2222 2275 7466 385f 616c 6967 6e28 r"""utf8_align( │ │ │ -000756e0: 466c 5f54 6578 745f 4275 6666 6572 2073 Fl_Text_Buffer s │ │ │ -000756f0: 656c 662c 2069 6e74 2061 7267 3229 202d elf, int arg2) - │ │ │ -00075700: 3e20 696e 7422 2222 0a20 2020 2020 2020 > int""". │ │ │ -00075710: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -00075720: 5f54 6578 745f 4275 6666 6572 5f75 7466 _Text_Buffer_utf │ │ │ -00075730: 385f 616c 6967 6e28 7365 6c66 2c20 2a61 8_align(self, *a │ │ │ -00075740: 7267 7329 0a0a 2020 2020 6465 6620 6973 rgs).. def is │ │ │ -00075750: 5f77 6f72 645f 7365 7061 7261 746f 7228 _word_separator( │ │ │ -00075760: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -00075770: 2020 2020 2020 7222 2222 6973 5f77 6f72 r"""is_wor │ │ │ -00075780: 645f 7365 7061 7261 746f 7228 466c 5f54 d_separator(Fl_T │ │ │ -00075790: 6578 745f 4275 6666 6572 2073 656c 662c ext_Buffer self, │ │ │ -000757a0: 2069 6e74 2070 6f73 2920 2d3e 2062 6f6f int pos) -> boo │ │ │ -000757b0: 6c22 2222 0a20 2020 2020 2020 2072 6574 l""". ret │ │ │ -000757c0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6578 urn _fltk.Fl_Tex │ │ │ -000757d0: 745f 4275 6666 6572 5f69 735f 776f 7264 t_Buffer_is_word │ │ │ -000757e0: 5f73 6570 6172 6174 6f72 2873 656c 662c _separator(self, │ │ │ -000757f0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00075800: 2061 6464 5f6d 6f64 6966 795f 6361 6c6c add_modify_call │ │ │ -00075810: 6261 636b 2873 656c 662c 202a 6172 6773 back(self, *args │ │ │ -00075820: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ -00075830: 2020 2020 2020 2020 6164 645f 6d6f 6469 add_modi │ │ │ -00075840: 6679 5f63 616c 6c62 6163 6b28 466c 5f54 fy_callback(Fl_T │ │ │ -00075850: 6578 745f 4275 6666 6572 2073 656c 662c ext_Buffer self, │ │ │ -00075860: 2046 6c5f 5465 7874 5f4d 6f64 6966 795f Fl_Text_Modify_ │ │ │ -00075870: 4362 2062 7566 4d6f 6469 6669 6564 4342 Cb bufModifiedCB │ │ │ -00075880: 2c20 766f 6964 202a 2063 6241 7267 290a , void * cbArg). │ │ │ -00075890: 2020 2020 2020 2020 6164 645f 6d6f 6469 add_modi │ │ │ -000758a0: 6679 5f63 616c 6c62 6163 6b28 466c 5f54 fy_callback(Fl_T │ │ │ -000758b0: 6578 745f 4275 6666 6572 2073 656c 662c ext_Buffer self, │ │ │ -000758c0: 2050 794f 626a 6563 7420 2a20 5079 4675 PyObject * PyFu │ │ │ -000758d0: 6e63 2c20 5079 4f62 6a65 6374 202a 2050 nc, PyObject * P │ │ │ -000758e0: 7954 6172 6765 743d 4e6f 6e65 290a 2020 yTarget=None). │ │ │ -000758f0: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ -00075900: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -00075910: 6c5f 5465 7874 5f42 7566 6665 725f 6164 l_Text_Buffer_ad │ │ │ -00075920: 645f 6d6f 6469 6679 5f63 616c 6c62 6163 d_modify_callbac │ │ │ -00075930: 6b28 7365 6c66 2c20 2a61 7267 7329 0a0a k(self, *args).. │ │ │ -00075940: 2020 2020 6465 6620 7265 6d6f 7665 5f6d def remove_m │ │ │ +000705e0: 6c5f 5465 726d 696e 616c 2073 656c 6629 l_Terminal self) │ │ │ +000705f0: 202d 3e20 696e 740a 2020 2020 2020 2020 -> int. │ │ │ +00070600: 6d61 7267 696e 5f6c 6566 7428 466c 5f54 margin_left(Fl_T │ │ │ +00070610: 6572 6d69 6e61 6c20 7365 6c66 2c20 696e erminal self, in │ │ │ +00070620: 7420 7661 6c29 0a20 2020 2020 2020 2022 t val). " │ │ │ +00070630: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +00070640: 6e20 5f66 6c74 6b2e 466c 5f54 6572 6d69 n _fltk.Fl_Termi │ │ │ +00070650: 6e61 6c5f 6d61 7267 696e 5f6c 6566 7428 nal_margin_left( │ │ │ +00070660: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +00070670: 2020 6465 6620 6d61 7267 696e 5f72 6967 def margin_rig │ │ │ +00070680: 6874 2873 656c 662c 202a 6172 6773 293a ht(self, *args): │ │ │ +00070690: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ +000706a0: 2020 2020 2020 6d61 7267 696e 5f72 6967 margin_rig │ │ │ +000706b0: 6874 2846 6c5f 5465 726d 696e 616c 2073 ht(Fl_Terminal s │ │ │ +000706c0: 656c 6629 202d 3e20 696e 740a 2020 2020 elf) -> int. │ │ │ +000706d0: 2020 2020 6d61 7267 696e 5f72 6967 6874 margin_right │ │ │ +000706e0: 2846 6c5f 5465 726d 696e 616c 2073 656c (Fl_Terminal sel │ │ │ +000706f0: 662c 2069 6e74 2076 616c 290a 2020 2020 f, int val). │ │ │ +00070700: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ +00070710: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +00070720: 5465 726d 696e 616c 5f6d 6172 6769 6e5f Terminal_margin_ │ │ │ +00070730: 7269 6768 7428 7365 6c66 2c20 2a61 7267 right(self, *arg │ │ │ +00070740: 7329 0a0a 2020 2020 6465 6620 6d61 7267 s).. def marg │ │ │ +00070750: 696e 5f74 6f70 2873 656c 662c 202a 6172 in_top(self, *ar │ │ │ +00070760: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00070770: 220a 2020 2020 2020 2020 6d61 7267 696e ". margin │ │ │ +00070780: 5f74 6f70 2846 6c5f 5465 726d 696e 616c _top(Fl_Terminal │ │ │ +00070790: 2073 656c 6629 202d 3e20 696e 740a 2020 self) -> int. │ │ │ +000707a0: 2020 2020 2020 6d61 7267 696e 5f74 6f70 margin_top │ │ │ +000707b0: 2846 6c5f 5465 726d 696e 616c 2073 656c (Fl_Terminal sel │ │ │ +000707c0: 662c 2069 6e74 2076 616c 290a 2020 2020 f, int val). │ │ │ +000707d0: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ +000707e0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +000707f0: 5465 726d 696e 616c 5f6d 6172 6769 6e5f Terminal_margin_ │ │ │ +00070800: 746f 7028 7365 6c66 2c20 2a61 7267 7329 top(self, *args) │ │ │ +00070810: 0a0a 2020 2020 6465 6620 6d61 7267 696e .. def margin │ │ │ +00070820: 5f62 6f74 746f 6d28 7365 6c66 2c20 2a61 _bottom(self, *a │ │ │ +00070830: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00070840: 2222 0a20 2020 2020 2020 206d 6172 6769 "". margi │ │ │ +00070850: 6e5f 626f 7474 6f6d 2846 6c5f 5465 726d n_bottom(Fl_Term │ │ │ +00070860: 696e 616c 2073 656c 6629 202d 3e20 696e inal self) -> in │ │ │ +00070870: 740a 2020 2020 2020 2020 6d61 7267 696e t. margin │ │ │ +00070880: 5f62 6f74 746f 6d28 466c 5f54 6572 6d69 _bottom(Fl_Termi │ │ │ +00070890: 6e61 6c20 7365 6c66 2c20 696e 7420 7661 nal self, int va │ │ │ +000708a0: 6c29 0a20 2020 2020 2020 2022 2222 0a20 l). """. │ │ │ +000708b0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +000708c0: 6c74 6b2e 466c 5f54 6572 6d69 6e61 6c5f ltk.Fl_Terminal_ │ │ │ +000708d0: 6d61 7267 696e 5f62 6f74 746f 6d28 7365 margin_bottom(se │ │ │ +000708e0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +000708f0: 6465 6620 7465 7874 666f 6e74 2873 656c def textfont(sel │ │ │ +00070900: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +00070910: 2020 2072 2222 220a 2020 2020 2020 2020 r""". │ │ │ +00070920: 7465 7874 666f 6e74 2846 6c5f 5465 726d textfont(Fl_Term │ │ │ +00070930: 696e 616c 2073 656c 662c 2046 6c5f 466f inal self, Fl_Fo │ │ │ +00070940: 6e74 2076 616c 290a 2020 2020 2020 2020 nt val). │ │ │ +00070950: 7465 7874 666f 6e74 2846 6c5f 5465 726d textfont(Fl_Term │ │ │ +00070960: 696e 616c 2073 656c 6629 202d 3e20 466c inal self) -> Fl │ │ │ +00070970: 5f46 6f6e 740a 2020 2020 2020 2020 2222 _Font. "" │ │ │ +00070980: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +00070990: 205f 666c 746b 2e46 6c5f 5465 726d 696e _fltk.Fl_Termin │ │ │ +000709a0: 616c 5f74 6578 7466 6f6e 7428 7365 6c66 al_textfont(self │ │ │ +000709b0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +000709c0: 6620 7465 7874 7369 7a65 2873 656c 662c f textsize(self, │ │ │ +000709d0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +000709e0: 2072 2222 220a 2020 2020 2020 2020 7465 r""". te │ │ │ +000709f0: 7874 7369 7a65 2846 6c5f 5465 726d 696e xtsize(Fl_Termin │ │ │ +00070a00: 616c 2073 656c 662c 2046 6c5f 466f 6e74 al self, Fl_Font │ │ │ +00070a10: 7369 7a65 2076 616c 290a 2020 2020 2020 size val). │ │ │ +00070a20: 2020 7465 7874 7369 7a65 2846 6c5f 5465 textsize(Fl_Te │ │ │ +00070a30: 726d 696e 616c 2073 656c 6629 202d 3e20 rminal self) -> │ │ │ +00070a40: 466c 5f46 6f6e 7473 697a 650a 2020 2020 Fl_Fontsize. │ │ │ +00070a50: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ +00070a60: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +00070a70: 5465 726d 696e 616c 5f74 6578 7473 697a Terminal_textsiz │ │ │ +00070a80: 6528 7365 6c66 2c20 2a61 7267 7329 0a0a e(self, *args).. │ │ │ +00070a90: 2020 2020 6465 6620 636f 6c6f 7228 7365 def color(se │ │ │ +00070aa0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +00070ab0: 2020 2020 7222 2222 0a20 2020 2020 2020 r""". │ │ │ +00070ac0: 2063 6f6c 6f72 2846 6c5f 5465 726d 696e color(Fl_Termin │ │ │ +00070ad0: 616c 2073 656c 662c 2046 6c5f 436f 6c6f al self, Fl_Colo │ │ │ +00070ae0: 7220 7661 6c29 0a20 2020 2020 2020 2063 r val). c │ │ │ +00070af0: 6f6c 6f72 2846 6c5f 5465 726d 696e 616c olor(Fl_Terminal │ │ │ +00070b00: 2073 656c 6629 202d 3e20 466c 5f43 6f6c self) -> Fl_Col │ │ │ +00070b10: 6f72 0a20 2020 2020 2020 2022 2222 0a20 or. """. │ │ │ +00070b20: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00070b30: 6c74 6b2e 466c 5f54 6572 6d69 6e61 6c5f ltk.Fl_Terminal_ │ │ │ +00070b40: 636f 6c6f 7228 7365 6c66 2c20 2a61 7267 color(self, *arg │ │ │ +00070b50: 7329 0a0a 2020 2020 6465 6620 7465 7874 s).. def text │ │ │ +00070b60: 636f 6c6f 7228 7365 6c66 2c20 2a61 7267 color(self, *arg │ │ │ +00070b70: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +00070b80: 0a20 2020 2020 2020 2074 6578 7463 6f6c . textcol │ │ │ +00070b90: 6f72 2846 6c5f 5465 726d 696e 616c 2073 or(Fl_Terminal s │ │ │ +00070ba0: 656c 662c 2046 6c5f 436f 6c6f 7220 7661 elf, Fl_Color va │ │ │ +00070bb0: 6c29 0a20 2020 2020 2020 2074 6578 7463 l). textc │ │ │ +00070bc0: 6f6c 6f72 2846 6c5f 5465 726d 696e 616c olor(Fl_Terminal │ │ │ +00070bd0: 2073 656c 6629 202d 3e20 466c 5f43 6f6c self) -> Fl_Col │ │ │ +00070be0: 6f72 0a20 2020 2020 2020 2022 2222 0a20 or. """. │ │ │ +00070bf0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00070c00: 6c74 6b2e 466c 5f54 6572 6d69 6e61 6c5f ltk.Fl_Terminal_ │ │ │ +00070c10: 7465 7874 636f 6c6f 7228 7365 6c66 2c20 textcolor(self, │ │ │ +00070c20: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +00070c30: 7465 7874 6667 636f 6c6f 7228 7365 6c66 textfgcolor(self │ │ │ +00070c40: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00070c50: 2020 7222 2222 0a20 2020 2020 2020 2074 r""". t │ │ │ +00070c60: 6578 7466 6763 6f6c 6f72 2846 6c5f 5465 extfgcolor(Fl_Te │ │ │ +00070c70: 726d 696e 616c 2073 656c 662c 2046 6c5f rminal self, Fl_ │ │ │ +00070c80: 436f 6c6f 7220 7661 6c29 0a20 2020 2020 Color val). │ │ │ +00070c90: 2020 2074 6578 7466 6763 6f6c 6f72 2846 textfgcolor(F │ │ │ +00070ca0: 6c5f 5465 726d 696e 616c 2073 656c 6629 l_Terminal self) │ │ │ +00070cb0: 202d 3e20 466c 5f43 6f6c 6f72 0a20 2020 -> Fl_Color. │ │ │ +00070cc0: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ +00070cd0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +00070ce0: 5f54 6572 6d69 6e61 6c5f 7465 7874 6667 _Terminal_textfg │ │ │ +00070cf0: 636f 6c6f 7228 7365 6c66 2c20 2a61 7267 color(self, *arg │ │ │ +00070d00: 7329 0a0a 2020 2020 6465 6620 7465 7874 s).. def text │ │ │ +00070d10: 6267 636f 6c6f 7228 7365 6c66 2c20 2a61 bgcolor(self, *a │ │ │ +00070d20: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00070d30: 2222 0a20 2020 2020 2020 2074 6578 7462 "". textb │ │ │ +00070d40: 6763 6f6c 6f72 2846 6c5f 5465 726d 696e gcolor(Fl_Termin │ │ │ +00070d50: 616c 2073 656c 662c 2046 6c5f 436f 6c6f al self, Fl_Colo │ │ │ +00070d60: 7220 7661 6c29 0a20 2020 2020 2020 2074 r val). t │ │ │ +00070d70: 6578 7462 6763 6f6c 6f72 2846 6c5f 5465 extbgcolor(Fl_Te │ │ │ +00070d80: 726d 696e 616c 2073 656c 6629 202d 3e20 rminal self) -> │ │ │ +00070d90: 466c 5f43 6f6c 6f72 0a20 2020 2020 2020 Fl_Color. │ │ │ +00070da0: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ +00070db0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6572 urn _fltk.Fl_Ter │ │ │ +00070dc0: 6d69 6e61 6c5f 7465 7874 6267 636f 6c6f minal_textbgcolo │ │ │ +00070dd0: 7228 7365 6c66 2c20 2a61 7267 7329 0a0a r(self, *args).. │ │ │ +00070de0: 2020 2020 6465 6620 7465 7874 6667 636f def textfgco │ │ │ +00070df0: 6c6f 725f 6465 6661 756c 7428 7365 6c66 lor_default(self │ │ │ +00070e00: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00070e10: 2020 7222 2222 0a20 2020 2020 2020 2074 r""". t │ │ │ +00070e20: 6578 7466 6763 6f6c 6f72 5f64 6566 6175 extfgcolor_defau │ │ │ +00070e30: 6c74 2846 6c5f 5465 726d 696e 616c 2073 lt(Fl_Terminal s │ │ │ +00070e40: 656c 662c 2046 6c5f 436f 6c6f 7220 7661 elf, Fl_Color va │ │ │ +00070e50: 6c29 0a20 2020 2020 2020 2074 6578 7466 l). textf │ │ │ +00070e60: 6763 6f6c 6f72 5f64 6566 6175 6c74 2846 gcolor_default(F │ │ │ +00070e70: 6c5f 5465 726d 696e 616c 2073 656c 6629 l_Terminal self) │ │ │ +00070e80: 202d 3e20 466c 5f43 6f6c 6f72 0a20 2020 -> Fl_Color. │ │ │ +00070e90: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ +00070ea0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +00070eb0: 5f54 6572 6d69 6e61 6c5f 7465 7874 6667 _Terminal_textfg │ │ │ +00070ec0: 636f 6c6f 725f 6465 6661 756c 7428 7365 color_default(se │ │ │ +00070ed0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +00070ee0: 6465 6620 7465 7874 6267 636f 6c6f 725f def textbgcolor_ │ │ │ +00070ef0: 6465 6661 756c 7428 7365 6c66 2c20 2a61 default(self, *a │ │ │ +00070f00: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00070f10: 2222 0a20 2020 2020 2020 2074 6578 7462 "". textb │ │ │ +00070f20: 6763 6f6c 6f72 5f64 6566 6175 6c74 2846 gcolor_default(F │ │ │ +00070f30: 6c5f 5465 726d 696e 616c 2073 656c 662c l_Terminal self, │ │ │ +00070f40: 2046 6c5f 436f 6c6f 7220 7661 6c29 0a20 Fl_Color val). │ │ │ +00070f50: 2020 2020 2020 2074 6578 7462 6763 6f6c textbgcol │ │ │ +00070f60: 6f72 5f64 6566 6175 6c74 2846 6c5f 5465 or_default(Fl_Te │ │ │ +00070f70: 726d 696e 616c 2073 656c 6629 202d 3e20 rminal self) -> │ │ │ +00070f80: 466c 5f43 6f6c 6f72 0a20 2020 2020 2020 Fl_Color. │ │ │ +00070f90: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ +00070fa0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6572 urn _fltk.Fl_Ter │ │ │ +00070fb0: 6d69 6e61 6c5f 7465 7874 6267 636f 6c6f minal_textbgcolo │ │ │ +00070fc0: 725f 6465 6661 756c 7428 7365 6c66 2c20 r_default(self, │ │ │ +00070fd0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +00070fe0: 7465 7874 6667 636f 6c6f 725f 7874 6572 textfgcolor_xter │ │ │ +00070ff0: 6d28 7365 6c66 2c20 2a61 7267 7329 3a0a m(self, *args):. │ │ │ +00071000: 2020 2020 2020 2020 7222 2222 7465 7874 r"""text │ │ │ +00071010: 6667 636f 6c6f 725f 7874 6572 6d28 466c fgcolor_xterm(Fl │ │ │ +00071020: 5f54 6572 6d69 6e61 6c20 7365 6c66 2c20 _Terminal self, │ │ │ +00071030: 7563 6861 7220 7661 6c29 2222 220a 2020 uchar val)""". │ │ │ +00071040: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +00071050: 746b 2e46 6c5f 5465 726d 696e 616c 5f74 tk.Fl_Terminal_t │ │ │ +00071060: 6578 7466 6763 6f6c 6f72 5f78 7465 726d extfgcolor_xterm │ │ │ +00071070: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +00071080: 2020 2064 6566 2074 6578 7462 6763 6f6c def textbgcol │ │ │ +00071090: 6f72 5f78 7465 726d 2873 656c 662c 202a or_xterm(self, * │ │ │ +000710a0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +000710b0: 2222 2274 6578 7462 6763 6f6c 6f72 5f78 """textbgcolor_x │ │ │ +000710c0: 7465 726d 2846 6c5f 5465 726d 696e 616c term(Fl_Terminal │ │ │ +000710d0: 2073 656c 662c 2075 6368 6172 2076 616c self, uchar val │ │ │ +000710e0: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ +000710f0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6572 urn _fltk.Fl_Ter │ │ │ +00071100: 6d69 6e61 6c5f 7465 7874 6267 636f 6c6f minal_textbgcolo │ │ │ +00071110: 725f 7874 6572 6d28 7365 6c66 2c20 2a61 r_xterm(self, *a │ │ │ +00071120: 7267 7329 0a0a 2020 2020 6465 6620 7365 rgs).. def se │ │ │ +00071130: 6c65 6374 696f 6e66 6763 6f6c 6f72 2873 lectionfgcolor(s │ │ │ +00071140: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00071150: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ +00071160: 2020 7365 6c65 6374 696f 6e66 6763 6f6c selectionfgcol │ │ │ +00071170: 6f72 2846 6c5f 5465 726d 696e 616c 2073 or(Fl_Terminal s │ │ │ +00071180: 656c 662c 2046 6c5f 436f 6c6f 7220 7661 elf, Fl_Color va │ │ │ +00071190: 6c29 0a20 2020 2020 2020 2073 656c 6563 l). selec │ │ │ +000711a0: 7469 6f6e 6667 636f 6c6f 7228 466c 5f54 tionfgcolor(Fl_T │ │ │ +000711b0: 6572 6d69 6e61 6c20 7365 6c66 2920 2d3e erminal self) -> │ │ │ +000711c0: 2046 6c5f 436f 6c6f 720a 2020 2020 2020 Fl_Color. │ │ │ +000711d0: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ +000711e0: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ +000711f0: 726d 696e 616c 5f73 656c 6563 7469 6f6e rminal_selection │ │ │ +00071200: 6667 636f 6c6f 7228 7365 6c66 2c20 2a61 fgcolor(self, *a │ │ │ +00071210: 7267 7329 0a0a 2020 2020 6465 6620 7365 rgs).. def se │ │ │ +00071220: 6c65 6374 696f 6e62 6763 6f6c 6f72 2873 lectionbgcolor(s │ │ │ +00071230: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00071240: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ +00071250: 2020 7365 6c65 6374 696f 6e62 6763 6f6c selectionbgcol │ │ │ +00071260: 6f72 2846 6c5f 5465 726d 696e 616c 2073 or(Fl_Terminal s │ │ │ +00071270: 656c 662c 2046 6c5f 436f 6c6f 7220 7661 elf, Fl_Color va │ │ │ +00071280: 6c29 0a20 2020 2020 2020 2073 656c 6563 l). selec │ │ │ +00071290: 7469 6f6e 6267 636f 6c6f 7228 466c 5f54 tionbgcolor(Fl_T │ │ │ +000712a0: 6572 6d69 6e61 6c20 7365 6c66 2920 2d3e erminal self) -> │ │ │ +000712b0: 2046 6c5f 436f 6c6f 720a 2020 2020 2020 Fl_Color. │ │ │ +000712c0: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ +000712d0: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ +000712e0: 726d 696e 616c 5f73 656c 6563 7469 6f6e rminal_selection │ │ │ +000712f0: 6267 636f 6c6f 7228 7365 6c66 2c20 2a61 bgcolor(self, *a │ │ │ +00071300: 7267 7329 0a0a 2020 2020 6465 6620 7465 rgs).. def te │ │ │ +00071310: 7874 6174 7472 6962 2873 656c 662c 202a xtattrib(self, * │ │ │ +00071320: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +00071330: 2222 220a 2020 2020 2020 2020 7465 7874 """. text │ │ │ +00071340: 6174 7472 6962 2846 6c5f 5465 726d 696e attrib(Fl_Termin │ │ │ +00071350: 616c 2073 656c 662c 2075 6368 6172 2076 al self, uchar v │ │ │ +00071360: 616c 290a 2020 2020 2020 2020 7465 7874 al). text │ │ │ +00071370: 6174 7472 6962 2846 6c5f 5465 726d 696e attrib(Fl_Termin │ │ │ +00071380: 616c 2073 656c 6629 202d 3e20 7563 6861 al self) -> ucha │ │ │ +00071390: 720a 2020 2020 2020 2020 2222 220a 2020 r. """. │ │ │ +000713a0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +000713b0: 746b 2e46 6c5f 5465 726d 696e 616c 5f74 tk.Fl_Terminal_t │ │ │ +000713c0: 6578 7461 7474 7269 6228 7365 6c66 2c20 extattrib(self, │ │ │ +000713d0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +000713e0: 7265 6472 6177 5f73 7479 6c65 2873 656c redraw_style(sel │ │ │ +000713f0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +00071400: 2020 2072 2222 220a 2020 2020 2020 2020 r""". │ │ │ +00071410: 7265 6472 6177 5f73 7479 6c65 2846 6c5f redraw_style(Fl_ │ │ │ +00071420: 5465 726d 696e 616c 2073 656c 6629 202d Terminal self) - │ │ │ +00071430: 3e20 466c 5f54 6572 6d69 6e61 6c3a 3a52 > Fl_Terminal::R │ │ │ +00071440: 6564 7261 7753 7479 6c65 0a20 2020 2020 edrawStyle. │ │ │ +00071450: 2020 2072 6564 7261 775f 7374 796c 6528 redraw_style( │ │ │ +00071460: 466c 5f54 6572 6d69 6e61 6c20 7365 6c66 Fl_Terminal self │ │ │ +00071470: 2c20 466c 5f54 6572 6d69 6e61 6c3a 3a52 , Fl_Terminal::R │ │ │ +00071480: 6564 7261 7753 7479 6c65 2076 616c 290a edrawStyle val). │ │ │ +00071490: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ +000714a0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +000714b0: 2e46 6c5f 5465 726d 696e 616c 5f72 6564 .Fl_Terminal_red │ │ │ +000714c0: 7261 775f 7374 796c 6528 7365 6c66 2c20 raw_style(self, │ │ │ +000714d0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +000714e0: 7265 6472 6177 5f72 6174 6528 7365 6c66 redraw_rate(self │ │ │ +000714f0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00071500: 2020 7222 2222 0a20 2020 2020 2020 2072 r""". r │ │ │ +00071510: 6564 7261 775f 7261 7465 2846 6c5f 5465 edraw_rate(Fl_Te │ │ │ +00071520: 726d 696e 616c 2073 656c 6629 202d 3e20 rminal self) -> │ │ │ +00071530: 666c 6f61 740a 2020 2020 2020 2020 7265 float. re │ │ │ +00071540: 6472 6177 5f72 6174 6528 466c 5f54 6572 draw_rate(Fl_Ter │ │ │ +00071550: 6d69 6e61 6c20 7365 6c66 2c20 666c 6f61 minal self, floa │ │ │ +00071560: 7420 7661 6c29 0a20 2020 2020 2020 2022 t val). " │ │ │ +00071570: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +00071580: 6e20 5f66 6c74 6b2e 466c 5f54 6572 6d69 n _fltk.Fl_Termi │ │ │ +00071590: 6e61 6c5f 7265 6472 6177 5f72 6174 6528 nal_redraw_rate( │ │ │ +000715a0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +000715b0: 2020 6465 6620 7368 6f77 5f75 6e6b 6e6f def show_unkno │ │ │ +000715c0: 776e 2873 656c 662c 202a 6172 6773 293a wn(self, *args): │ │ │ +000715d0: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ +000715e0: 2020 2020 2020 7368 6f77 5f75 6e6b 6e6f show_unkno │ │ │ +000715f0: 776e 2846 6c5f 5465 726d 696e 616c 2073 wn(Fl_Terminal s │ │ │ +00071600: 656c 6629 202d 3e20 626f 6f6c 0a20 2020 elf) -> bool. │ │ │ +00071610: 2020 2020 2073 686f 775f 756e 6b6e 6f77 show_unknow │ │ │ +00071620: 6e28 466c 5f54 6572 6d69 6e61 6c20 7365 n(Fl_Terminal se │ │ │ +00071630: 6c66 2c20 626f 6f6c 2076 616c 290a 2020 lf, bool val). │ │ │ +00071640: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ +00071650: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +00071660: 6c5f 5465 726d 696e 616c 5f73 686f 775f l_Terminal_show_ │ │ │ +00071670: 756e 6b6e 6f77 6e28 7365 6c66 2c20 2a61 unknown(self, *a │ │ │ +00071680: 7267 7329 0a0a 2020 2020 6465 6620 6572 rgs).. def er │ │ │ +00071690: 726f 725f 6368 6172 2873 656c 662c 202a ror_char(self, * │ │ │ +000716a0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +000716b0: 2222 220a 2020 2020 2020 2020 6572 726f """. erro │ │ │ +000716c0: 725f 6368 6172 2846 6c5f 5465 726d 696e r_char(Fl_Termin │ │ │ +000716d0: 616c 2073 656c 662c 2063 6861 7220 636f al self, char co │ │ │ +000716e0: 6e73 7420 2a20 7661 6c29 0a20 2020 2020 nst * val). │ │ │ +000716f0: 2020 2065 7272 6f72 5f63 6861 7228 466c error_char(Fl │ │ │ +00071700: 5f54 6572 6d69 6e61 6c20 7365 6c66 2920 _Terminal self) │ │ │ +00071710: 2d3e 2063 6861 7220 636f 6e73 7420 2a0a -> char const *. │ │ │ +00071720: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ +00071730: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +00071740: 2e46 6c5f 5465 726d 696e 616c 5f65 7272 .Fl_Terminal_err │ │ │ +00071750: 6f72 5f63 6861 7228 7365 6c66 2c20 2a61 or_char(self, *a │ │ │ +00071760: 7267 7329 0a0a 2020 2020 6465 6620 616e rgs).. def an │ │ │ +00071770: 7369 2873 656c 662c 202a 6172 6773 293a si(self, *args): │ │ │ +00071780: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ +00071790: 2020 2020 2020 616e 7369 2846 6c5f 5465 ansi(Fl_Te │ │ │ +000717a0: 726d 696e 616c 2073 656c 6629 202d 3e20 rminal self) -> │ │ │ +000717b0: 626f 6f6c 0a20 2020 2020 2020 2061 6e73 bool. ans │ │ │ +000717c0: 6928 466c 5f54 6572 6d69 6e61 6c20 7365 i(Fl_Terminal se │ │ │ +000717d0: 6c66 2c20 626f 6f6c 2076 616c 290a 2020 lf, bool val). │ │ │ +000717e0: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ +000717f0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +00071800: 6c5f 5465 726d 696e 616c 5f61 6e73 6928 l_Terminal_ansi( │ │ │ +00071810: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +00071820: 2020 6465 6620 6869 7374 6f72 795f 6c69 def history_li │ │ │ +00071830: 6e65 7328 7365 6c66 2c20 2a61 7267 7329 nes(self, *args) │ │ │ +00071840: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ +00071850: 2020 2020 2020 2068 6973 746f 7279 5f6c history_l │ │ │ +00071860: 696e 6573 2846 6c5f 5465 726d 696e 616c ines(Fl_Terminal │ │ │ +00071870: 2073 656c 6629 202d 3e20 696e 740a 2020 self) -> int. │ │ │ +00071880: 2020 2020 2020 6869 7374 6f72 795f 6c69 history_li │ │ │ +00071890: 6e65 7328 466c 5f54 6572 6d69 6e61 6c20 nes(Fl_Terminal │ │ │ +000718a0: 7365 6c66 2c20 696e 7420 7661 6c29 0a20 self, int val). │ │ │ +000718b0: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ +000718c0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +000718d0: 466c 5f54 6572 6d69 6e61 6c5f 6869 7374 Fl_Terminal_hist │ │ │ +000718e0: 6f72 795f 6c69 6e65 7328 7365 6c66 2c20 ory_lines(self, │ │ │ +000718f0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +00071900: 7072 696e 7466 2873 656c 662c 202a 6172 printf(self, *ar │ │ │ +00071910: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00071920: 2270 7269 6e74 6628 466c 5f54 6572 6d69 "printf(Fl_Termi │ │ │ +00071930: 6e61 6c20 7365 6c66 2c20 6368 6172 2063 nal self, char c │ │ │ +00071940: 6f6e 7374 202a 2066 6d74 2922 2222 0a20 onst * fmt)""". │ │ │ +00071950: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00071960: 6c74 6b2e 466c 5f54 6572 6d69 6e61 6c5f ltk.Fl_Terminal_ │ │ │ +00071970: 7072 696e 7466 2873 656c 662c 202a 6172 printf(self, *ar │ │ │ +00071980: 6773 290a 0a20 2020 2064 6566 205f 5f69 gs).. def __i │ │ │ +00071990: 6e69 745f 5f28 7365 6c66 2c20 2a61 7267 nit__(self, *arg │ │ │ +000719a0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +000719b0: 0a20 2020 2020 2020 205f 5f69 6e69 745f . __init_ │ │ │ +000719c0: 5f28 466c 5f54 6572 6d69 6e61 6c20 7365 _(Fl_Terminal se │ │ │ +000719d0: 6c66 2c20 696e 7420 582c 2069 6e74 2059 lf, int X, int Y │ │ │ +000719e0: 2c20 696e 7420 572c 2069 6e74 2048 2c20 , int W, int H, │ │ │ +000719f0: 6368 6172 2063 6f6e 7374 202a 204c 3d4e char const * L=N │ │ │ +00071a00: 6f6e 6529 202d 3e20 466c 5f54 6572 6d69 one) -> Fl_Termi │ │ │ +00071a10: 6e61 6c0a 2020 2020 2020 2020 5f5f 696e nal. __in │ │ │ +00071a20: 6974 5f5f 2846 6c5f 5465 726d 696e 616c it__(Fl_Terminal │ │ │ +00071a30: 2073 656c 662c 2069 6e74 2058 2c20 696e self, int X, in │ │ │ +00071a40: 7420 592c 2069 6e74 2057 2c20 696e 7420 t Y, int W, int │ │ │ +00071a50: 482c 2063 6861 7220 636f 6e73 7420 2a20 H, char const * │ │ │ +00071a60: 4c2c 2069 6e74 2072 6f77 732c 2069 6e74 L, int rows, int │ │ │ +00071a70: 2063 6f6c 732c 2069 6e74 2068 6973 7429 cols, int hist) │ │ │ +00071a80: 202d 3e20 466c 5f54 6572 6d69 6e61 6c0a -> Fl_Terminal. │ │ │ +00071a90: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ +00071aa0: 2020 2020 6966 2073 656c 662e 5f5f 636c if self.__cl │ │ │ +00071ab0: 6173 735f 5f20 3d3d 2046 6c5f 5465 726d ass__ == Fl_Term │ │ │ +00071ac0: 696e 616c 3a0a 2020 2020 2020 2020 2020 inal:. │ │ │ +00071ad0: 2020 5f73 656c 6620 3d20 4e6f 6e65 0a20 _self = None. │ │ │ +00071ae0: 2020 2020 2020 2065 6c73 653a 0a20 2020 else:. │ │ │ +00071af0: 2020 2020 2020 2020 205f 7365 6c66 203d _self = │ │ │ +00071b00: 2073 656c 660a 2020 2020 2020 2020 5f66 self. _f │ │ │ +00071b10: 6c74 6b2e 466c 5f54 6572 6d69 6e61 6c5f ltk.Fl_Terminal_ │ │ │ +00071b20: 7377 6967 696e 6974 2873 656c 662c 205f swiginit(self, _ │ │ │ +00071b30: 666c 746b 2e6e 6577 5f46 6c5f 5465 726d fltk.new_Fl_Term │ │ │ +00071b40: 696e 616c 285f 7365 6c66 2c20 2a61 7267 inal(_self, *arg │ │ │ +00071b50: 7329 290a 0a20 2020 2020 2020 2069 6620 s)).. if │ │ │ +00071b60: 6c65 6e28 6172 6773 2920 3d3d 2035 3a20 len(args) == 5: │ │ │ +00071b70: 2020 2020 2020 2020 200a 2020 2020 2020 . │ │ │ +00071b80: 2020 2372 6574 6169 6e20 7265 6665 7265 #retain refere │ │ │ +00071b90: 6e63 6520 746f 206c 6162 656c 0a20 2020 nce to label. │ │ │ +00071ba0: 2020 2020 2020 2020 2073 656c 662e 6d79 self.my │ │ │ +00071bb0: 5f6c 6162 656c 203d 2061 7267 735b 2d31 _label = args[-1 │ │ │ +00071bc0: 5d0a 2020 2020 2020 2020 6966 2073 656c ]. if sel │ │ │ +00071bd0: 662e 7061 7265 6e74 2829 2021 3d20 4e6f f.parent() != No │ │ │ +00071be0: 6e65 3a20 2020 0a20 2020 2020 2020 2023 ne: . # │ │ │ +00071bf0: 6465 6c65 6761 7465 206f 776e 6572 7368 delegate ownersh │ │ │ +00071c00: 6970 2074 6f20 432b 2b0a 2020 2020 2020 ip to C++. │ │ │ +00071c10: 2020 2020 2020 7365 6c66 2e74 6869 732e self.this. │ │ │ +00071c20: 6469 736f 776e 2829 0a20 2020 2020 2020 disown(). │ │ │ +00071c30: 2073 656c 662e 696e 6974 5f74 7970 6528 self.init_type( │ │ │ +00071c40: 2246 6c5f 5465 726d 696e 616c 2229 0a20 "Fl_Terminal"). │ │ │ +00071c50: 2020 2020 2020 2023 7072 696e 7428 2241 #print("A │ │ │ +00071c60: 6464 696e 6720 7479 7065 3a20 222c 2046 dding type: ", F │ │ │ +00071c70: 6c5f 5465 726d 696e 616c 290a 0a0a 0a20 l_Terminal).... │ │ │ +00071c80: 2020 205f 5f73 7769 675f 6465 7374 726f __swig_destro │ │ │ +00071c90: 795f 5f20 3d20 5f66 6c74 6b2e 6465 6c65 y__ = _fltk.dele │ │ │ +00071ca0: 7465 5f46 6c5f 5465 726d 696e 616c 0a0a te_Fl_Terminal.. │ │ │ +00071cb0: 2020 2020 6465 6620 696e 6974 5f74 7970 def init_typ │ │ │ +00071cc0: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ +00071cd0: 2020 2020 2020 2020 7222 2222 696e 6974 r"""init │ │ │ +00071ce0: 5f74 7970 6528 466c 5f54 6572 6d69 6e61 _type(Fl_Termina │ │ │ +00071cf0: 6c20 7365 6c66 2c20 6368 6172 202a 2046 l self, char * F │ │ │ +00071d00: 6c5f 5465 726d 696e 616c 2922 2222 0a20 l_Terminal)""". │ │ │ +00071d10: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00071d20: 6c74 6b2e 466c 5f54 6572 6d69 6e61 6c5f ltk.Fl_Terminal_ │ │ │ +00071d30: 696e 6974 5f74 7970 6528 7365 6c66 2c20 init_type(self, │ │ │ +00071d40: 2a61 7267 7329 0a20 2020 2064 6566 205f *args). def _ │ │ │ +00071d50: 5f64 6973 6f77 6e5f 5f28 7365 6c66 293a _disown__(self): │ │ │ +00071d60: 0a20 2020 2020 2020 2073 656c 662e 7468 . self.th │ │ │ +00071d70: 6973 2e64 6973 6f77 6e28 290a 2020 2020 is.disown(). │ │ │ +00071d80: 2020 2020 5f66 6c74 6b2e 6469 736f 776e _fltk.disown │ │ │ +00071d90: 5f46 6c5f 5465 726d 696e 616c 2873 656c _Fl_Terminal(sel │ │ │ +00071da0: 6629 0a20 2020 2020 2020 2072 6574 7572 f). retur │ │ │ +00071db0: 6e20 7765 616b 7265 662e 7072 6f78 7928 n weakref.proxy( │ │ │ +00071dc0: 7365 6c66 290a 0a23 2052 6567 6973 7465 self)..# Registe │ │ │ +00071dd0: 7220 466c 5f54 6572 6d69 6e61 6c20 696e r Fl_Terminal in │ │ │ +00071de0: 205f 666c 746b 3a0a 5f66 6c74 6b2e 466c _fltk:._fltk.Fl │ │ │ +00071df0: 5f54 6572 6d69 6e61 6c5f 7377 6967 7265 _Terminal_swigre │ │ │ +00071e00: 6769 7374 6572 2846 6c5f 5465 726d 696e gister(Fl_Termin │ │ │ +00071e10: 616c 290a 464c 5f54 4558 545f 4d41 585f al).FL_TEXT_MAX_ │ │ │ +00071e20: 4558 505f 4348 4152 5f4c 454e 203d 205f EXP_CHAR_LEN = _ │ │ │ +00071e30: 666c 746b 2e46 4c5f 5445 5854 5f4d 4158 fltk.FL_TEXT_MAX │ │ │ +00071e40: 5f45 5850 5f43 4841 525f 4c45 4e0a 0a63 _EXP_CHAR_LEN..c │ │ │ +00071e50: 6c61 7373 2046 6c5f 5465 7874 5f53 656c lass Fl_Text_Sel │ │ │ +00071e60: 6563 7469 6f6e 286f 626a 6563 7429 3a0a ection(object):. │ │ │ +00071e70: 2020 2020 7222 2222 5072 6f78 7920 6f66 r"""Proxy of │ │ │ +00071e80: 2043 2b2b 2046 6c5f 5465 7874 5f53 656c C++ Fl_Text_Sel │ │ │ +00071e90: 6563 7469 6f6e 2063 6c61 7373 2e22 2222 ection class.""" │ │ │ +00071ea0: 0a0a 2020 2020 7468 6973 6f77 6e20 3d20 .. thisown = │ │ │ +00071eb0: 7072 6f70 6572 7479 286c 616d 6264 6120 property(lambda │ │ │ +00071ec0: 783a 2078 2e74 6869 732e 6f77 6e28 292c x: x.this.own(), │ │ │ +00071ed0: 206c 616d 6264 6120 782c 2076 3a20 782e lambda x, v: x. │ │ │ +00071ee0: 7468 6973 2e6f 776e 2876 292c 2064 6f63 this.own(v), doc │ │ │ +00071ef0: 3d22 5468 6520 6d65 6d62 6572 7368 6970 ="The membership │ │ │ +00071f00: 2066 6c61 6722 290a 2020 2020 5f5f 7265 flag"). __re │ │ │ +00071f10: 7072 5f5f 203d 205f 7377 6967 5f72 6570 pr__ = _swig_rep │ │ │ +00071f20: 720a 0a20 2020 2064 6566 2073 6574 2873 r.. def set(s │ │ │ +00071f30: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00071f40: 2020 2020 2072 2222 2273 6574 2846 6c5f r"""set(Fl_ │ │ │ +00071f50: 5465 7874 5f53 656c 6563 7469 6f6e 2073 Text_Selection s │ │ │ +00071f60: 656c 662c 2069 6e74 2073 7461 7274 706f elf, int startpo │ │ │ +00071f70: 732c 2069 6e74 2065 6e64 706f 7329 2222 s, int endpos)"" │ │ │ +00071f80: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +00071f90: 205f 666c 746b 2e46 6c5f 5465 7874 5f53 _fltk.Fl_Text_S │ │ │ +00071fa0: 656c 6563 7469 6f6e 5f73 6574 2873 656c election_set(sel │ │ │ +00071fb0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +00071fc0: 6566 2075 7064 6174 6528 7365 6c66 2c20 ef update(self, │ │ │ +00071fd0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00071fe0: 7222 2222 7570 6461 7465 2846 6c5f 5465 r"""update(Fl_Te │ │ │ +00071ff0: 7874 5f53 656c 6563 7469 6f6e 2073 656c xt_Selection sel │ │ │ +00072000: 662c 2069 6e74 2070 6f73 2c20 696e 7420 f, int pos, int │ │ │ +00072010: 6e44 656c 6574 6564 2c20 696e 7420 6e49 nDeleted, int nI │ │ │ +00072020: 6e73 6572 7465 6429 2222 220a 2020 2020 nserted)""". │ │ │ +00072030: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +00072040: 2e46 6c5f 5465 7874 5f53 656c 6563 7469 .Fl_Text_Selecti │ │ │ +00072050: 6f6e 5f75 7064 6174 6528 7365 6c66 2c20 on_update(self, │ │ │ +00072060: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +00072070: 7374 6172 7428 7365 6c66 2c20 2a61 7267 start(self, *arg │ │ │ +00072080: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +00072090: 7374 6172 7428 466c 5f54 6578 745f 5365 start(Fl_Text_Se │ │ │ +000720a0: 6c65 6374 696f 6e20 7365 6c66 2920 2d3e lection self) -> │ │ │ +000720b0: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ +000720c0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +000720d0: 5465 7874 5f53 656c 6563 7469 6f6e 5f73 Text_Selection_s │ │ │ +000720e0: 7461 7274 2873 656c 662c 202a 6172 6773 tart(self, *args │ │ │ +000720f0: 290a 0a20 2020 2064 6566 2065 6e64 2873 ).. def end(s │ │ │ +00072100: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00072110: 2020 2020 2072 2222 2265 6e64 2846 6c5f r"""end(Fl_ │ │ │ +00072120: 5465 7874 5f53 656c 6563 7469 6f6e 2073 Text_Selection s │ │ │ +00072130: 656c 6629 202d 3e20 696e 7422 2222 0a20 elf) -> int""". │ │ │ +00072140: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00072150: 6c74 6b2e 466c 5f54 6578 745f 5365 6c65 ltk.Fl_Text_Sele │ │ │ +00072160: 6374 696f 6e5f 656e 6428 7365 6c66 2c20 ction_end(self, │ │ │ +00072170: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +00072180: 6c65 6e67 7468 2873 656c 662c 202a 6172 length(self, *ar │ │ │ +00072190: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +000721a0: 226c 656e 6774 6828 466c 5f54 6578 745f "length(Fl_Text_ │ │ │ +000721b0: 5365 6c65 6374 696f 6e20 7365 6c66 2920 Selection self) │ │ │ +000721c0: 2d3e 2069 6e74 2222 220a 2020 2020 2020 -> int""". │ │ │ +000721d0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +000721e0: 6c5f 5465 7874 5f53 656c 6563 7469 6f6e l_Text_Selection │ │ │ +000721f0: 5f6c 656e 6774 6828 7365 6c66 2c20 2a61 _length(self, *a │ │ │ +00072200: 7267 7329 0a0a 2020 2020 6465 6620 696e rgs).. def in │ │ │ +00072210: 636c 7564 6573 2873 656c 662c 202a 6172 cludes(self, *ar │ │ │ +00072220: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00072230: 2269 6e63 6c75 6465 7328 466c 5f54 6578 "includes(Fl_Tex │ │ │ +00072240: 745f 5365 6c65 6374 696f 6e20 7365 6c66 t_Selection self │ │ │ +00072250: 2c20 696e 7420 706f 7329 202d 3e20 696e , int pos) -> in │ │ │ +00072260: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ +00072270: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6578 urn _fltk.Fl_Tex │ │ │ +00072280: 745f 5365 6c65 6374 696f 6e5f 696e 636c t_Selection_incl │ │ │ +00072290: 7564 6573 2873 656c 662c 202a 6172 6773 udes(self, *args │ │ │ +000722a0: 290a 0a20 2020 2064 6566 2073 656c 6563 ).. def selec │ │ │ +000722b0: 7465 6428 7365 6c66 2c20 2a61 7267 7329 ted(self, *args) │ │ │ +000722c0: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ +000722d0: 2020 2020 2020 2073 656c 6563 7465 6428 selected( │ │ │ +000722e0: 466c 5f54 6578 745f 5365 6c65 6374 696f Fl_Text_Selectio │ │ │ +000722f0: 6e20 7365 6c66 2920 2d3e 2062 6f6f 6c0a n self) -> bool. │ │ │ +00072300: 2020 2020 2020 2020 7365 6c65 6374 6564 selected │ │ │ +00072310: 2846 6c5f 5465 7874 5f53 656c 6563 7469 (Fl_Text_Selecti │ │ │ +00072320: 6f6e 2073 656c 662c 2062 6f6f 6c20 6229 on self, bool b) │ │ │ +00072330: 0a20 2020 2020 2020 2073 656c 6563 7465 . selecte │ │ │ +00072340: 6428 466c 5f54 6578 745f 5365 6c65 6374 d(Fl_Text_Select │ │ │ +00072350: 696f 6e20 7365 6c66 2c20 696e 7420 2a20 ion self, int * │ │ │ +00072360: 7374 6172 7470 6f73 2c20 696e 7420 2a20 startpos, int * │ │ │ +00072370: 656e 6470 6f73 2920 2d3e 2069 6e74 0a20 endpos) -> int. │ │ │ +00072380: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ +00072390: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +000723a0: 466c 5f54 6578 745f 5365 6c65 6374 696f Fl_Text_Selectio │ │ │ +000723b0: 6e5f 7365 6c65 6374 6564 2873 656c 662c n_selected(self, │ │ │ +000723c0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +000723d0: 205f 5f69 6e69 745f 5f28 7365 6c66 2c20 __init__(self, │ │ │ +000723e0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +000723f0: 7222 2222 5f5f 696e 6974 5f5f 2846 6c5f r"""__init__(Fl_ │ │ │ +00072400: 5465 7874 5f53 656c 6563 7469 6f6e 2073 Text_Selection s │ │ │ +00072410: 656c 6629 202d 3e20 466c 5f54 6578 745f elf) -> Fl_Text_ │ │ │ +00072420: 5365 6c65 6374 696f 6e22 2222 0a20 2020 Selection""". │ │ │ +00072430: 2020 2020 205f 666c 746b 2e46 6c5f 5465 _fltk.Fl_Te │ │ │ +00072440: 7874 5f53 656c 6563 7469 6f6e 5f73 7769 xt_Selection_swi │ │ │ +00072450: 6769 6e69 7428 7365 6c66 2c20 5f66 6c74 ginit(self, _flt │ │ │ +00072460: 6b2e 6e65 775f 466c 5f54 6578 745f 5365 k.new_Fl_Text_Se │ │ │ +00072470: 6c65 6374 696f 6e28 2a61 7267 7329 290a lection(*args)). │ │ │ +00072480: 2020 2020 5f5f 7377 6967 5f64 6573 7472 __swig_destr │ │ │ +00072490: 6f79 5f5f 203d 205f 666c 746b 2e64 656c oy__ = _fltk.del │ │ │ +000724a0: 6574 655f 466c 5f54 6578 745f 5365 6c65 ete_Fl_Text_Sele │ │ │ +000724b0: 6374 696f 6e0a 0a23 2052 6567 6973 7465 ction..# Registe │ │ │ +000724c0: 7220 466c 5f54 6578 745f 5365 6c65 6374 r Fl_Text_Select │ │ │ +000724d0: 696f 6e20 696e 205f 666c 746b 3a0a 5f66 ion in _fltk:._f │ │ │ +000724e0: 6c74 6b2e 466c 5f54 6578 745f 5365 6c65 ltk.Fl_Text_Sele │ │ │ +000724f0: 6374 696f 6e5f 7377 6967 7265 6769 7374 ction_swigregist │ │ │ +00072500: 6572 2846 6c5f 5465 7874 5f53 656c 6563 er(Fl_Text_Selec │ │ │ +00072510: 7469 6f6e 290a 636c 6173 7320 466c 5f54 tion).class Fl_T │ │ │ +00072520: 6578 745f 4275 6666 6572 286f 626a 6563 ext_Buffer(objec │ │ │ +00072530: 7429 3a0a 2020 2020 7222 2222 0a0a 2020 t):. r""".. │ │ │ +00072540: 2020 5468 6520 466c 5f54 6578 745f 4275 The Fl_Text_Bu │ │ │ +00072550: 6666 6572 2063 6c61 7373 2069 7320 7573 ffer class is us │ │ │ +00072560: 6564 2062 7920 7468 6520 466c 5f54 6578 ed by the Fl_Tex │ │ │ +00072570: 745f 4469 7370 6c61 7920 616e 6420 466c t_Display and Fl │ │ │ +00072580: 5f54 6578 745f 4564 6974 6f72 200a 2020 _Text_Editor . │ │ │ +00072590: 2020 746f 206d 616e 6167 6520 636f 6d70 to manage comp │ │ │ +000725a0: 6c65 7820 7465 7874 2064 6174 6120 616e lex text data an │ │ │ +000725b0: 6420 6973 2062 6173 6564 2075 706f 6e20 d is based upon │ │ │ +000725c0: 7468 6520 6578 6365 6c6c 656e 7420 4e45 the excellent NE │ │ │ +000725d0: 6469 7420 7465 7874 200a 2020 2020 6564 dit text . ed │ │ │ +000725e0: 6974 6f72 2065 6e67 696e 6520 2d20 7365 itor engine - se │ │ │ +000725f0: 6520 6874 7470 3a2f 2f77 7777 2e6e 6564 e http://www.ned │ │ │ +00072600: 6974 2e6f 7267 2f2e 0a0a 2020 2020 2222 it.org/... "" │ │ │ +00072610: 220a 0a20 2020 2074 6869 736f 776e 203d ".. thisown = │ │ │ +00072620: 2070 726f 7065 7274 7928 6c61 6d62 6461 property(lambda │ │ │ +00072630: 2078 3a20 782e 7468 6973 2e6f 776e 2829 x: x.this.own() │ │ │ +00072640: 2c20 6c61 6d62 6461 2078 2c20 763a 2078 , lambda x, v: x │ │ │ +00072650: 2e74 6869 732e 6f77 6e28 7629 2c20 646f .this.own(v), do │ │ │ +00072660: 633d 2254 6865 206d 656d 6265 7273 6869 c="The membershi │ │ │ +00072670: 7020 666c 6167 2229 0a20 2020 205f 5f72 p flag"). __r │ │ │ +00072680: 6570 725f 5f20 3d20 5f73 7769 675f 7265 epr__ = _swig_re │ │ │ +00072690: 7072 0a0a 2020 2020 6465 6620 5f5f 696e pr.. def __in │ │ │ +000726a0: 6974 5f5f 2873 656c 662c 202a 6172 6773 it__(self, *args │ │ │ +000726b0: 293a 0a20 2020 2020 2020 2072 2222 225f ):. r"""_ │ │ │ +000726c0: 5f69 6e69 745f 5f28 466c 5f54 6578 745f _init__(Fl_Text_ │ │ │ +000726d0: 4275 6666 6572 2073 656c 662c 2069 6e74 Buffer self, int │ │ │ +000726e0: 2072 6571 7565 7374 6564 5369 7a65 3d30 requestedSize=0 │ │ │ +000726f0: 2c20 696e 7420 7072 6566 6572 7265 6447 , int preferredG │ │ │ +00072700: 6170 5369 7a65 3d31 3032 3429 202d 3e20 apSize=1024) -> │ │ │ +00072710: 466c 5f54 6578 745f 4275 6666 6572 2222 Fl_Text_Buffer"" │ │ │ +00072720: 220a 2020 2020 2020 2020 5f66 6c74 6b2e ". _fltk. │ │ │ +00072730: 466c 5f54 6578 745f 4275 6666 6572 5f73 Fl_Text_Buffer_s │ │ │ +00072740: 7769 6769 6e69 7428 7365 6c66 2c20 5f66 wiginit(self, _f │ │ │ +00072750: 6c74 6b2e 6e65 775f 466c 5f54 6578 745f ltk.new_Fl_Text_ │ │ │ +00072760: 4275 6666 6572 282a 6172 6773 2929 0a20 Buffer(*args)). │ │ │ +00072770: 2020 205f 5f73 7769 675f 6465 7374 726f __swig_destro │ │ │ +00072780: 795f 5f20 3d20 5f66 6c74 6b2e 6465 6c65 y__ = _fltk.dele │ │ │ +00072790: 7465 5f46 6c5f 5465 7874 5f42 7566 6665 te_Fl_Text_Buffe │ │ │ +000727a0: 720a 0a20 2020 2064 6566 206c 656e 6774 r.. def lengt │ │ │ +000727b0: 6828 7365 6c66 2c20 2a61 7267 7329 3a0a h(self, *args):. │ │ │ +000727c0: 2020 2020 2020 2020 7222 2222 6c65 6e67 r"""leng │ │ │ +000727d0: 7468 2846 6c5f 5465 7874 5f42 7566 6665 th(Fl_Text_Buffe │ │ │ +000727e0: 7220 7365 6c66 2920 2d3e 2069 6e74 2222 r self) -> int"" │ │ │ +000727f0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +00072800: 205f 666c 746b 2e46 6c5f 5465 7874 5f42 _fltk.Fl_Text_B │ │ │ +00072810: 7566 6665 725f 6c65 6e67 7468 2873 656c uffer_length(sel │ │ │ +00072820: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +00072830: 6566 2074 6578 7428 7365 6c66 2c20 2a61 ef text(self, *a │ │ │ +00072840: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00072850: 2222 0a20 2020 2020 2020 2074 6578 7428 "". text( │ │ │ +00072860: 466c 5f54 6578 745f 4275 6666 6572 2073 Fl_Text_Buffer s │ │ │ +00072870: 656c 6629 202d 3e20 6368 6172 0a20 2020 elf) -> char. │ │ │ +00072880: 2020 2020 2074 6578 7428 466c 5f54 6578 text(Fl_Tex │ │ │ +00072890: 745f 4275 6666 6572 2073 656c 662c 2063 t_Buffer self, c │ │ │ +000728a0: 6861 7220 636f 6e73 7420 2a20 7465 7874 har const * text │ │ │ +000728b0: 290a 2020 2020 2020 2020 2222 220a 2020 ). """. │ │ │ +000728c0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +000728d0: 746b 2e46 6c5f 5465 7874 5f42 7566 6665 tk.Fl_Text_Buffe │ │ │ +000728e0: 725f 7465 7874 2873 656c 662c 202a 6172 r_text(self, *ar │ │ │ +000728f0: 6773 290a 0a20 2020 2064 6566 2074 6578 gs).. def tex │ │ │ +00072900: 745f 7261 6e67 6528 7365 6c66 2c20 2a61 t_range(self, *a │ │ │ +00072910: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00072920: 2222 7465 7874 5f72 616e 6765 2846 6c5f ""text_range(Fl_ │ │ │ +00072930: 5465 7874 5f42 7566 6665 7220 7365 6c66 Text_Buffer self │ │ │ +00072940: 2c20 696e 7420 7374 6172 742c 2069 6e74 , int start, int │ │ │ +00072950: 2065 6e64 2920 2d3e 2063 6861 7220 2a22 end) -> char *" │ │ │ +00072960: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +00072970: 6e20 5f66 6c74 6b2e 466c 5f54 6578 745f n _fltk.Fl_Text_ │ │ │ +00072980: 4275 6666 6572 5f74 6578 745f 7261 6e67 Buffer_text_rang │ │ │ +00072990: 6528 7365 6c66 2c20 2a61 7267 7329 0a0a e(self, *args).. │ │ │ +000729a0: 2020 2020 6465 6620 6368 6172 5f61 7428 def char_at( │ │ │ +000729b0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +000729c0: 2020 2020 2020 7222 2222 6368 6172 5f61 r"""char_a │ │ │ +000729d0: 7428 466c 5f54 6578 745f 4275 6666 6572 t(Fl_Text_Buffer │ │ │ +000729e0: 2073 656c 662c 2069 6e74 2070 6f73 2920 self, int pos) │ │ │ +000729f0: 2d3e 2075 6e73 6967 6e65 6420 696e 7422 -> unsigned int" │ │ │ +00072a00: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +00072a10: 6e20 5f66 6c74 6b2e 466c 5f54 6578 745f n _fltk.Fl_Text_ │ │ │ +00072a20: 4275 6666 6572 5f63 6861 725f 6174 2873 Buffer_char_at(s │ │ │ +00072a30: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +00072a40: 2064 6566 2062 7974 655f 6174 2873 656c def byte_at(sel │ │ │ +00072a50: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +00072a60: 2020 2072 2222 2262 7974 655f 6174 2846 r"""byte_at(F │ │ │ +00072a70: 6c5f 5465 7874 5f42 7566 6665 7220 7365 l_Text_Buffer se │ │ │ +00072a80: 6c66 2c20 696e 7420 706f 7329 202d 3e20 lf, int pos) -> │ │ │ +00072a90: 6368 6172 2222 220a 2020 2020 2020 2020 char""". │ │ │ +00072aa0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +00072ab0: 5465 7874 5f42 7566 6665 725f 6279 7465 Text_Buffer_byte │ │ │ +00072ac0: 5f61 7428 7365 6c66 2c20 2a61 7267 7329 _at(self, *args) │ │ │ +00072ad0: 0a0a 2020 2020 6465 6620 6164 6472 6573 .. def addres │ │ │ +00072ae0: 7328 7365 6c66 2c20 2a61 7267 7329 3a0a s(self, *args):. │ │ │ +00072af0: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ +00072b00: 2020 2020 2061 6464 7265 7373 2846 6c5f address(Fl_ │ │ │ +00072b10: 5465 7874 5f42 7566 6665 7220 7365 6c66 Text_Buffer self │ │ │ +00072b20: 2c20 696e 7420 706f 7329 202d 3e20 6368 , int pos) -> ch │ │ │ +00072b30: 6172 2063 6f6e 7374 0a20 2020 2020 2020 ar const. │ │ │ +00072b40: 2061 6464 7265 7373 2846 6c5f 5465 7874 address(Fl_Text │ │ │ +00072b50: 5f42 7566 6665 7220 7365 6c66 2c20 696e _Buffer self, in │ │ │ +00072b60: 7420 706f 7329 202d 3e20 6368 6172 202a t pos) -> char * │ │ │ +00072b70: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ +00072b80: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00072b90: 6b2e 466c 5f54 6578 745f 4275 6666 6572 k.Fl_Text_Buffer │ │ │ +00072ba0: 5f61 6464 7265 7373 2873 656c 662c 202a _address(self, * │ │ │ +00072bb0: 6172 6773 290a 0a20 2020 2064 6566 2069 args).. def i │ │ │ +00072bc0: 6e73 6572 7428 7365 6c66 2c20 2a61 7267 nsert(self, *arg │ │ │ +00072bd0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +00072be0: 696e 7365 7274 2846 6c5f 5465 7874 5f42 insert(Fl_Text_B │ │ │ +00072bf0: 7566 6665 7220 7365 6c66 2c20 696e 7420 uffer self, int │ │ │ +00072c00: 706f 732c 2063 6861 7220 636f 6e73 7420 pos, char const │ │ │ +00072c10: 2a20 7465 7874 2c20 696e 7420 696e 7365 * text, int inse │ │ │ +00072c20: 7274 6564 4c65 6e67 7468 3d2d 3129 2222 rtedLength=-1)"" │ │ │ +00072c30: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +00072c40: 205f 666c 746b 2e46 6c5f 5465 7874 5f42 _fltk.Fl_Text_B │ │ │ +00072c50: 7566 6665 725f 696e 7365 7274 2873 656c uffer_insert(sel │ │ │ +00072c60: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +00072c70: 6566 2061 7070 656e 6428 7365 6c66 2c20 ef append(self, │ │ │ +00072c80: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00072c90: 7222 2222 6170 7065 6e64 2846 6c5f 5465 r"""append(Fl_Te │ │ │ +00072ca0: 7874 5f42 7566 6665 7220 7365 6c66 2c20 xt_Buffer self, │ │ │ +00072cb0: 6368 6172 2063 6f6e 7374 202a 2074 2c20 char const * t, │ │ │ +00072cc0: 696e 7420 6164 6465 644c 656e 6774 683d int addedLength= │ │ │ +00072cd0: 2d31 2922 2222 0a20 2020 2020 2020 2072 -1)""". r │ │ │ +00072ce0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +00072cf0: 6578 745f 4275 6666 6572 5f61 7070 656e ext_Buffer_appen │ │ │ +00072d00: 6428 7365 6c66 2c20 2a61 7267 7329 0a0a d(self, *args).. │ │ │ +00072d10: 2020 2020 6465 6620 7072 696e 7466 2873 def printf(s │ │ │ +00072d20: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00072d30: 2020 2020 2072 2222 2270 7269 6e74 6628 r"""printf( │ │ │ +00072d40: 466c 5f54 6578 745f 4275 6666 6572 2073 Fl_Text_Buffer s │ │ │ +00072d50: 656c 662c 2063 6861 7220 636f 6e73 7420 elf, char const │ │ │ +00072d60: 2a20 666d 7429 2222 220a 2020 2020 2020 * fmt)""". │ │ │ +00072d70: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +00072d80: 6c5f 5465 7874 5f42 7566 6665 725f 7072 l_Text_Buffer_pr │ │ │ +00072d90: 696e 7466 2873 656c 662c 202a 6172 6773 intf(self, *args │ │ │ +00072da0: 290a 0a20 2020 2064 6566 2072 656d 6f76 ).. def remov │ │ │ +00072db0: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ +00072dc0: 2020 2020 2020 2020 7222 2222 7265 6d6f r"""remo │ │ │ +00072dd0: 7665 2846 6c5f 5465 7874 5f42 7566 6665 ve(Fl_Text_Buffe │ │ │ +00072de0: 7220 7365 6c66 2c20 696e 7420 7374 6172 r self, int star │ │ │ +00072df0: 742c 2069 6e74 2065 6e64 2922 2222 0a20 t, int end)""". │ │ │ +00072e00: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00072e10: 6c74 6b2e 466c 5f54 6578 745f 4275 6666 ltk.Fl_Text_Buff │ │ │ +00072e20: 6572 5f72 656d 6f76 6528 7365 6c66 2c20 er_remove(self, │ │ │ +00072e30: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +00072e40: 7265 706c 6163 6528 7365 6c66 2c20 2a61 replace(self, *a │ │ │ +00072e50: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00072e60: 2222 7265 706c 6163 6528 466c 5f54 6578 ""replace(Fl_Tex │ │ │ +00072e70: 745f 4275 6666 6572 2073 656c 662c 2069 t_Buffer self, i │ │ │ +00072e80: 6e74 2073 7461 7274 2c20 696e 7420 656e nt start, int en │ │ │ +00072e90: 642c 2063 6861 7220 636f 6e73 7420 2a20 d, char const * │ │ │ +00072ea0: 7465 7874 2c20 696e 7420 696e 7365 7274 text, int insert │ │ │ +00072eb0: 6564 4c65 6e67 7468 3d2d 3129 2222 220a edLength=-1)""". │ │ │ +00072ec0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +00072ed0: 666c 746b 2e46 6c5f 5465 7874 5f42 7566 fltk.Fl_Text_Buf │ │ │ +00072ee0: 6665 725f 7265 706c 6163 6528 7365 6c66 fer_replace(self │ │ │ +00072ef0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00072f00: 6620 636f 7079 2873 656c 662c 202a 6172 f copy(self, *ar │ │ │ +00072f10: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00072f20: 2263 6f70 7928 466c 5f54 6578 745f 4275 "copy(Fl_Text_Bu │ │ │ +00072f30: 6666 6572 2073 656c 662c 2046 6c5f 5465 ffer self, Fl_Te │ │ │ +00072f40: 7874 5f42 7566 6665 7220 6672 6f6d 4275 xt_Buffer fromBu │ │ │ +00072f50: 662c 2069 6e74 2066 726f 6d53 7461 7274 f, int fromStart │ │ │ +00072f60: 2c20 696e 7420 6672 6f6d 456e 642c 2069 , int fromEnd, i │ │ │ +00072f70: 6e74 2074 6f50 6f73 2922 2222 0a20 2020 nt toPos)""". │ │ │ +00072f80: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00072f90: 6b2e 466c 5f54 6578 745f 4275 6666 6572 k.Fl_Text_Buffer │ │ │ +00072fa0: 5f63 6f70 7928 7365 6c66 2c20 2a61 7267 _copy(self, *arg │ │ │ +00072fb0: 7329 0a0a 2020 2020 6465 6620 756e 646f s).. def undo │ │ │ +00072fc0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00072fd0: 2020 2020 2020 2072 2222 2275 6e64 6f28 r"""undo( │ │ │ +00072fe0: 466c 5f54 6578 745f 4275 6666 6572 2073 Fl_Text_Buffer s │ │ │ +00072ff0: 656c 662c 2069 6e74 202a 2063 703d 4e6f elf, int * cp=No │ │ │ +00073000: 6e65 2920 2d3e 2069 6e74 2222 220a 2020 ne) -> int""". │ │ │ +00073010: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +00073020: 746b 2e46 6c5f 5465 7874 5f42 7566 6665 tk.Fl_Text_Buffe │ │ │ +00073030: 725f 756e 646f 2873 656c 662c 202a 6172 r_undo(self, *ar │ │ │ +00073040: 6773 290a 0a20 2020 2064 6566 2063 616e gs).. def can │ │ │ +00073050: 5f75 6e64 6f28 7365 6c66 2c20 2a61 7267 _undo(self, *arg │ │ │ +00073060: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +00073070: 6361 6e5f 756e 646f 2846 6c5f 5465 7874 can_undo(Fl_Text │ │ │ +00073080: 5f42 7566 6665 7220 7365 6c66 2920 2d3e _Buffer self) -> │ │ │ +00073090: 2062 6f6f 6c22 2222 0a20 2020 2020 2020 bool""". │ │ │ +000730a0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +000730b0: 5f54 6578 745f 4275 6666 6572 5f63 616e _Text_Buffer_can │ │ │ +000730c0: 5f75 6e64 6f28 7365 6c66 2c20 2a61 7267 _undo(self, *arg │ │ │ +000730d0: 7329 0a0a 2020 2020 6465 6620 7265 646f s).. def redo │ │ │ +000730e0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +000730f0: 2020 2020 2020 2072 2222 2272 6564 6f28 r"""redo( │ │ │ +00073100: 466c 5f54 6578 745f 4275 6666 6572 2073 Fl_Text_Buffer s │ │ │ +00073110: 656c 662c 2069 6e74 202a 2063 703d 4e6f elf, int * cp=No │ │ │ +00073120: 6e65 2920 2d3e 2069 6e74 2222 220a 2020 ne) -> int""". │ │ │ +00073130: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +00073140: 746b 2e46 6c5f 5465 7874 5f42 7566 6665 tk.Fl_Text_Buffe │ │ │ +00073150: 725f 7265 646f 2873 656c 662c 202a 6172 r_redo(self, *ar │ │ │ +00073160: 6773 290a 0a20 2020 2064 6566 2063 616e gs).. def can │ │ │ +00073170: 5f72 6564 6f28 7365 6c66 2c20 2a61 7267 _redo(self, *arg │ │ │ +00073180: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +00073190: 6361 6e5f 7265 646f 2846 6c5f 5465 7874 can_redo(Fl_Text │ │ │ +000731a0: 5f42 7566 6665 7220 7365 6c66 2920 2d3e _Buffer self) -> │ │ │ +000731b0: 2062 6f6f 6c22 2222 0a20 2020 2020 2020 bool""". │ │ │ +000731c0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +000731d0: 5f54 6578 745f 4275 6666 6572 5f63 616e _Text_Buffer_can │ │ │ +000731e0: 5f72 6564 6f28 7365 6c66 2c20 2a61 7267 _redo(self, *arg │ │ │ +000731f0: 7329 0a0a 2020 2020 6465 6620 6361 6e55 s).. def canU │ │ │ +00073200: 6e64 6f28 7365 6c66 2c20 2a61 7267 7329 ndo(self, *args) │ │ │ +00073210: 3a0a 2020 2020 2020 2020 7222 2222 6361 :. r"""ca │ │ │ +00073220: 6e55 6e64 6f28 466c 5f54 6578 745f 4275 nUndo(Fl_Text_Bu │ │ │ +00073230: 6666 6572 2073 656c 662c 2063 6861 7220 ffer self, char │ │ │ +00073240: 666c 6167 3d31 2922 2222 0a20 2020 2020 flag=1)""". │ │ │ +00073250: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00073260: 466c 5f54 6578 745f 4275 6666 6572 5f63 Fl_Text_Buffer_c │ │ │ +00073270: 616e 556e 646f 2873 656c 662c 202a 6172 anUndo(self, *ar │ │ │ +00073280: 6773 290a 0a20 2020 2064 6566 2069 6e73 gs).. def ins │ │ │ +00073290: 6572 7466 696c 6528 7365 6c66 2c20 2a61 ertfile(self, *a │ │ │ +000732a0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +000732b0: 2222 696e 7365 7274 6669 6c65 2846 6c5f ""insertfile(Fl_ │ │ │ +000732c0: 5465 7874 5f42 7566 6665 7220 7365 6c66 Text_Buffer self │ │ │ +000732d0: 2c20 6368 6172 2063 6f6e 7374 202a 2066 , char const * f │ │ │ +000732e0: 696c 652c 2069 6e74 2070 6f73 2c20 696e ile, int pos, in │ │ │ +000732f0: 7420 6275 666c 656e 3d31 3238 2a31 3032 t buflen=128*102 │ │ │ +00073300: 3429 202d 3e20 696e 7422 2222 0a20 2020 4) -> int""". │ │ │ +00073310: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00073320: 6b2e 466c 5f54 6578 745f 4275 6666 6572 k.Fl_Text_Buffer │ │ │ +00073330: 5f69 6e73 6572 7466 696c 6528 7365 6c66 _insertfile(self │ │ │ +00073340: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00073350: 6620 6170 7065 6e64 6669 6c65 2873 656c f appendfile(sel │ │ │ +00073360: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +00073370: 2020 2072 2222 2261 7070 656e 6466 696c r"""appendfil │ │ │ +00073380: 6528 466c 5f54 6578 745f 4275 6666 6572 e(Fl_Text_Buffer │ │ │ +00073390: 2073 656c 662c 2063 6861 7220 636f 6e73 self, char cons │ │ │ +000733a0: 7420 2a20 6669 6c65 2c20 696e 7420 6275 t * file, int bu │ │ │ +000733b0: 666c 656e 3d31 3238 2a31 3032 3429 202d flen=128*1024) - │ │ │ +000733c0: 3e20 696e 7422 2222 0a20 2020 2020 2020 > int""". │ │ │ +000733d0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +000733e0: 5f54 6578 745f 4275 6666 6572 5f61 7070 _Text_Buffer_app │ │ │ +000733f0: 656e 6466 696c 6528 7365 6c66 2c20 2a61 endfile(self, *a │ │ │ +00073400: 7267 7329 0a0a 2020 2020 6465 6620 6c6f rgs).. def lo │ │ │ +00073410: 6164 6669 6c65 2873 656c 662c 202a 6172 adfile(self, *ar │ │ │ +00073420: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00073430: 226c 6f61 6466 696c 6528 466c 5f54 6578 "loadfile(Fl_Tex │ │ │ +00073440: 745f 4275 6666 6572 2073 656c 662c 2063 t_Buffer self, c │ │ │ +00073450: 6861 7220 636f 6e73 7420 2a20 6669 6c65 har const * file │ │ │ +00073460: 2c20 696e 7420 6275 666c 656e 3d31 3238 , int buflen=128 │ │ │ +00073470: 2a31 3032 3429 202d 3e20 696e 7422 2222 *1024) -> int""" │ │ │ +00073480: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +00073490: 5f66 6c74 6b2e 466c 5f54 6578 745f 4275 _fltk.Fl_Text_Bu │ │ │ +000734a0: 6666 6572 5f6c 6f61 6466 696c 6528 7365 ffer_loadfile(se │ │ │ +000734b0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +000734c0: 6465 6620 6f75 7470 7574 6669 6c65 2873 def outputfile(s │ │ │ +000734d0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +000734e0: 2020 2020 2072 2222 226f 7574 7075 7466 r"""outputf │ │ │ +000734f0: 696c 6528 466c 5f54 6578 745f 4275 6666 ile(Fl_Text_Buff │ │ │ +00073500: 6572 2073 656c 662c 2063 6861 7220 636f er self, char co │ │ │ +00073510: 6e73 7420 2a20 6669 6c65 2c20 696e 7420 nst * file, int │ │ │ +00073520: 7374 6172 742c 2069 6e74 2065 6e64 2c20 start, int end, │ │ │ +00073530: 696e 7420 6275 666c 656e 3d31 3238 2a31 int buflen=128*1 │ │ │ +00073540: 3032 3429 202d 3e20 696e 7422 2222 0a20 024) -> int""". │ │ │ +00073550: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00073560: 6c74 6b2e 466c 5f54 6578 745f 4275 6666 ltk.Fl_Text_Buff │ │ │ +00073570: 6572 5f6f 7574 7075 7466 696c 6528 7365 er_outputfile(se │ │ │ +00073580: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +00073590: 6465 6620 7361 7665 6669 6c65 2873 656c def savefile(sel │ │ │ +000735a0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +000735b0: 2020 2072 2222 2273 6176 6566 696c 6528 r"""savefile( │ │ │ +000735c0: 466c 5f54 6578 745f 4275 6666 6572 2073 Fl_Text_Buffer s │ │ │ +000735d0: 656c 662c 2063 6861 7220 636f 6e73 7420 elf, char const │ │ │ +000735e0: 2a20 6669 6c65 2c20 696e 7420 6275 666c * file, int bufl │ │ │ +000735f0: 656e 3d31 3238 2a31 3032 3429 202d 3e20 en=128*1024) -> │ │ │ +00073600: 696e 7422 2222 0a20 2020 2020 2020 2072 int""". r │ │ │ +00073610: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +00073620: 6578 745f 4275 6666 6572 5f73 6176 6566 ext_Buffer_savef │ │ │ +00073630: 696c 6528 7365 6c66 2c20 2a61 7267 7329 ile(self, *args) │ │ │ +00073640: 0a0a 2020 2020 6465 6620 7461 625f 6469 .. def tab_di │ │ │ +00073650: 7374 616e 6365 2873 656c 662c 202a 6172 stance(self, *ar │ │ │ +00073660: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00073670: 220a 2020 2020 2020 2020 7461 625f 6469 ". tab_di │ │ │ +00073680: 7374 616e 6365 2846 6c5f 5465 7874 5f42 stance(Fl_Text_B │ │ │ +00073690: 7566 6665 7220 7365 6c66 2920 2d3e 2069 uffer self) -> i │ │ │ +000736a0: 6e74 0a20 2020 2020 2020 2074 6162 5f64 nt. tab_d │ │ │ +000736b0: 6973 7461 6e63 6528 466c 5f54 6578 745f istance(Fl_Text_ │ │ │ +000736c0: 4275 6666 6572 2073 656c 662c 2069 6e74 Buffer self, int │ │ │ +000736d0: 2074 6162 4469 7374 290a 2020 2020 2020 tabDist). │ │ │ +000736e0: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ +000736f0: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ +00073700: 7874 5f42 7566 6665 725f 7461 625f 6469 xt_Buffer_tab_di │ │ │ +00073710: 7374 616e 6365 2873 656c 662c 202a 6172 stance(self, *ar │ │ │ +00073720: 6773 290a 0a20 2020 2064 6566 2073 656c gs).. def sel │ │ │ +00073730: 6563 7428 7365 6c66 2c20 2a61 7267 7329 ect(self, *args) │ │ │ +00073740: 3a0a 2020 2020 2020 2020 7222 2222 7365 :. r"""se │ │ │ +00073750: 6c65 6374 2846 6c5f 5465 7874 5f42 7566 lect(Fl_Text_Buf │ │ │ +00073760: 6665 7220 7365 6c66 2c20 696e 7420 7374 fer self, int st │ │ │ +00073770: 6172 742c 2069 6e74 2065 6e64 2922 2222 art, int end)""" │ │ │ +00073780: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +00073790: 5f66 6c74 6b2e 466c 5f54 6578 745f 4275 _fltk.Fl_Text_Bu │ │ │ +000737a0: 6666 6572 5f73 656c 6563 7428 7365 6c66 ffer_select(self │ │ │ +000737b0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +000737c0: 6620 7365 6c65 6374 6564 2873 656c 662c f selected(self, │ │ │ +000737d0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +000737e0: 2072 2222 2273 656c 6563 7465 6428 466c r"""selected(Fl │ │ │ +000737f0: 5f54 6578 745f 4275 6666 6572 2073 656c _Text_Buffer sel │ │ │ +00073800: 6629 202d 3e20 696e 7422 2222 0a20 2020 f) -> int""". │ │ │ +00073810: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00073820: 6b2e 466c 5f54 6578 745f 4275 6666 6572 k.Fl_Text_Buffer │ │ │ +00073830: 5f73 656c 6563 7465 6428 7365 6c66 2c20 _selected(self, │ │ │ +00073840: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +00073850: 756e 7365 6c65 6374 2873 656c 662c 202a unselect(self, * │ │ │ +00073860: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +00073870: 2222 2275 6e73 656c 6563 7428 466c 5f54 """unselect(Fl_T │ │ │ +00073880: 6578 745f 4275 6666 6572 2073 656c 6629 ext_Buffer self) │ │ │ +00073890: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +000738a0: 726e 205f 666c 746b 2e46 6c5f 5465 7874 rn _fltk.Fl_Text │ │ │ +000738b0: 5f42 7566 6665 725f 756e 7365 6c65 6374 _Buffer_unselect │ │ │ +000738c0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +000738d0: 2020 2064 6566 2073 656c 6563 7469 6f6e def selection │ │ │ +000738e0: 5f70 6f73 6974 696f 6e28 7365 6c66 2c20 _position(self, │ │ │ +000738f0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00073900: 7222 2222 7365 6c65 6374 696f 6e5f 706f r"""selection_po │ │ │ +00073910: 7369 7469 6f6e 2846 6c5f 5465 7874 5f42 sition(Fl_Text_B │ │ │ +00073920: 7566 6665 7220 7365 6c66 2c20 696e 7420 uffer self, int │ │ │ +00073930: 2a20 7374 6172 742c 2069 6e74 202a 2065 * start, int * e │ │ │ +00073940: 6e64 2920 2d3e 2069 6e74 2222 220a 2020 nd) -> int""". │ │ │ +00073950: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +00073960: 746b 2e46 6c5f 5465 7874 5f42 7566 6665 tk.Fl_Text_Buffe │ │ │ +00073970: 725f 7365 6c65 6374 696f 6e5f 706f 7369 r_selection_posi │ │ │ +00073980: 7469 6f6e 2873 656c 662c 202a 6172 6773 tion(self, *args │ │ │ +00073990: 290a 0a20 2020 2064 6566 2073 656c 6563 ).. def selec │ │ │ +000739a0: 7469 6f6e 5f74 6578 7428 7365 6c66 2c20 tion_text(self, │ │ │ +000739b0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +000739c0: 7222 2222 7365 6c65 6374 696f 6e5f 7465 r"""selection_te │ │ │ +000739d0: 7874 2846 6c5f 5465 7874 5f42 7566 6665 xt(Fl_Text_Buffe │ │ │ +000739e0: 7220 7365 6c66 2920 2d3e 2063 6861 7220 r self) -> char │ │ │ +000739f0: 2a22 2222 0a20 2020 2020 2020 2072 6574 *""". ret │ │ │ +00073a00: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6578 urn _fltk.Fl_Tex │ │ │ +00073a10: 745f 4275 6666 6572 5f73 656c 6563 7469 t_Buffer_selecti │ │ │ +00073a20: 6f6e 5f74 6578 7428 7365 6c66 2c20 2a61 on_text(self, *a │ │ │ +00073a30: 7267 7329 0a0a 2020 2020 6465 6620 7265 rgs).. def re │ │ │ +00073a40: 6d6f 7665 5f73 656c 6563 7469 6f6e 2873 move_selection(s │ │ │ +00073a50: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00073a60: 2020 2020 2072 2222 2272 656d 6f76 655f r"""remove_ │ │ │ +00073a70: 7365 6c65 6374 696f 6e28 466c 5f54 6578 selection(Fl_Tex │ │ │ +00073a80: 745f 4275 6666 6572 2073 656c 6629 2222 t_Buffer self)"" │ │ │ +00073a90: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +00073aa0: 205f 666c 746b 2e46 6c5f 5465 7874 5f42 _fltk.Fl_Text_B │ │ │ +00073ab0: 7566 6665 725f 7265 6d6f 7665 5f73 656c uffer_remove_sel │ │ │ +00073ac0: 6563 7469 6f6e 2873 656c 662c 202a 6172 ection(self, *ar │ │ │ +00073ad0: 6773 290a 0a20 2020 2064 6566 2072 6570 gs).. def rep │ │ │ +00073ae0: 6c61 6365 5f73 656c 6563 7469 6f6e 2873 lace_selection(s │ │ │ +00073af0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00073b00: 2020 2020 2072 2222 2272 6570 6c61 6365 r"""replace │ │ │ +00073b10: 5f73 656c 6563 7469 6f6e 2846 6c5f 5465 _selection(Fl_Te │ │ │ +00073b20: 7874 5f42 7566 6665 7220 7365 6c66 2c20 xt_Buffer self, │ │ │ +00073b30: 6368 6172 2063 6f6e 7374 202a 2074 6578 char const * tex │ │ │ +00073b40: 7429 2222 220a 2020 2020 2020 2020 7265 t)""". re │ │ │ +00073b50: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ +00073b60: 7874 5f42 7566 6665 725f 7265 706c 6163 xt_Buffer_replac │ │ │ +00073b70: 655f 7365 6c65 6374 696f 6e28 7365 6c66 e_selection(self │ │ │ +00073b80: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00073b90: 6620 7365 636f 6e64 6172 795f 7365 6c65 f secondary_sele │ │ │ +00073ba0: 6374 2873 656c 662c 202a 6172 6773 293a ct(self, *args): │ │ │ +00073bb0: 0a20 2020 2020 2020 2072 2222 2273 6563 . r"""sec │ │ │ +00073bc0: 6f6e 6461 7279 5f73 656c 6563 7428 466c ondary_select(Fl │ │ │ +00073bd0: 5f54 6578 745f 4275 6666 6572 2073 656c _Text_Buffer sel │ │ │ +00073be0: 662c 2069 6e74 2073 7461 7274 2c20 696e f, int start, in │ │ │ +00073bf0: 7420 656e 6429 2222 220a 2020 2020 2020 t end)""". │ │ │ +00073c00: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +00073c10: 6c5f 5465 7874 5f42 7566 6665 725f 7365 l_Text_Buffer_se │ │ │ +00073c20: 636f 6e64 6172 795f 7365 6c65 6374 2873 condary_select(s │ │ │ +00073c30: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +00073c40: 2064 6566 2073 6563 6f6e 6461 7279 5f73 def secondary_s │ │ │ +00073c50: 656c 6563 7465 6428 7365 6c66 2c20 2a61 elected(self, *a │ │ │ +00073c60: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00073c70: 2222 7365 636f 6e64 6172 795f 7365 6c65 ""secondary_sele │ │ │ +00073c80: 6374 6564 2846 6c5f 5465 7874 5f42 7566 cted(Fl_Text_Buf │ │ │ +00073c90: 6665 7220 7365 6c66 2920 2d3e 2069 6e74 fer self) -> int │ │ │ +00073ca0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +00073cb0: 726e 205f 666c 746b 2e46 6c5f 5465 7874 rn _fltk.Fl_Text │ │ │ +00073cc0: 5f42 7566 6665 725f 7365 636f 6e64 6172 _Buffer_secondar │ │ │ +00073cd0: 795f 7365 6c65 6374 6564 2873 656c 662c y_selected(self, │ │ │ +00073ce0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +00073cf0: 2073 6563 6f6e 6461 7279 5f75 6e73 656c secondary_unsel │ │ │ +00073d00: 6563 7428 7365 6c66 2c20 2a61 7267 7329 ect(self, *args) │ │ │ +00073d10: 3a0a 2020 2020 2020 2020 7222 2222 7365 :. r"""se │ │ │ +00073d20: 636f 6e64 6172 795f 756e 7365 6c65 6374 condary_unselect │ │ │ +00073d30: 2846 6c5f 5465 7874 5f42 7566 6665 7220 (Fl_Text_Buffer │ │ │ +00073d40: 7365 6c66 2922 2222 0a20 2020 2020 2020 self)""". │ │ │ +00073d50: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +00073d60: 5f54 6578 745f 4275 6666 6572 5f73 6563 _Text_Buffer_sec │ │ │ +00073d70: 6f6e 6461 7279 5f75 6e73 656c 6563 7428 ondary_unselect( │ │ │ +00073d80: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +00073d90: 2020 6465 6620 7365 636f 6e64 6172 795f def secondary_ │ │ │ +00073da0: 7365 6c65 6374 696f 6e5f 706f 7369 7469 selection_positi │ │ │ +00073db0: 6f6e 2873 656c 662c 202a 6172 6773 293a on(self, *args): │ │ │ +00073dc0: 0a20 2020 2020 2020 2072 2222 2273 6563 . r"""sec │ │ │ +00073dd0: 6f6e 6461 7279 5f73 656c 6563 7469 6f6e ondary_selection │ │ │ +00073de0: 5f70 6f73 6974 696f 6e28 466c 5f54 6578 _position(Fl_Tex │ │ │ +00073df0: 745f 4275 6666 6572 2073 656c 662c 2069 t_Buffer self, i │ │ │ +00073e00: 6e74 202a 2073 7461 7274 2c20 696e 7420 nt * start, int │ │ │ +00073e10: 2a20 656e 6429 202d 3e20 696e 7422 2222 * end) -> int""" │ │ │ +00073e20: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +00073e30: 5f66 6c74 6b2e 466c 5f54 6578 745f 4275 _fltk.Fl_Text_Bu │ │ │ +00073e40: 6666 6572 5f73 6563 6f6e 6461 7279 5f73 ffer_secondary_s │ │ │ +00073e50: 656c 6563 7469 6f6e 5f70 6f73 6974 696f election_positio │ │ │ +00073e60: 6e28 7365 6c66 2c20 2a61 7267 7329 0a0a n(self, *args).. │ │ │ +00073e70: 2020 2020 6465 6620 7365 636f 6e64 6172 def secondar │ │ │ +00073e80: 795f 7365 6c65 6374 696f 6e5f 7465 7874 y_selection_text │ │ │ +00073e90: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00073ea0: 2020 2020 2020 2072 2222 2273 6563 6f6e r"""secon │ │ │ +00073eb0: 6461 7279 5f73 656c 6563 7469 6f6e 5f74 dary_selection_t │ │ │ +00073ec0: 6578 7428 466c 5f54 6578 745f 4275 6666 ext(Fl_Text_Buff │ │ │ +00073ed0: 6572 2073 656c 6629 202d 3e20 6368 6172 er self) -> char │ │ │ +00073ee0: 202a 2222 220a 2020 2020 2020 2020 7265 *""". re │ │ │ +00073ef0: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ +00073f00: 7874 5f42 7566 6665 725f 7365 636f 6e64 xt_Buffer_second │ │ │ +00073f10: 6172 795f 7365 6c65 6374 696f 6e5f 7465 ary_selection_te │ │ │ +00073f20: 7874 2873 656c 662c 202a 6172 6773 290a xt(self, *args). │ │ │ +00073f30: 0a20 2020 2064 6566 2072 656d 6f76 655f . def remove_ │ │ │ +00073f40: 7365 636f 6e64 6172 795f 7365 6c65 6374 secondary_select │ │ │ +00073f50: 696f 6e28 7365 6c66 2c20 2a61 7267 7329 ion(self, *args) │ │ │ +00073f60: 3a0a 2020 2020 2020 2020 7222 2222 7265 :. r"""re │ │ │ +00073f70: 6d6f 7665 5f73 6563 6f6e 6461 7279 5f73 move_secondary_s │ │ │ +00073f80: 656c 6563 7469 6f6e 2846 6c5f 5465 7874 election(Fl_Text │ │ │ +00073f90: 5f42 7566 6665 7220 7365 6c66 2922 2222 _Buffer self)""" │ │ │ +00073fa0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +00073fb0: 5f66 6c74 6b2e 466c 5f54 6578 745f 4275 _fltk.Fl_Text_Bu │ │ │ +00073fc0: 6666 6572 5f72 656d 6f76 655f 7365 636f ffer_remove_seco │ │ │ +00073fd0: 6e64 6172 795f 7365 6c65 6374 696f 6e28 ndary_selection( │ │ │ +00073fe0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +00073ff0: 2020 6465 6620 7265 706c 6163 655f 7365 def replace_se │ │ │ +00074000: 636f 6e64 6172 795f 7365 6c65 6374 696f condary_selectio │ │ │ +00074010: 6e28 7365 6c66 2c20 2a61 7267 7329 3a0a n(self, *args):. │ │ │ +00074020: 2020 2020 2020 2020 7222 2222 7265 706c r"""repl │ │ │ +00074030: 6163 655f 7365 636f 6e64 6172 795f 7365 ace_secondary_se │ │ │ +00074040: 6c65 6374 696f 6e28 466c 5f54 6578 745f lection(Fl_Text_ │ │ │ +00074050: 4275 6666 6572 2073 656c 662c 2063 6861 Buffer self, cha │ │ │ +00074060: 7220 636f 6e73 7420 2a20 7465 7874 2922 r const * text)" │ │ │ +00074070: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +00074080: 6e20 5f66 6c74 6b2e 466c 5f54 6578 745f n _fltk.Fl_Text_ │ │ │ +00074090: 4275 6666 6572 5f72 6570 6c61 6365 5f73 Buffer_replace_s │ │ │ +000740a0: 6563 6f6e 6461 7279 5f73 656c 6563 7469 econdary_selecti │ │ │ +000740b0: 6f6e 2873 656c 662c 202a 6172 6773 290a on(self, *args). │ │ │ +000740c0: 0a20 2020 2064 6566 2068 6967 686c 6967 . def highlig │ │ │ +000740d0: 6874 2873 656c 662c 202a 6172 6773 293a ht(self, *args): │ │ │ +000740e0: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ +000740f0: 2020 2020 2020 6869 6768 6c69 6768 7428 highlight( │ │ │ +00074100: 466c 5f54 6578 745f 4275 6666 6572 2073 Fl_Text_Buffer s │ │ │ +00074110: 656c 662c 2069 6e74 2073 7461 7274 2c20 elf, int start, │ │ │ +00074120: 696e 7420 656e 6429 0a20 2020 2020 2020 int end). │ │ │ +00074130: 2068 6967 686c 6967 6874 2846 6c5f 5465 highlight(Fl_Te │ │ │ +00074140: 7874 5f42 7566 6665 7220 7365 6c66 2920 xt_Buffer self) │ │ │ +00074150: 2d3e 2069 6e74 0a20 2020 2020 2020 2022 -> int. " │ │ │ +00074160: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +00074170: 6e20 5f66 6c74 6b2e 466c 5f54 6578 745f n _fltk.Fl_Text_ │ │ │ +00074180: 4275 6666 6572 5f68 6967 686c 6967 6874 Buffer_highlight │ │ │ +00074190: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +000741a0: 2020 2064 6566 2075 6e68 6967 686c 6967 def unhighlig │ │ │ +000741b0: 6874 2873 656c 662c 202a 6172 6773 293a ht(self, *args): │ │ │ +000741c0: 0a20 2020 2020 2020 2072 2222 2275 6e68 . r"""unh │ │ │ +000741d0: 6967 686c 6967 6874 2846 6c5f 5465 7874 ighlight(Fl_Text │ │ │ +000741e0: 5f42 7566 6665 7220 7365 6c66 2922 2222 _Buffer self)""" │ │ │ +000741f0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +00074200: 5f66 6c74 6b2e 466c 5f54 6578 745f 4275 _fltk.Fl_Text_Bu │ │ │ +00074210: 6666 6572 5f75 6e68 6967 686c 6967 6874 ffer_unhighlight │ │ │ +00074220: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +00074230: 2020 2064 6566 2068 6967 686c 6967 6874 def highlight │ │ │ +00074240: 5f70 6f73 6974 696f 6e28 7365 6c66 2c20 _position(self, │ │ │ +00074250: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00074260: 7222 2222 6869 6768 6c69 6768 745f 706f r"""highlight_po │ │ │ +00074270: 7369 7469 6f6e 2846 6c5f 5465 7874 5f42 sition(Fl_Text_B │ │ │ +00074280: 7566 6665 7220 7365 6c66 2c20 696e 7420 uffer self, int │ │ │ +00074290: 2a20 7374 6172 742c 2069 6e74 202a 2065 * start, int * e │ │ │ +000742a0: 6e64 2920 2d3e 2069 6e74 2222 220a 2020 nd) -> int""". │ │ │ +000742b0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +000742c0: 746b 2e46 6c5f 5465 7874 5f42 7566 6665 tk.Fl_Text_Buffe │ │ │ +000742d0: 725f 6869 6768 6c69 6768 745f 706f 7369 r_highlight_posi │ │ │ +000742e0: 7469 6f6e 2873 656c 662c 202a 6172 6773 tion(self, *args │ │ │ +000742f0: 290a 0a20 2020 2064 6566 2068 6967 686c ).. def highl │ │ │ +00074300: 6967 6874 5f74 6578 7428 7365 6c66 2c20 ight_text(self, │ │ │ +00074310: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00074320: 7222 2222 6869 6768 6c69 6768 745f 7465 r"""highlight_te │ │ │ +00074330: 7874 2846 6c5f 5465 7874 5f42 7566 6665 xt(Fl_Text_Buffe │ │ │ +00074340: 7220 7365 6c66 2920 2d3e 2063 6861 7220 r self) -> char │ │ │ +00074350: 2a22 2222 0a20 2020 2020 2020 2072 6574 *""". ret │ │ │ +00074360: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6578 urn _fltk.Fl_Tex │ │ │ +00074370: 745f 4275 6666 6572 5f68 6967 686c 6967 t_Buffer_highlig │ │ │ +00074380: 6874 5f74 6578 7428 7365 6c66 2c20 2a61 ht_text(self, *a │ │ │ +00074390: 7267 7329 0a0a 2020 2020 6465 6620 6361 rgs).. def ca │ │ │ +000743a0: 6c6c 5f6d 6f64 6966 795f 6361 6c6c 6261 ll_modify_callba │ │ │ +000743b0: 636b 7328 7365 6c66 2c20 2a61 7267 7329 cks(self, *args) │ │ │ +000743c0: 3a0a 2020 2020 2020 2020 7222 2222 6361 :. r"""ca │ │ │ +000743d0: 6c6c 5f6d 6f64 6966 795f 6361 6c6c 6261 ll_modify_callba │ │ │ +000743e0: 636b 7328 466c 5f54 6578 745f 4275 6666 cks(Fl_Text_Buff │ │ │ +000743f0: 6572 2073 656c 6629 2222 220a 2020 2020 er self)""". │ │ │ +00074400: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +00074410: 2e46 6c5f 5465 7874 5f42 7566 6665 725f .Fl_Text_Buffer_ │ │ │ +00074420: 6361 6c6c 5f6d 6f64 6966 795f 6361 6c6c call_modify_call │ │ │ +00074430: 6261 636b 7328 7365 6c66 2c20 2a61 7267 backs(self, *arg │ │ │ +00074440: 7329 0a0a 2020 2020 6465 6620 6164 645f s).. def add_ │ │ │ +00074450: 7072 6564 656c 6574 655f 6361 6c6c 6261 predelete_callba │ │ │ +00074460: 636b 2873 656c 662c 202a 6172 6773 293a ck(self, *args): │ │ │ +00074470: 0a20 2020 2020 2020 2072 2222 2261 6464 . r"""add │ │ │ +00074480: 5f70 7265 6465 6c65 7465 5f63 616c 6c62 _predelete_callb │ │ │ +00074490: 6163 6b28 466c 5f54 6578 745f 4275 6666 ack(Fl_Text_Buff │ │ │ +000744a0: 6572 2073 656c 662c 2046 6c5f 5465 7874 er self, Fl_Text │ │ │ +000744b0: 5f50 7265 6465 6c65 7465 5f43 6220 6275 _Predelete_Cb bu │ │ │ +000744c0: 6650 7265 6465 6c43 422c 2076 6f69 6420 fPredelCB, void │ │ │ +000744d0: 2a20 6362 4172 6729 2222 220a 2020 2020 * cbArg)""". │ │ │ +000744e0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +000744f0: 2e46 6c5f 5465 7874 5f42 7566 6665 725f .Fl_Text_Buffer_ │ │ │ +00074500: 6164 645f 7072 6564 656c 6574 655f 6361 add_predelete_ca │ │ │ +00074510: 6c6c 6261 636b 2873 656c 662c 202a 6172 llback(self, *ar │ │ │ +00074520: 6773 290a 0a20 2020 2064 6566 2072 656d gs).. def rem │ │ │ +00074530: 6f76 655f 7072 6564 656c 6574 655f 6361 ove_predelete_ca │ │ │ +00074540: 6c6c 6261 636b 2873 656c 662c 202a 6172 llback(self, *ar │ │ │ +00074550: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00074560: 2272 656d 6f76 655f 7072 6564 656c 6574 "remove_predelet │ │ │ +00074570: 655f 6361 6c6c 6261 636b 2846 6c5f 5465 e_callback(Fl_Te │ │ │ +00074580: 7874 5f42 7566 6665 7220 7365 6c66 2c20 xt_Buffer self, │ │ │ +00074590: 466c 5f54 6578 745f 5072 6564 656c 6574 Fl_Text_Predelet │ │ │ +000745a0: 655f 4362 2070 7265 6465 6c43 422c 2076 e_Cb predelCB, v │ │ │ +000745b0: 6f69 6420 2a20 6362 4172 6729 2222 220a oid * cbArg)""". │ │ │ +000745c0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +000745d0: 666c 746b 2e46 6c5f 5465 7874 5f42 7566 fltk.Fl_Text_Buf │ │ │ +000745e0: 6665 725f 7265 6d6f 7665 5f70 7265 6465 fer_remove_prede │ │ │ +000745f0: 6c65 7465 5f63 616c 6c62 6163 6b28 7365 lete_callback(se │ │ │ +00074600: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +00074610: 6465 6620 6361 6c6c 5f70 7265 6465 6c65 def call_predele │ │ │ +00074620: 7465 5f63 616c 6c62 6163 6b73 2873 656c te_callbacks(sel │ │ │ +00074630: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +00074640: 2020 2072 2222 2263 616c 6c5f 7072 6564 r"""call_pred │ │ │ +00074650: 656c 6574 655f 6361 6c6c 6261 636b 7328 elete_callbacks( │ │ │ +00074660: 466c 5f54 6578 745f 4275 6666 6572 2073 Fl_Text_Buffer s │ │ │ +00074670: 656c 6629 2222 220a 2020 2020 2020 2020 elf)""". │ │ │ +00074680: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +00074690: 5465 7874 5f42 7566 6665 725f 6361 6c6c Text_Buffer_call │ │ │ +000746a0: 5f70 7265 6465 6c65 7465 5f63 616c 6c62 _predelete_callb │ │ │ +000746b0: 6163 6b73 2873 656c 662c 202a 6172 6773 acks(self, *args │ │ │ +000746c0: 290a 0a20 2020 2064 6566 206c 696e 655f ).. def line_ │ │ │ +000746d0: 7465 7874 2873 656c 662c 202a 6172 6773 text(self, *args │ │ │ +000746e0: 293a 0a20 2020 2020 2020 2072 2222 226c ):. r"""l │ │ │ +000746f0: 696e 655f 7465 7874 2846 6c5f 5465 7874 ine_text(Fl_Text │ │ │ +00074700: 5f42 7566 6665 7220 7365 6c66 2c20 696e _Buffer self, in │ │ │ +00074710: 7420 706f 7329 202d 3e20 6368 6172 202a t pos) -> char * │ │ │ +00074720: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +00074730: 726e 205f 666c 746b 2e46 6c5f 5465 7874 rn _fltk.Fl_Text │ │ │ +00074740: 5f42 7566 6665 725f 6c69 6e65 5f74 6578 _Buffer_line_tex │ │ │ +00074750: 7428 7365 6c66 2c20 2a61 7267 7329 0a0a t(self, *args).. │ │ │ +00074760: 2020 2020 6465 6620 6c69 6e65 5f73 7461 def line_sta │ │ │ +00074770: 7274 2873 656c 662c 202a 6172 6773 293a rt(self, *args): │ │ │ +00074780: 0a20 2020 2020 2020 2072 2222 226c 696e . r"""lin │ │ │ +00074790: 655f 7374 6172 7428 466c 5f54 6578 745f e_start(Fl_Text_ │ │ │ +000747a0: 4275 6666 6572 2073 656c 662c 2069 6e74 Buffer self, int │ │ │ +000747b0: 2070 6f73 2920 2d3e 2069 6e74 2222 220a pos) -> int""". │ │ │ +000747c0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +000747d0: 666c 746b 2e46 6c5f 5465 7874 5f42 7566 fltk.Fl_Text_Buf │ │ │ +000747e0: 6665 725f 6c69 6e65 5f73 7461 7274 2873 fer_line_start(s │ │ │ +000747f0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +00074800: 2064 6566 206c 696e 655f 656e 6428 7365 def line_end(se │ │ │ +00074810: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +00074820: 2020 2020 7222 2222 6c69 6e65 5f65 6e64 r"""line_end │ │ │ +00074830: 2846 6c5f 5465 7874 5f42 7566 6665 7220 (Fl_Text_Buffer │ │ │ +00074840: 7365 6c66 2c20 696e 7420 706f 7329 202d self, int pos) - │ │ │ +00074850: 3e20 696e 7422 2222 0a20 2020 2020 2020 > int""". │ │ │ +00074860: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +00074870: 5f54 6578 745f 4275 6666 6572 5f6c 696e _Text_Buffer_lin │ │ │ +00074880: 655f 656e 6428 7365 6c66 2c20 2a61 7267 e_end(self, *arg │ │ │ +00074890: 7329 0a0a 2020 2020 6465 6620 776f 7264 s).. def word │ │ │ +000748a0: 5f73 7461 7274 2873 656c 662c 202a 6172 _start(self, *ar │ │ │ +000748b0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +000748c0: 2277 6f72 645f 7374 6172 7428 466c 5f54 "word_start(Fl_T │ │ │ +000748d0: 6578 745f 4275 6666 6572 2073 656c 662c ext_Buffer self, │ │ │ +000748e0: 2069 6e74 2070 6f73 2920 2d3e 2069 6e74 int pos) -> int │ │ │ +000748f0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +00074900: 726e 205f 666c 746b 2e46 6c5f 5465 7874 rn _fltk.Fl_Text │ │ │ +00074910: 5f42 7566 6665 725f 776f 7264 5f73 7461 _Buffer_word_sta │ │ │ +00074920: 7274 2873 656c 662c 202a 6172 6773 290a rt(self, *args). │ │ │ +00074930: 0a20 2020 2064 6566 2077 6f72 645f 656e . def word_en │ │ │ +00074940: 6428 7365 6c66 2c20 2a61 7267 7329 3a0a d(self, *args):. │ │ │ +00074950: 2020 2020 2020 2020 7222 2222 776f 7264 r"""word │ │ │ +00074960: 5f65 6e64 2846 6c5f 5465 7874 5f42 7566 _end(Fl_Text_Buf │ │ │ +00074970: 6665 7220 7365 6c66 2c20 696e 7420 706f fer self, int po │ │ │ +00074980: 7329 202d 3e20 696e 7422 2222 0a20 2020 s) -> int""". │ │ │ +00074990: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +000749a0: 6b2e 466c 5f54 6578 745f 4275 6666 6572 k.Fl_Text_Buffer │ │ │ +000749b0: 5f77 6f72 645f 656e 6428 7365 6c66 2c20 _word_end(self, │ │ │ +000749c0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +000749d0: 636f 756e 745f 6469 7370 6c61 7965 645f count_displayed_ │ │ │ +000749e0: 6368 6172 6163 7465 7273 2873 656c 662c characters(self, │ │ │ +000749f0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00074a00: 2072 2222 2263 6f75 6e74 5f64 6973 706c r"""count_displ │ │ │ +00074a10: 6179 6564 5f63 6861 7261 6374 6572 7328 ayed_characters( │ │ │ +00074a20: 466c 5f54 6578 745f 4275 6666 6572 2073 Fl_Text_Buffer s │ │ │ +00074a30: 656c 662c 2069 6e74 206c 696e 6553 7461 elf, int lineSta │ │ │ +00074a40: 7274 506f 732c 2069 6e74 2074 6172 6765 rtPos, int targe │ │ │ +00074a50: 7450 6f73 2920 2d3e 2069 6e74 2222 220a tPos) -> int""". │ │ │ +00074a60: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +00074a70: 666c 746b 2e46 6c5f 5465 7874 5f42 7566 fltk.Fl_Text_Buf │ │ │ +00074a80: 6665 725f 636f 756e 745f 6469 7370 6c61 fer_count_displa │ │ │ +00074a90: 7965 645f 6368 6172 6163 7465 7273 2873 yed_characters(s │ │ │ +00074aa0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +00074ab0: 2064 6566 2073 6b69 705f 6469 7370 6c61 def skip_displa │ │ │ +00074ac0: 7965 645f 6368 6172 6163 7465 7273 2873 yed_characters(s │ │ │ +00074ad0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00074ae0: 2020 2020 2072 2222 2273 6b69 705f 6469 r"""skip_di │ │ │ +00074af0: 7370 6c61 7965 645f 6368 6172 6163 7465 splayed_characte │ │ │ +00074b00: 7273 2846 6c5f 5465 7874 5f42 7566 6665 rs(Fl_Text_Buffe │ │ │ +00074b10: 7220 7365 6c66 2c20 696e 7420 6c69 6e65 r self, int line │ │ │ +00074b20: 5374 6172 7450 6f73 2c20 696e 7420 6e43 StartPos, int nC │ │ │ +00074b30: 6861 7273 2920 2d3e 2069 6e74 2222 220a hars) -> int""". │ │ │ +00074b40: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +00074b50: 666c 746b 2e46 6c5f 5465 7874 5f42 7566 fltk.Fl_Text_Buf │ │ │ +00074b60: 6665 725f 736b 6970 5f64 6973 706c 6179 fer_skip_display │ │ │ +00074b70: 6564 5f63 6861 7261 6374 6572 7328 7365 ed_characters(se │ │ │ +00074b80: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +00074b90: 6465 6620 636f 756e 745f 6c69 6e65 7328 def count_lines( │ │ │ +00074ba0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +00074bb0: 2020 2020 2020 7222 2222 636f 756e 745f r"""count_ │ │ │ +00074bc0: 6c69 6e65 7328 466c 5f54 6578 745f 4275 lines(Fl_Text_Bu │ │ │ +00074bd0: 6666 6572 2073 656c 662c 2069 6e74 2073 ffer self, int s │ │ │ +00074be0: 7461 7274 506f 732c 2069 6e74 2065 6e64 tartPos, int end │ │ │ +00074bf0: 506f 7329 202d 3e20 696e 7422 2222 0a20 Pos) -> int""". │ │ │ +00074c00: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00074c10: 6c74 6b2e 466c 5f54 6578 745f 4275 6666 ltk.Fl_Text_Buff │ │ │ +00074c20: 6572 5f63 6f75 6e74 5f6c 696e 6573 2873 er_count_lines(s │ │ │ +00074c30: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +00074c40: 2064 6566 2065 7374 696d 6174 655f 6c69 def estimate_li │ │ │ +00074c50: 6e65 7328 7365 6c66 2c20 2a61 7267 7329 nes(self, *args) │ │ │ +00074c60: 3a0a 2020 2020 2020 2020 7222 2222 6573 :. r"""es │ │ │ +00074c70: 7469 6d61 7465 5f6c 696e 6573 2846 6c5f timate_lines(Fl_ │ │ │ +00074c80: 5465 7874 5f42 7566 6665 7220 7365 6c66 Text_Buffer self │ │ │ +00074c90: 2c20 696e 7420 7374 6172 7450 6f73 2c20 , int startPos, │ │ │ +00074ca0: 696e 7420 656e 6450 6f73 2c20 696e 7420 int endPos, int │ │ │ +00074cb0: 6c69 6e65 4c65 6e29 202d 3e20 696e 7422 lineLen) -> int" │ │ │ +00074cc0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +00074cd0: 6e20 5f66 6c74 6b2e 466c 5f54 6578 745f n _fltk.Fl_Text_ │ │ │ +00074ce0: 4275 6666 6572 5f65 7374 696d 6174 655f Buffer_estimate_ │ │ │ +00074cf0: 6c69 6e65 7328 7365 6c66 2c20 2a61 7267 lines(self, *arg │ │ │ +00074d00: 7329 0a0a 2020 2020 6465 6620 736b 6970 s).. def skip │ │ │ +00074d10: 5f6c 696e 6573 2873 656c 662c 202a 6172 _lines(self, *ar │ │ │ +00074d20: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00074d30: 2273 6b69 705f 6c69 6e65 7328 466c 5f54 "skip_lines(Fl_T │ │ │ +00074d40: 6578 745f 4275 6666 6572 2073 656c 662c ext_Buffer self, │ │ │ +00074d50: 2069 6e74 2073 7461 7274 506f 732c 2069 int startPos, i │ │ │ +00074d60: 6e74 206e 4c69 6e65 7329 202d 3e20 696e nt nLines) -> in │ │ │ +00074d70: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ +00074d80: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6578 urn _fltk.Fl_Tex │ │ │ +00074d90: 745f 4275 6666 6572 5f73 6b69 705f 6c69 t_Buffer_skip_li │ │ │ +00074da0: 6e65 7328 7365 6c66 2c20 2a61 7267 7329 nes(self, *args) │ │ │ +00074db0: 0a0a 2020 2020 6465 6620 7265 7769 6e64 .. def rewind │ │ │ +00074dc0: 5f6c 696e 6573 2873 656c 662c 202a 6172 _lines(self, *ar │ │ │ +00074dd0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00074de0: 2272 6577 696e 645f 6c69 6e65 7328 466c "rewind_lines(Fl │ │ │ +00074df0: 5f54 6578 745f 4275 6666 6572 2073 656c _Text_Buffer sel │ │ │ +00074e00: 662c 2069 6e74 2073 7461 7274 506f 732c f, int startPos, │ │ │ +00074e10: 2069 6e74 206e 4c69 6e65 7329 202d 3e20 int nLines) -> │ │ │ +00074e20: 696e 7422 2222 0a20 2020 2020 2020 2072 int""". r │ │ │ +00074e30: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +00074e40: 6578 745f 4275 6666 6572 5f72 6577 696e ext_Buffer_rewin │ │ │ +00074e50: 645f 6c69 6e65 7328 7365 6c66 2c20 2a61 d_lines(self, *a │ │ │ +00074e60: 7267 7329 0a0a 2020 2020 6465 6620 6669 rgs).. def fi │ │ │ +00074e70: 6e64 6368 6172 5f66 6f72 7761 7264 2873 ndchar_forward(s │ │ │ +00074e80: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00074e90: 2020 2020 2072 2222 2266 696e 6463 6861 r"""findcha │ │ │ +00074ea0: 725f 666f 7277 6172 6428 466c 5f54 6578 r_forward(Fl_Tex │ │ │ +00074eb0: 745f 4275 6666 6572 2073 656c 662c 2069 t_Buffer self, i │ │ │ +00074ec0: 6e74 2073 7461 7274 506f 732c 2075 6e73 nt startPos, uns │ │ │ +00074ed0: 6967 6e65 6420 696e 7420 7365 6172 6368 igned int search │ │ │ +00074ee0: 4368 6172 2920 2d3e 2069 6e74 2222 220a Char) -> int""". │ │ │ +00074ef0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +00074f00: 666c 746b 2e46 6c5f 5465 7874 5f42 7566 fltk.Fl_Text_Buf │ │ │ +00074f10: 6665 725f 6669 6e64 6368 6172 5f66 6f72 fer_findchar_for │ │ │ +00074f20: 7761 7264 2873 656c 662c 202a 6172 6773 ward(self, *args │ │ │ +00074f30: 290a 0a20 2020 2064 6566 2066 696e 6463 ).. def findc │ │ │ +00074f40: 6861 725f 6261 636b 7761 7264 2873 656c har_backward(sel │ │ │ +00074f50: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +00074f60: 2020 2072 2222 2266 696e 6463 6861 725f r"""findchar_ │ │ │ +00074f70: 6261 636b 7761 7264 2846 6c5f 5465 7874 backward(Fl_Text │ │ │ +00074f80: 5f42 7566 6665 7220 7365 6c66 2c20 696e _Buffer self, in │ │ │ +00074f90: 7420 7374 6172 7450 6f73 2c20 756e 7369 t startPos, unsi │ │ │ +00074fa0: 676e 6564 2069 6e74 2073 6561 7263 6843 gned int searchC │ │ │ +00074fb0: 6861 7229 202d 3e20 696e 7422 2222 0a20 har) -> int""". │ │ │ +00074fc0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00074fd0: 6c74 6b2e 466c 5f54 6578 745f 4275 6666 ltk.Fl_Text_Buff │ │ │ +00074fe0: 6572 5f66 696e 6463 6861 725f 6261 636b er_findchar_back │ │ │ +00074ff0: 7761 7264 2873 656c 662c 202a 6172 6773 ward(self, *args │ │ │ +00075000: 290a 0a20 2020 2064 6566 2073 6561 7263 ).. def searc │ │ │ +00075010: 685f 666f 7277 6172 6428 7365 6c66 2c20 h_forward(self, │ │ │ +00075020: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00075030: 7222 2222 7365 6172 6368 5f66 6f72 7761 r"""search_forwa │ │ │ +00075040: 7264 2846 6c5f 5465 7874 5f42 7566 6665 rd(Fl_Text_Buffe │ │ │ +00075050: 7220 7365 6c66 2c20 696e 7420 7374 6172 r self, int star │ │ │ +00075060: 7450 6f73 2c20 6368 6172 2063 6f6e 7374 tPos, char const │ │ │ +00075070: 202a 2073 6561 7263 6853 7472 696e 672c * searchString, │ │ │ +00075080: 2069 6e74 206d 6174 6368 4361 7365 3d30 int matchCase=0 │ │ │ +00075090: 2920 2d3e 2069 6e74 2222 220a 2020 2020 ) -> int""". │ │ │ +000750a0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +000750b0: 2e46 6c5f 5465 7874 5f42 7566 6665 725f .Fl_Text_Buffer_ │ │ │ +000750c0: 7365 6172 6368 5f66 6f72 7761 7264 2873 search_forward(s │ │ │ +000750d0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +000750e0: 2064 6566 2073 6561 7263 685f 6261 636b def search_back │ │ │ +000750f0: 7761 7264 2873 656c 662c 202a 6172 6773 ward(self, *args │ │ │ +00075100: 293a 0a20 2020 2020 2020 2072 2222 2273 ):. r"""s │ │ │ +00075110: 6561 7263 685f 6261 636b 7761 7264 2846 earch_backward(F │ │ │ +00075120: 6c5f 5465 7874 5f42 7566 6665 7220 7365 l_Text_Buffer se │ │ │ +00075130: 6c66 2c20 696e 7420 7374 6172 7450 6f73 lf, int startPos │ │ │ +00075140: 2c20 6368 6172 2063 6f6e 7374 202a 2073 , char const * s │ │ │ +00075150: 6561 7263 6853 7472 696e 672c 2069 6e74 earchString, int │ │ │ +00075160: 206d 6174 6368 4361 7365 3d30 2920 2d3e matchCase=0) -> │ │ │ +00075170: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ +00075180: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +00075190: 5465 7874 5f42 7566 6665 725f 7365 6172 Text_Buffer_sear │ │ │ +000751a0: 6368 5f62 6163 6b77 6172 6428 7365 6c66 ch_backward(self │ │ │ +000751b0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +000751c0: 6620 7072 696d 6172 795f 7365 6c65 6374 f primary_select │ │ │ +000751d0: 696f 6e28 7365 6c66 2c20 2a61 7267 7329 ion(self, *args) │ │ │ +000751e0: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ +000751f0: 2020 2020 2020 2070 7269 6d61 7279 5f73 primary_s │ │ │ +00075200: 656c 6563 7469 6f6e 2846 6c5f 5465 7874 election(Fl_Text │ │ │ +00075210: 5f42 7566 6665 7220 7365 6c66 2920 2d3e _Buffer self) -> │ │ │ +00075220: 2046 6c5f 5465 7874 5f53 656c 6563 7469 Fl_Text_Selecti │ │ │ +00075230: 6f6e 0a20 2020 2020 2020 2070 7269 6d61 on. prima │ │ │ +00075240: 7279 5f73 656c 6563 7469 6f6e 2846 6c5f ry_selection(Fl_ │ │ │ +00075250: 5465 7874 5f42 7566 6665 7220 7365 6c66 Text_Buffer self │ │ │ +00075260: 2920 2d3e 2046 6c5f 5465 7874 5f53 656c ) -> Fl_Text_Sel │ │ │ +00075270: 6563 7469 6f6e 0a20 2020 2020 2020 2022 ection. " │ │ │ +00075280: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +00075290: 6e20 5f66 6c74 6b2e 466c 5f54 6578 745f n _fltk.Fl_Text_ │ │ │ +000752a0: 4275 6666 6572 5f70 7269 6d61 7279 5f73 Buffer_primary_s │ │ │ +000752b0: 656c 6563 7469 6f6e 2873 656c 662c 202a election(self, * │ │ │ +000752c0: 6172 6773 290a 0a20 2020 2064 6566 2073 args).. def s │ │ │ +000752d0: 6563 6f6e 6461 7279 5f73 656c 6563 7469 econdary_selecti │ │ │ +000752e0: 6f6e 2873 656c 662c 202a 6172 6773 293a on(self, *args): │ │ │ +000752f0: 0a20 2020 2020 2020 2072 2222 2273 6563 . r"""sec │ │ │ +00075300: 6f6e 6461 7279 5f73 656c 6563 7469 6f6e ondary_selection │ │ │ +00075310: 2846 6c5f 5465 7874 5f42 7566 6665 7220 (Fl_Text_Buffer │ │ │ +00075320: 7365 6c66 2920 2d3e 2046 6c5f 5465 7874 self) -> Fl_Text │ │ │ +00075330: 5f53 656c 6563 7469 6f6e 2222 220a 2020 _Selection""". │ │ │ +00075340: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +00075350: 746b 2e46 6c5f 5465 7874 5f42 7566 6665 tk.Fl_Text_Buffe │ │ │ +00075360: 725f 7365 636f 6e64 6172 795f 7365 6c65 r_secondary_sele │ │ │ +00075370: 6374 696f 6e28 7365 6c66 2c20 2a61 7267 ction(self, *arg │ │ │ +00075380: 7329 0a0a 2020 2020 6465 6620 6869 6768 s).. def high │ │ │ +00075390: 6c69 6768 745f 7365 6c65 6374 696f 6e28 light_selection( │ │ │ +000753a0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +000753b0: 2020 2020 2020 7222 2222 6869 6768 6c69 r"""highli │ │ │ +000753c0: 6768 745f 7365 6c65 6374 696f 6e28 466c ght_selection(Fl │ │ │ +000753d0: 5f54 6578 745f 4275 6666 6572 2073 656c _Text_Buffer sel │ │ │ +000753e0: 6629 202d 3e20 466c 5f54 6578 745f 5365 f) -> Fl_Text_Se │ │ │ +000753f0: 6c65 6374 696f 6e22 2222 0a20 2020 2020 lection""". │ │ │ +00075400: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00075410: 466c 5f54 6578 745f 4275 6666 6572 5f68 Fl_Text_Buffer_h │ │ │ +00075420: 6967 686c 6967 6874 5f73 656c 6563 7469 ighlight_selecti │ │ │ +00075430: 6f6e 2873 656c 662c 202a 6172 6773 290a on(self, *args). │ │ │ +00075440: 0a20 2020 2064 6566 2070 7265 765f 6368 . def prev_ch │ │ │ +00075450: 6172 2873 656c 662c 202a 6172 6773 293a ar(self, *args): │ │ │ +00075460: 0a20 2020 2020 2020 2072 2222 2270 7265 . r"""pre │ │ │ +00075470: 765f 6368 6172 2846 6c5f 5465 7874 5f42 v_char(Fl_Text_B │ │ │ +00075480: 7566 6665 7220 7365 6c66 2c20 696e 7420 uffer self, int │ │ │ +00075490: 6978 2920 2d3e 2069 6e74 2222 220a 2020 ix) -> int""". │ │ │ +000754a0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +000754b0: 746b 2e46 6c5f 5465 7874 5f42 7566 6665 tk.Fl_Text_Buffe │ │ │ +000754c0: 725f 7072 6576 5f63 6861 7228 7365 6c66 r_prev_char(self │ │ │ +000754d0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +000754e0: 6620 7072 6576 5f63 6861 725f 636c 6970 f prev_char_clip │ │ │ +000754f0: 7065 6428 7365 6c66 2c20 2a61 7267 7329 ped(self, *args) │ │ │ +00075500: 3a0a 2020 2020 2020 2020 7222 2222 7072 :. r"""pr │ │ │ +00075510: 6576 5f63 6861 725f 636c 6970 7065 6428 ev_char_clipped( │ │ │ +00075520: 466c 5f54 6578 745f 4275 6666 6572 2073 Fl_Text_Buffer s │ │ │ +00075530: 656c 662c 2069 6e74 2069 7829 202d 3e20 elf, int ix) -> │ │ │ +00075540: 696e 7422 2222 0a20 2020 2020 2020 2072 int""". r │ │ │ +00075550: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +00075560: 6578 745f 4275 6666 6572 5f70 7265 765f ext_Buffer_prev_ │ │ │ +00075570: 6368 6172 5f63 6c69 7070 6564 2873 656c char_clipped(sel │ │ │ +00075580: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +00075590: 6566 206e 6578 745f 6368 6172 2873 656c ef next_char(sel │ │ │ +000755a0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +000755b0: 2020 2072 2222 226e 6578 745f 6368 6172 r"""next_char │ │ │ +000755c0: 2846 6c5f 5465 7874 5f42 7566 6665 7220 (Fl_Text_Buffer │ │ │ +000755d0: 7365 6c66 2c20 696e 7420 6978 2920 2d3e self, int ix) -> │ │ │ +000755e0: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ +000755f0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +00075600: 5465 7874 5f42 7566 6665 725f 6e65 7874 Text_Buffer_next │ │ │ +00075610: 5f63 6861 7228 7365 6c66 2c20 2a61 7267 _char(self, *arg │ │ │ +00075620: 7329 0a0a 2020 2020 6465 6620 6e65 7874 s).. def next │ │ │ +00075630: 5f63 6861 725f 636c 6970 7065 6428 7365 _char_clipped(se │ │ │ +00075640: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +00075650: 2020 2020 7222 2222 6e65 7874 5f63 6861 r"""next_cha │ │ │ +00075660: 725f 636c 6970 7065 6428 466c 5f54 6578 r_clipped(Fl_Tex │ │ │ +00075670: 745f 4275 6666 6572 2073 656c 662c 2069 t_Buffer self, i │ │ │ +00075680: 6e74 2069 7829 202d 3e20 696e 7422 2222 nt ix) -> int""" │ │ │ +00075690: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +000756a0: 5f66 6c74 6b2e 466c 5f54 6578 745f 4275 _fltk.Fl_Text_Bu │ │ │ +000756b0: 6666 6572 5f6e 6578 745f 6368 6172 5f63 ffer_next_char_c │ │ │ +000756c0: 6c69 7070 6564 2873 656c 662c 202a 6172 lipped(self, *ar │ │ │ +000756d0: 6773 290a 0a20 2020 2064 6566 2075 7466 gs).. def utf │ │ │ +000756e0: 385f 616c 6967 6e28 7365 6c66 2c20 2a61 8_align(self, *a │ │ │ +000756f0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00075700: 2222 7574 6638 5f61 6c69 676e 2846 6c5f ""utf8_align(Fl_ │ │ │ +00075710: 5465 7874 5f42 7566 6665 7220 7365 6c66 Text_Buffer self │ │ │ +00075720: 2c20 696e 7420 6172 6732 2920 2d3e 2069 , int arg2) -> i │ │ │ +00075730: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ +00075740: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ +00075750: 7874 5f42 7566 6665 725f 7574 6638 5f61 xt_Buffer_utf8_a │ │ │ +00075760: 6c69 676e 2873 656c 662c 202a 6172 6773 lign(self, *args │ │ │ +00075770: 290a 0a20 2020 2064 6566 2069 735f 776f ).. def is_wo │ │ │ +00075780: 7264 5f73 6570 6172 6174 6f72 2873 656c rd_separator(sel │ │ │ +00075790: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +000757a0: 2020 2072 2222 2269 735f 776f 7264 5f73 r"""is_word_s │ │ │ +000757b0: 6570 6172 6174 6f72 2846 6c5f 5465 7874 eparator(Fl_Text │ │ │ +000757c0: 5f42 7566 6665 7220 7365 6c66 2c20 696e _Buffer self, in │ │ │ +000757d0: 7420 706f 7329 202d 3e20 626f 6f6c 2222 t pos) -> bool"" │ │ │ +000757e0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +000757f0: 205f 666c 746b 2e46 6c5f 5465 7874 5f42 _fltk.Fl_Text_B │ │ │ +00075800: 7566 6665 725f 6973 5f77 6f72 645f 7365 uffer_is_word_se │ │ │ +00075810: 7061 7261 746f 7228 7365 6c66 2c20 2a61 parator(self, *a │ │ │ +00075820: 7267 7329 0a0a 2020 2020 6465 6620 6164 rgs).. def ad │ │ │ +00075830: 645f 6d6f 6469 6679 5f63 616c 6c62 6163 d_modify_callbac │ │ │ +00075840: 6b28 7365 6c66 2c20 2a61 7267 7329 3a0a k(self, *args):. │ │ │ +00075850: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ +00075860: 2020 2020 2061 6464 5f6d 6f64 6966 795f add_modify_ │ │ │ +00075870: 6361 6c6c 6261 636b 2846 6c5f 5465 7874 callback(Fl_Text │ │ │ +00075880: 5f42 7566 6665 7220 7365 6c66 2c20 466c _Buffer self, Fl │ │ │ +00075890: 5f54 6578 745f 4d6f 6469 6679 5f43 6220 _Text_Modify_Cb │ │ │ +000758a0: 6275 664d 6f64 6966 6965 6443 422c 2076 bufModifiedCB, v │ │ │ +000758b0: 6f69 6420 2a20 6362 4172 6729 0a20 2020 oid * cbArg). │ │ │ +000758c0: 2020 2020 2061 6464 5f6d 6f64 6966 795f add_modify_ │ │ │ +000758d0: 6361 6c6c 6261 636b 2846 6c5f 5465 7874 callback(Fl_Text │ │ │ +000758e0: 5f42 7566 6665 7220 7365 6c66 2c20 5079 _Buffer self, Py │ │ │ +000758f0: 4f62 6a65 6374 202a 2050 7946 756e 632c Object * PyFunc, │ │ │ +00075900: 2050 794f 626a 6563 7420 2a20 5079 5461 PyObject * PyTa │ │ │ +00075910: 7267 6574 3d4e 6f6e 6529 0a20 2020 2020 rget=None). │ │ │ +00075920: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ +00075930: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +00075940: 6578 745f 4275 6666 6572 5f61 6464 5f6d ext_Buffer_add_m │ │ │ 00075950: 6f64 6966 795f 6361 6c6c 6261 636b 2873 odify_callback(s │ │ │ -00075960: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00075970: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ -00075980: 2020 7265 6d6f 7665 5f6d 6f64 6966 795f remove_modify_ │ │ │ -00075990: 6361 6c6c 6261 636b 2846 6c5f 5465 7874 callback(Fl_Text │ │ │ -000759a0: 5f42 7566 6665 7220 7365 6c66 2c20 466c _Buffer self, Fl │ │ │ -000759b0: 5f54 6578 745f 4d6f 6469 6679 5f43 6220 _Text_Modify_Cb │ │ │ -000759c0: 6275 664d 6f64 6966 6965 6443 422c 2076 bufModifiedCB, v │ │ │ -000759d0: 6f69 6420 2a20 6362 4172 6729 0a20 2020 oid * cbArg). │ │ │ -000759e0: 2020 2020 2072 656d 6f76 655f 6d6f 6469 remove_modi │ │ │ -000759f0: 6679 5f63 616c 6c62 6163 6b28 466c 5f54 fy_callback(Fl_T │ │ │ -00075a00: 6578 745f 4275 6666 6572 2073 656c 662c ext_Buffer self, │ │ │ -00075a10: 2050 794f 626a 6563 7420 2a20 5079 4675 PyObject * PyFu │ │ │ -00075a20: 6e63 2c20 5079 4f62 6a65 6374 202a 2050 nc, PyObject * P │ │ │ -00075a30: 7957 6964 6765 742c 2050 794f 626a 6563 yWidget, PyObjec │ │ │ -00075a40: 7420 2a20 5079 5461 7267 6574 290a 2020 t * PyTarget). │ │ │ -00075a50: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ -00075a60: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -00075a70: 6c5f 5465 7874 5f42 7566 6665 725f 7265 l_Text_Buffer_re │ │ │ -00075a80: 6d6f 7665 5f6d 6f64 6966 795f 6361 6c6c move_modify_call │ │ │ -00075a90: 6261 636b 2873 656c 662c 202a 6172 6773 back(self, *args │ │ │ -00075aa0: 290a 0a23 2052 6567 6973 7465 7220 466c )..# Register Fl │ │ │ -00075ab0: 5f54 6578 745f 4275 6666 6572 2069 6e20 _Text_Buffer in │ │ │ -00075ac0: 5f66 6c74 6b3a 0a5f 666c 746b 2e46 6c5f _fltk:._fltk.Fl_ │ │ │ -00075ad0: 5465 7874 5f42 7566 6665 725f 7377 6967 Text_Buffer_swig │ │ │ -00075ae0: 7265 6769 7374 6572 2846 6c5f 5465 7874 register(Fl_Text │ │ │ -00075af0: 5f42 7566 6665 7229 0a63 6c61 7373 2053 _Buffer).class S │ │ │ -00075b00: 7479 6c65 5f54 6162 6c65 5f45 6e74 7279 tyle_Table_Entry │ │ │ -00075b10: 286f 626a 6563 7429 3a0a 2020 2020 7222 (object):. r" │ │ │ -00075b20: 2222 5072 6f78 7920 6f66 2043 2b2b 2053 ""Proxy of C++ S │ │ │ -00075b30: 7479 6c65 5f54 6162 6c65 5f45 6e74 7279 tyle_Table_Entry │ │ │ -00075b40: 2063 6c61 7373 2e22 2222 0a0a 2020 2020 class.""".. │ │ │ -00075b50: 7468 6973 6f77 6e20 3d20 7072 6f70 6572 thisown = proper │ │ │ -00075b60: 7479 286c 616d 6264 6120 783a 2078 2e74 ty(lambda x: x.t │ │ │ -00075b70: 6869 732e 6f77 6e28 292c 206c 616d 6264 his.own(), lambd │ │ │ -00075b80: 6120 782c 2076 3a20 782e 7468 6973 2e6f a x, v: x.this.o │ │ │ -00075b90: 776e 2876 292c 2064 6f63 3d22 5468 6520 wn(v), doc="The │ │ │ -00075ba0: 6d65 6d62 6572 7368 6970 2066 6c61 6722 membership flag" │ │ │ -00075bb0: 290a 2020 2020 5f5f 7265 7072 5f5f 203d ). __repr__ = │ │ │ -00075bc0: 205f 7377 6967 5f72 6570 720a 0a20 2020 _swig_repr.. │ │ │ -00075bd0: 2064 6566 205f 5f69 6e69 745f 5f28 7365 def __init__(se │ │ │ -00075be0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -00075bf0: 2020 2020 7222 2222 5f5f 696e 6974 5f5f r"""__init__ │ │ │ -00075c00: 2853 7479 6c65 5f54 6162 6c65 5f45 6e74 (Style_Table_Ent │ │ │ -00075c10: 7279 2073 656c 6629 202d 3e20 5374 796c ry self) -> Styl │ │ │ -00075c20: 655f 5461 626c 655f 456e 7472 7922 2222 e_Table_Entry""" │ │ │ -00075c30: 0a20 2020 2020 2020 205f 666c 746b 2e53 . _fltk.S │ │ │ -00075c40: 7479 6c65 5f54 6162 6c65 5f45 6e74 7279 tyle_Table_Entry │ │ │ -00075c50: 5f73 7769 6769 6e69 7428 7365 6c66 2c20 _swiginit(self, │ │ │ -00075c60: 5f66 6c74 6b2e 6e65 775f 5374 796c 655f _fltk.new_Style_ │ │ │ -00075c70: 5461 626c 655f 456e 7472 7928 2a61 7267 Table_Entry(*arg │ │ │ -00075c80: 7329 290a 2020 2020 5f5f 7377 6967 5f64 s)). __swig_d │ │ │ -00075c90: 6573 7472 6f79 5f5f 203d 205f 666c 746b estroy__ = _fltk │ │ │ -00075ca0: 2e64 656c 6574 655f 5374 796c 655f 5461 .delete_Style_Ta │ │ │ -00075cb0: 626c 655f 456e 7472 790a 0a23 2052 6567 ble_Entry..# Reg │ │ │ -00075cc0: 6973 7465 7220 5374 796c 655f 5461 626c ister Style_Tabl │ │ │ -00075cd0: 655f 456e 7472 7920 696e 205f 666c 746b e_Entry in _fltk │ │ │ -00075ce0: 3a0a 5f66 6c74 6b2e 5374 796c 655f 5461 :._fltk.Style_Ta │ │ │ -00075cf0: 626c 655f 456e 7472 795f 7377 6967 7265 ble_Entry_swigre │ │ │ -00075d00: 6769 7374 6572 2853 7479 6c65 5f54 6162 gister(Style_Tab │ │ │ -00075d10: 6c65 5f45 6e74 7279 290a 636c 6173 7320 le_Entry).class │ │ │ -00075d20: 466c 5f54 6578 745f 4469 7370 6c61 7928 Fl_Text_Display( │ │ │ -00075d30: 466c 5f47 726f 7570 293a 0a20 2020 2072 Fl_Group):. r │ │ │ -00075d40: 2222 220a 0a20 2020 2054 6869 7320 6973 """.. This is │ │ │ -00075d50: 2074 6865 2046 4c54 4b20 7465 7874 2064 the FLTK text d │ │ │ -00075d60: 6973 706c 6179 2077 6964 6765 742e 2049 isplay widget. I │ │ │ -00075d70: 7420 616c 6c6f 7773 2074 6865 2075 7365 t allows the use │ │ │ -00075d80: 7220 746f 2076 6965 7720 6d75 6c74 6970 r to view multip │ │ │ -00075d90: 6c65 200a 2020 2020 6c69 6e65 7320 6f66 le . lines of │ │ │ -00075da0: 2074 6578 7420 616e 6420 7375 7070 6f72 text and suppor │ │ │ -00075db0: 7473 2068 6967 686c 6967 6874 696e 6720 ts highlighting │ │ │ -00075dc0: 616e 6420 7363 726f 6c6c 696e 672e 2054 and scrolling. T │ │ │ -00075dd0: 6865 2062 7566 6665 7220 7468 6174 2069 he buffer that i │ │ │ -00075de0: 7320 0a20 2020 2064 6973 706c 6179 6564 s . displayed │ │ │ -00075df0: 2069 6e20 7468 6520 7769 6467 6574 2069 in the widget i │ │ │ -00075e00: 7320 6d61 6e61 6765 6420 6279 2074 6865 s managed by the │ │ │ -00075e10: 2046 6c5f 5465 7874 5f42 7566 6665 7220 Fl_Text_Buffer │ │ │ -00075e20: 636c 6173 732e 0a0a 2020 2020 2222 220a class... """. │ │ │ -00075e30: 0a20 2020 2074 6869 736f 776e 203d 2070 . thisown = p │ │ │ -00075e40: 726f 7065 7274 7928 6c61 6d62 6461 2078 roperty(lambda x │ │ │ -00075e50: 3a20 782e 7468 6973 2e6f 776e 2829 2c20 : x.this.own(), │ │ │ -00075e60: 6c61 6d62 6461 2078 2c20 763a 2078 2e74 lambda x, v: x.t │ │ │ -00075e70: 6869 732e 6f77 6e28 7629 2c20 646f 633d his.own(v), doc= │ │ │ -00075e80: 2254 6865 206d 656d 6265 7273 6869 7020 "The membership │ │ │ -00075e90: 666c 6167 2229 0a20 2020 205f 5f72 6570 flag"). __rep │ │ │ -00075ea0: 725f 5f20 3d20 5f73 7769 675f 7265 7072 r__ = _swig_repr │ │ │ -00075eb0: 0a20 2020 204e 4f52 4d41 4c5f 4355 5253 . NORMAL_CURS │ │ │ -00075ec0: 4f52 203d 205f 666c 746b 2e46 6c5f 5465 OR = _fltk.Fl_Te │ │ │ -00075ed0: 7874 5f44 6973 706c 6179 5f4e 4f52 4d41 xt_Display_NORMA │ │ │ -00075ee0: 4c5f 4355 5253 4f52 0a20 2020 200a 2020 L_CURSOR. . │ │ │ -00075ef0: 2020 4341 5245 545f 4355 5253 4f52 203d CARET_CURSOR = │ │ │ -00075f00: 205f 666c 746b 2e46 6c5f 5465 7874 5f44 _fltk.Fl_Text_D │ │ │ -00075f10: 6973 706c 6179 5f43 4152 4554 5f43 5552 isplay_CARET_CUR │ │ │ -00075f20: 534f 520a 2020 2020 0a20 2020 2044 494d SOR. . DIM │ │ │ -00075f30: 5f43 5552 534f 5220 3d20 5f66 6c74 6b2e _CURSOR = _fltk. │ │ │ -00075f40: 466c 5f54 6578 745f 4469 7370 6c61 795f Fl_Text_Display_ │ │ │ -00075f50: 4449 4d5f 4355 5253 4f52 0a20 2020 200a DIM_CURSOR. . │ │ │ -00075f60: 2020 2020 424c 4f43 4b5f 4355 5253 4f52 BLOCK_CURSOR │ │ │ -00075f70: 203d 205f 666c 746b 2e46 6c5f 5465 7874 = _fltk.Fl_Text │ │ │ -00075f80: 5f44 6973 706c 6179 5f42 4c4f 434b 5f43 _Display_BLOCK_C │ │ │ -00075f90: 5552 534f 520a 2020 2020 0a20 2020 2048 URSOR. . H │ │ │ -00075fa0: 4541 5659 5f43 5552 534f 5220 3d20 5f66 EAVY_CURSOR = _f │ │ │ -00075fb0: 6c74 6b2e 466c 5f54 6578 745f 4469 7370 ltk.Fl_Text_Disp │ │ │ -00075fc0: 6c61 795f 4845 4156 595f 4355 5253 4f52 lay_HEAVY_CURSOR │ │ │ -00075fd0: 0a20 2020 200a 2020 2020 5349 4d50 4c45 . . SIMPLE │ │ │ -00075fe0: 5f43 5552 534f 5220 3d20 5f66 6c74 6b2e _CURSOR = _fltk. │ │ │ -00075ff0: 466c 5f54 6578 745f 4469 7370 6c61 795f Fl_Text_Display_ │ │ │ -00076000: 5349 4d50 4c45 5f43 5552 534f 520a 2020 SIMPLE_CURSOR. │ │ │ -00076010: 2020 0a20 2020 2043 5552 534f 525f 504f . CURSOR_PO │ │ │ -00076020: 5320 3d20 5f66 6c74 6b2e 466c 5f54 6578 S = _fltk.Fl_Tex │ │ │ -00076030: 745f 4469 7370 6c61 795f 4355 5253 4f52 t_Display_CURSOR │ │ │ -00076040: 5f50 4f53 0a20 2020 200a 2020 2020 4348 _POS. . CH │ │ │ -00076050: 4152 4143 5445 525f 504f 5320 3d20 5f66 ARACTER_POS = _f │ │ │ -00076060: 6c74 6b2e 466c 5f54 6578 745f 4469 7370 ltk.Fl_Text_Disp │ │ │ -00076070: 6c61 795f 4348 4152 4143 5445 525f 504f lay_CHARACTER_PO │ │ │ -00076080: 530a 2020 2020 0a20 2020 2044 5241 475f S. . DRAG_ │ │ │ -00076090: 4e4f 4e45 203d 205f 666c 746b 2e46 6c5f NONE = _fltk.Fl_ │ │ │ -000760a0: 5465 7874 5f44 6973 706c 6179 5f44 5241 Text_Display_DRA │ │ │ -000760b0: 475f 4e4f 4e45 0a20 2020 200a 2020 2020 G_NONE. . │ │ │ -000760c0: 4452 4147 5f53 5441 5254 5f44 4e44 203d DRAG_START_DND = │ │ │ -000760d0: 205f 666c 746b 2e46 6c5f 5465 7874 5f44 _fltk.Fl_Text_D │ │ │ -000760e0: 6973 706c 6179 5f44 5241 475f 5354 4152 isplay_DRAG_STAR │ │ │ -000760f0: 545f 444e 440a 2020 2020 0a20 2020 2044 T_DND. . D │ │ │ -00076100: 5241 475f 4348 4152 203d 205f 666c 746b RAG_CHAR = _fltk │ │ │ -00076110: 2e46 6c5f 5465 7874 5f44 6973 706c 6179 .Fl_Text_Display │ │ │ -00076120: 5f44 5241 475f 4348 4152 0a20 2020 200a _DRAG_CHAR. . │ │ │ -00076130: 2020 2020 4452 4147 5f57 4f52 4420 3d20 DRAG_WORD = │ │ │ -00076140: 5f66 6c74 6b2e 466c 5f54 6578 745f 4469 _fltk.Fl_Text_Di │ │ │ -00076150: 7370 6c61 795f 4452 4147 5f57 4f52 440a splay_DRAG_WORD. │ │ │ -00076160: 2020 2020 0a20 2020 2044 5241 475f 4c49 . DRAG_LI │ │ │ -00076170: 4e45 203d 205f 666c 746b 2e46 6c5f 5465 NE = _fltk.Fl_Te │ │ │ -00076180: 7874 5f44 6973 706c 6179 5f44 5241 475f xt_Display_DRAG_ │ │ │ -00076190: 4c49 4e45 0a20 2020 200a 2020 2020 5752 LINE. . WR │ │ │ -000761a0: 4150 5f4e 4f4e 4520 3d20 5f66 6c74 6b2e AP_NONE = _fltk. │ │ │ -000761b0: 466c 5f54 6578 745f 4469 7370 6c61 795f Fl_Text_Display_ │ │ │ -000761c0: 5752 4150 5f4e 4f4e 450a 2020 2020 0a20 WRAP_NONE. . │ │ │ -000761d0: 2020 2057 5241 505f 4154 5f43 4f4c 554d WRAP_AT_COLUM │ │ │ -000761e0: 4e20 3d20 5f66 6c74 6b2e 466c 5f54 6578 N = _fltk.Fl_Tex │ │ │ -000761f0: 745f 4469 7370 6c61 795f 5752 4150 5f41 t_Display_WRAP_A │ │ │ -00076200: 545f 434f 4c55 4d4e 0a20 2020 200a 2020 T_COLUMN. . │ │ │ -00076210: 2020 5752 4150 5f41 545f 5049 5845 4c20 WRAP_AT_PIXEL │ │ │ -00076220: 3d20 5f66 6c74 6b2e 466c 5f54 6578 745f = _fltk.Fl_Text_ │ │ │ -00076230: 4469 7370 6c61 795f 5752 4150 5f41 545f Display_WRAP_AT_ │ │ │ -00076240: 5049 5845 4c0a 2020 2020 0a20 2020 2057 PIXEL. . W │ │ │ -00076250: 5241 505f 4154 5f42 4f55 4e44 5320 3d20 RAP_AT_BOUNDS = │ │ │ -00076260: 5f66 6c74 6b2e 466c 5f54 6578 745f 4469 _fltk.Fl_Text_Di │ │ │ -00076270: 7370 6c61 795f 5752 4150 5f41 545f 424f splay_WRAP_AT_BO │ │ │ -00076280: 554e 4453 0a20 2020 200a 2020 2020 4154 UNDS. . AT │ │ │ -00076290: 5452 5f42 4743 4f4c 4f52 203d 205f 666c TR_BGCOLOR = _fl │ │ │ -000762a0: 746b 2e46 6c5f 5465 7874 5f44 6973 706c tk.Fl_Text_Displ │ │ │ -000762b0: 6179 5f41 5454 525f 4247 434f 4c4f 520a ay_ATTR_BGCOLOR. │ │ │ -000762c0: 2020 2020 0a20 2020 2041 5454 525f 4247 . ATTR_BG │ │ │ -000762d0: 434f 4c4f 525f 4558 545f 203d 205f 666c COLOR_EXT_ = _fl │ │ │ -000762e0: 746b 2e46 6c5f 5465 7874 5f44 6973 706c tk.Fl_Text_Displ │ │ │ -000762f0: 6179 5f41 5454 525f 4247 434f 4c4f 525f ay_ATTR_BGCOLOR_ │ │ │ -00076300: 4558 545f 0a20 2020 200a 2020 2020 4154 EXT_. . AT │ │ │ -00076310: 5452 5f42 4743 4f4c 4f52 5f45 5854 203d TR_BGCOLOR_EXT = │ │ │ -00076320: 205f 666c 746b 2e46 6c5f 5465 7874 5f44 _fltk.Fl_Text_D │ │ │ -00076330: 6973 706c 6179 5f41 5454 525f 4247 434f isplay_ATTR_BGCO │ │ │ -00076340: 4c4f 525f 4558 540a 2020 2020 0a20 2020 LOR_EXT. . │ │ │ -00076350: 2041 5454 525f 554e 4445 524c 494e 4520 ATTR_UNDERLINE │ │ │ -00076360: 3d20 5f66 6c74 6b2e 466c 5f54 6578 745f = _fltk.Fl_Text_ │ │ │ -00076370: 4469 7370 6c61 795f 4154 5452 5f55 4e44 Display_ATTR_UND │ │ │ -00076380: 4552 4c49 4e45 0a20 2020 200a 2020 2020 ERLINE. . │ │ │ -00076390: 4154 5452 5f47 5241 4d4d 4152 203d 205f ATTR_GRAMMAR = _ │ │ │ -000763a0: 666c 746b 2e46 6c5f 5465 7874 5f44 6973 fltk.Fl_Text_Dis │ │ │ -000763b0: 706c 6179 5f41 5454 525f 4752 414d 4d41 play_ATTR_GRAMMA │ │ │ -000763c0: 520a 2020 2020 0a20 2020 2041 5454 525f R. . ATTR_ │ │ │ -000763d0: 5350 454c 4c49 4e47 203d 205f 666c 746b SPELLING = _fltk │ │ │ -000763e0: 2e46 6c5f 5465 7874 5f44 6973 706c 6179 .Fl_Text_Display │ │ │ -000763f0: 5f41 5454 525f 5350 454c 4c49 4e47 0a20 _ATTR_SPELLING. │ │ │ -00076400: 2020 200a 2020 2020 4154 5452 5f53 5452 . ATTR_STR │ │ │ -00076410: 494b 455f 5448 524f 5547 4820 3d20 5f66 IKE_THROUGH = _f │ │ │ -00076420: 6c74 6b2e 466c 5f54 6578 745f 4469 7370 ltk.Fl_Text_Disp │ │ │ -00076430: 6c61 795f 4154 5452 5f53 5452 494b 455f lay_ATTR_STRIKE_ │ │ │ -00076440: 5448 524f 5547 480a 2020 2020 0a20 2020 THROUGH. . │ │ │ -00076450: 2041 5454 525f 4c49 4e45 535f 4d41 534b ATTR_LINES_MASK │ │ │ -00076460: 203d 205f 666c 746b 2e46 6c5f 5465 7874 = _fltk.Fl_Text │ │ │ -00076470: 5f44 6973 706c 6179 5f41 5454 525f 4c49 _Display_ATTR_LI │ │ │ -00076480: 4e45 535f 4d41 534b 0a20 2020 200a 0a20 NES_MASK. .. │ │ │ -00076490: 2020 2064 6566 205f 5f69 6e69 745f 5f28 def __init__( │ │ │ -000764a0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -000764b0: 2020 2020 2020 7222 2222 5f5f 696e 6974 r"""__init │ │ │ -000764c0: 5f5f 2846 6c5f 5465 7874 5f44 6973 706c __(Fl_Text_Displ │ │ │ -000764d0: 6179 2073 656c 662c 2069 6e74 2058 2c20 ay self, int X, │ │ │ -000764e0: 696e 7420 592c 2069 6e74 2057 2c20 696e int Y, int W, in │ │ │ -000764f0: 7420 482c 2063 6861 7220 636f 6e73 7420 t H, char const │ │ │ -00076500: 2a20 6c3d 4e6f 6e65 2920 2d3e 2046 6c5f * l=None) -> Fl_ │ │ │ -00076510: 5465 7874 5f44 6973 706c 6179 2222 220a Text_Display""". │ │ │ -00076520: 2020 2020 2020 2020 6966 2073 656c 662e if self. │ │ │ -00076530: 5f5f 636c 6173 735f 5f20 3d3d 2046 6c5f __class__ == Fl_ │ │ │ -00076540: 5465 7874 5f44 6973 706c 6179 3a0a 2020 Text_Display:. │ │ │ -00076550: 2020 2020 2020 2020 2020 5f73 656c 6620 _self │ │ │ -00076560: 3d20 4e6f 6e65 0a20 2020 2020 2020 2065 = None. e │ │ │ -00076570: 6c73 653a 0a20 2020 2020 2020 2020 2020 lse:. │ │ │ -00076580: 205f 7365 6c66 203d 2073 656c 660a 2020 _self = self. │ │ │ -00076590: 2020 2020 2020 5f66 6c74 6b2e 466c 5f54 _fltk.Fl_T │ │ │ -000765a0: 6578 745f 4469 7370 6c61 795f 7377 6967 ext_Display_swig │ │ │ -000765b0: 696e 6974 2873 656c 662c 205f 666c 746b init(self, _fltk │ │ │ -000765c0: 2e6e 6577 5f46 6c5f 5465 7874 5f44 6973 .new_Fl_Text_Dis │ │ │ -000765d0: 706c 6179 285f 7365 6c66 2c20 2a61 7267 play(_self, *arg │ │ │ -000765e0: 7329 290a 0a20 2020 2020 2020 2069 6620 s)).. if │ │ │ -000765f0: 6c65 6e28 6172 6773 2920 3d3d 2035 3a20 len(args) == 5: │ │ │ -00076600: 2020 2020 2020 2020 200a 2020 2020 2020 . │ │ │ -00076610: 2020 2372 6574 6169 6e20 7265 6665 7265 #retain refere │ │ │ -00076620: 6e63 6520 746f 206c 6162 656c 0a20 2020 nce to label. │ │ │ -00076630: 2020 2020 2020 2020 2073 656c 662e 6d79 self.my │ │ │ -00076640: 5f6c 6162 656c 203d 2061 7267 735b 2d31 _label = args[-1 │ │ │ -00076650: 5d0a 2020 2020 2020 2020 6966 2073 656c ]. if sel │ │ │ -00076660: 662e 7061 7265 6e74 2829 2021 3d20 4e6f f.parent() != No │ │ │ -00076670: 6e65 3a20 2020 0a20 2020 2020 2020 2023 ne: . # │ │ │ -00076680: 6465 6c65 6761 7465 206f 776e 6572 7368 delegate ownersh │ │ │ -00076690: 6970 2074 6f20 432b 2b0a 2020 2020 2020 ip to C++. │ │ │ -000766a0: 2020 2020 2020 7365 6c66 2e74 6869 732e self.this. │ │ │ -000766b0: 6469 736f 776e 2829 0a20 2020 2020 2020 disown(). │ │ │ -000766c0: 2073 656c 662e 696e 6974 5f74 7970 6528 self.init_type( │ │ │ -000766d0: 2246 6c5f 5465 7874 5f44 6973 706c 6179 "Fl_Text_Display │ │ │ -000766e0: 2229 0a20 2020 2020 2020 2023 7072 696e "). #prin │ │ │ -000766f0: 7428 2241 6464 696e 6720 7479 7065 3a20 t("Adding type: │ │ │ -00076700: 222c 2046 6c5f 5465 7874 5f44 6973 706c ", Fl_Text_Displ │ │ │ -00076710: 6179 290a 0a0a 0a20 2020 205f 5f73 7769 ay).... __swi │ │ │ -00076720: 675f 6465 7374 726f 795f 5f20 3d20 5f66 g_destroy__ = _f │ │ │ -00076730: 6c74 6b2e 6465 6c65 7465 5f46 6c5f 5465 ltk.delete_Fl_Te │ │ │ -00076740: 7874 5f44 6973 706c 6179 0a0a 2020 2020 xt_Display.. │ │ │ -00076750: 6465 6620 6861 6e64 6c65 2873 656c 662c def handle(self, │ │ │ -00076760: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00076770: 2072 2222 2268 616e 646c 6528 466c 5f54 r"""handle(Fl_T │ │ │ -00076780: 6578 745f 4469 7370 6c61 7920 7365 6c66 ext_Display self │ │ │ -00076790: 2c20 696e 7420 6529 202d 3e20 696e 7422 , int e) -> int" │ │ │ -000767a0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -000767b0: 6e20 5f66 6c74 6b2e 466c 5f54 6578 745f n _fltk.Fl_Text_ │ │ │ -000767c0: 4469 7370 6c61 795f 6861 6e64 6c65 2873 Display_handle(s │ │ │ -000767d0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -000767e0: 2064 6566 2062 7566 6665 7228 7365 6c66 def buffer(self │ │ │ -000767f0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -00076800: 2020 7222 2222 0a20 2020 2020 2020 2062 r""". b │ │ │ -00076810: 7566 6665 7228 466c 5f54 6578 745f 4469 uffer(Fl_Text_Di │ │ │ -00076820: 7370 6c61 7920 7365 6c66 2c20 466c 5f54 splay self, Fl_T │ │ │ -00076830: 6578 745f 4275 6666 6572 2062 7566 290a ext_Buffer buf). │ │ │ -00076840: 2020 2020 2020 2020 6275 6666 6572 2846 buffer(F │ │ │ -00076850: 6c5f 5465 7874 5f44 6973 706c 6179 2073 l_Text_Display s │ │ │ -00076860: 656c 6629 202d 3e20 466c 5f54 6578 745f elf) -> Fl_Text_ │ │ │ -00076870: 4275 6666 6572 0a20 2020 2020 2020 2022 Buffer. " │ │ │ -00076880: 2222 0a20 2020 2020 2020 2076 616c 203d "". val = │ │ │ -00076890: 205f 666c 746b 2e46 6c5f 5465 7874 5f44 _fltk.Fl_Text_D │ │ │ -000768a0: 6973 706c 6179 5f62 7566 6665 7228 7365 isplay_buffer(se │ │ │ -000768b0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -000768c0: 2020 2020 6966 206c 656e 2861 7267 7329 if len(args) │ │ │ -000768d0: 203e 2030 2061 6e64 2061 7267 735b 305d > 0 and args[0] │ │ │ -000768e0: 2021 3d20 4e6f 6e65 3a0a 2020 2020 2020 != None:. │ │ │ -000768f0: 2020 2364 656c 6567 6174 6520 6f77 6e65 #delegate owne │ │ │ -00076900: 7273 6869 7020 746f 2043 2b2b 0a20 2020 rship to C++. │ │ │ -00076910: 2020 2020 2020 2020 2061 7267 735b 305d args[0] │ │ │ -00076920: 2e74 6869 732e 6469 736f 776e 2829 0a0a .this.disown().. │ │ │ -00076930: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00076940: 7661 6c0a 0a0a 2020 2020 6465 6620 7374 val... def st │ │ │ -00076950: 796c 655f 6275 6666 6572 2873 656c 662c yle_buffer(self, │ │ │ -00076960: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00076970: 2072 2222 2273 7479 6c65 5f62 7566 6665 r"""style_buffe │ │ │ -00076980: 7228 466c 5f54 6578 745f 4469 7370 6c61 r(Fl_Text_Displa │ │ │ -00076990: 7920 7365 6c66 2920 2d3e 2046 6c5f 5465 y self) -> Fl_Te │ │ │ -000769a0: 7874 5f42 7566 6665 7222 2222 0a20 2020 xt_Buffer""". │ │ │ -000769b0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -000769c0: 6b2e 466c 5f54 6578 745f 4469 7370 6c61 k.Fl_Text_Displa │ │ │ -000769d0: 795f 7374 796c 655f 6275 6666 6572 2873 y_style_buffer(s │ │ │ -000769e0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -000769f0: 2064 6566 2072 6564 6973 706c 6179 5f72 def redisplay_r │ │ │ -00076a00: 616e 6765 2873 656c 662c 202a 6172 6773 ange(self, *args │ │ │ -00076a10: 293a 0a20 2020 2020 2020 2072 2222 2272 ):. r"""r │ │ │ -00076a20: 6564 6973 706c 6179 5f72 616e 6765 2846 edisplay_range(F │ │ │ -00076a30: 6c5f 5465 7874 5f44 6973 706c 6179 2073 l_Text_Display s │ │ │ -00076a40: 656c 662c 2069 6e74 2073 7461 7274 2c20 elf, int start, │ │ │ -00076a50: 696e 7420 656e 6429 2222 220a 2020 2020 int end)""". │ │ │ -00076a60: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00076a70: 2e46 6c5f 5465 7874 5f44 6973 706c 6179 .Fl_Text_Display │ │ │ -00076a80: 5f72 6564 6973 706c 6179 5f72 616e 6765 _redisplay_range │ │ │ -00076a90: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -00076aa0: 2020 2064 6566 2073 6372 6f6c 6c28 7365 def scroll(se │ │ │ -00076ab0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -00076ac0: 2020 2020 7222 2222 7363 726f 6c6c 2846 r"""scroll(F │ │ │ -00076ad0: 6c5f 5465 7874 5f44 6973 706c 6179 2073 l_Text_Display s │ │ │ -00076ae0: 656c 662c 2069 6e74 2074 6f70 4c69 6e65 elf, int topLine │ │ │ -00076af0: 4e75 6d2c 2069 6e74 2068 6f72 697a 4f66 Num, int horizOf │ │ │ -00076b00: 6673 6574 2922 2222 0a20 2020 2020 2020 fset)""". │ │ │ -00076b10: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -00076b20: 5f54 6578 745f 4469 7370 6c61 795f 7363 _Text_Display_sc │ │ │ -00076b30: 726f 6c6c 2873 656c 662c 202a 6172 6773 roll(self, *args │ │ │ -00076b40: 290a 0a20 2020 2064 6566 2069 6e73 6572 ).. def inser │ │ │ -00076b50: 7428 7365 6c66 2c20 2a61 7267 7329 3a0a t(self, *args):. │ │ │ -00076b60: 2020 2020 2020 2020 7222 2222 696e 7365 r"""inse │ │ │ -00076b70: 7274 2846 6c5f 5465 7874 5f44 6973 706c rt(Fl_Text_Displ │ │ │ -00076b80: 6179 2073 656c 662c 2063 6861 7220 636f ay self, char co │ │ │ -00076b90: 6e73 7420 2a20 7465 7874 2922 2222 0a20 nst * text)""". │ │ │ -00076ba0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -00076bb0: 6c74 6b2e 466c 5f54 6578 745f 4469 7370 ltk.Fl_Text_Disp │ │ │ -00076bc0: 6c61 795f 696e 7365 7274 2873 656c 662c lay_insert(self, │ │ │ -00076bd0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00076be0: 206f 7665 7273 7472 696b 6528 7365 6c66 overstrike(self │ │ │ -00076bf0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -00076c00: 2020 7222 2222 6f76 6572 7374 7269 6b65 r"""overstrike │ │ │ -00076c10: 2846 6c5f 5465 7874 5f44 6973 706c 6179 (Fl_Text_Display │ │ │ -00076c20: 2073 656c 662c 2063 6861 7220 636f 6e73 self, char cons │ │ │ -00076c30: 7420 2a20 7465 7874 2922 2222 0a20 2020 t * text)""". │ │ │ -00076c40: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -00076c50: 6b2e 466c 5f54 6578 745f 4469 7370 6c61 k.Fl_Text_Displa │ │ │ -00076c60: 795f 6f76 6572 7374 7269 6b65 2873 656c y_overstrike(sel │ │ │ -00076c70: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -00076c80: 6566 2069 6e73 6572 745f 706f 7369 7469 ef insert_positi │ │ │ -00076c90: 6f6e 2873 656c 662c 202a 6172 6773 293a on(self, *args): │ │ │ -00076ca0: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ -00076cb0: 2020 2020 2020 696e 7365 7274 5f70 6f73 insert_pos │ │ │ -00076cc0: 6974 696f 6e28 466c 5f54 6578 745f 4469 ition(Fl_Text_Di │ │ │ -00076cd0: 7370 6c61 7920 7365 6c66 2c20 696e 7420 splay self, int │ │ │ -00076ce0: 6e65 7750 6f73 290a 2020 2020 2020 2020 newPos). │ │ │ -00076cf0: 696e 7365 7274 5f70 6f73 6974 696f 6e28 insert_position( │ │ │ -00076d00: 466c 5f54 6578 745f 4469 7370 6c61 7920 Fl_Text_Display │ │ │ -00076d10: 7365 6c66 2920 2d3e 2069 6e74 0a20 2020 self) -> int. │ │ │ -00076d20: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ -00076d30: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -00076d40: 5f54 6578 745f 4469 7370 6c61 795f 696e _Text_Display_in │ │ │ -00076d50: 7365 7274 5f70 6f73 6974 696f 6e28 7365 sert_position(se │ │ │ -00076d60: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -00076d70: 6465 6620 706f 7369 7469 6f6e 5f74 6f5f def position_to_ │ │ │ -00076d80: 7879 2873 656c 662c 202a 6172 6773 293a xy(self, *args): │ │ │ -00076d90: 0a20 2020 2020 2020 2072 2222 2270 6f73 . r"""pos │ │ │ -00076da0: 6974 696f 6e5f 746f 5f78 7928 466c 5f54 ition_to_xy(Fl_T │ │ │ -00076db0: 6578 745f 4469 7370 6c61 7920 7365 6c66 ext_Display self │ │ │ -00076dc0: 2c20 696e 7420 706f 732c 2069 6e74 202a , int pos, int * │ │ │ -00076dd0: 2078 2c20 696e 7420 2a20 7929 202d 3e20 x, int * y) -> │ │ │ -00076de0: 696e 7422 2222 0a20 2020 2020 2020 2072 int""". r │ │ │ -00076df0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -00076e00: 6578 745f 4469 7370 6c61 795f 706f 7369 ext_Display_posi │ │ │ -00076e10: 7469 6f6e 5f74 6f5f 7879 2873 656c 662c tion_to_xy(self, │ │ │ -00076e20: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00076e30: 2069 6e5f 7365 6c65 6374 696f 6e28 7365 in_selection(se │ │ │ -00076e40: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -00076e50: 2020 2020 7222 2222 696e 5f73 656c 6563 r"""in_selec │ │ │ -00076e60: 7469 6f6e 2846 6c5f 5465 7874 5f44 6973 tion(Fl_Text_Dis │ │ │ -00076e70: 706c 6179 2073 656c 662c 2069 6e74 2078 play self, int x │ │ │ -00076e80: 2c20 696e 7420 7929 202d 3e20 696e 7422 , int y) -> int" │ │ │ -00076e90: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -00076ea0: 6e20 5f66 6c74 6b2e 466c 5f54 6578 745f n _fltk.Fl_Text_ │ │ │ -00076eb0: 4469 7370 6c61 795f 696e 5f73 656c 6563 Display_in_selec │ │ │ -00076ec0: 7469 6f6e 2873 656c 662c 202a 6172 6773 tion(self, *args │ │ │ -00076ed0: 290a 0a20 2020 2064 6566 2073 686f 775f ).. def show_ │ │ │ -00076ee0: 696e 7365 7274 5f70 6f73 6974 696f 6e28 insert_position( │ │ │ -00076ef0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -00076f00: 2020 2020 2020 7222 2222 7368 6f77 5f69 r"""show_i │ │ │ -00076f10: 6e73 6572 745f 706f 7369 7469 6f6e 2846 nsert_position(F │ │ │ -00076f20: 6c5f 5465 7874 5f44 6973 706c 6179 2073 l_Text_Display s │ │ │ -00076f30: 656c 6629 2222 220a 2020 2020 2020 2020 elf)""". │ │ │ -00076f40: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00076f50: 5465 7874 5f44 6973 706c 6179 5f73 686f Text_Display_sho │ │ │ -00076f60: 775f 696e 7365 7274 5f70 6f73 6974 696f w_insert_positio │ │ │ -00076f70: 6e28 7365 6c66 2c20 2a61 7267 7329 0a0a n(self, *args).. │ │ │ -00076f80: 2020 2020 6465 6620 6d6f 7665 5f72 6967 def move_rig │ │ │ -00076f90: 6874 2873 656c 662c 202a 6172 6773 293a ht(self, *args): │ │ │ -00076fa0: 0a20 2020 2020 2020 2072 2222 226d 6f76 . r"""mov │ │ │ -00076fb0: 655f 7269 6768 7428 466c 5f54 6578 745f e_right(Fl_Text_ │ │ │ -00076fc0: 4469 7370 6c61 7920 7365 6c66 2920 2d3e Display self) -> │ │ │ -00076fd0: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ -00076fe0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00076ff0: 5465 7874 5f44 6973 706c 6179 5f6d 6f76 Text_Display_mov │ │ │ -00077000: 655f 7269 6768 7428 7365 6c66 2c20 2a61 e_right(self, *a │ │ │ -00077010: 7267 7329 0a0a 2020 2020 6465 6620 6d6f rgs).. def mo │ │ │ -00077020: 7665 5f6c 6566 7428 7365 6c66 2c20 2a61 ve_left(self, *a │ │ │ -00077030: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00077040: 2222 6d6f 7665 5f6c 6566 7428 466c 5f54 ""move_left(Fl_T │ │ │ -00077050: 6578 745f 4469 7370 6c61 7920 7365 6c66 ext_Display self │ │ │ -00077060: 2920 2d3e 2069 6e74 2222 220a 2020 2020 ) -> int""". │ │ │ -00077070: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00077080: 2e46 6c5f 5465 7874 5f44 6973 706c 6179 .Fl_Text_Display │ │ │ -00077090: 5f6d 6f76 655f 6c65 6674 2873 656c 662c _move_left(self, │ │ │ -000770a0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -000770b0: 206d 6f76 655f 7570 2873 656c 662c 202a move_up(self, * │ │ │ -000770c0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -000770d0: 2222 226d 6f76 655f 7570 2846 6c5f 5465 """move_up(Fl_Te │ │ │ -000770e0: 7874 5f44 6973 706c 6179 2073 656c 6629 xt_Display self) │ │ │ -000770f0: 202d 3e20 696e 7422 2222 0a20 2020 2020 -> int""". │ │ │ -00077100: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00077110: 466c 5f54 6578 745f 4469 7370 6c61 795f Fl_Text_Display_ │ │ │ -00077120: 6d6f 7665 5f75 7028 7365 6c66 2c20 2a61 move_up(self, *a │ │ │ -00077130: 7267 7329 0a0a 2020 2020 6465 6620 6d6f rgs).. def mo │ │ │ -00077140: 7665 5f64 6f77 6e28 7365 6c66 2c20 2a61 ve_down(self, *a │ │ │ -00077150: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00077160: 2222 6d6f 7665 5f64 6f77 6e28 466c 5f54 ""move_down(Fl_T │ │ │ -00077170: 6578 745f 4469 7370 6c61 7920 7365 6c66 ext_Display self │ │ │ -00077180: 2920 2d3e 2069 6e74 2222 220a 2020 2020 ) -> int""". │ │ │ -00077190: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -000771a0: 2e46 6c5f 5465 7874 5f44 6973 706c 6179 .Fl_Text_Display │ │ │ -000771b0: 5f6d 6f76 655f 646f 776e 2873 656c 662c _move_down(self, │ │ │ -000771c0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -000771d0: 2063 6f75 6e74 5f6c 696e 6573 2873 656c count_lines(sel │ │ │ -000771e0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -000771f0: 2020 2072 2222 2263 6f75 6e74 5f6c 696e r"""count_lin │ │ │ -00077200: 6573 2846 6c5f 5465 7874 5f44 6973 706c es(Fl_Text_Displ │ │ │ -00077210: 6179 2073 656c 662c 2069 6e74 2073 7461 ay self, int sta │ │ │ -00077220: 7274 2c20 696e 7420 656e 642c 2062 6f6f rt, int end, boo │ │ │ -00077230: 6c20 7374 6172 745f 706f 735f 6973 5f6c l start_pos_is_l │ │ │ -00077240: 696e 655f 7374 6172 7429 202d 3e20 696e ine_start) -> in │ │ │ -00077250: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ -00077260: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6578 urn _fltk.Fl_Tex │ │ │ -00077270: 745f 4469 7370 6c61 795f 636f 756e 745f t_Display_count_ │ │ │ -00077280: 6c69 6e65 7328 7365 6c66 2c20 2a61 7267 lines(self, *arg │ │ │ -00077290: 7329 0a0a 2020 2020 6465 6620 6c69 6e65 s).. def line │ │ │ -000772a0: 5f73 7461 7274 2873 656c 662c 202a 6172 _start(self, *ar │ │ │ -000772b0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -000772c0: 226c 696e 655f 7374 6172 7428 466c 5f54 "line_start(Fl_T │ │ │ -000772d0: 6578 745f 4469 7370 6c61 7920 7365 6c66 ext_Display self │ │ │ -000772e0: 2c20 696e 7420 706f 7329 202d 3e20 696e , int pos) -> in │ │ │ -000772f0: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ -00077300: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6578 urn _fltk.Fl_Tex │ │ │ -00077310: 745f 4469 7370 6c61 795f 6c69 6e65 5f73 t_Display_line_s │ │ │ -00077320: 7461 7274 2873 656c 662c 202a 6172 6773 tart(self, *args │ │ │ -00077330: 290a 0a20 2020 2064 6566 206c 696e 655f ).. def line_ │ │ │ -00077340: 656e 6428 7365 6c66 2c20 2a61 7267 7329 end(self, *args) │ │ │ -00077350: 3a0a 2020 2020 2020 2020 7222 2222 6c69 :. r"""li │ │ │ -00077360: 6e65 5f65 6e64 2846 6c5f 5465 7874 5f44 ne_end(Fl_Text_D │ │ │ -00077370: 6973 706c 6179 2073 656c 662c 2069 6e74 isplay self, int │ │ │ -00077380: 2073 7461 7274 506f 732c 2062 6f6f 6c20 startPos, bool │ │ │ -00077390: 7374 6172 7450 6f73 4973 4c69 6e65 5374 startPosIsLineSt │ │ │ -000773a0: 6172 7429 202d 3e20 696e 7422 2222 0a20 art) -> int""". │ │ │ -000773b0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -000773c0: 6c74 6b2e 466c 5f54 6578 745f 4469 7370 ltk.Fl_Text_Disp │ │ │ -000773d0: 6c61 795f 6c69 6e65 5f65 6e64 2873 656c lay_line_end(sel │ │ │ -000773e0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -000773f0: 6566 2073 6b69 705f 6c69 6e65 7328 7365 ef skip_lines(se │ │ │ -00077400: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -00077410: 2020 2020 7222 2222 736b 6970 5f6c 696e r"""skip_lin │ │ │ -00077420: 6573 2846 6c5f 5465 7874 5f44 6973 706c es(Fl_Text_Displ │ │ │ -00077430: 6179 2073 656c 662c 2069 6e74 2073 7461 ay self, int sta │ │ │ -00077440: 7274 506f 732c 2069 6e74 206e 4c69 6e65 rtPos, int nLine │ │ │ -00077450: 732c 2062 6f6f 6c20 7374 6172 7450 6f73 s, bool startPos │ │ │ -00077460: 4973 4c69 6e65 5374 6172 7429 202d 3e20 IsLineStart) -> │ │ │ -00077470: 696e 7422 2222 0a20 2020 2020 2020 2072 int""". r │ │ │ -00077480: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -00077490: 6578 745f 4469 7370 6c61 795f 736b 6970 ext_Display_skip │ │ │ -000774a0: 5f6c 696e 6573 2873 656c 662c 202a 6172 _lines(self, *ar │ │ │ -000774b0: 6773 290a 0a20 2020 2064 6566 2072 6577 gs).. def rew │ │ │ -000774c0: 696e 645f 6c69 6e65 7328 7365 6c66 2c20 ind_lines(self, │ │ │ -000774d0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -000774e0: 7222 2222 7265 7769 6e64 5f6c 696e 6573 r"""rewind_lines │ │ │ -000774f0: 2846 6c5f 5465 7874 5f44 6973 706c 6179 (Fl_Text_Display │ │ │ -00077500: 2073 656c 662c 2069 6e74 2073 7461 7274 self, int start │ │ │ -00077510: 506f 732c 2069 6e74 206e 4c69 6e65 7329 Pos, int nLines) │ │ │ -00077520: 202d 3e20 696e 7422 2222 0a20 2020 2020 -> int""". │ │ │ -00077530: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00077540: 466c 5f54 6578 745f 4469 7370 6c61 795f Fl_Text_Display_ │ │ │ -00077550: 7265 7769 6e64 5f6c 696e 6573 2873 656c rewind_lines(sel │ │ │ -00077560: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -00077570: 6566 206e 6578 745f 776f 7264 2873 656c ef next_word(sel │ │ │ -00077580: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00077590: 2020 2072 2222 226e 6578 745f 776f 7264 r"""next_word │ │ │ -000775a0: 2846 6c5f 5465 7874 5f44 6973 706c 6179 (Fl_Text_Display │ │ │ -000775b0: 2073 656c 6629 2222 220a 2020 2020 2020 self)""". │ │ │ -000775c0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -000775d0: 6c5f 5465 7874 5f44 6973 706c 6179 5f6e l_Text_Display_n │ │ │ -000775e0: 6578 745f 776f 7264 2873 656c 662c 202a ext_word(self, * │ │ │ -000775f0: 6172 6773 290a 0a20 2020 2064 6566 2070 args).. def p │ │ │ -00077600: 7265 7669 6f75 735f 776f 7264 2873 656c revious_word(sel │ │ │ -00077610: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00077620: 2020 2072 2222 2270 7265 7669 6f75 735f r"""previous_ │ │ │ -00077630: 776f 7264 2846 6c5f 5465 7874 5f44 6973 word(Fl_Text_Dis │ │ │ -00077640: 706c 6179 2073 656c 6629 2222 220a 2020 play self)""". │ │ │ -00077650: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00077660: 746b 2e46 6c5f 5465 7874 5f44 6973 706c tk.Fl_Text_Displ │ │ │ -00077670: 6179 5f70 7265 7669 6f75 735f 776f 7264 ay_previous_word │ │ │ -00077680: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -00077690: 2020 2064 6566 2073 686f 775f 6375 7273 def show_curs │ │ │ -000776a0: 6f72 2873 656c 662c 202a 6172 6773 293a or(self, *args): │ │ │ -000776b0: 0a20 2020 2020 2020 2072 2222 2273 686f . r"""sho │ │ │ -000776c0: 775f 6375 7273 6f72 2846 6c5f 5465 7874 w_cursor(Fl_Text │ │ │ -000776d0: 5f44 6973 706c 6179 2073 656c 662c 2069 _Display self, i │ │ │ -000776e0: 6e74 2062 3d31 2922 2222 0a20 2020 2020 nt b=1)""". │ │ │ -000776f0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00077700: 466c 5f54 6578 745f 4469 7370 6c61 795f Fl_Text_Display_ │ │ │ -00077710: 7368 6f77 5f63 7572 736f 7228 7365 6c66 show_cursor(self │ │ │ -00077720: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -00077730: 6620 6869 6465 5f63 7572 736f 7228 7365 f hide_cursor(se │ │ │ -00077740: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -00077750: 2020 2020 7222 2222 6869 6465 5f63 7572 r"""hide_cur │ │ │ -00077760: 736f 7228 466c 5f54 6578 745f 4469 7370 sor(Fl_Text_Disp │ │ │ -00077770: 6c61 7920 7365 6c66 2922 2222 0a20 2020 lay self)""". │ │ │ -00077780: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -00077790: 6b2e 466c 5f54 6578 745f 4469 7370 6c61 k.Fl_Text_Displa │ │ │ -000777a0: 795f 6869 6465 5f63 7572 736f 7228 7365 y_hide_cursor(se │ │ │ -000777b0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -000777c0: 6465 6620 6375 7273 6f72 5f73 7479 6c65 def cursor_style │ │ │ -000777d0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -000777e0: 2020 2020 2020 2072 2222 220a 2020 2020 r""". │ │ │ -000777f0: 2020 2020 6375 7273 6f72 5f73 7479 6c65 cursor_style │ │ │ -00077800: 2846 6c5f 5465 7874 5f44 6973 706c 6179 (Fl_Text_Display │ │ │ -00077810: 2073 656c 662c 2069 6e74 2073 7479 6c65 self, int style │ │ │ -00077820: 290a 2020 2020 2020 2020 6375 7273 6f72 ). cursor │ │ │ -00077830: 5f73 7479 6c65 2846 6c5f 5465 7874 5f44 _style(Fl_Text_D │ │ │ -00077840: 6973 706c 6179 2073 656c 6629 202d 3e20 isplay self) -> │ │ │ -00077850: 696e 740a 2020 2020 2020 2020 2222 220a int. """. │ │ │ -00077860: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00077870: 666c 746b 2e46 6c5f 5465 7874 5f44 6973 fltk.Fl_Text_Dis │ │ │ -00077880: 706c 6179 5f63 7572 736f 725f 7374 796c play_cursor_styl │ │ │ -00077890: 6528 7365 6c66 2c20 2a61 7267 7329 0a0a e(self, *args).. │ │ │ -000778a0: 2020 2020 6465 6620 6375 7273 6f72 5f63 def cursor_c │ │ │ -000778b0: 6f6c 6f72 2873 656c 662c 202a 6172 6773 olor(self, *args │ │ │ -000778c0: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ -000778d0: 2020 2020 2020 2020 6375 7273 6f72 5f63 cursor_c │ │ │ -000778e0: 6f6c 6f72 2846 6c5f 5465 7874 5f44 6973 olor(Fl_Text_Dis │ │ │ -000778f0: 706c 6179 2073 656c 6629 202d 3e20 466c play self) -> Fl │ │ │ -00077900: 5f43 6f6c 6f72 0a20 2020 2020 2020 2063 _Color. c │ │ │ -00077910: 7572 736f 725f 636f 6c6f 7228 466c 5f54 ursor_color(Fl_T │ │ │ -00077920: 6578 745f 4469 7370 6c61 7920 7365 6c66 ext_Display self │ │ │ -00077930: 2c20 466c 5f43 6f6c 6f72 206e 290a 2020 , Fl_Color n). │ │ │ -00077940: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ -00077950: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -00077960: 6c5f 5465 7874 5f44 6973 706c 6179 5f63 l_Text_Display_c │ │ │ -00077970: 7572 736f 725f 636f 6c6f 7228 7365 6c66 ursor_color(self │ │ │ -00077980: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -00077990: 6620 7363 726f 6c6c 6261 725f 7769 6474 f scrollbar_widt │ │ │ -000779a0: 6828 7365 6c66 2c20 2a61 7267 7329 3a0a h(self, *args):. │ │ │ -000779b0: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ -000779c0: 2020 2020 2073 6372 6f6c 6c62 6172 5f77 scrollbar_w │ │ │ -000779d0: 6964 7468 2846 6c5f 5465 7874 5f44 6973 idth(Fl_Text_Dis │ │ │ -000779e0: 706c 6179 2073 656c 6629 202d 3e20 696e play self) -> in │ │ │ -000779f0: 740a 2020 2020 2020 2020 7363 726f 6c6c t. scroll │ │ │ -00077a00: 6261 725f 7769 6474 6828 466c 5f54 6578 bar_width(Fl_Tex │ │ │ -00077a10: 745f 4469 7370 6c61 7920 7365 6c66 2c20 t_Display self, │ │ │ -00077a20: 696e 7420 7769 6474 6829 0a20 2020 2020 int width). │ │ │ -00077a30: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ -00077a40: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -00077a50: 6578 745f 4469 7370 6c61 795f 7363 726f ext_Display_scro │ │ │ -00077a60: 6c6c 6261 725f 7769 6474 6828 7365 6c66 llbar_width(self │ │ │ -00077a70: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -00077a80: 6620 7363 726f 6c6c 6261 725f 7369 7a65 f scrollbar_size │ │ │ -00077a90: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -00077aa0: 2020 2020 2020 2072 2222 220a 2020 2020 r""". │ │ │ -00077ab0: 2020 2020 7363 726f 6c6c 6261 725f 7369 scrollbar_si │ │ │ -00077ac0: 7a65 2846 6c5f 5465 7874 5f44 6973 706c ze(Fl_Text_Displ │ │ │ -00077ad0: 6179 2073 656c 6629 202d 3e20 696e 740a ay self) -> int. │ │ │ -00077ae0: 2020 2020 2020 2020 7363 726f 6c6c 6261 scrollba │ │ │ -00077af0: 725f 7369 7a65 2846 6c5f 5465 7874 5f44 r_size(Fl_Text_D │ │ │ -00077b00: 6973 706c 6179 2073 656c 662c 2069 6e74 isplay self, int │ │ │ -00077b10: 206e 6577 5369 7a65 290a 2020 2020 2020 newSize). │ │ │ -00077b20: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ -00077b30: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ -00077b40: 7874 5f44 6973 706c 6179 5f73 6372 6f6c xt_Display_scrol │ │ │ -00077b50: 6c62 6172 5f73 697a 6528 7365 6c66 2c20 lbar_size(self, │ │ │ -00077b60: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -00077b70: 7363 726f 6c6c 6261 725f 616c 6967 6e28 scrollbar_align( │ │ │ -00077b80: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -00077b90: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ -00077ba0: 2020 2073 6372 6f6c 6c62 6172 5f61 6c69 scrollbar_ali │ │ │ -00077bb0: 676e 2846 6c5f 5465 7874 5f44 6973 706c gn(Fl_Text_Displ │ │ │ -00077bc0: 6179 2073 656c 6629 202d 3e20 466c 5f41 ay self) -> Fl_A │ │ │ -00077bd0: 6c69 676e 0a20 2020 2020 2020 2073 6372 lign. scr │ │ │ -00077be0: 6f6c 6c62 6172 5f61 6c69 676e 2846 6c5f ollbar_align(Fl_ │ │ │ -00077bf0: 5465 7874 5f44 6973 706c 6179 2073 656c Text_Display sel │ │ │ -00077c00: 662c 2046 6c5f 416c 6967 6e20 6129 0a20 f, Fl_Align a). │ │ │ -00077c10: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ -00077c20: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00077c30: 466c 5f54 6578 745f 4469 7370 6c61 795f Fl_Text_Display_ │ │ │ -00077c40: 7363 726f 6c6c 6261 725f 616c 6967 6e28 scrollbar_align( │ │ │ -00077c50: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -00077c60: 2020 6465 6620 776f 7264 5f73 7461 7274 def word_start │ │ │ -00077c70: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -00077c80: 2020 2020 2020 2072 2222 2277 6f72 645f r"""word_ │ │ │ -00077c90: 7374 6172 7428 466c 5f54 6578 745f 4469 start(Fl_Text_Di │ │ │ -00077ca0: 7370 6c61 7920 7365 6c66 2c20 696e 7420 splay self, int │ │ │ -00077cb0: 706f 7329 202d 3e20 696e 7422 2222 0a20 pos) -> int""". │ │ │ -00077cc0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -00077cd0: 6c74 6b2e 466c 5f54 6578 745f 4469 7370 ltk.Fl_Text_Disp │ │ │ -00077ce0: 6c61 795f 776f 7264 5f73 7461 7274 2873 lay_word_start(s │ │ │ -00077cf0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -00077d00: 2064 6566 2077 6f72 645f 656e 6428 7365 def word_end(se │ │ │ -00077d10: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -00077d20: 2020 2020 7222 2222 776f 7264 5f65 6e64 r"""word_end │ │ │ -00077d30: 2846 6c5f 5465 7874 5f44 6973 706c 6179 (Fl_Text_Display │ │ │ -00077d40: 2073 656c 662c 2069 6e74 2070 6f73 2920 self, int pos) │ │ │ -00077d50: 2d3e 2069 6e74 2222 220a 2020 2020 2020 -> int""". │ │ │ -00077d60: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -00077d70: 6c5f 5465 7874 5f44 6973 706c 6179 5f77 l_Text_Display_w │ │ │ -00077d80: 6f72 645f 656e 6428 7365 6c66 2c20 2a61 ord_end(self, *a │ │ │ -00077d90: 7267 7329 0a0a 2020 2020 6465 6620 706f rgs).. def po │ │ │ -00077da0: 7369 7469 6f6e 5f73 7479 6c65 2873 656c sition_style(sel │ │ │ -00077db0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00077dc0: 2020 2072 2222 2270 6f73 6974 696f 6e5f r"""position_ │ │ │ -00077dd0: 7374 796c 6528 466c 5f54 6578 745f 4469 style(Fl_Text_Di │ │ │ -00077de0: 7370 6c61 7920 7365 6c66 2c20 696e 7420 splay self, int │ │ │ -00077df0: 6c69 6e65 5374 6172 7450 6f73 2c20 696e lineStartPos, in │ │ │ -00077e00: 7420 6c69 6e65 4c65 6e2c 2069 6e74 206c t lineLen, int l │ │ │ -00077e10: 696e 6549 6e64 6578 2920 2d3e 2069 6e74 ineIndex) -> int │ │ │ -00077e20: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -00077e30: 726e 205f 666c 746b 2e46 6c5f 5465 7874 rn _fltk.Fl_Text │ │ │ -00077e40: 5f44 6973 706c 6179 5f70 6f73 6974 696f _Display_positio │ │ │ -00077e50: 6e5f 7374 796c 6528 7365 6c66 2c20 2a61 n_style(self, *a │ │ │ -00077e60: 7267 7329 0a0a 2020 2020 6465 6620 7368 rgs).. def sh │ │ │ -00077e70: 6f72 7463 7574 2873 656c 662c 202a 6172 ortcut(self, *ar │ │ │ -00077e80: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -00077e90: 220a 2020 2020 2020 2020 7368 6f72 7463 ". shortc │ │ │ -00077ea0: 7574 2846 6c5f 5465 7874 5f44 6973 706c ut(Fl_Text_Displ │ │ │ -00077eb0: 6179 2073 656c 6629 202d 3e20 696e 740a ay self) -> int. │ │ │ -00077ec0: 2020 2020 2020 2020 7368 6f72 7463 7574 shortcut │ │ │ -00077ed0: 2846 6c5f 5465 7874 5f44 6973 706c 6179 (Fl_Text_Display │ │ │ -00077ee0: 2073 656c 662c 2069 6e74 2073 290a 2020 self, int s). │ │ │ -00077ef0: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ -00077f00: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -00077f10: 6c5f 5465 7874 5f44 6973 706c 6179 5f73 l_Text_Display_s │ │ │ -00077f20: 686f 7274 6375 7428 7365 6c66 2c20 2a61 hortcut(self, *a │ │ │ -00077f30: 7267 7329 0a0a 2020 2020 6465 6620 7465 rgs).. def te │ │ │ -00077f40: 7874 666f 6e74 2873 656c 662c 202a 6172 xtfont(self, *ar │ │ │ -00077f50: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -00077f60: 220a 2020 2020 2020 2020 7465 7874 666f ". textfo │ │ │ -00077f70: 6e74 2846 6c5f 5465 7874 5f44 6973 706c nt(Fl_Text_Displ │ │ │ -00077f80: 6179 2073 656c 6629 202d 3e20 466c 5f46 ay self) -> Fl_F │ │ │ -00077f90: 6f6e 740a 2020 2020 2020 2020 7465 7874 ont. text │ │ │ -00077fa0: 666f 6e74 2846 6c5f 5465 7874 5f44 6973 font(Fl_Text_Dis │ │ │ -00077fb0: 706c 6179 2073 656c 662c 2046 6c5f 466f play self, Fl_Fo │ │ │ -00077fc0: 6e74 2073 290a 2020 2020 2020 2020 2222 nt s). "" │ │ │ -00077fd0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00077fe0: 205f 666c 746b 2e46 6c5f 5465 7874 5f44 _fltk.Fl_Text_D │ │ │ -00077ff0: 6973 706c 6179 5f74 6578 7466 6f6e 7428 isplay_textfont( │ │ │ -00078000: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -00078010: 2020 6465 6620 7465 7874 7369 7a65 2873 def textsize(s │ │ │ -00078020: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00078030: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ -00078040: 2020 7465 7874 7369 7a65 2846 6c5f 5465 textsize(Fl_Te │ │ │ -00078050: 7874 5f44 6973 706c 6179 2073 656c 6629 xt_Display self) │ │ │ -00078060: 202d 3e20 466c 5f46 6f6e 7473 697a 650a -> Fl_Fontsize. │ │ │ -00078070: 2020 2020 2020 2020 7465 7874 7369 7a65 textsize │ │ │ -00078080: 2846 6c5f 5465 7874 5f44 6973 706c 6179 (Fl_Text_Display │ │ │ -00078090: 2073 656c 662c 2046 6c5f 466f 6e74 7369 self, Fl_Fontsi │ │ │ -000780a0: 7a65 2073 290a 2020 2020 2020 2020 2222 ze s). "" │ │ │ -000780b0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -000780c0: 205f 666c 746b 2e46 6c5f 5465 7874 5f44 _fltk.Fl_Text_D │ │ │ -000780d0: 6973 706c 6179 5f74 6578 7473 697a 6528 isplay_textsize( │ │ │ -000780e0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -000780f0: 2020 6465 6620 7465 7874 636f 6c6f 7228 def textcolor( │ │ │ -00078100: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -00078110: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ -00078120: 2020 2074 6578 7463 6f6c 6f72 2846 6c5f textcolor(Fl_ │ │ │ -00078130: 5465 7874 5f44 6973 706c 6179 2073 656c Text_Display sel │ │ │ -00078140: 6629 202d 3e20 466c 5f43 6f6c 6f72 0a20 f) -> Fl_Color. │ │ │ -00078150: 2020 2020 2020 2074 6578 7463 6f6c 6f72 textcolor │ │ │ -00078160: 2846 6c5f 5465 7874 5f44 6973 706c 6179 (Fl_Text_Display │ │ │ -00078170: 2073 656c 662c 2046 6c5f 436f 6c6f 7220 self, Fl_Color │ │ │ -00078180: 6e29 0a20 2020 2020 2020 2022 2222 0a20 n). """. │ │ │ -00078190: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -000781a0: 6c74 6b2e 466c 5f54 6578 745f 4469 7370 ltk.Fl_Text_Disp │ │ │ -000781b0: 6c61 795f 7465 7874 636f 6c6f 7228 7365 lay_textcolor(se │ │ │ -000781c0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -000781d0: 6465 6620 6772 616d 6d61 725f 756e 6465 def grammar_unde │ │ │ -000781e0: 726c 696e 655f 636f 6c6f 7228 7365 6c66 rline_color(self │ │ │ -000781f0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -00078200: 2020 7222 2222 0a20 2020 2020 2020 2067 r""". g │ │ │ -00078210: 7261 6d6d 6172 5f75 6e64 6572 6c69 6e65 rammar_underline │ │ │ -00078220: 5f63 6f6c 6f72 2846 6c5f 5465 7874 5f44 _color(Fl_Text_D │ │ │ -00078230: 6973 706c 6179 2073 656c 662c 2046 6c5f isplay self, Fl_ │ │ │ -00078240: 436f 6c6f 7220 636f 6c6f 7229 0a20 2020 Color color). │ │ │ -00078250: 2020 2020 2067 7261 6d6d 6172 5f75 6e64 grammar_und │ │ │ -00078260: 6572 6c69 6e65 5f63 6f6c 6f72 2846 6c5f erline_color(Fl_ │ │ │ -00078270: 5465 7874 5f44 6973 706c 6179 2073 656c Text_Display sel │ │ │ -00078280: 6629 202d 3e20 466c 5f43 6f6c 6f72 0a20 f) -> Fl_Color. │ │ │ -00078290: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ -000782a0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -000782b0: 466c 5f54 6578 745f 4469 7370 6c61 795f Fl_Text_Display_ │ │ │ -000782c0: 6772 616d 6d61 725f 756e 6465 726c 696e grammar_underlin │ │ │ -000782d0: 655f 636f 6c6f 7228 7365 6c66 2c20 2a61 e_color(self, *a │ │ │ -000782e0: 7267 7329 0a0a 2020 2020 6465 6620 7370 rgs).. def sp │ │ │ -000782f0: 656c 6c69 6e67 5f75 6e64 6572 6c69 6e65 elling_underline │ │ │ -00078300: 5f63 6f6c 6f72 2873 656c 662c 202a 6172 _color(self, *ar │ │ │ -00078310: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -00078320: 220a 2020 2020 2020 2020 7370 656c 6c69 ". spelli │ │ │ -00078330: 6e67 5f75 6e64 6572 6c69 6e65 5f63 6f6c ng_underline_col │ │ │ -00078340: 6f72 2846 6c5f 5465 7874 5f44 6973 706c or(Fl_Text_Displ │ │ │ -00078350: 6179 2073 656c 662c 2046 6c5f 436f 6c6f ay self, Fl_Colo │ │ │ -00078360: 7220 636f 6c6f 7229 0a20 2020 2020 2020 r color). │ │ │ -00078370: 2073 7065 6c6c 696e 675f 756e 6465 726c spelling_underl │ │ │ -00078380: 696e 655f 636f 6c6f 7228 466c 5f54 6578 ine_color(Fl_Tex │ │ │ -00078390: 745f 4469 7370 6c61 7920 7365 6c66 2920 t_Display self) │ │ │ -000783a0: 2d3e 2046 6c5f 436f 6c6f 720a 2020 2020 -> Fl_Color. │ │ │ -000783b0: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ -000783c0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -000783d0: 5465 7874 5f44 6973 706c 6179 5f73 7065 Text_Display_spe │ │ │ -000783e0: 6c6c 696e 675f 756e 6465 726c 696e 655f lling_underline_ │ │ │ -000783f0: 636f 6c6f 7228 7365 6c66 2c20 2a61 7267 color(self, *arg │ │ │ -00078400: 7329 0a0a 2020 2020 6465 6620 7365 636f s).. def seco │ │ │ -00078410: 6e64 6172 795f 7365 6c65 6374 696f 6e5f ndary_selection_ │ │ │ -00078420: 636f 6c6f 7228 7365 6c66 2c20 2a61 7267 color(self, *arg │ │ │ -00078430: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -00078440: 0a20 2020 2020 2020 2073 6563 6f6e 6461 . seconda │ │ │ -00078450: 7279 5f73 656c 6563 7469 6f6e 5f63 6f6c ry_selection_col │ │ │ -00078460: 6f72 2846 6c5f 5465 7874 5f44 6973 706c or(Fl_Text_Displ │ │ │ -00078470: 6179 2073 656c 662c 2046 6c5f 436f 6c6f ay self, Fl_Colo │ │ │ -00078480: 7220 636f 6c6f 7229 0a20 2020 2020 2020 r color). │ │ │ -00078490: 2073 6563 6f6e 6461 7279 5f73 656c 6563 secondary_selec │ │ │ -000784a0: 7469 6f6e 5f63 6f6c 6f72 2846 6c5f 5465 tion_color(Fl_Te │ │ │ -000784b0: 7874 5f44 6973 706c 6179 2073 656c 6629 xt_Display self) │ │ │ -000784c0: 202d 3e20 466c 5f43 6f6c 6f72 0a20 2020 -> Fl_Color. │ │ │ -000784d0: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ -000784e0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -000784f0: 5f54 6578 745f 4469 7370 6c61 795f 7365 _Text_Display_se │ │ │ -00078500: 636f 6e64 6172 795f 7365 6c65 6374 696f condary_selectio │ │ │ -00078510: 6e5f 636f 6c6f 7228 7365 6c66 2c20 2a61 n_color(self, *a │ │ │ -00078520: 7267 7329 0a0a 2020 2020 6465 6620 7772 rgs).. def wr │ │ │ -00078530: 6170 7065 645f 636f 6c75 6d6e 2873 656c apped_column(sel │ │ │ -00078540: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00078550: 2020 2072 2222 2277 7261 7070 6564 5f63 r"""wrapped_c │ │ │ -00078560: 6f6c 756d 6e28 466c 5f54 6578 745f 4469 olumn(Fl_Text_Di │ │ │ -00078570: 7370 6c61 7920 7365 6c66 2c20 696e 7420 splay self, int │ │ │ -00078580: 726f 772c 2069 6e74 2063 6f6c 756d 6e29 row, int column) │ │ │ -00078590: 202d 3e20 696e 7422 2222 0a20 2020 2020 -> int""". │ │ │ -000785a0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -000785b0: 466c 5f54 6578 745f 4469 7370 6c61 795f Fl_Text_Display_ │ │ │ -000785c0: 7772 6170 7065 645f 636f 6c75 6d6e 2873 wrapped_column(s │ │ │ -000785d0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -000785e0: 2064 6566 2077 7261 7070 6564 5f72 6f77 def wrapped_row │ │ │ -000785f0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -00078600: 2020 2020 2020 2072 2222 2277 7261 7070 r"""wrapp │ │ │ -00078610: 6564 5f72 6f77 2846 6c5f 5465 7874 5f44 ed_row(Fl_Text_D │ │ │ -00078620: 6973 706c 6179 2073 656c 662c 2069 6e74 isplay self, int │ │ │ -00078630: 2072 6f77 2920 2d3e 2069 6e74 2222 220a row) -> int""". │ │ │ -00078640: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00078650: 666c 746b 2e46 6c5f 5465 7874 5f44 6973 fltk.Fl_Text_Dis │ │ │ -00078660: 706c 6179 5f77 7261 7070 6564 5f72 6f77 play_wrapped_row │ │ │ -00078670: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -00078680: 2020 2064 6566 2077 7261 705f 6d6f 6465 def wrap_mode │ │ │ -00078690: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -000786a0: 2020 2020 2020 2072 2222 2277 7261 705f r"""wrap_ │ │ │ -000786b0: 6d6f 6465 2846 6c5f 5465 7874 5f44 6973 mode(Fl_Text_Dis │ │ │ -000786c0: 706c 6179 2073 656c 662c 2069 6e74 2077 play self, int w │ │ │ -000786d0: 7261 702c 2069 6e74 2077 7261 705f 6d61 rap, int wrap_ma │ │ │ -000786e0: 7267 696e 2922 2222 0a20 2020 2020 2020 rgin)""". │ │ │ -000786f0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -00078700: 5f54 6578 745f 4469 7370 6c61 795f 7772 _Text_Display_wr │ │ │ -00078710: 6170 5f6d 6f64 6528 7365 6c66 2c20 2a61 ap_mode(self, *a │ │ │ -00078720: 7267 7329 0a0a 2020 2020 6465 6620 7265 rgs).. def re │ │ │ -00078730: 6361 6c63 5f64 6973 706c 6179 2873 656c calc_display(sel │ │ │ -00078740: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00078750: 2020 2072 2222 2272 6563 616c 635f 6469 r"""recalc_di │ │ │ -00078760: 7370 6c61 7928 466c 5f54 6578 745f 4469 splay(Fl_Text_Di │ │ │ -00078770: 7370 6c61 7920 7365 6c66 2922 2222 0a20 splay self)""". │ │ │ -00078780: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -00078790: 6c74 6b2e 466c 5f54 6578 745f 4469 7370 ltk.Fl_Text_Disp │ │ │ -000787a0: 6c61 795f 7265 6361 6c63 5f64 6973 706c lay_recalc_displ │ │ │ -000787b0: 6179 2873 656c 662c 202a 6172 6773 290a ay(self, *args). │ │ │ -000787c0: 0a20 2020 2064 6566 2064 6973 706c 6179 . def display │ │ │ -000787d0: 5f6e 6565 6473 5f72 6563 616c 6328 7365 _needs_recalc(se │ │ │ -000787e0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -000787f0: 2020 2020 7222 2222 6469 7370 6c61 795f r"""display_ │ │ │ -00078800: 6e65 6564 735f 7265 6361 6c63 2846 6c5f needs_recalc(Fl_ │ │ │ -00078810: 5465 7874 5f44 6973 706c 6179 2073 656c Text_Display sel │ │ │ -00078820: 6629 2222 220a 2020 2020 2020 2020 7265 f)""". re │ │ │ -00078830: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ -00078840: 7874 5f44 6973 706c 6179 5f64 6973 706c xt_Display_displ │ │ │ -00078850: 6179 5f6e 6565 6473 5f72 6563 616c 6328 ay_needs_recalc( │ │ │ -00078860: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -00078870: 2020 6465 6620 7265 7369 7a65 2873 656c def resize(sel │ │ │ -00078880: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00078890: 2020 2072 2222 2272 6573 697a 6528 466c r"""resize(Fl │ │ │ -000788a0: 5f54 6578 745f 4469 7370 6c61 7920 7365 _Text_Display se │ │ │ -000788b0: 6c66 2c20 696e 7420 582c 2069 6e74 2059 lf, int X, int Y │ │ │ -000788c0: 2c20 696e 7420 572c 2069 6e74 2048 2922 , int W, int H)" │ │ │ -000788d0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -000788e0: 6e20 5f66 6c74 6b2e 466c 5f54 6578 745f n _fltk.Fl_Text_ │ │ │ -000788f0: 4469 7370 6c61 795f 7265 7369 7a65 2873 Display_resize(s │ │ │ -00078900: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -00078910: 2064 6566 2078 5f74 6f5f 636f 6c28 7365 def x_to_col(se │ │ │ -00078920: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -00078930: 2020 2020 7222 2222 785f 746f 5f63 6f6c r"""x_to_col │ │ │ -00078940: 2846 6c5f 5465 7874 5f44 6973 706c 6179 (Fl_Text_Display │ │ │ -00078950: 2073 656c 662c 2064 6f75 626c 6520 7829 self, double x) │ │ │ -00078960: 202d 3e20 646f 7562 6c65 2222 220a 2020 -> double""". │ │ │ -00078970: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00078980: 746b 2e46 6c5f 5465 7874 5f44 6973 706c tk.Fl_Text_Displ │ │ │ -00078990: 6179 5f78 5f74 6f5f 636f 6c28 7365 6c66 ay_x_to_col(self │ │ │ -000789a0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -000789b0: 6620 636f 6c5f 746f 5f78 2873 656c 662c f col_to_x(self, │ │ │ -000789c0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -000789d0: 2072 2222 2263 6f6c 5f74 6f5f 7828 466c r"""col_to_x(Fl │ │ │ -000789e0: 5f54 6578 745f 4469 7370 6c61 7920 7365 _Text_Display se │ │ │ -000789f0: 6c66 2c20 646f 7562 6c65 2063 6f6c 2920 lf, double col) │ │ │ -00078a00: 2d3e 2064 6f75 626c 6522 2222 0a20 2020 -> double""". │ │ │ -00078a10: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -00078a20: 6b2e 466c 5f54 6578 745f 4469 7370 6c61 k.Fl_Text_Displa │ │ │ -00078a30: 795f 636f 6c5f 746f 5f78 2873 656c 662c y_col_to_x(self, │ │ │ -00078a40: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00078a50: 206c 696e 656e 756d 6265 725f 7769 6474 linenumber_widt │ │ │ -00078a60: 6828 7365 6c66 2c20 2a61 7267 7329 3a0a h(self, *args):. │ │ │ -00078a70: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ -00078a80: 2020 2020 206c 696e 656e 756d 6265 725f linenumber_ │ │ │ -00078a90: 7769 6474 6828 466c 5f54 6578 745f 4469 width(Fl_Text_Di │ │ │ -00078aa0: 7370 6c61 7920 7365 6c66 2c20 696e 7420 splay self, int │ │ │ -00078ab0: 7769 6474 6829 0a20 2020 2020 2020 206c width). l │ │ │ -00078ac0: 696e 656e 756d 6265 725f 7769 6474 6828 inenumber_width( │ │ │ -00078ad0: 466c 5f54 6578 745f 4469 7370 6c61 7920 Fl_Text_Display │ │ │ -00078ae0: 7365 6c66 2920 2d3e 2069 6e74 0a20 2020 self) -> int. │ │ │ -00078af0: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ -00078b00: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -00078b10: 5f54 6578 745f 4469 7370 6c61 795f 6c69 _Text_Display_li │ │ │ -00078b20: 6e65 6e75 6d62 6572 5f77 6964 7468 2873 nenumber_width(s │ │ │ -00078b30: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -00078b40: 2064 6566 206c 696e 656e 756d 6265 725f def linenumber_ │ │ │ -00078b50: 666f 6e74 2873 656c 662c 202a 6172 6773 font(self, *args │ │ │ -00078b60: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ -00078b70: 2020 2020 2020 2020 6c69 6e65 6e75 6d62 linenumb │ │ │ -00078b80: 6572 5f66 6f6e 7428 466c 5f54 6578 745f er_font(Fl_Text_ │ │ │ -00078b90: 4469 7370 6c61 7920 7365 6c66 2c20 466c Display self, Fl │ │ │ -00078ba0: 5f46 6f6e 7420 7661 6c29 0a20 2020 2020 _Font val). │ │ │ -00078bb0: 2020 206c 696e 656e 756d 6265 725f 666f linenumber_fo │ │ │ -00078bc0: 6e74 2846 6c5f 5465 7874 5f44 6973 706c nt(Fl_Text_Displ │ │ │ -00078bd0: 6179 2073 656c 6629 202d 3e20 466c 5f46 ay self) -> Fl_F │ │ │ -00078be0: 6f6e 740a 2020 2020 2020 2020 2222 220a ont. """. │ │ │ -00078bf0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00078c00: 666c 746b 2e46 6c5f 5465 7874 5f44 6973 fltk.Fl_Text_Dis │ │ │ -00078c10: 706c 6179 5f6c 696e 656e 756d 6265 725f play_linenumber_ │ │ │ -00078c20: 666f 6e74 2873 656c 662c 202a 6172 6773 font(self, *args │ │ │ -00078c30: 290a 0a20 2020 2064 6566 206c 696e 656e ).. def linen │ │ │ -00078c40: 756d 6265 725f 7369 7a65 2873 656c 662c umber_size(self, │ │ │ -00078c50: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00078c60: 2072 2222 220a 2020 2020 2020 2020 6c69 r""". li │ │ │ -00078c70: 6e65 6e75 6d62 6572 5f73 697a 6528 466c nenumber_size(Fl │ │ │ -00078c80: 5f54 6578 745f 4469 7370 6c61 7920 7365 _Text_Display se │ │ │ -00078c90: 6c66 2c20 466c 5f46 6f6e 7473 697a 6520 lf, Fl_Fontsize │ │ │ -00078ca0: 7661 6c29 0a20 2020 2020 2020 206c 696e val). lin │ │ │ -00078cb0: 656e 756d 6265 725f 7369 7a65 2846 6c5f enumber_size(Fl_ │ │ │ -00078cc0: 5465 7874 5f44 6973 706c 6179 2073 656c Text_Display sel │ │ │ -00078cd0: 6629 202d 3e20 466c 5f46 6f6e 7473 697a f) -> Fl_Fontsiz │ │ │ -00078ce0: 650a 2020 2020 2020 2020 2222 220a 2020 e. """. │ │ │ -00078cf0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00078d00: 746b 2e46 6c5f 5465 7874 5f44 6973 706c tk.Fl_Text_Displ │ │ │ -00078d10: 6179 5f6c 696e 656e 756d 6265 725f 7369 ay_linenumber_si │ │ │ -00078d20: 7a65 2873 656c 662c 202a 6172 6773 290a ze(self, *args). │ │ │ -00078d30: 0a20 2020 2064 6566 206c 696e 656e 756d . def linenum │ │ │ -00078d40: 6265 725f 6667 636f 6c6f 7228 7365 6c66 ber_fgcolor(self │ │ │ -00078d50: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -00078d60: 2020 7222 2222 0a20 2020 2020 2020 206c r""". l │ │ │ -00078d70: 696e 656e 756d 6265 725f 6667 636f 6c6f inenumber_fgcolo │ │ │ -00078d80: 7228 466c 5f54 6578 745f 4469 7370 6c61 r(Fl_Text_Displa │ │ │ -00078d90: 7920 7365 6c66 2c20 466c 5f43 6f6c 6f72 y self, Fl_Color │ │ │ -00078da0: 2076 616c 290a 2020 2020 2020 2020 6c69 val). li │ │ │ -00078db0: 6e65 6e75 6d62 6572 5f66 6763 6f6c 6f72 nenumber_fgcolor │ │ │ -00078dc0: 2846 6c5f 5465 7874 5f44 6973 706c 6179 (Fl_Text_Display │ │ │ -00078dd0: 2073 656c 6629 202d 3e20 466c 5f43 6f6c self) -> Fl_Col │ │ │ -00078de0: 6f72 0a20 2020 2020 2020 2022 2222 0a20 or. """. │ │ │ -00078df0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -00078e00: 6c74 6b2e 466c 5f54 6578 745f 4469 7370 ltk.Fl_Text_Disp │ │ │ -00078e10: 6c61 795f 6c69 6e65 6e75 6d62 6572 5f66 lay_linenumber_f │ │ │ -00078e20: 6763 6f6c 6f72 2873 656c 662c 202a 6172 gcolor(self, *ar │ │ │ -00078e30: 6773 290a 0a20 2020 2064 6566 206c 696e gs).. def lin │ │ │ -00078e40: 656e 756d 6265 725f 6267 636f 6c6f 7228 enumber_bgcolor( │ │ │ -00078e50: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -00078e60: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ -00078e70: 2020 206c 696e 656e 756d 6265 725f 6267 linenumber_bg │ │ │ -00078e80: 636f 6c6f 7228 466c 5f54 6578 745f 4469 color(Fl_Text_Di │ │ │ -00078e90: 7370 6c61 7920 7365 6c66 2c20 466c 5f43 splay self, Fl_C │ │ │ -00078ea0: 6f6c 6f72 2076 616c 290a 2020 2020 2020 olor val). │ │ │ -00078eb0: 2020 6c69 6e65 6e75 6d62 6572 5f62 6763 linenumber_bgc │ │ │ -00078ec0: 6f6c 6f72 2846 6c5f 5465 7874 5f44 6973 olor(Fl_Text_Dis │ │ │ -00078ed0: 706c 6179 2073 656c 6629 202d 3e20 466c play self) -> Fl │ │ │ -00078ee0: 5f43 6f6c 6f72 0a20 2020 2020 2020 2022 _Color. " │ │ │ -00078ef0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -00078f00: 6e20 5f66 6c74 6b2e 466c 5f54 6578 745f n _fltk.Fl_Text_ │ │ │ -00078f10: 4469 7370 6c61 795f 6c69 6e65 6e75 6d62 Display_linenumb │ │ │ -00078f20: 6572 5f62 6763 6f6c 6f72 2873 656c 662c er_bgcolor(self, │ │ │ -00078f30: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00078f40: 206c 696e 656e 756d 6265 725f 616c 6967 linenumber_alig │ │ │ -00078f50: 6e28 7365 6c66 2c20 2a61 7267 7329 3a0a n(self, *args):. │ │ │ -00078f60: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ -00078f70: 2020 2020 206c 696e 656e 756d 6265 725f linenumber_ │ │ │ -00078f80: 616c 6967 6e28 466c 5f54 6578 745f 4469 align(Fl_Text_Di │ │ │ -00078f90: 7370 6c61 7920 7365 6c66 2c20 466c 5f41 splay self, Fl_A │ │ │ -00078fa0: 6c69 676e 2076 616c 290a 2020 2020 2020 lign val). │ │ │ -00078fb0: 2020 6c69 6e65 6e75 6d62 6572 5f61 6c69 linenumber_ali │ │ │ -00078fc0: 676e 2846 6c5f 5465 7874 5f44 6973 706c gn(Fl_Text_Displ │ │ │ -00078fd0: 6179 2073 656c 6629 202d 3e20 466c 5f41 ay self) -> Fl_A │ │ │ -00078fe0: 6c69 676e 0a20 2020 2020 2020 2022 2222 lign. """ │ │ │ -00078ff0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00079000: 5f66 6c74 6b2e 466c 5f54 6578 745f 4469 _fltk.Fl_Text_Di │ │ │ -00079010: 7370 6c61 795f 6c69 6e65 6e75 6d62 6572 splay_linenumber │ │ │ -00079020: 5f61 6c69 676e 2873 656c 662c 202a 6172 _align(self, *ar │ │ │ -00079030: 6773 290a 0a20 2020 2064 6566 206c 696e gs).. def lin │ │ │ -00079040: 656e 756d 6265 725f 666f 726d 6174 2873 enumber_format(s │ │ │ -00079050: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00079060: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ -00079070: 2020 6c69 6e65 6e75 6d62 6572 5f66 6f72 linenumber_for │ │ │ -00079080: 6d61 7428 466c 5f54 6578 745f 4469 7370 mat(Fl_Text_Disp │ │ │ -00079090: 6c61 7920 7365 6c66 2c20 6368 6172 2063 lay self, char c │ │ │ -000790a0: 6f6e 7374 202a 2076 616c 290a 2020 2020 onst * val). │ │ │ -000790b0: 2020 2020 6c69 6e65 6e75 6d62 6572 5f66 linenumber_f │ │ │ -000790c0: 6f72 6d61 7428 466c 5f54 6578 745f 4469 ormat(Fl_Text_Di │ │ │ -000790d0: 7370 6c61 7920 7365 6c66 2920 2d3e 2063 splay self) -> c │ │ │ -000790e0: 6861 7220 636f 6e73 7420 2a0a 2020 2020 har const *. │ │ │ -000790f0: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ -00079100: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00079110: 5465 7874 5f44 6973 706c 6179 5f6c 696e Text_Display_lin │ │ │ -00079120: 656e 756d 6265 725f 666f 726d 6174 2873 enumber_format(s │ │ │ -00079130: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -00079140: 2064 6566 2064 7261 7728 7365 6c66 2c20 def draw(self, │ │ │ -00079150: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00079160: 7222 2222 6472 6177 2846 6c5f 5465 7874 r"""draw(Fl_Text │ │ │ -00079170: 5f44 6973 706c 6179 2073 656c 6629 2222 _Display self)"" │ │ │ -00079180: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00079190: 205f 666c 746b 2e46 6c5f 5465 7874 5f44 _fltk.Fl_Text_D │ │ │ -000791a0: 6973 706c 6179 5f64 7261 7728 7365 6c66 isplay_draw(self │ │ │ -000791b0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -000791c0: 6620 6765 745f 6162 736f 6c75 7465 5f74 f get_absolute_t │ │ │ -000791d0: 6f70 5f6c 696e 655f 6e75 6d62 6572 2873 op_line_number(s │ │ │ -000791e0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -000791f0: 2020 2020 2072 2222 2267 6574 5f61 6273 r"""get_abs │ │ │ -00079200: 6f6c 7574 655f 746f 705f 6c69 6e65 5f6e olute_top_line_n │ │ │ -00079210: 756d 6265 7228 466c 5f54 6578 745f 4469 umber(Fl_Text_Di │ │ │ -00079220: 7370 6c61 7920 7365 6c66 2920 2d3e 2069 splay self) -> i │ │ │ -00079230: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ -00079240: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ -00079250: 7874 5f44 6973 706c 6179 5f67 6574 5f61 xt_Display_get_a │ │ │ -00079260: 6273 6f6c 7574 655f 746f 705f 6c69 6e65 bsolute_top_line │ │ │ -00079270: 5f6e 756d 6265 7228 7365 6c66 2c20 2a61 _number(self, *a │ │ │ -00079280: 7267 7329 0a0a 2020 2020 6465 6620 7363 rgs).. def sc │ │ │ -00079290: 726f 6c6c 5f72 6f77 2873 656c 662c 202a roll_row(self, * │ │ │ -000792a0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -000792b0: 2222 2273 6372 6f6c 6c5f 726f 7728 466c """scroll_row(Fl │ │ │ -000792c0: 5f54 6578 745f 4469 7370 6c61 7920 7365 _Text_Display se │ │ │ -000792d0: 6c66 2920 2d3e 2069 6e74 2222 220a 2020 lf) -> int""". │ │ │ -000792e0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -000792f0: 746b 2e46 6c5f 5465 7874 5f44 6973 706c tk.Fl_Text_Displ │ │ │ -00079300: 6179 5f73 6372 6f6c 6c5f 726f 7728 7365 ay_scroll_row(se │ │ │ -00079310: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -00079320: 6465 6620 7363 726f 6c6c 5f63 6f6c 2873 def scroll_col(s │ │ │ -00079330: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00079340: 2020 2020 2072 2222 2273 6372 6f6c 6c5f r"""scroll_ │ │ │ -00079350: 636f 6c28 466c 5f54 6578 745f 4469 7370 col(Fl_Text_Disp │ │ │ -00079360: 6c61 7920 7365 6c66 2920 2d3e 2069 6e74 lay self) -> int │ │ │ -00079370: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -00079380: 726e 205f 666c 746b 2e46 6c5f 5465 7874 rn _fltk.Fl_Text │ │ │ -00079390: 5f44 6973 706c 6179 5f73 6372 6f6c 6c5f _Display_scroll_ │ │ │ -000793a0: 636f 6c28 7365 6c66 2c20 2a61 7267 7329 col(self, *args) │ │ │ -000793b0: 0a0a 2020 2020 6465 6620 696e 6974 5f74 .. def init_t │ │ │ -000793c0: 7970 6528 7365 6c66 2c20 2a61 7267 7329 ype(self, *args) │ │ │ -000793d0: 3a0a 2020 2020 2020 2020 7222 2222 696e :. r"""in │ │ │ -000793e0: 6974 5f74 7970 6528 466c 5f54 6578 745f it_type(Fl_Text_ │ │ │ -000793f0: 4469 7370 6c61 7920 7365 6c66 2c20 6368 Display self, ch │ │ │ -00079400: 6172 202a 2046 6c5f 5465 7874 5f44 6973 ar * Fl_Text_Dis │ │ │ -00079410: 706c 6179 2922 2222 0a20 2020 2020 2020 play)""". │ │ │ -00079420: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -00079430: 5f54 6578 745f 4469 7370 6c61 795f 696e _Text_Display_in │ │ │ -00079440: 6974 5f74 7970 6528 7365 6c66 2c20 2a61 it_type(self, *a │ │ │ -00079450: 7267 7329 0a0a 2020 2020 6465 6620 6869 rgs).. def hi │ │ │ -00079460: 6768 6c69 6768 745f 6461 7461 2873 656c ghlight_data(sel │ │ │ -00079470: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00079480: 2020 2072 2222 2268 6967 686c 6967 6874 r"""highlight │ │ │ -00079490: 5f64 6174 6128 466c 5f54 6578 745f 4469 _data(Fl_Text_Di │ │ │ -000794a0: 7370 6c61 7920 7365 6c66 2c20 466c 5f54 splay self, Fl_T │ │ │ -000794b0: 6578 745f 4275 6666 6572 2073 7479 6c65 ext_Buffer style │ │ │ -000794c0: 4275 6666 6572 2c20 466c 5f54 6578 745f Buffer, Fl_Text_ │ │ │ -000794d0: 4469 7370 6c61 793a 3a53 7479 6c65 5f54 Display::Style_T │ │ │ -000794e0: 6162 6c65 5f45 6e74 7279 2063 6f6e 7374 able_Entry const │ │ │ -000794f0: 202a 2073 7479 6c65 5461 626c 652c 2069 * styleTable, i │ │ │ -00079500: 6e74 206e 5374 796c 6573 2c20 6368 6172 nt nStyles, char │ │ │ -00079510: 2075 6e66 696e 6973 6865 6453 7479 6c65 unfinishedStyle │ │ │ -00079520: 2c20 5079 4f62 6a65 6374 202a 2066 756e , PyObject * fun │ │ │ -00079530: 632c 2050 794f 626a 6563 7420 2a20 6362 c, PyObject * cb │ │ │ -00079540: 4172 6729 2222 220a 2020 2020 2020 2020 Arg)""". │ │ │ -00079550: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00079560: 5465 7874 5f44 6973 706c 6179 5f68 6967 Text_Display_hig │ │ │ -00079570: 686c 6967 6874 5f64 6174 6128 7365 6c66 hlight_data(self │ │ │ -00079580: 2c20 2a61 7267 7329 0a20 2020 2064 6566 , *args). def │ │ │ -00079590: 205f 5f64 6973 6f77 6e5f 5f28 7365 6c66 __disown__(self │ │ │ -000795a0: 293a 0a20 2020 2020 2020 2073 656c 662e ):. self. │ │ │ -000795b0: 7468 6973 2e64 6973 6f77 6e28 290a 2020 this.disown(). │ │ │ -000795c0: 2020 2020 2020 5f66 6c74 6b2e 6469 736f _fltk.diso │ │ │ -000795d0: 776e 5f46 6c5f 5465 7874 5f44 6973 706c wn_Fl_Text_Displ │ │ │ -000795e0: 6179 2873 656c 6629 0a20 2020 2020 2020 ay(self). │ │ │ -000795f0: 2072 6574 7572 6e20 7765 616b 7265 662e return weakref. │ │ │ -00079600: 7072 6f78 7928 7365 6c66 290a 0a23 2052 proxy(self)..# R │ │ │ -00079610: 6567 6973 7465 7220 466c 5f54 6578 745f egister Fl_Text_ │ │ │ -00079620: 4469 7370 6c61 7920 696e 205f 666c 746b Display in _fltk │ │ │ -00079630: 3a0a 5f66 6c74 6b2e 466c 5f54 6578 745f :._fltk.Fl_Text_ │ │ │ -00079640: 4469 7370 6c61 795f 7377 6967 7265 6769 Display_swigregi │ │ │ -00079650: 7374 6572 2846 6c5f 5465 7874 5f44 6973 ster(Fl_Text_Dis │ │ │ -00079660: 706c 6179 290a 464c 5f54 4558 545f 4544 play).FL_TEXT_ED │ │ │ -00079670: 4954 4f52 5f41 4e59 5f53 5441 5445 203d ITOR_ANY_STATE = │ │ │ -00079680: 205f 666c 746b 2e46 4c5f 5445 5854 5f45 _fltk.FL_TEXT_E │ │ │ -00079690: 4449 544f 525f 414e 595f 5354 4154 450a DITOR_ANY_STATE. │ │ │ -000796a0: 0a63 6c61 7373 2046 6c5f 5465 7874 5f45 .class Fl_Text_E │ │ │ -000796b0: 6469 746f 7228 466c 5f54 6578 745f 4469 ditor(Fl_Text_Di │ │ │ -000796c0: 7370 6c61 7929 3a0a 2020 2020 7222 2222 splay):. r""" │ │ │ -000796d0: 0a0a 2020 2020 5468 6973 2069 7320 7468 .. This is th │ │ │ -000796e0: 6520 464c 544b 2074 6578 7420 6564 6974 e FLTK text edit │ │ │ -000796f0: 6f72 2077 6964 6765 742e 2049 7420 616c or widget. It al │ │ │ -00079700: 6c6f 7773 2074 6865 2075 7365 7220 746f lows the user to │ │ │ -00079710: 2065 6469 7420 6d75 6c74 6970 6c65 200a edit multiple . │ │ │ -00079720: 2020 2020 6c69 6e65 7320 6f66 2074 6578 lines of tex │ │ │ -00079730: 7420 616e 6420 7375 7070 6f72 7473 2068 t and supports h │ │ │ -00079740: 6967 686c 6967 6874 696e 6720 616e 6420 ighlighting and │ │ │ -00079750: 7363 726f 6c6c 696e 672e 2054 6865 2062 scrolling. The b │ │ │ -00079760: 7566 6665 7220 7468 6174 2069 7320 0a20 uffer that is . │ │ │ -00079770: 2020 2064 6973 706c 6179 6564 2069 6e20 displayed in │ │ │ -00079780: 7468 6520 7769 6467 6574 2069 7320 6d61 the widget is ma │ │ │ -00079790: 6e61 6765 6420 6279 2074 6865 2046 6c5f naged by the Fl_ │ │ │ -000797a0: 5465 7874 5f42 7566 6665 7220 636c 6173 Text_Buffer clas │ │ │ -000797b0: 732e 0a0a 2020 2020 2222 220a 0a20 2020 s... """.. │ │ │ -000797c0: 2074 6869 736f 776e 203d 2070 726f 7065 thisown = prope │ │ │ -000797d0: 7274 7928 6c61 6d62 6461 2078 3a20 782e rty(lambda x: x. │ │ │ -000797e0: 7468 6973 2e6f 776e 2829 2c20 6c61 6d62 this.own(), lamb │ │ │ -000797f0: 6461 2078 2c20 763a 2078 2e74 6869 732e da x, v: x.this. │ │ │ -00079800: 6f77 6e28 7629 2c20 646f 633d 2254 6865 own(v), doc="The │ │ │ -00079810: 206d 656d 6265 7273 6869 7020 666c 6167 membership flag │ │ │ -00079820: 2229 0a20 2020 205f 5f72 6570 725f 5f20 "). __repr__ │ │ │ -00079830: 3d20 5f73 7769 675f 7265 7072 0a0a 2020 = _swig_repr.. │ │ │ -00079840: 2020 6465 6620 5f5f 696e 6974 5f5f 2873 def __init__(s │ │ │ -00079850: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00079860: 2020 2020 2072 2222 225f 5f69 6e69 745f r"""__init_ │ │ │ -00079870: 5f28 466c 5f54 6578 745f 4564 6974 6f72 _(Fl_Text_Editor │ │ │ -00079880: 2073 656c 662c 2069 6e74 2058 2c20 696e self, int X, in │ │ │ -00079890: 7420 592c 2069 6e74 2057 2c20 696e 7420 t Y, int W, int │ │ │ -000798a0: 482c 2063 6861 7220 636f 6e73 7420 2a20 H, char const * │ │ │ -000798b0: 6c3d 4e6f 6e65 2920 2d3e 2046 6c5f 5465 l=None) -> Fl_Te │ │ │ -000798c0: 7874 5f45 6469 746f 7222 2222 0a20 2020 xt_Editor""". │ │ │ -000798d0: 2020 2020 2069 6620 7365 6c66 2e5f 5f63 if self.__c │ │ │ -000798e0: 6c61 7373 5f5f 203d 3d20 466c 5f54 6578 lass__ == Fl_Tex │ │ │ -000798f0: 745f 4564 6974 6f72 3a0a 2020 2020 2020 t_Editor:. │ │ │ -00079900: 2020 2020 2020 5f73 656c 6620 3d20 4e6f _self = No │ │ │ -00079910: 6e65 0a20 2020 2020 2020 2065 6c73 653a ne. else: │ │ │ -00079920: 0a20 2020 2020 2020 2020 2020 205f 7365 . _se │ │ │ -00079930: 6c66 203d 2073 656c 660a 2020 2020 2020 lf = self. │ │ │ -00079940: 2020 5f66 6c74 6b2e 466c 5f54 6578 745f _fltk.Fl_Text_ │ │ │ -00079950: 4564 6974 6f72 5f73 7769 6769 6e69 7428 Editor_swiginit( │ │ │ -00079960: 7365 6c66 2c20 5f66 6c74 6b2e 6e65 775f self, _fltk.new_ │ │ │ -00079970: 466c 5f54 6578 745f 4564 6974 6f72 285f Fl_Text_Editor(_ │ │ │ -00079980: 7365 6c66 2c20 2a61 7267 7329 290a 0a20 self, *args)).. │ │ │ -00079990: 2020 2020 2020 2069 6620 6c65 6e28 6172 if len(ar │ │ │ -000799a0: 6773 2920 3d3d 2035 3a20 2020 2020 2020 gs) == 5: │ │ │ -000799b0: 2020 200a 2020 2020 2020 2020 2372 6574 . #ret │ │ │ -000799c0: 6169 6e20 7265 6665 7265 6e63 6520 746f ain reference to │ │ │ -000799d0: 206c 6162 656c 0a20 2020 2020 2020 2020 label. │ │ │ -000799e0: 2020 2073 656c 662e 6d79 5f6c 6162 656c self.my_label │ │ │ -000799f0: 203d 2061 7267 735b 2d31 5d0a 2020 2020 = args[-1]. │ │ │ -00079a00: 2020 2020 6966 2073 656c 662e 7061 7265 if self.pare │ │ │ -00079a10: 6e74 2829 2021 3d20 4e6f 6e65 3a20 2020 nt() != None: │ │ │ -00079a20: 0a20 2020 2020 2020 2023 6465 6c65 6761 . #delega │ │ │ -00079a30: 7465 206f 776e 6572 7368 6970 2074 6f20 te ownership to │ │ │ -00079a40: 432b 2b0a 2020 2020 2020 2020 2020 2020 C++. │ │ │ -00079a50: 7365 6c66 2e74 6869 732e 6469 736f 776e self.this.disown │ │ │ -00079a60: 2829 0a20 2020 2020 2020 2073 656c 662e (). self. │ │ │ -00079a70: 696e 6974 5f74 7970 6528 2246 6c5f 5465 init_type("Fl_Te │ │ │ -00079a80: 7874 5f45 6469 746f 7222 290a 2020 2020 xt_Editor"). │ │ │ -00079a90: 2020 2020 2370 7269 6e74 2822 4164 6469 #print("Addi │ │ │ -00079aa0: 6e67 2074 7970 653a 2022 2c20 466c 5f54 ng type: ", Fl_T │ │ │ -00079ab0: 6578 745f 4564 6974 6f72 290a 0a0a 0a20 ext_Editor).... │ │ │ -00079ac0: 2020 205f 5f73 7769 675f 6465 7374 726f __swig_destro │ │ │ -00079ad0: 795f 5f20 3d20 5f66 6c74 6b2e 6465 6c65 y__ = _fltk.dele │ │ │ -00079ae0: 7465 5f46 6c5f 5465 7874 5f45 6469 746f te_Fl_Text_Edito │ │ │ -00079af0: 720a 0a20 2020 2064 6566 2068 616e 646c r.. def handl │ │ │ -00079b00: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ -00079b10: 2020 2020 2020 2020 7222 2222 6861 6e64 r"""hand │ │ │ -00079b20: 6c65 2846 6c5f 5465 7874 5f45 6469 746f le(Fl_Text_Edito │ │ │ -00079b30: 7220 7365 6c66 2c20 696e 7420 6529 202d r self, int e) - │ │ │ -00079b40: 3e20 696e 7422 2222 0a20 2020 2020 2020 > int""". │ │ │ -00079b50: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -00079b60: 5f54 6578 745f 4564 6974 6f72 5f68 616e _Text_Editor_han │ │ │ -00079b70: 646c 6528 7365 6c66 2c20 2a61 7267 7329 dle(self, *args) │ │ │ -00079b80: 0a0a 2020 2020 6465 6620 696e 7365 7274 .. def insert │ │ │ -00079b90: 5f6d 6f64 6528 7365 6c66 2c20 2a61 7267 _mode(self, *arg │ │ │ -00079ba0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -00079bb0: 0a20 2020 2020 2020 2069 6e73 6572 745f . insert_ │ │ │ -00079bc0: 6d6f 6465 2846 6c5f 5465 7874 5f45 6469 mode(Fl_Text_Edi │ │ │ -00079bd0: 746f 7220 7365 6c66 2c20 696e 7420 6229 tor self, int b) │ │ │ -00079be0: 0a20 2020 2020 2020 2069 6e73 6572 745f . insert_ │ │ │ -00079bf0: 6d6f 6465 2846 6c5f 5465 7874 5f45 6469 mode(Fl_Text_Edi │ │ │ -00079c00: 746f 7220 7365 6c66 2920 2d3e 2069 6e74 tor self) -> int │ │ │ -00079c10: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ -00079c20: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -00079c30: 6b2e 466c 5f54 6578 745f 4564 6974 6f72 k.Fl_Text_Editor │ │ │ -00079c40: 5f69 6e73 6572 745f 6d6f 6465 2873 656c _insert_mode(sel │ │ │ -00079c50: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -00079c60: 6566 2074 6162 5f6e 6176 2873 656c 662c ef tab_nav(self, │ │ │ -00079c70: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00079c80: 2072 2222 220a 2020 2020 2020 2020 7461 r""". ta │ │ │ -00079c90: 625f 6e61 7628 466c 5f54 6578 745f 4564 b_nav(Fl_Text_Ed │ │ │ -00079ca0: 6974 6f72 2073 656c 662c 2069 6e74 2076 itor self, int v │ │ │ -00079cb0: 616c 290a 2020 2020 2020 2020 7461 625f al). tab_ │ │ │ -00079cc0: 6e61 7628 466c 5f54 6578 745f 4564 6974 nav(Fl_Text_Edit │ │ │ -00079cd0: 6f72 2073 656c 6629 202d 3e20 696e 740a or self) -> int. │ │ │ -00079ce0: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ -00079cf0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00079d00: 2e46 6c5f 5465 7874 5f45 6469 746f 725f .Fl_Text_Editor_ │ │ │ -00079d10: 7461 625f 6e61 7628 7365 6c66 2c20 2a61 tab_nav(self, *a │ │ │ -00079d20: 7267 7329 0a0a 2020 2020 6465 6620 6164 rgs).. def ad │ │ │ -00079d30: 645f 6b65 795f 6269 6e64 696e 6728 7365 d_key_binding(se │ │ │ -00079d40: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -00079d50: 2020 2020 7222 2222 6164 645f 6b65 795f r"""add_key_ │ │ │ -00079d60: 6269 6e64 696e 6728 466c 5f54 6578 745f binding(Fl_Text_ │ │ │ -00079d70: 4564 6974 6f72 2073 656c 662c 2069 6e74 Editor self, int │ │ │ -00079d80: 206b 6579 2c20 696e 7420 7374 6174 652c key, int state, │ │ │ -00079d90: 2046 6c5f 5465 7874 5f45 6469 746f 723a Fl_Text_Editor: │ │ │ -00079da0: 3a4b 6579 5f46 756e 6320 6629 2222 220a :Key_Func f)""". │ │ │ -00079db0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00079dc0: 666c 746b 2e46 6c5f 5465 7874 5f45 6469 fltk.Fl_Text_Edi │ │ │ -00079dd0: 746f 725f 6164 645f 6b65 795f 6269 6e64 tor_add_key_bind │ │ │ -00079de0: 696e 6728 7365 6c66 2c20 2a61 7267 7329 ing(self, *args) │ │ │ -00079df0: 0a0a 2020 2020 6465 6620 7265 6d6f 7665 .. def remove │ │ │ -00079e00: 5f6b 6579 5f62 696e 6469 6e67 2873 656c _key_binding(sel │ │ │ -00079e10: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00079e20: 2020 2072 2222 2272 656d 6f76 655f 6b65 r"""remove_ke │ │ │ -00079e30: 795f 6269 6e64 696e 6728 466c 5f54 6578 y_binding(Fl_Tex │ │ │ -00079e40: 745f 4564 6974 6f72 2073 656c 662c 2069 t_Editor self, i │ │ │ -00079e50: 6e74 206b 6579 2c20 696e 7420 7374 6174 nt key, int stat │ │ │ -00079e60: 6529 2222 220a 2020 2020 2020 2020 7265 e)""". re │ │ │ -00079e70: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ -00079e80: 7874 5f45 6469 746f 725f 7265 6d6f 7665 xt_Editor_remove │ │ │ -00079e90: 5f6b 6579 5f62 696e 6469 6e67 2873 656c _key_binding(sel │ │ │ -00079ea0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -00079eb0: 6566 2072 656d 6f76 655f 616c 6c5f 6b65 ef remove_all_ke │ │ │ -00079ec0: 795f 6269 6e64 696e 6773 2873 656c 662c y_bindings(self, │ │ │ -00079ed0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00079ee0: 2072 2222 2272 656d 6f76 655f 616c 6c5f r"""remove_all_ │ │ │ -00079ef0: 6b65 795f 6269 6e64 696e 6773 2846 6c5f key_bindings(Fl_ │ │ │ -00079f00: 5465 7874 5f45 6469 746f 7220 7365 6c66 Text_Editor self │ │ │ -00079f10: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ -00079f20: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6578 urn _fltk.Fl_Tex │ │ │ -00079f30: 745f 4564 6974 6f72 5f72 656d 6f76 655f t_Editor_remove_ │ │ │ -00079f40: 616c 6c5f 6b65 795f 6269 6e64 696e 6773 all_key_bindings │ │ │ -00079f50: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -00079f60: 2020 2064 6566 2062 6f75 6e64 5f6b 6579 def bound_key │ │ │ -00079f70: 5f66 756e 6374 696f 6e28 7365 6c66 2c20 _function(self, │ │ │ -00079f80: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00079f90: 7222 2222 0a20 2020 2020 2020 2062 6f75 r""". bou │ │ │ -00079fa0: 6e64 5f6b 6579 5f66 756e 6374 696f 6e28 nd_key_function( │ │ │ -00079fb0: 466c 5f54 6578 745f 4564 6974 6f72 2073 Fl_Text_Editor s │ │ │ -00079fc0: 656c 662c 2069 6e74 206b 6579 2c20 696e elf, int key, in │ │ │ -00079fd0: 7420 7374 6174 652c 2046 6c5f 5465 7874 t state, Fl_Text │ │ │ -00079fe0: 5f45 6469 746f 723a 3a4b 6579 5f42 696e _Editor::Key_Bin │ │ │ -00079ff0: 6469 6e67 202a 206c 6973 7429 202d 3e20 ding * list) -> │ │ │ -0007a000: 466c 5f54 6578 745f 4564 6974 6f72 3a3a Fl_Text_Editor:: │ │ │ -0007a010: 4b65 795f 4675 6e63 0a20 2020 2020 2020 Key_Func. │ │ │ -0007a020: 2062 6f75 6e64 5f6b 6579 5f66 756e 6374 bound_key_funct │ │ │ -0007a030: 696f 6e28 466c 5f54 6578 745f 4564 6974 ion(Fl_Text_Edit │ │ │ -0007a040: 6f72 2073 656c 662c 2069 6e74 206b 6579 or self, int key │ │ │ -0007a050: 2c20 696e 7420 7374 6174 6529 202d 3e20 , int state) -> │ │ │ -0007a060: 466c 5f54 6578 745f 4564 6974 6f72 3a3a Fl_Text_Editor:: │ │ │ -0007a070: 4b65 795f 4675 6e63 0a20 2020 2020 2020 Key_Func. │ │ │ -0007a080: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ -0007a090: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6578 urn _fltk.Fl_Tex │ │ │ -0007a0a0: 745f 4564 6974 6f72 5f62 6f75 6e64 5f6b t_Editor_bound_k │ │ │ -0007a0b0: 6579 5f66 756e 6374 696f 6e28 7365 6c66 ey_function(self │ │ │ -0007a0c0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -0007a0d0: 6620 6465 6661 756c 745f 6b65 795f 6675 f default_key_fu │ │ │ -0007a0e0: 6e63 7469 6f6e 2873 656c 662c 202a 6172 nction(self, *ar │ │ │ -0007a0f0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -0007a100: 2264 6566 6175 6c74 5f6b 6579 5f66 756e "default_key_fun │ │ │ -0007a110: 6374 696f 6e28 466c 5f54 6578 745f 4564 ction(Fl_Text_Ed │ │ │ -0007a120: 6974 6f72 2073 656c 662c 2046 6c5f 5465 itor self, Fl_Te │ │ │ -0007a130: 7874 5f45 6469 746f 723a 3a4b 6579 5f46 xt_Editor::Key_F │ │ │ -0007a140: 756e 6320 6629 2222 220a 2020 2020 2020 unc f)""". │ │ │ -0007a150: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -0007a160: 6c5f 5465 7874 5f45 6469 746f 725f 6465 l_Text_Editor_de │ │ │ -0007a170: 6661 756c 745f 6b65 795f 6675 6e63 7469 fault_key_functi │ │ │ -0007a180: 6f6e 2873 656c 662c 202a 6172 6773 290a on(self, *args). │ │ │ -0007a190: 0a20 2020 2040 7374 6174 6963 6d65 7468 . @staticmeth │ │ │ -0007a1a0: 6f64 0a20 2020 2064 6566 206b 665f 6465 od. def kf_de │ │ │ -0007a1b0: 6661 756c 7428 2a61 7267 7329 3a0a 2020 fault(*args):. │ │ │ -0007a1c0: 2020 2020 2020 7222 2222 6b66 5f64 6566 r"""kf_def │ │ │ -0007a1d0: 6175 6c74 2869 6e74 2063 2c20 466c 5f54 ault(int c, Fl_T │ │ │ -0007a1e0: 6578 745f 4564 6974 6f72 2065 2920 2d3e ext_Editor e) -> │ │ │ -0007a1f0: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ -0007a200: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -0007a210: 5465 7874 5f45 6469 746f 725f 6b66 5f64 Text_Editor_kf_d │ │ │ -0007a220: 6566 6175 6c74 282a 6172 6773 290a 0a20 efault(*args).. │ │ │ -0007a230: 2020 2040 7374 6174 6963 6d65 7468 6f64 @staticmethod │ │ │ -0007a240: 0a20 2020 2064 6566 206b 665f 6967 6e6f . def kf_igno │ │ │ -0007a250: 7265 282a 6172 6773 293a 0a20 2020 2020 re(*args):. │ │ │ -0007a260: 2020 2072 2222 226b 665f 6967 6e6f 7265 r"""kf_ignore │ │ │ -0007a270: 2869 6e74 2063 2c20 466c 5f54 6578 745f (int c, Fl_Text_ │ │ │ -0007a280: 4564 6974 6f72 2065 2920 2d3e 2069 6e74 Editor e) -> int │ │ │ -0007a290: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -0007a2a0: 726e 205f 666c 746b 2e46 6c5f 5465 7874 rn _fltk.Fl_Text │ │ │ -0007a2b0: 5f45 6469 746f 725f 6b66 5f69 676e 6f72 _Editor_kf_ignor │ │ │ -0007a2c0: 6528 2a61 7267 7329 0a0a 2020 2020 4073 e(*args).. @s │ │ │ -0007a2d0: 7461 7469 636d 6574 686f 640a 2020 2020 taticmethod. │ │ │ -0007a2e0: 6465 6620 6b66 5f62 6163 6b73 7061 6365 def kf_backspace │ │ │ -0007a2f0: 282a 6172 6773 293a 0a20 2020 2020 2020 (*args):. │ │ │ -0007a300: 2072 2222 226b 665f 6261 636b 7370 6163 r"""kf_backspac │ │ │ -0007a310: 6528 696e 7420 632c 2046 6c5f 5465 7874 e(int c, Fl_Text │ │ │ -0007a320: 5f45 6469 746f 7220 6529 202d 3e20 696e _Editor e) -> in │ │ │ -0007a330: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ -0007a340: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6578 urn _fltk.Fl_Tex │ │ │ -0007a350: 745f 4564 6974 6f72 5f6b 665f 6261 636b t_Editor_kf_back │ │ │ -0007a360: 7370 6163 6528 2a61 7267 7329 0a0a 2020 space(*args).. │ │ │ -0007a370: 2020 4073 7461 7469 636d 6574 686f 640a @staticmethod. │ │ │ -0007a380: 2020 2020 6465 6620 6b66 5f65 6e74 6572 def kf_enter │ │ │ -0007a390: 282a 6172 6773 293a 0a20 2020 2020 2020 (*args):. │ │ │ -0007a3a0: 2072 2222 226b 665f 656e 7465 7228 696e r"""kf_enter(in │ │ │ -0007a3b0: 7420 632c 2046 6c5f 5465 7874 5f45 6469 t c, Fl_Text_Edi │ │ │ -0007a3c0: 746f 7220 6529 202d 3e20 696e 7422 2222 tor e) -> int""" │ │ │ -0007a3d0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -0007a3e0: 5f66 6c74 6b2e 466c 5f54 6578 745f 4564 _fltk.Fl_Text_Ed │ │ │ -0007a3f0: 6974 6f72 5f6b 665f 656e 7465 7228 2a61 itor_kf_enter(*a │ │ │ -0007a400: 7267 7329 0a0a 2020 2020 4073 7461 7469 rgs).. @stati │ │ │ -0007a410: 636d 6574 686f 640a 2020 2020 6465 6620 cmethod. def │ │ │ -0007a420: 6b66 5f6d 6f76 6528 2a61 7267 7329 3a0a kf_move(*args):. │ │ │ -0007a430: 2020 2020 2020 2020 7222 2222 6b66 5f6d r"""kf_m │ │ │ -0007a440: 6f76 6528 696e 7420 632c 2046 6c5f 5465 ove(int c, Fl_Te │ │ │ -0007a450: 7874 5f45 6469 746f 7220 6529 202d 3e20 xt_Editor e) -> │ │ │ -0007a460: 696e 7422 2222 0a20 2020 2020 2020 2072 int""". r │ │ │ -0007a470: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -0007a480: 6578 745f 4564 6974 6f72 5f6b 665f 6d6f ext_Editor_kf_mo │ │ │ -0007a490: 7665 282a 6172 6773 290a 0a20 2020 2040 ve(*args).. @ │ │ │ -0007a4a0: 7374 6174 6963 6d65 7468 6f64 0a20 2020 staticmethod. │ │ │ -0007a4b0: 2064 6566 206b 665f 7368 6966 745f 6d6f def kf_shift_mo │ │ │ -0007a4c0: 7665 282a 6172 6773 293a 0a20 2020 2020 ve(*args):. │ │ │ -0007a4d0: 2020 2072 2222 226b 665f 7368 6966 745f r"""kf_shift_ │ │ │ -0007a4e0: 6d6f 7665 2869 6e74 2063 2c20 466c 5f54 move(int c, Fl_T │ │ │ -0007a4f0: 6578 745f 4564 6974 6f72 2065 2920 2d3e ext_Editor e) -> │ │ │ -0007a500: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ -0007a510: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -0007a520: 5465 7874 5f45 6469 746f 725f 6b66 5f73 Text_Editor_kf_s │ │ │ -0007a530: 6869 6674 5f6d 6f76 6528 2a61 7267 7329 hift_move(*args) │ │ │ -0007a540: 0a0a 2020 2020 4073 7461 7469 636d 6574 .. @staticmet │ │ │ -0007a550: 686f 640a 2020 2020 6465 6620 6b66 5f63 hod. def kf_c │ │ │ -0007a560: 7472 6c5f 6d6f 7665 282a 6172 6773 293a trl_move(*args): │ │ │ -0007a570: 0a20 2020 2020 2020 2072 2222 226b 665f . r"""kf_ │ │ │ -0007a580: 6374 726c 5f6d 6f76 6528 696e 7420 632c ctrl_move(int c, │ │ │ -0007a590: 2046 6c5f 5465 7874 5f45 6469 746f 7220 Fl_Text_Editor │ │ │ -0007a5a0: 6529 202d 3e20 696e 7422 2222 0a20 2020 e) -> int""". │ │ │ -0007a5b0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -0007a5c0: 6b2e 466c 5f54 6578 745f 4564 6974 6f72 k.Fl_Text_Editor │ │ │ -0007a5d0: 5f6b 665f 6374 726c 5f6d 6f76 6528 2a61 _kf_ctrl_move(*a │ │ │ -0007a5e0: 7267 7329 0a0a 2020 2020 4073 7461 7469 rgs).. @stati │ │ │ -0007a5f0: 636d 6574 686f 640a 2020 2020 6465 6620 cmethod. def │ │ │ -0007a600: 6b66 5f63 5f73 5f6d 6f76 6528 2a61 7267 kf_c_s_move(*arg │ │ │ -0007a610: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0007a620: 6b66 5f63 5f73 5f6d 6f76 6528 696e 7420 kf_c_s_move(int │ │ │ -0007a630: 632c 2046 6c5f 5465 7874 5f45 6469 746f c, Fl_Text_Edito │ │ │ -0007a640: 7220 6529 202d 3e20 696e 7422 2222 0a20 r e) -> int""". │ │ │ -0007a650: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -0007a660: 6c74 6b2e 466c 5f54 6578 745f 4564 6974 ltk.Fl_Text_Edit │ │ │ -0007a670: 6f72 5f6b 665f 635f 735f 6d6f 7665 282a or_kf_c_s_move(* │ │ │ -0007a680: 6172 6773 290a 0a20 2020 2040 7374 6174 args).. @stat │ │ │ -0007a690: 6963 6d65 7468 6f64 0a20 2020 2064 6566 icmethod. def │ │ │ -0007a6a0: 206b 665f 6d65 7461 5f6d 6f76 6528 2a61 kf_meta_move(*a │ │ │ -0007a6b0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -0007a6c0: 2222 6b66 5f6d 6574 615f 6d6f 7665 2869 ""kf_meta_move(i │ │ │ -0007a6d0: 6e74 2063 2c20 466c 5f54 6578 745f 4564 nt c, Fl_Text_Ed │ │ │ -0007a6e0: 6974 6f72 2065 2920 2d3e 2069 6e74 2222 itor e) -> int"" │ │ │ -0007a6f0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -0007a700: 205f 666c 746b 2e46 6c5f 5465 7874 5f45 _fltk.Fl_Text_E │ │ │ -0007a710: 6469 746f 725f 6b66 5f6d 6574 615f 6d6f ditor_kf_meta_mo │ │ │ -0007a720: 7665 282a 6172 6773 290a 0a20 2020 2040 ve(*args).. @ │ │ │ -0007a730: 7374 6174 6963 6d65 7468 6f64 0a20 2020 staticmethod. │ │ │ -0007a740: 2064 6566 206b 665f 6d5f 735f 6d6f 7665 def kf_m_s_move │ │ │ -0007a750: 282a 6172 6773 293a 0a20 2020 2020 2020 (*args):. │ │ │ -0007a760: 2072 2222 226b 665f 6d5f 735f 6d6f 7665 r"""kf_m_s_move │ │ │ -0007a770: 2869 6e74 2063 2c20 466c 5f54 6578 745f (int c, Fl_Text_ │ │ │ -0007a780: 4564 6974 6f72 2065 2920 2d3e 2069 6e74 Editor e) -> int │ │ │ -0007a790: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -0007a7a0: 726e 205f 666c 746b 2e46 6c5f 5465 7874 rn _fltk.Fl_Text │ │ │ -0007a7b0: 5f45 6469 746f 725f 6b66 5f6d 5f73 5f6d _Editor_kf_m_s_m │ │ │ -0007a7c0: 6f76 6528 2a61 7267 7329 0a0a 2020 2020 ove(*args).. │ │ │ -0007a7d0: 4073 7461 7469 636d 6574 686f 640a 2020 @staticmethod. │ │ │ -0007a7e0: 2020 6465 6620 6b66 5f68 6f6d 6528 2a61 def kf_home(*a │ │ │ -0007a7f0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -0007a800: 2222 6b66 5f68 6f6d 6528 696e 7420 6172 ""kf_home(int ar │ │ │ -0007a810: 6731 2c20 466c 5f54 6578 745f 4564 6974 g1, Fl_Text_Edit │ │ │ -0007a820: 6f72 2065 2920 2d3e 2069 6e74 2222 220a or e) -> int""". │ │ │ -0007a830: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -0007a840: 666c 746b 2e46 6c5f 5465 7874 5f45 6469 fltk.Fl_Text_Edi │ │ │ -0007a850: 746f 725f 6b66 5f68 6f6d 6528 2a61 7267 tor_kf_home(*arg │ │ │ -0007a860: 7329 0a0a 2020 2020 4073 7461 7469 636d s).. @staticm │ │ │ -0007a870: 6574 686f 640a 2020 2020 6465 6620 6b66 ethod. def kf │ │ │ -0007a880: 5f65 6e64 282a 6172 6773 293a 0a20 2020 _end(*args):. │ │ │ -0007a890: 2020 2020 2072 2222 226b 665f 656e 6428 r"""kf_end( │ │ │ -0007a8a0: 696e 7420 632c 2046 6c5f 5465 7874 5f45 int c, Fl_Text_E │ │ │ -0007a8b0: 6469 746f 7220 6529 202d 3e20 696e 7422 ditor e) -> int" │ │ │ -0007a8c0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -0007a8d0: 6e20 5f66 6c74 6b2e 466c 5f54 6578 745f n _fltk.Fl_Text_ │ │ │ -0007a8e0: 4564 6974 6f72 5f6b 665f 656e 6428 2a61 Editor_kf_end(*a │ │ │ -0007a8f0: 7267 7329 0a0a 2020 2020 4073 7461 7469 rgs).. @stati │ │ │ -0007a900: 636d 6574 686f 640a 2020 2020 6465 6620 cmethod. def │ │ │ -0007a910: 6b66 5f6c 6566 7428 2a61 7267 7329 3a0a kf_left(*args):. │ │ │ -0007a920: 2020 2020 2020 2020 7222 2222 6b66 5f6c r"""kf_l │ │ │ -0007a930: 6566 7428 696e 7420 632c 2046 6c5f 5465 eft(int c, Fl_Te │ │ │ -0007a940: 7874 5f45 6469 746f 7220 6529 202d 3e20 xt_Editor e) -> │ │ │ -0007a950: 696e 7422 2222 0a20 2020 2020 2020 2072 int""". r │ │ │ -0007a960: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -0007a970: 6578 745f 4564 6974 6f72 5f6b 665f 6c65 ext_Editor_kf_le │ │ │ -0007a980: 6674 282a 6172 6773 290a 0a20 2020 2040 ft(*args).. @ │ │ │ -0007a990: 7374 6174 6963 6d65 7468 6f64 0a20 2020 staticmethod. │ │ │ -0007a9a0: 2064 6566 206b 665f 7570 282a 6172 6773 def kf_up(*args │ │ │ -0007a9b0: 293a 0a20 2020 2020 2020 2072 2222 226b ):. r"""k │ │ │ -0007a9c0: 665f 7570 2869 6e74 2063 2c20 466c 5f54 f_up(int c, Fl_T │ │ │ -0007a9d0: 6578 745f 4564 6974 6f72 2065 2920 2d3e ext_Editor e) -> │ │ │ -0007a9e0: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ -0007a9f0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -0007aa00: 5465 7874 5f45 6469 746f 725f 6b66 5f75 Text_Editor_kf_u │ │ │ -0007aa10: 7028 2a61 7267 7329 0a0a 2020 2020 4073 p(*args).. @s │ │ │ -0007aa20: 7461 7469 636d 6574 686f 640a 2020 2020 taticmethod. │ │ │ -0007aa30: 6465 6620 6b66 5f72 6967 6874 282a 6172 def kf_right(*ar │ │ │ -0007aa40: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -0007aa50: 226b 665f 7269 6768 7428 696e 7420 632c "kf_right(int c, │ │ │ -0007aa60: 2046 6c5f 5465 7874 5f45 6469 746f 7220 Fl_Text_Editor │ │ │ -0007aa70: 6529 202d 3e20 696e 7422 2222 0a20 2020 e) -> int""". │ │ │ -0007aa80: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -0007aa90: 6b2e 466c 5f54 6578 745f 4564 6974 6f72 k.Fl_Text_Editor │ │ │ -0007aaa0: 5f6b 665f 7269 6768 7428 2a61 7267 7329 _kf_right(*args) │ │ │ -0007aab0: 0a0a 2020 2020 4073 7461 7469 636d 6574 .. @staticmet │ │ │ -0007aac0: 686f 640a 2020 2020 6465 6620 6b66 5f64 hod. def kf_d │ │ │ -0007aad0: 6f77 6e28 2a61 7267 7329 3a0a 2020 2020 own(*args):. │ │ │ -0007aae0: 2020 2020 7222 2222 6b66 5f64 6f77 6e28 r"""kf_down( │ │ │ -0007aaf0: 696e 7420 632c 2046 6c5f 5465 7874 5f45 int c, Fl_Text_E │ │ │ -0007ab00: 6469 746f 7220 6529 202d 3e20 696e 7422 ditor e) -> int" │ │ │ -0007ab10: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -0007ab20: 6e20 5f66 6c74 6b2e 466c 5f54 6578 745f n _fltk.Fl_Text_ │ │ │ -0007ab30: 4564 6974 6f72 5f6b 665f 646f 776e 282a Editor_kf_down(* │ │ │ -0007ab40: 6172 6773 290a 0a20 2020 2040 7374 6174 args).. @stat │ │ │ -0007ab50: 6963 6d65 7468 6f64 0a20 2020 2064 6566 icmethod. def │ │ │ -0007ab60: 206b 665f 7061 6765 5f75 7028 2a61 7267 kf_page_up(*arg │ │ │ -0007ab70: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0007ab80: 6b66 5f70 6167 655f 7570 2869 6e74 2063 kf_page_up(int c │ │ │ -0007ab90: 2c20 466c 5f54 6578 745f 4564 6974 6f72 , Fl_Text_Editor │ │ │ -0007aba0: 2065 2920 2d3e 2069 6e74 2222 220a 2020 e) -> int""". │ │ │ -0007abb0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -0007abc0: 746b 2e46 6c5f 5465 7874 5f45 6469 746f tk.Fl_Text_Edito │ │ │ -0007abd0: 725f 6b66 5f70 6167 655f 7570 282a 6172 r_kf_page_up(*ar │ │ │ -0007abe0: 6773 290a 0a20 2020 2040 7374 6174 6963 gs).. @static │ │ │ -0007abf0: 6d65 7468 6f64 0a20 2020 2064 6566 206b method. def k │ │ │ -0007ac00: 665f 7061 6765 5f64 6f77 6e28 2a61 7267 f_page_down(*arg │ │ │ -0007ac10: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0007ac20: 6b66 5f70 6167 655f 646f 776e 2869 6e74 kf_page_down(int │ │ │ -0007ac30: 2063 2c20 466c 5f54 6578 745f 4564 6974 c, Fl_Text_Edit │ │ │ -0007ac40: 6f72 2065 2920 2d3e 2069 6e74 2222 220a or e) -> int""". │ │ │ -0007ac50: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -0007ac60: 666c 746b 2e46 6c5f 5465 7874 5f45 6469 fltk.Fl_Text_Edi │ │ │ -0007ac70: 746f 725f 6b66 5f70 6167 655f 646f 776e tor_kf_page_down │ │ │ -0007ac80: 282a 6172 6773 290a 0a20 2020 2040 7374 (*args).. @st │ │ │ -0007ac90: 6174 6963 6d65 7468 6f64 0a20 2020 2064 aticmethod. d │ │ │ -0007aca0: 6566 206b 665f 696e 7365 7274 282a 6172 ef kf_insert(*ar │ │ │ -0007acb0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -0007acc0: 226b 665f 696e 7365 7274 2869 6e74 2063 "kf_insert(int c │ │ │ -0007acd0: 2c20 466c 5f54 6578 745f 4564 6974 6f72 , Fl_Text_Editor │ │ │ -0007ace0: 2065 2920 2d3e 2069 6e74 2222 220a 2020 e) -> int""". │ │ │ -0007acf0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -0007ad00: 746b 2e46 6c5f 5465 7874 5f45 6469 746f tk.Fl_Text_Edito │ │ │ -0007ad10: 725f 6b66 5f69 6e73 6572 7428 2a61 7267 r_kf_insert(*arg │ │ │ -0007ad20: 7329 0a0a 2020 2020 4073 7461 7469 636d s).. @staticm │ │ │ -0007ad30: 6574 686f 640a 2020 2020 6465 6620 6b66 ethod. def kf │ │ │ -0007ad40: 5f64 656c 6574 6528 2a61 7267 7329 3a0a _delete(*args):. │ │ │ -0007ad50: 2020 2020 2020 2020 7222 2222 6b66 5f64 r"""kf_d │ │ │ -0007ad60: 656c 6574 6528 696e 7420 632c 2046 6c5f elete(int c, Fl_ │ │ │ -0007ad70: 5465 7874 5f45 6469 746f 7220 6529 202d Text_Editor e) - │ │ │ -0007ad80: 3e20 696e 7422 2222 0a20 2020 2020 2020 > int""". │ │ │ -0007ad90: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -0007ada0: 5f54 6578 745f 4564 6974 6f72 5f6b 665f _Text_Editor_kf_ │ │ │ -0007adb0: 6465 6c65 7465 282a 6172 6773 290a 0a20 delete(*args).. │ │ │ -0007adc0: 2020 2040 7374 6174 6963 6d65 7468 6f64 @staticmethod │ │ │ -0007add0: 0a20 2020 2064 6566 206b 665f 636f 7079 . def kf_copy │ │ │ -0007ade0: 282a 6172 6773 293a 0a20 2020 2020 2020 (*args):. │ │ │ -0007adf0: 2072 2222 226b 665f 636f 7079 2869 6e74 r"""kf_copy(int │ │ │ -0007ae00: 2063 2c20 466c 5f54 6578 745f 4564 6974 c, Fl_Text_Edit │ │ │ -0007ae10: 6f72 2065 2920 2d3e 2069 6e74 2222 220a or e) -> int""". │ │ │ -0007ae20: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -0007ae30: 666c 746b 2e46 6c5f 5465 7874 5f45 6469 fltk.Fl_Text_Edi │ │ │ -0007ae40: 746f 725f 6b66 5f63 6f70 7928 2a61 7267 tor_kf_copy(*arg │ │ │ -0007ae50: 7329 0a0a 2020 2020 4073 7461 7469 636d s).. @staticm │ │ │ -0007ae60: 6574 686f 640a 2020 2020 6465 6620 6b66 ethod. def kf │ │ │ -0007ae70: 5f63 7574 282a 6172 6773 293a 0a20 2020 _cut(*args):. │ │ │ -0007ae80: 2020 2020 2072 2222 226b 665f 6375 7428 r"""kf_cut( │ │ │ -0007ae90: 696e 7420 632c 2046 6c5f 5465 7874 5f45 int c, Fl_Text_E │ │ │ -0007aea0: 6469 746f 7220 6529 202d 3e20 696e 7422 ditor e) -> int" │ │ │ -0007aeb0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -0007aec0: 6e20 5f66 6c74 6b2e 466c 5f54 6578 745f n _fltk.Fl_Text_ │ │ │ -0007aed0: 4564 6974 6f72 5f6b 665f 6375 7428 2a61 Editor_kf_cut(*a │ │ │ -0007aee0: 7267 7329 0a0a 2020 2020 4073 7461 7469 rgs).. @stati │ │ │ -0007aef0: 636d 6574 686f 640a 2020 2020 6465 6620 cmethod. def │ │ │ -0007af00: 6b66 5f70 6173 7465 282a 6172 6773 293a kf_paste(*args): │ │ │ -0007af10: 0a20 2020 2020 2020 2072 2222 226b 665f . r"""kf_ │ │ │ -0007af20: 7061 7374 6528 696e 7420 632c 2046 6c5f paste(int c, Fl_ │ │ │ -0007af30: 5465 7874 5f45 6469 746f 7220 6529 202d Text_Editor e) - │ │ │ -0007af40: 3e20 696e 7422 2222 0a20 2020 2020 2020 > int""". │ │ │ -0007af50: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -0007af60: 5f54 6578 745f 4564 6974 6f72 5f6b 665f _Text_Editor_kf_ │ │ │ -0007af70: 7061 7374 6528 2a61 7267 7329 0a0a 2020 paste(*args).. │ │ │ -0007af80: 2020 4073 7461 7469 636d 6574 686f 640a @staticmethod. │ │ │ -0007af90: 2020 2020 6465 6620 6b66 5f73 656c 6563 def kf_selec │ │ │ -0007afa0: 745f 616c 6c28 2a61 7267 7329 3a0a 2020 t_all(*args):. │ │ │ -0007afb0: 2020 2020 2020 7222 2222 6b66 5f73 656c r"""kf_sel │ │ │ -0007afc0: 6563 745f 616c 6c28 696e 7420 632c 2046 ect_all(int c, F │ │ │ -0007afd0: 6c5f 5465 7874 5f45 6469 746f 7220 6529 l_Text_Editor e) │ │ │ -0007afe0: 202d 3e20 696e 7422 2222 0a20 2020 2020 -> int""". │ │ │ -0007aff0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -0007b000: 466c 5f54 6578 745f 4564 6974 6f72 5f6b Fl_Text_Editor_k │ │ │ -0007b010: 665f 7365 6c65 6374 5f61 6c6c 282a 6172 f_select_all(*ar │ │ │ -0007b020: 6773 290a 0a20 2020 2040 7374 6174 6963 gs).. @static │ │ │ -0007b030: 6d65 7468 6f64 0a20 2020 2064 6566 206b method. def k │ │ │ -0007b040: 665f 756e 646f 282a 6172 6773 293a 0a20 f_undo(*args):. │ │ │ -0007b050: 2020 2020 2020 2072 2222 226b 665f 756e r"""kf_un │ │ │ -0007b060: 646f 2869 6e74 2063 2c20 466c 5f54 6578 do(int c, Fl_Tex │ │ │ -0007b070: 745f 4564 6974 6f72 2065 2920 2d3e 2069 t_Editor e) -> i │ │ │ -0007b080: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ -0007b090: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ -0007b0a0: 7874 5f45 6469 746f 725f 6b66 5f75 6e64 xt_Editor_kf_und │ │ │ -0007b0b0: 6f28 2a61 7267 7329 0a0a 2020 2020 4073 o(*args).. @s │ │ │ -0007b0c0: 7461 7469 636d 6574 686f 640a 2020 2020 taticmethod. │ │ │ -0007b0d0: 6465 6620 6b66 5f72 6564 6f28 2a61 7267 def kf_redo(*arg │ │ │ -0007b0e0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0007b0f0: 6b66 5f72 6564 6f28 696e 7420 632c 2046 kf_redo(int c, F │ │ │ -0007b100: 6c5f 5465 7874 5f45 6469 746f 7220 6529 l_Text_Editor e) │ │ │ -0007b110: 202d 3e20 696e 7422 2222 0a20 2020 2020 -> int""". │ │ │ -0007b120: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -0007b130: 466c 5f54 6578 745f 4564 6974 6f72 5f6b Fl_Text_Editor_k │ │ │ -0007b140: 665f 7265 646f 282a 6172 6773 290a 0a20 f_redo(*args).. │ │ │ -0007b150: 2020 2064 6566 2069 6e69 745f 7479 7065 def init_type │ │ │ -0007b160: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -0007b170: 2020 2020 2020 2072 2222 2269 6e69 745f r"""init_ │ │ │ -0007b180: 7479 7065 2846 6c5f 5465 7874 5f45 6469 type(Fl_Text_Edi │ │ │ -0007b190: 746f 7220 7365 6c66 2c20 6368 6172 202a tor self, char * │ │ │ -0007b1a0: 2046 6c5f 5465 7874 5f45 6469 746f 7229 Fl_Text_Editor) │ │ │ -0007b1b0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -0007b1c0: 726e 205f 666c 746b 2e46 6c5f 5465 7874 rn _fltk.Fl_Text │ │ │ -0007b1d0: 5f45 6469 746f 725f 696e 6974 5f74 7970 _Editor_init_typ │ │ │ -0007b1e0: 6528 7365 6c66 2c20 2a61 7267 7329 0a20 e(self, *args). │ │ │ -0007b1f0: 2020 2064 6566 205f 5f64 6973 6f77 6e5f def __disown_ │ │ │ -0007b200: 5f28 7365 6c66 293a 0a20 2020 2020 2020 _(self):. │ │ │ -0007b210: 2073 656c 662e 7468 6973 2e64 6973 6f77 self.this.disow │ │ │ -0007b220: 6e28 290a 2020 2020 2020 2020 5f66 6c74 n(). _flt │ │ │ -0007b230: 6b2e 6469 736f 776e 5f46 6c5f 5465 7874 k.disown_Fl_Text │ │ │ -0007b240: 5f45 6469 746f 7228 7365 6c66 290a 2020 _Editor(self). │ │ │ -0007b250: 2020 2020 2020 7265 7475 726e 2077 6561 return wea │ │ │ -0007b260: 6b72 6566 2e70 726f 7879 2873 656c 6629 kref.proxy(self) │ │ │ -0007b270: 0a0a 2020 2020 6465 6620 6472 6177 2873 .. def draw(s │ │ │ -0007b280: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -0007b290: 2020 2020 2072 2222 2264 7261 7728 466c r"""draw(Fl │ │ │ -0007b2a0: 5f54 6578 745f 4564 6974 6f72 2073 656c _Text_Editor sel │ │ │ -0007b2b0: 6629 2222 220a 2020 2020 2020 2020 7265 f)""". re │ │ │ -0007b2c0: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ -0007b2d0: 7874 5f45 6469 746f 725f 6472 6177 2873 xt_Editor_draw(s │ │ │ -0007b2e0: 656c 662c 202a 6172 6773 290a 0a23 2052 elf, *args)..# R │ │ │ -0007b2f0: 6567 6973 7465 7220 466c 5f54 6578 745f egister Fl_Text_ │ │ │ -0007b300: 4564 6974 6f72 2069 6e20 5f66 6c74 6b3a Editor in _fltk: │ │ │ -0007b310: 0a5f 666c 746b 2e46 6c5f 5465 7874 5f45 ._fltk.Fl_Text_E │ │ │ -0007b320: 6469 746f 725f 7377 6967 7265 6769 7374 ditor_swigregist │ │ │ -0007b330: 6572 2846 6c5f 5465 7874 5f45 6469 746f er(Fl_Text_Edito │ │ │ -0007b340: 7229 0a63 6c61 7373 2046 6c5f 5469 6c65 r).class Fl_Tile │ │ │ -0007b350: 2846 6c5f 4772 6f75 7029 3a0a 2020 2020 (Fl_Group):. │ │ │ -0007b360: 7222 2222 0a0a 2020 2020 5468 6520 466c r""".. The Fl │ │ │ -0007b370: 5f54 696c 6520 636c 6173 7320 6c65 7473 _Tile class lets │ │ │ -0007b380: 2079 6f75 2072 6573 697a 6520 7468 6520 you resize the │ │ │ -0007b390: 6368 696c 6472 656e 2062 7920 6472 6167 children by drag │ │ │ -0007b3a0: 6769 6e67 2074 6865 2062 6f72 6465 7220 ging the border │ │ │ -0007b3b0: 6265 7477 6565 6e20 0a20 2020 2074 6865 between . the │ │ │ -0007b3c0: 6d3a 0a0a 2020 2020 466c 5f54 696c 6520 m:.. Fl_Tile │ │ │ -0007b3d0: 616c 6c6f 7773 206f 626a 6563 7473 2074 allows objects t │ │ │ -0007b3e0: 6f20 6265 2072 6573 697a 6564 2074 6f20 o be resized to │ │ │ -0007b3f0: 7a65 726f 2064 696d 656e 7369 6f6e 732e zero dimensions. │ │ │ -0007b400: 2054 6f20 7072 6576 656e 7420 7468 6973 To prevent this │ │ │ -0007b410: 2079 6f75 200a 2020 2020 6361 6e20 7573 you . can us │ │ │ -0007b420: 6520 7468 6520 7265 7369 7a61 626c 6528 e the resizable( │ │ │ -0007b430: 2920 746f 206c 696d 6974 2077 6865 7265 ) to limit where │ │ │ -0007b440: 2063 6f72 6e65 7273 2063 616e 2062 6520 corners can be │ │ │ -0007b450: 6472 6167 6765 6420 746f 2e0a 0a20 2020 dragged to... │ │ │ -0007b460: 2045 7665 6e20 7468 6f75 6768 206f 626a Even though obj │ │ │ -0007b470: 6563 7473 2063 616e 2062 6520 7265 7369 ects can be resi │ │ │ -0007b480: 7a65 6420 746f 207a 6572 6f20 7369 7a65 zed to zero size │ │ │ -0007b490: 732c 2074 6865 7920 6d75 7374 2069 6e69 s, they must ini │ │ │ -0007b4a0: 7469 616c 6c79 2068 6176 6520 0a20 2020 tially have . │ │ │ -0007b4b0: 206e 6f6e 2d7a 6572 6f20 7369 7a65 7320 non-zero sizes │ │ │ -0007b4c0: 736f 2074 6865 2046 6c5f 5469 6c65 2063 so the Fl_Tile c │ │ │ -0007b4d0: 616e 2066 6967 7572 6520 6f75 7420 7468 an figure out th │ │ │ -0007b4e0: 6569 7220 6c61 796f 7574 2e20 4966 2064 eir layout. If d │ │ │ -0007b4f0: 6573 6972 6564 2c20 6361 6c6c 200a 2020 esired, call . │ │ │ -0007b500: 2020 706f 7369 7469 6f6e 2829 2061 6674 position() aft │ │ │ -0007b510: 6572 2063 7265 6174 696e 6720 7468 6520 er creating the │ │ │ -0007b520: 6368 696c 6472 656e 2062 7574 2062 6566 children but bef │ │ │ -0007b530: 6f72 6520 6469 7370 6c61 7969 6e67 2074 ore displaying t │ │ │ -0007b540: 6865 2077 696e 646f 7720 746f 200a 2020 he window to . │ │ │ -0007b550: 2020 7365 7420 7468 6520 626f 7264 6572 set the border │ │ │ -0007b560: 7320 7768 6572 6520 796f 7520 7761 6e74 s where you want │ │ │ -0007b570: 2e0a 0a20 2020 2054 6865 2027 626f 7264 ... The 'bord │ │ │ -0007b580: 6572 7327 2061 7265 2070 6172 7420 6f66 ers' are part of │ │ │ -0007b590: 2074 6865 2063 6869 6c64 7265 6e20 2d20 the children - │ │ │ -0007b5a0: 466c 5f54 696c 6520 646f 6573 206e 6f74 Fl_Tile does not │ │ │ -0007b5b0: 2064 7261 7720 616e 7920 6772 6170 6869 draw any graphi │ │ │ -0007b5c0: 6373 200a 2020 2020 6f66 2069 7473 206f cs . of its o │ │ │ -0007b5d0: 776e 2e20 496e 2074 6865 2065 7861 6d70 wn. In the examp │ │ │ -0007b5e0: 6c65 2061 626f 7665 2c20 616c 6c20 6f66 le above, all of │ │ │ -0007b5f0: 2074 6865 2063 6869 6c64 7265 6e20 6861 the children ha │ │ │ -0007b600: 7665 2046 4c5f 444f 574e 5f42 4f58 2074 ve FL_DOWN_BOX t │ │ │ -0007b610: 7970 6573 2c20 0a20 2020 2061 6e64 2074 ypes, . and t │ │ │ -0007b620: 6865 2027 7269 6467 6573 2720 796f 7520 he 'ridges' you │ │ │ -0007b630: 7365 6520 6172 6520 6163 7475 616c 6c79 see are actually │ │ │ -0007b640: 2074 776f 2061 646a 6163 656e 7420 464c two adjacent FL │ │ │ -0007b650: 5f44 4f57 4e5f 424f 5827 7320 6472 6177 _DOWN_BOX's draw │ │ │ -0007b660: 6e20 6e65 7874 200a 2020 2020 746f 2065 n next . to e │ │ │ -0007b670: 6163 6820 6f74 6865 722e 2041 6c6c 206e ach other. All n │ │ │ -0007b680: 6569 6768 626f 7269 6e67 2077 6964 6765 eighboring widge │ │ │ -0007b690: 7473 2073 6861 7265 2074 6865 2073 616d ts share the sam │ │ │ -0007b6a0: 6520 6564 6765 202d 2074 6865 2077 6964 e edge - the wid │ │ │ -0007b6b0: 6765 7427 7320 0a20 2020 2074 6869 636b get's . thick │ │ │ -0007b6c0: 2062 6f72 6465 7273 206d 616b 6520 6974 borders make it │ │ │ -0007b6d0: 2061 7070 6561 7220 6173 2074 686f 7567 appear as thoug │ │ │ -0007b6e0: 6820 7468 6520 7769 6467 6574 7320 6172 h the widgets ar │ │ │ -0007b6f0: 656e 2774 2061 6374 7561 6c6c 7920 746f en't actually to │ │ │ -0007b700: 7563 6869 6e67 2c20 0a20 2020 2062 7574 uching, . but │ │ │ -0007b710: 2074 6865 7920 6172 652e 2049 6620 7468 they are. If th │ │ │ -0007b720: 6520 6564 6765 7320 6f66 2061 646a 6163 e edges of adjac │ │ │ -0007b730: 656e 7420 7769 6467 6574 7320 646f 206e ent widgets do n │ │ │ -0007b740: 6f74 2074 6f75 6368 2c20 7468 656e 2069 ot touch, then i │ │ │ -0007b750: 7420 7769 6c6c 2062 6520 0a20 2020 2069 t will be . i │ │ │ -0007b760: 6d70 6f73 7369 626c 6520 746f 2064 7261 mpossible to dra │ │ │ -0007b770: 6720 7468 6520 636f 7272 6573 706f 6e64 g the correspond │ │ │ -0007b780: 696e 6720 6564 6765 732e 0a0a 2020 2020 ing edges... │ │ │ -0007b790: 2222 220a 0a20 2020 2074 6869 736f 776e """.. thisown │ │ │ -0007b7a0: 203d 2070 726f 7065 7274 7928 6c61 6d62 = property(lamb │ │ │ -0007b7b0: 6461 2078 3a20 782e 7468 6973 2e6f 776e da x: x.this.own │ │ │ -0007b7c0: 2829 2c20 6c61 6d62 6461 2078 2c20 763a (), lambda x, v: │ │ │ -0007b7d0: 2078 2e74 6869 732e 6f77 6e28 7629 2c20 x.this.own(v), │ │ │ -0007b7e0: 646f 633d 2254 6865 206d 656d 6265 7273 doc="The members │ │ │ -0007b7f0: 6869 7020 666c 6167 2229 0a20 2020 205f hip flag"). _ │ │ │ -0007b800: 5f72 6570 725f 5f20 3d20 5f73 7769 675f _repr__ = _swig_ │ │ │ -0007b810: 7265 7072 0a0a 2020 2020 6465 6620 6861 repr.. def ha │ │ │ -0007b820: 6e64 6c65 2873 656c 662c 202a 6172 6773 ndle(self, *args │ │ │ -0007b830: 293a 0a20 2020 2020 2020 2072 2222 2268 ):. r"""h │ │ │ -0007b840: 616e 646c 6528 466c 5f54 696c 6520 7365 andle(Fl_Tile se │ │ │ -0007b850: 6c66 2c20 696e 7420 6576 656e 7429 202d lf, int event) - │ │ │ -0007b860: 3e20 696e 7422 2222 0a20 2020 2020 2020 > int""". │ │ │ -0007b870: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -0007b880: 5f54 696c 655f 6861 6e64 6c65 2873 656c _Tile_handle(sel │ │ │ -0007b890: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -0007b8a0: 6566 205f 5f69 6e69 745f 5f28 7365 6c66 ef __init__(self │ │ │ -0007b8b0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -0007b8c0: 2020 7222 2222 5f5f 696e 6974 5f5f 2846 r"""__init__(F │ │ │ -0007b8d0: 6c5f 5469 6c65 2073 656c 662c 2069 6e74 l_Tile self, int │ │ │ -0007b8e0: 2058 2c20 696e 7420 592c 2069 6e74 2057 X, int Y, int W │ │ │ -0007b8f0: 2c20 696e 7420 482c 2063 6861 7220 636f , int H, char co │ │ │ -0007b900: 6e73 7420 2a20 4c3d 4e6f 6e65 2920 2d3e nst * L=None) -> │ │ │ -0007b910: 2046 6c5f 5469 6c65 2222 220a 2020 2020 Fl_Tile""". │ │ │ -0007b920: 2020 2020 6966 2073 656c 662e 5f5f 636c if self.__cl │ │ │ -0007b930: 6173 735f 5f20 3d3d 2046 6c5f 5469 6c65 ass__ == Fl_Tile │ │ │ -0007b940: 3a0a 2020 2020 2020 2020 2020 2020 5f73 :. _s │ │ │ -0007b950: 656c 6620 3d20 4e6f 6e65 0a20 2020 2020 elf = None. │ │ │ -0007b960: 2020 2065 6c73 653a 0a20 2020 2020 2020 else:. │ │ │ -0007b970: 2020 2020 205f 7365 6c66 203d 2073 656c _self = sel │ │ │ -0007b980: 660a 2020 2020 2020 2020 5f66 6c74 6b2e f. _fltk. │ │ │ -0007b990: 466c 5f54 696c 655f 7377 6967 696e 6974 Fl_Tile_swiginit │ │ │ -0007b9a0: 2873 656c 662c 205f 666c 746b 2e6e 6577 (self, _fltk.new │ │ │ -0007b9b0: 5f46 6c5f 5469 6c65 285f 7365 6c66 2c20 _Fl_Tile(_self, │ │ │ -0007b9c0: 2a61 7267 7329 290a 0a20 2020 2020 2020 *args)).. │ │ │ -0007b9d0: 2069 6620 6c65 6e28 6172 6773 2920 3d3d if len(args) == │ │ │ -0007b9e0: 2035 3a20 2020 2020 2020 2020 200a 2020 5: . │ │ │ -0007b9f0: 2020 2020 2020 2372 6574 6169 6e20 7265 #retain re │ │ │ -0007ba00: 6665 7265 6e63 6520 746f 206c 6162 656c ference to label │ │ │ -0007ba10: 0a20 2020 2020 2020 2020 2020 2073 656c . sel │ │ │ -0007ba20: 662e 6d79 5f6c 6162 656c 203d 2061 7267 f.my_label = arg │ │ │ -0007ba30: 735b 2d31 5d0a 2020 2020 2020 2020 6966 s[-1]. if │ │ │ -0007ba40: 2073 656c 662e 7061 7265 6e74 2829 2021 self.parent() ! │ │ │ -0007ba50: 3d20 4e6f 6e65 3a20 2020 0a20 2020 2020 = None: . │ │ │ -0007ba60: 2020 2023 6465 6c65 6761 7465 206f 776e #delegate own │ │ │ -0007ba70: 6572 7368 6970 2074 6f20 432b 2b0a 2020 ership to C++. │ │ │ -0007ba80: 2020 2020 2020 2020 2020 7365 6c66 2e74 self.t │ │ │ -0007ba90: 6869 732e 6469 736f 776e 2829 0a20 2020 his.disown(). │ │ │ -0007baa0: 2020 2020 2073 656c 662e 696e 6974 5f74 self.init_t │ │ │ -0007bab0: 7970 6528 2246 6c5f 5469 6c65 2229 0a20 ype("Fl_Tile"). │ │ │ -0007bac0: 2020 2020 2020 2023 7072 696e 7428 2241 #print("A │ │ │ -0007bad0: 6464 696e 6720 7479 7065 3a20 222c 2046 dding type: ", F │ │ │ -0007bae0: 6c5f 5469 6c65 290a 0a0a 0a20 2020 205f l_Tile).... _ │ │ │ -0007baf0: 5f73 7769 675f 6465 7374 726f 795f 5f20 _swig_destroy__ │ │ │ -0007bb00: 3d20 5f66 6c74 6b2e 6465 6c65 7465 5f46 = _fltk.delete_F │ │ │ -0007bb10: 6c5f 5469 6c65 0a0a 2020 2020 6465 6620 l_Tile.. def │ │ │ -0007bb20: 7265 7369 7a65 2873 656c 662c 202a 6172 resize(self, *ar │ │ │ -0007bb30: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -0007bb40: 2272 6573 697a 6528 466c 5f54 696c 6520 "resize(Fl_Tile │ │ │ -0007bb50: 7365 6c66 2c20 696e 7420 582c 2069 6e74 self, int X, int │ │ │ -0007bb60: 2059 2c20 696e 7420 572c 2069 6e74 2048 Y, int W, int H │ │ │ -0007bb70: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ -0007bb80: 7572 6e20 5f66 6c74 6b2e 466c 5f54 696c urn _fltk.Fl_Til │ │ │ -0007bb90: 655f 7265 7369 7a65 2873 656c 662c 202a e_resize(self, * │ │ │ -0007bba0: 6172 6773 290a 0a20 2020 2064 6566 206d args).. def m │ │ │ -0007bbb0: 6f76 655f 696e 7465 7273 6563 7469 6f6e ove_intersection │ │ │ -0007bbc0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -0007bbd0: 2020 2020 2020 2072 2222 226d 6f76 655f r"""move_ │ │ │ -0007bbe0: 696e 7465 7273 6563 7469 6f6e 2846 6c5f intersection(Fl_ │ │ │ -0007bbf0: 5469 6c65 2073 656c 662c 2069 6e74 206f Tile self, int o │ │ │ -0007bc00: 6c64 782c 2069 6e74 206f 6c64 792c 2069 ldx, int oldy, i │ │ │ -0007bc10: 6e74 206e 6577 782c 2069 6e74 206e 6577 nt newx, int new │ │ │ -0007bc20: 7929 2222 220a 2020 2020 2020 2020 7265 y)""". re │ │ │ -0007bc30: 7475 726e 205f 666c 746b 2e46 6c5f 5469 turn _fltk.Fl_Ti │ │ │ -0007bc40: 6c65 5f6d 6f76 655f 696e 7465 7273 6563 le_move_intersec │ │ │ -0007bc50: 7469 6f6e 2873 656c 662c 202a 6172 6773 tion(self, *args │ │ │ -0007bc60: 290a 0a20 2020 2064 6566 2064 7261 675f ).. def drag_ │ │ │ -0007bc70: 696e 7465 7273 6563 7469 6f6e 2873 656c intersection(sel │ │ │ -0007bc80: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -0007bc90: 2020 2072 2222 2264 7261 675f 696e 7465 r"""drag_inte │ │ │ -0007bca0: 7273 6563 7469 6f6e 2846 6c5f 5469 6c65 rsection(Fl_Tile │ │ │ -0007bcb0: 2073 656c 662c 2069 6e74 206f 6c64 782c self, int oldx, │ │ │ -0007bcc0: 2069 6e74 206f 6c64 792c 2069 6e74 206e int oldy, int n │ │ │ -0007bcd0: 6577 782c 2069 6e74 206e 6577 7929 2222 ewx, int newy)"" │ │ │ -0007bce0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -0007bcf0: 205f 666c 746b 2e46 6c5f 5469 6c65 5f64 _fltk.Fl_Tile_d │ │ │ -0007bd00: 7261 675f 696e 7465 7273 6563 7469 6f6e rag_intersection │ │ │ -0007bd10: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -0007bd20: 2020 2064 6566 2073 697a 655f 7261 6e67 def size_rang │ │ │ -0007bd30: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ -0007bd40: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ -0007bd50: 2020 2020 2073 697a 655f 7261 6e67 6528 size_range( │ │ │ -0007bd60: 466c 5f54 696c 6520 7365 6c66 2c20 696e Fl_Tile self, in │ │ │ -0007bd70: 7420 696e 6465 782c 2069 6e74 206d 696e t index, int min │ │ │ -0007bd80: 772c 2069 6e74 206d 696e 682c 2069 6e74 w, int minh, int │ │ │ -0007bd90: 206d 6178 773d 3231 3437 3438 3336 3437 maxw=2147483647 │ │ │ -0007bda0: 2c20 696e 7420 6d61 7868 3d32 3134 3734 , int maxh=21474 │ │ │ -0007bdb0: 3833 3634 3729 0a20 2020 2020 2020 2073 83647). s │ │ │ -0007bdc0: 697a 655f 7261 6e67 6528 466c 5f54 696c ize_range(Fl_Til │ │ │ -0007bdd0: 6520 7365 6c66 2c20 466c 5f57 6964 6765 e self, Fl_Widge │ │ │ -0007bde0: 7420 772c 2069 6e74 206d 696e 772c 2069 t w, int minw, i │ │ │ -0007bdf0: 6e74 206d 696e 682c 2069 6e74 206d 6178 nt minh, int max │ │ │ -0007be00: 773d 3231 3437 3438 3336 3437 2c20 696e w=2147483647, in │ │ │ -0007be10: 7420 6d61 7868 3d32 3134 3734 3833 3634 t maxh=214748364 │ │ │ -0007be20: 3729 0a20 2020 2020 2020 2022 2222 0a20 7). """. │ │ │ -0007be30: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -0007be40: 6c74 6b2e 466c 5f54 696c 655f 7369 7a65 ltk.Fl_Tile_size │ │ │ -0007be50: 5f72 616e 6765 2873 656c 662c 202a 6172 _range(self, *ar │ │ │ -0007be60: 6773 290a 0a20 2020 2064 6566 2069 6e69 gs).. def ini │ │ │ -0007be70: 745f 7369 7a65 5f72 616e 6765 2873 656c t_size_range(sel │ │ │ -0007be80: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -0007be90: 2020 2072 2222 2269 6e69 745f 7369 7a65 r"""init_size │ │ │ -0007bea0: 5f72 616e 6765 2846 6c5f 5469 6c65 2073 _range(Fl_Tile s │ │ │ -0007beb0: 656c 662c 2069 6e74 2064 6566 6175 6c74 elf, int default │ │ │ -0007bec0: 5f6d 696e 5f77 3d2d 312c 2069 6e74 2064 _min_w=-1, int d │ │ │ -0007bed0: 6566 6175 6c74 5f6d 696e 5f68 3d2d 3129 efault_min_h=-1) │ │ │ -0007bee0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -0007bef0: 726e 205f 666c 746b 2e46 6c5f 5469 6c65 rn _fltk.Fl_Tile │ │ │ -0007bf00: 5f69 6e69 745f 7369 7a65 5f72 616e 6765 _init_size_range │ │ │ -0007bf10: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -0007bf20: 2020 2064 6566 2069 6e69 745f 7479 7065 def init_type │ │ │ -0007bf30: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -0007bf40: 2020 2020 2020 2072 2222 2269 6e69 745f r"""init_ │ │ │ -0007bf50: 7479 7065 2846 6c5f 5469 6c65 2073 656c type(Fl_Tile sel │ │ │ -0007bf60: 662c 2063 6861 7220 2a20 466c 5f54 696c f, char * Fl_Til │ │ │ -0007bf70: 6529 2222 220a 2020 2020 2020 2020 7265 e)""". re │ │ │ -0007bf80: 7475 726e 205f 666c 746b 2e46 6c5f 5469 turn _fltk.Fl_Ti │ │ │ -0007bf90: 6c65 5f69 6e69 745f 7479 7065 2873 656c le_init_type(sel │ │ │ -0007bfa0: 662c 202a 6172 6773 290a 2020 2020 6465 f, *args). de │ │ │ -0007bfb0: 6620 5f5f 6469 736f 776e 5f5f 2873 656c f __disown__(sel │ │ │ -0007bfc0: 6629 3a0a 2020 2020 2020 2020 7365 6c66 f):. self │ │ │ -0007bfd0: 2e74 6869 732e 6469 736f 776e 2829 0a20 .this.disown(). │ │ │ -0007bfe0: 2020 2020 2020 205f 666c 746b 2e64 6973 _fltk.dis │ │ │ -0007bff0: 6f77 6e5f 466c 5f54 696c 6528 7365 6c66 own_Fl_Tile(self │ │ │ -0007c000: 290a 2020 2020 2020 2020 7265 7475 726e ). return │ │ │ -0007c010: 2077 6561 6b72 6566 2e70 726f 7879 2873 weakref.proxy(s │ │ │ -0007c020: 656c 6629 0a0a 2020 2020 6465 6620 6472 elf).. def dr │ │ │ -0007c030: 6177 2873 656c 662c 202a 6172 6773 293a aw(self, *args): │ │ │ -0007c040: 0a20 2020 2020 2020 2072 2222 2264 7261 . r"""dra │ │ │ -0007c050: 7728 466c 5f54 696c 6520 7365 6c66 2922 w(Fl_Tile self)" │ │ │ -0007c060: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -0007c070: 6e20 5f66 6c74 6b2e 466c 5f54 696c 655f n _fltk.Fl_Tile_ │ │ │ -0007c080: 6472 6177 2873 656c 662c 202a 6172 6773 draw(self, *args │ │ │ -0007c090: 290a 0a23 2052 6567 6973 7465 7220 466c )..# Register Fl │ │ │ -0007c0a0: 5f54 696c 6520 696e 205f 666c 746b 3a0a _Tile in _fltk:. │ │ │ -0007c0b0: 5f66 6c74 6b2e 466c 5f54 696c 655f 7377 _fltk.Fl_Tile_sw │ │ │ -0007c0c0: 6967 7265 6769 7374 6572 2846 6c5f 5469 igregister(Fl_Ti │ │ │ -0007c0d0: 6c65 290a 636c 6173 7320 466c 5f54 696c le).class Fl_Til │ │ │ -0007c0e0: 6564 5f49 6d61 6765 2846 6c5f 496d 6167 ed_Image(Fl_Imag │ │ │ -0007c0f0: 6529 3a0a 2020 2020 7222 2222 0a0a 2020 e):. r""".. │ │ │ -0007c100: 2020 5468 6520 466c 5f54 696c 6564 5f49 The Fl_Tiled_I │ │ │ -0007c110: 6d61 6765 2063 6c61 7373 2073 7570 706f mage class suppo │ │ │ -0007c120: 7274 7320 7469 6c69 6e67 206f 6620 696d rts tiling of im │ │ │ -0007c130: 6167 6573 206f 7665 7220 6120 7370 6563 ages over a spec │ │ │ -0007c140: 6966 6965 6420 6172 6561 2e20 0a20 2020 ified area. . │ │ │ -0007c150: 2054 6865 2073 6f75 7263 6520 2874 696c The source (til │ │ │ -0007c160: 6529 2069 6d61 6765 2069 7320 6e6f 7420 e) image is not │ │ │ -0007c170: 636f 7069 6564 2075 6e6c 6573 7320 796f copied unless yo │ │ │ -0007c180: 7520 6361 6c6c 2074 6865 2063 6f6c 6f72 u call the color │ │ │ -0007c190: 5f61 7665 7261 6765 2829 2c20 0a20 2020 _average(), . │ │ │ -0007c1a0: 2064 6573 6174 7572 6174 6528 292c 206f desaturate(), o │ │ │ -0007c1b0: 7220 696e 6163 7469 7665 2829 206d 6574 r inactive() met │ │ │ -0007c1c0: 686f 6473 2e0a 0a20 2020 2022 2222 0a0a hods... """.. │ │ │ -0007c1d0: 2020 2020 7468 6973 6f77 6e20 3d20 7072 thisown = pr │ │ │ -0007c1e0: 6f70 6572 7479 286c 616d 6264 6120 783a operty(lambda x: │ │ │ -0007c1f0: 2078 2e74 6869 732e 6f77 6e28 292c 206c x.this.own(), l │ │ │ -0007c200: 616d 6264 6120 782c 2076 3a20 782e 7468 ambda x, v: x.th │ │ │ -0007c210: 6973 2e6f 776e 2876 292c 2064 6f63 3d22 is.own(v), doc=" │ │ │ -0007c220: 5468 6520 6d65 6d62 6572 7368 6970 2066 The membership f │ │ │ -0007c230: 6c61 6722 290a 2020 2020 5f5f 7265 7072 lag"). __repr │ │ │ -0007c240: 5f5f 203d 205f 7377 6967 5f72 6570 720a __ = _swig_repr. │ │ │ -0007c250: 0a20 2020 2064 6566 205f 5f69 6e69 745f . def __init_ │ │ │ -0007c260: 5f28 7365 6c66 2c20 2a61 7267 7329 3a0a _(self, *args):. │ │ │ -0007c270: 2020 2020 2020 2020 7222 2222 5f5f 696e r"""__in │ │ │ -0007c280: 6974 5f5f 2846 6c5f 5469 6c65 645f 496d it__(Fl_Tiled_Im │ │ │ -0007c290: 6167 6520 7365 6c66 2c20 466c 5f49 6d61 age self, Fl_Ima │ │ │ -0007c2a0: 6765 2069 2c20 696e 7420 573d 302c 2069 ge i, int W=0, i │ │ │ -0007c2b0: 6e74 2048 3d30 2920 2d3e 2046 6c5f 5469 nt H=0) -> Fl_Ti │ │ │ -0007c2c0: 6c65 645f 496d 6167 6522 2222 0a20 2020 led_Image""". │ │ │ -0007c2d0: 2020 2020 2069 6620 7365 6c66 2e5f 5f63 if self.__c │ │ │ -0007c2e0: 6c61 7373 5f5f 203d 3d20 466c 5f54 696c lass__ == Fl_Til │ │ │ -0007c2f0: 6564 5f49 6d61 6765 3a0a 2020 2020 2020 ed_Image:. │ │ │ -0007c300: 2020 2020 2020 5f73 656c 6620 3d20 4e6f _self = No │ │ │ -0007c310: 6e65 0a20 2020 2020 2020 2065 6c73 653a ne. else: │ │ │ -0007c320: 0a20 2020 2020 2020 2020 2020 205f 7365 . _se │ │ │ -0007c330: 6c66 203d 2073 656c 660a 2020 2020 2020 lf = self. │ │ │ -0007c340: 2020 5f66 6c74 6b2e 466c 5f54 696c 6564 _fltk.Fl_Tiled │ │ │ -0007c350: 5f49 6d61 6765 5f73 7769 6769 6e69 7428 _Image_swiginit( │ │ │ -0007c360: 7365 6c66 2c20 5f66 6c74 6b2e 6e65 775f self, _fltk.new_ │ │ │ -0007c370: 466c 5f54 696c 6564 5f49 6d61 6765 285f Fl_Tiled_Image(_ │ │ │ -0007c380: 7365 6c66 2c20 2a61 7267 7329 290a 2020 self, *args)). │ │ │ -0007c390: 2020 5f5f 7377 6967 5f64 6573 7472 6f79 __swig_destroy │ │ │ -0007c3a0: 5f5f 203d 205f 666c 746b 2e64 656c 6574 __ = _fltk.delet │ │ │ -0007c3b0: 655f 466c 5f54 696c 6564 5f49 6d61 6765 e_Fl_Tiled_Image │ │ │ -0007c3c0: 0a0a 2020 2020 6465 6620 636f 7079 2873 .. def copy(s │ │ │ -0007c3d0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -0007c3e0: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ -0007c3f0: 2020 636f 7079 2846 6c5f 5469 6c65 645f copy(Fl_Tiled_ │ │ │ -0007c400: 496d 6167 6520 7365 6c66 2c20 696e 7420 Image self, int │ │ │ -0007c410: 572c 2069 6e74 2048 2920 2d3e 2046 6c5f W, int H) -> Fl_ │ │ │ -0007c420: 496d 6167 650a 2020 2020 2020 2020 636f Image. co │ │ │ -0007c430: 7079 2846 6c5f 5469 6c65 645f 496d 6167 py(Fl_Tiled_Imag │ │ │ -0007c440: 6520 7365 6c66 2920 2d3e 2046 6c5f 496d e self) -> Fl_Im │ │ │ -0007c450: 6167 650a 2020 2020 2020 2020 2222 220a age. """. │ │ │ -0007c460: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -0007c470: 666c 746b 2e46 6c5f 5469 6c65 645f 496d fltk.Fl_Tiled_Im │ │ │ -0007c480: 6167 655f 636f 7079 2873 656c 662c 202a age_copy(self, * │ │ │ -0007c490: 6172 6773 290a 0a20 2020 2064 6566 2063 args).. def c │ │ │ -0007c4a0: 6f6c 6f72 5f61 7665 7261 6765 2873 656c olor_average(sel │ │ │ -0007c4b0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -0007c4c0: 2020 2072 2222 2263 6f6c 6f72 5f61 7665 r"""color_ave │ │ │ -0007c4d0: 7261 6765 2846 6c5f 5469 6c65 645f 496d rage(Fl_Tiled_Im │ │ │ -0007c4e0: 6167 6520 7365 6c66 2c20 466c 5f43 6f6c age self, Fl_Col │ │ │ -0007c4f0: 6f72 2063 2c20 666c 6f61 7420 6929 2222 or c, float i)"" │ │ │ -0007c500: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -0007c510: 205f 666c 746b 2e46 6c5f 5469 6c65 645f _fltk.Fl_Tiled_ │ │ │ -0007c520: 496d 6167 655f 636f 6c6f 725f 6176 6572 Image_color_aver │ │ │ -0007c530: 6167 6528 7365 6c66 2c20 2a61 7267 7329 age(self, *args) │ │ │ -0007c540: 0a0a 2020 2020 6465 6620 6465 7361 7475 .. def desatu │ │ │ -0007c550: 7261 7465 2873 656c 662c 202a 6172 6773 rate(self, *args │ │ │ -0007c560: 293a 0a20 2020 2020 2020 2072 2222 2264 ):. r"""d │ │ │ -0007c570: 6573 6174 7572 6174 6528 466c 5f54 696c esaturate(Fl_Til │ │ │ -0007c580: 6564 5f49 6d61 6765 2073 656c 6629 2222 ed_Image self)"" │ │ │ -0007c590: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -0007c5a0: 205f 666c 746b 2e46 6c5f 5469 6c65 645f _fltk.Fl_Tiled_ │ │ │ -0007c5b0: 496d 6167 655f 6465 7361 7475 7261 7465 Image_desaturate │ │ │ -0007c5c0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -0007c5d0: 2020 2064 6566 2064 7261 7728 7365 6c66 def draw(self │ │ │ -0007c5e0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -0007c5f0: 2020 7222 2222 0a20 2020 2020 2020 2064 r""". d │ │ │ -0007c600: 7261 7728 466c 5f54 696c 6564 5f49 6d61 raw(Fl_Tiled_Ima │ │ │ -0007c610: 6765 2073 656c 662c 2069 6e74 2058 2c20 ge self, int X, │ │ │ -0007c620: 696e 7420 592c 2069 6e74 2057 2c20 696e int Y, int W, in │ │ │ -0007c630: 7420 482c 2069 6e74 2063 783d 302c 2069 t H, int cx=0, i │ │ │ -0007c640: 6e74 2063 793d 3029 0a20 2020 2020 2020 nt cy=0). │ │ │ -0007c650: 2064 7261 7728 466c 5f54 696c 6564 5f49 draw(Fl_Tiled_I │ │ │ -0007c660: 6d61 6765 2073 656c 662c 2069 6e74 2058 mage self, int X │ │ │ -0007c670: 2c20 696e 7420 5929 0a20 2020 2020 2020 , int Y). │ │ │ -0007c680: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ -0007c690: 7572 6e20 5f66 6c74 6b2e 466c 5f54 696c urn _fltk.Fl_Til │ │ │ -0007c6a0: 6564 5f49 6d61 6765 5f64 7261 7728 7365 ed_Image_draw(se │ │ │ -0007c6b0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -0007c6c0: 6465 6620 696d 6167 6528 7365 6c66 2c20 def image(self, │ │ │ -0007c6d0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -0007c6e0: 7222 2222 696d 6167 6528 466c 5f54 696c r"""image(Fl_Til │ │ │ -0007c6f0: 6564 5f49 6d61 6765 2073 656c 6629 202d ed_Image self) - │ │ │ -0007c700: 3e20 466c 5f49 6d61 6765 2222 220a 2020 > Fl_Image""". │ │ │ -0007c710: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -0007c720: 746b 2e46 6c5f 5469 6c65 645f 496d 6167 tk.Fl_Tiled_Imag │ │ │ -0007c730: 655f 696d 6167 6528 7365 6c66 2c20 2a61 e_image(self, *a │ │ │ -0007c740: 7267 7329 0a20 2020 2064 6566 205f 5f64 rgs). def __d │ │ │ -0007c750: 6973 6f77 6e5f 5f28 7365 6c66 293a 0a20 isown__(self):. │ │ │ -0007c760: 2020 2020 2020 2073 656c 662e 7468 6973 self.this │ │ │ -0007c770: 2e64 6973 6f77 6e28 290a 2020 2020 2020 .disown(). │ │ │ -0007c780: 2020 5f66 6c74 6b2e 6469 736f 776e 5f46 _fltk.disown_F │ │ │ -0007c790: 6c5f 5469 6c65 645f 496d 6167 6528 7365 l_Tiled_Image(se │ │ │ -0007c7a0: 6c66 290a 2020 2020 2020 2020 7265 7475 lf). retu │ │ │ -0007c7b0: 726e 2077 6561 6b72 6566 2e70 726f 7879 rn weakref.proxy │ │ │ -0007c7c0: 2873 656c 6629 0a0a 2320 5265 6769 7374 (self)..# Regist │ │ │ -0007c7d0: 6572 2046 6c5f 5469 6c65 645f 496d 6167 er Fl_Tiled_Imag │ │ │ -0007c7e0: 6520 696e 205f 666c 746b 3a0a 5f66 6c74 e in _fltk:._flt │ │ │ -0007c7f0: 6b2e 466c 5f54 696c 6564 5f49 6d61 6765 k.Fl_Tiled_Image │ │ │ -0007c800: 5f73 7769 6772 6567 6973 7465 7228 466c _swigregister(Fl │ │ │ -0007c810: 5f54 696c 6564 5f49 6d61 6765 290a 464c _Tiled_Image).FL │ │ │ -0007c820: 5f4e 4f52 4d41 4c5f 5449 4d45 5220 3d20 _NORMAL_TIMER = │ │ │ -0007c830: 5f66 6c74 6b2e 464c 5f4e 4f52 4d41 4c5f _fltk.FL_NORMAL_ │ │ │ -0007c840: 5449 4d45 520a 0a46 4c5f 5641 4c55 455f TIMER..FL_VALUE_ │ │ │ -0007c850: 5449 4d45 5220 3d20 5f66 6c74 6b2e 464c TIMER = _fltk.FL │ │ │ -0007c860: 5f56 414c 5545 5f54 494d 4552 0a0a 464c _VALUE_TIMER..FL │ │ │ -0007c870: 5f48 4944 4445 4e5f 5449 4d45 5220 3d20 _HIDDEN_TIMER = │ │ │ -0007c880: 5f66 6c74 6b2e 464c 5f48 4944 4445 4e5f _fltk.FL_HIDDEN_ │ │ │ -0007c890: 5449 4d45 520a 0a63 6c61 7373 2046 6c5f TIMER..class Fl_ │ │ │ -0007c8a0: 5469 6d65 7228 466c 5f57 6964 6765 7429 Timer(Fl_Widget) │ │ │ -0007c8b0: 3a0a 2020 2020 7222 2222 0a0a 2020 2020 :. r""".. │ │ │ -0007c8c0: 5468 6973 2069 7320 7072 6f76 6964 6564 This is provided │ │ │ -0007c8d0: 206f 6e6c 7920 746f 2065 6d75 6c61 7465 only to emulate │ │ │ -0007c8e0: 2074 6865 2046 6f72 6d73 2054 696d 6572 the Forms Timer │ │ │ -0007c8f0: 2077 6964 6765 742e 2049 7420 776f 726b widget. It work │ │ │ -0007c900: 7320 6279 206d 616b 696e 6720 0a20 2020 s by making . │ │ │ -0007c910: 2061 2074 696d 656f 7574 2063 616c 6c62 a timeout callb │ │ │ -0007c920: 6163 6b20 6576 6572 7920 312f 3520 7365 ack every 1/5 se │ │ │ -0007c930: 636f 6e64 2e20 5468 6973 2069 7320 7761 cond. This is wa │ │ │ -0007c940: 7374 6566 756c 2061 6e64 2069 6e61 6363 steful and inacc │ │ │ -0007c950: 7572 6174 6520 6966 2079 6f75 200a 2020 urate if you . │ │ │ -0007c960: 2020 6a75 7374 2077 616e 7420 736f 6d65 just want some │ │ │ -0007c970: 7468 696e 6720 746f 2068 6170 7065 6e20 thing to happen │ │ │ -0007c980: 6120 6669 7865 6420 7469 6d65 2069 6e20 a fixed time in │ │ │ -0007c990: 7468 6520 6675 7475 7265 2e20 596f 7520 the future. You │ │ │ -0007c9a0: 7368 6f75 6c64 2064 6972 6563 746c 7920 should directly │ │ │ -0007c9b0: 0a20 2020 2063 616c 6c20 466c 3a3a 6164 . call Fl::ad │ │ │ -0007c9c0: 645f 7469 6d65 6f75 7428 2920 696e 7374 d_timeout() inst │ │ │ -0007c9d0: 6561 642e 0a0a 2020 2020 2222 220a 0a20 ead... """.. │ │ │ -0007c9e0: 2020 2074 6869 736f 776e 203d 2070 726f thisown = pro │ │ │ -0007c9f0: 7065 7274 7928 6c61 6d62 6461 2078 3a20 perty(lambda x: │ │ │ -0007ca00: 782e 7468 6973 2e6f 776e 2829 2c20 6c61 x.this.own(), la │ │ │ -0007ca10: 6d62 6461 2078 2c20 763a 2078 2e74 6869 mbda x, v: x.thi │ │ │ -0007ca20: 732e 6f77 6e28 7629 2c20 646f 633d 2254 s.own(v), doc="T │ │ │ -0007ca30: 6865 206d 656d 6265 7273 6869 7020 666c he membership fl │ │ │ -0007ca40: 6167 2229 0a20 2020 205f 5f72 6570 725f ag"). __repr_ │ │ │ -0007ca50: 5f20 3d20 5f73 7769 675f 7265 7072 0a0a _ = _swig_repr.. │ │ │ -0007ca60: 2020 2020 6465 6620 6472 6177 2873 656c def draw(sel │ │ │ -0007ca70: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -0007ca80: 2020 2072 2222 2264 7261 7728 466c 5f54 r"""draw(Fl_T │ │ │ -0007ca90: 696d 6572 2073 656c 6629 2222 220a 2020 imer self)""". │ │ │ -0007caa0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -0007cab0: 746b 2e46 6c5f 5469 6d65 725f 6472 6177 tk.Fl_Timer_draw │ │ │ -0007cac0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -0007cad0: 2020 2064 6566 2068 616e 646c 6528 7365 def handle(se │ │ │ -0007cae0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -0007caf0: 2020 2020 7222 2222 6861 6e64 6c65 2846 r"""handle(F │ │ │ -0007cb00: 6c5f 5469 6d65 7220 7365 6c66 2c20 696e l_Timer self, in │ │ │ -0007cb10: 7420 6172 6730 2920 2d3e 2069 6e74 2222 t arg0) -> int"" │ │ │ -0007cb20: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -0007cb30: 205f 666c 746b 2e46 6c5f 5469 6d65 725f _fltk.Fl_Timer_ │ │ │ -0007cb40: 6861 6e64 6c65 2873 656c 662c 202a 6172 handle(self, *ar │ │ │ -0007cb50: 6773 290a 0a20 2020 2064 6566 205f 5f69 gs).. def __i │ │ │ -0007cb60: 6e69 745f 5f28 7365 6c66 2c20 2a61 7267 nit__(self, *arg │ │ │ -0007cb70: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0007cb80: 5f5f 696e 6974 5f5f 2846 6c5f 5469 6d65 __init__(Fl_Time │ │ │ -0007cb90: 7220 7365 6c66 2c20 7563 6861 7220 742c r self, uchar t, │ │ │ -0007cba0: 2069 6e74 2078 2c20 696e 7420 792c 2069 int x, int y, i │ │ │ -0007cbb0: 6e74 2077 2c20 696e 7420 682c 2063 6861 nt w, int h, cha │ │ │ -0007cbc0: 7220 636f 6e73 7420 2a20 6c29 202d 3e20 r const * l) -> │ │ │ -0007cbd0: 466c 5f54 696d 6572 2222 220a 2020 2020 Fl_Timer""". │ │ │ -0007cbe0: 2020 2020 6966 2073 656c 662e 5f5f 636c if self.__cl │ │ │ -0007cbf0: 6173 735f 5f20 3d3d 2046 6c5f 5469 6d65 ass__ == Fl_Time │ │ │ -0007cc00: 723a 0a20 2020 2020 2020 2020 2020 205f r:. _ │ │ │ -0007cc10: 7365 6c66 203d 204e 6f6e 650a 2020 2020 self = None. │ │ │ -0007cc20: 2020 2020 656c 7365 3a0a 2020 2020 2020 else:. │ │ │ -0007cc30: 2020 2020 2020 5f73 656c 6620 3d20 7365 _self = se │ │ │ -0007cc40: 6c66 0a20 2020 2020 2020 205f 666c 746b lf. _fltk │ │ │ -0007cc50: 2e46 6c5f 5469 6d65 725f 7377 6967 696e .Fl_Timer_swigin │ │ │ -0007cc60: 6974 2873 656c 662c 205f 666c 746b 2e6e it(self, _fltk.n │ │ │ -0007cc70: 6577 5f46 6c5f 5469 6d65 7228 5f73 656c ew_Fl_Timer(_sel │ │ │ -0007cc80: 662c 202a 6172 6773 2929 0a0a 2020 2020 f, *args)).. │ │ │ -0007cc90: 2020 2020 6966 206c 656e 2861 7267 7329 if len(args) │ │ │ -0007cca0: 203d 3d20 353a 2020 2020 2020 2020 2020 == 5: │ │ │ -0007ccb0: 0a20 2020 2020 2020 2023 7265 7461 696e . #retain │ │ │ -0007ccc0: 2072 6566 6572 656e 6365 2074 6f20 6c61 reference to la │ │ │ -0007ccd0: 6265 6c0a 2020 2020 2020 2020 2020 2020 bel. │ │ │ -0007cce0: 7365 6c66 2e6d 795f 6c61 6265 6c20 3d20 self.my_label = │ │ │ -0007ccf0: 6172 6773 5b2d 315d 0a20 2020 2020 2020 args[-1]. │ │ │ -0007cd00: 2069 6620 7365 6c66 2e70 6172 656e 7428 if self.parent( │ │ │ -0007cd10: 2920 213d 204e 6f6e 653a 2020 200a 2020 ) != None: . │ │ │ -0007cd20: 2020 2020 2020 2364 656c 6567 6174 6520 #delegate │ │ │ -0007cd30: 6f77 6e65 7273 6869 7020 746f 2043 2b2b ownership to C++ │ │ │ -0007cd40: 0a20 2020 2020 2020 2020 2020 2073 656c . sel │ │ │ -0007cd50: 662e 7468 6973 2e64 6973 6f77 6e28 290a f.this.disown(). │ │ │ -0007cd60: 2020 2020 2020 2020 7365 6c66 2e69 6e69 self.ini │ │ │ -0007cd70: 745f 7479 7065 2822 466c 5f54 696d 6572 t_type("Fl_Timer │ │ │ -0007cd80: 2229 0a20 2020 2020 2020 2023 7072 696e "). #prin │ │ │ -0007cd90: 7428 2241 6464 696e 6720 7479 7065 3a20 t("Adding type: │ │ │ -0007cda0: 222c 2046 6c5f 5469 6d65 7229 0a0a 0a0a ", Fl_Timer).... │ │ │ -0007cdb0: 2020 2020 5f5f 7377 6967 5f64 6573 7472 __swig_destr │ │ │ -0007cdc0: 6f79 5f5f 203d 205f 666c 746b 2e64 656c oy__ = _fltk.del │ │ │ -0007cdd0: 6574 655f 466c 5f54 696d 6572 0a0a 2020 ete_Fl_Timer.. │ │ │ -0007cde0: 2020 6465 6620 7661 6c75 6528 7365 6c66 def value(self │ │ │ -0007cdf0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -0007ce00: 2020 7222 2222 0a20 2020 2020 2020 2076 r""". v │ │ │ -0007ce10: 616c 7565 2846 6c5f 5469 6d65 7220 7365 alue(Fl_Timer se │ │ │ -0007ce20: 6c66 2c20 646f 7562 6c65 2061 7267 3229 lf, double arg2) │ │ │ -0007ce30: 0a20 2020 2020 2020 2076 616c 7565 2846 . value(F │ │ │ -0007ce40: 6c5f 5469 6d65 7220 7365 6c66 2920 2d3e l_Timer self) -> │ │ │ -0007ce50: 2064 6f75 626c 650a 2020 2020 2020 2020 double. │ │ │ -0007ce60: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -0007ce70: 726e 205f 666c 746b 2e46 6c5f 5469 6d65 rn _fltk.Fl_Time │ │ │ -0007ce80: 725f 7661 6c75 6528 7365 6c66 2c20 2a61 r_value(self, *a │ │ │ -0007ce90: 7267 7329 0a0a 2020 2020 6465 6620 6469 rgs).. def di │ │ │ -0007cea0: 7265 6374 696f 6e28 7365 6c66 2c20 2a61 rection(self, *a │ │ │ -0007ceb0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -0007cec0: 2222 0a20 2020 2020 2020 2064 6972 6563 "". direc │ │ │ -0007ced0: 7469 6f6e 2846 6c5f 5469 6d65 7220 7365 tion(Fl_Timer se │ │ │ -0007cee0: 6c66 2920 2d3e 2063 6861 720a 2020 2020 lf) -> char. │ │ │ -0007cef0: 2020 2020 6469 7265 6374 696f 6e28 466c direction(Fl │ │ │ -0007cf00: 5f54 696d 6572 2073 656c 662c 2063 6861 _Timer self, cha │ │ │ -0007cf10: 7220 6429 0a20 2020 2020 2020 2022 2222 r d). """ │ │ │ -0007cf20: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -0007cf30: 5f66 6c74 6b2e 466c 5f54 696d 6572 5f64 _fltk.Fl_Timer_d │ │ │ -0007cf40: 6972 6563 7469 6f6e 2873 656c 662c 202a irection(self, * │ │ │ -0007cf50: 6172 6773 290a 0a20 2020 2064 6566 2073 args).. def s │ │ │ -0007cf60: 7573 7065 6e64 6564 2873 656c 662c 202a uspended(self, * │ │ │ -0007cf70: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -0007cf80: 2222 220a 2020 2020 2020 2020 7375 7370 """. susp │ │ │ -0007cf90: 656e 6465 6428 466c 5f54 696d 6572 2073 ended(Fl_Timer s │ │ │ -0007cfa0: 656c 6629 202d 3e20 6368 6172 0a20 2020 elf) -> char. │ │ │ -0007cfb0: 2020 2020 2073 7573 7065 6e64 6564 2846 suspended(F │ │ │ -0007cfc0: 6c5f 5469 6d65 7220 7365 6c66 2c20 6368 l_Timer self, ch │ │ │ -0007cfd0: 6172 2064 290a 2020 2020 2020 2020 2222 ar d). "" │ │ │ -0007cfe0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -0007cff0: 205f 666c 746b 2e46 6c5f 5469 6d65 725f _fltk.Fl_Timer_ │ │ │ -0007d000: 7375 7370 656e 6465 6428 7365 6c66 2c20 suspended(self, │ │ │ -0007d010: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -0007d020: 696e 6974 5f74 7970 6528 7365 6c66 2c20 init_type(self, │ │ │ -0007d030: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -0007d040: 7222 2222 696e 6974 5f74 7970 6528 466c r"""init_type(Fl │ │ │ -0007d050: 5f54 696d 6572 2073 656c 662c 2063 6861 _Timer self, cha │ │ │ -0007d060: 7220 2a20 466c 5f54 696d 6572 2922 2222 r * Fl_Timer)""" │ │ │ -0007d070: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -0007d080: 5f66 6c74 6b2e 466c 5f54 696d 6572 5f69 _fltk.Fl_Timer_i │ │ │ -0007d090: 6e69 745f 7479 7065 2873 656c 662c 202a nit_type(self, * │ │ │ -0007d0a0: 6172 6773 290a 2020 2020 6465 6620 5f5f args). def __ │ │ │ -0007d0b0: 6469 736f 776e 5f5f 2873 656c 6629 3a0a disown__(self):. │ │ │ -0007d0c0: 2020 2020 2020 2020 7365 6c66 2e74 6869 self.thi │ │ │ -0007d0d0: 732e 6469 736f 776e 2829 0a20 2020 2020 s.disown(). │ │ │ -0007d0e0: 2020 205f 666c 746b 2e64 6973 6f77 6e5f _fltk.disown_ │ │ │ -0007d0f0: 466c 5f54 696d 6572 2873 656c 6629 0a20 Fl_Timer(self). │ │ │ -0007d100: 2020 2020 2020 2072 6574 7572 6e20 7765 return we │ │ │ -0007d110: 616b 7265 662e 7072 6f78 7928 7365 6c66 akref.proxy(self │ │ │ -0007d120: 290a 0a23 2052 6567 6973 7465 7220 466c )..# Register Fl │ │ │ -0007d130: 5f54 696d 6572 2069 6e20 5f66 6c74 6b3a _Timer in _fltk: │ │ │ -0007d140: 0a5f 666c 746b 2e46 6c5f 5469 6d65 725f ._fltk.Fl_Timer_ │ │ │ -0007d150: 7377 6967 7265 6769 7374 6572 2846 6c5f swigregister(Fl_ │ │ │ -0007d160: 5469 6d65 7229 0a63 6c61 7373 2046 6c5f Timer).class Fl_ │ │ │ -0007d170: 546f 6767 6c65 5f42 7574 746f 6e28 466c Toggle_Button(Fl │ │ │ -0007d180: 5f42 7574 746f 6e29 3a0a 2020 2020 7222 _Button):. r" │ │ │ -0007d190: 2222 5072 6f78 7920 6f66 2043 2b2b 2046 ""Proxy of C++ F │ │ │ -0007d1a0: 6c5f 546f 6767 6c65 5f42 7574 746f 6e20 l_Toggle_Button │ │ │ -0007d1b0: 636c 6173 732e 2222 220a 0a20 2020 2074 class.""".. t │ │ │ -0007d1c0: 6869 736f 776e 203d 2070 726f 7065 7274 hisown = propert │ │ │ -0007d1d0: 7928 6c61 6d62 6461 2078 3a20 782e 7468 y(lambda x: x.th │ │ │ -0007d1e0: 6973 2e6f 776e 2829 2c20 6c61 6d62 6461 is.own(), lambda │ │ │ -0007d1f0: 2078 2c20 763a 2078 2e74 6869 732e 6f77 x, v: x.this.ow │ │ │ -0007d200: 6e28 7629 2c20 646f 633d 2254 6865 206d n(v), doc="The m │ │ │ -0007d210: 656d 6265 7273 6869 7020 666c 6167 2229 embership flag") │ │ │ -0007d220: 0a20 2020 205f 5f72 6570 725f 5f20 3d20 . __repr__ = │ │ │ -0007d230: 5f73 7769 675f 7265 7072 0a0a 2020 2020 _swig_repr.. │ │ │ -0007d240: 6465 6620 5f5f 696e 6974 5f5f 2873 656c def __init__(sel │ │ │ -0007d250: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -0007d260: 2020 2072 2222 225f 5f69 6e69 745f 5f28 r"""__init__( │ │ │ -0007d270: 466c 5f54 6f67 676c 655f 4275 7474 6f6e Fl_Toggle_Button │ │ │ -0007d280: 2073 656c 662c 2069 6e74 2058 2c20 696e self, int X, in │ │ │ -0007d290: 7420 592c 2069 6e74 2057 2c20 696e 7420 t Y, int W, int │ │ │ -0007d2a0: 482c 2063 6861 7220 636f 6e73 7420 2a20 H, char const * │ │ │ -0007d2b0: 6c3d 4e6f 6e65 2920 2d3e 2046 6c5f 546f l=None) -> Fl_To │ │ │ -0007d2c0: 6767 6c65 5f42 7574 746f 6e22 2222 0a20 ggle_Button""". │ │ │ -0007d2d0: 2020 2020 2020 2069 6620 7365 6c66 2e5f if self._ │ │ │ -0007d2e0: 5f63 6c61 7373 5f5f 203d 3d20 466c 5f54 _class__ == Fl_T │ │ │ -0007d2f0: 6f67 676c 655f 4275 7474 6f6e 3a0a 2020 oggle_Button:. │ │ │ -0007d300: 2020 2020 2020 2020 2020 5f73 656c 6620 _self │ │ │ -0007d310: 3d20 4e6f 6e65 0a20 2020 2020 2020 2065 = None. e │ │ │ -0007d320: 6c73 653a 0a20 2020 2020 2020 2020 2020 lse:. │ │ │ -0007d330: 205f 7365 6c66 203d 2073 656c 660a 2020 _self = self. │ │ │ -0007d340: 2020 2020 2020 5f66 6c74 6b2e 466c 5f54 _fltk.Fl_T │ │ │ -0007d350: 6f67 676c 655f 4275 7474 6f6e 5f73 7769 oggle_Button_swi │ │ │ -0007d360: 6769 6e69 7428 7365 6c66 2c20 5f66 6c74 ginit(self, _flt │ │ │ -0007d370: 6b2e 6e65 775f 466c 5f54 6f67 676c 655f k.new_Fl_Toggle_ │ │ │ -0007d380: 4275 7474 6f6e 285f 7365 6c66 2c20 2a61 Button(_self, *a │ │ │ -0007d390: 7267 7329 290a 0a20 2020 2020 2020 2069 rgs)).. i │ │ │ -0007d3a0: 6620 6c65 6e28 6172 6773 2920 3d3d 2035 f len(args) == 5 │ │ │ -0007d3b0: 3a20 2020 2020 2020 2020 200a 2020 2020 : . │ │ │ -0007d3c0: 2020 2020 2372 6574 6169 6e20 7265 6665 #retain refe │ │ │ -0007d3d0: 7265 6e63 6520 746f 206c 6162 656c 0a20 rence to label. │ │ │ -0007d3e0: 2020 2020 2020 2020 2020 2073 656c 662e self. │ │ │ -0007d3f0: 6d79 5f6c 6162 656c 203d 2061 7267 735b my_label = args[ │ │ │ -0007d400: 2d31 5d0a 2020 2020 2020 2020 6966 2073 -1]. if s │ │ │ -0007d410: 656c 662e 7061 7265 6e74 2829 2021 3d20 elf.parent() != │ │ │ -0007d420: 4e6f 6e65 3a20 2020 0a20 2020 2020 2020 None: . │ │ │ -0007d430: 2023 6465 6c65 6761 7465 206f 776e 6572 #delegate owner │ │ │ -0007d440: 7368 6970 2074 6f20 432b 2b0a 2020 2020 ship to C++. │ │ │ -0007d450: 2020 2020 2020 2020 7365 6c66 2e74 6869 self.thi │ │ │ -0007d460: 732e 6469 736f 776e 2829 0a20 2020 2020 s.disown(). │ │ │ -0007d470: 2020 2073 656c 662e 696e 6974 5f74 7970 self.init_typ │ │ │ -0007d480: 6528 2246 6c5f 546f 6767 6c65 5f42 7574 e("Fl_Toggle_But │ │ │ -0007d490: 746f 6e22 290a 2020 2020 2020 2020 2370 ton"). #p │ │ │ -0007d4a0: 7269 6e74 2822 4164 6469 6e67 2074 7970 rint("Adding typ │ │ │ -0007d4b0: 653a 2022 2c20 466c 5f54 6f67 676c 655f e: ", Fl_Toggle_ │ │ │ -0007d4c0: 4275 7474 6f6e 290a 0a0a 0a0a 2020 2020 Button)..... │ │ │ -0007d4d0: 6465 6620 696e 6974 5f74 7970 6528 7365 def init_type(se │ │ │ -0007d4e0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -0007d4f0: 2020 2020 7222 2222 696e 6974 5f74 7970 r"""init_typ │ │ │ -0007d500: 6528 466c 5f54 6f67 676c 655f 4275 7474 e(Fl_Toggle_Butt │ │ │ -0007d510: 6f6e 2073 656c 662c 2063 6861 7220 2a20 on self, char * │ │ │ -0007d520: 466c 5f54 6f67 676c 655f 4275 7474 6f6e Fl_Toggle_Button │ │ │ -0007d530: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ -0007d540: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6f67 urn _fltk.Fl_Tog │ │ │ -0007d550: 676c 655f 4275 7474 6f6e 5f69 6e69 745f gle_Button_init_ │ │ │ -0007d560: 7479 7065 2873 656c 662c 202a 6172 6773 type(self, *args │ │ │ -0007d570: 290a 2020 2020 5f5f 7377 6967 5f64 6573 ). __swig_des │ │ │ -0007d580: 7472 6f79 5f5f 203d 205f 666c 746b 2e64 troy__ = _fltk.d │ │ │ -0007d590: 656c 6574 655f 466c 5f54 6f67 676c 655f elete_Fl_Toggle_ │ │ │ -0007d5a0: 4275 7474 6f6e 0a20 2020 2064 6566 205f Button. def _ │ │ │ -0007d5b0: 5f64 6973 6f77 6e5f 5f28 7365 6c66 293a _disown__(self): │ │ │ -0007d5c0: 0a20 2020 2020 2020 2073 656c 662e 7468 . self.th │ │ │ -0007d5d0: 6973 2e64 6973 6f77 6e28 290a 2020 2020 is.disown(). │ │ │ -0007d5e0: 2020 2020 5f66 6c74 6b2e 6469 736f 776e _fltk.disown │ │ │ -0007d5f0: 5f46 6c5f 546f 6767 6c65 5f42 7574 746f _Fl_Toggle_Butto │ │ │ -0007d600: 6e28 7365 6c66 290a 2020 2020 2020 2020 n(self). │ │ │ -0007d610: 7265 7475 726e 2077 6561 6b72 6566 2e70 return weakref.p │ │ │ -0007d620: 726f 7879 2873 656c 6629 0a0a 2020 2020 roxy(self).. │ │ │ -0007d630: 6465 6620 6472 6177 2873 656c 662c 202a def draw(self, * │ │ │ -0007d640: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -0007d650: 2222 2264 7261 7728 466c 5f54 6f67 676c """draw(Fl_Toggl │ │ │ -0007d660: 655f 4275 7474 6f6e 2073 656c 6629 2222 e_Button self)"" │ │ │ -0007d670: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -0007d680: 205f 666c 746b 2e46 6c5f 546f 6767 6c65 _fltk.Fl_Toggle │ │ │ -0007d690: 5f42 7574 746f 6e5f 6472 6177 2873 656c _Button_draw(sel │ │ │ -0007d6a0: 662c 202a 6172 6773 290a 0a23 2052 6567 f, *args)..# Reg │ │ │ -0007d6b0: 6973 7465 7220 466c 5f54 6f67 676c 655f ister Fl_Toggle_ │ │ │ -0007d6c0: 4275 7474 6f6e 2069 6e20 5f66 6c74 6b3a Button in _fltk: │ │ │ -0007d6d0: 0a5f 666c 746b 2e46 6c5f 546f 6767 6c65 ._fltk.Fl_Toggle │ │ │ -0007d6e0: 5f42 7574 746f 6e5f 7377 6967 7265 6769 _Button_swigregi │ │ │ -0007d6f0: 7374 6572 2846 6c5f 546f 6767 6c65 5f42 ster(Fl_Toggle_B │ │ │ -0007d700: 7574 746f 6e29 0a63 6c61 7373 2046 6c5f utton).class Fl_ │ │ │ -0007d710: 546f 6f6c 7469 7028 6f62 6a65 6374 293a Tooltip(object): │ │ │ -0007d720: 0a20 2020 2072 2222 220a 0a20 2020 2054 . r""".. T │ │ │ -0007d730: 6865 2046 6c5f 546f 6f6c 7469 7020 636c he Fl_Tooltip cl │ │ │ -0007d740: 6173 7320 7072 6f76 6964 6573 2074 6f6f ass provides too │ │ │ -0007d750: 6c74 6970 2073 7570 706f 7274 2066 6f72 ltip support for │ │ │ -0007d760: 2061 6c6c 2046 4c54 4b20 7769 6467 6574 all FLTK widget │ │ │ -0007d770: 732e 0a0a 2020 2020 2222 220a 0a20 2020 s... """.. │ │ │ -0007d780: 2074 6869 736f 776e 203d 2070 726f 7065 thisown = prope │ │ │ -0007d790: 7274 7928 6c61 6d62 6461 2078 3a20 782e rty(lambda x: x. │ │ │ -0007d7a0: 7468 6973 2e6f 776e 2829 2c20 6c61 6d62 this.own(), lamb │ │ │ -0007d7b0: 6461 2078 2c20 763a 2078 2e74 6869 732e da x, v: x.this. │ │ │ -0007d7c0: 6f77 6e28 7629 2c20 646f 633d 2254 6865 own(v), doc="The │ │ │ -0007d7d0: 206d 656d 6265 7273 6869 7020 666c 6167 membership flag │ │ │ -0007d7e0: 2229 0a20 2020 205f 5f72 6570 725f 5f20 "). __repr__ │ │ │ -0007d7f0: 3d20 5f73 7769 675f 7265 7072 0a0a 2020 = _swig_repr.. │ │ │ -0007d800: 2020 4073 7461 7469 636d 6574 686f 640a @staticmethod. │ │ │ -0007d810: 2020 2020 6465 6620 6465 6c61 7928 2a61 def delay(*a │ │ │ -0007d820: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -0007d830: 2222 0a20 2020 2020 2020 2064 656c 6179 "". delay │ │ │ -0007d840: 2829 202d 3e20 666c 6f61 740a 2020 2020 () -> float. │ │ │ -0007d850: 2020 2020 6465 6c61 7928 666c 6f61 7420 delay(float │ │ │ -0007d860: 6629 0a20 2020 2020 2020 2022 2222 0a20 f). """. │ │ │ -0007d870: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -0007d880: 6c74 6b2e 466c 5f54 6f6f 6c74 6970 5f64 ltk.Fl_Tooltip_d │ │ │ -0007d890: 656c 6179 282a 6172 6773 290a 0a20 2020 elay(*args).. │ │ │ -0007d8a0: 2040 7374 6174 6963 6d65 7468 6f64 0a20 @staticmethod. │ │ │ -0007d8b0: 2020 2064 6566 2068 6964 6564 656c 6179 def hidedelay │ │ │ -0007d8c0: 282a 6172 6773 293a 0a20 2020 2020 2020 (*args):. │ │ │ -0007d8d0: 2072 2222 220a 2020 2020 2020 2020 6869 r""". hi │ │ │ -0007d8e0: 6465 6465 6c61 7928 2920 2d3e 2066 6c6f dedelay() -> flo │ │ │ -0007d8f0: 6174 0a20 2020 2020 2020 2068 6964 6564 at. hided │ │ │ -0007d900: 656c 6179 2866 6c6f 6174 2066 290a 2020 elay(float f). │ │ │ -0007d910: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ -0007d920: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -0007d930: 6c5f 546f 6f6c 7469 705f 6869 6465 6465 l_Tooltip_hidede │ │ │ -0007d940: 6c61 7928 2a61 7267 7329 0a0a 2020 2020 lay(*args).. │ │ │ -0007d950: 4073 7461 7469 636d 6574 686f 640a 2020 @staticmethod. │ │ │ -0007d960: 2020 6465 6620 686f 7665 7264 656c 6179 def hoverdelay │ │ │ -0007d970: 282a 6172 6773 293a 0a20 2020 2020 2020 (*args):. │ │ │ -0007d980: 2072 2222 220a 2020 2020 2020 2020 686f r""". ho │ │ │ -0007d990: 7665 7264 656c 6179 2829 202d 3e20 666c verdelay() -> fl │ │ │ -0007d9a0: 6f61 740a 2020 2020 2020 2020 686f 7665 oat. hove │ │ │ -0007d9b0: 7264 656c 6179 2866 6c6f 6174 2066 290a rdelay(float f). │ │ │ -0007d9c0: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ -0007d9d0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -0007d9e0: 2e46 6c5f 546f 6f6c 7469 705f 686f 7665 .Fl_Tooltip_hove │ │ │ -0007d9f0: 7264 656c 6179 282a 6172 6773 290a 0a20 rdelay(*args).. │ │ │ -0007da00: 2020 2040 7374 6174 6963 6d65 7468 6f64 @staticmethod │ │ │ -0007da10: 0a20 2020 2064 6566 2065 6e61 626c 6564 . def enabled │ │ │ -0007da20: 282a 6172 6773 293a 0a20 2020 2020 2020 (*args):. │ │ │ -0007da30: 2072 2222 2265 6e61 626c 6564 2829 202d r"""enabled() - │ │ │ -0007da40: 3e20 696e 7422 2222 0a20 2020 2020 2020 > int""". │ │ │ -0007da50: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -0007da60: 5f54 6f6f 6c74 6970 5f65 6e61 626c 6564 _Tooltip_enabled │ │ │ -0007da70: 282a 6172 6773 290a 0a20 2020 2040 7374 (*args).. @st │ │ │ -0007da80: 6174 6963 6d65 7468 6f64 0a20 2020 2064 aticmethod. d │ │ │ -0007da90: 6566 2065 6e61 626c 6528 2a61 7267 7329 ef enable(*args) │ │ │ -0007daa0: 3a0a 2020 2020 2020 2020 7222 2222 656e :. r"""en │ │ │ -0007dab0: 6162 6c65 2869 6e74 2062 3d31 2922 2222 able(int b=1)""" │ │ │ -0007dac0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -0007dad0: 5f66 6c74 6b2e 466c 5f54 6f6f 6c74 6970 _fltk.Fl_Tooltip │ │ │ -0007dae0: 5f65 6e61 626c 6528 2a61 7267 7329 0a0a _enable(*args).. │ │ │ -0007daf0: 2020 2020 4073 7461 7469 636d 6574 686f @staticmetho │ │ │ -0007db00: 640a 2020 2020 6465 6620 6469 7361 626c d. def disabl │ │ │ -0007db10: 6528 2a61 7267 7329 3a0a 2020 2020 2020 e(*args):. │ │ │ -0007db20: 2020 7222 2222 6469 7361 626c 6528 2922 r"""disable()" │ │ │ -0007db30: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -0007db40: 6e20 5f66 6c74 6b2e 466c 5f54 6f6f 6c74 n _fltk.Fl_Toolt │ │ │ -0007db50: 6970 5f64 6973 6162 6c65 282a 6172 6773 ip_disable(*args │ │ │ -0007db60: 290a 0a20 2020 2040 7374 6174 6963 6d65 ).. @staticme │ │ │ -0007db70: 7468 6f64 0a20 2020 2064 6566 2065 6e74 thod. def ent │ │ │ -0007db80: 6572 5f61 7265 6128 2a61 7267 7329 3a0a er_area(*args):. │ │ │ -0007db90: 2020 2020 2020 2020 7222 2222 656e 7465 r"""ente │ │ │ -0007dba0: 725f 6172 6561 2846 6c5f 5769 6467 6574 r_area(Fl_Widget │ │ │ -0007dbb0: 2077 2c20 696e 7420 582c 2069 6e74 2059 w, int X, int Y │ │ │ -0007dbc0: 2c20 696e 7420 572c 2069 6e74 2048 2c20 , int W, int H, │ │ │ -0007dbd0: 6368 6172 2063 6f6e 7374 202a 2074 6970 char const * tip │ │ │ -0007dbe0: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ -0007dbf0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6f6f urn _fltk.Fl_Too │ │ │ -0007dc00: 6c74 6970 5f65 6e74 6572 5f61 7265 6128 ltip_enter_area( │ │ │ -0007dc10: 2a61 7267 7329 0a0a 2020 2020 4073 7461 *args).. @sta │ │ │ -0007dc20: 7469 636d 6574 686f 640a 2020 2020 6465 ticmethod. de │ │ │ -0007dc30: 6620 6375 7272 656e 7428 2a61 7267 7329 f current(*args) │ │ │ -0007dc40: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ -0007dc50: 2020 2020 2020 2063 7572 7265 6e74 2829 current() │ │ │ -0007dc60: 202d 3e20 466c 5f57 6964 6765 740a 2020 -> Fl_Widget. │ │ │ -0007dc70: 2020 2020 2020 6375 7272 656e 7428 466c current(Fl │ │ │ -0007dc80: 5f57 6964 6765 7420 6172 6731 290a 2020 _Widget arg1). │ │ │ -0007dc90: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ -0007dca0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -0007dcb0: 6c5f 546f 6f6c 7469 705f 6375 7272 656e l_Tooltip_curren │ │ │ -0007dcc0: 7428 2a61 7267 7329 0a0a 2020 2020 4073 t(*args).. @s │ │ │ -0007dcd0: 7461 7469 636d 6574 686f 640a 2020 2020 taticmethod. │ │ │ -0007dce0: 6465 6620 666f 6e74 282a 6172 6773 293a def font(*args): │ │ │ -0007dcf0: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ -0007dd00: 2020 2020 2020 666f 6e74 2829 202d 3e20 font() -> │ │ │ -0007dd10: 466c 5f46 6f6e 740a 2020 2020 2020 2020 Fl_Font. │ │ │ -0007dd20: 666f 6e74 2846 6c5f 466f 6e74 2069 290a font(Fl_Font i). │ │ │ -0007dd30: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ -0007dd40: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -0007dd50: 2e46 6c5f 546f 6f6c 7469 705f 666f 6e74 .Fl_Tooltip_font │ │ │ -0007dd60: 282a 6172 6773 290a 0a20 2020 2040 7374 (*args).. @st │ │ │ -0007dd70: 6174 6963 6d65 7468 6f64 0a20 2020 2064 aticmethod. d │ │ │ -0007dd80: 6566 2073 697a 6528 2a61 7267 7329 3a0a ef size(*args):. │ │ │ -0007dd90: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ -0007dda0: 2020 2020 2073 697a 6528 2920 2d3e 2046 size() -> F │ │ │ -0007ddb0: 6c5f 466f 6e74 7369 7a65 0a20 2020 2020 l_Fontsize. │ │ │ -0007ddc0: 2020 2073 697a 6528 466c 5f46 6f6e 7473 size(Fl_Fonts │ │ │ -0007ddd0: 697a 6520 7329 0a20 2020 2020 2020 2022 ize s). " │ │ │ -0007dde0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -0007ddf0: 6e20 5f66 6c74 6b2e 466c 5f54 6f6f 6c74 n _fltk.Fl_Toolt │ │ │ -0007de00: 6970 5f73 697a 6528 2a61 7267 7329 0a0a ip_size(*args).. │ │ │ -0007de10: 2020 2020 4073 7461 7469 636d 6574 686f @staticmetho │ │ │ -0007de20: 640a 2020 2020 6465 6620 636f 6c6f 7228 d. def color( │ │ │ -0007de30: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -0007de40: 7222 2222 0a20 2020 2020 2020 2063 6f6c r""". col │ │ │ -0007de50: 6f72 2829 202d 3e20 466c 5f43 6f6c 6f72 or() -> Fl_Color │ │ │ -0007de60: 0a20 2020 2020 2020 2063 6f6c 6f72 2846 . color(F │ │ │ -0007de70: 6c5f 436f 6c6f 7220 6329 0a20 2020 2020 l_Color c). │ │ │ -0007de80: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ -0007de90: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -0007dea0: 6f6f 6c74 6970 5f63 6f6c 6f72 282a 6172 ooltip_color(*ar │ │ │ -0007deb0: 6773 290a 0a20 2020 2040 7374 6174 6963 gs).. @static │ │ │ -0007dec0: 6d65 7468 6f64 0a20 2020 2064 6566 2074 method. def t │ │ │ -0007ded0: 6578 7463 6f6c 6f72 282a 6172 6773 293a extcolor(*args): │ │ │ -0007dee0: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ -0007def0: 2020 2020 2020 7465 7874 636f 6c6f 7228 textcolor( │ │ │ -0007df00: 2920 2d3e 2046 6c5f 436f 6c6f 720a 2020 ) -> Fl_Color. │ │ │ -0007df10: 2020 2020 2020 7465 7874 636f 6c6f 7228 textcolor( │ │ │ -0007df20: 466c 5f43 6f6c 6f72 2063 290a 2020 2020 Fl_Color c). │ │ │ -0007df30: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ -0007df40: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -0007df50: 546f 6f6c 7469 705f 7465 7874 636f 6c6f Tooltip_textcolo │ │ │ -0007df60: 7228 2a61 7267 7329 0a0a 2020 2020 4073 r(*args).. @s │ │ │ -0007df70: 7461 7469 636d 6574 686f 640a 2020 2020 taticmethod. │ │ │ -0007df80: 6465 6620 6d61 7267 696e 5f77 6964 7468 def margin_width │ │ │ -0007df90: 282a 6172 6773 293a 0a20 2020 2020 2020 (*args):. │ │ │ -0007dfa0: 2072 2222 220a 2020 2020 2020 2020 6d61 r""". ma │ │ │ -0007dfb0: 7267 696e 5f77 6964 7468 2829 202d 3e20 rgin_width() -> │ │ │ -0007dfc0: 696e 740a 2020 2020 2020 2020 6d61 7267 int. marg │ │ │ -0007dfd0: 696e 5f77 6964 7468 2869 6e74 2076 290a in_width(int v). │ │ │ -0007dfe0: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ -0007dff0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -0007e000: 2e46 6c5f 546f 6f6c 7469 705f 6d61 7267 .Fl_Tooltip_marg │ │ │ -0007e010: 696e 5f77 6964 7468 282a 6172 6773 290a in_width(*args). │ │ │ -0007e020: 0a20 2020 2040 7374 6174 6963 6d65 7468 . @staticmeth │ │ │ -0007e030: 6f64 0a20 2020 2064 6566 206d 6172 6769 od. def margi │ │ │ -0007e040: 6e5f 6865 6967 6874 282a 6172 6773 293a n_height(*args): │ │ │ -0007e050: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ -0007e060: 2020 2020 2020 6d61 7267 696e 5f68 6569 margin_hei │ │ │ -0007e070: 6768 7428 2920 2d3e 2069 6e74 0a20 2020 ght() -> int. │ │ │ -0007e080: 2020 2020 206d 6172 6769 6e5f 6865 6967 margin_heig │ │ │ -0007e090: 6874 2869 6e74 2076 290a 2020 2020 2020 ht(int v). │ │ │ -0007e0a0: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ -0007e0b0: 7475 726e 205f 666c 746b 2e46 6c5f 546f turn _fltk.Fl_To │ │ │ -0007e0c0: 6f6c 7469 705f 6d61 7267 696e 5f68 6569 oltip_margin_hei │ │ │ -0007e0d0: 6768 7428 2a61 7267 7329 0a0a 2020 2020 ght(*args).. │ │ │ -0007e0e0: 4073 7461 7469 636d 6574 686f 640a 2020 @staticmethod. │ │ │ -0007e0f0: 2020 6465 6620 7772 6170 5f77 6964 7468 def wrap_width │ │ │ -0007e100: 282a 6172 6773 293a 0a20 2020 2020 2020 (*args):. │ │ │ -0007e110: 2072 2222 220a 2020 2020 2020 2020 7772 r""". wr │ │ │ -0007e120: 6170 5f77 6964 7468 2829 202d 3e20 696e ap_width() -> in │ │ │ -0007e130: 740a 2020 2020 2020 2020 7772 6170 5f77 t. wrap_w │ │ │ -0007e140: 6964 7468 2869 6e74 2076 290a 2020 2020 idth(int v). │ │ │ -0007e150: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ -0007e160: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -0007e170: 546f 6f6c 7469 705f 7772 6170 5f77 6964 Tooltip_wrap_wid │ │ │ -0007e180: 7468 282a 6172 6773 290a 0a20 2020 2040 th(*args).. @ │ │ │ -0007e190: 7374 6174 6963 6d65 7468 6f64 0a20 2020 staticmethod. │ │ │ -0007e1a0: 2064 6566 2063 7572 7265 6e74 5f77 696e def current_win │ │ │ -0007e1b0: 646f 7728 2a61 7267 7329 3a0a 2020 2020 dow(*args):. │ │ │ -0007e1c0: 2020 2020 7222 2222 6375 7272 656e 745f r"""current_ │ │ │ -0007e1d0: 7769 6e64 6f77 2829 202d 3e20 466c 5f57 window() -> Fl_W │ │ │ -0007e1e0: 696e 646f 7722 2222 0a20 2020 2020 2020 indow""". │ │ │ -0007e1f0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -0007e200: 5f54 6f6f 6c74 6970 5f63 7572 7265 6e74 _Tooltip_current │ │ │ -0007e210: 5f77 696e 646f 7728 2a61 7267 7329 0a0a _window(*args).. │ │ │ -0007e220: 2020 2020 6465 6620 5f5f 696e 6974 5f5f def __init__ │ │ │ -0007e230: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -0007e240: 2020 2020 2020 2072 2222 225f 5f69 6e69 r"""__ini │ │ │ -0007e250: 745f 5f28 466c 5f54 6f6f 6c74 6970 2073 t__(Fl_Tooltip s │ │ │ -0007e260: 656c 6629 202d 3e20 466c 5f54 6f6f 6c74 elf) -> Fl_Toolt │ │ │ -0007e270: 6970 2222 220a 2020 2020 2020 2020 5f66 ip""". _f │ │ │ -0007e280: 6c74 6b2e 466c 5f54 6f6f 6c74 6970 5f73 ltk.Fl_Tooltip_s │ │ │ -0007e290: 7769 6769 6e69 7428 7365 6c66 2c20 5f66 wiginit(self, _f │ │ │ -0007e2a0: 6c74 6b2e 6e65 775f 466c 5f54 6f6f 6c74 ltk.new_Fl_Toolt │ │ │ -0007e2b0: 6970 282a 6172 6773 2929 0a20 2020 205f ip(*args)). _ │ │ │ -0007e2c0: 5f73 7769 675f 6465 7374 726f 795f 5f20 _swig_destroy__ │ │ │ -0007e2d0: 3d20 5f66 6c74 6b2e 6465 6c65 7465 5f46 = _fltk.delete_F │ │ │ -0007e2e0: 6c5f 546f 6f6c 7469 700a 0a23 2052 6567 l_Tooltip..# Reg │ │ │ -0007e2f0: 6973 7465 7220 466c 5f54 6f6f 6c74 6970 ister Fl_Tooltip │ │ │ -0007e300: 2069 6e20 5f66 6c74 6b3a 0a5f 666c 746b in _fltk:._fltk │ │ │ -0007e310: 2e46 6c5f 546f 6f6c 7469 705f 7377 6967 .Fl_Tooltip_swig │ │ │ -0007e320: 7265 6769 7374 6572 2846 6c5f 546f 6f6c register(Fl_Tool │ │ │ -0007e330: 7469 7029 0a63 6c61 7373 2046 6c5f 5661 tip).class Fl_Va │ │ │ -0007e340: 6c75 655f 4f75 7470 7574 2846 6c5f 5661 lue_Output(Fl_Va │ │ │ -0007e350: 6c75 6174 6f72 293a 0a20 2020 2072 2222 luator):. r"" │ │ │ -0007e360: 220a 0a20 2020 2054 6865 2046 6c5f 5661 ".. The Fl_Va │ │ │ -0007e370: 6c75 655f 4f75 7470 7574 2077 6964 6765 lue_Output widge │ │ │ -0007e380: 7420 6469 7370 6c61 7973 2061 2066 6c6f t displays a flo │ │ │ -0007e390: 6174 696e 6720 706f 696e 7420 7661 6c75 ating point valu │ │ │ -0007e3a0: 652e 2049 6620 7374 6570 2829 2069 7320 e. If step() is │ │ │ -0007e3b0: 0a20 2020 206e 6f74 207a 6572 6f2c 2074 . not zero, t │ │ │ -0007e3c0: 6865 2075 7365 7220 6361 6e20 6164 6a75 he user can adju │ │ │ -0007e3d0: 7374 2074 6865 2076 616c 7565 2062 7920 st the value by │ │ │ -0007e3e0: 6472 6167 6769 6e67 2074 6865 206d 6f75 dragging the mou │ │ │ -0007e3f0: 7365 206c 6566 7420 616e 6420 7269 6768 se left and righ │ │ │ -0007e400: 742e 200a 2020 2020 5468 6520 6c65 6674 t. . The left │ │ │ -0007e410: 2062 7574 746f 6e20 6d6f 7665 7320 6f6e button moves on │ │ │ -0007e420: 6520 7374 6570 2829 2020 7065 7220 7069 e step() per pi │ │ │ -0007e430: 7865 6c2c 2074 6865 206d 6964 646c 6520 xel, the middle │ │ │ -0007e440: 6279 2031 3020 2a20 7374 6570 2829 2c20 by 10 * step(), │ │ │ -0007e450: 616e 6420 0a20 2020 2074 6865 2072 6967 and . the rig │ │ │ -0007e460: 6874 2062 7574 746f 6e20 6279 2031 3030 ht button by 100 │ │ │ -0007e470: 202a 2073 7465 7028 292e 0a0a 2020 2020 * step()... │ │ │ -0007e480: 5468 6973 2069 7320 6d75 6368 206c 6967 This is much lig │ │ │ -0007e490: 6874 6572 2d77 6569 6768 7420 7468 616e hter-weight than │ │ │ -0007e4a0: 2046 6c5f 5661 6c75 655f 496e 7075 7420 Fl_Value_Input │ │ │ -0007e4b0: 6265 6361 7573 6520 6974 2063 6f6e 7461 because it conta │ │ │ -0007e4c0: 696e 7320 6e6f 2074 6578 7420 0a20 2020 ins no text . │ │ │ -0007e4d0: 2065 6469 7469 6e67 2063 6f64 6520 6f72 editing code or │ │ │ -0007e4e0: 2063 6861 7261 6374 6572 2062 7566 6665 character buffe │ │ │ -0007e4f0: 722e 200a 0a20 2020 2022 2222 0a0a 2020 r. .. """.. │ │ │ -0007e500: 2020 7468 6973 6f77 6e20 3d20 7072 6f70 thisown = prop │ │ │ -0007e510: 6572 7479 286c 616d 6264 6120 783a 2078 erty(lambda x: x │ │ │ -0007e520: 2e74 6869 732e 6f77 6e28 292c 206c 616d .this.own(), lam │ │ │ -0007e530: 6264 6120 782c 2076 3a20 782e 7468 6973 bda x, v: x.this │ │ │ -0007e540: 2e6f 776e 2876 292c 2064 6f63 3d22 5468 .own(v), doc="Th │ │ │ -0007e550: 6520 6d65 6d62 6572 7368 6970 2066 6c61 e membership fla │ │ │ -0007e560: 6722 290a 2020 2020 5f5f 7265 7072 5f5f g"). __repr__ │ │ │ -0007e570: 203d 205f 7377 6967 5f72 6570 720a 0a20 = _swig_repr.. │ │ │ -0007e580: 2020 2064 6566 2064 7261 7728 7365 6c66 def draw(self │ │ │ -0007e590: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -0007e5a0: 2020 7222 2222 6472 6177 2846 6c5f 5661 r"""draw(Fl_Va │ │ │ -0007e5b0: 6c75 655f 4f75 7470 7574 2073 656c 6629 lue_Output self) │ │ │ -0007e5c0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -0007e5d0: 726e 205f 666c 746b 2e46 6c5f 5661 6c75 rn _fltk.Fl_Valu │ │ │ -0007e5e0: 655f 4f75 7470 7574 5f64 7261 7728 7365 e_Output_draw(se │ │ │ -0007e5f0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -0007e600: 6465 6620 6861 6e64 6c65 2873 656c 662c def handle(self, │ │ │ -0007e610: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -0007e620: 2072 2222 2268 616e 646c 6528 466c 5f56 r"""handle(Fl_V │ │ │ -0007e630: 616c 7565 5f4f 7574 7075 7420 7365 6c66 alue_Output self │ │ │ -0007e640: 2c20 696e 7420 6172 6730 2920 2d3e 2069 , int arg0) -> i │ │ │ -0007e650: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ -0007e660: 7475 726e 205f 666c 746b 2e46 6c5f 5661 turn _fltk.Fl_Va │ │ │ -0007e670: 6c75 655f 4f75 7470 7574 5f68 616e 646c lue_Output_handl │ │ │ -0007e680: 6528 7365 6c66 2c20 2a61 7267 7329 0a0a e(self, *args).. │ │ │ -0007e690: 2020 2020 6465 6620 5f5f 696e 6974 5f5f def __init__ │ │ │ -0007e6a0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -0007e6b0: 2020 2020 2020 2072 2222 225f 5f69 6e69 r"""__ini │ │ │ -0007e6c0: 745f 5f28 466c 5f56 616c 7565 5f4f 7574 t__(Fl_Value_Out │ │ │ -0007e6d0: 7075 7420 7365 6c66 2c20 696e 7420 782c put self, int x, │ │ │ -0007e6e0: 2069 6e74 2079 2c20 696e 7420 772c 2069 int y, int w, i │ │ │ -0007e6f0: 6e74 2068 2c20 6368 6172 2063 6f6e 7374 nt h, char const │ │ │ -0007e700: 202a 206c 3d4e 6f6e 6529 202d 3e20 466c * l=None) -> Fl │ │ │ -0007e710: 5f56 616c 7565 5f4f 7574 7075 7422 2222 _Value_Output""" │ │ │ -0007e720: 0a20 2020 2020 2020 2069 6620 7365 6c66 . if self │ │ │ -0007e730: 2e5f 5f63 6c61 7373 5f5f 203d 3d20 466c .__class__ == Fl │ │ │ -0007e740: 5f56 616c 7565 5f4f 7574 7075 743a 0a20 _Value_Output:. │ │ │ -0007e750: 2020 2020 2020 2020 2020 205f 7365 6c66 _self │ │ │ -0007e760: 203d 204e 6f6e 650a 2020 2020 2020 2020 = None. │ │ │ -0007e770: 656c 7365 3a0a 2020 2020 2020 2020 2020 else:. │ │ │ -0007e780: 2020 5f73 656c 6620 3d20 7365 6c66 0a20 _self = self. │ │ │ -0007e790: 2020 2020 2020 205f 666c 746b 2e46 6c5f _fltk.Fl_ │ │ │ -0007e7a0: 5661 6c75 655f 4f75 7470 7574 5f73 7769 Value_Output_swi │ │ │ -0007e7b0: 6769 6e69 7428 7365 6c66 2c20 5f66 6c74 ginit(self, _flt │ │ │ -0007e7c0: 6b2e 6e65 775f 466c 5f56 616c 7565 5f4f k.new_Fl_Value_O │ │ │ -0007e7d0: 7574 7075 7428 5f73 656c 662c 202a 6172 utput(_self, *ar │ │ │ -0007e7e0: 6773 2929 0a0a 2020 2020 2020 2020 6966 gs)).. if │ │ │ -0007e7f0: 206c 656e 2861 7267 7329 203d 3d20 353a len(args) == 5: │ │ │ -0007e800: 2020 2020 2020 2020 2020 0a20 2020 2020 . │ │ │ -0007e810: 2020 2023 7265 7461 696e 2072 6566 6572 #retain refer │ │ │ -0007e820: 656e 6365 2074 6f20 6c61 6265 6c0a 2020 ence to label. │ │ │ -0007e830: 2020 2020 2020 2020 2020 7365 6c66 2e6d self.m │ │ │ -0007e840: 795f 6c61 6265 6c20 3d20 6172 6773 5b2d y_label = args[- │ │ │ -0007e850: 315d 0a20 2020 2020 2020 2069 6620 7365 1]. if se │ │ │ -0007e860: 6c66 2e70 6172 656e 7428 2920 213d 204e lf.parent() != N │ │ │ -0007e870: 6f6e 653a 2020 200a 2020 2020 2020 2020 one: . │ │ │ -0007e880: 2364 656c 6567 6174 6520 6f77 6e65 7273 #delegate owners │ │ │ -0007e890: 6869 7020 746f 2043 2b2b 0a20 2020 2020 hip to C++. │ │ │ -0007e8a0: 2020 2020 2020 2073 656c 662e 7468 6973 self.this │ │ │ -0007e8b0: 2e64 6973 6f77 6e28 290a 2020 2020 2020 .disown(). │ │ │ -0007e8c0: 2020 7365 6c66 2e69 6e69 745f 7479 7065 self.init_type │ │ │ -0007e8d0: 2822 466c 5f56 616c 7565 5f4f 7574 7075 ("Fl_Value_Outpu │ │ │ -0007e8e0: 7422 290a 2020 2020 2020 2020 2370 7269 t"). #pri │ │ │ -0007e8f0: 6e74 2822 4164 6469 6e67 2074 7970 653a nt("Adding type: │ │ │ -0007e900: 2022 2c20 466c 5f56 616c 7565 5f4f 7574 ", Fl_Value_Out │ │ │ -0007e910: 7075 7429 0a0a 0a0a 0a20 2020 2064 6566 put)..... def │ │ │ -0007e920: 2073 6f66 7428 7365 6c66 2c20 2a61 7267 soft(self, *arg │ │ │ -0007e930: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0007e940: 0a20 2020 2020 2020 2073 6f66 7428 466c . soft(Fl │ │ │ -0007e950: 5f56 616c 7565 5f4f 7574 7075 7420 7365 _Value_Output se │ │ │ -0007e960: 6c66 2c20 7563 6861 7220 7329 0a20 2020 lf, uchar s). │ │ │ -0007e970: 2020 2020 2073 6f66 7428 466c 5f56 616c soft(Fl_Val │ │ │ -0007e980: 7565 5f4f 7574 7075 7420 7365 6c66 2920 ue_Output self) │ │ │ -0007e990: 2d3e 2075 6368 6172 0a20 2020 2020 2020 -> uchar. │ │ │ -0007e9a0: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ -0007e9b0: 7572 6e20 5f66 6c74 6b2e 466c 5f56 616c urn _fltk.Fl_Val │ │ │ -0007e9c0: 7565 5f4f 7574 7075 745f 736f 6674 2873 ue_Output_soft(s │ │ │ -0007e9d0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -0007e9e0: 2064 6566 2074 6578 7466 6f6e 7428 7365 def textfont(se │ │ │ -0007e9f0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -0007ea00: 2020 2020 7222 2222 0a20 2020 2020 2020 r""". │ │ │ -0007ea10: 2074 6578 7466 6f6e 7428 466c 5f56 616c textfont(Fl_Val │ │ │ -0007ea20: 7565 5f4f 7574 7075 7420 7365 6c66 2920 ue_Output self) │ │ │ -0007ea30: 2d3e 2046 6c5f 466f 6e74 0a20 2020 2020 -> Fl_Font. │ │ │ -0007ea40: 2020 2074 6578 7466 6f6e 7428 466c 5f56 textfont(Fl_V │ │ │ -0007ea50: 616c 7565 5f4f 7574 7075 7420 7365 6c66 alue_Output self │ │ │ -0007ea60: 2c20 466c 5f46 6f6e 7420 7329 0a20 2020 , Fl_Font s). │ │ │ -0007ea70: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ -0007ea80: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -0007ea90: 5f56 616c 7565 5f4f 7574 7075 745f 7465 _Value_Output_te │ │ │ -0007eaa0: 7874 666f 6e74 2873 656c 662c 202a 6172 xtfont(self, *ar │ │ │ -0007eab0: 6773 290a 0a20 2020 2064 6566 2074 6578 gs).. def tex │ │ │ -0007eac0: 7473 697a 6528 7365 6c66 2c20 2a61 7267 tsize(self, *arg │ │ │ -0007ead0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0007eae0: 0a20 2020 2020 2020 2074 6578 7473 697a . textsiz │ │ │ -0007eaf0: 6528 466c 5f56 616c 7565 5f4f 7574 7075 e(Fl_Value_Outpu │ │ │ -0007eb00: 7420 7365 6c66 2920 2d3e 2046 6c5f 466f t self) -> Fl_Fo │ │ │ -0007eb10: 6e74 7369 7a65 0a20 2020 2020 2020 2074 ntsize. t │ │ │ -0007eb20: 6578 7473 697a 6528 466c 5f56 616c 7565 extsize(Fl_Value │ │ │ -0007eb30: 5f4f 7574 7075 7420 7365 6c66 2c20 466c _Output self, Fl │ │ │ -0007eb40: 5f46 6f6e 7473 697a 6520 7329 0a20 2020 _Fontsize s). │ │ │ -0007eb50: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ -0007eb60: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -0007eb70: 5f56 616c 7565 5f4f 7574 7075 745f 7465 _Value_Output_te │ │ │ -0007eb80: 7874 7369 7a65 2873 656c 662c 202a 6172 xtsize(self, *ar │ │ │ -0007eb90: 6773 290a 0a20 2020 2064 6566 2074 6578 gs).. def tex │ │ │ -0007eba0: 7463 6f6c 6f72 2873 656c 662c 202a 6172 tcolor(self, *ar │ │ │ -0007ebb0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -0007ebc0: 220a 2020 2020 2020 2020 7465 7874 636f ". textco │ │ │ -0007ebd0: 6c6f 7228 466c 5f56 616c 7565 5f4f 7574 lor(Fl_Value_Out │ │ │ -0007ebe0: 7075 7420 7365 6c66 2920 2d3e 2046 6c5f put self) -> Fl_ │ │ │ -0007ebf0: 436f 6c6f 720a 2020 2020 2020 2020 7465 Color. te │ │ │ -0007ec00: 7874 636f 6c6f 7228 466c 5f56 616c 7565 xtcolor(Fl_Value │ │ │ -0007ec10: 5f4f 7574 7075 7420 7365 6c66 2c20 466c _Output self, Fl │ │ │ -0007ec20: 5f43 6f6c 6f72 2073 290a 2020 2020 2020 _Color s). │ │ │ -0007ec30: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ -0007ec40: 7475 726e 205f 666c 746b 2e46 6c5f 5661 turn _fltk.Fl_Va │ │ │ -0007ec50: 6c75 655f 4f75 7470 7574 5f74 6578 7463 lue_Output_textc │ │ │ -0007ec60: 6f6c 6f72 2873 656c 662c 202a 6172 6773 olor(self, *args │ │ │ -0007ec70: 290a 0a20 2020 2064 6566 2069 6e69 745f ).. def init_ │ │ │ -0007ec80: 7479 7065 2873 656c 662c 202a 6172 6773 type(self, *args │ │ │ -0007ec90: 293a 0a20 2020 2020 2020 2072 2222 2269 ):. r"""i │ │ │ -0007eca0: 6e69 745f 7479 7065 2846 6c5f 5661 6c75 nit_type(Fl_Valu │ │ │ -0007ecb0: 655f 4f75 7470 7574 2073 656c 662c 2063 e_Output self, c │ │ │ -0007ecc0: 6861 7220 2a20 466c 5f56 616c 7565 5f4f har * Fl_Value_O │ │ │ -0007ecd0: 7574 7075 7429 2222 220a 2020 2020 2020 utput)""". │ │ │ -0007ece0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -0007ecf0: 6c5f 5661 6c75 655f 4f75 7470 7574 5f69 l_Value_Output_i │ │ │ -0007ed00: 6e69 745f 7479 7065 2873 656c 662c 202a nit_type(self, * │ │ │ -0007ed10: 6172 6773 290a 2020 2020 5f5f 7377 6967 args). __swig │ │ │ -0007ed20: 5f64 6573 7472 6f79 5f5f 203d 205f 666c _destroy__ = _fl │ │ │ -0007ed30: 746b 2e64 656c 6574 655f 466c 5f56 616c tk.delete_Fl_Val │ │ │ -0007ed40: 7565 5f4f 7574 7075 740a 2020 2020 6465 ue_Output. de │ │ │ -0007ed50: 6620 5f5f 6469 736f 776e 5f5f 2873 656c f __disown__(sel │ │ │ -0007ed60: 6629 3a0a 2020 2020 2020 2020 7365 6c66 f):. self │ │ │ -0007ed70: 2e74 6869 732e 6469 736f 776e 2829 0a20 .this.disown(). │ │ │ -0007ed80: 2020 2020 2020 205f 666c 746b 2e64 6973 _fltk.dis │ │ │ -0007ed90: 6f77 6e5f 466c 5f56 616c 7565 5f4f 7574 own_Fl_Value_Out │ │ │ -0007eda0: 7075 7428 7365 6c66 290a 2020 2020 2020 put(self). │ │ │ -0007edb0: 2020 7265 7475 726e 2077 6561 6b72 6566 return weakref │ │ │ -0007edc0: 2e70 726f 7879 2873 656c 6629 0a0a 2320 .proxy(self)..# │ │ │ -0007edd0: 5265 6769 7374 6572 2046 6c5f 5661 6c75 Register Fl_Valu │ │ │ -0007ede0: 655f 4f75 7470 7574 2069 6e20 5f66 6c74 e_Output in _flt │ │ │ -0007edf0: 6b3a 0a5f 666c 746b 2e46 6c5f 5661 6c75 k:._fltk.Fl_Valu │ │ │ -0007ee00: 655f 4f75 7470 7574 5f73 7769 6772 6567 e_Output_swigreg │ │ │ -0007ee10: 6973 7465 7228 466c 5f56 616c 7565 5f4f ister(Fl_Value_O │ │ │ -0007ee20: 7574 7075 7429 0a63 6c61 7373 2046 6c5f utput).class Fl_ │ │ │ -0007ee30: 5769 7a61 7264 2846 6c5f 4772 6f75 7029 Wizard(Fl_Group) │ │ │ -0007ee40: 3a0a 2020 2020 7222 2222 0a0a 2020 2020 :. r""".. │ │ │ -0007ee50: 5468 6520 466c 5f57 697a 6172 6420 7769 The Fl_Wizard wi │ │ │ -0007ee60: 6467 6574 2069 7320 6261 7365 6420 6f66 dget is based of │ │ │ -0007ee70: 6620 7468 6520 466c 5f54 6162 7320 7769 f the Fl_Tabs wi │ │ │ -0007ee80: 6467 6574 2c20 6275 7420 696e 7374 6561 dget, but instea │ │ │ -0007ee90: 6420 6f66 200a 2020 2020 6469 7370 6c61 d of . displa │ │ │ -0007eea0: 7969 6e67 2074 6162 7320 6974 206f 6e6c ying tabs it onl │ │ │ -0007eeb0: 7920 6368 616e 6765 7320 2774 6162 7327 y changes 'tabs' │ │ │ -0007eec0: 2075 6e64 6572 2070 726f 6772 616d 2063 under program c │ │ │ -0007eed0: 6f6e 7472 6f6c 2e20 4974 7320 7072 696d ontrol. Its prim │ │ │ -0007eee0: 6172 7920 0a20 2020 2070 7572 706f 7365 ary . purpose │ │ │ -0007eef0: 2069 7320 746f 2073 7570 706f 7274 2027 is to support ' │ │ │ -0007ef00: 7769 7a61 7264 7327 2074 6861 7420 7374 wizards' that st │ │ │ -0007ef10: 6570 2061 2075 7365 7220 7468 726f 7567 ep a user throug │ │ │ -0007ef20: 6820 636f 6e66 6967 7572 6174 696f 6e20 h configuration │ │ │ -0007ef30: 6f72 200a 2020 2020 7472 6f75 626c 6573 or . troubles │ │ │ -0007ef40: 686f 6f74 696e 6720 7461 736b 732e 0a0a hooting tasks... │ │ │ -0007ef50: 2020 2020 4173 2077 6974 6820 466c 5f54 As with Fl_T │ │ │ -0007ef60: 6162 732c 2077 697a 6172 6420 7061 6e65 abs, wizard pane │ │ │ -0007ef70: 7320 6172 6520 636f 6d70 6f73 6564 206f s are composed o │ │ │ -0007ef80: 6620 6368 696c 6420 2875 7375 616c 6c79 f child (usually │ │ │ -0007ef90: 2046 6c5f 4772 6f75 7029 200a 2020 2020 Fl_Group) . │ │ │ -0007efa0: 7769 6467 6574 732e 204e 6176 6967 6174 widgets. Navigat │ │ │ -0007efb0: 696f 6e20 6275 7474 6f6e 7320 6d75 7374 ion buttons must │ │ │ -0007efc0: 2062 6520 6164 6465 6420 7365 7061 7261 be added separa │ │ │ -0007efd0: 7465 6c79 2e20 0a0a 2020 2020 2222 220a tely. .. """. │ │ │ -0007efe0: 0a20 2020 2074 6869 736f 776e 203d 2070 . thisown = p │ │ │ -0007eff0: 726f 7065 7274 7928 6c61 6d62 6461 2078 roperty(lambda x │ │ │ -0007f000: 3a20 782e 7468 6973 2e6f 776e 2829 2c20 : x.this.own(), │ │ │ -0007f010: 6c61 6d62 6461 2078 2c20 763a 2078 2e74 lambda x, v: x.t │ │ │ -0007f020: 6869 732e 6f77 6e28 7629 2c20 646f 633d his.own(v), doc= │ │ │ -0007f030: 2254 6865 206d 656d 6265 7273 6869 7020 "The membership │ │ │ -0007f040: 666c 6167 2229 0a20 2020 205f 5f72 6570 flag"). __rep │ │ │ -0007f050: 725f 5f20 3d20 5f73 7769 675f 7265 7072 r__ = _swig_repr │ │ │ -0007f060: 0a0a 2020 2020 6465 6620 6472 6177 2873 .. def draw(s │ │ │ -0007f070: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -0007f080: 2020 2020 2072 2222 2264 7261 7728 466c r"""draw(Fl │ │ │ -0007f090: 5f57 697a 6172 6420 7365 6c66 2922 2222 _Wizard self)""" │ │ │ -0007f0a0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -0007f0b0: 5f66 6c74 6b2e 466c 5f57 697a 6172 645f _fltk.Fl_Wizard_ │ │ │ -0007f0c0: 6472 6177 2873 656c 662c 202a 6172 6773 draw(self, *args │ │ │ -0007f0d0: 290a 0a20 2020 2064 6566 205f 5f69 6e69 ).. def __ini │ │ │ -0007f0e0: 745f 5f28 7365 6c66 2c20 2a61 7267 7329 t__(self, *args) │ │ │ -0007f0f0: 3a0a 2020 2020 2020 2020 7222 2222 5f5f :. r"""__ │ │ │ -0007f100: 696e 6974 5f5f 2846 6c5f 5769 7a61 7264 init__(Fl_Wizard │ │ │ -0007f110: 2073 656c 662c 2069 6e74 2061 7267 322c self, int arg2, │ │ │ -0007f120: 2069 6e74 2061 7267 332c 2069 6e74 2061 int arg3, int a │ │ │ -0007f130: 7267 342c 2069 6e74 2061 7267 352c 2063 rg4, int arg5, c │ │ │ -0007f140: 6861 7220 636f 6e73 7420 2a20 6172 6736 har const * arg6 │ │ │ -0007f150: 3d4e 6f6e 6529 202d 3e20 466c 5f57 697a =None) -> Fl_Wiz │ │ │ -0007f160: 6172 6422 2222 0a20 2020 2020 2020 2069 ard""". i │ │ │ -0007f170: 6620 7365 6c66 2e5f 5f63 6c61 7373 5f5f f self.__class__ │ │ │ -0007f180: 203d 3d20 466c 5f57 697a 6172 643a 0a20 == Fl_Wizard:. │ │ │ -0007f190: 2020 2020 2020 2020 2020 205f 7365 6c66 _self │ │ │ -0007f1a0: 203d 204e 6f6e 650a 2020 2020 2020 2020 = None. │ │ │ -0007f1b0: 656c 7365 3a0a 2020 2020 2020 2020 2020 else:. │ │ │ -0007f1c0: 2020 5f73 656c 6620 3d20 7365 6c66 0a20 _self = self. │ │ │ -0007f1d0: 2020 2020 2020 205f 666c 746b 2e46 6c5f _fltk.Fl_ │ │ │ -0007f1e0: 5769 7a61 7264 5f73 7769 6769 6e69 7428 Wizard_swiginit( │ │ │ -0007f1f0: 7365 6c66 2c20 5f66 6c74 6b2e 6e65 775f self, _fltk.new_ │ │ │ -0007f200: 466c 5f57 697a 6172 6428 5f73 656c 662c Fl_Wizard(_self, │ │ │ -0007f210: 202a 6172 6773 2929 0a0a 2020 2020 2020 *args)).. │ │ │ -0007f220: 2020 6966 206c 656e 2861 7267 7329 203d if len(args) = │ │ │ -0007f230: 3d20 353a 2020 2020 2020 2020 2020 0a20 = 5: . │ │ │ -0007f240: 2020 2020 2020 2023 7265 7461 696e 2072 #retain r │ │ │ -0007f250: 6566 6572 656e 6365 2074 6f20 6c61 6265 eference to labe │ │ │ -0007f260: 6c0a 2020 2020 2020 2020 2020 2020 7365 l. se │ │ │ -0007f270: 6c66 2e6d 795f 6c61 6265 6c20 3d20 6172 lf.my_label = ar │ │ │ -0007f280: 6773 5b2d 315d 0a20 2020 2020 2020 2069 gs[-1]. i │ │ │ -0007f290: 6620 7365 6c66 2e70 6172 656e 7428 2920 f self.parent() │ │ │ -0007f2a0: 213d 204e 6f6e 653a 2020 200a 2020 2020 != None: . │ │ │ -0007f2b0: 2020 2020 2364 656c 6567 6174 6520 6f77 #delegate ow │ │ │ -0007f2c0: 6e65 7273 6869 7020 746f 2043 2b2b 0a20 nership to C++. │ │ │ -0007f2d0: 2020 2020 2020 2020 2020 2073 656c 662e self. │ │ │ -0007f2e0: 7468 6973 2e64 6973 6f77 6e28 290a 2020 this.disown(). │ │ │ -0007f2f0: 2020 2020 2020 7365 6c66 2e69 6e69 745f self.init_ │ │ │ -0007f300: 7479 7065 2822 466c 5f57 697a 6172 6422 type("Fl_Wizard" │ │ │ -0007f310: 290a 2020 2020 2020 2020 2370 7269 6e74 ). #print │ │ │ -0007f320: 2822 4164 6469 6e67 2074 7970 653a 2022 ("Adding type: " │ │ │ -0007f330: 2c20 466c 5f57 697a 6172 6429 0a0a 0a0a , Fl_Wizard).... │ │ │ -0007f340: 0a20 2020 2064 6566 206e 6578 7428 7365 . def next(se │ │ │ -0007f350: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -0007f360: 2020 2020 7222 2222 6e65 7874 2846 6c5f r"""next(Fl_ │ │ │ -0007f370: 5769 7a61 7264 2073 656c 6629 2222 220a Wizard self)""". │ │ │ -0007f380: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -0007f390: 666c 746b 2e46 6c5f 5769 7a61 7264 5f6e fltk.Fl_Wizard_n │ │ │ -0007f3a0: 6578 7428 7365 6c66 2c20 2a61 7267 7329 ext(self, *args) │ │ │ -0007f3b0: 0a0a 2020 2020 6465 6620 7072 6576 2873 .. def prev(s │ │ │ -0007f3c0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -0007f3d0: 2020 2020 2072 2222 2270 7265 7628 466c r"""prev(Fl │ │ │ -0007f3e0: 5f57 697a 6172 6420 7365 6c66 2922 2222 _Wizard self)""" │ │ │ -0007f3f0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -0007f400: 5f66 6c74 6b2e 466c 5f57 697a 6172 645f _fltk.Fl_Wizard_ │ │ │ -0007f410: 7072 6576 2873 656c 662c 202a 6172 6773 prev(self, *args │ │ │ -0007f420: 290a 0a20 2020 2064 6566 2076 616c 7565 ).. def value │ │ │ -0007f430: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -0007f440: 2020 2020 2020 2072 2222 220a 2020 2020 r""". │ │ │ -0007f450: 2020 2020 7661 6c75 6528 466c 5f57 697a value(Fl_Wiz │ │ │ -0007f460: 6172 6420 7365 6c66 2920 2d3e 2046 6c5f ard self) -> Fl_ │ │ │ -0007f470: 5769 6467 6574 0a20 2020 2020 2020 2076 Widget. v │ │ │ -0007f480: 616c 7565 2846 6c5f 5769 7a61 7264 2073 alue(Fl_Wizard s │ │ │ -0007f490: 656c 662c 2046 6c5f 5769 6467 6574 2061 elf, Fl_Widget a │ │ │ -0007f4a0: 7267 3229 0a20 2020 2020 2020 2022 2222 rg2). """ │ │ │ -0007f4b0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -0007f4c0: 5f66 6c74 6b2e 466c 5f57 697a 6172 645f _fltk.Fl_Wizard_ │ │ │ -0007f4d0: 7661 6c75 6528 7365 6c66 2c20 2a61 7267 value(self, *arg │ │ │ -0007f4e0: 7329 0a0a 2020 2020 6465 6620 696e 6974 s).. def init │ │ │ -0007f4f0: 5f74 7970 6528 7365 6c66 2c20 2a61 7267 _type(self, *arg │ │ │ -0007f500: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0007f510: 696e 6974 5f74 7970 6528 466c 5f57 697a init_type(Fl_Wiz │ │ │ -0007f520: 6172 6420 7365 6c66 2c20 6368 6172 202a ard self, char * │ │ │ -0007f530: 2046 6c5f 5769 7a61 7264 2922 2222 0a20 Fl_Wizard)""". │ │ │ -0007f540: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -0007f550: 6c74 6b2e 466c 5f57 697a 6172 645f 696e ltk.Fl_Wizard_in │ │ │ -0007f560: 6974 5f74 7970 6528 7365 6c66 2c20 2a61 it_type(self, *a │ │ │ -0007f570: 7267 7329 0a20 2020 205f 5f73 7769 675f rgs). __swig_ │ │ │ -0007f580: 6465 7374 726f 795f 5f20 3d20 5f66 6c74 destroy__ = _flt │ │ │ -0007f590: 6b2e 6465 6c65 7465 5f46 6c5f 5769 7a61 k.delete_Fl_Wiza │ │ │ -0007f5a0: 7264 0a20 2020 2064 6566 205f 5f64 6973 rd. def __dis │ │ │ -0007f5b0: 6f77 6e5f 5f28 7365 6c66 293a 0a20 2020 own__(self):. │ │ │ -0007f5c0: 2020 2020 2073 656c 662e 7468 6973 2e64 self.this.d │ │ │ -0007f5d0: 6973 6f77 6e28 290a 2020 2020 2020 2020 isown(). │ │ │ -0007f5e0: 5f66 6c74 6b2e 6469 736f 776e 5f46 6c5f _fltk.disown_Fl_ │ │ │ -0007f5f0: 5769 7a61 7264 2873 656c 6629 0a20 2020 Wizard(self). │ │ │ -0007f600: 2020 2020 2072 6574 7572 6e20 7765 616b return weak │ │ │ -0007f610: 7265 662e 7072 6f78 7928 7365 6c66 290a ref.proxy(self). │ │ │ -0007f620: 0a23 2052 6567 6973 7465 7220 466c 5f57 .# Register Fl_W │ │ │ -0007f630: 697a 6172 6420 696e 205f 666c 746b 3a0a izard in _fltk:. │ │ │ -0007f640: 5f66 6c74 6b2e 466c 5f57 697a 6172 645f _fltk.Fl_Wizard_ │ │ │ -0007f650: 7377 6967 7265 6769 7374 6572 2846 6c5f swigregister(Fl_ │ │ │ -0007f660: 5769 7a61 7264 290a 636c 6173 7320 466c Wizard).class Fl │ │ │ -0007f670: 5f58 424d 5f49 6d61 6765 2846 6c5f 4269 _XBM_Image(Fl_Bi │ │ │ -0007f680: 746d 6170 293a 0a20 2020 2072 2222 220a tmap):. r""". │ │ │ -0007f690: 0a20 2020 2054 6865 2046 6c5f 5842 4d5f . The Fl_XBM_ │ │ │ -0007f6a0: 496d 6167 6520 636c 6173 7320 7375 7070 Image class supp │ │ │ -0007f6b0: 6f72 7473 206c 6f61 6469 6e67 2c20 6361 orts loading, ca │ │ │ -0007f6c0: 6368 696e 672c 2061 6e64 2064 7261 7769 ching, and drawi │ │ │ -0007f6d0: 6e67 206f 6620 5820 4269 746d 6170 200a ng of X Bitmap . │ │ │ -0007f6e0: 2020 2020 2858 424d 2920 6269 746d 6170 (XBM) bitmap │ │ │ -0007f6f0: 2066 696c 6573 2e0a 0a20 2020 2022 2222 files... """ │ │ │ -0007f700: 0a0a 2020 2020 7468 6973 6f77 6e20 3d20 .. thisown = │ │ │ -0007f710: 7072 6f70 6572 7479 286c 616d 6264 6120 property(lambda │ │ │ -0007f720: 783a 2078 2e74 6869 732e 6f77 6e28 292c x: x.this.own(), │ │ │ -0007f730: 206c 616d 6264 6120 782c 2076 3a20 782e lambda x, v: x. │ │ │ -0007f740: 7468 6973 2e6f 776e 2876 292c 2064 6f63 this.own(v), doc │ │ │ -0007f750: 3d22 5468 6520 6d65 6d62 6572 7368 6970 ="The membership │ │ │ -0007f760: 2066 6c61 6722 290a 2020 2020 5f5f 7265 flag"). __re │ │ │ -0007f770: 7072 5f5f 203d 205f 7377 6967 5f72 6570 pr__ = _swig_rep │ │ │ -0007f780: 720a 0a20 2020 2064 6566 205f 5f69 6e69 r.. def __ini │ │ │ -0007f790: 745f 5f28 7365 6c66 2c20 2a61 7267 7329 t__(self, *args) │ │ │ -0007f7a0: 3a0a 2020 2020 2020 2020 7222 2222 5f5f :. r"""__ │ │ │ -0007f7b0: 696e 6974 5f5f 2846 6c5f 5842 4d5f 496d init__(Fl_XBM_Im │ │ │ -0007f7c0: 6167 6520 7365 6c66 2c20 6368 6172 2063 age self, char c │ │ │ -0007f7d0: 6f6e 7374 202a 2066 696c 656e 616d 6529 onst * filename) │ │ │ -0007f7e0: 202d 3e20 466c 5f58 424d 5f49 6d61 6765 -> Fl_XBM_Image │ │ │ -0007f7f0: 2222 220a 2020 2020 2020 2020 6966 2073 """. if s │ │ │ -0007f800: 656c 662e 5f5f 636c 6173 735f 5f20 3d3d elf.__class__ == │ │ │ -0007f810: 2046 6c5f 5842 4d5f 496d 6167 653a 0a20 Fl_XBM_Image:. │ │ │ -0007f820: 2020 2020 2020 2020 2020 205f 7365 6c66 _self │ │ │ -0007f830: 203d 204e 6f6e 650a 2020 2020 2020 2020 = None. │ │ │ -0007f840: 656c 7365 3a0a 2020 2020 2020 2020 2020 else:. │ │ │ -0007f850: 2020 5f73 656c 6620 3d20 7365 6c66 0a20 _self = self. │ │ │ -0007f860: 2020 2020 2020 205f 666c 746b 2e46 6c5f _fltk.Fl_ │ │ │ -0007f870: 5842 4d5f 496d 6167 655f 7377 6967 696e XBM_Image_swigin │ │ │ -0007f880: 6974 2873 656c 662c 205f 666c 746b 2e6e it(self, _fltk.n │ │ │ -0007f890: 6577 5f46 6c5f 5842 4d5f 496d 6167 6528 ew_Fl_XBM_Image( │ │ │ -0007f8a0: 5f73 656c 662c 202a 6172 6773 2929 0a20 _self, *args)). │ │ │ -0007f8b0: 2020 205f 5f73 7769 675f 6465 7374 726f __swig_destro │ │ │ -0007f8c0: 795f 5f20 3d20 5f66 6c74 6b2e 6465 6c65 y__ = _fltk.dele │ │ │ -0007f8d0: 7465 5f46 6c5f 5842 4d5f 496d 6167 650a te_Fl_XBM_Image. │ │ │ -0007f8e0: 2020 2020 6465 6620 5f5f 6469 736f 776e def __disown │ │ │ -0007f8f0: 5f5f 2873 656c 6629 3a0a 2020 2020 2020 __(self):. │ │ │ -0007f900: 2020 7365 6c66 2e74 6869 732e 6469 736f self.this.diso │ │ │ -0007f910: 776e 2829 0a20 2020 2020 2020 205f 666c wn(). _fl │ │ │ -0007f920: 746b 2e64 6973 6f77 6e5f 466c 5f58 424d tk.disown_Fl_XBM │ │ │ -0007f930: 5f49 6d61 6765 2873 656c 6629 0a20 2020 _Image(self). │ │ │ -0007f940: 2020 2020 2072 6574 7572 6e20 7765 616b return weak │ │ │ -0007f950: 7265 662e 7072 6f78 7928 7365 6c66 290a ref.proxy(self). │ │ │ -0007f960: 0a23 2052 6567 6973 7465 7220 466c 5f58 .# Register Fl_X │ │ │ -0007f970: 424d 5f49 6d61 6765 2069 6e20 5f66 6c74 BM_Image in _flt │ │ │ -0007f980: 6b3a 0a5f 666c 746b 2e46 6c5f 5842 4d5f k:._fltk.Fl_XBM_ │ │ │ -0007f990: 496d 6167 655f 7377 6967 7265 6769 7374 Image_swigregist │ │ │ -0007f9a0: 6572 2846 6c5f 5842 4d5f 496d 6167 6529 er(Fl_XBM_Image) │ │ │ -0007f9b0: 0a63 6c61 7373 2046 6c5f 5850 4d5f 496d .class Fl_XPM_Im │ │ │ -0007f9c0: 6167 6528 466c 5f50 6978 6d61 7029 3a0a age(Fl_Pixmap):. │ │ │ -0007f9d0: 2020 2020 7222 2222 0a0a 2020 2020 5468 r""".. Th │ │ │ -0007f9e0: 6520 466c 5f58 504d 5f49 6d61 6765 2063 e Fl_XPM_Image c │ │ │ -0007f9f0: 6c61 7373 2073 7570 706f 7274 7320 6c6f lass supports lo │ │ │ -0007fa00: 6164 696e 672c 2063 6163 6869 6e67 2c20 ading, caching, │ │ │ -0007fa10: 616e 6420 6472 6177 696e 6720 6f66 2058 and drawing of X │ │ │ -0007fa20: 2050 6978 6d61 7020 2858 504d 2920 696d Pixmap (XPM) im │ │ │ -0007fa30: 6167 6573 2c20 696e 636c 7564 696e 6720 ages, including │ │ │ -0007fa40: 7472 616e 7370 6172 656e 6379 2e0a 0a20 transparency... │ │ │ -0007fa50: 2020 2022 2222 0a0a 2020 2020 7468 6973 """.. this │ │ │ -0007fa60: 6f77 6e20 3d20 7072 6f70 6572 7479 286c own = property(l │ │ │ -0007fa70: 616d 6264 6120 783a 2078 2e74 6869 732e ambda x: x.this. │ │ │ -0007fa80: 6f77 6e28 292c 206c 616d 6264 6120 782c own(), lambda x, │ │ │ -0007fa90: 2076 3a20 782e 7468 6973 2e6f 776e 2876 v: x.this.own(v │ │ │ -0007faa0: 292c 2064 6f63 3d22 5468 6520 6d65 6d62 ), doc="The memb │ │ │ -0007fab0: 6572 7368 6970 2066 6c61 6722 290a 2020 ership flag"). │ │ │ -0007fac0: 2020 5f5f 7265 7072 5f5f 203d 205f 7377 __repr__ = _sw │ │ │ -0007fad0: 6967 5f72 6570 720a 0a20 2020 2064 6566 ig_repr.. def │ │ │ -0007fae0: 205f 5f69 6e69 745f 5f28 7365 6c66 2c20 __init__(self, │ │ │ -0007faf0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -0007fb00: 7222 2222 5f5f 696e 6974 5f5f 2846 6c5f r"""__init__(Fl_ │ │ │ -0007fb10: 5850 4d5f 496d 6167 6520 7365 6c66 2c20 XPM_Image self, │ │ │ -0007fb20: 6368 6172 2063 6f6e 7374 202a 2066 696c char const * fil │ │ │ -0007fb30: 656e 616d 6529 202d 3e20 466c 5f58 504d ename) -> Fl_XPM │ │ │ -0007fb40: 5f49 6d61 6765 2222 220a 2020 2020 2020 _Image""". │ │ │ -0007fb50: 2020 6966 2073 656c 662e 5f5f 636c 6173 if self.__clas │ │ │ -0007fb60: 735f 5f20 3d3d 2046 6c5f 5850 4d5f 496d s__ == Fl_XPM_Im │ │ │ -0007fb70: 6167 653a 0a20 2020 2020 2020 2020 2020 age:. │ │ │ -0007fb80: 205f 7365 6c66 203d 204e 6f6e 650a 2020 _self = None. │ │ │ -0007fb90: 2020 2020 2020 656c 7365 3a0a 2020 2020 else:. │ │ │ -0007fba0: 2020 2020 2020 2020 5f73 656c 6620 3d20 _self = │ │ │ -0007fbb0: 7365 6c66 0a20 2020 2020 2020 205f 666c self. _fl │ │ │ -0007fbc0: 746b 2e46 6c5f 5850 4d5f 496d 6167 655f tk.Fl_XPM_Image_ │ │ │ -0007fbd0: 7377 6967 696e 6974 2873 656c 662c 205f swiginit(self, _ │ │ │ -0007fbe0: 666c 746b 2e6e 6577 5f46 6c5f 5850 4d5f fltk.new_Fl_XPM_ │ │ │ -0007fbf0: 496d 6167 6528 5f73 656c 662c 202a 6172 Image(_self, *ar │ │ │ -0007fc00: 6773 2929 0a20 2020 205f 5f73 7769 675f gs)). __swig_ │ │ │ -0007fc10: 6465 7374 726f 795f 5f20 3d20 5f66 6c74 destroy__ = _flt │ │ │ -0007fc20: 6b2e 6465 6c65 7465 5f46 6c5f 5850 4d5f k.delete_Fl_XPM_ │ │ │ -0007fc30: 496d 6167 650a 2020 2020 6465 6620 5f5f Image. def __ │ │ │ -0007fc40: 6469 736f 776e 5f5f 2873 656c 6629 3a0a disown__(self):. │ │ │ -0007fc50: 2020 2020 2020 2020 7365 6c66 2e74 6869 self.thi │ │ │ -0007fc60: 732e 6469 736f 776e 2829 0a20 2020 2020 s.disown(). │ │ │ -0007fc70: 2020 205f 666c 746b 2e64 6973 6f77 6e5f _fltk.disown_ │ │ │ -0007fc80: 466c 5f58 504d 5f49 6d61 6765 2873 656c Fl_XPM_Image(sel │ │ │ -0007fc90: 6629 0a20 2020 2020 2020 2072 6574 7572 f). retur │ │ │ -0007fca0: 6e20 7765 616b 7265 662e 7072 6f78 7928 n weakref.proxy( │ │ │ -0007fcb0: 7365 6c66 290a 0a23 2052 6567 6973 7465 self)..# Registe │ │ │ -0007fcc0: 7220 466c 5f58 504d 5f49 6d61 6765 2069 r Fl_XPM_Image i │ │ │ -0007fcd0: 6e20 5f66 6c74 6b3a 0a5f 666c 746b 2e46 n _fltk:._fltk.F │ │ │ -0007fce0: 6c5f 5850 4d5f 496d 6167 655f 7377 6967 l_XPM_Image_swig │ │ │ -0007fcf0: 7265 6769 7374 6572 2846 6c5f 5850 4d5f register(Fl_XPM_ │ │ │ -0007fd00: 496d 6167 6529 0a63 6c61 7373 2046 6c5f Image).class Fl_ │ │ │ -0007fd10: 5828 6f62 6a65 6374 293a 0a20 2020 2072 X(object):. r │ │ │ -0007fd20: 2222 2250 726f 7879 206f 6620 432b 2b20 """Proxy of C++ │ │ │ -0007fd30: 466c 5f58 2063 6c61 7373 2e22 2222 0a0a Fl_X class.""".. │ │ │ -0007fd40: 2020 2020 7468 6973 6f77 6e20 3d20 7072 thisown = pr │ │ │ -0007fd50: 6f70 6572 7479 286c 616d 6264 6120 783a operty(lambda x: │ │ │ -0007fd60: 2078 2e74 6869 732e 6f77 6e28 292c 206c x.this.own(), l │ │ │ -0007fd70: 616d 6264 6120 782c 2076 3a20 782e 7468 ambda x, v: x.th │ │ │ -0007fd80: 6973 2e6f 776e 2876 292c 2064 6f63 3d22 is.own(v), doc=" │ │ │ -0007fd90: 5468 6520 6d65 6d62 6572 7368 6970 2066 The membership f │ │ │ -0007fda0: 6c61 6722 290a 2020 2020 5f5f 7265 7072 lag"). __repr │ │ │ -0007fdb0: 5f5f 203d 205f 7377 6967 5f72 6570 720a __ = _swig_repr. │ │ │ -0007fdc0: 0a20 2020 2040 7374 6174 6963 6d65 7468 . @staticmeth │ │ │ -0007fdd0: 6f64 0a20 2020 2064 6566 2066 6c78 282a od. def flx(* │ │ │ -0007fde0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -0007fdf0: 2222 2266 6c78 2846 6c5f 5769 6e64 6f77 """flx(Fl_Window │ │ │ -0007fe00: 2077 2920 2d3e 2046 6c5f 5822 2222 0a20 w) -> Fl_X""". │ │ │ -0007fe10: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -0007fe20: 6c74 6b2e 466c 5f58 5f66 6c78 282a 6172 ltk.Fl_X_flx(*ar │ │ │ -0007fe30: 6773 290a 0a20 2020 2064 6566 205f 5f69 gs).. def __i │ │ │ -0007fe40: 6e69 745f 5f28 7365 6c66 2c20 2a61 7267 nit__(self, *arg │ │ │ -0007fe50: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0007fe60: 5f5f 696e 6974 5f5f 2846 6c5f 5820 7365 __init__(Fl_X se │ │ │ -0007fe70: 6c66 2920 2d3e 2046 6c5f 5822 2222 0a20 lf) -> Fl_X""". │ │ │ -0007fe80: 2020 2020 2020 205f 666c 746b 2e46 6c5f _fltk.Fl_ │ │ │ -0007fe90: 585f 7377 6967 696e 6974 2873 656c 662c X_swiginit(self, │ │ │ -0007fea0: 205f 666c 746b 2e6e 6577 5f46 6c5f 5828 _fltk.new_Fl_X( │ │ │ -0007feb0: 2a61 7267 7329 290a 2020 2020 5f5f 7377 *args)). __sw │ │ │ -0007fec0: 6967 5f64 6573 7472 6f79 5f5f 203d 205f ig_destroy__ = _ │ │ │ -0007fed0: 666c 746b 2e64 656c 6574 655f 466c 5f58 fltk.delete_Fl_X │ │ │ -0007fee0: 0a0a 2320 5265 6769 7374 6572 2046 6c5f ..# Register Fl_ │ │ │ -0007fef0: 5820 696e 205f 666c 746b 3a0a 5f66 6c74 X in _fltk:._flt │ │ │ -0007ff00: 6b2e 466c 5f58 5f73 7769 6772 6567 6973 k.Fl_X_swigregis │ │ │ -0007ff10: 7465 7228 466c 5f58 290a 0a64 6566 2066 ter(Fl_X)..def f │ │ │ -0007ff20: 6c5f 7869 6428 2a61 7267 7329 3a0a 2020 l_xid(*args):. │ │ │ -0007ff30: 2020 7222 2222 666c 5f78 6964 2846 6c5f r"""fl_xid(Fl_ │ │ │ -0007ff40: 5769 6e64 6f77 2077 2920 2d3e 2057 696e Window w) -> Win │ │ │ -0007ff50: 646f 7722 2222 0a20 2020 2072 6574 7572 dow""". retur │ │ │ -0007ff60: 6e20 5f66 6c74 6b2e 666c 5f78 6964 282a n _fltk.fl_xid(* │ │ │ -0007ff70: 6172 6773 290a 0a64 6566 2066 6c5f 6669 args)..def fl_fi │ │ │ -0007ff80: 6e64 282a 6172 6773 293a 0a20 2020 2072 nd(*args):. r │ │ │ -0007ff90: 2222 2266 6c5f 6669 6e64 2857 696e 646f """fl_find(Windo │ │ │ -0007ffa0: 7720 7869 6429 202d 3e20 466c 5f57 696e w xid) -> Fl_Win │ │ │ -0007ffb0: 646f 7722 2222 0a20 2020 2072 6574 7572 dow""". retur │ │ │ -0007ffc0: 6e20 5f66 6c74 6b2e 666c 5f66 696e 6428 n _fltk.fl_find( │ │ │ -0007ffd0: 2a61 7267 7329 0a0a 6465 6620 666c 5f6f *args)..def fl_o │ │ │ -0007ffe0: 7065 6e5f 6469 7370 6c61 7928 2a61 7267 pen_display(*arg │ │ │ -0007fff0: 7329 3a0a 2020 2020 7222 2222 666c 5f6f s):. r"""fl_o │ │ │ -00080000: 7065 6e5f 6469 7370 6c61 7928 2922 2222 pen_display()""" │ │ │ -00080010: 0a20 2020 2072 6574 7572 6e20 5f66 6c74 . return _flt │ │ │ -00080020: 6b2e 666c 5f6f 7065 6e5f 6469 7370 6c61 k.fl_open_displa │ │ │ -00080030: 7928 2a61 7267 7329 0a0a 6465 6620 666c y(*args)..def fl │ │ │ -00080040: 5f63 6c6f 7365 5f64 6973 706c 6179 282a _close_display(* │ │ │ -00080050: 6172 6773 293a 0a20 2020 2072 2222 2266 args):. r"""f │ │ │ -00080060: 6c5f 636c 6f73 655f 6469 7370 6c61 7928 l_close_display( │ │ │ -00080070: 2922 2222 0a20 2020 2072 6574 7572 6e20 )""". return │ │ │ -00080080: 5f66 6c74 6b2e 666c 5f63 6c6f 7365 5f64 _fltk.fl_close_d │ │ │ -00080090: 6973 706c 6179 282a 6172 6773 290a 0a64 isplay(*args)..d │ │ │ -000800a0: 6566 2066 6c5f 7061 7273 655f 636f 6c6f ef fl_parse_colo │ │ │ -000800b0: 7228 2a61 7267 7329 3a0a 2020 2020 7222 r(*args):. r" │ │ │ -000800c0: 2222 666c 5f70 6172 7365 5f63 6f6c 6f72 ""fl_parse_color │ │ │ -000800d0: 2863 6861 7220 636f 6e73 7420 2a20 702c (char const * p, │ │ │ -000800e0: 2075 6368 6172 2026 2072 2c20 7563 6861 uchar & r, ucha │ │ │ -000800f0: 7220 2620 672c 2075 6368 6172 2026 2062 r & g, uchar & b │ │ │ -00080100: 2920 2d3e 2069 6e74 2222 220a 2020 2020 ) -> int""". │ │ │ -00080110: 7265 7475 726e 205f 666c 746b 2e66 6c5f return _fltk.fl_ │ │ │ -00080120: 7061 7273 655f 636f 6c6f 7228 2a61 7267 parse_color(*arg │ │ │ -00080130: 7329 0a0a 6465 6620 666c 5f6f 7065 6e5f s)..def fl_open_ │ │ │ -00080140: 6361 6c6c 6261 636b 282a 6172 6773 293a callback(*args): │ │ │ -00080150: 0a20 2020 2072 2222 2266 6c5f 6f70 656e . r"""fl_open │ │ │ -00080160: 5f63 616c 6c62 6163 6b28 766f 6964 2028 _callback(void ( │ │ │ -00080170: 2a29 2863 6861 7220 636f 6e73 7420 2a29 *)(char const *) │ │ │ -00080180: 2061 7267 3129 2222 220a 2020 2020 7265 arg1)""". re │ │ │ -00080190: 7475 726e 205f 666c 746b 2e66 6c5f 6f70 turn _fltk.fl_op │ │ │ -000801a0: 656e 5f63 616c 6c62 6163 6b28 2a61 7267 en_callback(*arg │ │ │ -000801b0: 7329 0a46 4c5f 5452 4545 5f53 4f52 545f s).FL_TREE_SORT_ │ │ │ -000801c0: 4e4f 4e45 203d 205f 666c 746b 2e46 4c5f NONE = _fltk.FL_ │ │ │ -000801d0: 5452 4545 5f53 4f52 545f 4e4f 4e45 0a0a TREE_SORT_NONE.. │ │ │ -000801e0: 464c 5f54 5245 455f 534f 5254 5f41 5343 FL_TREE_SORT_ASC │ │ │ -000801f0: 454e 4449 4e47 203d 205f 666c 746b 2e46 ENDING = _fltk.F │ │ │ -00080200: 4c5f 5452 4545 5f53 4f52 545f 4153 4345 L_TREE_SORT_ASCE │ │ │ -00080210: 4e44 494e 470a 0a46 4c5f 5452 4545 5f53 NDING..FL_TREE_S │ │ │ -00080220: 4f52 545f 4445 5343 454e 4449 4e47 203d ORT_DESCENDING = │ │ │ -00080230: 205f 666c 746b 2e46 4c5f 5452 4545 5f53 _fltk.FL_TREE_S │ │ │ -00080240: 4f52 545f 4445 5343 454e 4449 4e47 0a0a ORT_DESCENDING.. │ │ │ -00080250: 464c 5f54 5245 455f 434f 4e4e 4543 544f FL_TREE_CONNECTO │ │ │ -00080260: 525f 4e4f 4e45 203d 205f 666c 746b 2e46 R_NONE = _fltk.F │ │ │ -00080270: 4c5f 5452 4545 5f43 4f4e 4e45 4354 4f52 L_TREE_CONNECTOR │ │ │ -00080280: 5f4e 4f4e 450a 0a46 4c5f 5452 4545 5f43 _NONE..FL_TREE_C │ │ │ -00080290: 4f4e 4e45 4354 4f52 5f44 4f54 5445 4420 ONNECTOR_DOTTED │ │ │ -000802a0: 3d20 5f66 6c74 6b2e 464c 5f54 5245 455f = _fltk.FL_TREE_ │ │ │ -000802b0: 434f 4e4e 4543 544f 525f 444f 5454 4544 CONNECTOR_DOTTED │ │ │ -000802c0: 0a0a 464c 5f54 5245 455f 434f 4e4e 4543 ..FL_TREE_CONNEC │ │ │ -000802d0: 544f 525f 534f 4c49 4420 3d20 5f66 6c74 TOR_SOLID = _flt │ │ │ -000802e0: 6b2e 464c 5f54 5245 455f 434f 4e4e 4543 k.FL_TREE_CONNEC │ │ │ -000802f0: 544f 525f 534f 4c49 440a 0a46 4c5f 5452 TOR_SOLID..FL_TR │ │ │ -00080300: 4545 5f53 454c 4543 545f 4e4f 4e45 203d EE_SELECT_NONE = │ │ │ -00080310: 205f 666c 746b 2e46 4c5f 5452 4545 5f53 _fltk.FL_TREE_S │ │ │ -00080320: 454c 4543 545f 4e4f 4e45 0a0a 464c 5f54 ELECT_NONE..FL_T │ │ │ -00080330: 5245 455f 5345 4c45 4354 5f53 494e 474c REE_SELECT_SINGL │ │ │ -00080340: 4520 3d20 5f66 6c74 6b2e 464c 5f54 5245 E = _fltk.FL_TRE │ │ │ -00080350: 455f 5345 4c45 4354 5f53 494e 474c 450a E_SELECT_SINGLE. │ │ │ -00080360: 0a46 4c5f 5452 4545 5f53 454c 4543 545f .FL_TREE_SELECT_ │ │ │ -00080370: 4d55 4c54 4920 3d20 5f66 6c74 6b2e 464c MULTI = _fltk.FL │ │ │ -00080380: 5f54 5245 455f 5345 4c45 4354 5f4d 554c _TREE_SELECT_MUL │ │ │ -00080390: 5449 0a0a 464c 5f54 5245 455f 5345 4c45 TI..FL_TREE_SELE │ │ │ -000803a0: 4354 5f53 494e 474c 455f 4452 4147 4741 CT_SINGLE_DRAGGA │ │ │ -000803b0: 424c 4520 3d20 5f66 6c74 6b2e 464c 5f54 BLE = _fltk.FL_T │ │ │ -000803c0: 5245 455f 5345 4c45 4354 5f53 494e 474c REE_SELECT_SINGL │ │ │ -000803d0: 455f 4452 4147 4741 424c 450a 0a46 4c5f E_DRAGGABLE..FL_ │ │ │ -000803e0: 5452 4545 5f53 454c 4543 5441 424c 455f TREE_SELECTABLE_ │ │ │ -000803f0: 4f4e 4345 203d 205f 666c 746b 2e46 4c5f ONCE = _fltk.FL_ │ │ │ -00080400: 5452 4545 5f53 454c 4543 5441 424c 455f TREE_SELECTABLE_ │ │ │ -00080410: 4f4e 4345 0a0a 464c 5f54 5245 455f 5345 ONCE..FL_TREE_SE │ │ │ -00080420: 4c45 4354 4142 4c45 5f41 4c57 4159 5320 LECTABLE_ALWAYS │ │ │ -00080430: 3d20 5f66 6c74 6b2e 464c 5f54 5245 455f = _fltk.FL_TREE_ │ │ │ -00080440: 5345 4c45 4354 4142 4c45 5f41 4c57 4159 SELECTABLE_ALWAY │ │ │ -00080450: 530a 0a46 4c5f 5452 4545 5f49 5445 4d5f S..FL_TREE_ITEM_ │ │ │ -00080460: 4452 4157 5f44 4546 4155 4c54 203d 205f DRAW_DEFAULT = _ │ │ │ -00080470: 666c 746b 2e46 4c5f 5452 4545 5f49 5445 fltk.FL_TREE_ITE │ │ │ -00080480: 4d5f 4452 4157 5f44 4546 4155 4c54 0a0a M_DRAW_DEFAULT.. │ │ │ -00080490: 464c 5f54 5245 455f 4954 454d 5f44 5241 FL_TREE_ITEM_DRA │ │ │ -000804a0: 575f 4c41 4245 4c5f 414e 445f 5749 4447 W_LABEL_AND_WIDG │ │ │ -000804b0: 4554 203d 205f 666c 746b 2e46 4c5f 5452 ET = _fltk.FL_TR │ │ │ -000804c0: 4545 5f49 5445 4d5f 4452 4157 5f4c 4142 EE_ITEM_DRAW_LAB │ │ │ -000804d0: 454c 5f41 4e44 5f57 4944 4745 540a 0a46 EL_AND_WIDGET..F │ │ │ -000804e0: 4c5f 5452 4545 5f49 5445 4d5f 4845 4947 L_TREE_ITEM_HEIG │ │ │ -000804f0: 4854 5f46 524f 4d5f 5749 4447 4554 203d HT_FROM_WIDGET = │ │ │ -00080500: 205f 666c 746b 2e46 4c5f 5452 4545 5f49 _fltk.FL_TREE_I │ │ │ -00080510: 5445 4d5f 4845 4947 4854 5f46 524f 4d5f TEM_HEIGHT_FROM_ │ │ │ -00080520: 5749 4447 4554 0a0a 636c 6173 7320 466c WIDGET..class Fl │ │ │ -00080530: 5f54 7265 655f 5072 6566 7328 6f62 6a65 _Tree_Prefs(obje │ │ │ -00080540: 6374 293a 0a20 2020 2072 2222 2250 726f ct):. r"""Pro │ │ │ -00080550: 7879 206f 6620 432b 2b20 466c 5f54 7265 xy of C++ Fl_Tre │ │ │ -00080560: 655f 5072 6566 7320 636c 6173 732e 2222 e_Prefs class."" │ │ │ -00080570: 220a 0a20 2020 2074 6869 736f 776e 203d ".. thisown = │ │ │ -00080580: 2070 726f 7065 7274 7928 6c61 6d62 6461 property(lambda │ │ │ -00080590: 2078 3a20 782e 7468 6973 2e6f 776e 2829 x: x.this.own() │ │ │ -000805a0: 2c20 6c61 6d62 6461 2078 2c20 763a 2078 , lambda x, v: x │ │ │ -000805b0: 2e74 6869 732e 6f77 6e28 7629 2c20 646f .this.own(v), do │ │ │ -000805c0: 633d 2254 6865 206d 656d 6265 7273 6869 c="The membershi │ │ │ -000805d0: 7020 666c 6167 2229 0a20 2020 205f 5f72 p flag"). __r │ │ │ -000805e0: 6570 725f 5f20 3d20 5f73 7769 675f 7265 epr__ = _swig_re │ │ │ -000805f0: 7072 0a0a 2020 2020 6465 6620 5f5f 696e pr.. def __in │ │ │ -00080600: 6974 5f5f 2873 656c 662c 202a 6172 6773 it__(self, *args │ │ │ -00080610: 293a 0a20 2020 2020 2020 2072 2222 225f ):. r"""_ │ │ │ -00080620: 5f69 6e69 745f 5f28 466c 5f54 7265 655f _init__(Fl_Tree_ │ │ │ -00080630: 5072 6566 7320 7365 6c66 2920 2d3e 2046 Prefs self) -> F │ │ │ -00080640: 6c5f 5472 6565 5f50 7265 6673 2222 220a l_Tree_Prefs""". │ │ │ -00080650: 2020 2020 2020 2020 5f66 6c74 6b2e 466c _fltk.Fl │ │ │ -00080660: 5f54 7265 655f 5072 6566 735f 7377 6967 _Tree_Prefs_swig │ │ │ -00080670: 696e 6974 2873 656c 662c 205f 666c 746b init(self, _fltk │ │ │ -00080680: 2e6e 6577 5f46 6c5f 5472 6565 5f50 7265 .new_Fl_Tree_Pre │ │ │ -00080690: 6673 282a 6172 6773 2929 0a20 2020 205f fs(*args)). _ │ │ │ -000806a0: 5f73 7769 675f 6465 7374 726f 795f 5f20 _swig_destroy__ │ │ │ -000806b0: 3d20 5f66 6c74 6b2e 6465 6c65 7465 5f46 = _fltk.delete_F │ │ │ -000806c0: 6c5f 5472 6565 5f50 7265 6673 0a0a 2020 l_Tree_Prefs.. │ │ │ -000806d0: 2020 6465 6620 6974 656d 5f6c 6162 656c def item_label │ │ │ -000806e0: 666f 6e74 2873 656c 662c 202a 6172 6773 font(self, *args │ │ │ -000806f0: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ -00080700: 2020 2020 2020 2020 6974 656d 5f6c 6162 item_lab │ │ │ -00080710: 656c 666f 6e74 2846 6c5f 5472 6565 5f50 elfont(Fl_Tree_P │ │ │ -00080720: 7265 6673 2073 656c 6629 202d 3e20 466c refs self) -> Fl │ │ │ -00080730: 5f46 6f6e 740a 2020 2020 2020 2020 6974 _Font. it │ │ │ -00080740: 656d 5f6c 6162 656c 666f 6e74 2846 6c5f em_labelfont(Fl_ │ │ │ -00080750: 5472 6565 5f50 7265 6673 2073 656c 662c Tree_Prefs self, │ │ │ -00080760: 2046 6c5f 466f 6e74 2076 616c 290a 2020 Fl_Font val). │ │ │ -00080770: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ -00080780: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -00080790: 6c5f 5472 6565 5f50 7265 6673 5f69 7465 l_Tree_Prefs_ite │ │ │ -000807a0: 6d5f 6c61 6265 6c66 6f6e 7428 7365 6c66 m_labelfont(self │ │ │ -000807b0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -000807c0: 6620 6974 656d 5f6c 6162 656c 7369 7a65 f item_labelsize │ │ │ -000807d0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -000807e0: 2020 2020 2020 2072 2222 220a 2020 2020 r""". │ │ │ -000807f0: 2020 2020 6974 656d 5f6c 6162 656c 7369 item_labelsi │ │ │ -00080800: 7a65 2846 6c5f 5472 6565 5f50 7265 6673 ze(Fl_Tree_Prefs │ │ │ -00080810: 2073 656c 6629 202d 3e20 466c 5f46 6f6e self) -> Fl_Fon │ │ │ -00080820: 7473 697a 650a 2020 2020 2020 2020 6974 tsize. it │ │ │ -00080830: 656d 5f6c 6162 656c 7369 7a65 2846 6c5f em_labelsize(Fl_ │ │ │ -00080840: 5472 6565 5f50 7265 6673 2073 656c 662c Tree_Prefs self, │ │ │ -00080850: 2046 6c5f 466f 6e74 7369 7a65 2076 616c Fl_Fontsize val │ │ │ -00080860: 290a 2020 2020 2020 2020 2222 220a 2020 ). """. │ │ │ -00080870: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00080880: 746b 2e46 6c5f 5472 6565 5f50 7265 6673 tk.Fl_Tree_Prefs │ │ │ -00080890: 5f69 7465 6d5f 6c61 6265 6c73 697a 6528 _item_labelsize( │ │ │ -000808a0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -000808b0: 2020 6465 6620 6974 656d 5f6c 6162 656c def item_label │ │ │ -000808c0: 6667 636f 6c6f 7228 7365 6c66 2c20 2a61 fgcolor(self, *a │ │ │ -000808d0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -000808e0: 2222 0a20 2020 2020 2020 2069 7465 6d5f "". item_ │ │ │ -000808f0: 6c61 6265 6c66 6763 6f6c 6f72 2846 6c5f labelfgcolor(Fl_ │ │ │ -00080900: 5472 6565 5f50 7265 6673 2073 656c 6629 Tree_Prefs self) │ │ │ -00080910: 202d 3e20 466c 5f43 6f6c 6f72 0a20 2020 -> Fl_Color. │ │ │ -00080920: 2020 2020 2069 7465 6d5f 6c61 6265 6c66 item_labelf │ │ │ -00080930: 6763 6f6c 6f72 2846 6c5f 5472 6565 5f50 gcolor(Fl_Tree_P │ │ │ -00080940: 7265 6673 2073 656c 662c 2046 6c5f 436f refs self, Fl_Co │ │ │ -00080950: 6c6f 7220 7661 6c29 0a20 2020 2020 2020 lor val). │ │ │ -00080960: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ -00080970: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ -00080980: 655f 5072 6566 735f 6974 656d 5f6c 6162 e_Prefs_item_lab │ │ │ -00080990: 656c 6667 636f 6c6f 7228 7365 6c66 2c20 elfgcolor(self, │ │ │ -000809a0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -000809b0: 6974 656d 5f6c 6162 656c 6267 636f 6c6f item_labelbgcolo │ │ │ -000809c0: 7228 7365 6c66 2c20 2a61 7267 7329 3a0a r(self, *args):. │ │ │ -000809d0: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ -000809e0: 2020 2020 2069 7465 6d5f 6c61 6265 6c62 item_labelb │ │ │ -000809f0: 6763 6f6c 6f72 2846 6c5f 5472 6565 5f50 gcolor(Fl_Tree_P │ │ │ -00080a00: 7265 6673 2073 656c 6629 202d 3e20 466c refs self) -> Fl │ │ │ -00080a10: 5f43 6f6c 6f72 0a20 2020 2020 2020 2069 _Color. i │ │ │ -00080a20: 7465 6d5f 6c61 6265 6c62 6763 6f6c 6f72 tem_labelbgcolor │ │ │ -00080a30: 2846 6c5f 5472 6565 5f50 7265 6673 2073 (Fl_Tree_Prefs s │ │ │ -00080a40: 656c 662c 2046 6c5f 436f 6c6f 7220 7661 elf, Fl_Color va │ │ │ -00080a50: 6c29 0a20 2020 2020 2020 2022 2222 0a20 l). """. │ │ │ -00080a60: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -00080a70: 6c74 6b2e 466c 5f54 7265 655f 5072 6566 ltk.Fl_Tree_Pref │ │ │ -00080a80: 735f 6974 656d 5f6c 6162 656c 6267 636f s_item_labelbgco │ │ │ -00080a90: 6c6f 7228 7365 6c66 2c20 2a61 7267 7329 lor(self, *args) │ │ │ -00080aa0: 0a0a 2020 2020 6465 6620 6c61 6265 6c66 .. def labelf │ │ │ -00080ab0: 6f6e 7428 7365 6c66 2c20 2a61 7267 7329 ont(self, *args) │ │ │ -00080ac0: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ -00080ad0: 2020 2020 2020 206c 6162 656c 666f 6e74 labelfont │ │ │ -00080ae0: 2846 6c5f 5472 6565 5f50 7265 6673 2073 (Fl_Tree_Prefs s │ │ │ -00080af0: 656c 6629 202d 3e20 466c 5f46 6f6e 740a elf) -> Fl_Font. │ │ │ -00080b00: 2020 2020 2020 2020 6c61 6265 6c66 6f6e labelfon │ │ │ -00080b10: 7428 466c 5f54 7265 655f 5072 6566 7320 t(Fl_Tree_Prefs │ │ │ -00080b20: 7365 6c66 2c20 466c 5f46 6f6e 7420 7661 self, Fl_Font va │ │ │ -00080b30: 6c29 0a20 2020 2020 2020 2022 2222 0a20 l). """. │ │ │ -00080b40: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -00080b50: 6c74 6b2e 466c 5f54 7265 655f 5072 6566 ltk.Fl_Tree_Pref │ │ │ -00080b60: 735f 6c61 6265 6c66 6f6e 7428 7365 6c66 s_labelfont(self │ │ │ -00080b70: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -00080b80: 6620 6c61 6265 6c73 697a 6528 7365 6c66 f labelsize(self │ │ │ -00080b90: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -00080ba0: 2020 7222 2222 0a20 2020 2020 2020 206c r""". l │ │ │ -00080bb0: 6162 656c 7369 7a65 2846 6c5f 5472 6565 abelsize(Fl_Tree │ │ │ -00080bc0: 5f50 7265 6673 2073 656c 6629 202d 3e20 _Prefs self) -> │ │ │ -00080bd0: 466c 5f46 6f6e 7473 697a 650a 2020 2020 Fl_Fontsize. │ │ │ -00080be0: 2020 2020 6c61 6265 6c73 697a 6528 466c labelsize(Fl │ │ │ -00080bf0: 5f54 7265 655f 5072 6566 7320 7365 6c66 _Tree_Prefs self │ │ │ -00080c00: 2c20 466c 5f46 6f6e 7473 697a 6520 7661 , Fl_Fontsize va │ │ │ -00080c10: 6c29 0a20 2020 2020 2020 2022 2222 0a20 l). """. │ │ │ -00080c20: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -00080c30: 6c74 6b2e 466c 5f54 7265 655f 5072 6566 ltk.Fl_Tree_Pref │ │ │ -00080c40: 735f 6c61 6265 6c73 697a 6528 7365 6c66 s_labelsize(self │ │ │ -00080c50: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -00080c60: 6620 6c61 6265 6c66 6763 6f6c 6f72 2873 f labelfgcolor(s │ │ │ -00080c70: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00080c80: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ -00080c90: 2020 6c61 6265 6c66 6763 6f6c 6f72 2846 labelfgcolor(F │ │ │ -00080ca0: 6c5f 5472 6565 5f50 7265 6673 2073 656c l_Tree_Prefs sel │ │ │ -00080cb0: 6629 202d 3e20 466c 5f43 6f6c 6f72 0a20 f) -> Fl_Color. │ │ │ -00080cc0: 2020 2020 2020 206c 6162 656c 6667 636f labelfgco │ │ │ -00080cd0: 6c6f 7228 466c 5f54 7265 655f 5072 6566 lor(Fl_Tree_Pref │ │ │ -00080ce0: 7320 7365 6c66 2c20 466c 5f43 6f6c 6f72 s self, Fl_Color │ │ │ -00080cf0: 2076 616c 290a 2020 2020 2020 2020 2222 val). "" │ │ │ -00080d00: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00080d10: 205f 666c 746b 2e46 6c5f 5472 6565 5f50 _fltk.Fl_Tree_P │ │ │ -00080d20: 7265 6673 5f6c 6162 656c 6667 636f 6c6f refs_labelfgcolo │ │ │ -00080d30: 7228 7365 6c66 2c20 2a61 7267 7329 0a0a r(self, *args).. │ │ │ -00080d40: 2020 2020 6465 6620 6c61 6265 6c62 6763 def labelbgc │ │ │ -00080d50: 6f6c 6f72 2873 656c 662c 202a 6172 6773 olor(self, *args │ │ │ -00080d60: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ -00080d70: 2020 2020 2020 2020 6c61 6265 6c62 6763 labelbgc │ │ │ -00080d80: 6f6c 6f72 2846 6c5f 5472 6565 5f50 7265 olor(Fl_Tree_Pre │ │ │ -00080d90: 6673 2073 656c 6629 202d 3e20 466c 5f43 fs self) -> Fl_C │ │ │ -00080da0: 6f6c 6f72 0a20 2020 2020 2020 206c 6162 olor. lab │ │ │ -00080db0: 656c 6267 636f 6c6f 7228 466c 5f54 7265 elbgcolor(Fl_Tre │ │ │ -00080dc0: 655f 5072 6566 7320 7365 6c66 2c20 466c e_Prefs self, Fl │ │ │ -00080dd0: 5f43 6f6c 6f72 2076 616c 290a 2020 2020 _Color val). │ │ │ -00080de0: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ -00080df0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00080e00: 5472 6565 5f50 7265 6673 5f6c 6162 656c Tree_Prefs_label │ │ │ -00080e10: 6267 636f 6c6f 7228 7365 6c66 2c20 2a61 bgcolor(self, *a │ │ │ -00080e20: 7267 7329 0a0a 2020 2020 6465 6620 6d61 rgs).. def ma │ │ │ -00080e30: 7267 696e 6c65 6674 2873 656c 662c 202a rginleft(self, * │ │ │ -00080e40: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00080e50: 2222 220a 2020 2020 2020 2020 6d61 7267 """. marg │ │ │ -00080e60: 696e 6c65 6674 2846 6c5f 5472 6565 5f50 inleft(Fl_Tree_P │ │ │ -00080e70: 7265 6673 2073 656c 6629 202d 3e20 696e refs self) -> in │ │ │ -00080e80: 740a 2020 2020 2020 2020 6d61 7267 696e t. margin │ │ │ -00080e90: 6c65 6674 2846 6c5f 5472 6565 5f50 7265 left(Fl_Tree_Pre │ │ │ -00080ea0: 6673 2073 656c 662c 2069 6e74 2076 616c fs self, int val │ │ │ -00080eb0: 290a 2020 2020 2020 2020 2222 220a 2020 ). """. │ │ │ -00080ec0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00080ed0: 746b 2e46 6c5f 5472 6565 5f50 7265 6673 tk.Fl_Tree_Prefs │ │ │ -00080ee0: 5f6d 6172 6769 6e6c 6566 7428 7365 6c66 _marginleft(self │ │ │ -00080ef0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -00080f00: 6620 6d61 7267 696e 746f 7028 7365 6c66 f margintop(self │ │ │ -00080f10: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -00080f20: 2020 7222 2222 0a20 2020 2020 2020 206d r""". m │ │ │ -00080f30: 6172 6769 6e74 6f70 2846 6c5f 5472 6565 argintop(Fl_Tree │ │ │ -00080f40: 5f50 7265 6673 2073 656c 6629 202d 3e20 _Prefs self) -> │ │ │ -00080f50: 696e 740a 2020 2020 2020 2020 6d61 7267 int. marg │ │ │ +00075960: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +00075970: 2064 6566 2072 656d 6f76 655f 6d6f 6469 def remove_modi │ │ │ +00075980: 6679 5f63 616c 6c62 6163 6b28 7365 6c66 fy_callback(self │ │ │ +00075990: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +000759a0: 2020 7222 2222 0a20 2020 2020 2020 2072 r""". r │ │ │ +000759b0: 656d 6f76 655f 6d6f 6469 6679 5f63 616c emove_modify_cal │ │ │ +000759c0: 6c62 6163 6b28 466c 5f54 6578 745f 4275 lback(Fl_Text_Bu │ │ │ +000759d0: 6666 6572 2073 656c 662c 2046 6c5f 5465 ffer self, Fl_Te │ │ │ +000759e0: 7874 5f4d 6f64 6966 795f 4362 2062 7566 xt_Modify_Cb buf │ │ │ +000759f0: 4d6f 6469 6669 6564 4342 2c20 766f 6964 ModifiedCB, void │ │ │ +00075a00: 202a 2063 6241 7267 290a 2020 2020 2020 * cbArg). │ │ │ +00075a10: 2020 7265 6d6f 7665 5f6d 6f64 6966 795f remove_modify_ │ │ │ +00075a20: 6361 6c6c 6261 636b 2846 6c5f 5465 7874 callback(Fl_Text │ │ │ +00075a30: 5f42 7566 6665 7220 7365 6c66 2c20 5079 _Buffer self, Py │ │ │ +00075a40: 4f62 6a65 6374 202a 2050 7946 756e 632c Object * PyFunc, │ │ │ +00075a50: 2050 794f 626a 6563 7420 2a20 5079 5769 PyObject * PyWi │ │ │ +00075a60: 6467 6574 2c20 5079 4f62 6a65 6374 202a dget, PyObject * │ │ │ +00075a70: 2050 7954 6172 6765 7429 0a20 2020 2020 PyTarget). │ │ │ +00075a80: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ +00075a90: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +00075aa0: 6578 745f 4275 6666 6572 5f72 656d 6f76 ext_Buffer_remov │ │ │ +00075ab0: 655f 6d6f 6469 6679 5f63 616c 6c62 6163 e_modify_callbac │ │ │ +00075ac0: 6b28 7365 6c66 2c20 2a61 7267 7329 0a0a k(self, *args).. │ │ │ +00075ad0: 2320 5265 6769 7374 6572 2046 6c5f 5465 # Register Fl_Te │ │ │ +00075ae0: 7874 5f42 7566 6665 7220 696e 205f 666c xt_Buffer in _fl │ │ │ +00075af0: 746b 3a0a 5f66 6c74 6b2e 466c 5f54 6578 tk:._fltk.Fl_Tex │ │ │ +00075b00: 745f 4275 6666 6572 5f73 7769 6772 6567 t_Buffer_swigreg │ │ │ +00075b10: 6973 7465 7228 466c 5f54 6578 745f 4275 ister(Fl_Text_Bu │ │ │ +00075b20: 6666 6572 290a 636c 6173 7320 5374 796c ffer).class Styl │ │ │ +00075b30: 655f 5461 626c 655f 456e 7472 7928 6f62 e_Table_Entry(ob │ │ │ +00075b40: 6a65 6374 293a 0a20 2020 2072 2222 2250 ject):. r"""P │ │ │ +00075b50: 726f 7879 206f 6620 432b 2b20 5374 796c roxy of C++ Styl │ │ │ +00075b60: 655f 5461 626c 655f 456e 7472 7920 636c e_Table_Entry cl │ │ │ +00075b70: 6173 732e 2222 220a 0a20 2020 2074 6869 ass.""".. thi │ │ │ +00075b80: 736f 776e 203d 2070 726f 7065 7274 7928 sown = property( │ │ │ +00075b90: 6c61 6d62 6461 2078 3a20 782e 7468 6973 lambda x: x.this │ │ │ +00075ba0: 2e6f 776e 2829 2c20 6c61 6d62 6461 2078 .own(), lambda x │ │ │ +00075bb0: 2c20 763a 2078 2e74 6869 732e 6f77 6e28 , v: x.this.own( │ │ │ +00075bc0: 7629 2c20 646f 633d 2254 6865 206d 656d v), doc="The mem │ │ │ +00075bd0: 6265 7273 6869 7020 666c 6167 2229 0a20 bership flag"). │ │ │ +00075be0: 2020 205f 5f72 6570 725f 5f20 3d20 5f73 __repr__ = _s │ │ │ +00075bf0: 7769 675f 7265 7072 0a0a 2020 2020 6465 wig_repr.. de │ │ │ +00075c00: 6620 5f5f 696e 6974 5f5f 2873 656c 662c f __init__(self, │ │ │ +00075c10: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00075c20: 2072 2222 225f 5f69 6e69 745f 5f28 5374 r"""__init__(St │ │ │ +00075c30: 796c 655f 5461 626c 655f 456e 7472 7920 yle_Table_Entry │ │ │ +00075c40: 7365 6c66 2920 2d3e 2053 7479 6c65 5f54 self) -> Style_T │ │ │ +00075c50: 6162 6c65 5f45 6e74 7279 2222 220a 2020 able_Entry""". │ │ │ +00075c60: 2020 2020 2020 5f66 6c74 6b2e 5374 796c _fltk.Styl │ │ │ +00075c70: 655f 5461 626c 655f 456e 7472 795f 7377 e_Table_Entry_sw │ │ │ +00075c80: 6967 696e 6974 2873 656c 662c 205f 666c iginit(self, _fl │ │ │ +00075c90: 746b 2e6e 6577 5f53 7479 6c65 5f54 6162 tk.new_Style_Tab │ │ │ +00075ca0: 6c65 5f45 6e74 7279 282a 6172 6773 2929 le_Entry(*args)) │ │ │ +00075cb0: 0a20 2020 205f 5f73 7769 675f 6465 7374 . __swig_dest │ │ │ +00075cc0: 726f 795f 5f20 3d20 5f66 6c74 6b2e 6465 roy__ = _fltk.de │ │ │ +00075cd0: 6c65 7465 5f53 7479 6c65 5f54 6162 6c65 lete_Style_Table │ │ │ +00075ce0: 5f45 6e74 7279 0a0a 2320 5265 6769 7374 _Entry..# Regist │ │ │ +00075cf0: 6572 2053 7479 6c65 5f54 6162 6c65 5f45 er Style_Table_E │ │ │ +00075d00: 6e74 7279 2069 6e20 5f66 6c74 6b3a 0a5f ntry in _fltk:._ │ │ │ +00075d10: 666c 746b 2e53 7479 6c65 5f54 6162 6c65 fltk.Style_Table │ │ │ +00075d20: 5f45 6e74 7279 5f73 7769 6772 6567 6973 _Entry_swigregis │ │ │ +00075d30: 7465 7228 5374 796c 655f 5461 626c 655f ter(Style_Table_ │ │ │ +00075d40: 456e 7472 7929 0a63 6c61 7373 2046 6c5f Entry).class Fl_ │ │ │ +00075d50: 5465 7874 5f44 6973 706c 6179 2846 6c5f Text_Display(Fl_ │ │ │ +00075d60: 4772 6f75 7029 3a0a 2020 2020 7222 2222 Group):. r""" │ │ │ +00075d70: 0a0a 2020 2020 5468 6973 2069 7320 7468 .. This is th │ │ │ +00075d80: 6520 464c 544b 2074 6578 7420 6469 7370 e FLTK text disp │ │ │ +00075d90: 6c61 7920 7769 6467 6574 2e20 4974 2061 lay widget. It a │ │ │ +00075da0: 6c6c 6f77 7320 7468 6520 7573 6572 2074 llows the user t │ │ │ +00075db0: 6f20 7669 6577 206d 756c 7469 706c 6520 o view multiple │ │ │ +00075dc0: 0a20 2020 206c 696e 6573 206f 6620 7465 . lines of te │ │ │ +00075dd0: 7874 2061 6e64 2073 7570 706f 7274 7320 xt and supports │ │ │ +00075de0: 6869 6768 6c69 6768 7469 6e67 2061 6e64 highlighting and │ │ │ +00075df0: 2073 6372 6f6c 6c69 6e67 2e20 5468 6520 scrolling. The │ │ │ +00075e00: 6275 6666 6572 2074 6861 7420 6973 200a buffer that is . │ │ │ +00075e10: 2020 2020 6469 7370 6c61 7965 6420 696e displayed in │ │ │ +00075e20: 2074 6865 2077 6964 6765 7420 6973 206d the widget is m │ │ │ +00075e30: 616e 6167 6564 2062 7920 7468 6520 466c anaged by the Fl │ │ │ +00075e40: 5f54 6578 745f 4275 6666 6572 2063 6c61 _Text_Buffer cla │ │ │ +00075e50: 7373 2e0a 0a20 2020 2022 2222 0a0a 2020 ss... """.. │ │ │ +00075e60: 2020 7468 6973 6f77 6e20 3d20 7072 6f70 thisown = prop │ │ │ +00075e70: 6572 7479 286c 616d 6264 6120 783a 2078 erty(lambda x: x │ │ │ +00075e80: 2e74 6869 732e 6f77 6e28 292c 206c 616d .this.own(), lam │ │ │ +00075e90: 6264 6120 782c 2076 3a20 782e 7468 6973 bda x, v: x.this │ │ │ +00075ea0: 2e6f 776e 2876 292c 2064 6f63 3d22 5468 .own(v), doc="Th │ │ │ +00075eb0: 6520 6d65 6d62 6572 7368 6970 2066 6c61 e membership fla │ │ │ +00075ec0: 6722 290a 2020 2020 5f5f 7265 7072 5f5f g"). __repr__ │ │ │ +00075ed0: 203d 205f 7377 6967 5f72 6570 720a 2020 = _swig_repr. │ │ │ +00075ee0: 2020 4e4f 524d 414c 5f43 5552 534f 5220 NORMAL_CURSOR │ │ │ +00075ef0: 3d20 5f66 6c74 6b2e 466c 5f54 6578 745f = _fltk.Fl_Text_ │ │ │ +00075f00: 4469 7370 6c61 795f 4e4f 524d 414c 5f43 Display_NORMAL_C │ │ │ +00075f10: 5552 534f 520a 2020 2020 0a20 2020 2043 URSOR. . C │ │ │ +00075f20: 4152 4554 5f43 5552 534f 5220 3d20 5f66 ARET_CURSOR = _f │ │ │ +00075f30: 6c74 6b2e 466c 5f54 6578 745f 4469 7370 ltk.Fl_Text_Disp │ │ │ +00075f40: 6c61 795f 4341 5245 545f 4355 5253 4f52 lay_CARET_CURSOR │ │ │ +00075f50: 0a20 2020 200a 2020 2020 4449 4d5f 4355 . . DIM_CU │ │ │ +00075f60: 5253 4f52 203d 205f 666c 746b 2e46 6c5f RSOR = _fltk.Fl_ │ │ │ +00075f70: 5465 7874 5f44 6973 706c 6179 5f44 494d Text_Display_DIM │ │ │ +00075f80: 5f43 5552 534f 520a 2020 2020 0a20 2020 _CURSOR. . │ │ │ +00075f90: 2042 4c4f 434b 5f43 5552 534f 5220 3d20 BLOCK_CURSOR = │ │ │ +00075fa0: 5f66 6c74 6b2e 466c 5f54 6578 745f 4469 _fltk.Fl_Text_Di │ │ │ +00075fb0: 7370 6c61 795f 424c 4f43 4b5f 4355 5253 splay_BLOCK_CURS │ │ │ +00075fc0: 4f52 0a20 2020 200a 2020 2020 4845 4156 OR. . HEAV │ │ │ +00075fd0: 595f 4355 5253 4f52 203d 205f 666c 746b Y_CURSOR = _fltk │ │ │ +00075fe0: 2e46 6c5f 5465 7874 5f44 6973 706c 6179 .Fl_Text_Display │ │ │ +00075ff0: 5f48 4541 5659 5f43 5552 534f 520a 2020 _HEAVY_CURSOR. │ │ │ +00076000: 2020 0a20 2020 2053 494d 504c 455f 4355 . SIMPLE_CU │ │ │ +00076010: 5253 4f52 203d 205f 666c 746b 2e46 6c5f RSOR = _fltk.Fl_ │ │ │ +00076020: 5465 7874 5f44 6973 706c 6179 5f53 494d Text_Display_SIM │ │ │ +00076030: 504c 455f 4355 5253 4f52 0a20 2020 200a PLE_CURSOR. . │ │ │ +00076040: 2020 2020 4355 5253 4f52 5f50 4f53 203d CURSOR_POS = │ │ │ +00076050: 205f 666c 746b 2e46 6c5f 5465 7874 5f44 _fltk.Fl_Text_D │ │ │ +00076060: 6973 706c 6179 5f43 5552 534f 525f 504f isplay_CURSOR_PO │ │ │ +00076070: 530a 2020 2020 0a20 2020 2043 4841 5241 S. . CHARA │ │ │ +00076080: 4354 4552 5f50 4f53 203d 205f 666c 746b CTER_POS = _fltk │ │ │ +00076090: 2e46 6c5f 5465 7874 5f44 6973 706c 6179 .Fl_Text_Display │ │ │ +000760a0: 5f43 4841 5241 4354 4552 5f50 4f53 0a20 _CHARACTER_POS. │ │ │ +000760b0: 2020 200a 2020 2020 4452 4147 5f4e 4f4e . DRAG_NON │ │ │ +000760c0: 4520 3d20 5f66 6c74 6b2e 466c 5f54 6578 E = _fltk.Fl_Tex │ │ │ +000760d0: 745f 4469 7370 6c61 795f 4452 4147 5f4e t_Display_DRAG_N │ │ │ +000760e0: 4f4e 450a 2020 2020 0a20 2020 2044 5241 ONE. . DRA │ │ │ +000760f0: 475f 5354 4152 545f 444e 4420 3d20 5f66 G_START_DND = _f │ │ │ +00076100: 6c74 6b2e 466c 5f54 6578 745f 4469 7370 ltk.Fl_Text_Disp │ │ │ +00076110: 6c61 795f 4452 4147 5f53 5441 5254 5f44 lay_DRAG_START_D │ │ │ +00076120: 4e44 0a20 2020 200a 2020 2020 4452 4147 ND. . DRAG │ │ │ +00076130: 5f43 4841 5220 3d20 5f66 6c74 6b2e 466c _CHAR = _fltk.Fl │ │ │ +00076140: 5f54 6578 745f 4469 7370 6c61 795f 4452 _Text_Display_DR │ │ │ +00076150: 4147 5f43 4841 520a 2020 2020 0a20 2020 AG_CHAR. . │ │ │ +00076160: 2044 5241 475f 574f 5244 203d 205f 666c DRAG_WORD = _fl │ │ │ +00076170: 746b 2e46 6c5f 5465 7874 5f44 6973 706c tk.Fl_Text_Displ │ │ │ +00076180: 6179 5f44 5241 475f 574f 5244 0a20 2020 ay_DRAG_WORD. │ │ │ +00076190: 200a 2020 2020 4452 4147 5f4c 494e 4520 . DRAG_LINE │ │ │ +000761a0: 3d20 5f66 6c74 6b2e 466c 5f54 6578 745f = _fltk.Fl_Text_ │ │ │ +000761b0: 4469 7370 6c61 795f 4452 4147 5f4c 494e Display_DRAG_LIN │ │ │ +000761c0: 450a 2020 2020 0a20 2020 2057 5241 505f E. . WRAP_ │ │ │ +000761d0: 4e4f 4e45 203d 205f 666c 746b 2e46 6c5f NONE = _fltk.Fl_ │ │ │ +000761e0: 5465 7874 5f44 6973 706c 6179 5f57 5241 Text_Display_WRA │ │ │ +000761f0: 505f 4e4f 4e45 0a20 2020 200a 2020 2020 P_NONE. . │ │ │ +00076200: 5752 4150 5f41 545f 434f 4c55 4d4e 203d WRAP_AT_COLUMN = │ │ │ +00076210: 205f 666c 746b 2e46 6c5f 5465 7874 5f44 _fltk.Fl_Text_D │ │ │ +00076220: 6973 706c 6179 5f57 5241 505f 4154 5f43 isplay_WRAP_AT_C │ │ │ +00076230: 4f4c 554d 4e0a 2020 2020 0a20 2020 2057 OLUMN. . W │ │ │ +00076240: 5241 505f 4154 5f50 4958 454c 203d 205f RAP_AT_PIXEL = _ │ │ │ +00076250: 666c 746b 2e46 6c5f 5465 7874 5f44 6973 fltk.Fl_Text_Dis │ │ │ +00076260: 706c 6179 5f57 5241 505f 4154 5f50 4958 play_WRAP_AT_PIX │ │ │ +00076270: 454c 0a20 2020 200a 2020 2020 5752 4150 EL. . WRAP │ │ │ +00076280: 5f41 545f 424f 554e 4453 203d 205f 666c _AT_BOUNDS = _fl │ │ │ +00076290: 746b 2e46 6c5f 5465 7874 5f44 6973 706c tk.Fl_Text_Displ │ │ │ +000762a0: 6179 5f57 5241 505f 4154 5f42 4f55 4e44 ay_WRAP_AT_BOUND │ │ │ +000762b0: 530a 2020 2020 0a20 2020 2041 5454 525f S. . ATTR_ │ │ │ +000762c0: 4247 434f 4c4f 5220 3d20 5f66 6c74 6b2e BGCOLOR = _fltk. │ │ │ +000762d0: 466c 5f54 6578 745f 4469 7370 6c61 795f Fl_Text_Display_ │ │ │ +000762e0: 4154 5452 5f42 4743 4f4c 4f52 0a20 2020 ATTR_BGCOLOR. │ │ │ +000762f0: 200a 2020 2020 4154 5452 5f42 4743 4f4c . ATTR_BGCOL │ │ │ +00076300: 4f52 5f45 5854 5f20 3d20 5f66 6c74 6b2e OR_EXT_ = _fltk. │ │ │ +00076310: 466c 5f54 6578 745f 4469 7370 6c61 795f Fl_Text_Display_ │ │ │ +00076320: 4154 5452 5f42 4743 4f4c 4f52 5f45 5854 ATTR_BGCOLOR_EXT │ │ │ +00076330: 5f0a 2020 2020 0a20 2020 2041 5454 525f _. . ATTR_ │ │ │ +00076340: 4247 434f 4c4f 525f 4558 5420 3d20 5f66 BGCOLOR_EXT = _f │ │ │ +00076350: 6c74 6b2e 466c 5f54 6578 745f 4469 7370 ltk.Fl_Text_Disp │ │ │ +00076360: 6c61 795f 4154 5452 5f42 4743 4f4c 4f52 lay_ATTR_BGCOLOR │ │ │ +00076370: 5f45 5854 0a20 2020 200a 2020 2020 4154 _EXT. . AT │ │ │ +00076380: 5452 5f55 4e44 4552 4c49 4e45 203d 205f TR_UNDERLINE = _ │ │ │ +00076390: 666c 746b 2e46 6c5f 5465 7874 5f44 6973 fltk.Fl_Text_Dis │ │ │ +000763a0: 706c 6179 5f41 5454 525f 554e 4445 524c play_ATTR_UNDERL │ │ │ +000763b0: 494e 450a 2020 2020 0a20 2020 2041 5454 INE. . ATT │ │ │ +000763c0: 525f 4752 414d 4d41 5220 3d20 5f66 6c74 R_GRAMMAR = _flt │ │ │ +000763d0: 6b2e 466c 5f54 6578 745f 4469 7370 6c61 k.Fl_Text_Displa │ │ │ +000763e0: 795f 4154 5452 5f47 5241 4d4d 4152 0a20 y_ATTR_GRAMMAR. │ │ │ +000763f0: 2020 200a 2020 2020 4154 5452 5f53 5045 . ATTR_SPE │ │ │ +00076400: 4c4c 494e 4720 3d20 5f66 6c74 6b2e 466c LLING = _fltk.Fl │ │ │ +00076410: 5f54 6578 745f 4469 7370 6c61 795f 4154 _Text_Display_AT │ │ │ +00076420: 5452 5f53 5045 4c4c 494e 470a 2020 2020 TR_SPELLING. │ │ │ +00076430: 0a20 2020 2041 5454 525f 5354 5249 4b45 . ATTR_STRIKE │ │ │ +00076440: 5f54 4852 4f55 4748 203d 205f 666c 746b _THROUGH = _fltk │ │ │ +00076450: 2e46 6c5f 5465 7874 5f44 6973 706c 6179 .Fl_Text_Display │ │ │ +00076460: 5f41 5454 525f 5354 5249 4b45 5f54 4852 _ATTR_STRIKE_THR │ │ │ +00076470: 4f55 4748 0a20 2020 200a 2020 2020 4154 OUGH. . AT │ │ │ +00076480: 5452 5f4c 494e 4553 5f4d 4153 4b20 3d20 TR_LINES_MASK = │ │ │ +00076490: 5f66 6c74 6b2e 466c 5f54 6578 745f 4469 _fltk.Fl_Text_Di │ │ │ +000764a0: 7370 6c61 795f 4154 5452 5f4c 494e 4553 splay_ATTR_LINES │ │ │ +000764b0: 5f4d 4153 4b0a 2020 2020 0a0a 2020 2020 _MASK. .. │ │ │ +000764c0: 6465 6620 5f5f 696e 6974 5f5f 2873 656c def __init__(sel │ │ │ +000764d0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +000764e0: 2020 2072 2222 225f 5f69 6e69 745f 5f28 r"""__init__( │ │ │ +000764f0: 466c 5f54 6578 745f 4469 7370 6c61 7920 Fl_Text_Display │ │ │ +00076500: 7365 6c66 2c20 696e 7420 582c 2069 6e74 self, int X, int │ │ │ +00076510: 2059 2c20 696e 7420 572c 2069 6e74 2048 Y, int W, int H │ │ │ +00076520: 2c20 6368 6172 2063 6f6e 7374 202a 206c , char const * l │ │ │ +00076530: 3d4e 6f6e 6529 202d 3e20 466c 5f54 6578 =None) -> Fl_Tex │ │ │ +00076540: 745f 4469 7370 6c61 7922 2222 0a20 2020 t_Display""". │ │ │ +00076550: 2020 2020 2069 6620 7365 6c66 2e5f 5f63 if self.__c │ │ │ +00076560: 6c61 7373 5f5f 203d 3d20 466c 5f54 6578 lass__ == Fl_Tex │ │ │ +00076570: 745f 4469 7370 6c61 793a 0a20 2020 2020 t_Display:. │ │ │ +00076580: 2020 2020 2020 205f 7365 6c66 203d 204e _self = N │ │ │ +00076590: 6f6e 650a 2020 2020 2020 2020 656c 7365 one. else │ │ │ +000765a0: 3a0a 2020 2020 2020 2020 2020 2020 5f73 :. _s │ │ │ +000765b0: 656c 6620 3d20 7365 6c66 0a20 2020 2020 elf = self. │ │ │ +000765c0: 2020 205f 666c 746b 2e46 6c5f 5465 7874 _fltk.Fl_Text │ │ │ +000765d0: 5f44 6973 706c 6179 5f73 7769 6769 6e69 _Display_swigini │ │ │ +000765e0: 7428 7365 6c66 2c20 5f66 6c74 6b2e 6e65 t(self, _fltk.ne │ │ │ +000765f0: 775f 466c 5f54 6578 745f 4469 7370 6c61 w_Fl_Text_Displa │ │ │ +00076600: 7928 5f73 656c 662c 202a 6172 6773 2929 y(_self, *args)) │ │ │ +00076610: 0a0a 2020 2020 2020 2020 6966 206c 656e .. if len │ │ │ +00076620: 2861 7267 7329 203d 3d20 353a 2020 2020 (args) == 5: │ │ │ +00076630: 2020 2020 2020 0a20 2020 2020 2020 2023 . # │ │ │ +00076640: 7265 7461 696e 2072 6566 6572 656e 6365 retain reference │ │ │ +00076650: 2074 6f20 6c61 6265 6c0a 2020 2020 2020 to label. │ │ │ +00076660: 2020 2020 2020 7365 6c66 2e6d 795f 6c61 self.my_la │ │ │ +00076670: 6265 6c20 3d20 6172 6773 5b2d 315d 0a20 bel = args[-1]. │ │ │ +00076680: 2020 2020 2020 2069 6620 7365 6c66 2e70 if self.p │ │ │ +00076690: 6172 656e 7428 2920 213d 204e 6f6e 653a arent() != None: │ │ │ +000766a0: 2020 200a 2020 2020 2020 2020 2364 656c . #del │ │ │ +000766b0: 6567 6174 6520 6f77 6e65 7273 6869 7020 egate ownership │ │ │ +000766c0: 746f 2043 2b2b 0a20 2020 2020 2020 2020 to C++. │ │ │ +000766d0: 2020 2073 656c 662e 7468 6973 2e64 6973 self.this.dis │ │ │ +000766e0: 6f77 6e28 290a 2020 2020 2020 2020 7365 own(). se │ │ │ +000766f0: 6c66 2e69 6e69 745f 7479 7065 2822 466c lf.init_type("Fl │ │ │ +00076700: 5f54 6578 745f 4469 7370 6c61 7922 290a _Text_Display"). │ │ │ +00076710: 2020 2020 2020 2020 2370 7269 6e74 2822 #print(" │ │ │ +00076720: 4164 6469 6e67 2074 7970 653a 2022 2c20 Adding type: ", │ │ │ +00076730: 466c 5f54 6578 745f 4469 7370 6c61 7929 Fl_Text_Display) │ │ │ +00076740: 0a0a 0a0a 2020 2020 5f5f 7377 6967 5f64 .... __swig_d │ │ │ +00076750: 6573 7472 6f79 5f5f 203d 205f 666c 746b estroy__ = _fltk │ │ │ +00076760: 2e64 656c 6574 655f 466c 5f54 6578 745f .delete_Fl_Text_ │ │ │ +00076770: 4469 7370 6c61 790a 0a20 2020 2064 6566 Display.. def │ │ │ +00076780: 2068 616e 646c 6528 7365 6c66 2c20 2a61 handle(self, *a │ │ │ +00076790: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +000767a0: 2222 6861 6e64 6c65 2846 6c5f 5465 7874 ""handle(Fl_Text │ │ │ +000767b0: 5f44 6973 706c 6179 2073 656c 662c 2069 _Display self, i │ │ │ +000767c0: 6e74 2065 2920 2d3e 2069 6e74 2222 220a nt e) -> int""". │ │ │ +000767d0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +000767e0: 666c 746b 2e46 6c5f 5465 7874 5f44 6973 fltk.Fl_Text_Dis │ │ │ +000767f0: 706c 6179 5f68 616e 646c 6528 7365 6c66 play_handle(self │ │ │ +00076800: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00076810: 6620 6275 6666 6572 2873 656c 662c 202a f buffer(self, * │ │ │ +00076820: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +00076830: 2222 220a 2020 2020 2020 2020 6275 6666 """. buff │ │ │ +00076840: 6572 2846 6c5f 5465 7874 5f44 6973 706c er(Fl_Text_Displ │ │ │ +00076850: 6179 2073 656c 662c 2046 6c5f 5465 7874 ay self, Fl_Text │ │ │ +00076860: 5f42 7566 6665 7220 6275 6629 0a20 2020 _Buffer buf). │ │ │ +00076870: 2020 2020 2062 7566 6665 7228 466c 5f54 buffer(Fl_T │ │ │ +00076880: 6578 745f 4469 7370 6c61 7920 7365 6c66 ext_Display self │ │ │ +00076890: 2920 2d3e 2046 6c5f 5465 7874 5f42 7566 ) -> Fl_Text_Buf │ │ │ +000768a0: 6665 720a 2020 2020 2020 2020 2222 220a fer. """. │ │ │ +000768b0: 2020 2020 2020 2020 7661 6c20 3d20 5f66 val = _f │ │ │ +000768c0: 6c74 6b2e 466c 5f54 6578 745f 4469 7370 ltk.Fl_Text_Disp │ │ │ +000768d0: 6c61 795f 6275 6666 6572 2873 656c 662c lay_buffer(self, │ │ │ +000768e0: 202a 6172 6773 290a 0a20 2020 2020 2020 *args).. │ │ │ +000768f0: 2069 6620 6c65 6e28 6172 6773 2920 3e20 if len(args) > │ │ │ +00076900: 3020 616e 6420 6172 6773 5b30 5d20 213d 0 and args[0] != │ │ │ +00076910: 204e 6f6e 653a 0a20 2020 2020 2020 2023 None:. # │ │ │ +00076920: 6465 6c65 6761 7465 206f 776e 6572 7368 delegate ownersh │ │ │ +00076930: 6970 2074 6f20 432b 2b0a 2020 2020 2020 ip to C++. │ │ │ +00076940: 2020 2020 2020 6172 6773 5b30 5d2e 7468 args[0].th │ │ │ +00076950: 6973 2e64 6973 6f77 6e28 290a 0a0a 2020 is.disown()... │ │ │ +00076960: 2020 2020 2020 7265 7475 726e 2076 616c return val │ │ │ +00076970: 0a0a 0a20 2020 2064 6566 2073 7479 6c65 ... def style │ │ │ +00076980: 5f62 7566 6665 7228 7365 6c66 2c20 2a61 _buffer(self, *a │ │ │ +00076990: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +000769a0: 2222 7374 796c 655f 6275 6666 6572 2846 ""style_buffer(F │ │ │ +000769b0: 6c5f 5465 7874 5f44 6973 706c 6179 2073 l_Text_Display s │ │ │ +000769c0: 656c 6629 202d 3e20 466c 5f54 6578 745f elf) -> Fl_Text_ │ │ │ +000769d0: 4275 6666 6572 2222 220a 2020 2020 2020 Buffer""". │ │ │ +000769e0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +000769f0: 6c5f 5465 7874 5f44 6973 706c 6179 5f73 l_Text_Display_s │ │ │ +00076a00: 7479 6c65 5f62 7566 6665 7228 7365 6c66 tyle_buffer(self │ │ │ +00076a10: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00076a20: 6620 7265 6469 7370 6c61 795f 7261 6e67 f redisplay_rang │ │ │ +00076a30: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ +00076a40: 2020 2020 2020 2020 7222 2222 7265 6469 r"""redi │ │ │ +00076a50: 7370 6c61 795f 7261 6e67 6528 466c 5f54 splay_range(Fl_T │ │ │ +00076a60: 6578 745f 4469 7370 6c61 7920 7365 6c66 ext_Display self │ │ │ +00076a70: 2c20 696e 7420 7374 6172 742c 2069 6e74 , int start, int │ │ │ +00076a80: 2065 6e64 2922 2222 0a20 2020 2020 2020 end)""". │ │ │ +00076a90: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +00076aa0: 5f54 6578 745f 4469 7370 6c61 795f 7265 _Text_Display_re │ │ │ +00076ab0: 6469 7370 6c61 795f 7261 6e67 6528 7365 display_range(se │ │ │ +00076ac0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +00076ad0: 6465 6620 7363 726f 6c6c 2873 656c 662c def scroll(self, │ │ │ +00076ae0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00076af0: 2072 2222 2273 6372 6f6c 6c28 466c 5f54 r"""scroll(Fl_T │ │ │ +00076b00: 6578 745f 4469 7370 6c61 7920 7365 6c66 ext_Display self │ │ │ +00076b10: 2c20 696e 7420 746f 704c 696e 654e 756d , int topLineNum │ │ │ +00076b20: 2c20 696e 7420 686f 7269 7a4f 6666 7365 , int horizOffse │ │ │ +00076b30: 7429 2222 220a 2020 2020 2020 2020 7265 t)""". re │ │ │ +00076b40: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ +00076b50: 7874 5f44 6973 706c 6179 5f73 6372 6f6c xt_Display_scrol │ │ │ +00076b60: 6c28 7365 6c66 2c20 2a61 7267 7329 0a0a l(self, *args).. │ │ │ +00076b70: 2020 2020 6465 6620 696e 7365 7274 2873 def insert(s │ │ │ +00076b80: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00076b90: 2020 2020 2072 2222 2269 6e73 6572 7428 r"""insert( │ │ │ +00076ba0: 466c 5f54 6578 745f 4469 7370 6c61 7920 Fl_Text_Display │ │ │ +00076bb0: 7365 6c66 2c20 6368 6172 2063 6f6e 7374 self, char const │ │ │ +00076bc0: 202a 2074 6578 7429 2222 220a 2020 2020 * text)""". │ │ │ +00076bd0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +00076be0: 2e46 6c5f 5465 7874 5f44 6973 706c 6179 .Fl_Text_Display │ │ │ +00076bf0: 5f69 6e73 6572 7428 7365 6c66 2c20 2a61 _insert(self, *a │ │ │ +00076c00: 7267 7329 0a0a 2020 2020 6465 6620 6f76 rgs).. def ov │ │ │ +00076c10: 6572 7374 7269 6b65 2873 656c 662c 202a erstrike(self, * │ │ │ +00076c20: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +00076c30: 2222 226f 7665 7273 7472 696b 6528 466c """overstrike(Fl │ │ │ +00076c40: 5f54 6578 745f 4469 7370 6c61 7920 7365 _Text_Display se │ │ │ +00076c50: 6c66 2c20 6368 6172 2063 6f6e 7374 202a lf, char const * │ │ │ +00076c60: 2074 6578 7429 2222 220a 2020 2020 2020 text)""". │ │ │ +00076c70: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +00076c80: 6c5f 5465 7874 5f44 6973 706c 6179 5f6f l_Text_Display_o │ │ │ +00076c90: 7665 7273 7472 696b 6528 7365 6c66 2c20 verstrike(self, │ │ │ +00076ca0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +00076cb0: 696e 7365 7274 5f70 6f73 6974 696f 6e28 insert_position( │ │ │ +00076cc0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +00076cd0: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ +00076ce0: 2020 2069 6e73 6572 745f 706f 7369 7469 insert_positi │ │ │ +00076cf0: 6f6e 2846 6c5f 5465 7874 5f44 6973 706c on(Fl_Text_Displ │ │ │ +00076d00: 6179 2073 656c 662c 2069 6e74 206e 6577 ay self, int new │ │ │ +00076d10: 506f 7329 0a20 2020 2020 2020 2069 6e73 Pos). ins │ │ │ +00076d20: 6572 745f 706f 7369 7469 6f6e 2846 6c5f ert_position(Fl_ │ │ │ +00076d30: 5465 7874 5f44 6973 706c 6179 2073 656c Text_Display sel │ │ │ +00076d40: 6629 202d 3e20 696e 740a 2020 2020 2020 f) -> int. │ │ │ +00076d50: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ +00076d60: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ +00076d70: 7874 5f44 6973 706c 6179 5f69 6e73 6572 xt_Display_inser │ │ │ +00076d80: 745f 706f 7369 7469 6f6e 2873 656c 662c t_position(self, │ │ │ +00076d90: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +00076da0: 2070 6f73 6974 696f 6e5f 746f 5f78 7928 position_to_xy( │ │ │ +00076db0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +00076dc0: 2020 2020 2020 7222 2222 706f 7369 7469 r"""positi │ │ │ +00076dd0: 6f6e 5f74 6f5f 7879 2846 6c5f 5465 7874 on_to_xy(Fl_Text │ │ │ +00076de0: 5f44 6973 706c 6179 2073 656c 662c 2069 _Display self, i │ │ │ +00076df0: 6e74 2070 6f73 2c20 696e 7420 2a20 782c nt pos, int * x, │ │ │ +00076e00: 2069 6e74 202a 2079 2920 2d3e 2069 6e74 int * y) -> int │ │ │ +00076e10: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +00076e20: 726e 205f 666c 746b 2e46 6c5f 5465 7874 rn _fltk.Fl_Text │ │ │ +00076e30: 5f44 6973 706c 6179 5f70 6f73 6974 696f _Display_positio │ │ │ +00076e40: 6e5f 746f 5f78 7928 7365 6c66 2c20 2a61 n_to_xy(self, *a │ │ │ +00076e50: 7267 7329 0a0a 2020 2020 6465 6620 696e rgs).. def in │ │ │ +00076e60: 5f73 656c 6563 7469 6f6e 2873 656c 662c _selection(self, │ │ │ +00076e70: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00076e80: 2072 2222 2269 6e5f 7365 6c65 6374 696f r"""in_selectio │ │ │ +00076e90: 6e28 466c 5f54 6578 745f 4469 7370 6c61 n(Fl_Text_Displa │ │ │ +00076ea0: 7920 7365 6c66 2c20 696e 7420 782c 2069 y self, int x, i │ │ │ +00076eb0: 6e74 2079 2920 2d3e 2069 6e74 2222 220a nt y) -> int""". │ │ │ +00076ec0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +00076ed0: 666c 746b 2e46 6c5f 5465 7874 5f44 6973 fltk.Fl_Text_Dis │ │ │ +00076ee0: 706c 6179 5f69 6e5f 7365 6c65 6374 696f play_in_selectio │ │ │ +00076ef0: 6e28 7365 6c66 2c20 2a61 7267 7329 0a0a n(self, *args).. │ │ │ +00076f00: 2020 2020 6465 6620 7368 6f77 5f69 6e73 def show_ins │ │ │ +00076f10: 6572 745f 706f 7369 7469 6f6e 2873 656c ert_position(sel │ │ │ +00076f20: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +00076f30: 2020 2072 2222 2273 686f 775f 696e 7365 r"""show_inse │ │ │ +00076f40: 7274 5f70 6f73 6974 696f 6e28 466c 5f54 rt_position(Fl_T │ │ │ +00076f50: 6578 745f 4469 7370 6c61 7920 7365 6c66 ext_Display self │ │ │ +00076f60: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ +00076f70: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6578 urn _fltk.Fl_Tex │ │ │ +00076f80: 745f 4469 7370 6c61 795f 7368 6f77 5f69 t_Display_show_i │ │ │ +00076f90: 6e73 6572 745f 706f 7369 7469 6f6e 2873 nsert_position(s │ │ │ +00076fa0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +00076fb0: 2064 6566 206d 6f76 655f 7269 6768 7428 def move_right( │ │ │ +00076fc0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +00076fd0: 2020 2020 2020 7222 2222 6d6f 7665 5f72 r"""move_r │ │ │ +00076fe0: 6967 6874 2846 6c5f 5465 7874 5f44 6973 ight(Fl_Text_Dis │ │ │ +00076ff0: 706c 6179 2073 656c 6629 202d 3e20 696e play self) -> in │ │ │ +00077000: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ +00077010: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6578 urn _fltk.Fl_Tex │ │ │ +00077020: 745f 4469 7370 6c61 795f 6d6f 7665 5f72 t_Display_move_r │ │ │ +00077030: 6967 6874 2873 656c 662c 202a 6172 6773 ight(self, *args │ │ │ +00077040: 290a 0a20 2020 2064 6566 206d 6f76 655f ).. def move_ │ │ │ +00077050: 6c65 6674 2873 656c 662c 202a 6172 6773 left(self, *args │ │ │ +00077060: 293a 0a20 2020 2020 2020 2072 2222 226d ):. r"""m │ │ │ +00077070: 6f76 655f 6c65 6674 2846 6c5f 5465 7874 ove_left(Fl_Text │ │ │ +00077080: 5f44 6973 706c 6179 2073 656c 6629 202d _Display self) - │ │ │ +00077090: 3e20 696e 7422 2222 0a20 2020 2020 2020 > int""". │ │ │ +000770a0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +000770b0: 5f54 6578 745f 4469 7370 6c61 795f 6d6f _Text_Display_mo │ │ │ +000770c0: 7665 5f6c 6566 7428 7365 6c66 2c20 2a61 ve_left(self, *a │ │ │ +000770d0: 7267 7329 0a0a 2020 2020 6465 6620 6d6f rgs).. def mo │ │ │ +000770e0: 7665 5f75 7028 7365 6c66 2c20 2a61 7267 ve_up(self, *arg │ │ │ +000770f0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +00077100: 6d6f 7665 5f75 7028 466c 5f54 6578 745f move_up(Fl_Text_ │ │ │ +00077110: 4469 7370 6c61 7920 7365 6c66 2920 2d3e Display self) -> │ │ │ +00077120: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ +00077130: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +00077140: 5465 7874 5f44 6973 706c 6179 5f6d 6f76 Text_Display_mov │ │ │ +00077150: 655f 7570 2873 656c 662c 202a 6172 6773 e_up(self, *args │ │ │ +00077160: 290a 0a20 2020 2064 6566 206d 6f76 655f ).. def move_ │ │ │ +00077170: 646f 776e 2873 656c 662c 202a 6172 6773 down(self, *args │ │ │ +00077180: 293a 0a20 2020 2020 2020 2072 2222 226d ):. r"""m │ │ │ +00077190: 6f76 655f 646f 776e 2846 6c5f 5465 7874 ove_down(Fl_Text │ │ │ +000771a0: 5f44 6973 706c 6179 2073 656c 6629 202d _Display self) - │ │ │ +000771b0: 3e20 696e 7422 2222 0a20 2020 2020 2020 > int""". │ │ │ +000771c0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +000771d0: 5f54 6578 745f 4469 7370 6c61 795f 6d6f _Text_Display_mo │ │ │ +000771e0: 7665 5f64 6f77 6e28 7365 6c66 2c20 2a61 ve_down(self, *a │ │ │ +000771f0: 7267 7329 0a0a 2020 2020 6465 6620 636f rgs).. def co │ │ │ +00077200: 756e 745f 6c69 6e65 7328 7365 6c66 2c20 unt_lines(self, │ │ │ +00077210: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00077220: 7222 2222 636f 756e 745f 6c69 6e65 7328 r"""count_lines( │ │ │ +00077230: 466c 5f54 6578 745f 4469 7370 6c61 7920 Fl_Text_Display │ │ │ +00077240: 7365 6c66 2c20 696e 7420 7374 6172 742c self, int start, │ │ │ +00077250: 2069 6e74 2065 6e64 2c20 626f 6f6c 2073 int end, bool s │ │ │ +00077260: 7461 7274 5f70 6f73 5f69 735f 6c69 6e65 tart_pos_is_line │ │ │ +00077270: 5f73 7461 7274 2920 2d3e 2069 6e74 2222 _start) -> int"" │ │ │ +00077280: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +00077290: 205f 666c 746b 2e46 6c5f 5465 7874 5f44 _fltk.Fl_Text_D │ │ │ +000772a0: 6973 706c 6179 5f63 6f75 6e74 5f6c 696e isplay_count_lin │ │ │ +000772b0: 6573 2873 656c 662c 202a 6172 6773 290a es(self, *args). │ │ │ +000772c0: 0a20 2020 2064 6566 206c 696e 655f 7374 . def line_st │ │ │ +000772d0: 6172 7428 7365 6c66 2c20 2a61 7267 7329 art(self, *args) │ │ │ +000772e0: 3a0a 2020 2020 2020 2020 7222 2222 6c69 :. r"""li │ │ │ +000772f0: 6e65 5f73 7461 7274 2846 6c5f 5465 7874 ne_start(Fl_Text │ │ │ +00077300: 5f44 6973 706c 6179 2073 656c 662c 2069 _Display self, i │ │ │ +00077310: 6e74 2070 6f73 2920 2d3e 2069 6e74 2222 nt pos) -> int"" │ │ │ +00077320: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +00077330: 205f 666c 746b 2e46 6c5f 5465 7874 5f44 _fltk.Fl_Text_D │ │ │ +00077340: 6973 706c 6179 5f6c 696e 655f 7374 6172 isplay_line_star │ │ │ +00077350: 7428 7365 6c66 2c20 2a61 7267 7329 0a0a t(self, *args).. │ │ │ +00077360: 2020 2020 6465 6620 6c69 6e65 5f65 6e64 def line_end │ │ │ +00077370: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00077380: 2020 2020 2020 2072 2222 226c 696e 655f r"""line_ │ │ │ +00077390: 656e 6428 466c 5f54 6578 745f 4469 7370 end(Fl_Text_Disp │ │ │ +000773a0: 6c61 7920 7365 6c66 2c20 696e 7420 7374 lay self, int st │ │ │ +000773b0: 6172 7450 6f73 2c20 626f 6f6c 2073 7461 artPos, bool sta │ │ │ +000773c0: 7274 506f 7349 734c 696e 6553 7461 7274 rtPosIsLineStart │ │ │ +000773d0: 2920 2d3e 2069 6e74 2222 220a 2020 2020 ) -> int""". │ │ │ +000773e0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +000773f0: 2e46 6c5f 5465 7874 5f44 6973 706c 6179 .Fl_Text_Display │ │ │ +00077400: 5f6c 696e 655f 656e 6428 7365 6c66 2c20 _line_end(self, │ │ │ +00077410: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +00077420: 736b 6970 5f6c 696e 6573 2873 656c 662c skip_lines(self, │ │ │ +00077430: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00077440: 2072 2222 2273 6b69 705f 6c69 6e65 7328 r"""skip_lines( │ │ │ +00077450: 466c 5f54 6578 745f 4469 7370 6c61 7920 Fl_Text_Display │ │ │ +00077460: 7365 6c66 2c20 696e 7420 7374 6172 7450 self, int startP │ │ │ +00077470: 6f73 2c20 696e 7420 6e4c 696e 6573 2c20 os, int nLines, │ │ │ +00077480: 626f 6f6c 2073 7461 7274 506f 7349 734c bool startPosIsL │ │ │ +00077490: 696e 6553 7461 7274 2920 2d3e 2069 6e74 ineStart) -> int │ │ │ +000774a0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +000774b0: 726e 205f 666c 746b 2e46 6c5f 5465 7874 rn _fltk.Fl_Text │ │ │ +000774c0: 5f44 6973 706c 6179 5f73 6b69 705f 6c69 _Display_skip_li │ │ │ +000774d0: 6e65 7328 7365 6c66 2c20 2a61 7267 7329 nes(self, *args) │ │ │ +000774e0: 0a0a 2020 2020 6465 6620 7265 7769 6e64 .. def rewind │ │ │ +000774f0: 5f6c 696e 6573 2873 656c 662c 202a 6172 _lines(self, *ar │ │ │ +00077500: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00077510: 2272 6577 696e 645f 6c69 6e65 7328 466c "rewind_lines(Fl │ │ │ +00077520: 5f54 6578 745f 4469 7370 6c61 7920 7365 _Text_Display se │ │ │ +00077530: 6c66 2c20 696e 7420 7374 6172 7450 6f73 lf, int startPos │ │ │ +00077540: 2c20 696e 7420 6e4c 696e 6573 2920 2d3e , int nLines) -> │ │ │ +00077550: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ +00077560: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +00077570: 5465 7874 5f44 6973 706c 6179 5f72 6577 Text_Display_rew │ │ │ +00077580: 696e 645f 6c69 6e65 7328 7365 6c66 2c20 ind_lines(self, │ │ │ +00077590: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +000775a0: 6e65 7874 5f77 6f72 6428 7365 6c66 2c20 next_word(self, │ │ │ +000775b0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +000775c0: 7222 2222 6e65 7874 5f77 6f72 6428 466c r"""next_word(Fl │ │ │ +000775d0: 5f54 6578 745f 4469 7370 6c61 7920 7365 _Text_Display se │ │ │ +000775e0: 6c66 2922 2222 0a20 2020 2020 2020 2072 lf)""". r │ │ │ +000775f0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +00077600: 6578 745f 4469 7370 6c61 795f 6e65 7874 ext_Display_next │ │ │ +00077610: 5f77 6f72 6428 7365 6c66 2c20 2a61 7267 _word(self, *arg │ │ │ +00077620: 7329 0a0a 2020 2020 6465 6620 7072 6576 s).. def prev │ │ │ +00077630: 696f 7573 5f77 6f72 6428 7365 6c66 2c20 ious_word(self, │ │ │ +00077640: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00077650: 7222 2222 7072 6576 696f 7573 5f77 6f72 r"""previous_wor │ │ │ +00077660: 6428 466c 5f54 6578 745f 4469 7370 6c61 d(Fl_Text_Displa │ │ │ +00077670: 7920 7365 6c66 2922 2222 0a20 2020 2020 y self)""". │ │ │ +00077680: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00077690: 466c 5f54 6578 745f 4469 7370 6c61 795f Fl_Text_Display_ │ │ │ +000776a0: 7072 6576 696f 7573 5f77 6f72 6428 7365 previous_word(se │ │ │ +000776b0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +000776c0: 6465 6620 7368 6f77 5f63 7572 736f 7228 def show_cursor( │ │ │ +000776d0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +000776e0: 2020 2020 2020 7222 2222 7368 6f77 5f63 r"""show_c │ │ │ +000776f0: 7572 736f 7228 466c 5f54 6578 745f 4469 ursor(Fl_Text_Di │ │ │ +00077700: 7370 6c61 7920 7365 6c66 2c20 696e 7420 splay self, int │ │ │ +00077710: 623d 3129 2222 220a 2020 2020 2020 2020 b=1)""". │ │ │ +00077720: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +00077730: 5465 7874 5f44 6973 706c 6179 5f73 686f Text_Display_sho │ │ │ +00077740: 775f 6375 7273 6f72 2873 656c 662c 202a w_cursor(self, * │ │ │ +00077750: 6172 6773 290a 0a20 2020 2064 6566 2068 args).. def h │ │ │ +00077760: 6964 655f 6375 7273 6f72 2873 656c 662c ide_cursor(self, │ │ │ +00077770: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00077780: 2072 2222 2268 6964 655f 6375 7273 6f72 r"""hide_cursor │ │ │ +00077790: 2846 6c5f 5465 7874 5f44 6973 706c 6179 (Fl_Text_Display │ │ │ +000777a0: 2073 656c 6629 2222 220a 2020 2020 2020 self)""". │ │ │ +000777b0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +000777c0: 6c5f 5465 7874 5f44 6973 706c 6179 5f68 l_Text_Display_h │ │ │ +000777d0: 6964 655f 6375 7273 6f72 2873 656c 662c ide_cursor(self, │ │ │ +000777e0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +000777f0: 2063 7572 736f 725f 7374 796c 6528 7365 cursor_style(se │ │ │ +00077800: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +00077810: 2020 2020 7222 2222 0a20 2020 2020 2020 r""". │ │ │ +00077820: 2063 7572 736f 725f 7374 796c 6528 466c cursor_style(Fl │ │ │ +00077830: 5f54 6578 745f 4469 7370 6c61 7920 7365 _Text_Display se │ │ │ +00077840: 6c66 2c20 696e 7420 7374 796c 6529 0a20 lf, int style). │ │ │ +00077850: 2020 2020 2020 2063 7572 736f 725f 7374 cursor_st │ │ │ +00077860: 796c 6528 466c 5f54 6578 745f 4469 7370 yle(Fl_Text_Disp │ │ │ +00077870: 6c61 7920 7365 6c66 2920 2d3e 2069 6e74 lay self) -> int │ │ │ +00077880: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ +00077890: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +000778a0: 6b2e 466c 5f54 6578 745f 4469 7370 6c61 k.Fl_Text_Displa │ │ │ +000778b0: 795f 6375 7273 6f72 5f73 7479 6c65 2873 y_cursor_style(s │ │ │ +000778c0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +000778d0: 2064 6566 2063 7572 736f 725f 636f 6c6f def cursor_colo │ │ │ +000778e0: 7228 7365 6c66 2c20 2a61 7267 7329 3a0a r(self, *args):. │ │ │ +000778f0: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ +00077900: 2020 2020 2063 7572 736f 725f 636f 6c6f cursor_colo │ │ │ +00077910: 7228 466c 5f54 6578 745f 4469 7370 6c61 r(Fl_Text_Displa │ │ │ +00077920: 7920 7365 6c66 2920 2d3e 2046 6c5f 436f y self) -> Fl_Co │ │ │ +00077930: 6c6f 720a 2020 2020 2020 2020 6375 7273 lor. curs │ │ │ +00077940: 6f72 5f63 6f6c 6f72 2846 6c5f 5465 7874 or_color(Fl_Text │ │ │ +00077950: 5f44 6973 706c 6179 2073 656c 662c 2046 _Display self, F │ │ │ +00077960: 6c5f 436f 6c6f 7220 6e29 0a20 2020 2020 l_Color n). │ │ │ +00077970: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ +00077980: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +00077990: 6578 745f 4469 7370 6c61 795f 6375 7273 ext_Display_curs │ │ │ +000779a0: 6f72 5f63 6f6c 6f72 2873 656c 662c 202a or_color(self, * │ │ │ +000779b0: 6172 6773 290a 0a20 2020 2064 6566 2073 args).. def s │ │ │ +000779c0: 6372 6f6c 6c62 6172 5f77 6964 7468 2873 crollbar_width(s │ │ │ +000779d0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +000779e0: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ +000779f0: 2020 7363 726f 6c6c 6261 725f 7769 6474 scrollbar_widt │ │ │ +00077a00: 6828 466c 5f54 6578 745f 4469 7370 6c61 h(Fl_Text_Displa │ │ │ +00077a10: 7920 7365 6c66 2920 2d3e 2069 6e74 0a20 y self) -> int. │ │ │ +00077a20: 2020 2020 2020 2073 6372 6f6c 6c62 6172 scrollbar │ │ │ +00077a30: 5f77 6964 7468 2846 6c5f 5465 7874 5f44 _width(Fl_Text_D │ │ │ +00077a40: 6973 706c 6179 2073 656c 662c 2069 6e74 isplay self, int │ │ │ +00077a50: 2077 6964 7468 290a 2020 2020 2020 2020 width). │ │ │ +00077a60: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +00077a70: 726e 205f 666c 746b 2e46 6c5f 5465 7874 rn _fltk.Fl_Text │ │ │ +00077a80: 5f44 6973 706c 6179 5f73 6372 6f6c 6c62 _Display_scrollb │ │ │ +00077a90: 6172 5f77 6964 7468 2873 656c 662c 202a ar_width(self, * │ │ │ +00077aa0: 6172 6773 290a 0a20 2020 2064 6566 2073 args).. def s │ │ │ +00077ab0: 6372 6f6c 6c62 6172 5f73 697a 6528 7365 crollbar_size(se │ │ │ +00077ac0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +00077ad0: 2020 2020 7222 2222 0a20 2020 2020 2020 r""". │ │ │ +00077ae0: 2073 6372 6f6c 6c62 6172 5f73 697a 6528 scrollbar_size( │ │ │ +00077af0: 466c 5f54 6578 745f 4469 7370 6c61 7920 Fl_Text_Display │ │ │ +00077b00: 7365 6c66 2920 2d3e 2069 6e74 0a20 2020 self) -> int. │ │ │ +00077b10: 2020 2020 2073 6372 6f6c 6c62 6172 5f73 scrollbar_s │ │ │ +00077b20: 697a 6528 466c 5f54 6578 745f 4469 7370 ize(Fl_Text_Disp │ │ │ +00077b30: 6c61 7920 7365 6c66 2c20 696e 7420 6e65 lay self, int ne │ │ │ +00077b40: 7753 697a 6529 0a20 2020 2020 2020 2022 wSize). " │ │ │ +00077b50: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +00077b60: 6e20 5f66 6c74 6b2e 466c 5f54 6578 745f n _fltk.Fl_Text_ │ │ │ +00077b70: 4469 7370 6c61 795f 7363 726f 6c6c 6261 Display_scrollba │ │ │ +00077b80: 725f 7369 7a65 2873 656c 662c 202a 6172 r_size(self, *ar │ │ │ +00077b90: 6773 290a 0a20 2020 2064 6566 2073 6372 gs).. def scr │ │ │ +00077ba0: 6f6c 6c62 6172 5f61 6c69 676e 2873 656c ollbar_align(sel │ │ │ +00077bb0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +00077bc0: 2020 2072 2222 220a 2020 2020 2020 2020 r""". │ │ │ +00077bd0: 7363 726f 6c6c 6261 725f 616c 6967 6e28 scrollbar_align( │ │ │ +00077be0: 466c 5f54 6578 745f 4469 7370 6c61 7920 Fl_Text_Display │ │ │ +00077bf0: 7365 6c66 2920 2d3e 2046 6c5f 416c 6967 self) -> Fl_Alig │ │ │ +00077c00: 6e0a 2020 2020 2020 2020 7363 726f 6c6c n. scroll │ │ │ +00077c10: 6261 725f 616c 6967 6e28 466c 5f54 6578 bar_align(Fl_Tex │ │ │ +00077c20: 745f 4469 7370 6c61 7920 7365 6c66 2c20 t_Display self, │ │ │ +00077c30: 466c 5f41 6c69 676e 2061 290a 2020 2020 Fl_Align a). │ │ │ +00077c40: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ +00077c50: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +00077c60: 5465 7874 5f44 6973 706c 6179 5f73 6372 Text_Display_scr │ │ │ +00077c70: 6f6c 6c62 6172 5f61 6c69 676e 2873 656c ollbar_align(sel │ │ │ +00077c80: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +00077c90: 6566 2077 6f72 645f 7374 6172 7428 7365 ef word_start(se │ │ │ +00077ca0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +00077cb0: 2020 2020 7222 2222 776f 7264 5f73 7461 r"""word_sta │ │ │ +00077cc0: 7274 2846 6c5f 5465 7874 5f44 6973 706c rt(Fl_Text_Displ │ │ │ +00077cd0: 6179 2073 656c 662c 2069 6e74 2070 6f73 ay self, int pos │ │ │ +00077ce0: 2920 2d3e 2069 6e74 2222 220a 2020 2020 ) -> int""". │ │ │ +00077cf0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +00077d00: 2e46 6c5f 5465 7874 5f44 6973 706c 6179 .Fl_Text_Display │ │ │ +00077d10: 5f77 6f72 645f 7374 6172 7428 7365 6c66 _word_start(self │ │ │ +00077d20: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00077d30: 6620 776f 7264 5f65 6e64 2873 656c 662c f word_end(self, │ │ │ +00077d40: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00077d50: 2072 2222 2277 6f72 645f 656e 6428 466c r"""word_end(Fl │ │ │ +00077d60: 5f54 6578 745f 4469 7370 6c61 7920 7365 _Text_Display se │ │ │ +00077d70: 6c66 2c20 696e 7420 706f 7329 202d 3e20 lf, int pos) -> │ │ │ +00077d80: 696e 7422 2222 0a20 2020 2020 2020 2072 int""". r │ │ │ +00077d90: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +00077da0: 6578 745f 4469 7370 6c61 795f 776f 7264 ext_Display_word │ │ │ +00077db0: 5f65 6e64 2873 656c 662c 202a 6172 6773 _end(self, *args │ │ │ +00077dc0: 290a 0a20 2020 2064 6566 2070 6f73 6974 ).. def posit │ │ │ +00077dd0: 696f 6e5f 7374 796c 6528 7365 6c66 2c20 ion_style(self, │ │ │ +00077de0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00077df0: 7222 2222 706f 7369 7469 6f6e 5f73 7479 r"""position_sty │ │ │ +00077e00: 6c65 2846 6c5f 5465 7874 5f44 6973 706c le(Fl_Text_Displ │ │ │ +00077e10: 6179 2073 656c 662c 2069 6e74 206c 696e ay self, int lin │ │ │ +00077e20: 6553 7461 7274 506f 732c 2069 6e74 206c eStartPos, int l │ │ │ +00077e30: 696e 654c 656e 2c20 696e 7420 6c69 6e65 ineLen, int line │ │ │ +00077e40: 496e 6465 7829 202d 3e20 696e 7422 2222 Index) -> int""" │ │ │ +00077e50: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +00077e60: 5f66 6c74 6b2e 466c 5f54 6578 745f 4469 _fltk.Fl_Text_Di │ │ │ +00077e70: 7370 6c61 795f 706f 7369 7469 6f6e 5f73 splay_position_s │ │ │ +00077e80: 7479 6c65 2873 656c 662c 202a 6172 6773 tyle(self, *args │ │ │ +00077e90: 290a 0a20 2020 2064 6566 2073 686f 7274 ).. def short │ │ │ +00077ea0: 6375 7428 7365 6c66 2c20 2a61 7267 7329 cut(self, *args) │ │ │ +00077eb0: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ +00077ec0: 2020 2020 2020 2073 686f 7274 6375 7428 shortcut( │ │ │ +00077ed0: 466c 5f54 6578 745f 4469 7370 6c61 7920 Fl_Text_Display │ │ │ +00077ee0: 7365 6c66 2920 2d3e 2069 6e74 0a20 2020 self) -> int. │ │ │ +00077ef0: 2020 2020 2073 686f 7274 6375 7428 466c shortcut(Fl │ │ │ +00077f00: 5f54 6578 745f 4469 7370 6c61 7920 7365 _Text_Display se │ │ │ +00077f10: 6c66 2c20 696e 7420 7329 0a20 2020 2020 lf, int s). │ │ │ +00077f20: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ +00077f30: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +00077f40: 6578 745f 4469 7370 6c61 795f 7368 6f72 ext_Display_shor │ │ │ +00077f50: 7463 7574 2873 656c 662c 202a 6172 6773 tcut(self, *args │ │ │ +00077f60: 290a 0a20 2020 2064 6566 2074 6578 7466 ).. def textf │ │ │ +00077f70: 6f6e 7428 7365 6c66 2c20 2a61 7267 7329 ont(self, *args) │ │ │ +00077f80: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ +00077f90: 2020 2020 2020 2074 6578 7466 6f6e 7428 textfont( │ │ │ +00077fa0: 466c 5f54 6578 745f 4469 7370 6c61 7920 Fl_Text_Display │ │ │ +00077fb0: 7365 6c66 2920 2d3e 2046 6c5f 466f 6e74 self) -> Fl_Font │ │ │ +00077fc0: 0a20 2020 2020 2020 2074 6578 7466 6f6e . textfon │ │ │ +00077fd0: 7428 466c 5f54 6578 745f 4469 7370 6c61 t(Fl_Text_Displa │ │ │ +00077fe0: 7920 7365 6c66 2c20 466c 5f46 6f6e 7420 y self, Fl_Font │ │ │ +00077ff0: 7329 0a20 2020 2020 2020 2022 2222 0a20 s). """. │ │ │ +00078000: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00078010: 6c74 6b2e 466c 5f54 6578 745f 4469 7370 ltk.Fl_Text_Disp │ │ │ +00078020: 6c61 795f 7465 7874 666f 6e74 2873 656c lay_textfont(sel │ │ │ +00078030: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +00078040: 6566 2074 6578 7473 697a 6528 7365 6c66 ef textsize(self │ │ │ +00078050: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00078060: 2020 7222 2222 0a20 2020 2020 2020 2074 r""". t │ │ │ +00078070: 6578 7473 697a 6528 466c 5f54 6578 745f extsize(Fl_Text_ │ │ │ +00078080: 4469 7370 6c61 7920 7365 6c66 2920 2d3e Display self) -> │ │ │ +00078090: 2046 6c5f 466f 6e74 7369 7a65 0a20 2020 Fl_Fontsize. │ │ │ +000780a0: 2020 2020 2074 6578 7473 697a 6528 466c textsize(Fl │ │ │ +000780b0: 5f54 6578 745f 4469 7370 6c61 7920 7365 _Text_Display se │ │ │ +000780c0: 6c66 2c20 466c 5f46 6f6e 7473 697a 6520 lf, Fl_Fontsize │ │ │ +000780d0: 7329 0a20 2020 2020 2020 2022 2222 0a20 s). """. │ │ │ +000780e0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +000780f0: 6c74 6b2e 466c 5f54 6578 745f 4469 7370 ltk.Fl_Text_Disp │ │ │ +00078100: 6c61 795f 7465 7874 7369 7a65 2873 656c lay_textsize(sel │ │ │ +00078110: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +00078120: 6566 2074 6578 7463 6f6c 6f72 2873 656c ef textcolor(sel │ │ │ +00078130: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +00078140: 2020 2072 2222 220a 2020 2020 2020 2020 r""". │ │ │ +00078150: 7465 7874 636f 6c6f 7228 466c 5f54 6578 textcolor(Fl_Tex │ │ │ +00078160: 745f 4469 7370 6c61 7920 7365 6c66 2920 t_Display self) │ │ │ +00078170: 2d3e 2046 6c5f 436f 6c6f 720a 2020 2020 -> Fl_Color. │ │ │ +00078180: 2020 2020 7465 7874 636f 6c6f 7228 466c textcolor(Fl │ │ │ +00078190: 5f54 6578 745f 4469 7370 6c61 7920 7365 _Text_Display se │ │ │ +000781a0: 6c66 2c20 466c 5f43 6f6c 6f72 206e 290a lf, Fl_Color n). │ │ │ +000781b0: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ +000781c0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +000781d0: 2e46 6c5f 5465 7874 5f44 6973 706c 6179 .Fl_Text_Display │ │ │ +000781e0: 5f74 6578 7463 6f6c 6f72 2873 656c 662c _textcolor(self, │ │ │ +000781f0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +00078200: 2067 7261 6d6d 6172 5f75 6e64 6572 6c69 grammar_underli │ │ │ +00078210: 6e65 5f63 6f6c 6f72 2873 656c 662c 202a ne_color(self, * │ │ │ +00078220: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +00078230: 2222 220a 2020 2020 2020 2020 6772 616d """. gram │ │ │ +00078240: 6d61 725f 756e 6465 726c 696e 655f 636f mar_underline_co │ │ │ +00078250: 6c6f 7228 466c 5f54 6578 745f 4469 7370 lor(Fl_Text_Disp │ │ │ +00078260: 6c61 7920 7365 6c66 2c20 466c 5f43 6f6c lay self, Fl_Col │ │ │ +00078270: 6f72 2063 6f6c 6f72 290a 2020 2020 2020 or color). │ │ │ +00078280: 2020 6772 616d 6d61 725f 756e 6465 726c grammar_underl │ │ │ +00078290: 696e 655f 636f 6c6f 7228 466c 5f54 6578 ine_color(Fl_Tex │ │ │ +000782a0: 745f 4469 7370 6c61 7920 7365 6c66 2920 t_Display self) │ │ │ +000782b0: 2d3e 2046 6c5f 436f 6c6f 720a 2020 2020 -> Fl_Color. │ │ │ +000782c0: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ +000782d0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +000782e0: 5465 7874 5f44 6973 706c 6179 5f67 7261 Text_Display_gra │ │ │ +000782f0: 6d6d 6172 5f75 6e64 6572 6c69 6e65 5f63 mmar_underline_c │ │ │ +00078300: 6f6c 6f72 2873 656c 662c 202a 6172 6773 olor(self, *args │ │ │ +00078310: 290a 0a20 2020 2064 6566 2073 7065 6c6c ).. def spell │ │ │ +00078320: 696e 675f 756e 6465 726c 696e 655f 636f ing_underline_co │ │ │ +00078330: 6c6f 7228 7365 6c66 2c20 2a61 7267 7329 lor(self, *args) │ │ │ +00078340: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ +00078350: 2020 2020 2020 2073 7065 6c6c 696e 675f spelling_ │ │ │ +00078360: 756e 6465 726c 696e 655f 636f 6c6f 7228 underline_color( │ │ │ +00078370: 466c 5f54 6578 745f 4469 7370 6c61 7920 Fl_Text_Display │ │ │ +00078380: 7365 6c66 2c20 466c 5f43 6f6c 6f72 2063 self, Fl_Color c │ │ │ +00078390: 6f6c 6f72 290a 2020 2020 2020 2020 7370 olor). sp │ │ │ +000783a0: 656c 6c69 6e67 5f75 6e64 6572 6c69 6e65 elling_underline │ │ │ +000783b0: 5f63 6f6c 6f72 2846 6c5f 5465 7874 5f44 _color(Fl_Text_D │ │ │ +000783c0: 6973 706c 6179 2073 656c 6629 202d 3e20 isplay self) -> │ │ │ +000783d0: 466c 5f43 6f6c 6f72 0a20 2020 2020 2020 Fl_Color. │ │ │ +000783e0: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ +000783f0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6578 urn _fltk.Fl_Tex │ │ │ +00078400: 745f 4469 7370 6c61 795f 7370 656c 6c69 t_Display_spelli │ │ │ +00078410: 6e67 5f75 6e64 6572 6c69 6e65 5f63 6f6c ng_underline_col │ │ │ +00078420: 6f72 2873 656c 662c 202a 6172 6773 290a or(self, *args). │ │ │ +00078430: 0a20 2020 2064 6566 2073 6563 6f6e 6461 . def seconda │ │ │ +00078440: 7279 5f73 656c 6563 7469 6f6e 5f63 6f6c ry_selection_col │ │ │ +00078450: 6f72 2873 656c 662c 202a 6172 6773 293a or(self, *args): │ │ │ +00078460: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ +00078470: 2020 2020 2020 7365 636f 6e64 6172 795f secondary_ │ │ │ +00078480: 7365 6c65 6374 696f 6e5f 636f 6c6f 7228 selection_color( │ │ │ +00078490: 466c 5f54 6578 745f 4469 7370 6c61 7920 Fl_Text_Display │ │ │ +000784a0: 7365 6c66 2c20 466c 5f43 6f6c 6f72 2063 self, Fl_Color c │ │ │ +000784b0: 6f6c 6f72 290a 2020 2020 2020 2020 7365 olor). se │ │ │ +000784c0: 636f 6e64 6172 795f 7365 6c65 6374 696f condary_selectio │ │ │ +000784d0: 6e5f 636f 6c6f 7228 466c 5f54 6578 745f n_color(Fl_Text_ │ │ │ +000784e0: 4469 7370 6c61 7920 7365 6c66 2920 2d3e Display self) -> │ │ │ +000784f0: 2046 6c5f 436f 6c6f 720a 2020 2020 2020 Fl_Color. │ │ │ +00078500: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ +00078510: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ +00078520: 7874 5f44 6973 706c 6179 5f73 6563 6f6e xt_Display_secon │ │ │ +00078530: 6461 7279 5f73 656c 6563 7469 6f6e 5f63 dary_selection_c │ │ │ +00078540: 6f6c 6f72 2873 656c 662c 202a 6172 6773 olor(self, *args │ │ │ +00078550: 290a 0a20 2020 2064 6566 2077 7261 7070 ).. def wrapp │ │ │ +00078560: 6564 5f63 6f6c 756d 6e28 7365 6c66 2c20 ed_column(self, │ │ │ +00078570: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00078580: 7222 2222 7772 6170 7065 645f 636f 6c75 r"""wrapped_colu │ │ │ +00078590: 6d6e 2846 6c5f 5465 7874 5f44 6973 706c mn(Fl_Text_Displ │ │ │ +000785a0: 6179 2073 656c 662c 2069 6e74 2072 6f77 ay self, int row │ │ │ +000785b0: 2c20 696e 7420 636f 6c75 6d6e 2920 2d3e , int column) -> │ │ │ +000785c0: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ +000785d0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +000785e0: 5465 7874 5f44 6973 706c 6179 5f77 7261 Text_Display_wra │ │ │ +000785f0: 7070 6564 5f63 6f6c 756d 6e28 7365 6c66 pped_column(self │ │ │ +00078600: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00078610: 6620 7772 6170 7065 645f 726f 7728 7365 f wrapped_row(se │ │ │ +00078620: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +00078630: 2020 2020 7222 2222 7772 6170 7065 645f r"""wrapped_ │ │ │ +00078640: 726f 7728 466c 5f54 6578 745f 4469 7370 row(Fl_Text_Disp │ │ │ +00078650: 6c61 7920 7365 6c66 2c20 696e 7420 726f lay self, int ro │ │ │ +00078660: 7729 202d 3e20 696e 7422 2222 0a20 2020 w) -> int""". │ │ │ +00078670: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00078680: 6b2e 466c 5f54 6578 745f 4469 7370 6c61 k.Fl_Text_Displa │ │ │ +00078690: 795f 7772 6170 7065 645f 726f 7728 7365 y_wrapped_row(se │ │ │ +000786a0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +000786b0: 6465 6620 7772 6170 5f6d 6f64 6528 7365 def wrap_mode(se │ │ │ +000786c0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +000786d0: 2020 2020 7222 2222 7772 6170 5f6d 6f64 r"""wrap_mod │ │ │ +000786e0: 6528 466c 5f54 6578 745f 4469 7370 6c61 e(Fl_Text_Displa │ │ │ +000786f0: 7920 7365 6c66 2c20 696e 7420 7772 6170 y self, int wrap │ │ │ +00078700: 2c20 696e 7420 7772 6170 5f6d 6172 6769 , int wrap_margi │ │ │ +00078710: 6e29 2222 220a 2020 2020 2020 2020 7265 n)""". re │ │ │ +00078720: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ +00078730: 7874 5f44 6973 706c 6179 5f77 7261 705f xt_Display_wrap_ │ │ │ +00078740: 6d6f 6465 2873 656c 662c 202a 6172 6773 mode(self, *args │ │ │ +00078750: 290a 0a20 2020 2064 6566 2072 6563 616c ).. def recal │ │ │ +00078760: 635f 6469 7370 6c61 7928 7365 6c66 2c20 c_display(self, │ │ │ +00078770: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00078780: 7222 2222 7265 6361 6c63 5f64 6973 706c r"""recalc_displ │ │ │ +00078790: 6179 2846 6c5f 5465 7874 5f44 6973 706c ay(Fl_Text_Displ │ │ │ +000787a0: 6179 2073 656c 6629 2222 220a 2020 2020 ay self)""". │ │ │ +000787b0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +000787c0: 2e46 6c5f 5465 7874 5f44 6973 706c 6179 .Fl_Text_Display │ │ │ +000787d0: 5f72 6563 616c 635f 6469 7370 6c61 7928 _recalc_display( │ │ │ +000787e0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +000787f0: 2020 6465 6620 6469 7370 6c61 795f 6e65 def display_ne │ │ │ +00078800: 6564 735f 7265 6361 6c63 2873 656c 662c eds_recalc(self, │ │ │ +00078810: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00078820: 2072 2222 2264 6973 706c 6179 5f6e 6565 r"""display_nee │ │ │ +00078830: 6473 5f72 6563 616c 6328 466c 5f54 6578 ds_recalc(Fl_Tex │ │ │ +00078840: 745f 4469 7370 6c61 7920 7365 6c66 2922 t_Display self)" │ │ │ +00078850: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +00078860: 6e20 5f66 6c74 6b2e 466c 5f54 6578 745f n _fltk.Fl_Text_ │ │ │ +00078870: 4469 7370 6c61 795f 6469 7370 6c61 795f Display_display_ │ │ │ +00078880: 6e65 6564 735f 7265 6361 6c63 2873 656c needs_recalc(sel │ │ │ +00078890: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +000788a0: 6566 2072 6573 697a 6528 7365 6c66 2c20 ef resize(self, │ │ │ +000788b0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +000788c0: 7222 2222 7265 7369 7a65 2846 6c5f 5465 r"""resize(Fl_Te │ │ │ +000788d0: 7874 5f44 6973 706c 6179 2073 656c 662c xt_Display self, │ │ │ +000788e0: 2069 6e74 2058 2c20 696e 7420 592c 2069 int X, int Y, i │ │ │ +000788f0: 6e74 2057 2c20 696e 7420 4829 2222 220a nt W, int H)""". │ │ │ +00078900: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +00078910: 666c 746b 2e46 6c5f 5465 7874 5f44 6973 fltk.Fl_Text_Dis │ │ │ +00078920: 706c 6179 5f72 6573 697a 6528 7365 6c66 play_resize(self │ │ │ +00078930: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00078940: 6620 785f 746f 5f63 6f6c 2873 656c 662c f x_to_col(self, │ │ │ +00078950: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00078960: 2072 2222 2278 5f74 6f5f 636f 6c28 466c r"""x_to_col(Fl │ │ │ +00078970: 5f54 6578 745f 4469 7370 6c61 7920 7365 _Text_Display se │ │ │ +00078980: 6c66 2c20 646f 7562 6c65 2078 2920 2d3e lf, double x) -> │ │ │ +00078990: 2064 6f75 626c 6522 2222 0a20 2020 2020 double""". │ │ │ +000789a0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +000789b0: 466c 5f54 6578 745f 4469 7370 6c61 795f Fl_Text_Display_ │ │ │ +000789c0: 785f 746f 5f63 6f6c 2873 656c 662c 202a x_to_col(self, * │ │ │ +000789d0: 6172 6773 290a 0a20 2020 2064 6566 2063 args).. def c │ │ │ +000789e0: 6f6c 5f74 6f5f 7828 7365 6c66 2c20 2a61 ol_to_x(self, *a │ │ │ +000789f0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00078a00: 2222 636f 6c5f 746f 5f78 2846 6c5f 5465 ""col_to_x(Fl_Te │ │ │ +00078a10: 7874 5f44 6973 706c 6179 2073 656c 662c xt_Display self, │ │ │ +00078a20: 2064 6f75 626c 6520 636f 6c29 202d 3e20 double col) -> │ │ │ +00078a30: 646f 7562 6c65 2222 220a 2020 2020 2020 double""". │ │ │ +00078a40: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +00078a50: 6c5f 5465 7874 5f44 6973 706c 6179 5f63 l_Text_Display_c │ │ │ +00078a60: 6f6c 5f74 6f5f 7828 7365 6c66 2c20 2a61 ol_to_x(self, *a │ │ │ +00078a70: 7267 7329 0a0a 2020 2020 6465 6620 6c69 rgs).. def li │ │ │ +00078a80: 6e65 6e75 6d62 6572 5f77 6964 7468 2873 nenumber_width(s │ │ │ +00078a90: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00078aa0: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ +00078ab0: 2020 6c69 6e65 6e75 6d62 6572 5f77 6964 linenumber_wid │ │ │ +00078ac0: 7468 2846 6c5f 5465 7874 5f44 6973 706c th(Fl_Text_Displ │ │ │ +00078ad0: 6179 2073 656c 662c 2069 6e74 2077 6964 ay self, int wid │ │ │ +00078ae0: 7468 290a 2020 2020 2020 2020 6c69 6e65 th). line │ │ │ +00078af0: 6e75 6d62 6572 5f77 6964 7468 2846 6c5f number_width(Fl_ │ │ │ +00078b00: 5465 7874 5f44 6973 706c 6179 2073 656c Text_Display sel │ │ │ +00078b10: 6629 202d 3e20 696e 740a 2020 2020 2020 f) -> int. │ │ │ +00078b20: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ +00078b30: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ +00078b40: 7874 5f44 6973 706c 6179 5f6c 696e 656e xt_Display_linen │ │ │ +00078b50: 756d 6265 725f 7769 6474 6828 7365 6c66 umber_width(self │ │ │ +00078b60: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00078b70: 6620 6c69 6e65 6e75 6d62 6572 5f66 6f6e f linenumber_fon │ │ │ +00078b80: 7428 7365 6c66 2c20 2a61 7267 7329 3a0a t(self, *args):. │ │ │ +00078b90: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ +00078ba0: 2020 2020 206c 696e 656e 756d 6265 725f linenumber_ │ │ │ +00078bb0: 666f 6e74 2846 6c5f 5465 7874 5f44 6973 font(Fl_Text_Dis │ │ │ +00078bc0: 706c 6179 2073 656c 662c 2046 6c5f 466f play self, Fl_Fo │ │ │ +00078bd0: 6e74 2076 616c 290a 2020 2020 2020 2020 nt val). │ │ │ +00078be0: 6c69 6e65 6e75 6d62 6572 5f66 6f6e 7428 linenumber_font( │ │ │ +00078bf0: 466c 5f54 6578 745f 4469 7370 6c61 7920 Fl_Text_Display │ │ │ +00078c00: 7365 6c66 2920 2d3e 2046 6c5f 466f 6e74 self) -> Fl_Font │ │ │ +00078c10: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ +00078c20: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00078c30: 6b2e 466c 5f54 6578 745f 4469 7370 6c61 k.Fl_Text_Displa │ │ │ +00078c40: 795f 6c69 6e65 6e75 6d62 6572 5f66 6f6e y_linenumber_fon │ │ │ +00078c50: 7428 7365 6c66 2c20 2a61 7267 7329 0a0a t(self, *args).. │ │ │ +00078c60: 2020 2020 6465 6620 6c69 6e65 6e75 6d62 def linenumb │ │ │ +00078c70: 6572 5f73 697a 6528 7365 6c66 2c20 2a61 er_size(self, *a │ │ │ +00078c80: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00078c90: 2222 0a20 2020 2020 2020 206c 696e 656e "". linen │ │ │ +00078ca0: 756d 6265 725f 7369 7a65 2846 6c5f 5465 umber_size(Fl_Te │ │ │ +00078cb0: 7874 5f44 6973 706c 6179 2073 656c 662c xt_Display self, │ │ │ +00078cc0: 2046 6c5f 466f 6e74 7369 7a65 2076 616c Fl_Fontsize val │ │ │ +00078cd0: 290a 2020 2020 2020 2020 6c69 6e65 6e75 ). linenu │ │ │ +00078ce0: 6d62 6572 5f73 697a 6528 466c 5f54 6578 mber_size(Fl_Tex │ │ │ +00078cf0: 745f 4469 7370 6c61 7920 7365 6c66 2920 t_Display self) │ │ │ +00078d00: 2d3e 2046 6c5f 466f 6e74 7369 7a65 0a20 -> Fl_Fontsize. │ │ │ +00078d10: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ +00078d20: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00078d30: 466c 5f54 6578 745f 4469 7370 6c61 795f Fl_Text_Display_ │ │ │ +00078d40: 6c69 6e65 6e75 6d62 6572 5f73 697a 6528 linenumber_size( │ │ │ +00078d50: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +00078d60: 2020 6465 6620 6c69 6e65 6e75 6d62 6572 def linenumber │ │ │ +00078d70: 5f66 6763 6f6c 6f72 2873 656c 662c 202a _fgcolor(self, * │ │ │ +00078d80: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +00078d90: 2222 220a 2020 2020 2020 2020 6c69 6e65 """. line │ │ │ +00078da0: 6e75 6d62 6572 5f66 6763 6f6c 6f72 2846 number_fgcolor(F │ │ │ +00078db0: 6c5f 5465 7874 5f44 6973 706c 6179 2073 l_Text_Display s │ │ │ +00078dc0: 656c 662c 2046 6c5f 436f 6c6f 7220 7661 elf, Fl_Color va │ │ │ +00078dd0: 6c29 0a20 2020 2020 2020 206c 696e 656e l). linen │ │ │ +00078de0: 756d 6265 725f 6667 636f 6c6f 7228 466c umber_fgcolor(Fl │ │ │ +00078df0: 5f54 6578 745f 4469 7370 6c61 7920 7365 _Text_Display se │ │ │ +00078e00: 6c66 2920 2d3e 2046 6c5f 436f 6c6f 720a lf) -> Fl_Color. │ │ │ +00078e10: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ +00078e20: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +00078e30: 2e46 6c5f 5465 7874 5f44 6973 706c 6179 .Fl_Text_Display │ │ │ +00078e40: 5f6c 696e 656e 756d 6265 725f 6667 636f _linenumber_fgco │ │ │ +00078e50: 6c6f 7228 7365 6c66 2c20 2a61 7267 7329 lor(self, *args) │ │ │ +00078e60: 0a0a 2020 2020 6465 6620 6c69 6e65 6e75 .. def linenu │ │ │ +00078e70: 6d62 6572 5f62 6763 6f6c 6f72 2873 656c mber_bgcolor(sel │ │ │ +00078e80: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +00078e90: 2020 2072 2222 220a 2020 2020 2020 2020 r""". │ │ │ +00078ea0: 6c69 6e65 6e75 6d62 6572 5f62 6763 6f6c linenumber_bgcol │ │ │ +00078eb0: 6f72 2846 6c5f 5465 7874 5f44 6973 706c or(Fl_Text_Displ │ │ │ +00078ec0: 6179 2073 656c 662c 2046 6c5f 436f 6c6f ay self, Fl_Colo │ │ │ +00078ed0: 7220 7661 6c29 0a20 2020 2020 2020 206c r val). l │ │ │ +00078ee0: 696e 656e 756d 6265 725f 6267 636f 6c6f inenumber_bgcolo │ │ │ +00078ef0: 7228 466c 5f54 6578 745f 4469 7370 6c61 r(Fl_Text_Displa │ │ │ +00078f00: 7920 7365 6c66 2920 2d3e 2046 6c5f 436f y self) -> Fl_Co │ │ │ +00078f10: 6c6f 720a 2020 2020 2020 2020 2222 220a lor. """. │ │ │ +00078f20: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +00078f30: 666c 746b 2e46 6c5f 5465 7874 5f44 6973 fltk.Fl_Text_Dis │ │ │ +00078f40: 706c 6179 5f6c 696e 656e 756d 6265 725f play_linenumber_ │ │ │ +00078f50: 6267 636f 6c6f 7228 7365 6c66 2c20 2a61 bgcolor(self, *a │ │ │ +00078f60: 7267 7329 0a0a 2020 2020 6465 6620 6c69 rgs).. def li │ │ │ +00078f70: 6e65 6e75 6d62 6572 5f61 6c69 676e 2873 nenumber_align(s │ │ │ +00078f80: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00078f90: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ +00078fa0: 2020 6c69 6e65 6e75 6d62 6572 5f61 6c69 linenumber_ali │ │ │ +00078fb0: 676e 2846 6c5f 5465 7874 5f44 6973 706c gn(Fl_Text_Displ │ │ │ +00078fc0: 6179 2073 656c 662c 2046 6c5f 416c 6967 ay self, Fl_Alig │ │ │ +00078fd0: 6e20 7661 6c29 0a20 2020 2020 2020 206c n val). l │ │ │ +00078fe0: 696e 656e 756d 6265 725f 616c 6967 6e28 inenumber_align( │ │ │ +00078ff0: 466c 5f54 6578 745f 4469 7370 6c61 7920 Fl_Text_Display │ │ │ +00079000: 7365 6c66 2920 2d3e 2046 6c5f 416c 6967 self) -> Fl_Alig │ │ │ +00079010: 6e0a 2020 2020 2020 2020 2222 220a 2020 n. """. │ │ │ +00079020: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +00079030: 746b 2e46 6c5f 5465 7874 5f44 6973 706c tk.Fl_Text_Displ │ │ │ +00079040: 6179 5f6c 696e 656e 756d 6265 725f 616c ay_linenumber_al │ │ │ +00079050: 6967 6e28 7365 6c66 2c20 2a61 7267 7329 ign(self, *args) │ │ │ +00079060: 0a0a 2020 2020 6465 6620 6c69 6e65 6e75 .. def linenu │ │ │ +00079070: 6d62 6572 5f66 6f72 6d61 7428 7365 6c66 mber_format(self │ │ │ +00079080: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00079090: 2020 7222 2222 0a20 2020 2020 2020 206c r""". l │ │ │ +000790a0: 696e 656e 756d 6265 725f 666f 726d 6174 inenumber_format │ │ │ +000790b0: 2846 6c5f 5465 7874 5f44 6973 706c 6179 (Fl_Text_Display │ │ │ +000790c0: 2073 656c 662c 2063 6861 7220 636f 6e73 self, char cons │ │ │ +000790d0: 7420 2a20 7661 6c29 0a20 2020 2020 2020 t * val). │ │ │ +000790e0: 206c 696e 656e 756d 6265 725f 666f 726d linenumber_form │ │ │ +000790f0: 6174 2846 6c5f 5465 7874 5f44 6973 706c at(Fl_Text_Displ │ │ │ +00079100: 6179 2073 656c 6629 202d 3e20 6368 6172 ay self) -> char │ │ │ +00079110: 2063 6f6e 7374 202a 0a20 2020 2020 2020 const *. │ │ │ +00079120: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ +00079130: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6578 urn _fltk.Fl_Tex │ │ │ +00079140: 745f 4469 7370 6c61 795f 6c69 6e65 6e75 t_Display_linenu │ │ │ +00079150: 6d62 6572 5f66 6f72 6d61 7428 7365 6c66 mber_format(self │ │ │ +00079160: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00079170: 6620 6472 6177 2873 656c 662c 202a 6172 f draw(self, *ar │ │ │ +00079180: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00079190: 2264 7261 7728 466c 5f54 6578 745f 4469 "draw(Fl_Text_Di │ │ │ +000791a0: 7370 6c61 7920 7365 6c66 2922 2222 0a20 splay self)""". │ │ │ +000791b0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +000791c0: 6c74 6b2e 466c 5f54 6578 745f 4469 7370 ltk.Fl_Text_Disp │ │ │ +000791d0: 6c61 795f 6472 6177 2873 656c 662c 202a lay_draw(self, * │ │ │ +000791e0: 6172 6773 290a 0a20 2020 2064 6566 2067 args).. def g │ │ │ +000791f0: 6574 5f61 6273 6f6c 7574 655f 746f 705f et_absolute_top_ │ │ │ +00079200: 6c69 6e65 5f6e 756d 6265 7228 7365 6c66 line_number(self │ │ │ +00079210: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00079220: 2020 7222 2222 6765 745f 6162 736f 6c75 r"""get_absolu │ │ │ +00079230: 7465 5f74 6f70 5f6c 696e 655f 6e75 6d62 te_top_line_numb │ │ │ +00079240: 6572 2846 6c5f 5465 7874 5f44 6973 706c er(Fl_Text_Displ │ │ │ +00079250: 6179 2073 656c 6629 202d 3e20 696e 7422 ay self) -> int" │ │ │ +00079260: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +00079270: 6e20 5f66 6c74 6b2e 466c 5f54 6578 745f n _fltk.Fl_Text_ │ │ │ +00079280: 4469 7370 6c61 795f 6765 745f 6162 736f Display_get_abso │ │ │ +00079290: 6c75 7465 5f74 6f70 5f6c 696e 655f 6e75 lute_top_line_nu │ │ │ +000792a0: 6d62 6572 2873 656c 662c 202a 6172 6773 mber(self, *args │ │ │ +000792b0: 290a 0a20 2020 2064 6566 2073 6372 6f6c ).. def scrol │ │ │ +000792c0: 6c5f 726f 7728 7365 6c66 2c20 2a61 7267 l_row(self, *arg │ │ │ +000792d0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +000792e0: 7363 726f 6c6c 5f72 6f77 2846 6c5f 5465 scroll_row(Fl_Te │ │ │ +000792f0: 7874 5f44 6973 706c 6179 2073 656c 6629 xt_Display self) │ │ │ +00079300: 202d 3e20 696e 7422 2222 0a20 2020 2020 -> int""". │ │ │ +00079310: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00079320: 466c 5f54 6578 745f 4469 7370 6c61 795f Fl_Text_Display_ │ │ │ +00079330: 7363 726f 6c6c 5f72 6f77 2873 656c 662c scroll_row(self, │ │ │ +00079340: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +00079350: 2073 6372 6f6c 6c5f 636f 6c28 7365 6c66 scroll_col(self │ │ │ +00079360: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00079370: 2020 7222 2222 7363 726f 6c6c 5f63 6f6c r"""scroll_col │ │ │ +00079380: 2846 6c5f 5465 7874 5f44 6973 706c 6179 (Fl_Text_Display │ │ │ +00079390: 2073 656c 6629 202d 3e20 696e 7422 2222 self) -> int""" │ │ │ +000793a0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +000793b0: 5f66 6c74 6b2e 466c 5f54 6578 745f 4469 _fltk.Fl_Text_Di │ │ │ +000793c0: 7370 6c61 795f 7363 726f 6c6c 5f63 6f6c splay_scroll_col │ │ │ +000793d0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +000793e0: 2020 2064 6566 2069 6e69 745f 7479 7065 def init_type │ │ │ +000793f0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00079400: 2020 2020 2020 2072 2222 2269 6e69 745f r"""init_ │ │ │ +00079410: 7479 7065 2846 6c5f 5465 7874 5f44 6973 type(Fl_Text_Dis │ │ │ +00079420: 706c 6179 2073 656c 662c 2063 6861 7220 play self, char │ │ │ +00079430: 2a20 466c 5f54 6578 745f 4469 7370 6c61 * Fl_Text_Displa │ │ │ +00079440: 7929 2222 220a 2020 2020 2020 2020 7265 y)""". re │ │ │ +00079450: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ +00079460: 7874 5f44 6973 706c 6179 5f69 6e69 745f xt_Display_init_ │ │ │ +00079470: 7479 7065 2873 656c 662c 202a 6172 6773 type(self, *args │ │ │ +00079480: 290a 0a20 2020 2064 6566 2068 6967 686c ).. def highl │ │ │ +00079490: 6967 6874 5f64 6174 6128 7365 6c66 2c20 ight_data(self, │ │ │ +000794a0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +000794b0: 7222 2222 6869 6768 6c69 6768 745f 6461 r"""highlight_da │ │ │ +000794c0: 7461 2846 6c5f 5465 7874 5f44 6973 706c ta(Fl_Text_Displ │ │ │ +000794d0: 6179 2073 656c 662c 2046 6c5f 5465 7874 ay self, Fl_Text │ │ │ +000794e0: 5f42 7566 6665 7220 7374 796c 6542 7566 _Buffer styleBuf │ │ │ +000794f0: 6665 722c 2046 6c5f 5465 7874 5f44 6973 fer, Fl_Text_Dis │ │ │ +00079500: 706c 6179 3a3a 5374 796c 655f 5461 626c play::Style_Tabl │ │ │ +00079510: 655f 456e 7472 7920 636f 6e73 7420 2a20 e_Entry const * │ │ │ +00079520: 7374 796c 6554 6162 6c65 2c20 696e 7420 styleTable, int │ │ │ +00079530: 6e53 7479 6c65 732c 2063 6861 7220 756e nStyles, char un │ │ │ +00079540: 6669 6e69 7368 6564 5374 796c 652c 2050 finishedStyle, P │ │ │ +00079550: 794f 626a 6563 7420 2a20 6675 6e63 2c20 yObject * func, │ │ │ +00079560: 5079 4f62 6a65 6374 202a 2063 6241 7267 PyObject * cbArg │ │ │ +00079570: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ +00079580: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6578 urn _fltk.Fl_Tex │ │ │ +00079590: 745f 4469 7370 6c61 795f 6869 6768 6c69 t_Display_highli │ │ │ +000795a0: 6768 745f 6461 7461 2873 656c 662c 202a ght_data(self, * │ │ │ +000795b0: 6172 6773 290a 2020 2020 6465 6620 5f5f args). def __ │ │ │ +000795c0: 6469 736f 776e 5f5f 2873 656c 6629 3a0a disown__(self):. │ │ │ +000795d0: 2020 2020 2020 2020 7365 6c66 2e74 6869 self.thi │ │ │ +000795e0: 732e 6469 736f 776e 2829 0a20 2020 2020 s.disown(). │ │ │ +000795f0: 2020 205f 666c 746b 2e64 6973 6f77 6e5f _fltk.disown_ │ │ │ +00079600: 466c 5f54 6578 745f 4469 7370 6c61 7928 Fl_Text_Display( │ │ │ +00079610: 7365 6c66 290a 2020 2020 2020 2020 7265 self). re │ │ │ +00079620: 7475 726e 2077 6561 6b72 6566 2e70 726f turn weakref.pro │ │ │ +00079630: 7879 2873 656c 6629 0a0a 2320 5265 6769 xy(self)..# Regi │ │ │ +00079640: 7374 6572 2046 6c5f 5465 7874 5f44 6973 ster Fl_Text_Dis │ │ │ +00079650: 706c 6179 2069 6e20 5f66 6c74 6b3a 0a5f play in _fltk:._ │ │ │ +00079660: 666c 746b 2e46 6c5f 5465 7874 5f44 6973 fltk.Fl_Text_Dis │ │ │ +00079670: 706c 6179 5f73 7769 6772 6567 6973 7465 play_swigregiste │ │ │ +00079680: 7228 466c 5f54 6578 745f 4469 7370 6c61 r(Fl_Text_Displa │ │ │ +00079690: 7929 0a46 4c5f 5445 5854 5f45 4449 544f y).FL_TEXT_EDITO │ │ │ +000796a0: 525f 414e 595f 5354 4154 4520 3d20 5f66 R_ANY_STATE = _f │ │ │ +000796b0: 6c74 6b2e 464c 5f54 4558 545f 4544 4954 ltk.FL_TEXT_EDIT │ │ │ +000796c0: 4f52 5f41 4e59 5f53 5441 5445 0a0a 636c OR_ANY_STATE..cl │ │ │ +000796d0: 6173 7320 466c 5f54 6578 745f 4564 6974 ass Fl_Text_Edit │ │ │ +000796e0: 6f72 2846 6c5f 5465 7874 5f44 6973 706c or(Fl_Text_Displ │ │ │ +000796f0: 6179 293a 0a20 2020 2072 2222 220a 0a20 ay):. r""".. │ │ │ +00079700: 2020 2054 6869 7320 6973 2074 6865 2046 This is the F │ │ │ +00079710: 4c54 4b20 7465 7874 2065 6469 746f 7220 LTK text editor │ │ │ +00079720: 7769 6467 6574 2e20 4974 2061 6c6c 6f77 widget. It allow │ │ │ +00079730: 7320 7468 6520 7573 6572 2074 6f20 6564 s the user to ed │ │ │ +00079740: 6974 206d 756c 7469 706c 6520 0a20 2020 it multiple . │ │ │ +00079750: 206c 696e 6573 206f 6620 7465 7874 2061 lines of text a │ │ │ +00079760: 6e64 2073 7570 706f 7274 7320 6869 6768 nd supports high │ │ │ +00079770: 6c69 6768 7469 6e67 2061 6e64 2073 6372 lighting and scr │ │ │ +00079780: 6f6c 6c69 6e67 2e20 5468 6520 6275 6666 olling. The buff │ │ │ +00079790: 6572 2074 6861 7420 6973 200a 2020 2020 er that is . │ │ │ +000797a0: 6469 7370 6c61 7965 6420 696e 2074 6865 displayed in the │ │ │ +000797b0: 2077 6964 6765 7420 6973 206d 616e 6167 widget is manag │ │ │ +000797c0: 6564 2062 7920 7468 6520 466c 5f54 6578 ed by the Fl_Tex │ │ │ +000797d0: 745f 4275 6666 6572 2063 6c61 7373 2e0a t_Buffer class.. │ │ │ +000797e0: 0a20 2020 2022 2222 0a0a 2020 2020 7468 . """.. th │ │ │ +000797f0: 6973 6f77 6e20 3d20 7072 6f70 6572 7479 isown = property │ │ │ +00079800: 286c 616d 6264 6120 783a 2078 2e74 6869 (lambda x: x.thi │ │ │ +00079810: 732e 6f77 6e28 292c 206c 616d 6264 6120 s.own(), lambda │ │ │ +00079820: 782c 2076 3a20 782e 7468 6973 2e6f 776e x, v: x.this.own │ │ │ +00079830: 2876 292c 2064 6f63 3d22 5468 6520 6d65 (v), doc="The me │ │ │ +00079840: 6d62 6572 7368 6970 2066 6c61 6722 290a mbership flag"). │ │ │ +00079850: 2020 2020 5f5f 7265 7072 5f5f 203d 205f __repr__ = _ │ │ │ +00079860: 7377 6967 5f72 6570 720a 0a20 2020 2064 swig_repr.. d │ │ │ +00079870: 6566 205f 5f69 6e69 745f 5f28 7365 6c66 ef __init__(self │ │ │ +00079880: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00079890: 2020 7222 2222 5f5f 696e 6974 5f5f 2846 r"""__init__(F │ │ │ +000798a0: 6c5f 5465 7874 5f45 6469 746f 7220 7365 l_Text_Editor se │ │ │ +000798b0: 6c66 2c20 696e 7420 582c 2069 6e74 2059 lf, int X, int Y │ │ │ +000798c0: 2c20 696e 7420 572c 2069 6e74 2048 2c20 , int W, int H, │ │ │ +000798d0: 6368 6172 2063 6f6e 7374 202a 206c 3d4e char const * l=N │ │ │ +000798e0: 6f6e 6529 202d 3e20 466c 5f54 6578 745f one) -> Fl_Text_ │ │ │ +000798f0: 4564 6974 6f72 2222 220a 2020 2020 2020 Editor""". │ │ │ +00079900: 2020 6966 2073 656c 662e 5f5f 636c 6173 if self.__clas │ │ │ +00079910: 735f 5f20 3d3d 2046 6c5f 5465 7874 5f45 s__ == Fl_Text_E │ │ │ +00079920: 6469 746f 723a 0a20 2020 2020 2020 2020 ditor:. │ │ │ +00079930: 2020 205f 7365 6c66 203d 204e 6f6e 650a _self = None. │ │ │ +00079940: 2020 2020 2020 2020 656c 7365 3a0a 2020 else:. │ │ │ +00079950: 2020 2020 2020 2020 2020 5f73 656c 6620 _self │ │ │ +00079960: 3d20 7365 6c66 0a20 2020 2020 2020 205f = self. _ │ │ │ +00079970: 666c 746b 2e46 6c5f 5465 7874 5f45 6469 fltk.Fl_Text_Edi │ │ │ +00079980: 746f 725f 7377 6967 696e 6974 2873 656c tor_swiginit(sel │ │ │ +00079990: 662c 205f 666c 746b 2e6e 6577 5f46 6c5f f, _fltk.new_Fl_ │ │ │ +000799a0: 5465 7874 5f45 6469 746f 7228 5f73 656c Text_Editor(_sel │ │ │ +000799b0: 662c 202a 6172 6773 2929 0a0a 2020 2020 f, *args)).. │ │ │ +000799c0: 2020 2020 6966 206c 656e 2861 7267 7329 if len(args) │ │ │ +000799d0: 203d 3d20 353a 2020 2020 2020 2020 2020 == 5: │ │ │ +000799e0: 0a20 2020 2020 2020 2023 7265 7461 696e . #retain │ │ │ +000799f0: 2072 6566 6572 656e 6365 2074 6f20 6c61 reference to la │ │ │ +00079a00: 6265 6c0a 2020 2020 2020 2020 2020 2020 bel. │ │ │ +00079a10: 7365 6c66 2e6d 795f 6c61 6265 6c20 3d20 self.my_label = │ │ │ +00079a20: 6172 6773 5b2d 315d 0a20 2020 2020 2020 args[-1]. │ │ │ +00079a30: 2069 6620 7365 6c66 2e70 6172 656e 7428 if self.parent( │ │ │ +00079a40: 2920 213d 204e 6f6e 653a 2020 200a 2020 ) != None: . │ │ │ +00079a50: 2020 2020 2020 2364 656c 6567 6174 6520 #delegate │ │ │ +00079a60: 6f77 6e65 7273 6869 7020 746f 2043 2b2b ownership to C++ │ │ │ +00079a70: 0a20 2020 2020 2020 2020 2020 2073 656c . sel │ │ │ +00079a80: 662e 7468 6973 2e64 6973 6f77 6e28 290a f.this.disown(). │ │ │ +00079a90: 2020 2020 2020 2020 7365 6c66 2e69 6e69 self.ini │ │ │ +00079aa0: 745f 7479 7065 2822 466c 5f54 6578 745f t_type("Fl_Text_ │ │ │ +00079ab0: 4564 6974 6f72 2229 0a20 2020 2020 2020 Editor"). │ │ │ +00079ac0: 2023 7072 696e 7428 2241 6464 696e 6720 #print("Adding │ │ │ +00079ad0: 7479 7065 3a20 222c 2046 6c5f 5465 7874 type: ", Fl_Text │ │ │ +00079ae0: 5f45 6469 746f 7229 0a0a 0a0a 2020 2020 _Editor).... │ │ │ +00079af0: 5f5f 7377 6967 5f64 6573 7472 6f79 5f5f __swig_destroy__ │ │ │ +00079b00: 203d 205f 666c 746b 2e64 656c 6574 655f = _fltk.delete_ │ │ │ +00079b10: 466c 5f54 6578 745f 4564 6974 6f72 0a0a Fl_Text_Editor.. │ │ │ +00079b20: 2020 2020 6465 6620 6861 6e64 6c65 2873 def handle(s │ │ │ +00079b30: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00079b40: 2020 2020 2072 2222 2268 616e 646c 6528 r"""handle( │ │ │ +00079b50: 466c 5f54 6578 745f 4564 6974 6f72 2073 Fl_Text_Editor s │ │ │ +00079b60: 656c 662c 2069 6e74 2065 2920 2d3e 2069 elf, int e) -> i │ │ │ +00079b70: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ +00079b80: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ +00079b90: 7874 5f45 6469 746f 725f 6861 6e64 6c65 xt_Editor_handle │ │ │ +00079ba0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +00079bb0: 2020 2064 6566 2069 6e73 6572 745f 6d6f def insert_mo │ │ │ +00079bc0: 6465 2873 656c 662c 202a 6172 6773 293a de(self, *args): │ │ │ +00079bd0: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ +00079be0: 2020 2020 2020 696e 7365 7274 5f6d 6f64 insert_mod │ │ │ +00079bf0: 6528 466c 5f54 6578 745f 4564 6974 6f72 e(Fl_Text_Editor │ │ │ +00079c00: 2073 656c 662c 2069 6e74 2062 290a 2020 self, int b). │ │ │ +00079c10: 2020 2020 2020 696e 7365 7274 5f6d 6f64 insert_mod │ │ │ +00079c20: 6528 466c 5f54 6578 745f 4564 6974 6f72 e(Fl_Text_Editor │ │ │ +00079c30: 2073 656c 6629 202d 3e20 696e 740a 2020 self) -> int. │ │ │ +00079c40: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ +00079c50: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +00079c60: 6c5f 5465 7874 5f45 6469 746f 725f 696e l_Text_Editor_in │ │ │ +00079c70: 7365 7274 5f6d 6f64 6528 7365 6c66 2c20 sert_mode(self, │ │ │ +00079c80: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +00079c90: 7461 625f 6e61 7628 7365 6c66 2c20 2a61 tab_nav(self, *a │ │ │ +00079ca0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00079cb0: 2222 0a20 2020 2020 2020 2074 6162 5f6e "". tab_n │ │ │ +00079cc0: 6176 2846 6c5f 5465 7874 5f45 6469 746f av(Fl_Text_Edito │ │ │ +00079cd0: 7220 7365 6c66 2c20 696e 7420 7661 6c29 r self, int val) │ │ │ +00079ce0: 0a20 2020 2020 2020 2074 6162 5f6e 6176 . tab_nav │ │ │ +00079cf0: 2846 6c5f 5465 7874 5f45 6469 746f 7220 (Fl_Text_Editor │ │ │ +00079d00: 7365 6c66 2920 2d3e 2069 6e74 0a20 2020 self) -> int. │ │ │ +00079d10: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ +00079d20: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +00079d30: 5f54 6578 745f 4564 6974 6f72 5f74 6162 _Text_Editor_tab │ │ │ +00079d40: 5f6e 6176 2873 656c 662c 202a 6172 6773 _nav(self, *args │ │ │ +00079d50: 290a 0a20 2020 2064 6566 2061 6464 5f6b ).. def add_k │ │ │ +00079d60: 6579 5f62 696e 6469 6e67 2873 656c 662c ey_binding(self, │ │ │ +00079d70: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00079d80: 2072 2222 2261 6464 5f6b 6579 5f62 696e r"""add_key_bin │ │ │ +00079d90: 6469 6e67 2846 6c5f 5465 7874 5f45 6469 ding(Fl_Text_Edi │ │ │ +00079da0: 746f 7220 7365 6c66 2c20 696e 7420 6b65 tor self, int ke │ │ │ +00079db0: 792c 2069 6e74 2073 7461 7465 2c20 466c y, int state, Fl │ │ │ +00079dc0: 5f54 6578 745f 4564 6974 6f72 3a3a 4b65 _Text_Editor::Ke │ │ │ +00079dd0: 795f 4675 6e63 2066 2922 2222 0a20 2020 y_Func f)""". │ │ │ +00079de0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00079df0: 6b2e 466c 5f54 6578 745f 4564 6974 6f72 k.Fl_Text_Editor │ │ │ +00079e00: 5f61 6464 5f6b 6579 5f62 696e 6469 6e67 _add_key_binding │ │ │ +00079e10: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +00079e20: 2020 2064 6566 2072 656d 6f76 655f 6b65 def remove_ke │ │ │ +00079e30: 795f 6269 6e64 696e 6728 7365 6c66 2c20 y_binding(self, │ │ │ +00079e40: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00079e50: 7222 2222 7265 6d6f 7665 5f6b 6579 5f62 r"""remove_key_b │ │ │ +00079e60: 696e 6469 6e67 2846 6c5f 5465 7874 5f45 inding(Fl_Text_E │ │ │ +00079e70: 6469 746f 7220 7365 6c66 2c20 696e 7420 ditor self, int │ │ │ +00079e80: 6b65 792c 2069 6e74 2073 7461 7465 2922 key, int state)" │ │ │ +00079e90: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +00079ea0: 6e20 5f66 6c74 6b2e 466c 5f54 6578 745f n _fltk.Fl_Text_ │ │ │ +00079eb0: 4564 6974 6f72 5f72 656d 6f76 655f 6b65 Editor_remove_ke │ │ │ +00079ec0: 795f 6269 6e64 696e 6728 7365 6c66 2c20 y_binding(self, │ │ │ +00079ed0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +00079ee0: 7265 6d6f 7665 5f61 6c6c 5f6b 6579 5f62 remove_all_key_b │ │ │ +00079ef0: 696e 6469 6e67 7328 7365 6c66 2c20 2a61 indings(self, *a │ │ │ +00079f00: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00079f10: 2222 7265 6d6f 7665 5f61 6c6c 5f6b 6579 ""remove_all_key │ │ │ +00079f20: 5f62 696e 6469 6e67 7328 466c 5f54 6578 _bindings(Fl_Tex │ │ │ +00079f30: 745f 4564 6974 6f72 2073 656c 6629 2222 t_Editor self)"" │ │ │ +00079f40: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +00079f50: 205f 666c 746b 2e46 6c5f 5465 7874 5f45 _fltk.Fl_Text_E │ │ │ +00079f60: 6469 746f 725f 7265 6d6f 7665 5f61 6c6c ditor_remove_all │ │ │ +00079f70: 5f6b 6579 5f62 696e 6469 6e67 7328 7365 _key_bindings(se │ │ │ +00079f80: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +00079f90: 6465 6620 626f 756e 645f 6b65 795f 6675 def bound_key_fu │ │ │ +00079fa0: 6e63 7469 6f6e 2873 656c 662c 202a 6172 nction(self, *ar │ │ │ +00079fb0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00079fc0: 220a 2020 2020 2020 2020 626f 756e 645f ". bound_ │ │ │ +00079fd0: 6b65 795f 6675 6e63 7469 6f6e 2846 6c5f key_function(Fl_ │ │ │ +00079fe0: 5465 7874 5f45 6469 746f 7220 7365 6c66 Text_Editor self │ │ │ +00079ff0: 2c20 696e 7420 6b65 792c 2069 6e74 2073 , int key, int s │ │ │ +0007a000: 7461 7465 2c20 466c 5f54 6578 745f 4564 tate, Fl_Text_Ed │ │ │ +0007a010: 6974 6f72 3a3a 4b65 795f 4269 6e64 696e itor::Key_Bindin │ │ │ +0007a020: 6720 2a20 6c69 7374 2920 2d3e 2046 6c5f g * list) -> Fl_ │ │ │ +0007a030: 5465 7874 5f45 6469 746f 723a 3a4b 6579 Text_Editor::Key │ │ │ +0007a040: 5f46 756e 630a 2020 2020 2020 2020 626f _Func. bo │ │ │ +0007a050: 756e 645f 6b65 795f 6675 6e63 7469 6f6e und_key_function │ │ │ +0007a060: 2846 6c5f 5465 7874 5f45 6469 746f 7220 (Fl_Text_Editor │ │ │ +0007a070: 7365 6c66 2c20 696e 7420 6b65 792c 2069 self, int key, i │ │ │ +0007a080: 6e74 2073 7461 7465 2920 2d3e 2046 6c5f nt state) -> Fl_ │ │ │ +0007a090: 5465 7874 5f45 6469 746f 723a 3a4b 6579 Text_Editor::Key │ │ │ +0007a0a0: 5f46 756e 630a 2020 2020 2020 2020 2222 _Func. "" │ │ │ +0007a0b0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0007a0c0: 205f 666c 746b 2e46 6c5f 5465 7874 5f45 _fltk.Fl_Text_E │ │ │ +0007a0d0: 6469 746f 725f 626f 756e 645f 6b65 795f ditor_bound_key_ │ │ │ +0007a0e0: 6675 6e63 7469 6f6e 2873 656c 662c 202a function(self, * │ │ │ +0007a0f0: 6172 6773 290a 0a20 2020 2064 6566 2064 args).. def d │ │ │ +0007a100: 6566 6175 6c74 5f6b 6579 5f66 756e 6374 efault_key_funct │ │ │ +0007a110: 696f 6e28 7365 6c66 2c20 2a61 7267 7329 ion(self, *args) │ │ │ +0007a120: 3a0a 2020 2020 2020 2020 7222 2222 6465 :. r"""de │ │ │ +0007a130: 6661 756c 745f 6b65 795f 6675 6e63 7469 fault_key_functi │ │ │ +0007a140: 6f6e 2846 6c5f 5465 7874 5f45 6469 746f on(Fl_Text_Edito │ │ │ +0007a150: 7220 7365 6c66 2c20 466c 5f54 6578 745f r self, Fl_Text_ │ │ │ +0007a160: 4564 6974 6f72 3a3a 4b65 795f 4675 6e63 Editor::Key_Func │ │ │ +0007a170: 2066 2922 2222 0a20 2020 2020 2020 2072 f)""". r │ │ │ +0007a180: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +0007a190: 6578 745f 4564 6974 6f72 5f64 6566 6175 ext_Editor_defau │ │ │ +0007a1a0: 6c74 5f6b 6579 5f66 756e 6374 696f 6e28 lt_key_function( │ │ │ +0007a1b0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +0007a1c0: 2020 4073 7461 7469 636d 6574 686f 640a @staticmethod. │ │ │ +0007a1d0: 2020 2020 6465 6620 6b66 5f64 6566 6175 def kf_defau │ │ │ +0007a1e0: 6c74 282a 6172 6773 293a 0a20 2020 2020 lt(*args):. │ │ │ +0007a1f0: 2020 2072 2222 226b 665f 6465 6661 756c r"""kf_defaul │ │ │ +0007a200: 7428 696e 7420 632c 2046 6c5f 5465 7874 t(int c, Fl_Text │ │ │ +0007a210: 5f45 6469 746f 7220 6529 202d 3e20 696e _Editor e) -> in │ │ │ +0007a220: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ +0007a230: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6578 urn _fltk.Fl_Tex │ │ │ +0007a240: 745f 4564 6974 6f72 5f6b 665f 6465 6661 t_Editor_kf_defa │ │ │ +0007a250: 756c 7428 2a61 7267 7329 0a0a 2020 2020 ult(*args).. │ │ │ +0007a260: 4073 7461 7469 636d 6574 686f 640a 2020 @staticmethod. │ │ │ +0007a270: 2020 6465 6620 6b66 5f69 676e 6f72 6528 def kf_ignore( │ │ │ +0007a280: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +0007a290: 7222 2222 6b66 5f69 676e 6f72 6528 696e r"""kf_ignore(in │ │ │ +0007a2a0: 7420 632c 2046 6c5f 5465 7874 5f45 6469 t c, Fl_Text_Edi │ │ │ +0007a2b0: 746f 7220 6529 202d 3e20 696e 7422 2222 tor e) -> int""" │ │ │ +0007a2c0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +0007a2d0: 5f66 6c74 6b2e 466c 5f54 6578 745f 4564 _fltk.Fl_Text_Ed │ │ │ +0007a2e0: 6974 6f72 5f6b 665f 6967 6e6f 7265 282a itor_kf_ignore(* │ │ │ +0007a2f0: 6172 6773 290a 0a20 2020 2040 7374 6174 args).. @stat │ │ │ +0007a300: 6963 6d65 7468 6f64 0a20 2020 2064 6566 icmethod. def │ │ │ +0007a310: 206b 665f 6261 636b 7370 6163 6528 2a61 kf_backspace(*a │ │ │ +0007a320: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0007a330: 2222 6b66 5f62 6163 6b73 7061 6365 2869 ""kf_backspace(i │ │ │ +0007a340: 6e74 2063 2c20 466c 5f54 6578 745f 4564 nt c, Fl_Text_Ed │ │ │ +0007a350: 6974 6f72 2065 2920 2d3e 2069 6e74 2222 itor e) -> int"" │ │ │ +0007a360: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0007a370: 205f 666c 746b 2e46 6c5f 5465 7874 5f45 _fltk.Fl_Text_E │ │ │ +0007a380: 6469 746f 725f 6b66 5f62 6163 6b73 7061 ditor_kf_backspa │ │ │ +0007a390: 6365 282a 6172 6773 290a 0a20 2020 2040 ce(*args).. @ │ │ │ +0007a3a0: 7374 6174 6963 6d65 7468 6f64 0a20 2020 staticmethod. │ │ │ +0007a3b0: 2064 6566 206b 665f 656e 7465 7228 2a61 def kf_enter(*a │ │ │ +0007a3c0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0007a3d0: 2222 6b66 5f65 6e74 6572 2869 6e74 2063 ""kf_enter(int c │ │ │ +0007a3e0: 2c20 466c 5f54 6578 745f 4564 6974 6f72 , Fl_Text_Editor │ │ │ +0007a3f0: 2065 2920 2d3e 2069 6e74 2222 220a 2020 e) -> int""". │ │ │ +0007a400: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +0007a410: 746b 2e46 6c5f 5465 7874 5f45 6469 746f tk.Fl_Text_Edito │ │ │ +0007a420: 725f 6b66 5f65 6e74 6572 282a 6172 6773 r_kf_enter(*args │ │ │ +0007a430: 290a 0a20 2020 2040 7374 6174 6963 6d65 ).. @staticme │ │ │ +0007a440: 7468 6f64 0a20 2020 2064 6566 206b 665f thod. def kf_ │ │ │ +0007a450: 6d6f 7665 282a 6172 6773 293a 0a20 2020 move(*args):. │ │ │ +0007a460: 2020 2020 2072 2222 226b 665f 6d6f 7665 r"""kf_move │ │ │ +0007a470: 2869 6e74 2063 2c20 466c 5f54 6578 745f (int c, Fl_Text_ │ │ │ +0007a480: 4564 6974 6f72 2065 2920 2d3e 2069 6e74 Editor e) -> int │ │ │ +0007a490: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +0007a4a0: 726e 205f 666c 746b 2e46 6c5f 5465 7874 rn _fltk.Fl_Text │ │ │ +0007a4b0: 5f45 6469 746f 725f 6b66 5f6d 6f76 6528 _Editor_kf_move( │ │ │ +0007a4c0: 2a61 7267 7329 0a0a 2020 2020 4073 7461 *args).. @sta │ │ │ +0007a4d0: 7469 636d 6574 686f 640a 2020 2020 6465 ticmethod. de │ │ │ +0007a4e0: 6620 6b66 5f73 6869 6674 5f6d 6f76 6528 f kf_shift_move( │ │ │ +0007a4f0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +0007a500: 7222 2222 6b66 5f73 6869 6674 5f6d 6f76 r"""kf_shift_mov │ │ │ +0007a510: 6528 696e 7420 632c 2046 6c5f 5465 7874 e(int c, Fl_Text │ │ │ +0007a520: 5f45 6469 746f 7220 6529 202d 3e20 696e _Editor e) -> in │ │ │ +0007a530: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ +0007a540: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6578 urn _fltk.Fl_Tex │ │ │ +0007a550: 745f 4564 6974 6f72 5f6b 665f 7368 6966 t_Editor_kf_shif │ │ │ +0007a560: 745f 6d6f 7665 282a 6172 6773 290a 0a20 t_move(*args).. │ │ │ +0007a570: 2020 2040 7374 6174 6963 6d65 7468 6f64 @staticmethod │ │ │ +0007a580: 0a20 2020 2064 6566 206b 665f 6374 726c . def kf_ctrl │ │ │ +0007a590: 5f6d 6f76 6528 2a61 7267 7329 3a0a 2020 _move(*args):. │ │ │ +0007a5a0: 2020 2020 2020 7222 2222 6b66 5f63 7472 r"""kf_ctr │ │ │ +0007a5b0: 6c5f 6d6f 7665 2869 6e74 2063 2c20 466c l_move(int c, Fl │ │ │ +0007a5c0: 5f54 6578 745f 4564 6974 6f72 2065 2920 _Text_Editor e) │ │ │ +0007a5d0: 2d3e 2069 6e74 2222 220a 2020 2020 2020 -> int""". │ │ │ +0007a5e0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +0007a5f0: 6c5f 5465 7874 5f45 6469 746f 725f 6b66 l_Text_Editor_kf │ │ │ +0007a600: 5f63 7472 6c5f 6d6f 7665 282a 6172 6773 _ctrl_move(*args │ │ │ +0007a610: 290a 0a20 2020 2040 7374 6174 6963 6d65 ).. @staticme │ │ │ +0007a620: 7468 6f64 0a20 2020 2064 6566 206b 665f thod. def kf_ │ │ │ +0007a630: 635f 735f 6d6f 7665 282a 6172 6773 293a c_s_move(*args): │ │ │ +0007a640: 0a20 2020 2020 2020 2072 2222 226b 665f . r"""kf_ │ │ │ +0007a650: 635f 735f 6d6f 7665 2869 6e74 2063 2c20 c_s_move(int c, │ │ │ +0007a660: 466c 5f54 6578 745f 4564 6974 6f72 2065 Fl_Text_Editor e │ │ │ +0007a670: 2920 2d3e 2069 6e74 2222 220a 2020 2020 ) -> int""". │ │ │ +0007a680: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +0007a690: 2e46 6c5f 5465 7874 5f45 6469 746f 725f .Fl_Text_Editor_ │ │ │ +0007a6a0: 6b66 5f63 5f73 5f6d 6f76 6528 2a61 7267 kf_c_s_move(*arg │ │ │ +0007a6b0: 7329 0a0a 2020 2020 4073 7461 7469 636d s).. @staticm │ │ │ +0007a6c0: 6574 686f 640a 2020 2020 6465 6620 6b66 ethod. def kf │ │ │ +0007a6d0: 5f6d 6574 615f 6d6f 7665 282a 6172 6773 _meta_move(*args │ │ │ +0007a6e0: 293a 0a20 2020 2020 2020 2072 2222 226b ):. r"""k │ │ │ +0007a6f0: 665f 6d65 7461 5f6d 6f76 6528 696e 7420 f_meta_move(int │ │ │ +0007a700: 632c 2046 6c5f 5465 7874 5f45 6469 746f c, Fl_Text_Edito │ │ │ +0007a710: 7220 6529 202d 3e20 696e 7422 2222 0a20 r e) -> int""". │ │ │ +0007a720: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +0007a730: 6c74 6b2e 466c 5f54 6578 745f 4564 6974 ltk.Fl_Text_Edit │ │ │ +0007a740: 6f72 5f6b 665f 6d65 7461 5f6d 6f76 6528 or_kf_meta_move( │ │ │ +0007a750: 2a61 7267 7329 0a0a 2020 2020 4073 7461 *args).. @sta │ │ │ +0007a760: 7469 636d 6574 686f 640a 2020 2020 6465 ticmethod. de │ │ │ +0007a770: 6620 6b66 5f6d 5f73 5f6d 6f76 6528 2a61 f kf_m_s_move(*a │ │ │ +0007a780: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0007a790: 2222 6b66 5f6d 5f73 5f6d 6f76 6528 696e ""kf_m_s_move(in │ │ │ +0007a7a0: 7420 632c 2046 6c5f 5465 7874 5f45 6469 t c, Fl_Text_Edi │ │ │ +0007a7b0: 746f 7220 6529 202d 3e20 696e 7422 2222 tor e) -> int""" │ │ │ +0007a7c0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +0007a7d0: 5f66 6c74 6b2e 466c 5f54 6578 745f 4564 _fltk.Fl_Text_Ed │ │ │ +0007a7e0: 6974 6f72 5f6b 665f 6d5f 735f 6d6f 7665 itor_kf_m_s_move │ │ │ +0007a7f0: 282a 6172 6773 290a 0a20 2020 2040 7374 (*args).. @st │ │ │ +0007a800: 6174 6963 6d65 7468 6f64 0a20 2020 2064 aticmethod. d │ │ │ +0007a810: 6566 206b 665f 686f 6d65 282a 6172 6773 ef kf_home(*args │ │ │ +0007a820: 293a 0a20 2020 2020 2020 2072 2222 226b ):. r"""k │ │ │ +0007a830: 665f 686f 6d65 2869 6e74 2061 7267 312c f_home(int arg1, │ │ │ +0007a840: 2046 6c5f 5465 7874 5f45 6469 746f 7220 Fl_Text_Editor │ │ │ +0007a850: 6529 202d 3e20 696e 7422 2222 0a20 2020 e) -> int""". │ │ │ +0007a860: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +0007a870: 6b2e 466c 5f54 6578 745f 4564 6974 6f72 k.Fl_Text_Editor │ │ │ +0007a880: 5f6b 665f 686f 6d65 282a 6172 6773 290a _kf_home(*args). │ │ │ +0007a890: 0a20 2020 2040 7374 6174 6963 6d65 7468 . @staticmeth │ │ │ +0007a8a0: 6f64 0a20 2020 2064 6566 206b 665f 656e od. def kf_en │ │ │ +0007a8b0: 6428 2a61 7267 7329 3a0a 2020 2020 2020 d(*args):. │ │ │ +0007a8c0: 2020 7222 2222 6b66 5f65 6e64 2869 6e74 r"""kf_end(int │ │ │ +0007a8d0: 2063 2c20 466c 5f54 6578 745f 4564 6974 c, Fl_Text_Edit │ │ │ +0007a8e0: 6f72 2065 2920 2d3e 2069 6e74 2222 220a or e) -> int""". │ │ │ +0007a8f0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +0007a900: 666c 746b 2e46 6c5f 5465 7874 5f45 6469 fltk.Fl_Text_Edi │ │ │ +0007a910: 746f 725f 6b66 5f65 6e64 282a 6172 6773 tor_kf_end(*args │ │ │ +0007a920: 290a 0a20 2020 2040 7374 6174 6963 6d65 ).. @staticme │ │ │ +0007a930: 7468 6f64 0a20 2020 2064 6566 206b 665f thod. def kf_ │ │ │ +0007a940: 6c65 6674 282a 6172 6773 293a 0a20 2020 left(*args):. │ │ │ +0007a950: 2020 2020 2072 2222 226b 665f 6c65 6674 r"""kf_left │ │ │ +0007a960: 2869 6e74 2063 2c20 466c 5f54 6578 745f (int c, Fl_Text_ │ │ │ +0007a970: 4564 6974 6f72 2065 2920 2d3e 2069 6e74 Editor e) -> int │ │ │ +0007a980: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +0007a990: 726e 205f 666c 746b 2e46 6c5f 5465 7874 rn _fltk.Fl_Text │ │ │ +0007a9a0: 5f45 6469 746f 725f 6b66 5f6c 6566 7428 _Editor_kf_left( │ │ │ +0007a9b0: 2a61 7267 7329 0a0a 2020 2020 4073 7461 *args).. @sta │ │ │ +0007a9c0: 7469 636d 6574 686f 640a 2020 2020 6465 ticmethod. de │ │ │ +0007a9d0: 6620 6b66 5f75 7028 2a61 7267 7329 3a0a f kf_up(*args):. │ │ │ +0007a9e0: 2020 2020 2020 2020 7222 2222 6b66 5f75 r"""kf_u │ │ │ +0007a9f0: 7028 696e 7420 632c 2046 6c5f 5465 7874 p(int c, Fl_Text │ │ │ +0007aa00: 5f45 6469 746f 7220 6529 202d 3e20 696e _Editor e) -> in │ │ │ +0007aa10: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ +0007aa20: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6578 urn _fltk.Fl_Tex │ │ │ +0007aa30: 745f 4564 6974 6f72 5f6b 665f 7570 282a t_Editor_kf_up(* │ │ │ +0007aa40: 6172 6773 290a 0a20 2020 2040 7374 6174 args).. @stat │ │ │ +0007aa50: 6963 6d65 7468 6f64 0a20 2020 2064 6566 icmethod. def │ │ │ +0007aa60: 206b 665f 7269 6768 7428 2a61 7267 7329 kf_right(*args) │ │ │ +0007aa70: 3a0a 2020 2020 2020 2020 7222 2222 6b66 :. r"""kf │ │ │ +0007aa80: 5f72 6967 6874 2869 6e74 2063 2c20 466c _right(int c, Fl │ │ │ +0007aa90: 5f54 6578 745f 4564 6974 6f72 2065 2920 _Text_Editor e) │ │ │ +0007aaa0: 2d3e 2069 6e74 2222 220a 2020 2020 2020 -> int""". │ │ │ +0007aab0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +0007aac0: 6c5f 5465 7874 5f45 6469 746f 725f 6b66 l_Text_Editor_kf │ │ │ +0007aad0: 5f72 6967 6874 282a 6172 6773 290a 0a20 _right(*args).. │ │ │ +0007aae0: 2020 2040 7374 6174 6963 6d65 7468 6f64 @staticmethod │ │ │ +0007aaf0: 0a20 2020 2064 6566 206b 665f 646f 776e . def kf_down │ │ │ +0007ab00: 282a 6172 6773 293a 0a20 2020 2020 2020 (*args):. │ │ │ +0007ab10: 2072 2222 226b 665f 646f 776e 2869 6e74 r"""kf_down(int │ │ │ +0007ab20: 2063 2c20 466c 5f54 6578 745f 4564 6974 c, Fl_Text_Edit │ │ │ +0007ab30: 6f72 2065 2920 2d3e 2069 6e74 2222 220a or e) -> int""". │ │ │ +0007ab40: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +0007ab50: 666c 746b 2e46 6c5f 5465 7874 5f45 6469 fltk.Fl_Text_Edi │ │ │ +0007ab60: 746f 725f 6b66 5f64 6f77 6e28 2a61 7267 tor_kf_down(*arg │ │ │ +0007ab70: 7329 0a0a 2020 2020 4073 7461 7469 636d s).. @staticm │ │ │ +0007ab80: 6574 686f 640a 2020 2020 6465 6620 6b66 ethod. def kf │ │ │ +0007ab90: 5f70 6167 655f 7570 282a 6172 6773 293a _page_up(*args): │ │ │ +0007aba0: 0a20 2020 2020 2020 2072 2222 226b 665f . r"""kf_ │ │ │ +0007abb0: 7061 6765 5f75 7028 696e 7420 632c 2046 page_up(int c, F │ │ │ +0007abc0: 6c5f 5465 7874 5f45 6469 746f 7220 6529 l_Text_Editor e) │ │ │ +0007abd0: 202d 3e20 696e 7422 2222 0a20 2020 2020 -> int""". │ │ │ +0007abe0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +0007abf0: 466c 5f54 6578 745f 4564 6974 6f72 5f6b Fl_Text_Editor_k │ │ │ +0007ac00: 665f 7061 6765 5f75 7028 2a61 7267 7329 f_page_up(*args) │ │ │ +0007ac10: 0a0a 2020 2020 4073 7461 7469 636d 6574 .. @staticmet │ │ │ +0007ac20: 686f 640a 2020 2020 6465 6620 6b66 5f70 hod. def kf_p │ │ │ +0007ac30: 6167 655f 646f 776e 282a 6172 6773 293a age_down(*args): │ │ │ +0007ac40: 0a20 2020 2020 2020 2072 2222 226b 665f . r"""kf_ │ │ │ +0007ac50: 7061 6765 5f64 6f77 6e28 696e 7420 632c page_down(int c, │ │ │ +0007ac60: 2046 6c5f 5465 7874 5f45 6469 746f 7220 Fl_Text_Editor │ │ │ +0007ac70: 6529 202d 3e20 696e 7422 2222 0a20 2020 e) -> int""". │ │ │ +0007ac80: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +0007ac90: 6b2e 466c 5f54 6578 745f 4564 6974 6f72 k.Fl_Text_Editor │ │ │ +0007aca0: 5f6b 665f 7061 6765 5f64 6f77 6e28 2a61 _kf_page_down(*a │ │ │ +0007acb0: 7267 7329 0a0a 2020 2020 4073 7461 7469 rgs).. @stati │ │ │ +0007acc0: 636d 6574 686f 640a 2020 2020 6465 6620 cmethod. def │ │ │ +0007acd0: 6b66 5f69 6e73 6572 7428 2a61 7267 7329 kf_insert(*args) │ │ │ +0007ace0: 3a0a 2020 2020 2020 2020 7222 2222 6b66 :. r"""kf │ │ │ +0007acf0: 5f69 6e73 6572 7428 696e 7420 632c 2046 _insert(int c, F │ │ │ +0007ad00: 6c5f 5465 7874 5f45 6469 746f 7220 6529 l_Text_Editor e) │ │ │ +0007ad10: 202d 3e20 696e 7422 2222 0a20 2020 2020 -> int""". │ │ │ +0007ad20: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +0007ad30: 466c 5f54 6578 745f 4564 6974 6f72 5f6b Fl_Text_Editor_k │ │ │ +0007ad40: 665f 696e 7365 7274 282a 6172 6773 290a f_insert(*args). │ │ │ +0007ad50: 0a20 2020 2040 7374 6174 6963 6d65 7468 . @staticmeth │ │ │ +0007ad60: 6f64 0a20 2020 2064 6566 206b 665f 6465 od. def kf_de │ │ │ +0007ad70: 6c65 7465 282a 6172 6773 293a 0a20 2020 lete(*args):. │ │ │ +0007ad80: 2020 2020 2072 2222 226b 665f 6465 6c65 r"""kf_dele │ │ │ +0007ad90: 7465 2869 6e74 2063 2c20 466c 5f54 6578 te(int c, Fl_Tex │ │ │ +0007ada0: 745f 4564 6974 6f72 2065 2920 2d3e 2069 t_Editor e) -> i │ │ │ +0007adb0: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ +0007adc0: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ +0007add0: 7874 5f45 6469 746f 725f 6b66 5f64 656c xt_Editor_kf_del │ │ │ +0007ade0: 6574 6528 2a61 7267 7329 0a0a 2020 2020 ete(*args).. │ │ │ +0007adf0: 4073 7461 7469 636d 6574 686f 640a 2020 @staticmethod. │ │ │ +0007ae00: 2020 6465 6620 6b66 5f63 6f70 7928 2a61 def kf_copy(*a │ │ │ +0007ae10: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0007ae20: 2222 6b66 5f63 6f70 7928 696e 7420 632c ""kf_copy(int c, │ │ │ +0007ae30: 2046 6c5f 5465 7874 5f45 6469 746f 7220 Fl_Text_Editor │ │ │ +0007ae40: 6529 202d 3e20 696e 7422 2222 0a20 2020 e) -> int""". │ │ │ +0007ae50: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +0007ae60: 6b2e 466c 5f54 6578 745f 4564 6974 6f72 k.Fl_Text_Editor │ │ │ +0007ae70: 5f6b 665f 636f 7079 282a 6172 6773 290a _kf_copy(*args). │ │ │ +0007ae80: 0a20 2020 2040 7374 6174 6963 6d65 7468 . @staticmeth │ │ │ +0007ae90: 6f64 0a20 2020 2064 6566 206b 665f 6375 od. def kf_cu │ │ │ +0007aea0: 7428 2a61 7267 7329 3a0a 2020 2020 2020 t(*args):. │ │ │ +0007aeb0: 2020 7222 2222 6b66 5f63 7574 2869 6e74 r"""kf_cut(int │ │ │ +0007aec0: 2063 2c20 466c 5f54 6578 745f 4564 6974 c, Fl_Text_Edit │ │ │ +0007aed0: 6f72 2065 2920 2d3e 2069 6e74 2222 220a or e) -> int""". │ │ │ +0007aee0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +0007aef0: 666c 746b 2e46 6c5f 5465 7874 5f45 6469 fltk.Fl_Text_Edi │ │ │ +0007af00: 746f 725f 6b66 5f63 7574 282a 6172 6773 tor_kf_cut(*args │ │ │ +0007af10: 290a 0a20 2020 2040 7374 6174 6963 6d65 ).. @staticme │ │ │ +0007af20: 7468 6f64 0a20 2020 2064 6566 206b 665f thod. def kf_ │ │ │ +0007af30: 7061 7374 6528 2a61 7267 7329 3a0a 2020 paste(*args):. │ │ │ +0007af40: 2020 2020 2020 7222 2222 6b66 5f70 6173 r"""kf_pas │ │ │ +0007af50: 7465 2869 6e74 2063 2c20 466c 5f54 6578 te(int c, Fl_Tex │ │ │ +0007af60: 745f 4564 6974 6f72 2065 2920 2d3e 2069 t_Editor e) -> i │ │ │ +0007af70: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ +0007af80: 7475 726e 205f 666c 746b 2e46 6c5f 5465 turn _fltk.Fl_Te │ │ │ +0007af90: 7874 5f45 6469 746f 725f 6b66 5f70 6173 xt_Editor_kf_pas │ │ │ +0007afa0: 7465 282a 6172 6773 290a 0a20 2020 2040 te(*args).. @ │ │ │ +0007afb0: 7374 6174 6963 6d65 7468 6f64 0a20 2020 staticmethod. │ │ │ +0007afc0: 2064 6566 206b 665f 7365 6c65 6374 5f61 def kf_select_a │ │ │ +0007afd0: 6c6c 282a 6172 6773 293a 0a20 2020 2020 ll(*args):. │ │ │ +0007afe0: 2020 2072 2222 226b 665f 7365 6c65 6374 r"""kf_select │ │ │ +0007aff0: 5f61 6c6c 2869 6e74 2063 2c20 466c 5f54 _all(int c, Fl_T │ │ │ +0007b000: 6578 745f 4564 6974 6f72 2065 2920 2d3e ext_Editor e) -> │ │ │ +0007b010: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ +0007b020: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +0007b030: 5465 7874 5f45 6469 746f 725f 6b66 5f73 Text_Editor_kf_s │ │ │ +0007b040: 656c 6563 745f 616c 6c28 2a61 7267 7329 elect_all(*args) │ │ │ +0007b050: 0a0a 2020 2020 4073 7461 7469 636d 6574 .. @staticmet │ │ │ +0007b060: 686f 640a 2020 2020 6465 6620 6b66 5f75 hod. def kf_u │ │ │ +0007b070: 6e64 6f28 2a61 7267 7329 3a0a 2020 2020 ndo(*args):. │ │ │ +0007b080: 2020 2020 7222 2222 6b66 5f75 6e64 6f28 r"""kf_undo( │ │ │ +0007b090: 696e 7420 632c 2046 6c5f 5465 7874 5f45 int c, Fl_Text_E │ │ │ +0007b0a0: 6469 746f 7220 6529 202d 3e20 696e 7422 ditor e) -> int" │ │ │ +0007b0b0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0007b0c0: 6e20 5f66 6c74 6b2e 466c 5f54 6578 745f n _fltk.Fl_Text_ │ │ │ +0007b0d0: 4564 6974 6f72 5f6b 665f 756e 646f 282a Editor_kf_undo(* │ │ │ +0007b0e0: 6172 6773 290a 0a20 2020 2040 7374 6174 args).. @stat │ │ │ +0007b0f0: 6963 6d65 7468 6f64 0a20 2020 2064 6566 icmethod. def │ │ │ +0007b100: 206b 665f 7265 646f 282a 6172 6773 293a kf_redo(*args): │ │ │ +0007b110: 0a20 2020 2020 2020 2072 2222 226b 665f . r"""kf_ │ │ │ +0007b120: 7265 646f 2869 6e74 2063 2c20 466c 5f54 redo(int c, Fl_T │ │ │ +0007b130: 6578 745f 4564 6974 6f72 2065 2920 2d3e ext_Editor e) -> │ │ │ +0007b140: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ +0007b150: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +0007b160: 5465 7874 5f45 6469 746f 725f 6b66 5f72 Text_Editor_kf_r │ │ │ +0007b170: 6564 6f28 2a61 7267 7329 0a0a 2020 2020 edo(*args).. │ │ │ +0007b180: 6465 6620 696e 6974 5f74 7970 6528 7365 def init_type(se │ │ │ +0007b190: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +0007b1a0: 2020 2020 7222 2222 696e 6974 5f74 7970 r"""init_typ │ │ │ +0007b1b0: 6528 466c 5f54 6578 745f 4564 6974 6f72 e(Fl_Text_Editor │ │ │ +0007b1c0: 2073 656c 662c 2063 6861 7220 2a20 466c self, char * Fl │ │ │ +0007b1d0: 5f54 6578 745f 4564 6974 6f72 2922 2222 _Text_Editor)""" │ │ │ +0007b1e0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +0007b1f0: 5f66 6c74 6b2e 466c 5f54 6578 745f 4564 _fltk.Fl_Text_Ed │ │ │ +0007b200: 6974 6f72 5f69 6e69 745f 7479 7065 2873 itor_init_type(s │ │ │ +0007b210: 656c 662c 202a 6172 6773 290a 2020 2020 elf, *args). │ │ │ +0007b220: 6465 6620 5f5f 6469 736f 776e 5f5f 2873 def __disown__(s │ │ │ +0007b230: 656c 6629 3a0a 2020 2020 2020 2020 7365 elf):. se │ │ │ +0007b240: 6c66 2e74 6869 732e 6469 736f 776e 2829 lf.this.disown() │ │ │ +0007b250: 0a20 2020 2020 2020 205f 666c 746b 2e64 . _fltk.d │ │ │ +0007b260: 6973 6f77 6e5f 466c 5f54 6578 745f 4564 isown_Fl_Text_Ed │ │ │ +0007b270: 6974 6f72 2873 656c 6629 0a20 2020 2020 itor(self). │ │ │ +0007b280: 2020 2072 6574 7572 6e20 7765 616b 7265 return weakre │ │ │ +0007b290: 662e 7072 6f78 7928 7365 6c66 290a 0a20 f.proxy(self).. │ │ │ +0007b2a0: 2020 2064 6566 2064 7261 7728 7365 6c66 def draw(self │ │ │ +0007b2b0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +0007b2c0: 2020 7222 2222 6472 6177 2846 6c5f 5465 r"""draw(Fl_Te │ │ │ +0007b2d0: 7874 5f45 6469 746f 7220 7365 6c66 2922 xt_Editor self)" │ │ │ +0007b2e0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0007b2f0: 6e20 5f66 6c74 6b2e 466c 5f54 6578 745f n _fltk.Fl_Text_ │ │ │ +0007b300: 4564 6974 6f72 5f64 7261 7728 7365 6c66 Editor_draw(self │ │ │ +0007b310: 2c20 2a61 7267 7329 0a0a 2320 5265 6769 , *args)..# Regi │ │ │ +0007b320: 7374 6572 2046 6c5f 5465 7874 5f45 6469 ster Fl_Text_Edi │ │ │ +0007b330: 746f 7220 696e 205f 666c 746b 3a0a 5f66 tor in _fltk:._f │ │ │ +0007b340: 6c74 6b2e 466c 5f54 6578 745f 4564 6974 ltk.Fl_Text_Edit │ │ │ +0007b350: 6f72 5f73 7769 6772 6567 6973 7465 7228 or_swigregister( │ │ │ +0007b360: 466c 5f54 6578 745f 4564 6974 6f72 290a Fl_Text_Editor). │ │ │ +0007b370: 636c 6173 7320 466c 5f54 696c 6528 466c class Fl_Tile(Fl │ │ │ +0007b380: 5f47 726f 7570 293a 0a20 2020 2072 2222 _Group):. r"" │ │ │ +0007b390: 220a 0a20 2020 2054 6865 2046 6c5f 5469 ".. The Fl_Ti │ │ │ +0007b3a0: 6c65 2063 6c61 7373 206c 6574 7320 796f le class lets yo │ │ │ +0007b3b0: 7520 7265 7369 7a65 2074 6865 2063 6869 u resize the chi │ │ │ +0007b3c0: 6c64 7265 6e20 6279 2064 7261 6767 696e ldren by draggin │ │ │ +0007b3d0: 6720 7468 6520 626f 7264 6572 2062 6574 g the border bet │ │ │ +0007b3e0: 7765 656e 200a 2020 2020 7468 656d 3a0a ween . them:. │ │ │ +0007b3f0: 0a20 2020 2046 6c5f 5469 6c65 2061 6c6c . Fl_Tile all │ │ │ +0007b400: 6f77 7320 6f62 6a65 6374 7320 746f 2062 ows objects to b │ │ │ +0007b410: 6520 7265 7369 7a65 6420 746f 207a 6572 e resized to zer │ │ │ +0007b420: 6f20 6469 6d65 6e73 696f 6e73 2e20 546f o dimensions. To │ │ │ +0007b430: 2070 7265 7665 6e74 2074 6869 7320 796f prevent this yo │ │ │ +0007b440: 7520 0a20 2020 2063 616e 2075 7365 2074 u . can use t │ │ │ +0007b450: 6865 2072 6573 697a 6162 6c65 2829 2074 he resizable() t │ │ │ +0007b460: 6f20 6c69 6d69 7420 7768 6572 6520 636f o limit where co │ │ │ +0007b470: 726e 6572 7320 6361 6e20 6265 2064 7261 rners can be dra │ │ │ +0007b480: 6767 6564 2074 6f2e 0a0a 2020 2020 4576 gged to... Ev │ │ │ +0007b490: 656e 2074 686f 7567 6820 6f62 6a65 6374 en though object │ │ │ +0007b4a0: 7320 6361 6e20 6265 2072 6573 697a 6564 s can be resized │ │ │ +0007b4b0: 2074 6f20 7a65 726f 2073 697a 6573 2c20 to zero sizes, │ │ │ +0007b4c0: 7468 6579 206d 7573 7420 696e 6974 6961 they must initia │ │ │ +0007b4d0: 6c6c 7920 6861 7665 200a 2020 2020 6e6f lly have . no │ │ │ +0007b4e0: 6e2d 7a65 726f 2073 697a 6573 2073 6f20 n-zero sizes so │ │ │ +0007b4f0: 7468 6520 466c 5f54 696c 6520 6361 6e20 the Fl_Tile can │ │ │ +0007b500: 6669 6775 7265 206f 7574 2074 6865 6972 figure out their │ │ │ +0007b510: 206c 6179 6f75 742e 2049 6620 6465 7369 layout. If desi │ │ │ +0007b520: 7265 642c 2063 616c 6c20 0a20 2020 2070 red, call . p │ │ │ +0007b530: 6f73 6974 696f 6e28 2920 6166 7465 7220 osition() after │ │ │ +0007b540: 6372 6561 7469 6e67 2074 6865 2063 6869 creating the chi │ │ │ +0007b550: 6c64 7265 6e20 6275 7420 6265 666f 7265 ldren but before │ │ │ +0007b560: 2064 6973 706c 6179 696e 6720 7468 6520 displaying the │ │ │ +0007b570: 7769 6e64 6f77 2074 6f20 0a20 2020 2073 window to . s │ │ │ +0007b580: 6574 2074 6865 2062 6f72 6465 7273 2077 et the borders w │ │ │ +0007b590: 6865 7265 2079 6f75 2077 616e 742e 0a0a here you want... │ │ │ +0007b5a0: 2020 2020 5468 6520 2762 6f72 6465 7273 The 'borders │ │ │ +0007b5b0: 2720 6172 6520 7061 7274 206f 6620 7468 ' are part of th │ │ │ +0007b5c0: 6520 6368 696c 6472 656e 202d 2046 6c5f e children - Fl_ │ │ │ +0007b5d0: 5469 6c65 2064 6f65 7320 6e6f 7420 6472 Tile does not dr │ │ │ +0007b5e0: 6177 2061 6e79 2067 7261 7068 6963 7320 aw any graphics │ │ │ +0007b5f0: 0a20 2020 206f 6620 6974 7320 6f77 6e2e . of its own. │ │ │ +0007b600: 2049 6e20 7468 6520 6578 616d 706c 6520 In the example │ │ │ +0007b610: 6162 6f76 652c 2061 6c6c 206f 6620 7468 above, all of th │ │ │ +0007b620: 6520 6368 696c 6472 656e 2068 6176 6520 e children have │ │ │ +0007b630: 464c 5f44 4f57 4e5f 424f 5820 7479 7065 FL_DOWN_BOX type │ │ │ +0007b640: 732c 200a 2020 2020 616e 6420 7468 6520 s, . and the │ │ │ +0007b650: 2772 6964 6765 7327 2079 6f75 2073 6565 'ridges' you see │ │ │ +0007b660: 2061 7265 2061 6374 7561 6c6c 7920 7477 are actually tw │ │ │ +0007b670: 6f20 6164 6a61 6365 6e74 2046 4c5f 444f o adjacent FL_DO │ │ │ +0007b680: 574e 5f42 4f58 2773 2064 7261 776e 206e WN_BOX's drawn n │ │ │ +0007b690: 6578 7420 0a20 2020 2074 6f20 6561 6368 ext . to each │ │ │ +0007b6a0: 206f 7468 6572 2e20 416c 6c20 6e65 6967 other. All neig │ │ │ +0007b6b0: 6862 6f72 696e 6720 7769 6467 6574 7320 hboring widgets │ │ │ +0007b6c0: 7368 6172 6520 7468 6520 7361 6d65 2065 share the same e │ │ │ +0007b6d0: 6467 6520 2d20 7468 6520 7769 6467 6574 dge - the widget │ │ │ +0007b6e0: 2773 200a 2020 2020 7468 6963 6b20 626f 's . thick bo │ │ │ +0007b6f0: 7264 6572 7320 6d61 6b65 2069 7420 6170 rders make it ap │ │ │ +0007b700: 7065 6172 2061 7320 7468 6f75 6768 2074 pear as though t │ │ │ +0007b710: 6865 2077 6964 6765 7473 2061 7265 6e27 he widgets aren' │ │ │ +0007b720: 7420 6163 7475 616c 6c79 2074 6f75 6368 t actually touch │ │ │ +0007b730: 696e 672c 200a 2020 2020 6275 7420 7468 ing, . but th │ │ │ +0007b740: 6579 2061 7265 2e20 4966 2074 6865 2065 ey are. If the e │ │ │ +0007b750: 6467 6573 206f 6620 6164 6a61 6365 6e74 dges of adjacent │ │ │ +0007b760: 2077 6964 6765 7473 2064 6f20 6e6f 7420 widgets do not │ │ │ +0007b770: 746f 7563 682c 2074 6865 6e20 6974 2077 touch, then it w │ │ │ +0007b780: 696c 6c20 6265 200a 2020 2020 696d 706f ill be . impo │ │ │ +0007b790: 7373 6962 6c65 2074 6f20 6472 6167 2074 ssible to drag t │ │ │ +0007b7a0: 6865 2063 6f72 7265 7370 6f6e 6469 6e67 he corresponding │ │ │ +0007b7b0: 2065 6467 6573 2e0a 0a20 2020 2022 2222 edges... """ │ │ │ +0007b7c0: 0a0a 2020 2020 7468 6973 6f77 6e20 3d20 .. thisown = │ │ │ +0007b7d0: 7072 6f70 6572 7479 286c 616d 6264 6120 property(lambda │ │ │ +0007b7e0: 783a 2078 2e74 6869 732e 6f77 6e28 292c x: x.this.own(), │ │ │ +0007b7f0: 206c 616d 6264 6120 782c 2076 3a20 782e lambda x, v: x. │ │ │ +0007b800: 7468 6973 2e6f 776e 2876 292c 2064 6f63 this.own(v), doc │ │ │ +0007b810: 3d22 5468 6520 6d65 6d62 6572 7368 6970 ="The membership │ │ │ +0007b820: 2066 6c61 6722 290a 2020 2020 5f5f 7265 flag"). __re │ │ │ +0007b830: 7072 5f5f 203d 205f 7377 6967 5f72 6570 pr__ = _swig_rep │ │ │ +0007b840: 720a 0a20 2020 2064 6566 2068 616e 646c r.. def handl │ │ │ +0007b850: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ +0007b860: 2020 2020 2020 2020 7222 2222 6861 6e64 r"""hand │ │ │ +0007b870: 6c65 2846 6c5f 5469 6c65 2073 656c 662c le(Fl_Tile self, │ │ │ +0007b880: 2069 6e74 2065 7665 6e74 2920 2d3e 2069 int event) -> i │ │ │ +0007b890: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ +0007b8a0: 7475 726e 205f 666c 746b 2e46 6c5f 5469 turn _fltk.Fl_Ti │ │ │ +0007b8b0: 6c65 5f68 616e 646c 6528 7365 6c66 2c20 le_handle(self, │ │ │ +0007b8c0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +0007b8d0: 5f5f 696e 6974 5f5f 2873 656c 662c 202a __init__(self, * │ │ │ +0007b8e0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +0007b8f0: 2222 225f 5f69 6e69 745f 5f28 466c 5f54 """__init__(Fl_T │ │ │ +0007b900: 696c 6520 7365 6c66 2c20 696e 7420 582c ile self, int X, │ │ │ +0007b910: 2069 6e74 2059 2c20 696e 7420 572c 2069 int Y, int W, i │ │ │ +0007b920: 6e74 2048 2c20 6368 6172 2063 6f6e 7374 nt H, char const │ │ │ +0007b930: 202a 204c 3d4e 6f6e 6529 202d 3e20 466c * L=None) -> Fl │ │ │ +0007b940: 5f54 696c 6522 2222 0a20 2020 2020 2020 _Tile""". │ │ │ +0007b950: 2069 6620 7365 6c66 2e5f 5f63 6c61 7373 if self.__class │ │ │ +0007b960: 5f5f 203d 3d20 466c 5f54 696c 653a 0a20 __ == Fl_Tile:. │ │ │ +0007b970: 2020 2020 2020 2020 2020 205f 7365 6c66 _self │ │ │ +0007b980: 203d 204e 6f6e 650a 2020 2020 2020 2020 = None. │ │ │ +0007b990: 656c 7365 3a0a 2020 2020 2020 2020 2020 else:. │ │ │ +0007b9a0: 2020 5f73 656c 6620 3d20 7365 6c66 0a20 _self = self. │ │ │ +0007b9b0: 2020 2020 2020 205f 666c 746b 2e46 6c5f _fltk.Fl_ │ │ │ +0007b9c0: 5469 6c65 5f73 7769 6769 6e69 7428 7365 Tile_swiginit(se │ │ │ +0007b9d0: 6c66 2c20 5f66 6c74 6b2e 6e65 775f 466c lf, _fltk.new_Fl │ │ │ +0007b9e0: 5f54 696c 6528 5f73 656c 662c 202a 6172 _Tile(_self, *ar │ │ │ +0007b9f0: 6773 2929 0a0a 2020 2020 2020 2020 6966 gs)).. if │ │ │ +0007ba00: 206c 656e 2861 7267 7329 203d 3d20 353a len(args) == 5: │ │ │ +0007ba10: 2020 2020 2020 2020 2020 0a20 2020 2020 . │ │ │ +0007ba20: 2020 2023 7265 7461 696e 2072 6566 6572 #retain refer │ │ │ +0007ba30: 656e 6365 2074 6f20 6c61 6265 6c0a 2020 ence to label. │ │ │ +0007ba40: 2020 2020 2020 2020 2020 7365 6c66 2e6d self.m │ │ │ +0007ba50: 795f 6c61 6265 6c20 3d20 6172 6773 5b2d y_label = args[- │ │ │ +0007ba60: 315d 0a20 2020 2020 2020 2069 6620 7365 1]. if se │ │ │ +0007ba70: 6c66 2e70 6172 656e 7428 2920 213d 204e lf.parent() != N │ │ │ +0007ba80: 6f6e 653a 2020 200a 2020 2020 2020 2020 one: . │ │ │ +0007ba90: 2364 656c 6567 6174 6520 6f77 6e65 7273 #delegate owners │ │ │ +0007baa0: 6869 7020 746f 2043 2b2b 0a20 2020 2020 hip to C++. │ │ │ +0007bab0: 2020 2020 2020 2073 656c 662e 7468 6973 self.this │ │ │ +0007bac0: 2e64 6973 6f77 6e28 290a 2020 2020 2020 .disown(). │ │ │ +0007bad0: 2020 7365 6c66 2e69 6e69 745f 7479 7065 self.init_type │ │ │ +0007bae0: 2822 466c 5f54 696c 6522 290a 2020 2020 ("Fl_Tile"). │ │ │ +0007baf0: 2020 2020 2370 7269 6e74 2822 4164 6469 #print("Addi │ │ │ +0007bb00: 6e67 2074 7970 653a 2022 2c20 466c 5f54 ng type: ", Fl_T │ │ │ +0007bb10: 696c 6529 0a0a 0a0a 2020 2020 5f5f 7377 ile).... __sw │ │ │ +0007bb20: 6967 5f64 6573 7472 6f79 5f5f 203d 205f ig_destroy__ = _ │ │ │ +0007bb30: 666c 746b 2e64 656c 6574 655f 466c 5f54 fltk.delete_Fl_T │ │ │ +0007bb40: 696c 650a 0a20 2020 2064 6566 2072 6573 ile.. def res │ │ │ +0007bb50: 697a 6528 7365 6c66 2c20 2a61 7267 7329 ize(self, *args) │ │ │ +0007bb60: 3a0a 2020 2020 2020 2020 7222 2222 7265 :. r"""re │ │ │ +0007bb70: 7369 7a65 2846 6c5f 5469 6c65 2073 656c size(Fl_Tile sel │ │ │ +0007bb80: 662c 2069 6e74 2058 2c20 696e 7420 592c f, int X, int Y, │ │ │ +0007bb90: 2069 6e74 2057 2c20 696e 7420 4829 2222 int W, int H)"" │ │ │ +0007bba0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0007bbb0: 205f 666c 746b 2e46 6c5f 5469 6c65 5f72 _fltk.Fl_Tile_r │ │ │ +0007bbc0: 6573 697a 6528 7365 6c66 2c20 2a61 7267 esize(self, *arg │ │ │ +0007bbd0: 7329 0a0a 2020 2020 6465 6620 6d6f 7665 s).. def move │ │ │ +0007bbe0: 5f69 6e74 6572 7365 6374 696f 6e28 7365 _intersection(se │ │ │ +0007bbf0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +0007bc00: 2020 2020 7222 2222 6d6f 7665 5f69 6e74 r"""move_int │ │ │ +0007bc10: 6572 7365 6374 696f 6e28 466c 5f54 696c ersection(Fl_Til │ │ │ +0007bc20: 6520 7365 6c66 2c20 696e 7420 6f6c 6478 e self, int oldx │ │ │ +0007bc30: 2c20 696e 7420 6f6c 6479 2c20 696e 7420 , int oldy, int │ │ │ +0007bc40: 6e65 7778 2c20 696e 7420 6e65 7779 2922 newx, int newy)" │ │ │ +0007bc50: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0007bc60: 6e20 5f66 6c74 6b2e 466c 5f54 696c 655f n _fltk.Fl_Tile_ │ │ │ +0007bc70: 6d6f 7665 5f69 6e74 6572 7365 6374 696f move_intersectio │ │ │ +0007bc80: 6e28 7365 6c66 2c20 2a61 7267 7329 0a0a n(self, *args).. │ │ │ +0007bc90: 2020 2020 6465 6620 6472 6167 5f69 6e74 def drag_int │ │ │ +0007bca0: 6572 7365 6374 696f 6e28 7365 6c66 2c20 ersection(self, │ │ │ +0007bcb0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +0007bcc0: 7222 2222 6472 6167 5f69 6e74 6572 7365 r"""drag_interse │ │ │ +0007bcd0: 6374 696f 6e28 466c 5f54 696c 6520 7365 ction(Fl_Tile se │ │ │ +0007bce0: 6c66 2c20 696e 7420 6f6c 6478 2c20 696e lf, int oldx, in │ │ │ +0007bcf0: 7420 6f6c 6479 2c20 696e 7420 6e65 7778 t oldy, int newx │ │ │ +0007bd00: 2c20 696e 7420 6e65 7779 2922 2222 0a20 , int newy)""". │ │ │ +0007bd10: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +0007bd20: 6c74 6b2e 466c 5f54 696c 655f 6472 6167 ltk.Fl_Tile_drag │ │ │ +0007bd30: 5f69 6e74 6572 7365 6374 696f 6e28 7365 _intersection(se │ │ │ +0007bd40: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +0007bd50: 6465 6620 7369 7a65 5f72 616e 6765 2873 def size_range(s │ │ │ +0007bd60: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +0007bd70: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ +0007bd80: 2020 7369 7a65 5f72 616e 6765 2846 6c5f size_range(Fl_ │ │ │ +0007bd90: 5469 6c65 2073 656c 662c 2069 6e74 2069 Tile self, int i │ │ │ +0007bda0: 6e64 6578 2c20 696e 7420 6d69 6e77 2c20 ndex, int minw, │ │ │ +0007bdb0: 696e 7420 6d69 6e68 2c20 696e 7420 6d61 int minh, int ma │ │ │ +0007bdc0: 7877 3d32 3134 3734 3833 3634 372c 2069 xw=2147483647, i │ │ │ +0007bdd0: 6e74 206d 6178 683d 3231 3437 3438 3336 nt maxh=21474836 │ │ │ +0007bde0: 3437 290a 2020 2020 2020 2020 7369 7a65 47). size │ │ │ +0007bdf0: 5f72 616e 6765 2846 6c5f 5469 6c65 2073 _range(Fl_Tile s │ │ │ +0007be00: 656c 662c 2046 6c5f 5769 6467 6574 2077 elf, Fl_Widget w │ │ │ +0007be10: 2c20 696e 7420 6d69 6e77 2c20 696e 7420 , int minw, int │ │ │ +0007be20: 6d69 6e68 2c20 696e 7420 6d61 7877 3d32 minh, int maxw=2 │ │ │ +0007be30: 3134 3734 3833 3634 372c 2069 6e74 206d 147483647, int m │ │ │ +0007be40: 6178 683d 3231 3437 3438 3336 3437 290a axh=2147483647). │ │ │ +0007be50: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ +0007be60: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +0007be70: 2e46 6c5f 5469 6c65 5f73 697a 655f 7261 .Fl_Tile_size_ra │ │ │ +0007be80: 6e67 6528 7365 6c66 2c20 2a61 7267 7329 nge(self, *args) │ │ │ +0007be90: 0a0a 2020 2020 6465 6620 696e 6974 5f73 .. def init_s │ │ │ +0007bea0: 697a 655f 7261 6e67 6528 7365 6c66 2c20 ize_range(self, │ │ │ +0007beb0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +0007bec0: 7222 2222 696e 6974 5f73 697a 655f 7261 r"""init_size_ra │ │ │ +0007bed0: 6e67 6528 466c 5f54 696c 6520 7365 6c66 nge(Fl_Tile self │ │ │ +0007bee0: 2c20 696e 7420 6465 6661 756c 745f 6d69 , int default_mi │ │ │ +0007bef0: 6e5f 773d 2d31 2c20 696e 7420 6465 6661 n_w=-1, int defa │ │ │ +0007bf00: 756c 745f 6d69 6e5f 683d 2d31 2922 2222 ult_min_h=-1)""" │ │ │ +0007bf10: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +0007bf20: 5f66 6c74 6b2e 466c 5f54 696c 655f 696e _fltk.Fl_Tile_in │ │ │ +0007bf30: 6974 5f73 697a 655f 7261 6e67 6528 7365 it_size_range(se │ │ │ +0007bf40: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +0007bf50: 6465 6620 696e 6974 5f74 7970 6528 7365 def init_type(se │ │ │ +0007bf60: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +0007bf70: 2020 2020 7222 2222 696e 6974 5f74 7970 r"""init_typ │ │ │ +0007bf80: 6528 466c 5f54 696c 6520 7365 6c66 2c20 e(Fl_Tile self, │ │ │ +0007bf90: 6368 6172 202a 2046 6c5f 5469 6c65 2922 char * Fl_Tile)" │ │ │ +0007bfa0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0007bfb0: 6e20 5f66 6c74 6b2e 466c 5f54 696c 655f n _fltk.Fl_Tile_ │ │ │ +0007bfc0: 696e 6974 5f74 7970 6528 7365 6c66 2c20 init_type(self, │ │ │ +0007bfd0: 2a61 7267 7329 0a20 2020 2064 6566 205f *args). def _ │ │ │ +0007bfe0: 5f64 6973 6f77 6e5f 5f28 7365 6c66 293a _disown__(self): │ │ │ +0007bff0: 0a20 2020 2020 2020 2073 656c 662e 7468 . self.th │ │ │ +0007c000: 6973 2e64 6973 6f77 6e28 290a 2020 2020 is.disown(). │ │ │ +0007c010: 2020 2020 5f66 6c74 6b2e 6469 736f 776e _fltk.disown │ │ │ +0007c020: 5f46 6c5f 5469 6c65 2873 656c 6629 0a20 _Fl_Tile(self). │ │ │ +0007c030: 2020 2020 2020 2072 6574 7572 6e20 7765 return we │ │ │ +0007c040: 616b 7265 662e 7072 6f78 7928 7365 6c66 akref.proxy(self │ │ │ +0007c050: 290a 0a20 2020 2064 6566 2064 7261 7728 ).. def draw( │ │ │ +0007c060: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +0007c070: 2020 2020 2020 7222 2222 6472 6177 2846 r"""draw(F │ │ │ +0007c080: 6c5f 5469 6c65 2073 656c 6629 2222 220a l_Tile self)""". │ │ │ +0007c090: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +0007c0a0: 666c 746b 2e46 6c5f 5469 6c65 5f64 7261 fltk.Fl_Tile_dra │ │ │ +0007c0b0: 7728 7365 6c66 2c20 2a61 7267 7329 0a0a w(self, *args).. │ │ │ +0007c0c0: 2320 5265 6769 7374 6572 2046 6c5f 5469 # Register Fl_Ti │ │ │ +0007c0d0: 6c65 2069 6e20 5f66 6c74 6b3a 0a5f 666c le in _fltk:._fl │ │ │ +0007c0e0: 746b 2e46 6c5f 5469 6c65 5f73 7769 6772 tk.Fl_Tile_swigr │ │ │ +0007c0f0: 6567 6973 7465 7228 466c 5f54 696c 6529 egister(Fl_Tile) │ │ │ +0007c100: 0a63 6c61 7373 2046 6c5f 5469 6c65 645f .class Fl_Tiled_ │ │ │ +0007c110: 496d 6167 6528 466c 5f49 6d61 6765 293a Image(Fl_Image): │ │ │ +0007c120: 0a20 2020 2072 2222 220a 0a20 2020 2054 . r""".. T │ │ │ +0007c130: 6865 2046 6c5f 5469 6c65 645f 496d 6167 he Fl_Tiled_Imag │ │ │ +0007c140: 6520 636c 6173 7320 7375 7070 6f72 7473 e class supports │ │ │ +0007c150: 2074 696c 696e 6720 6f66 2069 6d61 6765 tiling of image │ │ │ +0007c160: 7320 6f76 6572 2061 2073 7065 6369 6669 s over a specifi │ │ │ +0007c170: 6564 2061 7265 612e 200a 2020 2020 5468 ed area. . Th │ │ │ +0007c180: 6520 736f 7572 6365 2028 7469 6c65 2920 e source (tile) │ │ │ +0007c190: 696d 6167 6520 6973 206e 6f74 2063 6f70 image is not cop │ │ │ +0007c1a0: 6965 6420 756e 6c65 7373 2079 6f75 2063 ied unless you c │ │ │ +0007c1b0: 616c 6c20 7468 6520 636f 6c6f 725f 6176 all the color_av │ │ │ +0007c1c0: 6572 6167 6528 292c 200a 2020 2020 6465 erage(), . de │ │ │ +0007c1d0: 7361 7475 7261 7465 2829 2c20 6f72 2069 saturate(), or i │ │ │ +0007c1e0: 6e61 6374 6976 6528 2920 6d65 7468 6f64 nactive() method │ │ │ +0007c1f0: 732e 0a0a 2020 2020 2222 220a 0a20 2020 s... """.. │ │ │ +0007c200: 2074 6869 736f 776e 203d 2070 726f 7065 thisown = prope │ │ │ +0007c210: 7274 7928 6c61 6d62 6461 2078 3a20 782e rty(lambda x: x. │ │ │ +0007c220: 7468 6973 2e6f 776e 2829 2c20 6c61 6d62 this.own(), lamb │ │ │ +0007c230: 6461 2078 2c20 763a 2078 2e74 6869 732e da x, v: x.this. │ │ │ +0007c240: 6f77 6e28 7629 2c20 646f 633d 2254 6865 own(v), doc="The │ │ │ +0007c250: 206d 656d 6265 7273 6869 7020 666c 6167 membership flag │ │ │ +0007c260: 2229 0a20 2020 205f 5f72 6570 725f 5f20 "). __repr__ │ │ │ +0007c270: 3d20 5f73 7769 675f 7265 7072 0a0a 2020 = _swig_repr.. │ │ │ +0007c280: 2020 6465 6620 5f5f 696e 6974 5f5f 2873 def __init__(s │ │ │ +0007c290: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +0007c2a0: 2020 2020 2072 2222 225f 5f69 6e69 745f r"""__init_ │ │ │ +0007c2b0: 5f28 466c 5f54 696c 6564 5f49 6d61 6765 _(Fl_Tiled_Image │ │ │ +0007c2c0: 2073 656c 662c 2046 6c5f 496d 6167 6520 self, Fl_Image │ │ │ +0007c2d0: 692c 2069 6e74 2057 3d30 2c20 696e 7420 i, int W=0, int │ │ │ +0007c2e0: 483d 3029 202d 3e20 466c 5f54 696c 6564 H=0) -> Fl_Tiled │ │ │ +0007c2f0: 5f49 6d61 6765 2222 220a 2020 2020 2020 _Image""". │ │ │ +0007c300: 2020 6966 2073 656c 662e 5f5f 636c 6173 if self.__clas │ │ │ +0007c310: 735f 5f20 3d3d 2046 6c5f 5469 6c65 645f s__ == Fl_Tiled_ │ │ │ +0007c320: 496d 6167 653a 0a20 2020 2020 2020 2020 Image:. │ │ │ +0007c330: 2020 205f 7365 6c66 203d 204e 6f6e 650a _self = None. │ │ │ +0007c340: 2020 2020 2020 2020 656c 7365 3a0a 2020 else:. │ │ │ +0007c350: 2020 2020 2020 2020 2020 5f73 656c 6620 _self │ │ │ +0007c360: 3d20 7365 6c66 0a20 2020 2020 2020 205f = self. _ │ │ │ +0007c370: 666c 746b 2e46 6c5f 5469 6c65 645f 496d fltk.Fl_Tiled_Im │ │ │ +0007c380: 6167 655f 7377 6967 696e 6974 2873 656c age_swiginit(sel │ │ │ +0007c390: 662c 205f 666c 746b 2e6e 6577 5f46 6c5f f, _fltk.new_Fl_ │ │ │ +0007c3a0: 5469 6c65 645f 496d 6167 6528 5f73 656c Tiled_Image(_sel │ │ │ +0007c3b0: 662c 202a 6172 6773 2929 0a20 2020 205f f, *args)). _ │ │ │ +0007c3c0: 5f73 7769 675f 6465 7374 726f 795f 5f20 _swig_destroy__ │ │ │ +0007c3d0: 3d20 5f66 6c74 6b2e 6465 6c65 7465 5f46 = _fltk.delete_F │ │ │ +0007c3e0: 6c5f 5469 6c65 645f 496d 6167 650a 0a20 l_Tiled_Image.. │ │ │ +0007c3f0: 2020 2064 6566 2063 6f70 7928 7365 6c66 def copy(self │ │ │ +0007c400: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +0007c410: 2020 7222 2222 0a20 2020 2020 2020 2063 r""". c │ │ │ +0007c420: 6f70 7928 466c 5f54 696c 6564 5f49 6d61 opy(Fl_Tiled_Ima │ │ │ +0007c430: 6765 2073 656c 662c 2069 6e74 2057 2c20 ge self, int W, │ │ │ +0007c440: 696e 7420 4829 202d 3e20 466c 5f49 6d61 int H) -> Fl_Ima │ │ │ +0007c450: 6765 0a20 2020 2020 2020 2063 6f70 7928 ge. copy( │ │ │ +0007c460: 466c 5f54 696c 6564 5f49 6d61 6765 2073 Fl_Tiled_Image s │ │ │ +0007c470: 656c 6629 202d 3e20 466c 5f49 6d61 6765 elf) -> Fl_Image │ │ │ +0007c480: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ +0007c490: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +0007c4a0: 6b2e 466c 5f54 696c 6564 5f49 6d61 6765 k.Fl_Tiled_Image │ │ │ +0007c4b0: 5f63 6f70 7928 7365 6c66 2c20 2a61 7267 _copy(self, *arg │ │ │ +0007c4c0: 7329 0a0a 2020 2020 6465 6620 636f 6c6f s).. def colo │ │ │ +0007c4d0: 725f 6176 6572 6167 6528 7365 6c66 2c20 r_average(self, │ │ │ +0007c4e0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +0007c4f0: 7222 2222 636f 6c6f 725f 6176 6572 6167 r"""color_averag │ │ │ +0007c500: 6528 466c 5f54 696c 6564 5f49 6d61 6765 e(Fl_Tiled_Image │ │ │ +0007c510: 2073 656c 662c 2046 6c5f 436f 6c6f 7220 self, Fl_Color │ │ │ +0007c520: 632c 2066 6c6f 6174 2069 2922 2222 0a20 c, float i)""". │ │ │ +0007c530: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +0007c540: 6c74 6b2e 466c 5f54 696c 6564 5f49 6d61 ltk.Fl_Tiled_Ima │ │ │ +0007c550: 6765 5f63 6f6c 6f72 5f61 7665 7261 6765 ge_color_average │ │ │ +0007c560: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +0007c570: 2020 2064 6566 2064 6573 6174 7572 6174 def desaturat │ │ │ +0007c580: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ +0007c590: 2020 2020 2020 2020 7222 2222 6465 7361 r"""desa │ │ │ +0007c5a0: 7475 7261 7465 2846 6c5f 5469 6c65 645f turate(Fl_Tiled_ │ │ │ +0007c5b0: 496d 6167 6520 7365 6c66 2922 2222 0a20 Image self)""". │ │ │ +0007c5c0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +0007c5d0: 6c74 6b2e 466c 5f54 696c 6564 5f49 6d61 ltk.Fl_Tiled_Ima │ │ │ +0007c5e0: 6765 5f64 6573 6174 7572 6174 6528 7365 ge_desaturate(se │ │ │ +0007c5f0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +0007c600: 6465 6620 6472 6177 2873 656c 662c 202a def draw(self, * │ │ │ +0007c610: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +0007c620: 2222 220a 2020 2020 2020 2020 6472 6177 """. draw │ │ │ +0007c630: 2846 6c5f 5469 6c65 645f 496d 6167 6520 (Fl_Tiled_Image │ │ │ +0007c640: 7365 6c66 2c20 696e 7420 582c 2069 6e74 self, int X, int │ │ │ +0007c650: 2059 2c20 696e 7420 572c 2069 6e74 2048 Y, int W, int H │ │ │ +0007c660: 2c20 696e 7420 6378 3d30 2c20 696e 7420 , int cx=0, int │ │ │ +0007c670: 6379 3d30 290a 2020 2020 2020 2020 6472 cy=0). dr │ │ │ +0007c680: 6177 2846 6c5f 5469 6c65 645f 496d 6167 aw(Fl_Tiled_Imag │ │ │ +0007c690: 6520 7365 6c66 2c20 696e 7420 582c 2069 e self, int X, i │ │ │ +0007c6a0: 6e74 2059 290a 2020 2020 2020 2020 2222 nt Y). "" │ │ │ +0007c6b0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0007c6c0: 205f 666c 746b 2e46 6c5f 5469 6c65 645f _fltk.Fl_Tiled_ │ │ │ +0007c6d0: 496d 6167 655f 6472 6177 2873 656c 662c Image_draw(self, │ │ │ +0007c6e0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +0007c6f0: 2069 6d61 6765 2873 656c 662c 202a 6172 image(self, *ar │ │ │ +0007c700: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +0007c710: 2269 6d61 6765 2846 6c5f 5469 6c65 645f "image(Fl_Tiled_ │ │ │ +0007c720: 496d 6167 6520 7365 6c66 2920 2d3e 2046 Image self) -> F │ │ │ +0007c730: 6c5f 496d 6167 6522 2222 0a20 2020 2020 l_Image""". │ │ │ +0007c740: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +0007c750: 466c 5f54 696c 6564 5f49 6d61 6765 5f69 Fl_Tiled_Image_i │ │ │ +0007c760: 6d61 6765 2873 656c 662c 202a 6172 6773 mage(self, *args │ │ │ +0007c770: 290a 2020 2020 6465 6620 5f5f 6469 736f ). def __diso │ │ │ +0007c780: 776e 5f5f 2873 656c 6629 3a0a 2020 2020 wn__(self):. │ │ │ +0007c790: 2020 2020 7365 6c66 2e74 6869 732e 6469 self.this.di │ │ │ +0007c7a0: 736f 776e 2829 0a20 2020 2020 2020 205f sown(). _ │ │ │ +0007c7b0: 666c 746b 2e64 6973 6f77 6e5f 466c 5f54 fltk.disown_Fl_T │ │ │ +0007c7c0: 696c 6564 5f49 6d61 6765 2873 656c 6629 iled_Image(self) │ │ │ +0007c7d0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +0007c7e0: 7765 616b 7265 662e 7072 6f78 7928 7365 weakref.proxy(se │ │ │ +0007c7f0: 6c66 290a 0a23 2052 6567 6973 7465 7220 lf)..# Register │ │ │ +0007c800: 466c 5f54 696c 6564 5f49 6d61 6765 2069 Fl_Tiled_Image i │ │ │ +0007c810: 6e20 5f66 6c74 6b3a 0a5f 666c 746b 2e46 n _fltk:._fltk.F │ │ │ +0007c820: 6c5f 5469 6c65 645f 496d 6167 655f 7377 l_Tiled_Image_sw │ │ │ +0007c830: 6967 7265 6769 7374 6572 2846 6c5f 5469 igregister(Fl_Ti │ │ │ +0007c840: 6c65 645f 496d 6167 6529 0a46 4c5f 4e4f led_Image).FL_NO │ │ │ +0007c850: 524d 414c 5f54 494d 4552 203d 205f 666c RMAL_TIMER = _fl │ │ │ +0007c860: 746b 2e46 4c5f 4e4f 524d 414c 5f54 494d tk.FL_NORMAL_TIM │ │ │ +0007c870: 4552 0a0a 464c 5f56 414c 5545 5f54 494d ER..FL_VALUE_TIM │ │ │ +0007c880: 4552 203d 205f 666c 746b 2e46 4c5f 5641 ER = _fltk.FL_VA │ │ │ +0007c890: 4c55 455f 5449 4d45 520a 0a46 4c5f 4849 LUE_TIMER..FL_HI │ │ │ +0007c8a0: 4444 454e 5f54 494d 4552 203d 205f 666c DDEN_TIMER = _fl │ │ │ +0007c8b0: 746b 2e46 4c5f 4849 4444 454e 5f54 494d tk.FL_HIDDEN_TIM │ │ │ +0007c8c0: 4552 0a0a 636c 6173 7320 466c 5f54 696d ER..class Fl_Tim │ │ │ +0007c8d0: 6572 2846 6c5f 5769 6467 6574 293a 0a20 er(Fl_Widget):. │ │ │ +0007c8e0: 2020 2072 2222 220a 0a20 2020 2054 6869 r""".. Thi │ │ │ +0007c8f0: 7320 6973 2070 726f 7669 6465 6420 6f6e s is provided on │ │ │ +0007c900: 6c79 2074 6f20 656d 756c 6174 6520 7468 ly to emulate th │ │ │ +0007c910: 6520 466f 726d 7320 5469 6d65 7220 7769 e Forms Timer wi │ │ │ +0007c920: 6467 6574 2e20 4974 2077 6f72 6b73 2062 dget. It works b │ │ │ +0007c930: 7920 6d61 6b69 6e67 200a 2020 2020 6120 y making . a │ │ │ +0007c940: 7469 6d65 6f75 7420 6361 6c6c 6261 636b timeout callback │ │ │ +0007c950: 2065 7665 7279 2031 2f35 2073 6563 6f6e every 1/5 secon │ │ │ +0007c960: 642e 2054 6869 7320 6973 2077 6173 7465 d. This is waste │ │ │ +0007c970: 6675 6c20 616e 6420 696e 6163 6375 7261 ful and inaccura │ │ │ +0007c980: 7465 2069 6620 796f 7520 0a20 2020 206a te if you . j │ │ │ +0007c990: 7573 7420 7761 6e74 2073 6f6d 6574 6869 ust want somethi │ │ │ +0007c9a0: 6e67 2074 6f20 6861 7070 656e 2061 2066 ng to happen a f │ │ │ +0007c9b0: 6978 6564 2074 696d 6520 696e 2074 6865 ixed time in the │ │ │ +0007c9c0: 2066 7574 7572 652e 2059 6f75 2073 686f future. You sho │ │ │ +0007c9d0: 756c 6420 6469 7265 6374 6c79 200a 2020 uld directly . │ │ │ +0007c9e0: 2020 6361 6c6c 2046 6c3a 3a61 6464 5f74 call Fl::add_t │ │ │ +0007c9f0: 696d 656f 7574 2829 2069 6e73 7465 6164 imeout() instead │ │ │ +0007ca00: 2e0a 0a20 2020 2022 2222 0a0a 2020 2020 ... """.. │ │ │ +0007ca10: 7468 6973 6f77 6e20 3d20 7072 6f70 6572 thisown = proper │ │ │ +0007ca20: 7479 286c 616d 6264 6120 783a 2078 2e74 ty(lambda x: x.t │ │ │ +0007ca30: 6869 732e 6f77 6e28 292c 206c 616d 6264 his.own(), lambd │ │ │ +0007ca40: 6120 782c 2076 3a20 782e 7468 6973 2e6f a x, v: x.this.o │ │ │ +0007ca50: 776e 2876 292c 2064 6f63 3d22 5468 6520 wn(v), doc="The │ │ │ +0007ca60: 6d65 6d62 6572 7368 6970 2066 6c61 6722 membership flag" │ │ │ +0007ca70: 290a 2020 2020 5f5f 7265 7072 5f5f 203d ). __repr__ = │ │ │ +0007ca80: 205f 7377 6967 5f72 6570 720a 0a20 2020 _swig_repr.. │ │ │ +0007ca90: 2064 6566 2064 7261 7728 7365 6c66 2c20 def draw(self, │ │ │ +0007caa0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +0007cab0: 7222 2222 6472 6177 2846 6c5f 5469 6d65 r"""draw(Fl_Time │ │ │ +0007cac0: 7220 7365 6c66 2922 2222 0a20 2020 2020 r self)""". │ │ │ +0007cad0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +0007cae0: 466c 5f54 696d 6572 5f64 7261 7728 7365 Fl_Timer_draw(se │ │ │ +0007caf0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +0007cb00: 6465 6620 6861 6e64 6c65 2873 656c 662c def handle(self, │ │ │ +0007cb10: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +0007cb20: 2072 2222 2268 616e 646c 6528 466c 5f54 r"""handle(Fl_T │ │ │ +0007cb30: 696d 6572 2073 656c 662c 2069 6e74 2061 imer self, int a │ │ │ +0007cb40: 7267 3029 202d 3e20 696e 7422 2222 0a20 rg0) -> int""". │ │ │ +0007cb50: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +0007cb60: 6c74 6b2e 466c 5f54 696d 6572 5f68 616e ltk.Fl_Timer_han │ │ │ +0007cb70: 646c 6528 7365 6c66 2c20 2a61 7267 7329 dle(self, *args) │ │ │ +0007cb80: 0a0a 2020 2020 6465 6620 5f5f 696e 6974 .. def __init │ │ │ +0007cb90: 5f5f 2873 656c 662c 202a 6172 6773 293a __(self, *args): │ │ │ +0007cba0: 0a20 2020 2020 2020 2072 2222 225f 5f69 . r"""__i │ │ │ +0007cbb0: 6e69 745f 5f28 466c 5f54 696d 6572 2073 nit__(Fl_Timer s │ │ │ +0007cbc0: 656c 662c 2075 6368 6172 2074 2c20 696e elf, uchar t, in │ │ │ +0007cbd0: 7420 782c 2069 6e74 2079 2c20 696e 7420 t x, int y, int │ │ │ +0007cbe0: 772c 2069 6e74 2068 2c20 6368 6172 2063 w, int h, char c │ │ │ +0007cbf0: 6f6e 7374 202a 206c 2920 2d3e 2046 6c5f onst * l) -> Fl_ │ │ │ +0007cc00: 5469 6d65 7222 2222 0a20 2020 2020 2020 Timer""". │ │ │ +0007cc10: 2069 6620 7365 6c66 2e5f 5f63 6c61 7373 if self.__class │ │ │ +0007cc20: 5f5f 203d 3d20 466c 5f54 696d 6572 3a0a __ == Fl_Timer:. │ │ │ +0007cc30: 2020 2020 2020 2020 2020 2020 5f73 656c _sel │ │ │ +0007cc40: 6620 3d20 4e6f 6e65 0a20 2020 2020 2020 f = None. │ │ │ +0007cc50: 2065 6c73 653a 0a20 2020 2020 2020 2020 else:. │ │ │ +0007cc60: 2020 205f 7365 6c66 203d 2073 656c 660a _self = self. │ │ │ +0007cc70: 2020 2020 2020 2020 5f66 6c74 6b2e 466c _fltk.Fl │ │ │ +0007cc80: 5f54 696d 6572 5f73 7769 6769 6e69 7428 _Timer_swiginit( │ │ │ +0007cc90: 7365 6c66 2c20 5f66 6c74 6b2e 6e65 775f self, _fltk.new_ │ │ │ +0007cca0: 466c 5f54 696d 6572 285f 7365 6c66 2c20 Fl_Timer(_self, │ │ │ +0007ccb0: 2a61 7267 7329 290a 0a20 2020 2020 2020 *args)).. │ │ │ +0007ccc0: 2069 6620 6c65 6e28 6172 6773 2920 3d3d if len(args) == │ │ │ +0007ccd0: 2035 3a20 2020 2020 2020 2020 200a 2020 5: . │ │ │ +0007cce0: 2020 2020 2020 2372 6574 6169 6e20 7265 #retain re │ │ │ +0007ccf0: 6665 7265 6e63 6520 746f 206c 6162 656c ference to label │ │ │ +0007cd00: 0a20 2020 2020 2020 2020 2020 2073 656c . sel │ │ │ +0007cd10: 662e 6d79 5f6c 6162 656c 203d 2061 7267 f.my_label = arg │ │ │ +0007cd20: 735b 2d31 5d0a 2020 2020 2020 2020 6966 s[-1]. if │ │ │ +0007cd30: 2073 656c 662e 7061 7265 6e74 2829 2021 self.parent() ! │ │ │ +0007cd40: 3d20 4e6f 6e65 3a20 2020 0a20 2020 2020 = None: . │ │ │ +0007cd50: 2020 2023 6465 6c65 6761 7465 206f 776e #delegate own │ │ │ +0007cd60: 6572 7368 6970 2074 6f20 432b 2b0a 2020 ership to C++. │ │ │ +0007cd70: 2020 2020 2020 2020 2020 7365 6c66 2e74 self.t │ │ │ +0007cd80: 6869 732e 6469 736f 776e 2829 0a20 2020 his.disown(). │ │ │ +0007cd90: 2020 2020 2073 656c 662e 696e 6974 5f74 self.init_t │ │ │ +0007cda0: 7970 6528 2246 6c5f 5469 6d65 7222 290a ype("Fl_Timer"). │ │ │ +0007cdb0: 2020 2020 2020 2020 2370 7269 6e74 2822 #print(" │ │ │ +0007cdc0: 4164 6469 6e67 2074 7970 653a 2022 2c20 Adding type: ", │ │ │ +0007cdd0: 466c 5f54 696d 6572 290a 0a0a 0a20 2020 Fl_Timer).... │ │ │ +0007cde0: 205f 5f73 7769 675f 6465 7374 726f 795f __swig_destroy_ │ │ │ +0007cdf0: 5f20 3d20 5f66 6c74 6b2e 6465 6c65 7465 _ = _fltk.delete │ │ │ +0007ce00: 5f46 6c5f 5469 6d65 720a 0a20 2020 2064 _Fl_Timer.. d │ │ │ +0007ce10: 6566 2076 616c 7565 2873 656c 662c 202a ef value(self, * │ │ │ +0007ce20: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +0007ce30: 2222 220a 2020 2020 2020 2020 7661 6c75 """. valu │ │ │ +0007ce40: 6528 466c 5f54 696d 6572 2073 656c 662c e(Fl_Timer self, │ │ │ +0007ce50: 2064 6f75 626c 6520 6172 6732 290a 2020 double arg2). │ │ │ +0007ce60: 2020 2020 2020 7661 6c75 6528 466c 5f54 value(Fl_T │ │ │ +0007ce70: 696d 6572 2073 656c 6629 202d 3e20 646f imer self) -> do │ │ │ +0007ce80: 7562 6c65 0a20 2020 2020 2020 2022 2222 uble. """ │ │ │ +0007ce90: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +0007cea0: 5f66 6c74 6b2e 466c 5f54 696d 6572 5f76 _fltk.Fl_Timer_v │ │ │ +0007ceb0: 616c 7565 2873 656c 662c 202a 6172 6773 alue(self, *args │ │ │ +0007cec0: 290a 0a20 2020 2064 6566 2064 6972 6563 ).. def direc │ │ │ +0007ced0: 7469 6f6e 2873 656c 662c 202a 6172 6773 tion(self, *args │ │ │ +0007cee0: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ +0007cef0: 2020 2020 2020 2020 6469 7265 6374 696f directio │ │ │ +0007cf00: 6e28 466c 5f54 696d 6572 2073 656c 6629 n(Fl_Timer self) │ │ │ +0007cf10: 202d 3e20 6368 6172 0a20 2020 2020 2020 -> char. │ │ │ +0007cf20: 2064 6972 6563 7469 6f6e 2846 6c5f 5469 direction(Fl_Ti │ │ │ +0007cf30: 6d65 7220 7365 6c66 2c20 6368 6172 2064 mer self, char d │ │ │ +0007cf40: 290a 2020 2020 2020 2020 2222 220a 2020 ). """. │ │ │ +0007cf50: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +0007cf60: 746b 2e46 6c5f 5469 6d65 725f 6469 7265 tk.Fl_Timer_dire │ │ │ +0007cf70: 6374 696f 6e28 7365 6c66 2c20 2a61 7267 ction(self, *arg │ │ │ +0007cf80: 7329 0a0a 2020 2020 6465 6620 7375 7370 s).. def susp │ │ │ +0007cf90: 656e 6465 6428 7365 6c66 2c20 2a61 7267 ended(self, *arg │ │ │ +0007cfa0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +0007cfb0: 0a20 2020 2020 2020 2073 7573 7065 6e64 . suspend │ │ │ +0007cfc0: 6564 2846 6c5f 5469 6d65 7220 7365 6c66 ed(Fl_Timer self │ │ │ +0007cfd0: 2920 2d3e 2063 6861 720a 2020 2020 2020 ) -> char. │ │ │ +0007cfe0: 2020 7375 7370 656e 6465 6428 466c 5f54 suspended(Fl_T │ │ │ +0007cff0: 696d 6572 2073 656c 662c 2063 6861 7220 imer self, char │ │ │ +0007d000: 6429 0a20 2020 2020 2020 2022 2222 0a20 d). """. │ │ │ +0007d010: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +0007d020: 6c74 6b2e 466c 5f54 696d 6572 5f73 7573 ltk.Fl_Timer_sus │ │ │ +0007d030: 7065 6e64 6564 2873 656c 662c 202a 6172 pended(self, *ar │ │ │ +0007d040: 6773 290a 0a20 2020 2064 6566 2069 6e69 gs).. def ini │ │ │ +0007d050: 745f 7479 7065 2873 656c 662c 202a 6172 t_type(self, *ar │ │ │ +0007d060: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +0007d070: 2269 6e69 745f 7479 7065 2846 6c5f 5469 "init_type(Fl_Ti │ │ │ +0007d080: 6d65 7220 7365 6c66 2c20 6368 6172 202a mer self, char * │ │ │ +0007d090: 2046 6c5f 5469 6d65 7229 2222 220a 2020 Fl_Timer)""". │ │ │ +0007d0a0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +0007d0b0: 746b 2e46 6c5f 5469 6d65 725f 696e 6974 tk.Fl_Timer_init │ │ │ +0007d0c0: 5f74 7970 6528 7365 6c66 2c20 2a61 7267 _type(self, *arg │ │ │ +0007d0d0: 7329 0a20 2020 2064 6566 205f 5f64 6973 s). def __dis │ │ │ +0007d0e0: 6f77 6e5f 5f28 7365 6c66 293a 0a20 2020 own__(self):. │ │ │ +0007d0f0: 2020 2020 2073 656c 662e 7468 6973 2e64 self.this.d │ │ │ +0007d100: 6973 6f77 6e28 290a 2020 2020 2020 2020 isown(). │ │ │ +0007d110: 5f66 6c74 6b2e 6469 736f 776e 5f46 6c5f _fltk.disown_Fl_ │ │ │ +0007d120: 5469 6d65 7228 7365 6c66 290a 2020 2020 Timer(self). │ │ │ +0007d130: 2020 2020 7265 7475 726e 2077 6561 6b72 return weakr │ │ │ +0007d140: 6566 2e70 726f 7879 2873 656c 6629 0a0a ef.proxy(self).. │ │ │ +0007d150: 2320 5265 6769 7374 6572 2046 6c5f 5469 # Register Fl_Ti │ │ │ +0007d160: 6d65 7220 696e 205f 666c 746b 3a0a 5f66 mer in _fltk:._f │ │ │ +0007d170: 6c74 6b2e 466c 5f54 696d 6572 5f73 7769 ltk.Fl_Timer_swi │ │ │ +0007d180: 6772 6567 6973 7465 7228 466c 5f54 696d gregister(Fl_Tim │ │ │ +0007d190: 6572 290a 636c 6173 7320 466c 5f54 6f67 er).class Fl_Tog │ │ │ +0007d1a0: 676c 655f 4275 7474 6f6e 2846 6c5f 4275 gle_Button(Fl_Bu │ │ │ +0007d1b0: 7474 6f6e 293a 0a20 2020 2072 2222 2250 tton):. r"""P │ │ │ +0007d1c0: 726f 7879 206f 6620 432b 2b20 466c 5f54 roxy of C++ Fl_T │ │ │ +0007d1d0: 6f67 676c 655f 4275 7474 6f6e 2063 6c61 oggle_Button cla │ │ │ +0007d1e0: 7373 2e22 2222 0a0a 2020 2020 7468 6973 ss.""".. this │ │ │ +0007d1f0: 6f77 6e20 3d20 7072 6f70 6572 7479 286c own = property(l │ │ │ +0007d200: 616d 6264 6120 783a 2078 2e74 6869 732e ambda x: x.this. │ │ │ +0007d210: 6f77 6e28 292c 206c 616d 6264 6120 782c own(), lambda x, │ │ │ +0007d220: 2076 3a20 782e 7468 6973 2e6f 776e 2876 v: x.this.own(v │ │ │ +0007d230: 292c 2064 6f63 3d22 5468 6520 6d65 6d62 ), doc="The memb │ │ │ +0007d240: 6572 7368 6970 2066 6c61 6722 290a 2020 ership flag"). │ │ │ +0007d250: 2020 5f5f 7265 7072 5f5f 203d 205f 7377 __repr__ = _sw │ │ │ +0007d260: 6967 5f72 6570 720a 0a20 2020 2064 6566 ig_repr.. def │ │ │ +0007d270: 205f 5f69 6e69 745f 5f28 7365 6c66 2c20 __init__(self, │ │ │ +0007d280: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +0007d290: 7222 2222 5f5f 696e 6974 5f5f 2846 6c5f r"""__init__(Fl_ │ │ │ +0007d2a0: 546f 6767 6c65 5f42 7574 746f 6e20 7365 Toggle_Button se │ │ │ +0007d2b0: 6c66 2c20 696e 7420 582c 2069 6e74 2059 lf, int X, int Y │ │ │ +0007d2c0: 2c20 696e 7420 572c 2069 6e74 2048 2c20 , int W, int H, │ │ │ +0007d2d0: 6368 6172 2063 6f6e 7374 202a 206c 3d4e char const * l=N │ │ │ +0007d2e0: 6f6e 6529 202d 3e20 466c 5f54 6f67 676c one) -> Fl_Toggl │ │ │ +0007d2f0: 655f 4275 7474 6f6e 2222 220a 2020 2020 e_Button""". │ │ │ +0007d300: 2020 2020 6966 2073 656c 662e 5f5f 636c if self.__cl │ │ │ +0007d310: 6173 735f 5f20 3d3d 2046 6c5f 546f 6767 ass__ == Fl_Togg │ │ │ +0007d320: 6c65 5f42 7574 746f 6e3a 0a20 2020 2020 le_Button:. │ │ │ +0007d330: 2020 2020 2020 205f 7365 6c66 203d 204e _self = N │ │ │ +0007d340: 6f6e 650a 2020 2020 2020 2020 656c 7365 one. else │ │ │ +0007d350: 3a0a 2020 2020 2020 2020 2020 2020 5f73 :. _s │ │ │ +0007d360: 656c 6620 3d20 7365 6c66 0a20 2020 2020 elf = self. │ │ │ +0007d370: 2020 205f 666c 746b 2e46 6c5f 546f 6767 _fltk.Fl_Togg │ │ │ +0007d380: 6c65 5f42 7574 746f 6e5f 7377 6967 696e le_Button_swigin │ │ │ +0007d390: 6974 2873 656c 662c 205f 666c 746b 2e6e it(self, _fltk.n │ │ │ +0007d3a0: 6577 5f46 6c5f 546f 6767 6c65 5f42 7574 ew_Fl_Toggle_But │ │ │ +0007d3b0: 746f 6e28 5f73 656c 662c 202a 6172 6773 ton(_self, *args │ │ │ +0007d3c0: 2929 0a0a 2020 2020 2020 2020 6966 206c )).. if l │ │ │ +0007d3d0: 656e 2861 7267 7329 203d 3d20 353a 2020 en(args) == 5: │ │ │ +0007d3e0: 2020 2020 2020 2020 0a20 2020 2020 2020 . │ │ │ +0007d3f0: 2023 7265 7461 696e 2072 6566 6572 656e #retain referen │ │ │ +0007d400: 6365 2074 6f20 6c61 6265 6c0a 2020 2020 ce to label. │ │ │ +0007d410: 2020 2020 2020 2020 7365 6c66 2e6d 795f self.my_ │ │ │ +0007d420: 6c61 6265 6c20 3d20 6172 6773 5b2d 315d label = args[-1] │ │ │ +0007d430: 0a20 2020 2020 2020 2069 6620 7365 6c66 . if self │ │ │ +0007d440: 2e70 6172 656e 7428 2920 213d 204e 6f6e .parent() != Non │ │ │ +0007d450: 653a 2020 200a 2020 2020 2020 2020 2364 e: . #d │ │ │ +0007d460: 656c 6567 6174 6520 6f77 6e65 7273 6869 elegate ownershi │ │ │ +0007d470: 7020 746f 2043 2b2b 0a20 2020 2020 2020 p to C++. │ │ │ +0007d480: 2020 2020 2073 656c 662e 7468 6973 2e64 self.this.d │ │ │ +0007d490: 6973 6f77 6e28 290a 2020 2020 2020 2020 isown(). │ │ │ +0007d4a0: 7365 6c66 2e69 6e69 745f 7479 7065 2822 self.init_type(" │ │ │ +0007d4b0: 466c 5f54 6f67 676c 655f 4275 7474 6f6e Fl_Toggle_Button │ │ │ +0007d4c0: 2229 0a20 2020 2020 2020 2023 7072 696e "). #prin │ │ │ +0007d4d0: 7428 2241 6464 696e 6720 7479 7065 3a20 t("Adding type: │ │ │ +0007d4e0: 222c 2046 6c5f 546f 6767 6c65 5f42 7574 ", Fl_Toggle_But │ │ │ +0007d4f0: 746f 6e29 0a0a 0a0a 0a20 2020 2064 6566 ton)..... def │ │ │ +0007d500: 2069 6e69 745f 7479 7065 2873 656c 662c init_type(self, │ │ │ +0007d510: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +0007d520: 2072 2222 2269 6e69 745f 7479 7065 2846 r"""init_type(F │ │ │ +0007d530: 6c5f 546f 6767 6c65 5f42 7574 746f 6e20 l_Toggle_Button │ │ │ +0007d540: 7365 6c66 2c20 6368 6172 202a 2046 6c5f self, char * Fl_ │ │ │ +0007d550: 546f 6767 6c65 5f42 7574 746f 6e29 2222 Toggle_Button)"" │ │ │ +0007d560: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0007d570: 205f 666c 746b 2e46 6c5f 546f 6767 6c65 _fltk.Fl_Toggle │ │ │ +0007d580: 5f42 7574 746f 6e5f 696e 6974 5f74 7970 _Button_init_typ │ │ │ +0007d590: 6528 7365 6c66 2c20 2a61 7267 7329 0a20 e(self, *args). │ │ │ +0007d5a0: 2020 205f 5f73 7769 675f 6465 7374 726f __swig_destro │ │ │ +0007d5b0: 795f 5f20 3d20 5f66 6c74 6b2e 6465 6c65 y__ = _fltk.dele │ │ │ +0007d5c0: 7465 5f46 6c5f 546f 6767 6c65 5f42 7574 te_Fl_Toggle_But │ │ │ +0007d5d0: 746f 6e0a 2020 2020 6465 6620 5f5f 6469 ton. def __di │ │ │ +0007d5e0: 736f 776e 5f5f 2873 656c 6629 3a0a 2020 sown__(self):. │ │ │ +0007d5f0: 2020 2020 2020 7365 6c66 2e74 6869 732e self.this. │ │ │ +0007d600: 6469 736f 776e 2829 0a20 2020 2020 2020 disown(). │ │ │ +0007d610: 205f 666c 746b 2e64 6973 6f77 6e5f 466c _fltk.disown_Fl │ │ │ +0007d620: 5f54 6f67 676c 655f 4275 7474 6f6e 2873 _Toggle_Button(s │ │ │ +0007d630: 656c 6629 0a20 2020 2020 2020 2072 6574 elf). ret │ │ │ +0007d640: 7572 6e20 7765 616b 7265 662e 7072 6f78 urn weakref.prox │ │ │ +0007d650: 7928 7365 6c66 290a 0a20 2020 2064 6566 y(self).. def │ │ │ +0007d660: 2064 7261 7728 7365 6c66 2c20 2a61 7267 draw(self, *arg │ │ │ +0007d670: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +0007d680: 6472 6177 2846 6c5f 546f 6767 6c65 5f42 draw(Fl_Toggle_B │ │ │ +0007d690: 7574 746f 6e20 7365 6c66 2922 2222 0a20 utton self)""". │ │ │ +0007d6a0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +0007d6b0: 6c74 6b2e 466c 5f54 6f67 676c 655f 4275 ltk.Fl_Toggle_Bu │ │ │ +0007d6c0: 7474 6f6e 5f64 7261 7728 7365 6c66 2c20 tton_draw(self, │ │ │ +0007d6d0: 2a61 7267 7329 0a0a 2320 5265 6769 7374 *args)..# Regist │ │ │ +0007d6e0: 6572 2046 6c5f 546f 6767 6c65 5f42 7574 er Fl_Toggle_But │ │ │ +0007d6f0: 746f 6e20 696e 205f 666c 746b 3a0a 5f66 ton in _fltk:._f │ │ │ +0007d700: 6c74 6b2e 466c 5f54 6f67 676c 655f 4275 ltk.Fl_Toggle_Bu │ │ │ +0007d710: 7474 6f6e 5f73 7769 6772 6567 6973 7465 tton_swigregiste │ │ │ +0007d720: 7228 466c 5f54 6f67 676c 655f 4275 7474 r(Fl_Toggle_Butt │ │ │ +0007d730: 6f6e 290a 636c 6173 7320 466c 5f54 6f6f on).class Fl_Too │ │ │ +0007d740: 6c74 6970 286f 626a 6563 7429 3a0a 2020 ltip(object):. │ │ │ +0007d750: 2020 7222 2222 0a0a 2020 2020 5468 6520 r""".. The │ │ │ +0007d760: 466c 5f54 6f6f 6c74 6970 2063 6c61 7373 Fl_Tooltip class │ │ │ +0007d770: 2070 726f 7669 6465 7320 746f 6f6c 7469 provides toolti │ │ │ +0007d780: 7020 7375 7070 6f72 7420 666f 7220 616c p support for al │ │ │ +0007d790: 6c20 464c 544b 2077 6964 6765 7473 2e0a l FLTK widgets.. │ │ │ +0007d7a0: 0a20 2020 2022 2222 0a0a 2020 2020 7468 . """.. th │ │ │ +0007d7b0: 6973 6f77 6e20 3d20 7072 6f70 6572 7479 isown = property │ │ │ +0007d7c0: 286c 616d 6264 6120 783a 2078 2e74 6869 (lambda x: x.thi │ │ │ +0007d7d0: 732e 6f77 6e28 292c 206c 616d 6264 6120 s.own(), lambda │ │ │ +0007d7e0: 782c 2076 3a20 782e 7468 6973 2e6f 776e x, v: x.this.own │ │ │ +0007d7f0: 2876 292c 2064 6f63 3d22 5468 6520 6d65 (v), doc="The me │ │ │ +0007d800: 6d62 6572 7368 6970 2066 6c61 6722 290a mbership flag"). │ │ │ +0007d810: 2020 2020 5f5f 7265 7072 5f5f 203d 205f __repr__ = _ │ │ │ +0007d820: 7377 6967 5f72 6570 720a 0a20 2020 2040 swig_repr.. @ │ │ │ +0007d830: 7374 6174 6963 6d65 7468 6f64 0a20 2020 staticmethod. │ │ │ +0007d840: 2064 6566 2064 656c 6179 282a 6172 6773 def delay(*args │ │ │ +0007d850: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ +0007d860: 2020 2020 2020 2020 6465 6c61 7928 2920 delay() │ │ │ +0007d870: 2d3e 2066 6c6f 6174 0a20 2020 2020 2020 -> float. │ │ │ +0007d880: 2064 656c 6179 2866 6c6f 6174 2066 290a delay(float f). │ │ │ +0007d890: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ +0007d8a0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +0007d8b0: 2e46 6c5f 546f 6f6c 7469 705f 6465 6c61 .Fl_Tooltip_dela │ │ │ +0007d8c0: 7928 2a61 7267 7329 0a0a 2020 2020 4073 y(*args).. @s │ │ │ +0007d8d0: 7461 7469 636d 6574 686f 640a 2020 2020 taticmethod. │ │ │ +0007d8e0: 6465 6620 6869 6465 6465 6c61 7928 2a61 def hidedelay(*a │ │ │ +0007d8f0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0007d900: 2222 0a20 2020 2020 2020 2068 6964 6564 "". hided │ │ │ +0007d910: 656c 6179 2829 202d 3e20 666c 6f61 740a elay() -> float. │ │ │ +0007d920: 2020 2020 2020 2020 6869 6465 6465 6c61 hidedela │ │ │ +0007d930: 7928 666c 6f61 7420 6629 0a20 2020 2020 y(float f). │ │ │ +0007d940: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ +0007d950: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +0007d960: 6f6f 6c74 6970 5f68 6964 6564 656c 6179 ooltip_hidedelay │ │ │ +0007d970: 282a 6172 6773 290a 0a20 2020 2040 7374 (*args).. @st │ │ │ +0007d980: 6174 6963 6d65 7468 6f64 0a20 2020 2064 aticmethod. d │ │ │ +0007d990: 6566 2068 6f76 6572 6465 6c61 7928 2a61 ef hoverdelay(*a │ │ │ +0007d9a0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0007d9b0: 2222 0a20 2020 2020 2020 2068 6f76 6572 "". hover │ │ │ +0007d9c0: 6465 6c61 7928 2920 2d3e 2066 6c6f 6174 delay() -> float │ │ │ +0007d9d0: 0a20 2020 2020 2020 2068 6f76 6572 6465 . hoverde │ │ │ +0007d9e0: 6c61 7928 666c 6f61 7420 6629 0a20 2020 lay(float f). │ │ │ +0007d9f0: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ +0007da00: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +0007da10: 5f54 6f6f 6c74 6970 5f68 6f76 6572 6465 _Tooltip_hoverde │ │ │ +0007da20: 6c61 7928 2a61 7267 7329 0a0a 2020 2020 lay(*args).. │ │ │ +0007da30: 4073 7461 7469 636d 6574 686f 640a 2020 @staticmethod. │ │ │ +0007da40: 2020 6465 6620 656e 6162 6c65 6428 2a61 def enabled(*a │ │ │ +0007da50: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0007da60: 2222 656e 6162 6c65 6428 2920 2d3e 2069 ""enabled() -> i │ │ │ +0007da70: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ +0007da80: 7475 726e 205f 666c 746b 2e46 6c5f 546f turn _fltk.Fl_To │ │ │ +0007da90: 6f6c 7469 705f 656e 6162 6c65 6428 2a61 oltip_enabled(*a │ │ │ +0007daa0: 7267 7329 0a0a 2020 2020 4073 7461 7469 rgs).. @stati │ │ │ +0007dab0: 636d 6574 686f 640a 2020 2020 6465 6620 cmethod. def │ │ │ +0007dac0: 656e 6162 6c65 282a 6172 6773 293a 0a20 enable(*args):. │ │ │ +0007dad0: 2020 2020 2020 2072 2222 2265 6e61 626c r"""enabl │ │ │ +0007dae0: 6528 696e 7420 623d 3129 2222 220a 2020 e(int b=1)""". │ │ │ +0007daf0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +0007db00: 746b 2e46 6c5f 546f 6f6c 7469 705f 656e tk.Fl_Tooltip_en │ │ │ +0007db10: 6162 6c65 282a 6172 6773 290a 0a20 2020 able(*args).. │ │ │ +0007db20: 2040 7374 6174 6963 6d65 7468 6f64 0a20 @staticmethod. │ │ │ +0007db30: 2020 2064 6566 2064 6973 6162 6c65 282a def disable(* │ │ │ +0007db40: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +0007db50: 2222 2264 6973 6162 6c65 2829 2222 220a """disable()""". │ │ │ +0007db60: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +0007db70: 666c 746b 2e46 6c5f 546f 6f6c 7469 705f fltk.Fl_Tooltip_ │ │ │ +0007db80: 6469 7361 626c 6528 2a61 7267 7329 0a0a disable(*args).. │ │ │ +0007db90: 2020 2020 4073 7461 7469 636d 6574 686f @staticmetho │ │ │ +0007dba0: 640a 2020 2020 6465 6620 656e 7465 725f d. def enter_ │ │ │ +0007dbb0: 6172 6561 282a 6172 6773 293a 0a20 2020 area(*args):. │ │ │ +0007dbc0: 2020 2020 2072 2222 2265 6e74 6572 5f61 r"""enter_a │ │ │ +0007dbd0: 7265 6128 466c 5f57 6964 6765 7420 772c rea(Fl_Widget w, │ │ │ +0007dbe0: 2069 6e74 2058 2c20 696e 7420 592c 2069 int X, int Y, i │ │ │ +0007dbf0: 6e74 2057 2c20 696e 7420 482c 2063 6861 nt W, int H, cha │ │ │ +0007dc00: 7220 636f 6e73 7420 2a20 7469 7029 2222 r const * tip)"" │ │ │ +0007dc10: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0007dc20: 205f 666c 746b 2e46 6c5f 546f 6f6c 7469 _fltk.Fl_Toolti │ │ │ +0007dc30: 705f 656e 7465 725f 6172 6561 282a 6172 p_enter_area(*ar │ │ │ +0007dc40: 6773 290a 0a20 2020 2040 7374 6174 6963 gs).. @static │ │ │ +0007dc50: 6d65 7468 6f64 0a20 2020 2064 6566 2063 method. def c │ │ │ +0007dc60: 7572 7265 6e74 282a 6172 6773 293a 0a20 urrent(*args):. │ │ │ +0007dc70: 2020 2020 2020 2072 2222 220a 2020 2020 r""". │ │ │ +0007dc80: 2020 2020 6375 7272 656e 7428 2920 2d3e current() -> │ │ │ +0007dc90: 2046 6c5f 5769 6467 6574 0a20 2020 2020 Fl_Widget. │ │ │ +0007dca0: 2020 2063 7572 7265 6e74 2846 6c5f 5769 current(Fl_Wi │ │ │ +0007dcb0: 6467 6574 2061 7267 3129 0a20 2020 2020 dget arg1). │ │ │ +0007dcc0: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ +0007dcd0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +0007dce0: 6f6f 6c74 6970 5f63 7572 7265 6e74 282a ooltip_current(* │ │ │ +0007dcf0: 6172 6773 290a 0a20 2020 2040 7374 6174 args).. @stat │ │ │ +0007dd00: 6963 6d65 7468 6f64 0a20 2020 2064 6566 icmethod. def │ │ │ +0007dd10: 2066 6f6e 7428 2a61 7267 7329 3a0a 2020 font(*args):. │ │ │ +0007dd20: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ +0007dd30: 2020 2066 6f6e 7428 2920 2d3e 2046 6c5f font() -> Fl_ │ │ │ +0007dd40: 466f 6e74 0a20 2020 2020 2020 2066 6f6e Font. fon │ │ │ +0007dd50: 7428 466c 5f46 6f6e 7420 6929 0a20 2020 t(Fl_Font i). │ │ │ +0007dd60: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ +0007dd70: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +0007dd80: 5f54 6f6f 6c74 6970 5f66 6f6e 7428 2a61 _Tooltip_font(*a │ │ │ +0007dd90: 7267 7329 0a0a 2020 2020 4073 7461 7469 rgs).. @stati │ │ │ +0007dda0: 636d 6574 686f 640a 2020 2020 6465 6620 cmethod. def │ │ │ +0007ddb0: 7369 7a65 282a 6172 6773 293a 0a20 2020 size(*args):. │ │ │ +0007ddc0: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ +0007ddd0: 2020 7369 7a65 2829 202d 3e20 466c 5f46 size() -> Fl_F │ │ │ +0007dde0: 6f6e 7473 697a 650a 2020 2020 2020 2020 ontsize. │ │ │ +0007ddf0: 7369 7a65 2846 6c5f 466f 6e74 7369 7a65 size(Fl_Fontsize │ │ │ +0007de00: 2073 290a 2020 2020 2020 2020 2222 220a s). """. │ │ │ +0007de10: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +0007de20: 666c 746b 2e46 6c5f 546f 6f6c 7469 705f fltk.Fl_Tooltip_ │ │ │ +0007de30: 7369 7a65 282a 6172 6773 290a 0a20 2020 size(*args).. │ │ │ +0007de40: 2040 7374 6174 6963 6d65 7468 6f64 0a20 @staticmethod. │ │ │ +0007de50: 2020 2064 6566 2063 6f6c 6f72 282a 6172 def color(*ar │ │ │ +0007de60: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +0007de70: 220a 2020 2020 2020 2020 636f 6c6f 7228 ". color( │ │ │ +0007de80: 2920 2d3e 2046 6c5f 436f 6c6f 720a 2020 ) -> Fl_Color. │ │ │ +0007de90: 2020 2020 2020 636f 6c6f 7228 466c 5f43 color(Fl_C │ │ │ +0007dea0: 6f6c 6f72 2063 290a 2020 2020 2020 2020 olor c). │ │ │ +0007deb0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +0007dec0: 726e 205f 666c 746b 2e46 6c5f 546f 6f6c rn _fltk.Fl_Tool │ │ │ +0007ded0: 7469 705f 636f 6c6f 7228 2a61 7267 7329 tip_color(*args) │ │ │ +0007dee0: 0a0a 2020 2020 4073 7461 7469 636d 6574 .. @staticmet │ │ │ +0007def0: 686f 640a 2020 2020 6465 6620 7465 7874 hod. def text │ │ │ +0007df00: 636f 6c6f 7228 2a61 7267 7329 3a0a 2020 color(*args):. │ │ │ +0007df10: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ +0007df20: 2020 2074 6578 7463 6f6c 6f72 2829 202d textcolor() - │ │ │ +0007df30: 3e20 466c 5f43 6f6c 6f72 0a20 2020 2020 > Fl_Color. │ │ │ +0007df40: 2020 2074 6578 7463 6f6c 6f72 2846 6c5f textcolor(Fl_ │ │ │ +0007df50: 436f 6c6f 7220 6329 0a20 2020 2020 2020 Color c). │ │ │ +0007df60: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ +0007df70: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6f6f urn _fltk.Fl_Too │ │ │ +0007df80: 6c74 6970 5f74 6578 7463 6f6c 6f72 282a ltip_textcolor(* │ │ │ +0007df90: 6172 6773 290a 0a20 2020 2040 7374 6174 args).. @stat │ │ │ +0007dfa0: 6963 6d65 7468 6f64 0a20 2020 2064 6566 icmethod. def │ │ │ +0007dfb0: 206d 6172 6769 6e5f 7769 6474 6828 2a61 margin_width(*a │ │ │ +0007dfc0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0007dfd0: 2222 0a20 2020 2020 2020 206d 6172 6769 "". margi │ │ │ +0007dfe0: 6e5f 7769 6474 6828 2920 2d3e 2069 6e74 n_width() -> int │ │ │ +0007dff0: 0a20 2020 2020 2020 206d 6172 6769 6e5f . margin_ │ │ │ +0007e000: 7769 6474 6828 696e 7420 7629 0a20 2020 width(int v). │ │ │ +0007e010: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ +0007e020: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +0007e030: 5f54 6f6f 6c74 6970 5f6d 6172 6769 6e5f _Tooltip_margin_ │ │ │ +0007e040: 7769 6474 6828 2a61 7267 7329 0a0a 2020 width(*args).. │ │ │ +0007e050: 2020 4073 7461 7469 636d 6574 686f 640a @staticmethod. │ │ │ +0007e060: 2020 2020 6465 6620 6d61 7267 696e 5f68 def margin_h │ │ │ +0007e070: 6569 6768 7428 2a61 7267 7329 3a0a 2020 eight(*args):. │ │ │ +0007e080: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ +0007e090: 2020 206d 6172 6769 6e5f 6865 6967 6874 margin_height │ │ │ +0007e0a0: 2829 202d 3e20 696e 740a 2020 2020 2020 () -> int. │ │ │ +0007e0b0: 2020 6d61 7267 696e 5f68 6569 6768 7428 margin_height( │ │ │ +0007e0c0: 696e 7420 7629 0a20 2020 2020 2020 2022 int v). " │ │ │ +0007e0d0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0007e0e0: 6e20 5f66 6c74 6b2e 466c 5f54 6f6f 6c74 n _fltk.Fl_Toolt │ │ │ +0007e0f0: 6970 5f6d 6172 6769 6e5f 6865 6967 6874 ip_margin_height │ │ │ +0007e100: 282a 6172 6773 290a 0a20 2020 2040 7374 (*args).. @st │ │ │ +0007e110: 6174 6963 6d65 7468 6f64 0a20 2020 2064 aticmethod. d │ │ │ +0007e120: 6566 2077 7261 705f 7769 6474 6828 2a61 ef wrap_width(*a │ │ │ +0007e130: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0007e140: 2222 0a20 2020 2020 2020 2077 7261 705f "". wrap_ │ │ │ +0007e150: 7769 6474 6828 2920 2d3e 2069 6e74 0a20 width() -> int. │ │ │ +0007e160: 2020 2020 2020 2077 7261 705f 7769 6474 wrap_widt │ │ │ +0007e170: 6828 696e 7420 7629 0a20 2020 2020 2020 h(int v). │ │ │ +0007e180: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ +0007e190: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6f6f urn _fltk.Fl_Too │ │ │ +0007e1a0: 6c74 6970 5f77 7261 705f 7769 6474 6828 ltip_wrap_width( │ │ │ +0007e1b0: 2a61 7267 7329 0a0a 2020 2020 4073 7461 *args).. @sta │ │ │ +0007e1c0: 7469 636d 6574 686f 640a 2020 2020 6465 ticmethod. de │ │ │ +0007e1d0: 6620 6375 7272 656e 745f 7769 6e64 6f77 f current_window │ │ │ +0007e1e0: 282a 6172 6773 293a 0a20 2020 2020 2020 (*args):. │ │ │ +0007e1f0: 2072 2222 2263 7572 7265 6e74 5f77 696e r"""current_win │ │ │ +0007e200: 646f 7728 2920 2d3e 2046 6c5f 5769 6e64 dow() -> Fl_Wind │ │ │ +0007e210: 6f77 2222 220a 2020 2020 2020 2020 7265 ow""". re │ │ │ +0007e220: 7475 726e 205f 666c 746b 2e46 6c5f 546f turn _fltk.Fl_To │ │ │ +0007e230: 6f6c 7469 705f 6375 7272 656e 745f 7769 oltip_current_wi │ │ │ +0007e240: 6e64 6f77 282a 6172 6773 290a 0a20 2020 ndow(*args).. │ │ │ +0007e250: 2064 6566 205f 5f69 6e69 745f 5f28 7365 def __init__(se │ │ │ +0007e260: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +0007e270: 2020 2020 7222 2222 5f5f 696e 6974 5f5f r"""__init__ │ │ │ +0007e280: 2846 6c5f 546f 6f6c 7469 7020 7365 6c66 (Fl_Tooltip self │ │ │ +0007e290: 2920 2d3e 2046 6c5f 546f 6f6c 7469 7022 ) -> Fl_Tooltip" │ │ │ +0007e2a0: 2222 0a20 2020 2020 2020 205f 666c 746b "". _fltk │ │ │ +0007e2b0: 2e46 6c5f 546f 6f6c 7469 705f 7377 6967 .Fl_Tooltip_swig │ │ │ +0007e2c0: 696e 6974 2873 656c 662c 205f 666c 746b init(self, _fltk │ │ │ +0007e2d0: 2e6e 6577 5f46 6c5f 546f 6f6c 7469 7028 .new_Fl_Tooltip( │ │ │ +0007e2e0: 2a61 7267 7329 290a 2020 2020 5f5f 7377 *args)). __sw │ │ │ +0007e2f0: 6967 5f64 6573 7472 6f79 5f5f 203d 205f ig_destroy__ = _ │ │ │ +0007e300: 666c 746b 2e64 656c 6574 655f 466c 5f54 fltk.delete_Fl_T │ │ │ +0007e310: 6f6f 6c74 6970 0a0a 2320 5265 6769 7374 ooltip..# Regist │ │ │ +0007e320: 6572 2046 6c5f 546f 6f6c 7469 7020 696e er Fl_Tooltip in │ │ │ +0007e330: 205f 666c 746b 3a0a 5f66 6c74 6b2e 466c _fltk:._fltk.Fl │ │ │ +0007e340: 5f54 6f6f 6c74 6970 5f73 7769 6772 6567 _Tooltip_swigreg │ │ │ +0007e350: 6973 7465 7228 466c 5f54 6f6f 6c74 6970 ister(Fl_Tooltip │ │ │ +0007e360: 290a 636c 6173 7320 466c 5f56 616c 7565 ).class Fl_Value │ │ │ +0007e370: 5f4f 7574 7075 7428 466c 5f56 616c 7561 _Output(Fl_Valua │ │ │ +0007e380: 746f 7229 3a0a 2020 2020 7222 2222 0a0a tor):. r""".. │ │ │ +0007e390: 2020 2020 5468 6520 466c 5f56 616c 7565 The Fl_Value │ │ │ +0007e3a0: 5f4f 7574 7075 7420 7769 6467 6574 2064 _Output widget d │ │ │ +0007e3b0: 6973 706c 6179 7320 6120 666c 6f61 7469 isplays a floati │ │ │ +0007e3c0: 6e67 2070 6f69 6e74 2076 616c 7565 2e20 ng point value. │ │ │ +0007e3d0: 4966 2073 7465 7028 2920 6973 200a 2020 If step() is . │ │ │ +0007e3e0: 2020 6e6f 7420 7a65 726f 2c20 7468 6520 not zero, the │ │ │ +0007e3f0: 7573 6572 2063 616e 2061 646a 7573 7420 user can adjust │ │ │ +0007e400: 7468 6520 7661 6c75 6520 6279 2064 7261 the value by dra │ │ │ +0007e410: 6767 696e 6720 7468 6520 6d6f 7573 6520 gging the mouse │ │ │ +0007e420: 6c65 6674 2061 6e64 2072 6967 6874 2e20 left and right. │ │ │ +0007e430: 0a20 2020 2054 6865 206c 6566 7420 6275 . The left bu │ │ │ +0007e440: 7474 6f6e 206d 6f76 6573 206f 6e65 2073 tton moves one s │ │ │ +0007e450: 7465 7028 2920 2070 6572 2070 6978 656c tep() per pixel │ │ │ +0007e460: 2c20 7468 6520 6d69 6464 6c65 2062 7920 , the middle by │ │ │ +0007e470: 3130 202a 2073 7465 7028 292c 2061 6e64 10 * step(), and │ │ │ +0007e480: 200a 2020 2020 7468 6520 7269 6768 7420 . the right │ │ │ +0007e490: 6275 7474 6f6e 2062 7920 3130 3020 2a20 button by 100 * │ │ │ +0007e4a0: 7374 6570 2829 2e0a 0a20 2020 2054 6869 step()... Thi │ │ │ +0007e4b0: 7320 6973 206d 7563 6820 6c69 6768 7465 s is much lighte │ │ │ +0007e4c0: 722d 7765 6967 6874 2074 6861 6e20 466c r-weight than Fl │ │ │ +0007e4d0: 5f56 616c 7565 5f49 6e70 7574 2062 6563 _Value_Input bec │ │ │ +0007e4e0: 6175 7365 2069 7420 636f 6e74 6169 6e73 ause it contains │ │ │ +0007e4f0: 206e 6f20 7465 7874 200a 2020 2020 6564 no text . ed │ │ │ +0007e500: 6974 696e 6720 636f 6465 206f 7220 6368 iting code or ch │ │ │ +0007e510: 6172 6163 7465 7220 6275 6666 6572 2e20 aracter buffer. │ │ │ +0007e520: 0a0a 2020 2020 2222 220a 0a20 2020 2074 .. """.. t │ │ │ +0007e530: 6869 736f 776e 203d 2070 726f 7065 7274 hisown = propert │ │ │ +0007e540: 7928 6c61 6d62 6461 2078 3a20 782e 7468 y(lambda x: x.th │ │ │ +0007e550: 6973 2e6f 776e 2829 2c20 6c61 6d62 6461 is.own(), lambda │ │ │ +0007e560: 2078 2c20 763a 2078 2e74 6869 732e 6f77 x, v: x.this.ow │ │ │ +0007e570: 6e28 7629 2c20 646f 633d 2254 6865 206d n(v), doc="The m │ │ │ +0007e580: 656d 6265 7273 6869 7020 666c 6167 2229 embership flag") │ │ │ +0007e590: 0a20 2020 205f 5f72 6570 725f 5f20 3d20 . __repr__ = │ │ │ +0007e5a0: 5f73 7769 675f 7265 7072 0a0a 2020 2020 _swig_repr.. │ │ │ +0007e5b0: 6465 6620 6472 6177 2873 656c 662c 202a def draw(self, * │ │ │ +0007e5c0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +0007e5d0: 2222 2264 7261 7728 466c 5f56 616c 7565 """draw(Fl_Value │ │ │ +0007e5e0: 5f4f 7574 7075 7420 7365 6c66 2922 2222 _Output self)""" │ │ │ +0007e5f0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +0007e600: 5f66 6c74 6b2e 466c 5f56 616c 7565 5f4f _fltk.Fl_Value_O │ │ │ +0007e610: 7574 7075 745f 6472 6177 2873 656c 662c utput_draw(self, │ │ │ +0007e620: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +0007e630: 2068 616e 646c 6528 7365 6c66 2c20 2a61 handle(self, *a │ │ │ +0007e640: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0007e650: 2222 6861 6e64 6c65 2846 6c5f 5661 6c75 ""handle(Fl_Valu │ │ │ +0007e660: 655f 4f75 7470 7574 2073 656c 662c 2069 e_Output self, i │ │ │ +0007e670: 6e74 2061 7267 3029 202d 3e20 696e 7422 nt arg0) -> int" │ │ │ +0007e680: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0007e690: 6e20 5f66 6c74 6b2e 466c 5f56 616c 7565 n _fltk.Fl_Value │ │ │ +0007e6a0: 5f4f 7574 7075 745f 6861 6e64 6c65 2873 _Output_handle(s │ │ │ +0007e6b0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +0007e6c0: 2064 6566 205f 5f69 6e69 745f 5f28 7365 def __init__(se │ │ │ +0007e6d0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +0007e6e0: 2020 2020 7222 2222 5f5f 696e 6974 5f5f r"""__init__ │ │ │ +0007e6f0: 2846 6c5f 5661 6c75 655f 4f75 7470 7574 (Fl_Value_Output │ │ │ +0007e700: 2073 656c 662c 2069 6e74 2078 2c20 696e self, int x, in │ │ │ +0007e710: 7420 792c 2069 6e74 2077 2c20 696e 7420 t y, int w, int │ │ │ +0007e720: 682c 2063 6861 7220 636f 6e73 7420 2a20 h, char const * │ │ │ +0007e730: 6c3d 4e6f 6e65 2920 2d3e 2046 6c5f 5661 l=None) -> Fl_Va │ │ │ +0007e740: 6c75 655f 4f75 7470 7574 2222 220a 2020 lue_Output""". │ │ │ +0007e750: 2020 2020 2020 6966 2073 656c 662e 5f5f if self.__ │ │ │ +0007e760: 636c 6173 735f 5f20 3d3d 2046 6c5f 5661 class__ == Fl_Va │ │ │ +0007e770: 6c75 655f 4f75 7470 7574 3a0a 2020 2020 lue_Output:. │ │ │ +0007e780: 2020 2020 2020 2020 5f73 656c 6620 3d20 _self = │ │ │ +0007e790: 4e6f 6e65 0a20 2020 2020 2020 2065 6c73 None. els │ │ │ +0007e7a0: 653a 0a20 2020 2020 2020 2020 2020 205f e:. _ │ │ │ +0007e7b0: 7365 6c66 203d 2073 656c 660a 2020 2020 self = self. │ │ │ +0007e7c0: 2020 2020 5f66 6c74 6b2e 466c 5f56 616c _fltk.Fl_Val │ │ │ +0007e7d0: 7565 5f4f 7574 7075 745f 7377 6967 696e ue_Output_swigin │ │ │ +0007e7e0: 6974 2873 656c 662c 205f 666c 746b 2e6e it(self, _fltk.n │ │ │ +0007e7f0: 6577 5f46 6c5f 5661 6c75 655f 4f75 7470 ew_Fl_Value_Outp │ │ │ +0007e800: 7574 285f 7365 6c66 2c20 2a61 7267 7329 ut(_self, *args) │ │ │ +0007e810: 290a 0a20 2020 2020 2020 2069 6620 6c65 ).. if le │ │ │ +0007e820: 6e28 6172 6773 2920 3d3d 2035 3a20 2020 n(args) == 5: │ │ │ +0007e830: 2020 2020 2020 200a 2020 2020 2020 2020 . │ │ │ +0007e840: 2372 6574 6169 6e20 7265 6665 7265 6e63 #retain referenc │ │ │ +0007e850: 6520 746f 206c 6162 656c 0a20 2020 2020 e to label. │ │ │ +0007e860: 2020 2020 2020 2073 656c 662e 6d79 5f6c self.my_l │ │ │ +0007e870: 6162 656c 203d 2061 7267 735b 2d31 5d0a abel = args[-1]. │ │ │ +0007e880: 2020 2020 2020 2020 6966 2073 656c 662e if self. │ │ │ +0007e890: 7061 7265 6e74 2829 2021 3d20 4e6f 6e65 parent() != None │ │ │ +0007e8a0: 3a20 2020 0a20 2020 2020 2020 2023 6465 : . #de │ │ │ +0007e8b0: 6c65 6761 7465 206f 776e 6572 7368 6970 legate ownership │ │ │ +0007e8c0: 2074 6f20 432b 2b0a 2020 2020 2020 2020 to C++. │ │ │ +0007e8d0: 2020 2020 7365 6c66 2e74 6869 732e 6469 self.this.di │ │ │ +0007e8e0: 736f 776e 2829 0a20 2020 2020 2020 2073 sown(). s │ │ │ +0007e8f0: 656c 662e 696e 6974 5f74 7970 6528 2246 elf.init_type("F │ │ │ +0007e900: 6c5f 5661 6c75 655f 4f75 7470 7574 2229 l_Value_Output") │ │ │ +0007e910: 0a20 2020 2020 2020 2023 7072 696e 7428 . #print( │ │ │ +0007e920: 2241 6464 696e 6720 7479 7065 3a20 222c "Adding type: ", │ │ │ +0007e930: 2046 6c5f 5661 6c75 655f 4f75 7470 7574 Fl_Value_Output │ │ │ +0007e940: 290a 0a0a 0a0a 2020 2020 6465 6620 736f )..... def so │ │ │ +0007e950: 6674 2873 656c 662c 202a 6172 6773 293a ft(self, *args): │ │ │ +0007e960: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ +0007e970: 2020 2020 2020 736f 6674 2846 6c5f 5661 soft(Fl_Va │ │ │ +0007e980: 6c75 655f 4f75 7470 7574 2073 656c 662c lue_Output self, │ │ │ +0007e990: 2075 6368 6172 2073 290a 2020 2020 2020 uchar s). │ │ │ +0007e9a0: 2020 736f 6674 2846 6c5f 5661 6c75 655f soft(Fl_Value_ │ │ │ +0007e9b0: 4f75 7470 7574 2073 656c 6629 202d 3e20 Output self) -> │ │ │ +0007e9c0: 7563 6861 720a 2020 2020 2020 2020 2222 uchar. "" │ │ │ +0007e9d0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0007e9e0: 205f 666c 746b 2e46 6c5f 5661 6c75 655f _fltk.Fl_Value_ │ │ │ +0007e9f0: 4f75 7470 7574 5f73 6f66 7428 7365 6c66 Output_soft(self │ │ │ +0007ea00: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +0007ea10: 6620 7465 7874 666f 6e74 2873 656c 662c f textfont(self, │ │ │ +0007ea20: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +0007ea30: 2072 2222 220a 2020 2020 2020 2020 7465 r""". te │ │ │ +0007ea40: 7874 666f 6e74 2846 6c5f 5661 6c75 655f xtfont(Fl_Value_ │ │ │ +0007ea50: 4f75 7470 7574 2073 656c 6629 202d 3e20 Output self) -> │ │ │ +0007ea60: 466c 5f46 6f6e 740a 2020 2020 2020 2020 Fl_Font. │ │ │ +0007ea70: 7465 7874 666f 6e74 2846 6c5f 5661 6c75 textfont(Fl_Valu │ │ │ +0007ea80: 655f 4f75 7470 7574 2073 656c 662c 2046 e_Output self, F │ │ │ +0007ea90: 6c5f 466f 6e74 2073 290a 2020 2020 2020 l_Font s). │ │ │ +0007eaa0: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ +0007eab0: 7475 726e 205f 666c 746b 2e46 6c5f 5661 turn _fltk.Fl_Va │ │ │ +0007eac0: 6c75 655f 4f75 7470 7574 5f74 6578 7466 lue_Output_textf │ │ │ +0007ead0: 6f6e 7428 7365 6c66 2c20 2a61 7267 7329 ont(self, *args) │ │ │ +0007eae0: 0a0a 2020 2020 6465 6620 7465 7874 7369 .. def textsi │ │ │ +0007eaf0: 7a65 2873 656c 662c 202a 6172 6773 293a ze(self, *args): │ │ │ +0007eb00: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ +0007eb10: 2020 2020 2020 7465 7874 7369 7a65 2846 textsize(F │ │ │ +0007eb20: 6c5f 5661 6c75 655f 4f75 7470 7574 2073 l_Value_Output s │ │ │ +0007eb30: 656c 6629 202d 3e20 466c 5f46 6f6e 7473 elf) -> Fl_Fonts │ │ │ +0007eb40: 697a 650a 2020 2020 2020 2020 7465 7874 ize. text │ │ │ +0007eb50: 7369 7a65 2846 6c5f 5661 6c75 655f 4f75 size(Fl_Value_Ou │ │ │ +0007eb60: 7470 7574 2073 656c 662c 2046 6c5f 466f tput self, Fl_Fo │ │ │ +0007eb70: 6e74 7369 7a65 2073 290a 2020 2020 2020 ntsize s). │ │ │ +0007eb80: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ +0007eb90: 7475 726e 205f 666c 746b 2e46 6c5f 5661 turn _fltk.Fl_Va │ │ │ +0007eba0: 6c75 655f 4f75 7470 7574 5f74 6578 7473 lue_Output_texts │ │ │ +0007ebb0: 697a 6528 7365 6c66 2c20 2a61 7267 7329 ize(self, *args) │ │ │ +0007ebc0: 0a0a 2020 2020 6465 6620 7465 7874 636f .. def textco │ │ │ +0007ebd0: 6c6f 7228 7365 6c66 2c20 2a61 7267 7329 lor(self, *args) │ │ │ +0007ebe0: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ +0007ebf0: 2020 2020 2020 2074 6578 7463 6f6c 6f72 textcolor │ │ │ +0007ec00: 2846 6c5f 5661 6c75 655f 4f75 7470 7574 (Fl_Value_Output │ │ │ +0007ec10: 2073 656c 6629 202d 3e20 466c 5f43 6f6c self) -> Fl_Col │ │ │ +0007ec20: 6f72 0a20 2020 2020 2020 2074 6578 7463 or. textc │ │ │ +0007ec30: 6f6c 6f72 2846 6c5f 5661 6c75 655f 4f75 olor(Fl_Value_Ou │ │ │ +0007ec40: 7470 7574 2073 656c 662c 2046 6c5f 436f tput self, Fl_Co │ │ │ +0007ec50: 6c6f 7220 7329 0a20 2020 2020 2020 2022 lor s). " │ │ │ +0007ec60: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0007ec70: 6e20 5f66 6c74 6b2e 466c 5f56 616c 7565 n _fltk.Fl_Value │ │ │ +0007ec80: 5f4f 7574 7075 745f 7465 7874 636f 6c6f _Output_textcolo │ │ │ +0007ec90: 7228 7365 6c66 2c20 2a61 7267 7329 0a0a r(self, *args).. │ │ │ +0007eca0: 2020 2020 6465 6620 696e 6974 5f74 7970 def init_typ │ │ │ +0007ecb0: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ +0007ecc0: 2020 2020 2020 2020 7222 2222 696e 6974 r"""init │ │ │ +0007ecd0: 5f74 7970 6528 466c 5f56 616c 7565 5f4f _type(Fl_Value_O │ │ │ +0007ece0: 7574 7075 7420 7365 6c66 2c20 6368 6172 utput self, char │ │ │ +0007ecf0: 202a 2046 6c5f 5661 6c75 655f 4f75 7470 * Fl_Value_Outp │ │ │ +0007ed00: 7574 2922 2222 0a20 2020 2020 2020 2072 ut)""". r │ │ │ +0007ed10: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f56 eturn _fltk.Fl_V │ │ │ +0007ed20: 616c 7565 5f4f 7574 7075 745f 696e 6974 alue_Output_init │ │ │ +0007ed30: 5f74 7970 6528 7365 6c66 2c20 2a61 7267 _type(self, *arg │ │ │ +0007ed40: 7329 0a20 2020 205f 5f73 7769 675f 6465 s). __swig_de │ │ │ +0007ed50: 7374 726f 795f 5f20 3d20 5f66 6c74 6b2e stroy__ = _fltk. │ │ │ +0007ed60: 6465 6c65 7465 5f46 6c5f 5661 6c75 655f delete_Fl_Value_ │ │ │ +0007ed70: 4f75 7470 7574 0a20 2020 2064 6566 205f Output. def _ │ │ │ +0007ed80: 5f64 6973 6f77 6e5f 5f28 7365 6c66 293a _disown__(self): │ │ │ +0007ed90: 0a20 2020 2020 2020 2073 656c 662e 7468 . self.th │ │ │ +0007eda0: 6973 2e64 6973 6f77 6e28 290a 2020 2020 is.disown(). │ │ │ +0007edb0: 2020 2020 5f66 6c74 6b2e 6469 736f 776e _fltk.disown │ │ │ +0007edc0: 5f46 6c5f 5661 6c75 655f 4f75 7470 7574 _Fl_Value_Output │ │ │ +0007edd0: 2873 656c 6629 0a20 2020 2020 2020 2072 (self). r │ │ │ +0007ede0: 6574 7572 6e20 7765 616b 7265 662e 7072 eturn weakref.pr │ │ │ +0007edf0: 6f78 7928 7365 6c66 290a 0a23 2052 6567 oxy(self)..# Reg │ │ │ +0007ee00: 6973 7465 7220 466c 5f56 616c 7565 5f4f ister Fl_Value_O │ │ │ +0007ee10: 7574 7075 7420 696e 205f 666c 746b 3a0a utput in _fltk:. │ │ │ +0007ee20: 5f66 6c74 6b2e 466c 5f56 616c 7565 5f4f _fltk.Fl_Value_O │ │ │ +0007ee30: 7574 7075 745f 7377 6967 7265 6769 7374 utput_swigregist │ │ │ +0007ee40: 6572 2846 6c5f 5661 6c75 655f 4f75 7470 er(Fl_Value_Outp │ │ │ +0007ee50: 7574 290a 636c 6173 7320 466c 5f57 697a ut).class Fl_Wiz │ │ │ +0007ee60: 6172 6428 466c 5f47 726f 7570 293a 0a20 ard(Fl_Group):. │ │ │ +0007ee70: 2020 2072 2222 220a 0a20 2020 2054 6865 r""".. The │ │ │ +0007ee80: 2046 6c5f 5769 7a61 7264 2077 6964 6765 Fl_Wizard widge │ │ │ +0007ee90: 7420 6973 2062 6173 6564 206f 6666 2074 t is based off t │ │ │ +0007eea0: 6865 2046 6c5f 5461 6273 2077 6964 6765 he Fl_Tabs widge │ │ │ +0007eeb0: 742c 2062 7574 2069 6e73 7465 6164 206f t, but instead o │ │ │ +0007eec0: 6620 0a20 2020 2064 6973 706c 6179 696e f . displayin │ │ │ +0007eed0: 6720 7461 6273 2069 7420 6f6e 6c79 2063 g tabs it only c │ │ │ +0007eee0: 6861 6e67 6573 2027 7461 6273 2720 756e hanges 'tabs' un │ │ │ +0007eef0: 6465 7220 7072 6f67 7261 6d20 636f 6e74 der program cont │ │ │ +0007ef00: 726f 6c2e 2049 7473 2070 7269 6d61 7279 rol. Its primary │ │ │ +0007ef10: 200a 2020 2020 7075 7270 6f73 6520 6973 . purpose is │ │ │ +0007ef20: 2074 6f20 7375 7070 6f72 7420 2777 697a to support 'wiz │ │ │ +0007ef30: 6172 6473 2720 7468 6174 2073 7465 7020 ards' that step │ │ │ +0007ef40: 6120 7573 6572 2074 6872 6f75 6768 2063 a user through c │ │ │ +0007ef50: 6f6e 6669 6775 7261 7469 6f6e 206f 7220 onfiguration or │ │ │ +0007ef60: 0a20 2020 2074 726f 7562 6c65 7368 6f6f . troubleshoo │ │ │ +0007ef70: 7469 6e67 2074 6173 6b73 2e0a 0a20 2020 ting tasks... │ │ │ +0007ef80: 2041 7320 7769 7468 2046 6c5f 5461 6273 As with Fl_Tabs │ │ │ +0007ef90: 2c20 7769 7a61 7264 2070 616e 6573 2061 , wizard panes a │ │ │ +0007efa0: 7265 2063 6f6d 706f 7365 6420 6f66 2063 re composed of c │ │ │ +0007efb0: 6869 6c64 2028 7573 7561 6c6c 7920 466c hild (usually Fl │ │ │ +0007efc0: 5f47 726f 7570 2920 0a20 2020 2077 6964 _Group) . wid │ │ │ +0007efd0: 6765 7473 2e20 4e61 7669 6761 7469 6f6e gets. Navigation │ │ │ +0007efe0: 2062 7574 746f 6e73 206d 7573 7420 6265 buttons must be │ │ │ +0007eff0: 2061 6464 6564 2073 6570 6172 6174 656c added separatel │ │ │ +0007f000: 792e 200a 0a20 2020 2022 2222 0a0a 2020 y. .. """.. │ │ │ +0007f010: 2020 7468 6973 6f77 6e20 3d20 7072 6f70 thisown = prop │ │ │ +0007f020: 6572 7479 286c 616d 6264 6120 783a 2078 erty(lambda x: x │ │ │ +0007f030: 2e74 6869 732e 6f77 6e28 292c 206c 616d .this.own(), lam │ │ │ +0007f040: 6264 6120 782c 2076 3a20 782e 7468 6973 bda x, v: x.this │ │ │ +0007f050: 2e6f 776e 2876 292c 2064 6f63 3d22 5468 .own(v), doc="Th │ │ │ +0007f060: 6520 6d65 6d62 6572 7368 6970 2066 6c61 e membership fla │ │ │ +0007f070: 6722 290a 2020 2020 5f5f 7265 7072 5f5f g"). __repr__ │ │ │ +0007f080: 203d 205f 7377 6967 5f72 6570 720a 0a20 = _swig_repr.. │ │ │ +0007f090: 2020 2064 6566 2064 7261 7728 7365 6c66 def draw(self │ │ │ +0007f0a0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +0007f0b0: 2020 7222 2222 6472 6177 2846 6c5f 5769 r"""draw(Fl_Wi │ │ │ +0007f0c0: 7a61 7264 2073 656c 6629 2222 220a 2020 zard self)""". │ │ │ +0007f0d0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +0007f0e0: 746b 2e46 6c5f 5769 7a61 7264 5f64 7261 tk.Fl_Wizard_dra │ │ │ +0007f0f0: 7728 7365 6c66 2c20 2a61 7267 7329 0a0a w(self, *args).. │ │ │ +0007f100: 2020 2020 6465 6620 5f5f 696e 6974 5f5f def __init__ │ │ │ +0007f110: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +0007f120: 2020 2020 2020 2072 2222 225f 5f69 6e69 r"""__ini │ │ │ +0007f130: 745f 5f28 466c 5f57 697a 6172 6420 7365 t__(Fl_Wizard se │ │ │ +0007f140: 6c66 2c20 696e 7420 6172 6732 2c20 696e lf, int arg2, in │ │ │ +0007f150: 7420 6172 6733 2c20 696e 7420 6172 6734 t arg3, int arg4 │ │ │ +0007f160: 2c20 696e 7420 6172 6735 2c20 6368 6172 , int arg5, char │ │ │ +0007f170: 2063 6f6e 7374 202a 2061 7267 363d 4e6f const * arg6=No │ │ │ +0007f180: 6e65 2920 2d3e 2046 6c5f 5769 7a61 7264 ne) -> Fl_Wizard │ │ │ +0007f190: 2222 220a 2020 2020 2020 2020 6966 2073 """. if s │ │ │ +0007f1a0: 656c 662e 5f5f 636c 6173 735f 5f20 3d3d elf.__class__ == │ │ │ +0007f1b0: 2046 6c5f 5769 7a61 7264 3a0a 2020 2020 Fl_Wizard:. │ │ │ +0007f1c0: 2020 2020 2020 2020 5f73 656c 6620 3d20 _self = │ │ │ +0007f1d0: 4e6f 6e65 0a20 2020 2020 2020 2065 6c73 None. els │ │ │ +0007f1e0: 653a 0a20 2020 2020 2020 2020 2020 205f e:. _ │ │ │ +0007f1f0: 7365 6c66 203d 2073 656c 660a 2020 2020 self = self. │ │ │ +0007f200: 2020 2020 5f66 6c74 6b2e 466c 5f57 697a _fltk.Fl_Wiz │ │ │ +0007f210: 6172 645f 7377 6967 696e 6974 2873 656c ard_swiginit(sel │ │ │ +0007f220: 662c 205f 666c 746b 2e6e 6577 5f46 6c5f f, _fltk.new_Fl_ │ │ │ +0007f230: 5769 7a61 7264 285f 7365 6c66 2c20 2a61 Wizard(_self, *a │ │ │ +0007f240: 7267 7329 290a 0a20 2020 2020 2020 2069 rgs)).. i │ │ │ +0007f250: 6620 6c65 6e28 6172 6773 2920 3d3d 2035 f len(args) == 5 │ │ │ +0007f260: 3a20 2020 2020 2020 2020 200a 2020 2020 : . │ │ │ +0007f270: 2020 2020 2372 6574 6169 6e20 7265 6665 #retain refe │ │ │ +0007f280: 7265 6e63 6520 746f 206c 6162 656c 0a20 rence to label. │ │ │ +0007f290: 2020 2020 2020 2020 2020 2073 656c 662e self. │ │ │ +0007f2a0: 6d79 5f6c 6162 656c 203d 2061 7267 735b my_label = args[ │ │ │ +0007f2b0: 2d31 5d0a 2020 2020 2020 2020 6966 2073 -1]. if s │ │ │ +0007f2c0: 656c 662e 7061 7265 6e74 2829 2021 3d20 elf.parent() != │ │ │ +0007f2d0: 4e6f 6e65 3a20 2020 0a20 2020 2020 2020 None: . │ │ │ +0007f2e0: 2023 6465 6c65 6761 7465 206f 776e 6572 #delegate owner │ │ │ +0007f2f0: 7368 6970 2074 6f20 432b 2b0a 2020 2020 ship to C++. │ │ │ +0007f300: 2020 2020 2020 2020 7365 6c66 2e74 6869 self.thi │ │ │ +0007f310: 732e 6469 736f 776e 2829 0a20 2020 2020 s.disown(). │ │ │ +0007f320: 2020 2073 656c 662e 696e 6974 5f74 7970 self.init_typ │ │ │ +0007f330: 6528 2246 6c5f 5769 7a61 7264 2229 0a20 e("Fl_Wizard"). │ │ │ +0007f340: 2020 2020 2020 2023 7072 696e 7428 2241 #print("A │ │ │ +0007f350: 6464 696e 6720 7479 7065 3a20 222c 2046 dding type: ", F │ │ │ +0007f360: 6c5f 5769 7a61 7264 290a 0a0a 0a0a 2020 l_Wizard)..... │ │ │ +0007f370: 2020 6465 6620 6e65 7874 2873 656c 662c def next(self, │ │ │ +0007f380: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +0007f390: 2072 2222 226e 6578 7428 466c 5f57 697a r"""next(Fl_Wiz │ │ │ +0007f3a0: 6172 6420 7365 6c66 2922 2222 0a20 2020 ard self)""". │ │ │ +0007f3b0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +0007f3c0: 6b2e 466c 5f57 697a 6172 645f 6e65 7874 k.Fl_Wizard_next │ │ │ +0007f3d0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +0007f3e0: 2020 2064 6566 2070 7265 7628 7365 6c66 def prev(self │ │ │ +0007f3f0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +0007f400: 2020 7222 2222 7072 6576 2846 6c5f 5769 r"""prev(Fl_Wi │ │ │ +0007f410: 7a61 7264 2073 656c 6629 2222 220a 2020 zard self)""". │ │ │ +0007f420: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +0007f430: 746b 2e46 6c5f 5769 7a61 7264 5f70 7265 tk.Fl_Wizard_pre │ │ │ +0007f440: 7628 7365 6c66 2c20 2a61 7267 7329 0a0a v(self, *args).. │ │ │ +0007f450: 2020 2020 6465 6620 7661 6c75 6528 7365 def value(se │ │ │ +0007f460: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +0007f470: 2020 2020 7222 2222 0a20 2020 2020 2020 r""". │ │ │ +0007f480: 2076 616c 7565 2846 6c5f 5769 7a61 7264 value(Fl_Wizard │ │ │ +0007f490: 2073 656c 6629 202d 3e20 466c 5f57 6964 self) -> Fl_Wid │ │ │ +0007f4a0: 6765 740a 2020 2020 2020 2020 7661 6c75 get. valu │ │ │ +0007f4b0: 6528 466c 5f57 697a 6172 6420 7365 6c66 e(Fl_Wizard self │ │ │ +0007f4c0: 2c20 466c 5f57 6964 6765 7420 6172 6732 , Fl_Widget arg2 │ │ │ +0007f4d0: 290a 2020 2020 2020 2020 2222 220a 2020 ). """. │ │ │ +0007f4e0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +0007f4f0: 746b 2e46 6c5f 5769 7a61 7264 5f76 616c tk.Fl_Wizard_val │ │ │ +0007f500: 7565 2873 656c 662c 202a 6172 6773 290a ue(self, *args). │ │ │ +0007f510: 0a20 2020 2064 6566 2069 6e69 745f 7479 . def init_ty │ │ │ +0007f520: 7065 2873 656c 662c 202a 6172 6773 293a pe(self, *args): │ │ │ +0007f530: 0a20 2020 2020 2020 2072 2222 2269 6e69 . r"""ini │ │ │ +0007f540: 745f 7479 7065 2846 6c5f 5769 7a61 7264 t_type(Fl_Wizard │ │ │ +0007f550: 2073 656c 662c 2063 6861 7220 2a20 466c self, char * Fl │ │ │ +0007f560: 5f57 697a 6172 6429 2222 220a 2020 2020 _Wizard)""". │ │ │ +0007f570: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +0007f580: 2e46 6c5f 5769 7a61 7264 5f69 6e69 745f .Fl_Wizard_init_ │ │ │ +0007f590: 7479 7065 2873 656c 662c 202a 6172 6773 type(self, *args │ │ │ +0007f5a0: 290a 2020 2020 5f5f 7377 6967 5f64 6573 ). __swig_des │ │ │ +0007f5b0: 7472 6f79 5f5f 203d 205f 666c 746b 2e64 troy__ = _fltk.d │ │ │ +0007f5c0: 656c 6574 655f 466c 5f57 697a 6172 640a elete_Fl_Wizard. │ │ │ +0007f5d0: 2020 2020 6465 6620 5f5f 6469 736f 776e def __disown │ │ │ +0007f5e0: 5f5f 2873 656c 6629 3a0a 2020 2020 2020 __(self):. │ │ │ +0007f5f0: 2020 7365 6c66 2e74 6869 732e 6469 736f self.this.diso │ │ │ +0007f600: 776e 2829 0a20 2020 2020 2020 205f 666c wn(). _fl │ │ │ +0007f610: 746b 2e64 6973 6f77 6e5f 466c 5f57 697a tk.disown_Fl_Wiz │ │ │ +0007f620: 6172 6428 7365 6c66 290a 2020 2020 2020 ard(self). │ │ │ +0007f630: 2020 7265 7475 726e 2077 6561 6b72 6566 return weakref │ │ │ +0007f640: 2e70 726f 7879 2873 656c 6629 0a0a 2320 .proxy(self)..# │ │ │ +0007f650: 5265 6769 7374 6572 2046 6c5f 5769 7a61 Register Fl_Wiza │ │ │ +0007f660: 7264 2069 6e20 5f66 6c74 6b3a 0a5f 666c rd in _fltk:._fl │ │ │ +0007f670: 746b 2e46 6c5f 5769 7a61 7264 5f73 7769 tk.Fl_Wizard_swi │ │ │ +0007f680: 6772 6567 6973 7465 7228 466c 5f57 697a gregister(Fl_Wiz │ │ │ +0007f690: 6172 6429 0a63 6c61 7373 2046 6c5f 5842 ard).class Fl_XB │ │ │ +0007f6a0: 4d5f 496d 6167 6528 466c 5f42 6974 6d61 M_Image(Fl_Bitma │ │ │ +0007f6b0: 7029 3a0a 2020 2020 7222 2222 0a0a 2020 p):. r""".. │ │ │ +0007f6c0: 2020 5468 6520 466c 5f58 424d 5f49 6d61 The Fl_XBM_Ima │ │ │ +0007f6d0: 6765 2063 6c61 7373 2073 7570 706f 7274 ge class support │ │ │ +0007f6e0: 7320 6c6f 6164 696e 672c 2063 6163 6869 s loading, cachi │ │ │ +0007f6f0: 6e67 2c20 616e 6420 6472 6177 696e 6720 ng, and drawing │ │ │ +0007f700: 6f66 2058 2042 6974 6d61 7020 0a20 2020 of X Bitmap . │ │ │ +0007f710: 2028 5842 4d29 2062 6974 6d61 7020 6669 (XBM) bitmap fi │ │ │ +0007f720: 6c65 732e 0a0a 2020 2020 2222 220a 0a20 les... """.. │ │ │ +0007f730: 2020 2074 6869 736f 776e 203d 2070 726f thisown = pro │ │ │ +0007f740: 7065 7274 7928 6c61 6d62 6461 2078 3a20 perty(lambda x: │ │ │ +0007f750: 782e 7468 6973 2e6f 776e 2829 2c20 6c61 x.this.own(), la │ │ │ +0007f760: 6d62 6461 2078 2c20 763a 2078 2e74 6869 mbda x, v: x.thi │ │ │ +0007f770: 732e 6f77 6e28 7629 2c20 646f 633d 2254 s.own(v), doc="T │ │ │ +0007f780: 6865 206d 656d 6265 7273 6869 7020 666c he membership fl │ │ │ +0007f790: 6167 2229 0a20 2020 205f 5f72 6570 725f ag"). __repr_ │ │ │ +0007f7a0: 5f20 3d20 5f73 7769 675f 7265 7072 0a0a _ = _swig_repr.. │ │ │ +0007f7b0: 2020 2020 6465 6620 5f5f 696e 6974 5f5f def __init__ │ │ │ +0007f7c0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +0007f7d0: 2020 2020 2020 2072 2222 225f 5f69 6e69 r"""__ini │ │ │ +0007f7e0: 745f 5f28 466c 5f58 424d 5f49 6d61 6765 t__(Fl_XBM_Image │ │ │ +0007f7f0: 2073 656c 662c 2063 6861 7220 636f 6e73 self, char cons │ │ │ +0007f800: 7420 2a20 6669 6c65 6e61 6d65 2920 2d3e t * filename) -> │ │ │ +0007f810: 2046 6c5f 5842 4d5f 496d 6167 6522 2222 Fl_XBM_Image""" │ │ │ +0007f820: 0a20 2020 2020 2020 2069 6620 7365 6c66 . if self │ │ │ +0007f830: 2e5f 5f63 6c61 7373 5f5f 203d 3d20 466c .__class__ == Fl │ │ │ +0007f840: 5f58 424d 5f49 6d61 6765 3a0a 2020 2020 _XBM_Image:. │ │ │ +0007f850: 2020 2020 2020 2020 5f73 656c 6620 3d20 _self = │ │ │ +0007f860: 4e6f 6e65 0a20 2020 2020 2020 2065 6c73 None. els │ │ │ +0007f870: 653a 0a20 2020 2020 2020 2020 2020 205f e:. _ │ │ │ +0007f880: 7365 6c66 203d 2073 656c 660a 2020 2020 self = self. │ │ │ +0007f890: 2020 2020 5f66 6c74 6b2e 466c 5f58 424d _fltk.Fl_XBM │ │ │ +0007f8a0: 5f49 6d61 6765 5f73 7769 6769 6e69 7428 _Image_swiginit( │ │ │ +0007f8b0: 7365 6c66 2c20 5f66 6c74 6b2e 6e65 775f self, _fltk.new_ │ │ │ +0007f8c0: 466c 5f58 424d 5f49 6d61 6765 285f 7365 Fl_XBM_Image(_se │ │ │ +0007f8d0: 6c66 2c20 2a61 7267 7329 290a 2020 2020 lf, *args)). │ │ │ +0007f8e0: 5f5f 7377 6967 5f64 6573 7472 6f79 5f5f __swig_destroy__ │ │ │ +0007f8f0: 203d 205f 666c 746b 2e64 656c 6574 655f = _fltk.delete_ │ │ │ +0007f900: 466c 5f58 424d 5f49 6d61 6765 0a20 2020 Fl_XBM_Image. │ │ │ +0007f910: 2064 6566 205f 5f64 6973 6f77 6e5f 5f28 def __disown__( │ │ │ +0007f920: 7365 6c66 293a 0a20 2020 2020 2020 2073 self):. s │ │ │ +0007f930: 656c 662e 7468 6973 2e64 6973 6f77 6e28 elf.this.disown( │ │ │ +0007f940: 290a 2020 2020 2020 2020 5f66 6c74 6b2e ). _fltk. │ │ │ +0007f950: 6469 736f 776e 5f46 6c5f 5842 4d5f 496d disown_Fl_XBM_Im │ │ │ +0007f960: 6167 6528 7365 6c66 290a 2020 2020 2020 age(self). │ │ │ +0007f970: 2020 7265 7475 726e 2077 6561 6b72 6566 return weakref │ │ │ +0007f980: 2e70 726f 7879 2873 656c 6629 0a0a 2320 .proxy(self)..# │ │ │ +0007f990: 5265 6769 7374 6572 2046 6c5f 5842 4d5f Register Fl_XBM_ │ │ │ +0007f9a0: 496d 6167 6520 696e 205f 666c 746b 3a0a Image in _fltk:. │ │ │ +0007f9b0: 5f66 6c74 6b2e 466c 5f58 424d 5f49 6d61 _fltk.Fl_XBM_Ima │ │ │ +0007f9c0: 6765 5f73 7769 6772 6567 6973 7465 7228 ge_swigregister( │ │ │ +0007f9d0: 466c 5f58 424d 5f49 6d61 6765 290a 636c Fl_XBM_Image).cl │ │ │ +0007f9e0: 6173 7320 466c 5f58 504d 5f49 6d61 6765 ass Fl_XPM_Image │ │ │ +0007f9f0: 2846 6c5f 5069 786d 6170 293a 0a20 2020 (Fl_Pixmap):. │ │ │ +0007fa00: 2072 2222 220a 0a20 2020 2054 6865 2046 r""".. The F │ │ │ +0007fa10: 6c5f 5850 4d5f 496d 6167 6520 636c 6173 l_XPM_Image clas │ │ │ +0007fa20: 7320 7375 7070 6f72 7473 206c 6f61 6469 s supports loadi │ │ │ +0007fa30: 6e67 2c20 6361 6368 696e 672c 2061 6e64 ng, caching, and │ │ │ +0007fa40: 2064 7261 7769 6e67 206f 6620 5820 5069 drawing of X Pi │ │ │ +0007fa50: 786d 6170 2028 5850 4d29 2069 6d61 6765 xmap (XPM) image │ │ │ +0007fa60: 732c 2069 6e63 6c75 6469 6e67 2074 7261 s, including tra │ │ │ +0007fa70: 6e73 7061 7265 6e63 792e 0a0a 2020 2020 nsparency... │ │ │ +0007fa80: 2222 220a 0a20 2020 2074 6869 736f 776e """.. thisown │ │ │ +0007fa90: 203d 2070 726f 7065 7274 7928 6c61 6d62 = property(lamb │ │ │ +0007faa0: 6461 2078 3a20 782e 7468 6973 2e6f 776e da x: x.this.own │ │ │ +0007fab0: 2829 2c20 6c61 6d62 6461 2078 2c20 763a (), lambda x, v: │ │ │ +0007fac0: 2078 2e74 6869 732e 6f77 6e28 7629 2c20 x.this.own(v), │ │ │ +0007fad0: 646f 633d 2254 6865 206d 656d 6265 7273 doc="The members │ │ │ +0007fae0: 6869 7020 666c 6167 2229 0a20 2020 205f hip flag"). _ │ │ │ +0007faf0: 5f72 6570 725f 5f20 3d20 5f73 7769 675f _repr__ = _swig_ │ │ │ +0007fb00: 7265 7072 0a0a 2020 2020 6465 6620 5f5f repr.. def __ │ │ │ +0007fb10: 696e 6974 5f5f 2873 656c 662c 202a 6172 init__(self, *ar │ │ │ +0007fb20: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +0007fb30: 225f 5f69 6e69 745f 5f28 466c 5f58 504d "__init__(Fl_XPM │ │ │ +0007fb40: 5f49 6d61 6765 2073 656c 662c 2063 6861 _Image self, cha │ │ │ +0007fb50: 7220 636f 6e73 7420 2a20 6669 6c65 6e61 r const * filena │ │ │ +0007fb60: 6d65 2920 2d3e 2046 6c5f 5850 4d5f 496d me) -> Fl_XPM_Im │ │ │ +0007fb70: 6167 6522 2222 0a20 2020 2020 2020 2069 age""". i │ │ │ +0007fb80: 6620 7365 6c66 2e5f 5f63 6c61 7373 5f5f f self.__class__ │ │ │ +0007fb90: 203d 3d20 466c 5f58 504d 5f49 6d61 6765 == Fl_XPM_Image │ │ │ +0007fba0: 3a0a 2020 2020 2020 2020 2020 2020 5f73 :. _s │ │ │ +0007fbb0: 656c 6620 3d20 4e6f 6e65 0a20 2020 2020 elf = None. │ │ │ +0007fbc0: 2020 2065 6c73 653a 0a20 2020 2020 2020 else:. │ │ │ +0007fbd0: 2020 2020 205f 7365 6c66 203d 2073 656c _self = sel │ │ │ +0007fbe0: 660a 2020 2020 2020 2020 5f66 6c74 6b2e f. _fltk. │ │ │ +0007fbf0: 466c 5f58 504d 5f49 6d61 6765 5f73 7769 Fl_XPM_Image_swi │ │ │ +0007fc00: 6769 6e69 7428 7365 6c66 2c20 5f66 6c74 ginit(self, _flt │ │ │ +0007fc10: 6b2e 6e65 775f 466c 5f58 504d 5f49 6d61 k.new_Fl_XPM_Ima │ │ │ +0007fc20: 6765 285f 7365 6c66 2c20 2a61 7267 7329 ge(_self, *args) │ │ │ +0007fc30: 290a 2020 2020 5f5f 7377 6967 5f64 6573 ). __swig_des │ │ │ +0007fc40: 7472 6f79 5f5f 203d 205f 666c 746b 2e64 troy__ = _fltk.d │ │ │ +0007fc50: 656c 6574 655f 466c 5f58 504d 5f49 6d61 elete_Fl_XPM_Ima │ │ │ +0007fc60: 6765 0a20 2020 2064 6566 205f 5f64 6973 ge. def __dis │ │ │ +0007fc70: 6f77 6e5f 5f28 7365 6c66 293a 0a20 2020 own__(self):. │ │ │ +0007fc80: 2020 2020 2073 656c 662e 7468 6973 2e64 self.this.d │ │ │ +0007fc90: 6973 6f77 6e28 290a 2020 2020 2020 2020 isown(). │ │ │ +0007fca0: 5f66 6c74 6b2e 6469 736f 776e 5f46 6c5f _fltk.disown_Fl_ │ │ │ +0007fcb0: 5850 4d5f 496d 6167 6528 7365 6c66 290a XPM_Image(self). │ │ │ +0007fcc0: 2020 2020 2020 2020 7265 7475 726e 2077 return w │ │ │ +0007fcd0: 6561 6b72 6566 2e70 726f 7879 2873 656c eakref.proxy(sel │ │ │ +0007fce0: 6629 0a0a 2320 5265 6769 7374 6572 2046 f)..# Register F │ │ │ +0007fcf0: 6c5f 5850 4d5f 496d 6167 6520 696e 205f l_XPM_Image in _ │ │ │ +0007fd00: 666c 746b 3a0a 5f66 6c74 6b2e 466c 5f58 fltk:._fltk.Fl_X │ │ │ +0007fd10: 504d 5f49 6d61 6765 5f73 7769 6772 6567 PM_Image_swigreg │ │ │ +0007fd20: 6973 7465 7228 466c 5f58 504d 5f49 6d61 ister(Fl_XPM_Ima │ │ │ +0007fd30: 6765 290a 636c 6173 7320 466c 5f58 286f ge).class Fl_X(o │ │ │ +0007fd40: 626a 6563 7429 3a0a 2020 2020 7222 2222 bject):. r""" │ │ │ +0007fd50: 5072 6f78 7920 6f66 2043 2b2b 2046 6c5f Proxy of C++ Fl_ │ │ │ +0007fd60: 5820 636c 6173 732e 2222 220a 0a20 2020 X class.""".. │ │ │ +0007fd70: 2074 6869 736f 776e 203d 2070 726f 7065 thisown = prope │ │ │ +0007fd80: 7274 7928 6c61 6d62 6461 2078 3a20 782e rty(lambda x: x. │ │ │ +0007fd90: 7468 6973 2e6f 776e 2829 2c20 6c61 6d62 this.own(), lamb │ │ │ +0007fda0: 6461 2078 2c20 763a 2078 2e74 6869 732e da x, v: x.this. │ │ │ +0007fdb0: 6f77 6e28 7629 2c20 646f 633d 2254 6865 own(v), doc="The │ │ │ +0007fdc0: 206d 656d 6265 7273 6869 7020 666c 6167 membership flag │ │ │ +0007fdd0: 2229 0a20 2020 205f 5f72 6570 725f 5f20 "). __repr__ │ │ │ +0007fde0: 3d20 5f73 7769 675f 7265 7072 0a0a 2020 = _swig_repr.. │ │ │ +0007fdf0: 2020 4073 7461 7469 636d 6574 686f 640a @staticmethod. │ │ │ +0007fe00: 2020 2020 6465 6620 666c 7828 2a61 7267 def flx(*arg │ │ │ +0007fe10: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +0007fe20: 666c 7828 466c 5f57 696e 646f 7720 7729 flx(Fl_Window w) │ │ │ +0007fe30: 202d 3e20 466c 5f58 2222 220a 2020 2020 -> Fl_X""". │ │ │ +0007fe40: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +0007fe50: 2e46 6c5f 585f 666c 7828 2a61 7267 7329 .Fl_X_flx(*args) │ │ │ +0007fe60: 0a0a 2020 2020 6465 6620 5f5f 696e 6974 .. def __init │ │ │ +0007fe70: 5f5f 2873 656c 662c 202a 6172 6773 293a __(self, *args): │ │ │ +0007fe80: 0a20 2020 2020 2020 2072 2222 225f 5f69 . r"""__i │ │ │ +0007fe90: 6e69 745f 5f28 466c 5f58 2073 656c 6629 nit__(Fl_X self) │ │ │ +0007fea0: 202d 3e20 466c 5f58 2222 220a 2020 2020 -> Fl_X""". │ │ │ +0007feb0: 2020 2020 5f66 6c74 6b2e 466c 5f58 5f73 _fltk.Fl_X_s │ │ │ +0007fec0: 7769 6769 6e69 7428 7365 6c66 2c20 5f66 wiginit(self, _f │ │ │ +0007fed0: 6c74 6b2e 6e65 775f 466c 5f58 282a 6172 ltk.new_Fl_X(*ar │ │ │ +0007fee0: 6773 2929 0a20 2020 205f 5f73 7769 675f gs)). __swig_ │ │ │ +0007fef0: 6465 7374 726f 795f 5f20 3d20 5f66 6c74 destroy__ = _flt │ │ │ +0007ff00: 6b2e 6465 6c65 7465 5f46 6c5f 580a 0a23 k.delete_Fl_X..# │ │ │ +0007ff10: 2052 6567 6973 7465 7220 466c 5f58 2069 Register Fl_X i │ │ │ +0007ff20: 6e20 5f66 6c74 6b3a 0a5f 666c 746b 2e46 n _fltk:._fltk.F │ │ │ +0007ff30: 6c5f 585f 7377 6967 7265 6769 7374 6572 l_X_swigregister │ │ │ +0007ff40: 2846 6c5f 5829 0a0a 6465 6620 666c 5f78 (Fl_X)..def fl_x │ │ │ +0007ff50: 6964 282a 6172 6773 293a 0a20 2020 2072 id(*args):. r │ │ │ +0007ff60: 2222 2266 6c5f 7869 6428 466c 5f57 696e """fl_xid(Fl_Win │ │ │ +0007ff70: 646f 7720 7729 202d 3e20 5769 6e64 6f77 dow w) -> Window │ │ │ +0007ff80: 2222 220a 2020 2020 7265 7475 726e 205f """. return _ │ │ │ +0007ff90: 666c 746b 2e66 6c5f 7869 6428 2a61 7267 fltk.fl_xid(*arg │ │ │ +0007ffa0: 7329 0a0a 6465 6620 666c 5f66 696e 6428 s)..def fl_find( │ │ │ +0007ffb0: 2a61 7267 7329 3a0a 2020 2020 7222 2222 *args):. r""" │ │ │ +0007ffc0: 666c 5f66 696e 6428 5769 6e64 6f77 2078 fl_find(Window x │ │ │ +0007ffd0: 6964 2920 2d3e 2046 6c5f 5769 6e64 6f77 id) -> Fl_Window │ │ │ +0007ffe0: 2222 220a 2020 2020 7265 7475 726e 205f """. return _ │ │ │ +0007fff0: 666c 746b 2e66 6c5f 6669 6e64 282a 6172 fltk.fl_find(*ar │ │ │ +00080000: 6773 290a 0a64 6566 2066 6c5f 6f70 656e gs)..def fl_open │ │ │ +00080010: 5f64 6973 706c 6179 282a 6172 6773 293a _display(*args): │ │ │ +00080020: 0a20 2020 2072 2222 2266 6c5f 6f70 656e . r"""fl_open │ │ │ +00080030: 5f64 6973 706c 6179 2829 2222 220a 2020 _display()""". │ │ │ +00080040: 2020 7265 7475 726e 205f 666c 746b 2e66 return _fltk.f │ │ │ +00080050: 6c5f 6f70 656e 5f64 6973 706c 6179 282a l_open_display(* │ │ │ +00080060: 6172 6773 290a 0a64 6566 2066 6c5f 636c args)..def fl_cl │ │ │ +00080070: 6f73 655f 6469 7370 6c61 7928 2a61 7267 ose_display(*arg │ │ │ +00080080: 7329 3a0a 2020 2020 7222 2222 666c 5f63 s):. r"""fl_c │ │ │ +00080090: 6c6f 7365 5f64 6973 706c 6179 2829 2222 lose_display()"" │ │ │ +000800a0: 220a 2020 2020 7265 7475 726e 205f 666c ". return _fl │ │ │ +000800b0: 746b 2e66 6c5f 636c 6f73 655f 6469 7370 tk.fl_close_disp │ │ │ +000800c0: 6c61 7928 2a61 7267 7329 0a0a 6465 6620 lay(*args)..def │ │ │ +000800d0: 666c 5f70 6172 7365 5f63 6f6c 6f72 282a fl_parse_color(* │ │ │ +000800e0: 6172 6773 293a 0a20 2020 2072 2222 2266 args):. r"""f │ │ │ +000800f0: 6c5f 7061 7273 655f 636f 6c6f 7228 6368 l_parse_color(ch │ │ │ +00080100: 6172 2063 6f6e 7374 202a 2070 2c20 7563 ar const * p, uc │ │ │ +00080110: 6861 7220 2620 722c 2075 6368 6172 2026 har & r, uchar & │ │ │ +00080120: 2067 2c20 7563 6861 7220 2620 6229 202d g, uchar & b) - │ │ │ +00080130: 3e20 696e 7422 2222 0a20 2020 2072 6574 > int""". ret │ │ │ +00080140: 7572 6e20 5f66 6c74 6b2e 666c 5f70 6172 urn _fltk.fl_par │ │ │ +00080150: 7365 5f63 6f6c 6f72 282a 6172 6773 290a se_color(*args). │ │ │ +00080160: 0a64 6566 2066 6c5f 6f70 656e 5f63 616c .def fl_open_cal │ │ │ +00080170: 6c62 6163 6b28 2a61 7267 7329 3a0a 2020 lback(*args):. │ │ │ +00080180: 2020 7222 2222 666c 5f6f 7065 6e5f 6361 r"""fl_open_ca │ │ │ +00080190: 6c6c 6261 636b 2876 6f69 6420 282a 2928 llback(void (*)( │ │ │ +000801a0: 6368 6172 2063 6f6e 7374 202a 2920 6172 char const *) ar │ │ │ +000801b0: 6731 2922 2222 0a20 2020 2072 6574 7572 g1)""". retur │ │ │ +000801c0: 6e20 5f66 6c74 6b2e 666c 5f6f 7065 6e5f n _fltk.fl_open_ │ │ │ +000801d0: 6361 6c6c 6261 636b 282a 6172 6773 290a callback(*args). │ │ │ +000801e0: 464c 5f54 5245 455f 534f 5254 5f4e 4f4e FL_TREE_SORT_NON │ │ │ +000801f0: 4520 3d20 5f66 6c74 6b2e 464c 5f54 5245 E = _fltk.FL_TRE │ │ │ +00080200: 455f 534f 5254 5f4e 4f4e 450a 0a46 4c5f E_SORT_NONE..FL_ │ │ │ +00080210: 5452 4545 5f53 4f52 545f 4153 4345 4e44 TREE_SORT_ASCEND │ │ │ +00080220: 494e 4720 3d20 5f66 6c74 6b2e 464c 5f54 ING = _fltk.FL_T │ │ │ +00080230: 5245 455f 534f 5254 5f41 5343 454e 4449 REE_SORT_ASCENDI │ │ │ +00080240: 4e47 0a0a 464c 5f54 5245 455f 534f 5254 NG..FL_TREE_SORT │ │ │ +00080250: 5f44 4553 4345 4e44 494e 4720 3d20 5f66 _DESCENDING = _f │ │ │ +00080260: 6c74 6b2e 464c 5f54 5245 455f 534f 5254 ltk.FL_TREE_SORT │ │ │ +00080270: 5f44 4553 4345 4e44 494e 470a 0a46 4c5f _DESCENDING..FL_ │ │ │ +00080280: 5452 4545 5f43 4f4e 4e45 4354 4f52 5f4e TREE_CONNECTOR_N │ │ │ +00080290: 4f4e 4520 3d20 5f66 6c74 6b2e 464c 5f54 ONE = _fltk.FL_T │ │ │ +000802a0: 5245 455f 434f 4e4e 4543 544f 525f 4e4f REE_CONNECTOR_NO │ │ │ +000802b0: 4e45 0a0a 464c 5f54 5245 455f 434f 4e4e NE..FL_TREE_CONN │ │ │ +000802c0: 4543 544f 525f 444f 5454 4544 203d 205f ECTOR_DOTTED = _ │ │ │ +000802d0: 666c 746b 2e46 4c5f 5452 4545 5f43 4f4e fltk.FL_TREE_CON │ │ │ +000802e0: 4e45 4354 4f52 5f44 4f54 5445 440a 0a46 NECTOR_DOTTED..F │ │ │ +000802f0: 4c5f 5452 4545 5f43 4f4e 4e45 4354 4f52 L_TREE_CONNECTOR │ │ │ +00080300: 5f53 4f4c 4944 203d 205f 666c 746b 2e46 _SOLID = _fltk.F │ │ │ +00080310: 4c5f 5452 4545 5f43 4f4e 4e45 4354 4f52 L_TREE_CONNECTOR │ │ │ +00080320: 5f53 4f4c 4944 0a0a 464c 5f54 5245 455f _SOLID..FL_TREE_ │ │ │ +00080330: 5345 4c45 4354 5f4e 4f4e 4520 3d20 5f66 SELECT_NONE = _f │ │ │ +00080340: 6c74 6b2e 464c 5f54 5245 455f 5345 4c45 ltk.FL_TREE_SELE │ │ │ +00080350: 4354 5f4e 4f4e 450a 0a46 4c5f 5452 4545 CT_NONE..FL_TREE │ │ │ +00080360: 5f53 454c 4543 545f 5349 4e47 4c45 203d _SELECT_SINGLE = │ │ │ +00080370: 205f 666c 746b 2e46 4c5f 5452 4545 5f53 _fltk.FL_TREE_S │ │ │ +00080380: 454c 4543 545f 5349 4e47 4c45 0a0a 464c ELECT_SINGLE..FL │ │ │ +00080390: 5f54 5245 455f 5345 4c45 4354 5f4d 554c _TREE_SELECT_MUL │ │ │ +000803a0: 5449 203d 205f 666c 746b 2e46 4c5f 5452 TI = _fltk.FL_TR │ │ │ +000803b0: 4545 5f53 454c 4543 545f 4d55 4c54 490a EE_SELECT_MULTI. │ │ │ +000803c0: 0a46 4c5f 5452 4545 5f53 454c 4543 545f .FL_TREE_SELECT_ │ │ │ +000803d0: 5349 4e47 4c45 5f44 5241 4747 4142 4c45 SINGLE_DRAGGABLE │ │ │ +000803e0: 203d 205f 666c 746b 2e46 4c5f 5452 4545 = _fltk.FL_TREE │ │ │ +000803f0: 5f53 454c 4543 545f 5349 4e47 4c45 5f44 _SELECT_SINGLE_D │ │ │ +00080400: 5241 4747 4142 4c45 0a0a 464c 5f54 5245 RAGGABLE..FL_TRE │ │ │ +00080410: 455f 5345 4c45 4354 4142 4c45 5f4f 4e43 E_SELECTABLE_ONC │ │ │ +00080420: 4520 3d20 5f66 6c74 6b2e 464c 5f54 5245 E = _fltk.FL_TRE │ │ │ +00080430: 455f 5345 4c45 4354 4142 4c45 5f4f 4e43 E_SELECTABLE_ONC │ │ │ +00080440: 450a 0a46 4c5f 5452 4545 5f53 454c 4543 E..FL_TREE_SELEC │ │ │ +00080450: 5441 424c 455f 414c 5741 5953 203d 205f TABLE_ALWAYS = _ │ │ │ +00080460: 666c 746b 2e46 4c5f 5452 4545 5f53 454c fltk.FL_TREE_SEL │ │ │ +00080470: 4543 5441 424c 455f 414c 5741 5953 0a0a ECTABLE_ALWAYS.. │ │ │ +00080480: 464c 5f54 5245 455f 4954 454d 5f44 5241 FL_TREE_ITEM_DRA │ │ │ +00080490: 575f 4445 4641 554c 5420 3d20 5f66 6c74 W_DEFAULT = _flt │ │ │ +000804a0: 6b2e 464c 5f54 5245 455f 4954 454d 5f44 k.FL_TREE_ITEM_D │ │ │ +000804b0: 5241 575f 4445 4641 554c 540a 0a46 4c5f RAW_DEFAULT..FL_ │ │ │ +000804c0: 5452 4545 5f49 5445 4d5f 4452 4157 5f4c TREE_ITEM_DRAW_L │ │ │ +000804d0: 4142 454c 5f41 4e44 5f57 4944 4745 5420 ABEL_AND_WIDGET │ │ │ +000804e0: 3d20 5f66 6c74 6b2e 464c 5f54 5245 455f = _fltk.FL_TREE_ │ │ │ +000804f0: 4954 454d 5f44 5241 575f 4c41 4245 4c5f ITEM_DRAW_LABEL_ │ │ │ +00080500: 414e 445f 5749 4447 4554 0a0a 464c 5f54 AND_WIDGET..FL_T │ │ │ +00080510: 5245 455f 4954 454d 5f48 4549 4748 545f REE_ITEM_HEIGHT_ │ │ │ +00080520: 4652 4f4d 5f57 4944 4745 5420 3d20 5f66 FROM_WIDGET = _f │ │ │ +00080530: 6c74 6b2e 464c 5f54 5245 455f 4954 454d ltk.FL_TREE_ITEM │ │ │ +00080540: 5f48 4549 4748 545f 4652 4f4d 5f57 4944 _HEIGHT_FROM_WID │ │ │ +00080550: 4745 540a 0a63 6c61 7373 2046 6c5f 5472 GET..class Fl_Tr │ │ │ +00080560: 6565 5f50 7265 6673 286f 626a 6563 7429 ee_Prefs(object) │ │ │ +00080570: 3a0a 2020 2020 7222 2222 5072 6f78 7920 :. r"""Proxy │ │ │ +00080580: 6f66 2043 2b2b 2046 6c5f 5472 6565 5f50 of C++ Fl_Tree_P │ │ │ +00080590: 7265 6673 2063 6c61 7373 2e22 2222 0a0a refs class.""".. │ │ │ +000805a0: 2020 2020 7468 6973 6f77 6e20 3d20 7072 thisown = pr │ │ │ +000805b0: 6f70 6572 7479 286c 616d 6264 6120 783a operty(lambda x: │ │ │ +000805c0: 2078 2e74 6869 732e 6f77 6e28 292c 206c x.this.own(), l │ │ │ +000805d0: 616d 6264 6120 782c 2076 3a20 782e 7468 ambda x, v: x.th │ │ │ +000805e0: 6973 2e6f 776e 2876 292c 2064 6f63 3d22 is.own(v), doc=" │ │ │ +000805f0: 5468 6520 6d65 6d62 6572 7368 6970 2066 The membership f │ │ │ +00080600: 6c61 6722 290a 2020 2020 5f5f 7265 7072 lag"). __repr │ │ │ +00080610: 5f5f 203d 205f 7377 6967 5f72 6570 720a __ = _swig_repr. │ │ │ +00080620: 0a20 2020 2064 6566 205f 5f69 6e69 745f . def __init_ │ │ │ +00080630: 5f28 7365 6c66 2c20 2a61 7267 7329 3a0a _(self, *args):. │ │ │ +00080640: 2020 2020 2020 2020 7222 2222 5f5f 696e r"""__in │ │ │ +00080650: 6974 5f5f 2846 6c5f 5472 6565 5f50 7265 it__(Fl_Tree_Pre │ │ │ +00080660: 6673 2073 656c 6629 202d 3e20 466c 5f54 fs self) -> Fl_T │ │ │ +00080670: 7265 655f 5072 6566 7322 2222 0a20 2020 ree_Prefs""". │ │ │ +00080680: 2020 2020 205f 666c 746b 2e46 6c5f 5472 _fltk.Fl_Tr │ │ │ +00080690: 6565 5f50 7265 6673 5f73 7769 6769 6e69 ee_Prefs_swigini │ │ │ +000806a0: 7428 7365 6c66 2c20 5f66 6c74 6b2e 6e65 t(self, _fltk.ne │ │ │ +000806b0: 775f 466c 5f54 7265 655f 5072 6566 7328 w_Fl_Tree_Prefs( │ │ │ +000806c0: 2a61 7267 7329 290a 2020 2020 5f5f 7377 *args)). __sw │ │ │ +000806d0: 6967 5f64 6573 7472 6f79 5f5f 203d 205f ig_destroy__ = _ │ │ │ +000806e0: 666c 746b 2e64 656c 6574 655f 466c 5f54 fltk.delete_Fl_T │ │ │ +000806f0: 7265 655f 5072 6566 730a 0a20 2020 2064 ree_Prefs.. d │ │ │ +00080700: 6566 2069 7465 6d5f 6c61 6265 6c66 6f6e ef item_labelfon │ │ │ +00080710: 7428 7365 6c66 2c20 2a61 7267 7329 3a0a t(self, *args):. │ │ │ +00080720: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ +00080730: 2020 2020 2069 7465 6d5f 6c61 6265 6c66 item_labelf │ │ │ +00080740: 6f6e 7428 466c 5f54 7265 655f 5072 6566 ont(Fl_Tree_Pref │ │ │ +00080750: 7320 7365 6c66 2920 2d3e 2046 6c5f 466f s self) -> Fl_Fo │ │ │ +00080760: 6e74 0a20 2020 2020 2020 2069 7465 6d5f nt. item_ │ │ │ +00080770: 6c61 6265 6c66 6f6e 7428 466c 5f54 7265 labelfont(Fl_Tre │ │ │ +00080780: 655f 5072 6566 7320 7365 6c66 2c20 466c e_Prefs self, Fl │ │ │ +00080790: 5f46 6f6e 7420 7661 6c29 0a20 2020 2020 _Font val). │ │ │ +000807a0: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ +000807b0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +000807c0: 7265 655f 5072 6566 735f 6974 656d 5f6c ree_Prefs_item_l │ │ │ +000807d0: 6162 656c 666f 6e74 2873 656c 662c 202a abelfont(self, * │ │ │ +000807e0: 6172 6773 290a 0a20 2020 2064 6566 2069 args).. def i │ │ │ +000807f0: 7465 6d5f 6c61 6265 6c73 697a 6528 7365 tem_labelsize(se │ │ │ +00080800: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +00080810: 2020 2020 7222 2222 0a20 2020 2020 2020 r""". │ │ │ +00080820: 2069 7465 6d5f 6c61 6265 6c73 697a 6528 item_labelsize( │ │ │ +00080830: 466c 5f54 7265 655f 5072 6566 7320 7365 Fl_Tree_Prefs se │ │ │ +00080840: 6c66 2920 2d3e 2046 6c5f 466f 6e74 7369 lf) -> Fl_Fontsi │ │ │ +00080850: 7a65 0a20 2020 2020 2020 2069 7465 6d5f ze. item_ │ │ │ +00080860: 6c61 6265 6c73 697a 6528 466c 5f54 7265 labelsize(Fl_Tre │ │ │ +00080870: 655f 5072 6566 7320 7365 6c66 2c20 466c e_Prefs self, Fl │ │ │ +00080880: 5f46 6f6e 7473 697a 6520 7661 6c29 0a20 _Fontsize val). │ │ │ +00080890: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ +000808a0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +000808b0: 466c 5f54 7265 655f 5072 6566 735f 6974 Fl_Tree_Prefs_it │ │ │ +000808c0: 656d 5f6c 6162 656c 7369 7a65 2873 656c em_labelsize(sel │ │ │ +000808d0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +000808e0: 6566 2069 7465 6d5f 6c61 6265 6c66 6763 ef item_labelfgc │ │ │ +000808f0: 6f6c 6f72 2873 656c 662c 202a 6172 6773 olor(self, *args │ │ │ +00080900: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ +00080910: 2020 2020 2020 2020 6974 656d 5f6c 6162 item_lab │ │ │ +00080920: 656c 6667 636f 6c6f 7228 466c 5f54 7265 elfgcolor(Fl_Tre │ │ │ +00080930: 655f 5072 6566 7320 7365 6c66 2920 2d3e e_Prefs self) -> │ │ │ +00080940: 2046 6c5f 436f 6c6f 720a 2020 2020 2020 Fl_Color. │ │ │ +00080950: 2020 6974 656d 5f6c 6162 656c 6667 636f item_labelfgco │ │ │ +00080960: 6c6f 7228 466c 5f54 7265 655f 5072 6566 lor(Fl_Tree_Pref │ │ │ +00080970: 7320 7365 6c66 2c20 466c 5f43 6f6c 6f72 s self, Fl_Color │ │ │ +00080980: 2076 616c 290a 2020 2020 2020 2020 2222 val). "" │ │ │ +00080990: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +000809a0: 205f 666c 746b 2e46 6c5f 5472 6565 5f50 _fltk.Fl_Tree_P │ │ │ +000809b0: 7265 6673 5f69 7465 6d5f 6c61 6265 6c66 refs_item_labelf │ │ │ +000809c0: 6763 6f6c 6f72 2873 656c 662c 202a 6172 gcolor(self, *ar │ │ │ +000809d0: 6773 290a 0a20 2020 2064 6566 2069 7465 gs).. def ite │ │ │ +000809e0: 6d5f 6c61 6265 6c62 6763 6f6c 6f72 2873 m_labelbgcolor(s │ │ │ +000809f0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00080a00: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ +00080a10: 2020 6974 656d 5f6c 6162 656c 6267 636f item_labelbgco │ │ │ +00080a20: 6c6f 7228 466c 5f54 7265 655f 5072 6566 lor(Fl_Tree_Pref │ │ │ +00080a30: 7320 7365 6c66 2920 2d3e 2046 6c5f 436f s self) -> Fl_Co │ │ │ +00080a40: 6c6f 720a 2020 2020 2020 2020 6974 656d lor. item │ │ │ +00080a50: 5f6c 6162 656c 6267 636f 6c6f 7228 466c _labelbgcolor(Fl │ │ │ +00080a60: 5f54 7265 655f 5072 6566 7320 7365 6c66 _Tree_Prefs self │ │ │ +00080a70: 2c20 466c 5f43 6f6c 6f72 2076 616c 290a , Fl_Color val). │ │ │ +00080a80: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ +00080a90: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +00080aa0: 2e46 6c5f 5472 6565 5f50 7265 6673 5f69 .Fl_Tree_Prefs_i │ │ │ +00080ab0: 7465 6d5f 6c61 6265 6c62 6763 6f6c 6f72 tem_labelbgcolor │ │ │ +00080ac0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +00080ad0: 2020 2064 6566 206c 6162 656c 666f 6e74 def labelfont │ │ │ +00080ae0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00080af0: 2020 2020 2020 2072 2222 220a 2020 2020 r""". │ │ │ +00080b00: 2020 2020 6c61 6265 6c66 6f6e 7428 466c labelfont(Fl │ │ │ +00080b10: 5f54 7265 655f 5072 6566 7320 7365 6c66 _Tree_Prefs self │ │ │ +00080b20: 2920 2d3e 2046 6c5f 466f 6e74 0a20 2020 ) -> Fl_Font. │ │ │ +00080b30: 2020 2020 206c 6162 656c 666f 6e74 2846 labelfont(F │ │ │ +00080b40: 6c5f 5472 6565 5f50 7265 6673 2073 656c l_Tree_Prefs sel │ │ │ +00080b50: 662c 2046 6c5f 466f 6e74 2076 616c 290a f, Fl_Font val). │ │ │ +00080b60: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ +00080b70: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +00080b80: 2e46 6c5f 5472 6565 5f50 7265 6673 5f6c .Fl_Tree_Prefs_l │ │ │ +00080b90: 6162 656c 666f 6e74 2873 656c 662c 202a abelfont(self, * │ │ │ +00080ba0: 6172 6773 290a 0a20 2020 2064 6566 206c args).. def l │ │ │ +00080bb0: 6162 656c 7369 7a65 2873 656c 662c 202a abelsize(self, * │ │ │ +00080bc0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +00080bd0: 2222 220a 2020 2020 2020 2020 6c61 6265 """. labe │ │ │ +00080be0: 6c73 697a 6528 466c 5f54 7265 655f 5072 lsize(Fl_Tree_Pr │ │ │ +00080bf0: 6566 7320 7365 6c66 2920 2d3e 2046 6c5f efs self) -> Fl_ │ │ │ +00080c00: 466f 6e74 7369 7a65 0a20 2020 2020 2020 Fontsize. │ │ │ +00080c10: 206c 6162 656c 7369 7a65 2846 6c5f 5472 labelsize(Fl_Tr │ │ │ +00080c20: 6565 5f50 7265 6673 2073 656c 662c 2046 ee_Prefs self, F │ │ │ +00080c30: 6c5f 466f 6e74 7369 7a65 2076 616c 290a l_Fontsize val). │ │ │ +00080c40: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ +00080c50: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +00080c60: 2e46 6c5f 5472 6565 5f50 7265 6673 5f6c .Fl_Tree_Prefs_l │ │ │ +00080c70: 6162 656c 7369 7a65 2873 656c 662c 202a abelsize(self, * │ │ │ +00080c80: 6172 6773 290a 0a20 2020 2064 6566 206c args).. def l │ │ │ +00080c90: 6162 656c 6667 636f 6c6f 7228 7365 6c66 abelfgcolor(self │ │ │ +00080ca0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00080cb0: 2020 7222 2222 0a20 2020 2020 2020 206c r""". l │ │ │ +00080cc0: 6162 656c 6667 636f 6c6f 7228 466c 5f54 abelfgcolor(Fl_T │ │ │ +00080cd0: 7265 655f 5072 6566 7320 7365 6c66 2920 ree_Prefs self) │ │ │ +00080ce0: 2d3e 2046 6c5f 436f 6c6f 720a 2020 2020 -> Fl_Color. │ │ │ +00080cf0: 2020 2020 6c61 6265 6c66 6763 6f6c 6f72 labelfgcolor │ │ │ +00080d00: 2846 6c5f 5472 6565 5f50 7265 6673 2073 (Fl_Tree_Prefs s │ │ │ +00080d10: 656c 662c 2046 6c5f 436f 6c6f 7220 7661 elf, Fl_Color va │ │ │ +00080d20: 6c29 0a20 2020 2020 2020 2022 2222 0a20 l). """. │ │ │ +00080d30: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00080d40: 6c74 6b2e 466c 5f54 7265 655f 5072 6566 ltk.Fl_Tree_Pref │ │ │ +00080d50: 735f 6c61 6265 6c66 6763 6f6c 6f72 2873 s_labelfgcolor(s │ │ │ +00080d60: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +00080d70: 2064 6566 206c 6162 656c 6267 636f 6c6f def labelbgcolo │ │ │ +00080d80: 7228 7365 6c66 2c20 2a61 7267 7329 3a0a r(self, *args):. │ │ │ +00080d90: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ +00080da0: 2020 2020 206c 6162 656c 6267 636f 6c6f labelbgcolo │ │ │ +00080db0: 7228 466c 5f54 7265 655f 5072 6566 7320 r(Fl_Tree_Prefs │ │ │ +00080dc0: 7365 6c66 2920 2d3e 2046 6c5f 436f 6c6f self) -> Fl_Colo │ │ │ +00080dd0: 720a 2020 2020 2020 2020 6c61 6265 6c62 r. labelb │ │ │ +00080de0: 6763 6f6c 6f72 2846 6c5f 5472 6565 5f50 gcolor(Fl_Tree_P │ │ │ +00080df0: 7265 6673 2073 656c 662c 2046 6c5f 436f refs self, Fl_Co │ │ │ +00080e00: 6c6f 7220 7661 6c29 0a20 2020 2020 2020 lor val). │ │ │ +00080e10: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ +00080e20: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ +00080e30: 655f 5072 6566 735f 6c61 6265 6c62 6763 e_Prefs_labelbgc │ │ │ +00080e40: 6f6c 6f72 2873 656c 662c 202a 6172 6773 olor(self, *args │ │ │ +00080e50: 290a 0a20 2020 2064 6566 206d 6172 6769 ).. def margi │ │ │ +00080e60: 6e6c 6566 7428 7365 6c66 2c20 2a61 7267 nleft(self, *arg │ │ │ +00080e70: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +00080e80: 0a20 2020 2020 2020 206d 6172 6769 6e6c . marginl │ │ │ +00080e90: 6566 7428 466c 5f54 7265 655f 5072 6566 eft(Fl_Tree_Pref │ │ │ +00080ea0: 7320 7365 6c66 2920 2d3e 2069 6e74 0a20 s self) -> int. │ │ │ +00080eb0: 2020 2020 2020 206d 6172 6769 6e6c 6566 marginlef │ │ │ +00080ec0: 7428 466c 5f54 7265 655f 5072 6566 7320 t(Fl_Tree_Prefs │ │ │ +00080ed0: 7365 6c66 2c20 696e 7420 7661 6c29 0a20 self, int val). │ │ │ +00080ee0: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ +00080ef0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00080f00: 466c 5f54 7265 655f 5072 6566 735f 6d61 Fl_Tree_Prefs_ma │ │ │ +00080f10: 7267 696e 6c65 6674 2873 656c 662c 202a rginleft(self, * │ │ │ +00080f20: 6172 6773 290a 0a20 2020 2064 6566 206d args).. def m │ │ │ +00080f30: 6172 6769 6e74 6f70 2873 656c 662c 202a argintop(self, * │ │ │ +00080f40: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +00080f50: 2222 220a 2020 2020 2020 2020 6d61 7267 """. marg │ │ │ 00080f60: 696e 746f 7028 466c 5f54 7265 655f 5072 intop(Fl_Tree_Pr │ │ │ -00080f70: 6566 7320 7365 6c66 2c20 696e 7420 7661 efs self, int va │ │ │ -00080f80: 6c29 0a20 2020 2020 2020 2022 2222 0a20 l). """. │ │ │ -00080f90: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -00080fa0: 6c74 6b2e 466c 5f54 7265 655f 5072 6566 ltk.Fl_Tree_Pref │ │ │ -00080fb0: 735f 6d61 7267 696e 746f 7028 7365 6c66 s_margintop(self │ │ │ -00080fc0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -00080fd0: 6620 6d61 7267 696e 626f 7474 6f6d 2873 f marginbottom(s │ │ │ -00080fe0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00080ff0: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ -00081000: 2020 6d61 7267 696e 626f 7474 6f6d 2846 marginbottom(F │ │ │ -00081010: 6c5f 5472 6565 5f50 7265 6673 2073 656c l_Tree_Prefs sel │ │ │ -00081020: 6629 202d 3e20 696e 740a 2020 2020 2020 f) -> int. │ │ │ -00081030: 2020 6d61 7267 696e 626f 7474 6f6d 2846 marginbottom(F │ │ │ -00081040: 6c5f 5472 6565 5f50 7265 6673 2073 656c l_Tree_Prefs sel │ │ │ -00081050: 662c 2069 6e74 2076 616c 290a 2020 2020 f, int val). │ │ │ -00081060: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ -00081070: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00081080: 5472 6565 5f50 7265 6673 5f6d 6172 6769 Tree_Prefs_margi │ │ │ -00081090: 6e62 6f74 746f 6d28 7365 6c66 2c20 2a61 nbottom(self, *a │ │ │ -000810a0: 7267 7329 0a0a 2020 2020 6465 6620 6f70 rgs).. def op │ │ │ -000810b0: 656e 6368 696c 645f 6d61 7267 696e 626f enchild_marginbo │ │ │ +00080f70: 6566 7320 7365 6c66 2920 2d3e 2069 6e74 efs self) -> int │ │ │ +00080f80: 0a20 2020 2020 2020 206d 6172 6769 6e74 . margint │ │ │ +00080f90: 6f70 2846 6c5f 5472 6565 5f50 7265 6673 op(Fl_Tree_Prefs │ │ │ +00080fa0: 2073 656c 662c 2069 6e74 2076 616c 290a self, int val). │ │ │ +00080fb0: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ +00080fc0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +00080fd0: 2e46 6c5f 5472 6565 5f50 7265 6673 5f6d .Fl_Tree_Prefs_m │ │ │ +00080fe0: 6172 6769 6e74 6f70 2873 656c 662c 202a argintop(self, * │ │ │ +00080ff0: 6172 6773 290a 0a20 2020 2064 6566 206d args).. def m │ │ │ +00081000: 6172 6769 6e62 6f74 746f 6d28 7365 6c66 arginbottom(self │ │ │ +00081010: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00081020: 2020 7222 2222 0a20 2020 2020 2020 206d r""". m │ │ │ +00081030: 6172 6769 6e62 6f74 746f 6d28 466c 5f54 arginbottom(Fl_T │ │ │ +00081040: 7265 655f 5072 6566 7320 7365 6c66 2920 ree_Prefs self) │ │ │ +00081050: 2d3e 2069 6e74 0a20 2020 2020 2020 206d -> int. m │ │ │ +00081060: 6172 6769 6e62 6f74 746f 6d28 466c 5f54 arginbottom(Fl_T │ │ │ +00081070: 7265 655f 5072 6566 7320 7365 6c66 2c20 ree_Prefs self, │ │ │ +00081080: 696e 7420 7661 6c29 0a20 2020 2020 2020 int val). │ │ │ +00081090: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ +000810a0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ +000810b0: 655f 5072 6566 735f 6d61 7267 696e 626f e_Prefs_marginbo │ │ │ 000810c0: 7474 6f6d 2873 656c 662c 202a 6172 6773 ttom(self, *args │ │ │ -000810d0: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ -000810e0: 2020 2020 2020 2020 6f70 656e 6368 696c openchil │ │ │ -000810f0: 645f 6d61 7267 696e 626f 7474 6f6d 2846 d_marginbottom(F │ │ │ -00081100: 6c5f 5472 6565 5f50 7265 6673 2073 656c l_Tree_Prefs sel │ │ │ -00081110: 6629 202d 3e20 696e 740a 2020 2020 2020 f) -> int. │ │ │ -00081120: 2020 6f70 656e 6368 696c 645f 6d61 7267 openchild_marg │ │ │ -00081130: 696e 626f 7474 6f6d 2846 6c5f 5472 6565 inbottom(Fl_Tree │ │ │ -00081140: 5f50 7265 6673 2073 656c 662c 2069 6e74 _Prefs self, int │ │ │ -00081150: 2076 616c 290a 2020 2020 2020 2020 2222 val). "" │ │ │ -00081160: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00081170: 205f 666c 746b 2e46 6c5f 5472 6565 5f50 _fltk.Fl_Tree_P │ │ │ -00081180: 7265 6673 5f6f 7065 6e63 6869 6c64 5f6d refs_openchild_m │ │ │ -00081190: 6172 6769 6e62 6f74 746f 6d28 7365 6c66 arginbottom(self │ │ │ -000811a0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -000811b0: 6620 7573 6572 6963 6f6e 6d61 7267 696e f usericonmargin │ │ │ -000811c0: 6c65 6674 2873 656c 662c 202a 6172 6773 left(self, *args │ │ │ -000811d0: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ -000811e0: 2020 2020 2020 2020 7573 6572 6963 6f6e usericon │ │ │ -000811f0: 6d61 7267 696e 6c65 6674 2846 6c5f 5472 marginleft(Fl_Tr │ │ │ -00081200: 6565 5f50 7265 6673 2073 656c 6629 202d ee_Prefs self) - │ │ │ -00081210: 3e20 696e 740a 2020 2020 2020 2020 7573 > int. us │ │ │ -00081220: 6572 6963 6f6e 6d61 7267 696e 6c65 6674 ericonmarginleft │ │ │ -00081230: 2846 6c5f 5472 6565 5f50 7265 6673 2073 (Fl_Tree_Prefs s │ │ │ -00081240: 656c 662c 2069 6e74 2076 616c 290a 2020 elf, int val). │ │ │ -00081250: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ -00081260: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -00081270: 6c5f 5472 6565 5f50 7265 6673 5f75 7365 l_Tree_Prefs_use │ │ │ -00081280: 7269 636f 6e6d 6172 6769 6e6c 6566 7428 riconmarginleft( │ │ │ -00081290: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -000812a0: 2020 6465 6620 6c61 6265 6c6d 6172 6769 def labelmargi │ │ │ -000812b0: 6e6c 6566 7428 7365 6c66 2c20 2a61 7267 nleft(self, *arg │ │ │ -000812c0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -000812d0: 0a20 2020 2020 2020 206c 6162 656c 6d61 . labelma │ │ │ -000812e0: 7267 696e 6c65 6674 2846 6c5f 5472 6565 rginleft(Fl_Tree │ │ │ -000812f0: 5f50 7265 6673 2073 656c 6629 202d 3e20 _Prefs self) -> │ │ │ -00081300: 696e 740a 2020 2020 2020 2020 6c61 6265 int. labe │ │ │ -00081310: 6c6d 6172 6769 6e6c 6566 7428 466c 5f54 lmarginleft(Fl_T │ │ │ -00081320: 7265 655f 5072 6566 7320 7365 6c66 2c20 ree_Prefs self, │ │ │ -00081330: 696e 7420 7661 6c29 0a20 2020 2020 2020 int val). │ │ │ -00081340: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ -00081350: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ -00081360: 655f 5072 6566 735f 6c61 6265 6c6d 6172 e_Prefs_labelmar │ │ │ -00081370: 6769 6e6c 6566 7428 7365 6c66 2c20 2a61 ginleft(self, *a │ │ │ -00081380: 7267 7329 0a0a 2020 2020 6465 6620 7769 rgs).. def wi │ │ │ -00081390: 6467 6574 6d61 7267 696e 6c65 6674 2873 dgetmarginleft(s │ │ │ -000813a0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -000813b0: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ -000813c0: 2020 7769 6467 6574 6d61 7267 696e 6c65 widgetmarginle │ │ │ -000813d0: 6674 2846 6c5f 5472 6565 5f50 7265 6673 ft(Fl_Tree_Prefs │ │ │ -000813e0: 2073 656c 6629 202d 3e20 696e 740a 2020 self) -> int. │ │ │ -000813f0: 2020 2020 2020 7769 6467 6574 6d61 7267 widgetmarg │ │ │ -00081400: 696e 6c65 6674 2846 6c5f 5472 6565 5f50 inleft(Fl_Tree_P │ │ │ -00081410: 7265 6673 2073 656c 662c 2069 6e74 2076 refs self, int v │ │ │ -00081420: 616c 290a 2020 2020 2020 2020 2222 220a al). """. │ │ │ -00081430: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00081440: 666c 746b 2e46 6c5f 5472 6565 5f50 7265 fltk.Fl_Tree_Pre │ │ │ -00081450: 6673 5f77 6964 6765 746d 6172 6769 6e6c fs_widgetmarginl │ │ │ -00081460: 6566 7428 7365 6c66 2c20 2a61 7267 7329 eft(self, *args) │ │ │ -00081470: 0a0a 2020 2020 6465 6620 6c69 6e65 7370 .. def linesp │ │ │ -00081480: 6163 696e 6728 7365 6c66 2c20 2a61 7267 acing(self, *arg │ │ │ -00081490: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -000814a0: 0a20 2020 2020 2020 206c 696e 6573 7061 . linespa │ │ │ -000814b0: 6369 6e67 2846 6c5f 5472 6565 5f50 7265 cing(Fl_Tree_Pre │ │ │ -000814c0: 6673 2073 656c 6629 202d 3e20 696e 740a fs self) -> int. │ │ │ -000814d0: 2020 2020 2020 2020 6c69 6e65 7370 6163 linespac │ │ │ -000814e0: 696e 6728 466c 5f54 7265 655f 5072 6566 ing(Fl_Tree_Pref │ │ │ -000814f0: 7320 7365 6c66 2c20 696e 7420 7661 6c29 s self, int val) │ │ │ -00081500: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ -00081510: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -00081520: 6b2e 466c 5f54 7265 655f 5072 6566 735f k.Fl_Tree_Prefs_ │ │ │ -00081530: 6c69 6e65 7370 6163 696e 6728 7365 6c66 linespacing(self │ │ │ -00081540: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -00081550: 6620 636f 6e6e 6563 746f 7263 6f6c 6f72 f connectorcolor │ │ │ -00081560: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -00081570: 2020 2020 2020 2072 2222 220a 2020 2020 r""". │ │ │ -00081580: 2020 2020 636f 6e6e 6563 746f 7263 6f6c connectorcol │ │ │ -00081590: 6f72 2846 6c5f 5472 6565 5f50 7265 6673 or(Fl_Tree_Prefs │ │ │ -000815a0: 2073 656c 6629 202d 3e20 466c 5f43 6f6c self) -> Fl_Col │ │ │ -000815b0: 6f72 0a20 2020 2020 2020 2063 6f6e 6e65 or. conne │ │ │ -000815c0: 6374 6f72 636f 6c6f 7228 466c 5f54 7265 ctorcolor(Fl_Tre │ │ │ -000815d0: 655f 5072 6566 7320 7365 6c66 2c20 466c e_Prefs self, Fl │ │ │ -000815e0: 5f43 6f6c 6f72 2076 616c 290a 2020 2020 _Color val). │ │ │ -000815f0: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ -00081600: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00081610: 5472 6565 5f50 7265 6673 5f63 6f6e 6e65 Tree_Prefs_conne │ │ │ -00081620: 6374 6f72 636f 6c6f 7228 7365 6c66 2c20 ctorcolor(self, │ │ │ -00081630: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -00081640: 636f 6e6e 6563 746f 7273 7479 6c65 2873 connectorstyle(s │ │ │ -00081650: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00081660: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ -00081670: 2020 636f 6e6e 6563 746f 7273 7479 6c65 connectorstyle │ │ │ -00081680: 2846 6c5f 5472 6565 5f50 7265 6673 2073 (Fl_Tree_Prefs s │ │ │ -00081690: 656c 6629 202d 3e20 466c 5f54 7265 655f elf) -> Fl_Tree_ │ │ │ -000816a0: 436f 6e6e 6563 746f 720a 2020 2020 2020 Connector. │ │ │ -000816b0: 2020 636f 6e6e 6563 746f 7273 7479 6c65 connectorstyle │ │ │ -000816c0: 2846 6c5f 5472 6565 5f50 7265 6673 2073 (Fl_Tree_Prefs s │ │ │ -000816d0: 656c 662c 2046 6c5f 5472 6565 5f43 6f6e elf, Fl_Tree_Con │ │ │ -000816e0: 6e65 6374 6f72 2076 616c 290a 2020 2020 nector val). │ │ │ -000816f0: 2020 2020 636f 6e6e 6563 746f 7273 7479 connectorsty │ │ │ -00081700: 6c65 2846 6c5f 5472 6565 5f50 7265 6673 le(Fl_Tree_Prefs │ │ │ -00081710: 2073 656c 662c 2069 6e74 2076 616c 290a self, int val). │ │ │ -00081720: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ -00081730: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00081740: 2e46 6c5f 5472 6565 5f50 7265 6673 5f63 .Fl_Tree_Prefs_c │ │ │ -00081750: 6f6e 6e65 6374 6f72 7374 796c 6528 7365 onnectorstyle(se │ │ │ -00081760: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -00081770: 6465 6620 636f 6e6e 6563 746f 7277 6964 def connectorwid │ │ │ -00081780: 7468 2873 656c 662c 202a 6172 6773 293a th(self, *args): │ │ │ -00081790: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ -000817a0: 2020 2020 2020 636f 6e6e 6563 746f 7277 connectorw │ │ │ -000817b0: 6964 7468 2846 6c5f 5472 6565 5f50 7265 idth(Fl_Tree_Pre │ │ │ -000817c0: 6673 2073 656c 6629 202d 3e20 696e 740a fs self) -> int. │ │ │ -000817d0: 2020 2020 2020 2020 636f 6e6e 6563 746f connecto │ │ │ -000817e0: 7277 6964 7468 2846 6c5f 5472 6565 5f50 rwidth(Fl_Tree_P │ │ │ -000817f0: 7265 6673 2073 656c 662c 2069 6e74 2076 refs self, int v │ │ │ -00081800: 616c 290a 2020 2020 2020 2020 2222 220a al). """. │ │ │ -00081810: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00081820: 666c 746b 2e46 6c5f 5472 6565 5f50 7265 fltk.Fl_Tree_Pre │ │ │ -00081830: 6673 5f63 6f6e 6e65 6374 6f72 7769 6474 fs_connectorwidt │ │ │ -00081840: 6828 7365 6c66 2c20 2a61 7267 7329 0a0a h(self, *args).. │ │ │ -00081850: 2020 2020 6465 6620 6f70 656e 6963 6f6e def openicon │ │ │ -00081860: 5f77 2873 656c 662c 202a 6172 6773 293a _w(self, *args): │ │ │ -00081870: 0a20 2020 2020 2020 2072 2222 226f 7065 . r"""ope │ │ │ -00081880: 6e69 636f 6e5f 7728 466c 5f54 7265 655f nicon_w(Fl_Tree_ │ │ │ -00081890: 5072 6566 7320 7365 6c66 2920 2d3e 2069 Prefs self) -> i │ │ │ -000818a0: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ -000818b0: 7475 726e 205f 666c 746b 2e46 6c5f 5472 turn _fltk.Fl_Tr │ │ │ -000818c0: 6565 5f50 7265 6673 5f6f 7065 6e69 636f ee_Prefs_openico │ │ │ -000818d0: 6e5f 7728 7365 6c66 2c20 2a61 7267 7329 n_w(self, *args) │ │ │ -000818e0: 0a0a 2020 2020 6465 6620 6f70 656e 6963 .. def openic │ │ │ -000818f0: 6f6e 5f68 2873 656c 662c 202a 6172 6773 on_h(self, *args │ │ │ -00081900: 293a 0a20 2020 2020 2020 2072 2222 226f ):. r"""o │ │ │ -00081910: 7065 6e69 636f 6e5f 6828 466c 5f54 7265 penicon_h(Fl_Tre │ │ │ -00081920: 655f 5072 6566 7320 7365 6c66 2920 2d3e e_Prefs self) -> │ │ │ -00081930: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ -00081940: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00081950: 5472 6565 5f50 7265 6673 5f6f 7065 6e69 Tree_Prefs_openi │ │ │ -00081960: 636f 6e5f 6828 7365 6c66 2c20 2a61 7267 con_h(self, *arg │ │ │ -00081970: 7329 0a0a 2020 2020 6465 6620 6f70 656e s).. def open │ │ │ -00081980: 6963 6f6e 2873 656c 662c 202a 6172 6773 icon(self, *args │ │ │ -00081990: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ -000819a0: 2020 2020 2020 2020 6f70 656e 6963 6f6e openicon │ │ │ -000819b0: 2846 6c5f 5472 6565 5f50 7265 6673 2073 (Fl_Tree_Prefs s │ │ │ -000819c0: 656c 6629 202d 3e20 466c 5f49 6d61 6765 elf) -> Fl_Image │ │ │ -000819d0: 0a20 2020 2020 2020 206f 7065 6e69 636f . openico │ │ │ -000819e0: 6e28 466c 5f54 7265 655f 5072 6566 7320 n(Fl_Tree_Prefs │ │ │ -000819f0: 7365 6c66 2c20 466c 5f49 6d61 6765 2076 self, Fl_Image v │ │ │ -00081a00: 616c 290a 2020 2020 2020 2020 2222 220a al). """. │ │ │ -00081a10: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00081a20: 666c 746b 2e46 6c5f 5472 6565 5f50 7265 fltk.Fl_Tree_Pre │ │ │ -00081a30: 6673 5f6f 7065 6e69 636f 6e28 7365 6c66 fs_openicon(self │ │ │ -00081a40: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -00081a50: 6620 636c 6f73 6569 636f 6e5f 7728 7365 f closeicon_w(se │ │ │ -00081a60: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -00081a70: 2020 2020 7222 2222 636c 6f73 6569 636f r"""closeico │ │ │ -00081a80: 6e5f 7728 466c 5f54 7265 655f 5072 6566 n_w(Fl_Tree_Pref │ │ │ -00081a90: 7320 7365 6c66 2920 2d3e 2069 6e74 2222 s self) -> int"" │ │ │ -00081aa0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00081ab0: 205f 666c 746b 2e46 6c5f 5472 6565 5f50 _fltk.Fl_Tree_P │ │ │ -00081ac0: 7265 6673 5f63 6c6f 7365 6963 6f6e 5f77 refs_closeicon_w │ │ │ -00081ad0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -00081ae0: 2020 2064 6566 2063 6c6f 7365 6963 6f6e def closeicon │ │ │ -00081af0: 5f68 2873 656c 662c 202a 6172 6773 293a _h(self, *args): │ │ │ -00081b00: 0a20 2020 2020 2020 2072 2222 2263 6c6f . r"""clo │ │ │ -00081b10: 7365 6963 6f6e 5f68 2846 6c5f 5472 6565 seicon_h(Fl_Tree │ │ │ -00081b20: 5f50 7265 6673 2073 656c 6629 202d 3e20 _Prefs self) -> │ │ │ -00081b30: 696e 7422 2222 0a20 2020 2020 2020 2072 int""". r │ │ │ -00081b40: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -00081b50: 7265 655f 5072 6566 735f 636c 6f73 6569 ree_Prefs_closei │ │ │ -00081b60: 636f 6e5f 6828 7365 6c66 2c20 2a61 7267 con_h(self, *arg │ │ │ -00081b70: 7329 0a0a 2020 2020 6465 6620 636c 6f73 s).. def clos │ │ │ -00081b80: 6569 636f 6e28 7365 6c66 2c20 2a61 7267 eicon(self, *arg │ │ │ -00081b90: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -00081ba0: 0a20 2020 2020 2020 2063 6c6f 7365 6963 . closeic │ │ │ -00081bb0: 6f6e 2846 6c5f 5472 6565 5f50 7265 6673 on(Fl_Tree_Prefs │ │ │ -00081bc0: 2073 656c 6629 202d 3e20 466c 5f49 6d61 self) -> Fl_Ima │ │ │ -00081bd0: 6765 0a20 2020 2020 2020 2063 6c6f 7365 ge. close │ │ │ -00081be0: 6963 6f6e 2846 6c5f 5472 6565 5f50 7265 icon(Fl_Tree_Pre │ │ │ -00081bf0: 6673 2073 656c 662c 2046 6c5f 496d 6167 fs self, Fl_Imag │ │ │ -00081c00: 6520 7661 6c29 0a20 2020 2020 2020 2022 e val). " │ │ │ -00081c10: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -00081c20: 6e20 5f66 6c74 6b2e 466c 5f54 7265 655f n _fltk.Fl_Tree_ │ │ │ -00081c30: 5072 6566 735f 636c 6f73 6569 636f 6e28 Prefs_closeicon( │ │ │ -00081c40: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -00081c50: 2020 6465 6620 7573 6572 6963 6f6e 2873 def usericon(s │ │ │ -00081c60: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00081c70: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ -00081c80: 2020 7573 6572 6963 6f6e 2846 6c5f 5472 usericon(Fl_Tr │ │ │ -00081c90: 6565 5f50 7265 6673 2073 656c 6629 202d ee_Prefs self) - │ │ │ -00081ca0: 3e20 466c 5f49 6d61 6765 0a20 2020 2020 > Fl_Image. │ │ │ -00081cb0: 2020 2075 7365 7269 636f 6e28 466c 5f54 usericon(Fl_T │ │ │ -00081cc0: 7265 655f 5072 6566 7320 7365 6c66 2c20 ree_Prefs self, │ │ │ -00081cd0: 466c 5f49 6d61 6765 2076 616c 290a 2020 Fl_Image val). │ │ │ -00081ce0: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ -00081cf0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -00081d00: 6c5f 5472 6565 5f50 7265 6673 5f75 7365 l_Tree_Prefs_use │ │ │ -00081d10: 7269 636f 6e28 7365 6c66 2c20 2a61 7267 ricon(self, *arg │ │ │ -00081d20: 7329 0a0a 2020 2020 6465 6620 6f70 656e s).. def open │ │ │ -00081d30: 6465 6963 6f6e 2873 656c 662c 202a 6172 deicon(self, *ar │ │ │ -00081d40: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -00081d50: 226f 7065 6e64 6569 636f 6e28 466c 5f54 "opendeicon(Fl_T │ │ │ -00081d60: 7265 655f 5072 6566 7320 7365 6c66 2920 ree_Prefs self) │ │ │ -00081d70: 2d3e 2046 6c5f 496d 6167 6522 2222 0a20 -> Fl_Image""". │ │ │ -00081d80: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -00081d90: 6c74 6b2e 466c 5f54 7265 655f 5072 6566 ltk.Fl_Tree_Pref │ │ │ -00081da0: 735f 6f70 656e 6465 6963 6f6e 2873 656c s_opendeicon(sel │ │ │ -00081db0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -00081dc0: 6566 2063 6c6f 7365 6465 6963 6f6e 2873 ef closedeicon(s │ │ │ -00081dd0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00081de0: 2020 2020 2072 2222 2263 6c6f 7365 6465 r"""closede │ │ │ -00081df0: 6963 6f6e 2846 6c5f 5472 6565 5f50 7265 icon(Fl_Tree_Pre │ │ │ -00081e00: 6673 2073 656c 6629 202d 3e20 466c 5f49 fs self) -> Fl_I │ │ │ -00081e10: 6d61 6765 2222 220a 2020 2020 2020 2020 mage""". │ │ │ -00081e20: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00081e30: 5472 6565 5f50 7265 6673 5f63 6c6f 7365 Tree_Prefs_close │ │ │ -00081e40: 6465 6963 6f6e 2873 656c 662c 202a 6172 deicon(self, *ar │ │ │ -00081e50: 6773 290a 0a20 2020 2064 6566 2075 7365 gs).. def use │ │ │ -00081e60: 7264 6569 636f 6e28 7365 6c66 2c20 2a61 rdeicon(self, *a │ │ │ -00081e70: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00081e80: 2222 7573 6572 6465 6963 6f6e 2846 6c5f ""userdeicon(Fl_ │ │ │ -00081e90: 5472 6565 5f50 7265 6673 2073 656c 6629 Tree_Prefs self) │ │ │ -00081ea0: 202d 3e20 466c 5f49 6d61 6765 2222 220a -> Fl_Image""". │ │ │ -00081eb0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00081ec0: 666c 746b 2e46 6c5f 5472 6565 5f50 7265 fltk.Fl_Tree_Pre │ │ │ -00081ed0: 6673 5f75 7365 7264 6569 636f 6e28 7365 fs_userdeicon(se │ │ │ -00081ee0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -00081ef0: 6465 6620 7368 6f77 636f 6c6c 6170 7365 def showcollapse │ │ │ -00081f00: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -00081f10: 2020 2020 2020 2072 2222 220a 2020 2020 r""". │ │ │ -00081f20: 2020 2020 7368 6f77 636f 6c6c 6170 7365 showcollapse │ │ │ -00081f30: 2846 6c5f 5472 6565 5f50 7265 6673 2073 (Fl_Tree_Prefs s │ │ │ -00081f40: 656c 6629 202d 3e20 6368 6172 0a20 2020 elf) -> char. │ │ │ -00081f50: 2020 2020 2073 686f 7763 6f6c 6c61 7073 showcollaps │ │ │ -00081f60: 6528 466c 5f54 7265 655f 5072 6566 7320 e(Fl_Tree_Prefs │ │ │ -00081f70: 7365 6c66 2c20 696e 7420 7661 6c29 0a20 self, int val). │ │ │ -00081f80: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ -00081f90: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00081fa0: 466c 5f54 7265 655f 5072 6566 735f 7368 Fl_Tree_Prefs_sh │ │ │ -00081fb0: 6f77 636f 6c6c 6170 7365 2873 656c 662c owcollapse(self, │ │ │ -00081fc0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00081fd0: 2073 6f72 746f 7264 6572 2873 656c 662c sortorder(self, │ │ │ -00081fe0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00081ff0: 2072 2222 220a 2020 2020 2020 2020 736f r""". so │ │ │ -00082000: 7274 6f72 6465 7228 466c 5f54 7265 655f rtorder(Fl_Tree_ │ │ │ -00082010: 5072 6566 7320 7365 6c66 2920 2d3e 2046 Prefs self) -> F │ │ │ -00082020: 6c5f 5472 6565 5f53 6f72 740a 2020 2020 l_Tree_Sort. │ │ │ -00082030: 2020 2020 736f 7274 6f72 6465 7228 466c sortorder(Fl │ │ │ -00082040: 5f54 7265 655f 5072 6566 7320 7365 6c66 _Tree_Prefs self │ │ │ -00082050: 2c20 466c 5f54 7265 655f 536f 7274 2076 , Fl_Tree_Sort v │ │ │ -00082060: 616c 290a 2020 2020 2020 2020 2222 220a al). """. │ │ │ -00082070: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00082080: 666c 746b 2e46 6c5f 5472 6565 5f50 7265 fltk.Fl_Tree_Pre │ │ │ -00082090: 6673 5f73 6f72 746f 7264 6572 2873 656c fs_sortorder(sel │ │ │ -000820a0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -000820b0: 6566 2073 656c 6563 7462 6f78 2873 656c ef selectbox(sel │ │ │ -000820c0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -000820d0: 2020 2072 2222 220a 2020 2020 2020 2020 r""". │ │ │ -000820e0: 7365 6c65 6374 626f 7828 466c 5f54 7265 selectbox(Fl_Tre │ │ │ -000820f0: 655f 5072 6566 7320 7365 6c66 2920 2d3e e_Prefs self) -> │ │ │ -00082100: 2046 6c5f 426f 7874 7970 650a 2020 2020 Fl_Boxtype. │ │ │ -00082110: 2020 2020 7365 6c65 6374 626f 7828 466c selectbox(Fl │ │ │ -00082120: 5f54 7265 655f 5072 6566 7320 7365 6c66 _Tree_Prefs self │ │ │ -00082130: 2c20 466c 5f42 6f78 7479 7065 2076 616c , Fl_Boxtype val │ │ │ -00082140: 290a 2020 2020 2020 2020 2222 220a 2020 ). """. │ │ │ -00082150: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00082160: 746b 2e46 6c5f 5472 6565 5f50 7265 6673 tk.Fl_Tree_Prefs │ │ │ -00082170: 5f73 656c 6563 7462 6f78 2873 656c 662c _selectbox(self, │ │ │ -00082180: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00082190: 2073 686f 7772 6f6f 7428 7365 6c66 2c20 showroot(self, │ │ │ -000821a0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -000821b0: 7222 2222 0a20 2020 2020 2020 2073 686f r""". sho │ │ │ -000821c0: 7772 6f6f 7428 466c 5f54 7265 655f 5072 wroot(Fl_Tree_Pr │ │ │ -000821d0: 6566 7320 7365 6c66 2920 2d3e 2069 6e74 efs self) -> int │ │ │ -000821e0: 0a20 2020 2020 2020 2073 686f 7772 6f6f . showroo │ │ │ -000821f0: 7428 466c 5f54 7265 655f 5072 6566 7320 t(Fl_Tree_Prefs │ │ │ -00082200: 7365 6c66 2c20 696e 7420 7661 6c29 0a20 self, int val). │ │ │ -00082210: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ -00082220: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00082230: 466c 5f54 7265 655f 5072 6566 735f 7368 Fl_Tree_Prefs_sh │ │ │ -00082240: 6f77 726f 6f74 2873 656c 662c 202a 6172 owroot(self, *ar │ │ │ -00082250: 6773 290a 0a20 2020 2064 6566 2073 656c gs).. def sel │ │ │ -00082260: 6563 746d 6f64 6528 7365 6c66 2c20 2a61 ectmode(self, *a │ │ │ -00082270: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00082280: 2222 0a20 2020 2020 2020 2073 656c 6563 "". selec │ │ │ -00082290: 746d 6f64 6528 466c 5f54 7265 655f 5072 tmode(Fl_Tree_Pr │ │ │ -000822a0: 6566 7320 7365 6c66 2920 2d3e 2046 6c5f efs self) -> Fl_ │ │ │ -000822b0: 5472 6565 5f53 656c 6563 740a 2020 2020 Tree_Select. │ │ │ -000822c0: 2020 2020 7365 6c65 6374 6d6f 6465 2846 selectmode(F │ │ │ -000822d0: 6c5f 5472 6565 5f50 7265 6673 2073 656c l_Tree_Prefs sel │ │ │ -000822e0: 662c 2046 6c5f 5472 6565 5f53 656c 6563 f, Fl_Tree_Selec │ │ │ -000822f0: 7420 7661 6c29 0a20 2020 2020 2020 2022 t val). " │ │ │ -00082300: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -00082310: 6e20 5f66 6c74 6b2e 466c 5f54 7265 655f n _fltk.Fl_Tree_ │ │ │ -00082320: 5072 6566 735f 7365 6c65 6374 6d6f 6465 Prefs_selectmode │ │ │ -00082330: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -00082340: 2020 2064 6566 2069 7465 6d5f 7265 7365 def item_rese │ │ │ -00082350: 6c65 6374 5f6d 6f64 6528 7365 6c66 2c20 lect_mode(self, │ │ │ -00082360: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00082370: 7222 2222 0a20 2020 2020 2020 2069 7465 r""". ite │ │ │ -00082380: 6d5f 7265 7365 6c65 6374 5f6d 6f64 6528 m_reselect_mode( │ │ │ -00082390: 466c 5f54 7265 655f 5072 6566 7320 7365 Fl_Tree_Prefs se │ │ │ -000823a0: 6c66 2920 2d3e 2046 6c5f 5472 6565 5f49 lf) -> Fl_Tree_I │ │ │ -000823b0: 7465 6d5f 5265 7365 6c65 6374 5f4d 6f64 tem_Reselect_Mod │ │ │ -000823c0: 650a 2020 2020 2020 2020 6974 656d 5f72 e. item_r │ │ │ -000823d0: 6573 656c 6563 745f 6d6f 6465 2846 6c5f eselect_mode(Fl_ │ │ │ -000823e0: 5472 6565 5f50 7265 6673 2073 656c 662c Tree_Prefs self, │ │ │ -000823f0: 2046 6c5f 5472 6565 5f49 7465 6d5f 5265 Fl_Tree_Item_Re │ │ │ -00082400: 7365 6c65 6374 5f4d 6f64 6520 6d6f 6465 select_Mode mode │ │ │ -00082410: 290a 2020 2020 2020 2020 2222 220a 2020 ). """. │ │ │ -00082420: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00082430: 746b 2e46 6c5f 5472 6565 5f50 7265 6673 tk.Fl_Tree_Prefs │ │ │ -00082440: 5f69 7465 6d5f 7265 7365 6c65 6374 5f6d _item_reselect_m │ │ │ -00082450: 6f64 6528 7365 6c66 2c20 2a61 7267 7329 ode(self, *args) │ │ │ -00082460: 0a0a 2020 2020 6465 6620 6974 656d 5f64 .. def item_d │ │ │ -00082470: 7261 775f 6d6f 6465 2873 656c 662c 202a raw_mode(self, * │ │ │ -00082480: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00082490: 2222 220a 2020 2020 2020 2020 6974 656d """. item │ │ │ -000824a0: 5f64 7261 775f 6d6f 6465 2846 6c5f 5472 _draw_mode(Fl_Tr │ │ │ -000824b0: 6565 5f50 7265 6673 2073 656c 6629 202d ee_Prefs self) - │ │ │ -000824c0: 3e20 466c 5f54 7265 655f 4974 656d 5f44 > Fl_Tree_Item_D │ │ │ -000824d0: 7261 775f 4d6f 6465 0a20 2020 2020 2020 raw_Mode. │ │ │ -000824e0: 2069 7465 6d5f 6472 6177 5f6d 6f64 6528 item_draw_mode( │ │ │ -000824f0: 466c 5f54 7265 655f 5072 6566 7320 7365 Fl_Tree_Prefs se │ │ │ -00082500: 6c66 2c20 466c 5f54 7265 655f 4974 656d lf, Fl_Tree_Item │ │ │ -00082510: 5f44 7261 775f 4d6f 6465 2076 616c 290a _Draw_Mode val). │ │ │ -00082520: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ -00082530: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00082540: 2e46 6c5f 5472 6565 5f50 7265 6673 5f69 .Fl_Tree_Prefs_i │ │ │ -00082550: 7465 6d5f 6472 6177 5f6d 6f64 6528 7365 tem_draw_mode(se │ │ │ -00082560: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -00082570: 6465 6620 6974 656d 5f64 7261 775f 6361 def item_draw_ca │ │ │ -00082580: 6c6c 6261 636b 2873 656c 662c 202a 6172 llback(self, *ar │ │ │ -00082590: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -000825a0: 220a 2020 2020 2020 2020 6974 656d 5f64 ". item_d │ │ │ -000825b0: 7261 775f 6361 6c6c 6261 636b 2846 6c5f raw_callback(Fl_ │ │ │ -000825c0: 5472 6565 5f50 7265 6673 2073 656c 662c Tree_Prefs self, │ │ │ -000825d0: 2046 6c5f 5472 6565 5f49 7465 6d5f 4472 Fl_Tree_Item_Dr │ │ │ -000825e0: 6177 5f43 616c 6c62 6163 6b20 2a20 6362 aw_Callback * cb │ │ │ -000825f0: 2c20 766f 6964 202a 2064 6174 613d 4e6f , void * data=No │ │ │ -00082600: 6e65 290a 2020 2020 2020 2020 6974 656d ne). item │ │ │ -00082610: 5f64 7261 775f 6361 6c6c 6261 636b 2846 _draw_callback(F │ │ │ -00082620: 6c5f 5472 6565 5f50 7265 6673 2073 656c l_Tree_Prefs sel │ │ │ -00082630: 6629 202d 3e20 466c 5f54 7265 655f 4974 f) -> Fl_Tree_It │ │ │ -00082640: 656d 5f44 7261 775f 4361 6c6c 6261 636b em_Draw_Callback │ │ │ -00082650: 202a 0a20 2020 2020 2020 2022 2222 0a20 *. """. │ │ │ -00082660: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -00082670: 6c74 6b2e 466c 5f54 7265 655f 5072 6566 ltk.Fl_Tree_Pref │ │ │ -00082680: 735f 6974 656d 5f64 7261 775f 6361 6c6c s_item_draw_call │ │ │ -00082690: 6261 636b 2873 656c 662c 202a 6172 6773 back(self, *args │ │ │ -000826a0: 290a 0a20 2020 2064 6566 2069 7465 6d5f ).. def item_ │ │ │ -000826b0: 6472 6177 5f75 7365 725f 6461 7461 2873 draw_user_data(s │ │ │ -000826c0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -000826d0: 2020 2020 2072 2222 2269 7465 6d5f 6472 r"""item_dr │ │ │ -000826e0: 6177 5f75 7365 725f 6461 7461 2846 6c5f aw_user_data(Fl_ │ │ │ -000826f0: 5472 6565 5f50 7265 6673 2073 656c 6629 Tree_Prefs self) │ │ │ -00082700: 202d 3e20 766f 6964 202a 2222 220a 2020 -> void *""". │ │ │ -00082710: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00082720: 746b 2e46 6c5f 5472 6565 5f50 7265 6673 tk.Fl_Tree_Prefs │ │ │ -00082730: 5f69 7465 6d5f 6472 6177 5f75 7365 725f _item_draw_user_ │ │ │ -00082740: 6461 7461 2873 656c 662c 202a 6172 6773 data(self, *args │ │ │ -00082750: 290a 0a20 2020 2064 6566 2064 6f5f 6974 ).. def do_it │ │ │ -00082760: 656d 5f64 7261 775f 6361 6c6c 6261 636b em_draw_callback │ │ │ -00082770: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -00082780: 2020 2020 2020 2072 2222 2264 6f5f 6974 r"""do_it │ │ │ -00082790: 656d 5f64 7261 775f 6361 6c6c 6261 636b em_draw_callback │ │ │ -000827a0: 2846 6c5f 5472 6565 5f50 7265 6673 2073 (Fl_Tree_Prefs s │ │ │ -000827b0: 656c 662c 2046 6c5f 5472 6565 5f49 7465 elf, Fl_Tree_Ite │ │ │ -000827c0: 6d20 6f29 2222 220a 2020 2020 2020 2020 m o)""". │ │ │ -000827d0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -000827e0: 5472 6565 5f50 7265 6673 5f64 6f5f 6974 Tree_Prefs_do_it │ │ │ -000827f0: 656d 5f64 7261 775f 6361 6c6c 6261 636b em_draw_callback │ │ │ -00082800: 2873 656c 662c 202a 6172 6773 290a 0a23 (self, *args)..# │ │ │ -00082810: 2052 6567 6973 7465 7220 466c 5f54 7265 Register Fl_Tre │ │ │ -00082820: 655f 5072 6566 7320 696e 205f 666c 746b e_Prefs in _fltk │ │ │ -00082830: 3a0a 5f66 6c74 6b2e 466c 5f54 7265 655f :._fltk.Fl_Tree_ │ │ │ -00082840: 5072 6566 735f 7377 6967 7265 6769 7374 Prefs_swigregist │ │ │ -00082850: 6572 2846 6c5f 5472 6565 5f50 7265 6673 er(Fl_Tree_Prefs │ │ │ -00082860: 290a 636c 6173 7320 466c 5f54 7265 655f ).class Fl_Tree_ │ │ │ -00082870: 4974 656d 5f41 7272 6179 286f 626a 6563 Item_Array(objec │ │ │ -00082880: 7429 3a0a 2020 2020 7222 2222 0a0a 2020 t):. r""".. │ │ │ -00082890: 2020 4265 6361 7573 6520 464c 544b 2031 Because FLTK 1 │ │ │ -000828a0: 2e78 2e78 2e20 6861 7320 6d61 6e64 6174 .x.x. has mandat │ │ │ -000828b0: 6564 2074 6861 7420 7465 6d70 6c61 7465 ed that template │ │ │ -000828c0: 7320 616e 6420 5354 4c20 6e6f 7420 6265 s and STL not be │ │ │ -000828d0: 2075 7365 642c 2077 6520 7573 6520 7468 used, we use th │ │ │ -000828e0: 6973 2063 6c61 7373 2074 6f20 6479 6e61 is class to dyna │ │ │ -000828f0: 6d69 6361 6c6c 7920 6d61 6e61 6765 2074 mically manage t │ │ │ -00082900: 6865 2061 7272 6179 732e 0a20 2020 204e he arrays.. N │ │ │ -00082910: 6f6e 6520 6f66 2074 6865 206d 6574 686f one of the metho │ │ │ -00082920: 6473 2064 6f20 7261 6e67 6520 6368 6563 ds do range chec │ │ │ -00082930: 6b69 6e67 206f 6e20 696e 6465 7820 7661 king on index va │ │ │ -00082940: 6c75 6573 3b20 7468 6520 6361 6c6c 6572 lues; the caller │ │ │ -00082950: 206d 7573 7420 6265 2073 7572 6520 7468 must be sure th │ │ │ -00082960: 6174 2069 6e64 6578 2076 616c 7565 7320 at index values │ │ │ -00082970: 6172 6520 7769 7468 696e 2074 6865 2072 are within the r │ │ │ -00082980: 616e 6765 2030 3c69 6e64 6578 3c74 6f74 ange 0 │ │ │ -00082ae0: 466c 5f54 7265 655f 4974 656d 5f41 7272 Fl_Tree_Item_Arr │ │ │ -00082af0: 6179 0a20 2020 2020 2020 205f 5f69 6e69 ay. __ini │ │ │ -00082b00: 745f 5f28 466c 5f54 7265 655f 4974 656d t__(Fl_Tree_Item │ │ │ -00082b10: 5f41 7272 6179 2073 656c 662c 2046 6c5f _Array self, Fl_ │ │ │ -00082b20: 5472 6565 5f49 7465 6d5f 4172 7261 7920 Tree_Item_Array │ │ │ -00082b30: 6f29 202d 3e20 466c 5f54 7265 655f 4974 o) -> Fl_Tree_It │ │ │ -00082b40: 656d 5f41 7272 6179 0a20 2020 2020 2020 em_Array. │ │ │ -00082b50: 2022 2222 0a20 2020 2020 2020 205f 666c """. _fl │ │ │ -00082b60: 746b 2e46 6c5f 5472 6565 5f49 7465 6d5f tk.Fl_Tree_Item_ │ │ │ -00082b70: 4172 7261 795f 7377 6967 696e 6974 2873 Array_swiginit(s │ │ │ -00082b80: 656c 662c 205f 666c 746b 2e6e 6577 5f46 elf, _fltk.new_F │ │ │ -00082b90: 6c5f 5472 6565 5f49 7465 6d5f 4172 7261 l_Tree_Item_Arra │ │ │ -00082ba0: 7928 2a61 7267 7329 290a 0a20 2020 2064 y(*args)).. d │ │ │ -00082bb0: 6566 2074 6f74 616c 2873 656c 662c 202a ef total(self, * │ │ │ -00082bc0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00082bd0: 2222 2274 6f74 616c 2846 6c5f 5472 6565 """total(Fl_Tree │ │ │ -00082be0: 5f49 7465 6d5f 4172 7261 7920 7365 6c66 _Item_Array self │ │ │ -00082bf0: 2920 2d3e 2069 6e74 2222 220a 2020 2020 ) -> int""". │ │ │ -00082c00: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00082c10: 2e46 6c5f 5472 6565 5f49 7465 6d5f 4172 .Fl_Tree_Item_Ar │ │ │ -00082c20: 7261 795f 746f 7461 6c28 7365 6c66 2c20 ray_total(self, │ │ │ -00082c30: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -00082c40: 7377 6170 2873 656c 662c 202a 6172 6773 swap(self, *args │ │ │ -00082c50: 293a 0a20 2020 2020 2020 2072 2222 2273 ):. r"""s │ │ │ -00082c60: 7761 7028 466c 5f54 7265 655f 4974 656d wap(Fl_Tree_Item │ │ │ -00082c70: 5f41 7272 6179 2073 656c 662c 2069 6e74 _Array self, int │ │ │ -00082c80: 2061 782c 2069 6e74 2062 7829 2222 220a ax, int bx)""". │ │ │ -00082c90: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00082ca0: 666c 746b 2e46 6c5f 5472 6565 5f49 7465 fltk.Fl_Tree_Ite │ │ │ -00082cb0: 6d5f 4172 7261 795f 7377 6170 2873 656c m_Array_swap(sel │ │ │ -00082cc0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -00082cd0: 6566 206d 6f76 6528 7365 6c66 2c20 2a61 ef move(self, *a │ │ │ -00082ce0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00082cf0: 2222 6d6f 7665 2846 6c5f 5472 6565 5f49 ""move(Fl_Tree_I │ │ │ -00082d00: 7465 6d5f 4172 7261 7920 7365 6c66 2c20 tem_Array self, │ │ │ -00082d10: 696e 7420 746f 2c20 696e 7420 5f66 726f int to, int _fro │ │ │ -00082d20: 6d29 202d 3e20 696e 7422 2222 0a20 2020 m) -> int""". │ │ │ -00082d30: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -00082d40: 6b2e 466c 5f54 7265 655f 4974 656d 5f41 k.Fl_Tree_Item_A │ │ │ -00082d50: 7272 6179 5f6d 6f76 6528 7365 6c66 2c20 rray_move(self, │ │ │ -00082d60: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -00082d70: 6465 7061 7265 6e74 2873 656c 662c 202a deparent(self, * │ │ │ -00082d80: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00082d90: 2222 2264 6570 6172 656e 7428 466c 5f54 """deparent(Fl_T │ │ │ -00082da0: 7265 655f 4974 656d 5f41 7272 6179 2073 ree_Item_Array s │ │ │ -00082db0: 656c 662c 2069 6e74 2070 6f73 2920 2d3e elf, int pos) -> │ │ │ -00082dc0: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ -00082dd0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00082de0: 5472 6565 5f49 7465 6d5f 4172 7261 795f Tree_Item_Array_ │ │ │ -00082df0: 6465 7061 7265 6e74 2873 656c 662c 202a deparent(self, * │ │ │ -00082e00: 6172 6773 290a 0a20 2020 2064 6566 2072 args).. def r │ │ │ -00082e10: 6570 6172 656e 7428 7365 6c66 2c20 2a61 eparent(self, *a │ │ │ -00082e20: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00082e30: 2222 7265 7061 7265 6e74 2846 6c5f 5472 ""reparent(Fl_Tr │ │ │ -00082e40: 6565 5f49 7465 6d5f 4172 7261 7920 7365 ee_Item_Array se │ │ │ -00082e50: 6c66 2c20 466c 5f54 7265 655f 4974 656d lf, Fl_Tree_Item │ │ │ -00082e60: 2069 7465 6d2c 2046 6c5f 5472 6565 5f49 item, Fl_Tree_I │ │ │ -00082e70: 7465 6d20 6e65 7770 6172 656e 742c 2069 tem newparent, i │ │ │ -00082e80: 6e74 2070 6f73 2920 2d3e 2069 6e74 2222 nt pos) -> int"" │ │ │ -00082e90: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00082ea0: 205f 666c 746b 2e46 6c5f 5472 6565 5f49 _fltk.Fl_Tree_I │ │ │ -00082eb0: 7465 6d5f 4172 7261 795f 7265 7061 7265 tem_Array_repare │ │ │ -00082ec0: 6e74 2873 656c 662c 202a 6172 6773 290a nt(self, *args). │ │ │ -00082ed0: 0a20 2020 2064 6566 2063 6c65 6172 2873 . def clear(s │ │ │ -00082ee0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00082ef0: 2020 2020 2072 2222 2263 6c65 6172 2846 r"""clear(F │ │ │ -00082f00: 6c5f 5472 6565 5f49 7465 6d5f 4172 7261 l_Tree_Item_Arra │ │ │ -00082f10: 7920 7365 6c66 2922 2222 0a20 2020 2020 y self)""". │ │ │ -00082f20: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00082f30: 466c 5f54 7265 655f 4974 656d 5f41 7272 Fl_Tree_Item_Arr │ │ │ -00082f40: 6179 5f63 6c65 6172 2873 656c 662c 202a ay_clear(self, * │ │ │ -00082f50: 6172 6773 290a 0a20 2020 2064 6566 2061 args).. def a │ │ │ -00082f60: 6464 2873 656c 662c 202a 6172 6773 293a dd(self, *args): │ │ │ -00082f70: 0a20 2020 2020 2020 2072 2222 2261 6464 . r"""add │ │ │ -00082f80: 2846 6c5f 5472 6565 5f49 7465 6d5f 4172 (Fl_Tree_Item_Ar │ │ │ -00082f90: 7261 7920 7365 6c66 2c20 466c 5f54 7265 ray self, Fl_Tre │ │ │ -00082fa0: 655f 4974 656d 2076 616c 2922 2222 0a20 e_Item val)""". │ │ │ -00082fb0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -00082fc0: 6c74 6b2e 466c 5f54 7265 655f 4974 656d ltk.Fl_Tree_Item │ │ │ -00082fd0: 5f41 7272 6179 5f61 6464 2873 656c 662c _Array_add(self, │ │ │ -00082fe0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00082ff0: 2069 6e73 6572 7428 7365 6c66 2c20 2a61 insert(self, *a │ │ │ -00083000: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00083010: 2222 696e 7365 7274 2846 6c5f 5472 6565 ""insert(Fl_Tree │ │ │ -00083020: 5f49 7465 6d5f 4172 7261 7920 7365 6c66 _Item_Array self │ │ │ -00083030: 2c20 696e 7420 706f 732c 2046 6c5f 5472 , int pos, Fl_Tr │ │ │ -00083040: 6565 5f49 7465 6d20 6e65 775f 6974 656d ee_Item new_item │ │ │ -00083050: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ -00083060: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ -00083070: 655f 4974 656d 5f41 7272 6179 5f69 6e73 e_Item_Array_ins │ │ │ -00083080: 6572 7428 7365 6c66 2c20 2a61 7267 7329 ert(self, *args) │ │ │ -00083090: 0a0a 2020 2020 6465 6620 7265 706c 6163 .. def replac │ │ │ -000830a0: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ -000830b0: 2020 2020 2020 2020 7222 2222 7265 706c r"""repl │ │ │ -000830c0: 6163 6528 466c 5f54 7265 655f 4974 656d ace(Fl_Tree_Item │ │ │ -000830d0: 5f41 7272 6179 2073 656c 662c 2069 6e74 _Array self, int │ │ │ -000830e0: 2070 6f73 2c20 466c 5f54 7265 655f 4974 pos, Fl_Tree_It │ │ │ -000830f0: 656d 206e 6577 5f69 7465 6d29 2222 220a em new_item)""". │ │ │ -00083100: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00083110: 666c 746b 2e46 6c5f 5472 6565 5f49 7465 fltk.Fl_Tree_Ite │ │ │ -00083120: 6d5f 4172 7261 795f 7265 706c 6163 6528 m_Array_replace( │ │ │ -00083130: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -00083140: 2020 6465 6620 7265 6d6f 7665 2873 656c def remove(sel │ │ │ -00083150: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00083160: 2020 2072 2222 220a 2020 2020 2020 2020 r""". │ │ │ -00083170: 7265 6d6f 7665 2846 6c5f 5472 6565 5f49 remove(Fl_Tree_I │ │ │ -00083180: 7465 6d5f 4172 7261 7920 7365 6c66 2c20 tem_Array self, │ │ │ -00083190: 696e 7420 696e 6465 7829 0a20 2020 2020 int index). │ │ │ -000831a0: 2020 2072 656d 6f76 6528 466c 5f54 7265 remove(Fl_Tre │ │ │ -000831b0: 655f 4974 656d 5f41 7272 6179 2073 656c e_Item_Array sel │ │ │ -000831c0: 662c 2046 6c5f 5472 6565 5f49 7465 6d20 f, Fl_Tree_Item │ │ │ -000831d0: 6974 656d 2920 2d3e 2069 6e74 0a20 2020 item) -> int. │ │ │ -000831e0: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ -000831f0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -00083200: 5f54 7265 655f 4974 656d 5f41 7272 6179 _Tree_Item_Array │ │ │ -00083210: 5f72 656d 6f76 6528 7365 6c66 2c20 2a61 _remove(self, *a │ │ │ -00083220: 7267 7329 0a0a 2020 2020 6465 6620 6d61 rgs).. def ma │ │ │ -00083230: 6e61 6765 5f69 7465 6d5f 6465 7374 726f nage_item_destro │ │ │ -00083240: 7928 7365 6c66 2c20 2a61 7267 7329 3a0a y(self, *args):. │ │ │ -00083250: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ -00083260: 2020 2020 206d 616e 6167 655f 6974 656d manage_item │ │ │ -00083270: 5f64 6573 7472 6f79 2846 6c5f 5472 6565 _destroy(Fl_Tree │ │ │ -00083280: 5f49 7465 6d5f 4172 7261 7920 7365 6c66 _Item_Array self │ │ │ -00083290: 2c20 696e 7420 7661 6c29 0a20 2020 2020 , int val). │ │ │ -000832a0: 2020 206d 616e 6167 655f 6974 656d 5f64 manage_item_d │ │ │ -000832b0: 6573 7472 6f79 2846 6c5f 5472 6565 5f49 estroy(Fl_Tree_I │ │ │ -000832c0: 7465 6d5f 4172 7261 7920 7365 6c66 2920 tem_Array self) │ │ │ -000832d0: 2d3e 2069 6e74 0a20 2020 2020 2020 2022 -> int. " │ │ │ -000832e0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -000832f0: 6e20 5f66 6c74 6b2e 466c 5f54 7265 655f n _fltk.Fl_Tree_ │ │ │ -00083300: 4974 656d 5f41 7272 6179 5f6d 616e 6167 Item_Array_manag │ │ │ -00083310: 655f 6974 656d 5f64 6573 7472 6f79 2873 e_item_destroy(s │ │ │ -00083320: 656c 662c 202a 6172 6773 290a 0a23 2052 elf, *args)..# R │ │ │ -00083330: 6567 6973 7465 7220 466c 5f54 7265 655f egister Fl_Tree_ │ │ │ -00083340: 4974 656d 5f41 7272 6179 2069 6e20 5f66 Item_Array in _f │ │ │ -00083350: 6c74 6b3a 0a5f 666c 746b 2e46 6c5f 5472 ltk:._fltk.Fl_Tr │ │ │ -00083360: 6565 5f49 7465 6d5f 4172 7261 795f 7377 ee_Item_Array_sw │ │ │ -00083370: 6967 7265 6769 7374 6572 2846 6c5f 5472 igregister(Fl_Tr │ │ │ -00083380: 6565 5f49 7465 6d5f 4172 7261 7929 0a63 ee_Item_Array).c │ │ │ -00083390: 6c61 7373 2046 6c5f 5472 6565 5f49 7465 lass Fl_Tree_Ite │ │ │ -000833a0: 6d28 6f62 6a65 6374 293a 0a20 2020 2072 m(object):. r │ │ │ -000833b0: 2222 220a 0a20 2020 2054 6869 7320 636c """.. This cl │ │ │ -000833c0: 6173 7320 6973 2061 2073 696e 676c 6520 ass is a single │ │ │ -000833d0: 7472 6565 2069 7465 6d2c 2061 6e64 206d tree item, and m │ │ │ -000833e0: 616e 6167 6573 2061 6c6c 206f 6620 7468 anages all of th │ │ │ -000833f0: 6520 6974 656d 2773 2061 7474 7269 6275 e item's attribu │ │ │ -00083400: 7465 732e 2046 6c5f 5472 6565 5f49 7465 tes. Fl_Tree_Ite │ │ │ -00083410: 6d20 6973 2075 7365 6420 6279 2046 6c5f m is used by Fl_ │ │ │ -00083420: 5472 6565 2c20 7768 6963 6820 6973 2063 Tree, which is c │ │ │ -00083430: 6f6d 7072 6973 6564 206f 6620 6d61 6e79 omprised of many │ │ │ -00083440: 2069 6e73 7461 6e63 6573 206f 6620 466c instances of Fl │ │ │ -00083450: 5f54 7265 655f 4974 656d 2e0a 2020 2020 _Tree_Item.. │ │ │ -00083460: 466c 5f54 7265 655f 4974 656d 2069 7320 Fl_Tree_Item is │ │ │ -00083470: 6869 6572 6172 6368 6963 616c 3b20 6974 hierarchical; it │ │ │ -00083480: 2064 796e 616d 6963 616c 6c79 206d 616e dynamically man │ │ │ -00083490: 6167 6573 2061 6e20 466c 5f54 7265 655f ages an Fl_Tree_ │ │ │ -000834a0: 4974 656d 5f41 7272 6179 206f 6620 6368 Item_Array of ch │ │ │ -000834b0: 696c 6472 656e 2074 6861 7420 6172 6520 ildren that are │ │ │ -000834c0: 7468 656d 7365 6c76 6573 2069 6e73 7461 themselves insta │ │ │ -000834d0: 6e63 6573 206f 6620 466c 5f54 7265 655f nces of Fl_Tree_ │ │ │ -000834e0: 4974 656d 2e20 4561 6368 2069 7465 6d20 Item. Each item │ │ │ -000834f0: 6361 6e20 6861 7665 207a 6572 6f20 6f72 can have zero or │ │ │ -00083500: 206d 6f72 6520 6368 696c 6472 656e 2e20 more children. │ │ │ -00083510: 5768 656e 2061 6e20 6974 656d 2068 6173 When an item has │ │ │ -00083520: 2063 6869 6c64 7265 6e2c 2063 6c6f 7365 children, close │ │ │ -00083530: 2829 2061 6e64 206f 7065 6e28 2920 6361 () and open() ca │ │ │ -00083540: 6e20 6265 2075 7365 6420 746f 2068 6964 n be used to hid │ │ │ -00083550: 6520 6f72 2073 686f 7720 7468 656d 2e20 e or show them. │ │ │ -00083560: 4974 656d 7320 6861 7665 2074 6865 6972 Items have their │ │ │ -00083570: 206f 776e 2061 7474 7269 6275 7465 733b own attributes; │ │ │ -00083580: 2066 6f6e 7420 7369 7a65 2c20 6661 6365 font size, face │ │ │ -00083590: 2c20 636f 6c6f 722e 2049 7465 6d73 206d , color. Items m │ │ │ -000835a0: 6169 6e74 6169 6e20 7468 6569 7220 6f77 aintain their ow │ │ │ -000835b0: 6e20 6869 6572 6172 6368 7920 6f66 2063 n hierarchy of c │ │ │ -000835c0: 6869 6c64 7265 6e2e 2057 6865 6e20 796f hildren. When yo │ │ │ -000835d0: 7520 6d61 6b65 2063 6861 6e67 6573 2074 u make changes t │ │ │ -000835e0: 6f20 6974 656d 732c 2079 6f75 276c 6c20 o items, you'll │ │ │ -000835f0: 6e65 6564 2074 6f20 7465 6c6c 2074 6865 need to tell the │ │ │ -00083600: 2074 7265 6520 746f 2072 6564 7261 7728 tree to redraw( │ │ │ -00083610: 2920 666f 7220 7468 6520 6368 616e 6765 ) for the change │ │ │ -00083620: 7320 746f 2073 686f 7720 7570 2e0a 0a20 s to show up... │ │ │ -00083630: 2020 2022 2222 0a0a 2020 2020 7468 6973 """.. this │ │ │ -00083640: 6f77 6e20 3d20 7072 6f70 6572 7479 286c own = property(l │ │ │ -00083650: 616d 6264 6120 783a 2078 2e74 6869 732e ambda x: x.this. │ │ │ -00083660: 6f77 6e28 292c 206c 616d 6264 6120 782c own(), lambda x, │ │ │ -00083670: 2076 3a20 782e 7468 6973 2e6f 776e 2876 v: x.this.own(v │ │ │ -00083680: 292c 2064 6f63 3d22 5468 6520 6d65 6d62 ), doc="The memb │ │ │ -00083690: 6572 7368 6970 2066 6c61 6722 290a 2020 ership flag"). │ │ │ -000836a0: 2020 5f5f 7265 7072 5f5f 203d 205f 7377 __repr__ = _sw │ │ │ -000836b0: 6967 5f72 6570 720a 2020 2020 5f5f 7377 ig_repr. __sw │ │ │ -000836c0: 6967 5f64 6573 7472 6f79 5f5f 203d 205f ig_destroy__ = _ │ │ │ -000836d0: 666c 746b 2e64 656c 6574 655f 466c 5f54 fltk.delete_Fl_T │ │ │ -000836e0: 7265 655f 4974 656d 0a0a 2020 2020 6465 ree_Item.. de │ │ │ -000836f0: 6620 5f5f 696e 6974 5f5f 2873 656c 662c f __init__(self, │ │ │ -00083700: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00083710: 2072 2222 220a 2020 2020 2020 2020 5f5f r""". __ │ │ │ -00083720: 696e 6974 5f5f 2846 6c5f 5472 6565 5f49 init__(Fl_Tree_I │ │ │ -00083730: 7465 6d20 7365 6c66 2c20 466c 5f54 7265 tem self, Fl_Tre │ │ │ -00083740: 655f 5072 6566 7320 7072 6566 7329 202d e_Prefs prefs) - │ │ │ -00083750: 3e20 466c 5f54 7265 655f 4974 656d 0a20 > Fl_Tree_Item. │ │ │ -00083760: 2020 2020 2020 205f 5f69 6e69 745f 5f28 __init__( │ │ │ -00083770: 466c 5f54 7265 655f 4974 656d 2073 656c Fl_Tree_Item sel │ │ │ -00083780: 662c 2046 6c5f 5472 6565 2074 7265 6529 f, Fl_Tree tree) │ │ │ -00083790: 202d 3e20 466c 5f54 7265 655f 4974 656d -> Fl_Tree_Item │ │ │ -000837a0: 0a20 2020 2020 2020 205f 5f69 6e69 745f . __init_ │ │ │ -000837b0: 5f28 466c 5f54 7265 655f 4974 656d 2073 _(Fl_Tree_Item s │ │ │ -000837c0: 656c 662c 2046 6c5f 5472 6565 5f49 7465 elf, Fl_Tree_Ite │ │ │ -000837d0: 6d20 6f29 202d 3e20 466c 5f54 7265 655f m o) -> Fl_Tree_ │ │ │ -000837e0: 4974 656d 0a20 2020 2020 2020 2022 2222 Item. """ │ │ │ -000837f0: 0a20 2020 2020 2020 2069 6620 7365 6c66 . if self │ │ │ -00083800: 2e5f 5f63 6c61 7373 5f5f 203d 3d20 466c .__class__ == Fl │ │ │ -00083810: 5f54 7265 655f 4974 656d 3a0a 2020 2020 _Tree_Item:. │ │ │ -00083820: 2020 2020 2020 2020 5f73 656c 6620 3d20 _self = │ │ │ -00083830: 4e6f 6e65 0a20 2020 2020 2020 2065 6c73 None. els │ │ │ -00083840: 653a 0a20 2020 2020 2020 2020 2020 205f e:. _ │ │ │ -00083850: 7365 6c66 203d 2073 656c 660a 2020 2020 self = self. │ │ │ -00083860: 2020 2020 5f66 6c74 6b2e 466c 5f54 7265 _fltk.Fl_Tre │ │ │ -00083870: 655f 4974 656d 5f73 7769 6769 6e69 7428 e_Item_swiginit( │ │ │ -00083880: 7365 6c66 2c20 5f66 6c74 6b2e 6e65 775f self, _fltk.new_ │ │ │ -00083890: 466c 5f54 7265 655f 4974 656d 285f 7365 Fl_Tree_Item(_se │ │ │ -000838a0: 6c66 2c20 2a61 7267 7329 290a 0a20 2020 lf, *args)).. │ │ │ -000838b0: 2020 2020 2069 6620 6c65 6e28 6172 6773 if len(args │ │ │ -000838c0: 2920 3d3d 2035 3a20 2020 2020 2020 2020 ) == 5: │ │ │ -000838d0: 200a 2020 2020 2020 2020 2372 6574 6169 . #retai │ │ │ -000838e0: 6e20 7265 6665 7265 6e63 6520 746f 206c n reference to l │ │ │ -000838f0: 6162 656c 0a20 2020 2020 2020 2020 2020 abel. │ │ │ -00083900: 2073 656c 662e 6d79 5f6c 6162 656c 203d self.my_label = │ │ │ -00083910: 2061 7267 735b 2d31 5d0a 2020 2020 2020 args[-1]. │ │ │ -00083920: 2020 6966 2073 656c 662e 7061 7265 6e74 if self.parent │ │ │ -00083930: 2829 2021 3d20 4e6f 6e65 3a20 2020 0a20 () != None: . │ │ │ -00083940: 2020 2020 2020 2023 6465 6c65 6761 7465 #delegate │ │ │ -00083950: 206f 776e 6572 7368 6970 2074 6f20 432b ownership to C+ │ │ │ -00083960: 2b0a 2020 2020 2020 2020 2020 2020 7365 +. se │ │ │ -00083970: 6c66 2e74 6869 732e 6469 736f 776e 2829 lf.this.disown() │ │ │ -00083980: 0a20 2020 2020 2020 2073 656c 662e 696e . self.in │ │ │ -00083990: 6974 5f74 7970 6528 2246 6c5f 5472 6565 it_type("Fl_Tree │ │ │ -000839a0: 5f49 7465 6d22 290a 2020 2020 2020 2020 _Item"). │ │ │ -000839b0: 2370 7269 6e74 2822 4164 6469 6e67 2074 #print("Adding t │ │ │ -000839c0: 7970 653a 2022 2c20 466c 5f54 7265 655f ype: ", Fl_Tree_ │ │ │ -000839d0: 4974 656d 290a 0a0a 0a0a 2020 2020 6465 Item)..... de │ │ │ -000839e0: 6620 7828 7365 6c66 2c20 2a61 7267 7329 f x(self, *args) │ │ │ -000839f0: 3a0a 2020 2020 2020 2020 7222 2222 7828 :. r"""x( │ │ │ -00083a00: 466c 5f54 7265 655f 4974 656d 2073 656c Fl_Tree_Item sel │ │ │ -00083a10: 6629 202d 3e20 696e 7422 2222 0a20 2020 f) -> int""". │ │ │ -00083a20: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -00083a30: 6b2e 466c 5f54 7265 655f 4974 656d 5f78 k.Fl_Tree_Item_x │ │ │ -00083a40: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -00083a50: 2020 2064 6566 2079 2873 656c 662c 202a def y(self, * │ │ │ -00083a60: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00083a70: 2222 2279 2846 6c5f 5472 6565 5f49 7465 """y(Fl_Tree_Ite │ │ │ -00083a80: 6d20 7365 6c66 2920 2d3e 2069 6e74 2222 m self) -> int"" │ │ │ -00083a90: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00083aa0: 205f 666c 746b 2e46 6c5f 5472 6565 5f49 _fltk.Fl_Tree_I │ │ │ -00083ab0: 7465 6d5f 7928 7365 6c66 2c20 2a61 7267 tem_y(self, *arg │ │ │ -00083ac0: 7329 0a0a 2020 2020 6465 6620 7728 7365 s).. def w(se │ │ │ -00083ad0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -00083ae0: 2020 2020 7222 2222 7728 466c 5f54 7265 r"""w(Fl_Tre │ │ │ -00083af0: 655f 4974 656d 2073 656c 6629 202d 3e20 e_Item self) -> │ │ │ -00083b00: 696e 7422 2222 0a20 2020 2020 2020 2072 int""". r │ │ │ -00083b10: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -00083b20: 7265 655f 4974 656d 5f77 2873 656c 662c ree_Item_w(self, │ │ │ -00083b30: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00083b40: 2068 2873 656c 662c 202a 6172 6773 293a h(self, *args): │ │ │ -00083b50: 0a20 2020 2020 2020 2072 2222 2268 2846 . r"""h(F │ │ │ -00083b60: 6c5f 5472 6565 5f49 7465 6d20 7365 6c66 l_Tree_Item self │ │ │ -00083b70: 2920 2d3e 2069 6e74 2222 220a 2020 2020 ) -> int""". │ │ │ -00083b80: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00083b90: 2e46 6c5f 5472 6565 5f49 7465 6d5f 6828 .Fl_Tree_Item_h( │ │ │ -00083ba0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -00083bb0: 2020 6465 6620 6c61 6265 6c5f 7828 7365 def label_x(se │ │ │ -00083bc0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -00083bd0: 2020 2020 7222 2222 6c61 6265 6c5f 7828 r"""label_x( │ │ │ -00083be0: 466c 5f54 7265 655f 4974 656d 2073 656c Fl_Tree_Item sel │ │ │ -00083bf0: 6629 202d 3e20 696e 7422 2222 0a20 2020 f) -> int""". │ │ │ -00083c00: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -00083c10: 6b2e 466c 5f54 7265 655f 4974 656d 5f6c k.Fl_Tree_Item_l │ │ │ -00083c20: 6162 656c 5f78 2873 656c 662c 202a 6172 abel_x(self, *ar │ │ │ -00083c30: 6773 290a 0a20 2020 2064 6566 206c 6162 gs).. def lab │ │ │ -00083c40: 656c 5f79 2873 656c 662c 202a 6172 6773 el_y(self, *args │ │ │ -00083c50: 293a 0a20 2020 2020 2020 2072 2222 226c ):. r"""l │ │ │ -00083c60: 6162 656c 5f79 2846 6c5f 5472 6565 5f49 abel_y(Fl_Tree_I │ │ │ -00083c70: 7465 6d20 7365 6c66 2920 2d3e 2069 6e74 tem self) -> int │ │ │ -00083c80: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -00083c90: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ -00083ca0: 5f49 7465 6d5f 6c61 6265 6c5f 7928 7365 _Item_label_y(se │ │ │ -00083cb0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -00083cc0: 6465 6620 6c61 6265 6c5f 7728 7365 6c66 def label_w(self │ │ │ -00083cd0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -00083ce0: 2020 7222 2222 6c61 6265 6c5f 7728 466c r"""label_w(Fl │ │ │ -00083cf0: 5f54 7265 655f 4974 656d 2073 656c 6629 _Tree_Item self) │ │ │ -00083d00: 202d 3e20 696e 7422 2222 0a20 2020 2020 -> int""". │ │ │ -00083d10: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00083d20: 466c 5f54 7265 655f 4974 656d 5f6c 6162 Fl_Tree_Item_lab │ │ │ -00083d30: 656c 5f77 2873 656c 662c 202a 6172 6773 el_w(self, *args │ │ │ -00083d40: 290a 0a20 2020 2064 6566 206c 6162 656c ).. def label │ │ │ -00083d50: 5f68 2873 656c 662c 202a 6172 6773 293a _h(self, *args): │ │ │ -00083d60: 0a20 2020 2020 2020 2072 2222 226c 6162 . r"""lab │ │ │ -00083d70: 656c 5f68 2846 6c5f 5472 6565 5f49 7465 el_h(Fl_Tree_Ite │ │ │ -00083d80: 6d20 7365 6c66 2920 2d3e 2069 6e74 2222 m self) -> int"" │ │ │ -00083d90: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00083da0: 205f 666c 746b 2e46 6c5f 5472 6565 5f49 _fltk.Fl_Tree_I │ │ │ -00083db0: 7465 6d5f 6c61 6265 6c5f 6828 7365 6c66 tem_label_h(self │ │ │ -00083dc0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -00083dd0: 6620 6472 6177 5f69 7465 6d5f 636f 6e74 f draw_item_cont │ │ │ -00083de0: 656e 7428 7365 6c66 2c20 2a61 7267 7329 ent(self, *args) │ │ │ -00083df0: 3a0a 2020 2020 2020 2020 7222 2222 6472 :. r"""dr │ │ │ -00083e00: 6177 5f69 7465 6d5f 636f 6e74 656e 7428 aw_item_content( │ │ │ -00083e10: 466c 5f54 7265 655f 4974 656d 2073 656c Fl_Tree_Item sel │ │ │ -00083e20: 662c 2069 6e74 2072 656e 6465 7229 202d f, int render) - │ │ │ -00083e30: 3e20 696e 7422 2222 0a20 2020 2020 2020 > int""". │ │ │ -00083e40: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -00083e50: 5f54 7265 655f 4974 656d 5f64 7261 775f _Tree_Item_draw_ │ │ │ -00083e60: 6974 656d 5f63 6f6e 7465 6e74 2873 656c item_content(sel │ │ │ -00083e70: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -00083e80: 6566 2064 7261 7728 7365 6c66 2c20 2a61 ef draw(self, *a │ │ │ -00083e90: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00083ea0: 2222 6472 6177 2846 6c5f 5472 6565 5f49 ""draw(Fl_Tree_I │ │ │ -00083eb0: 7465 6d20 7365 6c66 2c20 696e 7420 582c tem self, int X, │ │ │ -00083ec0: 2069 6e74 2026 2059 2c20 696e 7420 572c int & Y, int W, │ │ │ -00083ed0: 2046 6c5f 5472 6565 5f49 7465 6d20 6974 Fl_Tree_Item it │ │ │ -00083ee0: 656d 666f 6375 732c 2069 6e74 206c 6173 emfocus, int las │ │ │ -00083ef0: 7463 6869 6c64 3d31 2c20 696e 7420 7265 tchild=1, int re │ │ │ -00083f00: 6e64 6572 3d31 2922 2222 0a20 2020 2020 nder=1)""". │ │ │ -00083f10: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00083f20: 466c 5f54 7265 655f 4974 656d 5f64 7261 Fl_Tree_Item_dra │ │ │ -00083f30: 7728 7365 6c66 2c20 2a61 7267 7329 0a0a w(self, *args).. │ │ │ -00083f40: 2020 2020 6465 6620 7368 6f77 5f73 656c def show_sel │ │ │ -00083f50: 6628 7365 6c66 2c20 2a61 7267 7329 3a0a f(self, *args):. │ │ │ -00083f60: 2020 2020 2020 2020 7222 2222 7368 6f77 r"""show │ │ │ -00083f70: 5f73 656c 6628 466c 5f54 7265 655f 4974 _self(Fl_Tree_It │ │ │ -00083f80: 656d 2073 656c 662c 2063 6861 7220 636f em self, char co │ │ │ -00083f90: 6e73 7420 2a20 696e 6465 6e74 3d22 2229 nst * indent="") │ │ │ -00083fa0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -00083fb0: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ -00083fc0: 5f49 7465 6d5f 7368 6f77 5f73 656c 6628 _Item_show_self( │ │ │ -00083fd0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -00083fe0: 2020 6465 6620 6c61 6265 6c28 7365 6c66 def label(self │ │ │ -00083ff0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -00084000: 2020 7222 2222 0a20 2020 2020 2020 206c r""". l │ │ │ -00084010: 6162 656c 2846 6c5f 5472 6565 5f49 7465 abel(Fl_Tree_Ite │ │ │ -00084020: 6d20 7365 6c66 2c20 6368 6172 2063 6f6e m self, char con │ │ │ -00084030: 7374 202a 2076 616c 290a 2020 2020 2020 st * val). │ │ │ -00084040: 2020 6c61 6265 6c28 466c 5f54 7265 655f label(Fl_Tree_ │ │ │ -00084050: 4974 656d 2073 656c 6629 202d 3e20 6368 Item self) -> ch │ │ │ -00084060: 6172 2063 6f6e 7374 202a 0a20 2020 2020 ar const *. │ │ │ -00084070: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ -00084080: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -00084090: 7265 655f 4974 656d 5f6c 6162 656c 2873 ree_Item_label(s │ │ │ -000840a0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -000840b0: 2064 6566 206c 6162 656c 666f 6e74 2873 def labelfont(s │ │ │ -000840c0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -000840d0: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ -000840e0: 2020 6c61 6265 6c66 6f6e 7428 466c 5f54 labelfont(Fl_T │ │ │ -000840f0: 7265 655f 4974 656d 2073 656c 662c 2046 ree_Item self, F │ │ │ -00084100: 6c5f 466f 6e74 2076 616c 290a 2020 2020 l_Font val). │ │ │ -00084110: 2020 2020 6c61 6265 6c66 6f6e 7428 466c labelfont(Fl │ │ │ -00084120: 5f54 7265 655f 4974 656d 2073 656c 6629 _Tree_Item self) │ │ │ -00084130: 202d 3e20 466c 5f46 6f6e 740a 2020 2020 -> Fl_Font. │ │ │ -00084140: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ -00084150: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00084160: 5472 6565 5f49 7465 6d5f 6c61 6265 6c66 Tree_Item_labelf │ │ │ -00084170: 6f6e 7428 7365 6c66 2c20 2a61 7267 7329 ont(self, *args) │ │ │ -00084180: 0a0a 2020 2020 6465 6620 6c61 6265 6c73 .. def labels │ │ │ -00084190: 697a 6528 7365 6c66 2c20 2a61 7267 7329 ize(self, *args) │ │ │ -000841a0: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ -000841b0: 2020 2020 2020 206c 6162 656c 7369 7a65 labelsize │ │ │ -000841c0: 2846 6c5f 5472 6565 5f49 7465 6d20 7365 (Fl_Tree_Item se │ │ │ -000841d0: 6c66 2c20 466c 5f46 6f6e 7473 697a 6520 lf, Fl_Fontsize │ │ │ -000841e0: 7661 6c29 0a20 2020 2020 2020 206c 6162 val). lab │ │ │ -000841f0: 656c 7369 7a65 2846 6c5f 5472 6565 5f49 elsize(Fl_Tree_I │ │ │ -00084200: 7465 6d20 7365 6c66 2920 2d3e 2046 6c5f tem self) -> Fl_ │ │ │ -00084210: 466f 6e74 7369 7a65 0a20 2020 2020 2020 Fontsize. │ │ │ -00084220: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ -00084230: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ -00084240: 655f 4974 656d 5f6c 6162 656c 7369 7a65 e_Item_labelsize │ │ │ -00084250: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -00084260: 2020 2064 6566 206c 6162 656c 6667 636f def labelfgco │ │ │ -00084270: 6c6f 7228 7365 6c66 2c20 2a61 7267 7329 lor(self, *args) │ │ │ -00084280: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ -00084290: 2020 2020 2020 206c 6162 656c 6667 636f labelfgco │ │ │ -000842a0: 6c6f 7228 466c 5f54 7265 655f 4974 656d lor(Fl_Tree_Item │ │ │ -000842b0: 2073 656c 662c 2046 6c5f 436f 6c6f 7220 self, Fl_Color │ │ │ -000842c0: 7661 6c29 0a20 2020 2020 2020 206c 6162 val). lab │ │ │ -000842d0: 656c 6667 636f 6c6f 7228 466c 5f54 7265 elfgcolor(Fl_Tre │ │ │ -000842e0: 655f 4974 656d 2073 656c 6629 202d 3e20 e_Item self) -> │ │ │ -000842f0: 466c 5f43 6f6c 6f72 0a20 2020 2020 2020 Fl_Color. │ │ │ -00084300: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ -00084310: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ -00084320: 655f 4974 656d 5f6c 6162 656c 6667 636f e_Item_labelfgco │ │ │ -00084330: 6c6f 7228 7365 6c66 2c20 2a61 7267 7329 lor(self, *args) │ │ │ -00084340: 0a0a 2020 2020 6465 6620 6c61 6265 6c63 .. def labelc │ │ │ -00084350: 6f6c 6f72 2873 656c 662c 202a 6172 6773 olor(self, *args │ │ │ -00084360: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ -00084370: 2020 2020 2020 2020 6c61 6265 6c63 6f6c labelcol │ │ │ -00084380: 6f72 2846 6c5f 5472 6565 5f49 7465 6d20 or(Fl_Tree_Item │ │ │ -00084390: 7365 6c66 2c20 466c 5f43 6f6c 6f72 2076 self, Fl_Color v │ │ │ -000843a0: 616c 290a 2020 2020 2020 2020 6c61 6265 al). labe │ │ │ -000843b0: 6c63 6f6c 6f72 2846 6c5f 5472 6565 5f49 lcolor(Fl_Tree_I │ │ │ -000843c0: 7465 6d20 7365 6c66 2920 2d3e 2046 6c5f tem self) -> Fl_ │ │ │ -000843d0: 436f 6c6f 720a 2020 2020 2020 2020 2222 Color. "" │ │ │ -000843e0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -000843f0: 205f 666c 746b 2e46 6c5f 5472 6565 5f49 _fltk.Fl_Tree_I │ │ │ -00084400: 7465 6d5f 6c61 6265 6c63 6f6c 6f72 2873 tem_labelcolor(s │ │ │ -00084410: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -00084420: 2064 6566 206c 6162 656c 6267 636f 6c6f def labelbgcolo │ │ │ -00084430: 7228 7365 6c66 2c20 2a61 7267 7329 3a0a r(self, *args):. │ │ │ -00084440: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ -00084450: 2020 2020 206c 6162 656c 6267 636f 6c6f labelbgcolo │ │ │ -00084460: 7228 466c 5f54 7265 655f 4974 656d 2073 r(Fl_Tree_Item s │ │ │ -00084470: 656c 662c 2046 6c5f 436f 6c6f 7220 7661 elf, Fl_Color va │ │ │ -00084480: 6c29 0a20 2020 2020 2020 206c 6162 656c l). label │ │ │ -00084490: 6267 636f 6c6f 7228 466c 5f54 7265 655f bgcolor(Fl_Tree_ │ │ │ -000844a0: 4974 656d 2073 656c 6629 202d 3e20 466c Item self) -> Fl │ │ │ -000844b0: 5f43 6f6c 6f72 0a20 2020 2020 2020 2022 _Color. " │ │ │ -000844c0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -000844d0: 6e20 5f66 6c74 6b2e 466c 5f54 7265 655f n _fltk.Fl_Tree_ │ │ │ -000844e0: 4974 656d 5f6c 6162 656c 6267 636f 6c6f Item_labelbgcolo │ │ │ -000844f0: 7228 7365 6c66 2c20 2a61 7267 7329 0a0a r(self, *args).. │ │ │ -00084500: 2020 2020 6465 6620 7769 6467 6574 2873 def widget(s │ │ │ -00084510: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00084520: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ -00084530: 2020 7769 6467 6574 2846 6c5f 5472 6565 widget(Fl_Tree │ │ │ -00084540: 5f49 7465 6d20 7365 6c66 2c20 466c 5f57 _Item self, Fl_W │ │ │ -00084550: 6964 6765 7420 7661 6c29 0a20 2020 2020 idget val). │ │ │ -00084560: 2020 2077 6964 6765 7428 466c 5f54 7265 widget(Fl_Tre │ │ │ -00084570: 655f 4974 656d 2073 656c 6629 202d 3e20 e_Item self) -> │ │ │ -00084580: 466c 5f57 6964 6765 740a 2020 2020 2020 Fl_Widget. │ │ │ -00084590: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ -000845a0: 7475 726e 205f 666c 746b 2e46 6c5f 5472 turn _fltk.Fl_Tr │ │ │ -000845b0: 6565 5f49 7465 6d5f 7769 6467 6574 2873 ee_Item_widget(s │ │ │ -000845c0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -000845d0: 2064 6566 2063 6869 6c64 7265 6e28 7365 def children(se │ │ │ -000845e0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -000845f0: 2020 2020 7222 2222 6368 696c 6472 656e r"""children │ │ │ -00084600: 2846 6c5f 5472 6565 5f49 7465 6d20 7365 (Fl_Tree_Item se │ │ │ -00084610: 6c66 2920 2d3e 2069 6e74 2222 220a 2020 lf) -> int""". │ │ │ -00084620: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00084630: 746b 2e46 6c5f 5472 6565 5f49 7465 6d5f tk.Fl_Tree_Item_ │ │ │ -00084640: 6368 696c 6472 656e 2873 656c 662c 202a children(self, * │ │ │ -00084650: 6172 6773 290a 0a20 2020 2064 6566 2063 args).. def c │ │ │ -00084660: 6869 6c64 2873 656c 662c 202a 6172 6773 hild(self, *args │ │ │ -00084670: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ -00084680: 2020 2020 2020 2020 6368 696c 6428 466c child(Fl │ │ │ -00084690: 5f54 7265 655f 4974 656d 2073 656c 662c _Tree_Item self, │ │ │ -000846a0: 2069 6e74 2069 6e64 6578 2920 2d3e 2046 int index) -> F │ │ │ -000846b0: 6c5f 5472 6565 5f49 7465 6d0a 2020 2020 l_Tree_Item. │ │ │ -000846c0: 2020 2020 6368 696c 6428 466c 5f54 7265 child(Fl_Tre │ │ │ -000846d0: 655f 4974 656d 2073 656c 662c 2069 6e74 e_Item self, int │ │ │ -000846e0: 2074 2920 2d3e 2046 6c5f 5472 6565 5f49 t) -> Fl_Tree_I │ │ │ -000846f0: 7465 6d0a 2020 2020 2020 2020 2222 220a tem. """. │ │ │ -00084700: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00084710: 666c 746b 2e46 6c5f 5472 6565 5f49 7465 fltk.Fl_Tree_Ite │ │ │ -00084720: 6d5f 6368 696c 6428 7365 6c66 2c20 2a61 m_child(self, *a │ │ │ -00084730: 7267 7329 0a0a 2020 2020 6465 6620 6861 rgs).. def ha │ │ │ -00084740: 735f 6368 696c 6472 656e 2873 656c 662c s_children(self, │ │ │ -00084750: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00084760: 2072 2222 2268 6173 5f63 6869 6c64 7265 r"""has_childre │ │ │ -00084770: 6e28 466c 5f54 7265 655f 4974 656d 2073 n(Fl_Tree_Item s │ │ │ -00084780: 656c 6629 202d 3e20 696e 7422 2222 0a20 elf) -> int""". │ │ │ -00084790: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -000847a0: 6c74 6b2e 466c 5f54 7265 655f 4974 656d ltk.Fl_Tree_Item │ │ │ -000847b0: 5f68 6173 5f63 6869 6c64 7265 6e28 7365 _has_children(se │ │ │ -000847c0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -000847d0: 6465 6620 6669 6e64 5f63 6869 6c64 2873 def find_child(s │ │ │ -000847e0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -000847f0: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ -00084800: 2020 6669 6e64 5f63 6869 6c64 2846 6c5f find_child(Fl_ │ │ │ -00084810: 5472 6565 5f49 7465 6d20 7365 6c66 2c20 Tree_Item self, │ │ │ -00084820: 6368 6172 2063 6f6e 7374 202a 206e 616d char const * nam │ │ │ -00084830: 6529 202d 3e20 696e 740a 2020 2020 2020 e) -> int. │ │ │ -00084840: 2020 6669 6e64 5f63 6869 6c64 2846 6c5f find_child(Fl_ │ │ │ -00084850: 5472 6565 5f49 7465 6d20 7365 6c66 2c20 Tree_Item self, │ │ │ -00084860: 466c 5f54 7265 655f 4974 656d 2069 7465 Fl_Tree_Item ite │ │ │ -00084870: 6d29 202d 3e20 696e 740a 2020 2020 2020 m) -> int. │ │ │ -00084880: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ -00084890: 7475 726e 205f 666c 746b 2e46 6c5f 5472 turn _fltk.Fl_Tr │ │ │ -000848a0: 6565 5f49 7465 6d5f 6669 6e64 5f63 6869 ee_Item_find_chi │ │ │ -000848b0: 6c64 2873 656c 662c 202a 6172 6773 290a ld(self, *args). │ │ │ -000848c0: 0a20 2020 2064 6566 2072 656d 6f76 655f . def remove_ │ │ │ -000848d0: 6368 696c 6428 7365 6c66 2c20 2a61 7267 child(self, *arg │ │ │ -000848e0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -000848f0: 0a20 2020 2020 2020 2072 656d 6f76 655f . remove_ │ │ │ -00084900: 6368 696c 6428 466c 5f54 7265 655f 4974 child(Fl_Tree_It │ │ │ -00084910: 656d 2073 656c 662c 2046 6c5f 5472 6565 em self, Fl_Tree │ │ │ -00084920: 5f49 7465 6d20 6974 656d 2920 2d3e 2069 _Item item) -> i │ │ │ -00084930: 6e74 0a20 2020 2020 2020 2072 656d 6f76 nt. remov │ │ │ -00084940: 655f 6368 696c 6428 466c 5f54 7265 655f e_child(Fl_Tree_ │ │ │ -00084950: 4974 656d 2073 656c 662c 2063 6861 7220 Item self, char │ │ │ -00084960: 636f 6e73 7420 2a20 6e65 775f 6c61 6265 const * new_labe │ │ │ -00084970: 6c29 202d 3e20 696e 740a 2020 2020 2020 l) -> int. │ │ │ -00084980: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ -00084990: 7475 726e 205f 666c 746b 2e46 6c5f 5472 turn _fltk.Fl_Tr │ │ │ -000849a0: 6565 5f49 7465 6d5f 7265 6d6f 7665 5f63 ee_Item_remove_c │ │ │ -000849b0: 6869 6c64 2873 656c 662c 202a 6172 6773 hild(self, *args │ │ │ -000849c0: 290a 0a20 2020 2064 6566 2063 6c65 6172 ).. def clear │ │ │ -000849d0: 5f63 6869 6c64 7265 6e28 7365 6c66 2c20 _children(self, │ │ │ -000849e0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -000849f0: 7222 2222 636c 6561 725f 6368 696c 6472 r"""clear_childr │ │ │ -00084a00: 656e 2846 6c5f 5472 6565 5f49 7465 6d20 en(Fl_Tree_Item │ │ │ -00084a10: 7365 6c66 2922 2222 0a20 2020 2020 2020 self)""". │ │ │ -00084a20: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -00084a30: 5f54 7265 655f 4974 656d 5f63 6c65 6172 _Tree_Item_clear │ │ │ -00084a40: 5f63 6869 6c64 7265 6e28 7365 6c66 2c20 _children(self, │ │ │ -00084a50: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -00084a60: 7377 6170 5f63 6869 6c64 7265 6e28 7365 swap_children(se │ │ │ -00084a70: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -00084a80: 2020 2020 7222 2222 0a20 2020 2020 2020 r""". │ │ │ -00084a90: 2073 7761 705f 6368 696c 6472 656e 2846 swap_children(F │ │ │ -00084aa0: 6c5f 5472 6565 5f49 7465 6d20 7365 6c66 l_Tree_Item self │ │ │ -00084ab0: 2c20 696e 7420 6178 2c20 696e 7420 6278 , int ax, int bx │ │ │ -00084ac0: 290a 2020 2020 2020 2020 7377 6170 5f63 ). swap_c │ │ │ -00084ad0: 6869 6c64 7265 6e28 466c 5f54 7265 655f hildren(Fl_Tree_ │ │ │ -00084ae0: 4974 656d 2073 656c 662c 2046 6c5f 5472 Item self, Fl_Tr │ │ │ -00084af0: 6565 5f49 7465 6d20 612c 2046 6c5f 5472 ee_Item a, Fl_Tr │ │ │ -00084b00: 6565 5f49 7465 6d20 6229 202d 3e20 696e ee_Item b) -> in │ │ │ -00084b10: 740a 2020 2020 2020 2020 2222 220a 2020 t. """. │ │ │ -00084b20: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00084b30: 746b 2e46 6c5f 5472 6565 5f49 7465 6d5f tk.Fl_Tree_Item_ │ │ │ -00084b40: 7377 6170 5f63 6869 6c64 7265 6e28 7365 swap_children(se │ │ │ -00084b50: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -00084b60: 6465 6620 6669 6e64 5f63 6869 6c64 5f69 def find_child_i │ │ │ -00084b70: 7465 6d28 7365 6c66 2c20 2a61 7267 7329 tem(self, *args) │ │ │ -00084b80: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ -00084b90: 2020 2020 2020 2066 696e 645f 6368 696c find_chil │ │ │ -00084ba0: 645f 6974 656d 2846 6c5f 5472 6565 5f49 d_item(Fl_Tree_I │ │ │ -00084bb0: 7465 6d20 7365 6c66 2c20 6368 6172 2063 tem self, char c │ │ │ -00084bc0: 6f6e 7374 202a 206e 616d 6529 202d 3e20 onst * name) -> │ │ │ -00084bd0: 466c 5f54 7265 655f 4974 656d 0a20 2020 Fl_Tree_Item. │ │ │ -00084be0: 2020 2020 2066 696e 645f 6368 696c 645f find_child_ │ │ │ -00084bf0: 6974 656d 2846 6c5f 5472 6565 5f49 7465 item(Fl_Tree_Ite │ │ │ -00084c00: 6d20 7365 6c66 2c20 6368 6172 2063 6f6e m self, char con │ │ │ -00084c10: 7374 202a 206e 616d 6529 202d 3e20 466c st * name) -> Fl │ │ │ -00084c20: 5f54 7265 655f 4974 656d 0a20 2020 2020 _Tree_Item. │ │ │ -00084c30: 2020 2066 696e 645f 6368 696c 645f 6974 find_child_it │ │ │ -00084c40: 656d 2846 6c5f 5472 6565 5f49 7465 6d20 em(Fl_Tree_Item │ │ │ -00084c50: 7365 6c66 2c20 6368 6172 202a 2a20 6172 self, char ** ar │ │ │ -00084c60: 7229 202d 3e20 466c 5f54 7265 655f 4974 r) -> Fl_Tree_It │ │ │ -00084c70: 656d 0a20 2020 2020 2020 2066 696e 645f em. find_ │ │ │ -00084c80: 6368 696c 645f 6974 656d 2846 6c5f 5472 child_item(Fl_Tr │ │ │ -00084c90: 6565 5f49 7465 6d20 7365 6c66 2c20 6368 ee_Item self, ch │ │ │ -00084ca0: 6172 202a 2a20 6172 7229 202d 3e20 466c ar ** arr) -> Fl │ │ │ -00084cb0: 5f54 7265 655f 4974 656d 0a20 2020 2020 _Tree_Item. │ │ │ -00084cc0: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ -00084cd0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -00084ce0: 7265 655f 4974 656d 5f66 696e 645f 6368 ree_Item_find_ch │ │ │ -00084cf0: 696c 645f 6974 656d 2873 656c 662c 202a ild_item(self, * │ │ │ -00084d00: 6172 6773 290a 0a20 2020 2064 6566 2066 args).. def f │ │ │ -00084d10: 696e 645f 6974 656d 2873 656c 662c 202a ind_item(self, * │ │ │ -00084d20: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00084d30: 2222 220a 2020 2020 2020 2020 6669 6e64 """. find │ │ │ -00084d40: 5f69 7465 6d28 466c 5f54 7265 655f 4974 _item(Fl_Tree_It │ │ │ -00084d50: 656d 2073 656c 662c 2063 6861 7220 2a2a em self, char ** │ │ │ -00084d60: 2061 7272 2920 2d3e 2046 6c5f 5472 6565 arr) -> Fl_Tree │ │ │ -00084d70: 5f49 7465 6d0a 2020 2020 2020 2020 6669 _Item. fi │ │ │ -00084d80: 6e64 5f69 7465 6d28 466c 5f54 7265 655f nd_item(Fl_Tree_ │ │ │ -00084d90: 4974 656d 2073 656c 662c 2063 6861 7220 Item self, char │ │ │ -00084da0: 2a2a 2061 7272 2920 2d3e 2046 6c5f 5472 ** arr) -> Fl_Tr │ │ │ -00084db0: 6565 5f49 7465 6d0a 2020 2020 2020 2020 ee_Item. │ │ │ -00084dc0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -00084dd0: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ -00084de0: 5f49 7465 6d5f 6669 6e64 5f69 7465 6d28 _Item_find_item( │ │ │ -00084df0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -00084e00: 2020 6465 6620 6164 6428 7365 6c66 2c20 def add(self, │ │ │ -00084e10: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00084e20: 7222 2222 0a20 2020 2020 2020 2061 6464 r""". add │ │ │ -00084e30: 2846 6c5f 5472 6565 5f49 7465 6d20 7365 (Fl_Tree_Item se │ │ │ -00084e40: 6c66 2c20 466c 5f54 7265 655f 5072 6566 lf, Fl_Tree_Pref │ │ │ -00084e50: 7320 7072 6566 732c 2063 6861 7220 636f s prefs, char co │ │ │ -00084e60: 6e73 7420 2a20 6e65 775f 6c61 6265 6c2c nst * new_label, │ │ │ -00084e70: 2046 6c5f 5472 6565 5f49 7465 6d20 6e65 Fl_Tree_Item ne │ │ │ -00084e80: 7769 7465 6d29 202d 3e20 466c 5f54 7265 witem) -> Fl_Tre │ │ │ -00084e90: 655f 4974 656d 0a20 2020 2020 2020 2061 e_Item. a │ │ │ -00084ea0: 6464 2846 6c5f 5472 6565 5f49 7465 6d20 dd(Fl_Tree_Item │ │ │ -00084eb0: 7365 6c66 2c20 466c 5f54 7265 655f 5072 self, Fl_Tree_Pr │ │ │ -00084ec0: 6566 7320 7072 6566 732c 2063 6861 7220 efs prefs, char │ │ │ -00084ed0: 636f 6e73 7420 2a20 6e65 775f 6c61 6265 const * new_labe │ │ │ -00084ee0: 6c29 202d 3e20 466c 5f54 7265 655f 4974 l) -> Fl_Tree_It │ │ │ -00084ef0: 656d 0a20 2020 2020 2020 2061 6464 2846 em. add(F │ │ │ -00084f00: 6c5f 5472 6565 5f49 7465 6d20 7365 6c66 l_Tree_Item self │ │ │ -00084f10: 2c20 466c 5f54 7265 655f 5072 6566 7320 , Fl_Tree_Prefs │ │ │ -00084f20: 7072 6566 732c 2063 6861 7220 2a2a 2061 prefs, char ** a │ │ │ -00084f30: 7272 2c20 466c 5f54 7265 655f 4974 656d rr, Fl_Tree_Item │ │ │ -00084f40: 206e 6577 6974 656d 2920 2d3e 2046 6c5f newitem) -> Fl_ │ │ │ -00084f50: 5472 6565 5f49 7465 6d0a 2020 2020 2020 Tree_Item. │ │ │ -00084f60: 2020 6164 6428 466c 5f54 7265 655f 4974 add(Fl_Tree_It │ │ │ -00084f70: 656d 2073 656c 662c 2046 6c5f 5472 6565 em self, Fl_Tree │ │ │ -00084f80: 5f50 7265 6673 2070 7265 6673 2c20 6368 _Prefs prefs, ch │ │ │ -00084f90: 6172 202a 2a20 6172 7229 202d 3e20 466c ar ** arr) -> Fl │ │ │ -00084fa0: 5f54 7265 655f 4974 656d 0a20 2020 2020 _Tree_Item. │ │ │ -00084fb0: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ -00084fc0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -00084fd0: 7265 655f 4974 656d 5f61 6464 2873 656c ree_Item_add(sel │ │ │ -00084fe0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -00084ff0: 6566 2072 6570 6c61 6365 2873 656c 662c ef replace(self, │ │ │ -00085000: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00085010: 2072 2222 2272 6570 6c61 6365 2846 6c5f r"""replace(Fl_ │ │ │ -00085020: 5472 6565 5f49 7465 6d20 7365 6c66 2c20 Tree_Item self, │ │ │ -00085030: 466c 5f54 7265 655f 4974 656d 206e 6577 Fl_Tree_Item new │ │ │ -00085040: 5f69 7465 6d29 202d 3e20 466c 5f54 7265 _item) -> Fl_Tre │ │ │ -00085050: 655f 4974 656d 2222 220a 2020 2020 2020 e_Item""". │ │ │ -00085060: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -00085070: 6c5f 5472 6565 5f49 7465 6d5f 7265 706c l_Tree_Item_repl │ │ │ -00085080: 6163 6528 7365 6c66 2c20 2a61 7267 7329 ace(self, *args) │ │ │ -00085090: 0a0a 2020 2020 6465 6620 7265 706c 6163 .. def replac │ │ │ -000850a0: 655f 6368 696c 6428 7365 6c66 2c20 2a61 e_child(self, *a │ │ │ -000850b0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -000850c0: 2222 7265 706c 6163 655f 6368 696c 6428 ""replace_child( │ │ │ -000850d0: 466c 5f54 7265 655f 4974 656d 2073 656c Fl_Tree_Item sel │ │ │ -000850e0: 662c 2046 6c5f 5472 6565 5f49 7465 6d20 f, Fl_Tree_Item │ │ │ -000850f0: 6f6c 6469 7465 6d2c 2046 6c5f 5472 6565 olditem, Fl_Tree │ │ │ -00085100: 5f49 7465 6d20 6e65 7769 7465 6d29 202d _Item newitem) - │ │ │ -00085110: 3e20 466c 5f54 7265 655f 4974 656d 2222 > Fl_Tree_Item"" │ │ │ -00085120: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00085130: 205f 666c 746b 2e46 6c5f 5472 6565 5f49 _fltk.Fl_Tree_I │ │ │ -00085140: 7465 6d5f 7265 706c 6163 655f 6368 696c tem_replace_chil │ │ │ -00085150: 6428 7365 6c66 2c20 2a61 7267 7329 0a0a d(self, *args).. │ │ │ -00085160: 2020 2020 6465 6620 696e 7365 7274 2873 def insert(s │ │ │ -00085170: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00085180: 2020 2020 2072 2222 2269 6e73 6572 7428 r"""insert( │ │ │ -00085190: 466c 5f54 7265 655f 4974 656d 2073 656c Fl_Tree_Item sel │ │ │ -000851a0: 662c 2046 6c5f 5472 6565 5f50 7265 6673 f, Fl_Tree_Prefs │ │ │ -000851b0: 2070 7265 6673 2c20 6368 6172 2063 6f6e prefs, char con │ │ │ -000851c0: 7374 202a 206e 6577 5f6c 6162 656c 2c20 st * new_label, │ │ │ -000851d0: 696e 7420 706f 733d 3029 202d 3e20 466c int pos=0) -> Fl │ │ │ -000851e0: 5f54 7265 655f 4974 656d 2222 220a 2020 _Tree_Item""". │ │ │ -000851f0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00085200: 746b 2e46 6c5f 5472 6565 5f49 7465 6d5f tk.Fl_Tree_Item_ │ │ │ -00085210: 696e 7365 7274 2873 656c 662c 202a 6172 insert(self, *ar │ │ │ -00085220: 6773 290a 0a20 2020 2064 6566 2069 6e73 gs).. def ins │ │ │ -00085230: 6572 745f 6162 6f76 6528 7365 6c66 2c20 ert_above(self, │ │ │ -00085240: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00085250: 7222 2222 696e 7365 7274 5f61 626f 7665 r"""insert_above │ │ │ -00085260: 2846 6c5f 5472 6565 5f49 7465 6d20 7365 (Fl_Tree_Item se │ │ │ -00085270: 6c66 2c20 466c 5f54 7265 655f 5072 6566 lf, Fl_Tree_Pref │ │ │ -00085280: 7320 7072 6566 732c 2063 6861 7220 636f s prefs, char co │ │ │ -00085290: 6e73 7420 2a20 6e65 775f 6c61 6265 6c29 nst * new_label) │ │ │ -000852a0: 202d 3e20 466c 5f54 7265 655f 4974 656d -> Fl_Tree_Item │ │ │ -000852b0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -000852c0: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ -000852d0: 5f49 7465 6d5f 696e 7365 7274 5f61 626f _Item_insert_abo │ │ │ -000852e0: 7665 2873 656c 662c 202a 6172 6773 290a ve(self, *args). │ │ │ -000852f0: 0a20 2020 2064 6566 2064 6570 6172 656e . def deparen │ │ │ -00085300: 7428 7365 6c66 2c20 2a61 7267 7329 3a0a t(self, *args):. │ │ │ -00085310: 2020 2020 2020 2020 7222 2222 6465 7061 r"""depa │ │ │ -00085320: 7265 6e74 2846 6c5f 5472 6565 5f49 7465 rent(Fl_Tree_Ite │ │ │ -00085330: 6d20 7365 6c66 2c20 696e 7420 696e 6465 m self, int inde │ │ │ -00085340: 7829 202d 3e20 466c 5f54 7265 655f 4974 x) -> Fl_Tree_It │ │ │ -00085350: 656d 2222 220a 2020 2020 2020 2020 7265 em""". re │ │ │ -00085360: 7475 726e 205f 666c 746b 2e46 6c5f 5472 turn _fltk.Fl_Tr │ │ │ -00085370: 6565 5f49 7465 6d5f 6465 7061 7265 6e74 ee_Item_deparent │ │ │ -00085380: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -00085390: 2020 2064 6566 2072 6570 6172 656e 7428 def reparent( │ │ │ -000853a0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -000853b0: 2020 2020 2020 7222 2222 7265 7061 7265 r"""repare │ │ │ -000853c0: 6e74 2846 6c5f 5472 6565 5f49 7465 6d20 nt(Fl_Tree_Item │ │ │ -000853d0: 7365 6c66 2c20 466c 5f54 7265 655f 4974 self, Fl_Tree_It │ │ │ -000853e0: 656d 206e 6577 6368 696c 642c 2069 6e74 em newchild, int │ │ │ -000853f0: 2069 6e64 6578 2920 2d3e 2069 6e74 2222 index) -> int"" │ │ │ -00085400: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00085410: 205f 666c 746b 2e46 6c5f 5472 6565 5f49 _fltk.Fl_Tree_I │ │ │ -00085420: 7465 6d5f 7265 7061 7265 6e74 2873 656c tem_reparent(sel │ │ │ -00085430: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -00085440: 6566 206d 6f76 6528 7365 6c66 2c20 2a61 ef move(self, *a │ │ │ -00085450: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00085460: 2222 0a20 2020 2020 2020 206d 6f76 6528 "". move( │ │ │ -00085470: 466c 5f54 7265 655f 4974 656d 2073 656c Fl_Tree_Item sel │ │ │ -00085480: 662c 2069 6e74 2074 6f2c 2069 6e74 205f f, int to, int _ │ │ │ -00085490: 6672 6f6d 2920 2d3e 2069 6e74 0a20 2020 from) -> int. │ │ │ -000854a0: 2020 2020 206d 6f76 6528 466c 5f54 7265 move(Fl_Tre │ │ │ -000854b0: 655f 4974 656d 2073 656c 662c 2046 6c5f e_Item self, Fl_ │ │ │ -000854c0: 5472 6565 5f49 7465 6d20 6974 656d 2c20 Tree_Item item, │ │ │ -000854d0: 696e 7420 6f70 3d30 2c20 696e 7420 706f int op=0, int po │ │ │ -000854e0: 733d 3029 202d 3e20 696e 740a 2020 2020 s=0) -> int. │ │ │ -000854f0: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ -00085500: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00085510: 5472 6565 5f49 7465 6d5f 6d6f 7665 2873 Tree_Item_move(s │ │ │ -00085520: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -00085530: 2064 6566 206d 6f76 655f 6162 6f76 6528 def move_above( │ │ │ -00085540: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -00085550: 2020 2020 2020 7222 2222 6d6f 7665 5f61 r"""move_a │ │ │ -00085560: 626f 7665 2846 6c5f 5472 6565 5f49 7465 bove(Fl_Tree_Ite │ │ │ -00085570: 6d20 7365 6c66 2c20 466c 5f54 7265 655f m self, Fl_Tree_ │ │ │ -00085580: 4974 656d 2069 7465 6d29 202d 3e20 696e Item item) -> in │ │ │ -00085590: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ -000855a0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ -000855b0: 655f 4974 656d 5f6d 6f76 655f 6162 6f76 e_Item_move_abov │ │ │ -000855c0: 6528 7365 6c66 2c20 2a61 7267 7329 0a0a e(self, *args).. │ │ │ -000855d0: 2020 2020 6465 6620 6d6f 7665 5f62 656c def move_bel │ │ │ -000855e0: 6f77 2873 656c 662c 202a 6172 6773 293a ow(self, *args): │ │ │ -000855f0: 0a20 2020 2020 2020 2072 2222 226d 6f76 . r"""mov │ │ │ -00085600: 655f 6265 6c6f 7728 466c 5f54 7265 655f e_below(Fl_Tree_ │ │ │ -00085610: 4974 656d 2073 656c 662c 2046 6c5f 5472 Item self, Fl_Tr │ │ │ -00085620: 6565 5f49 7465 6d20 6974 656d 2920 2d3e ee_Item item) -> │ │ │ -00085630: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ -00085640: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00085650: 5472 6565 5f49 7465 6d5f 6d6f 7665 5f62 Tree_Item_move_b │ │ │ -00085660: 656c 6f77 2873 656c 662c 202a 6172 6773 elow(self, *args │ │ │ -00085670: 290a 0a20 2020 2064 6566 206d 6f76 655f ).. def move_ │ │ │ -00085680: 696e 746f 2873 656c 662c 202a 6172 6773 into(self, *args │ │ │ -00085690: 293a 0a20 2020 2020 2020 2072 2222 226d ):. r"""m │ │ │ -000856a0: 6f76 655f 696e 746f 2846 6c5f 5472 6565 ove_into(Fl_Tree │ │ │ -000856b0: 5f49 7465 6d20 7365 6c66 2c20 466c 5f54 _Item self, Fl_T │ │ │ -000856c0: 7265 655f 4974 656d 2069 7465 6d2c 2069 ree_Item item, i │ │ │ -000856d0: 6e74 2070 6f73 3d30 2920 2d3e 2069 6e74 nt pos=0) -> int │ │ │ -000856e0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -000856f0: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ -00085700: 5f49 7465 6d5f 6d6f 7665 5f69 6e74 6f28 _Item_move_into( │ │ │ -00085710: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -00085720: 2020 6465 6620 6465 7074 6828 7365 6c66 def depth(self │ │ │ -00085730: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -00085740: 2020 7222 2222 6465 7074 6828 466c 5f54 r"""depth(Fl_T │ │ │ -00085750: 7265 655f 4974 656d 2073 656c 6629 202d ree_Item self) - │ │ │ -00085760: 3e20 696e 7422 2222 0a20 2020 2020 2020 > int""". │ │ │ -00085770: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -00085780: 5f54 7265 655f 4974 656d 5f64 6570 7468 _Tree_Item_depth │ │ │ -00085790: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -000857a0: 2020 2064 6566 2070 7265 7628 7365 6c66 def prev(self │ │ │ -000857b0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -000857c0: 2020 7222 2222 7072 6576 2846 6c5f 5472 r"""prev(Fl_Tr │ │ │ -000857d0: 6565 5f49 7465 6d20 7365 6c66 2920 2d3e ee_Item self) -> │ │ │ -000857e0: 2046 6c5f 5472 6565 5f49 7465 6d22 2222 Fl_Tree_Item""" │ │ │ -000857f0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00085800: 5f66 6c74 6b2e 466c 5f54 7265 655f 4974 _fltk.Fl_Tree_It │ │ │ -00085810: 656d 5f70 7265 7628 7365 6c66 2c20 2a61 em_prev(self, *a │ │ │ -00085820: 7267 7329 0a0a 2020 2020 6465 6620 6e65 rgs).. def ne │ │ │ -00085830: 7874 2873 656c 662c 202a 6172 6773 293a xt(self, *args): │ │ │ -00085840: 0a20 2020 2020 2020 2072 2222 226e 6578 . r"""nex │ │ │ -00085850: 7428 466c 5f54 7265 655f 4974 656d 2073 t(Fl_Tree_Item s │ │ │ -00085860: 656c 6629 202d 3e20 466c 5f54 7265 655f elf) -> Fl_Tree_ │ │ │ -00085870: 4974 656d 2222 220a 2020 2020 2020 2020 Item""". │ │ │ -00085880: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00085890: 5472 6565 5f49 7465 6d5f 6e65 7874 2873 Tree_Item_next(s │ │ │ -000858a0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -000858b0: 2064 6566 206e 6578 745f 7369 626c 696e def next_siblin │ │ │ -000858c0: 6728 7365 6c66 2c20 2a61 7267 7329 3a0a g(self, *args):. │ │ │ -000858d0: 2020 2020 2020 2020 7222 2222 6e65 7874 r"""next │ │ │ -000858e0: 5f73 6962 6c69 6e67 2846 6c5f 5472 6565 _sibling(Fl_Tree │ │ │ -000858f0: 5f49 7465 6d20 7365 6c66 2920 2d3e 2046 _Item self) -> F │ │ │ -00085900: 6c5f 5472 6565 5f49 7465 6d22 2222 0a20 l_Tree_Item""". │ │ │ -00085910: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -00085920: 6c74 6b2e 466c 5f54 7265 655f 4974 656d ltk.Fl_Tree_Item │ │ │ -00085930: 5f6e 6578 745f 7369 626c 696e 6728 7365 _next_sibling(se │ │ │ -00085940: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -00085950: 6465 6620 7072 6576 5f73 6962 6c69 6e67 def prev_sibling │ │ │ -00085960: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -00085970: 2020 2020 2020 2072 2222 2270 7265 765f r"""prev_ │ │ │ -00085980: 7369 626c 696e 6728 466c 5f54 7265 655f sibling(Fl_Tree_ │ │ │ -00085990: 4974 656d 2073 656c 6629 202d 3e20 466c Item self) -> Fl │ │ │ -000859a0: 5f54 7265 655f 4974 656d 2222 220a 2020 _Tree_Item""". │ │ │ -000859b0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -000859c0: 746b 2e46 6c5f 5472 6565 5f49 7465 6d5f tk.Fl_Tree_Item_ │ │ │ -000859d0: 7072 6576 5f73 6962 6c69 6e67 2873 656c prev_sibling(sel │ │ │ -000859e0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -000859f0: 6566 2075 7064 6174 655f 7072 6576 5f6e ef update_prev_n │ │ │ -00085a00: 6578 7428 7365 6c66 2c20 2a61 7267 7329 ext(self, *args) │ │ │ -00085a10: 3a0a 2020 2020 2020 2020 7222 2222 7570 :. r"""up │ │ │ -00085a20: 6461 7465 5f70 7265 765f 6e65 7874 2846 date_prev_next(F │ │ │ -00085a30: 6c5f 5472 6565 5f49 7465 6d20 7365 6c66 l_Tree_Item self │ │ │ -00085a40: 2c20 696e 7420 696e 6465 7829 2222 220a , int index)""". │ │ │ -00085a50: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00085a60: 666c 746b 2e46 6c5f 5472 6565 5f49 7465 fltk.Fl_Tree_Ite │ │ │ -00085a70: 6d5f 7570 6461 7465 5f70 7265 765f 6e65 m_update_prev_ne │ │ │ -00085a80: 7874 2873 656c 662c 202a 6172 6773 290a xt(self, *args). │ │ │ -00085a90: 0a20 2020 2064 6566 206e 6578 745f 6469 . def next_di │ │ │ -00085aa0: 7370 6c61 7965 6428 7365 6c66 2c20 2a61 splayed(self, *a │ │ │ -00085ab0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00085ac0: 2222 6e65 7874 5f64 6973 706c 6179 6564 ""next_displayed │ │ │ -00085ad0: 2846 6c5f 5472 6565 5f49 7465 6d20 7365 (Fl_Tree_Item se │ │ │ -00085ae0: 6c66 2c20 466c 5f54 7265 655f 5072 6566 lf, Fl_Tree_Pref │ │ │ -00085af0: 7320 7072 6566 7329 202d 3e20 466c 5f54 s prefs) -> Fl_T │ │ │ -00085b00: 7265 655f 4974 656d 2222 220a 2020 2020 ree_Item""". │ │ │ -00085b10: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00085b20: 2e46 6c5f 5472 6565 5f49 7465 6d5f 6e65 .Fl_Tree_Item_ne │ │ │ -00085b30: 7874 5f64 6973 706c 6179 6564 2873 656c xt_displayed(sel │ │ │ -00085b40: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -00085b50: 6566 2070 7265 765f 6469 7370 6c61 7965 ef prev_displaye │ │ │ -00085b60: 6428 7365 6c66 2c20 2a61 7267 7329 3a0a d(self, *args):. │ │ │ -00085b70: 2020 2020 2020 2020 7222 2222 7072 6576 r"""prev │ │ │ -00085b80: 5f64 6973 706c 6179 6564 2846 6c5f 5472 _displayed(Fl_Tr │ │ │ -00085b90: 6565 5f49 7465 6d20 7365 6c66 2c20 466c ee_Item self, Fl │ │ │ -00085ba0: 5f54 7265 655f 5072 6566 7320 7072 6566 _Tree_Prefs pref │ │ │ -00085bb0: 7329 202d 3e20 466c 5f54 7265 655f 4974 s) -> Fl_Tree_It │ │ │ -00085bc0: 656d 2222 220a 2020 2020 2020 2020 7265 em""". re │ │ │ -00085bd0: 7475 726e 205f 666c 746b 2e46 6c5f 5472 turn _fltk.Fl_Tr │ │ │ -00085be0: 6565 5f49 7465 6d5f 7072 6576 5f64 6973 ee_Item_prev_dis │ │ │ -00085bf0: 706c 6179 6564 2873 656c 662c 202a 6172 played(self, *ar │ │ │ -00085c00: 6773 290a 0a20 2020 2064 6566 206e 6578 gs).. def nex │ │ │ -00085c10: 745f 7669 7369 626c 6528 7365 6c66 2c20 t_visible(self, │ │ │ -00085c20: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00085c30: 7222 2222 6e65 7874 5f76 6973 6962 6c65 r"""next_visible │ │ │ -00085c40: 2846 6c5f 5472 6565 5f49 7465 6d20 7365 (Fl_Tree_Item se │ │ │ -00085c50: 6c66 2c20 466c 5f54 7265 655f 5072 6566 lf, Fl_Tree_Pref │ │ │ -00085c60: 7320 7072 6566 7329 202d 3e20 466c 5f54 s prefs) -> Fl_T │ │ │ -00085c70: 7265 655f 4974 656d 2222 220a 2020 2020 ree_Item""". │ │ │ -00085c80: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00085c90: 2e46 6c5f 5472 6565 5f49 7465 6d5f 6e65 .Fl_Tree_Item_ne │ │ │ -00085ca0: 7874 5f76 6973 6962 6c65 2873 656c 662c xt_visible(self, │ │ │ -00085cb0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00085cc0: 2070 7265 765f 7669 7369 626c 6528 7365 prev_visible(se │ │ │ -00085cd0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -00085ce0: 2020 2020 7222 2222 7072 6576 5f76 6973 r"""prev_vis │ │ │ -00085cf0: 6962 6c65 2846 6c5f 5472 6565 5f49 7465 ible(Fl_Tree_Ite │ │ │ -00085d00: 6d20 7365 6c66 2c20 466c 5f54 7265 655f m self, Fl_Tree_ │ │ │ -00085d10: 5072 6566 7320 7072 6566 7329 202d 3e20 Prefs prefs) -> │ │ │ -00085d20: 466c 5f54 7265 655f 4974 656d 2222 220a Fl_Tree_Item""". │ │ │ -00085d30: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00085d40: 666c 746b 2e46 6c5f 5472 6565 5f49 7465 fltk.Fl_Tree_Ite │ │ │ -00085d50: 6d5f 7072 6576 5f76 6973 6962 6c65 2873 m_prev_visible(s │ │ │ -00085d60: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -00085d70: 2064 6566 2070 6172 656e 7428 7365 6c66 def parent(self │ │ │ -00085d80: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -00085d90: 2020 7222 2222 0a20 2020 2020 2020 2070 r""". p │ │ │ -00085da0: 6172 656e 7428 466c 5f54 7265 655f 4974 arent(Fl_Tree_It │ │ │ -00085db0: 656d 2073 656c 6629 202d 3e20 466c 5f54 em self) -> Fl_T │ │ │ -00085dc0: 7265 655f 4974 656d 0a20 2020 2020 2020 ree_Item. │ │ │ -00085dd0: 2070 6172 656e 7428 466c 5f54 7265 655f parent(Fl_Tree_ │ │ │ -00085de0: 4974 656d 2073 656c 6629 202d 3e20 466c Item self) -> Fl │ │ │ -00085df0: 5f54 7265 655f 4974 656d 0a20 2020 2020 _Tree_Item. │ │ │ -00085e00: 2020 2070 6172 656e 7428 466c 5f54 7265 parent(Fl_Tre │ │ │ -00085e10: 655f 4974 656d 2073 656c 662c 2046 6c5f e_Item self, Fl_ │ │ │ -00085e20: 5472 6565 5f49 7465 6d20 7661 6c29 0a20 Tree_Item val). │ │ │ -00085e30: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ -00085e40: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00085e50: 466c 5f54 7265 655f 4974 656d 5f70 6172 Fl_Tree_Item_par │ │ │ -00085e60: 656e 7428 7365 6c66 2c20 2a61 7267 7329 ent(self, *args) │ │ │ -00085e70: 0a0a 2020 2020 6465 6620 7072 6566 7328 .. def prefs( │ │ │ -00085e80: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -00085e90: 2020 2020 2020 7222 2222 7072 6566 7328 r"""prefs( │ │ │ -00085ea0: 466c 5f54 7265 655f 4974 656d 2073 656c Fl_Tree_Item sel │ │ │ -00085eb0: 6629 202d 3e20 466c 5f54 7265 655f 5072 f) -> Fl_Tree_Pr │ │ │ -00085ec0: 6566 7322 2222 0a20 2020 2020 2020 2072 efs""". r │ │ │ -00085ed0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -00085ee0: 7265 655f 4974 656d 5f70 7265 6673 2873 ree_Item_prefs(s │ │ │ -00085ef0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -00085f00: 2064 6566 2074 7265 6528 7365 6c66 2c20 def tree(self, │ │ │ -00085f10: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00085f20: 7222 2222 0a20 2020 2020 2020 2074 7265 r""". tre │ │ │ -00085f30: 6528 466c 5f54 7265 655f 4974 656d 2073 e(Fl_Tree_Item s │ │ │ -00085f40: 656c 6629 202d 3e20 466c 5f54 7265 650a elf) -> Fl_Tree. │ │ │ -00085f50: 2020 2020 2020 2020 7472 6565 2846 6c5f tree(Fl_ │ │ │ -00085f60: 5472 6565 5f49 7465 6d20 7365 6c66 2920 Tree_Item self) │ │ │ -00085f70: 2d3e 2046 6c5f 5472 6565 0a20 2020 2020 -> Fl_Tree. │ │ │ -00085f80: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ -00085f90: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -00085fa0: 7265 655f 4974 656d 5f74 7265 6528 7365 ree_Item_tree(se │ │ │ -00085fb0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -00085fc0: 6465 6620 6f70 656e 2873 656c 662c 202a def open(self, * │ │ │ -00085fd0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00085fe0: 2222 226f 7065 6e28 466c 5f54 7265 655f """open(Fl_Tree_ │ │ │ -00085ff0: 4974 656d 2073 656c 6629 2222 220a 2020 Item self)""". │ │ │ -00086000: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00086010: 746b 2e46 6c5f 5472 6565 5f49 7465 6d5f tk.Fl_Tree_Item_ │ │ │ -00086020: 6f70 656e 2873 656c 662c 202a 6172 6773 open(self, *args │ │ │ -00086030: 290a 0a20 2020 2064 6566 2063 6c6f 7365 ).. def close │ │ │ -00086040: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -00086050: 2020 2020 2020 2072 2222 2263 6c6f 7365 r"""close │ │ │ -00086060: 2846 6c5f 5472 6565 5f49 7465 6d20 7365 (Fl_Tree_Item se │ │ │ -00086070: 6c66 2922 2222 0a20 2020 2020 2020 2072 lf)""". r │ │ │ -00086080: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -00086090: 7265 655f 4974 656d 5f63 6c6f 7365 2873 ree_Item_close(s │ │ │ -000860a0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -000860b0: 2064 6566 2069 735f 6f70 656e 2873 656c def is_open(sel │ │ │ -000860c0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -000860d0: 2020 2072 2222 2269 735f 6f70 656e 2846 r"""is_open(F │ │ │ -000860e0: 6c5f 5472 6565 5f49 7465 6d20 7365 6c66 l_Tree_Item self │ │ │ -000860f0: 2920 2d3e 2069 6e74 2222 220a 2020 2020 ) -> int""". │ │ │ -00086100: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00086110: 2e46 6c5f 5472 6565 5f49 7465 6d5f 6973 .Fl_Tree_Item_is │ │ │ -00086120: 5f6f 7065 6e28 7365 6c66 2c20 2a61 7267 _open(self, *arg │ │ │ -00086130: 7329 0a0a 2020 2020 6465 6620 6973 5f63 s).. def is_c │ │ │ -00086140: 6c6f 7365 2873 656c 662c 202a 6172 6773 lose(self, *args │ │ │ -00086150: 293a 0a20 2020 2020 2020 2072 2222 2269 ):. r"""i │ │ │ -00086160: 735f 636c 6f73 6528 466c 5f54 7265 655f s_close(Fl_Tree_ │ │ │ -00086170: 4974 656d 2073 656c 6629 202d 3e20 696e Item self) -> in │ │ │ -00086180: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ -00086190: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ -000861a0: 655f 4974 656d 5f69 735f 636c 6f73 6528 e_Item_is_close( │ │ │ -000861b0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -000861c0: 2020 6465 6620 6f70 656e 5f74 6f67 676c def open_toggl │ │ │ -000861d0: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ -000861e0: 2020 2020 2020 2020 7222 2222 6f70 656e r"""open │ │ │ -000861f0: 5f74 6f67 676c 6528 466c 5f54 7265 655f _toggle(Fl_Tree_ │ │ │ -00086200: 4974 656d 2073 656c 6629 2222 220a 2020 Item self)""". │ │ │ -00086210: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00086220: 746b 2e46 6c5f 5472 6565 5f49 7465 6d5f tk.Fl_Tree_Item_ │ │ │ -00086230: 6f70 656e 5f74 6f67 676c 6528 7365 6c66 open_toggle(self │ │ │ -00086240: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -00086250: 6620 7365 6c65 6374 2873 656c 662c 202a f select(self, * │ │ │ -00086260: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00086270: 2222 2273 656c 6563 7428 466c 5f54 7265 """select(Fl_Tre │ │ │ -00086280: 655f 4974 656d 2073 656c 662c 2069 6e74 e_Item self, int │ │ │ -00086290: 2076 616c 3d31 2922 2222 0a20 2020 2020 val=1)""". │ │ │ -000862a0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -000862b0: 466c 5f54 7265 655f 4974 656d 5f73 656c Fl_Tree_Item_sel │ │ │ -000862c0: 6563 7428 7365 6c66 2c20 2a61 7267 7329 ect(self, *args) │ │ │ -000862d0: 0a0a 2020 2020 6465 6620 7365 6c65 6374 .. def select │ │ │ -000862e0: 5f74 6f67 676c 6528 7365 6c66 2c20 2a61 _toggle(self, *a │ │ │ -000862f0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00086300: 2222 7365 6c65 6374 5f74 6f67 676c 6528 ""select_toggle( │ │ │ -00086310: 466c 5f54 7265 655f 4974 656d 2073 656c Fl_Tree_Item sel │ │ │ -00086320: 6629 2222 220a 2020 2020 2020 2020 7265 f)""". re │ │ │ -00086330: 7475 726e 205f 666c 746b 2e46 6c5f 5472 turn _fltk.Fl_Tr │ │ │ -00086340: 6565 5f49 7465 6d5f 7365 6c65 6374 5f74 ee_Item_select_t │ │ │ -00086350: 6f67 676c 6528 7365 6c66 2c20 2a61 7267 oggle(self, *arg │ │ │ -00086360: 7329 0a0a 2020 2020 6465 6620 7365 6c65 s).. def sele │ │ │ -00086370: 6374 5f61 6c6c 2873 656c 662c 202a 6172 ct_all(self, *ar │ │ │ -00086380: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -00086390: 2273 656c 6563 745f 616c 6c28 466c 5f54 "select_all(Fl_T │ │ │ -000863a0: 7265 655f 4974 656d 2073 656c 6629 202d ree_Item self) - │ │ │ -000863b0: 3e20 696e 7422 2222 0a20 2020 2020 2020 > int""". │ │ │ -000863c0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -000863d0: 5f54 7265 655f 4974 656d 5f73 656c 6563 _Tree_Item_selec │ │ │ -000863e0: 745f 616c 6c28 7365 6c66 2c20 2a61 7267 t_all(self, *arg │ │ │ -000863f0: 7329 0a0a 2020 2020 6465 6620 6465 7365 s).. def dese │ │ │ -00086400: 6c65 6374 2873 656c 662c 202a 6172 6773 lect(self, *args │ │ │ -00086410: 293a 0a20 2020 2020 2020 2072 2222 2264 ):. r"""d │ │ │ -00086420: 6573 656c 6563 7428 466c 5f54 7265 655f eselect(Fl_Tree_ │ │ │ -00086430: 4974 656d 2073 656c 6629 2222 220a 2020 Item self)""". │ │ │ -00086440: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00086450: 746b 2e46 6c5f 5472 6565 5f49 7465 6d5f tk.Fl_Tree_Item_ │ │ │ -00086460: 6465 7365 6c65 6374 2873 656c 662c 202a deselect(self, * │ │ │ -00086470: 6172 6773 290a 0a20 2020 2064 6566 2064 args).. def d │ │ │ -00086480: 6573 656c 6563 745f 616c 6c28 7365 6c66 eselect_all(self │ │ │ -00086490: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -000864a0: 2020 7222 2222 6465 7365 6c65 6374 5f61 r"""deselect_a │ │ │ -000864b0: 6c6c 2846 6c5f 5472 6565 5f49 7465 6d20 ll(Fl_Tree_Item │ │ │ -000864c0: 7365 6c66 2920 2d3e 2069 6e74 2222 220a self) -> int""". │ │ │ -000864d0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -000864e0: 666c 746b 2e46 6c5f 5472 6565 5f49 7465 fltk.Fl_Tree_Ite │ │ │ -000864f0: 6d5f 6465 7365 6c65 6374 5f61 6c6c 2873 m_deselect_all(s │ │ │ -00086500: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -00086510: 2064 6566 2069 735f 7365 6c65 6374 6564 def is_selected │ │ │ -00086520: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -00086530: 2020 2020 2020 2072 2222 2269 735f 7365 r"""is_se │ │ │ -00086540: 6c65 6374 6564 2846 6c5f 5472 6565 5f49 lected(Fl_Tree_I │ │ │ -00086550: 7465 6d20 7365 6c66 2920 2d3e 2063 6861 tem self) -> cha │ │ │ -00086560: 7222 2222 0a20 2020 2020 2020 2072 6574 r""". ret │ │ │ -00086570: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ -00086580: 655f 4974 656d 5f69 735f 7365 6c65 6374 e_Item_is_select │ │ │ -00086590: 6564 2873 656c 662c 202a 6172 6773 290a ed(self, *args). │ │ │ -000865a0: 0a20 2020 2064 6566 2061 6374 6976 6174 . def activat │ │ │ -000865b0: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ -000865c0: 2020 2020 2020 2020 7222 2222 6163 7469 r"""acti │ │ │ -000865d0: 7661 7465 2846 6c5f 5472 6565 5f49 7465 vate(Fl_Tree_Ite │ │ │ -000865e0: 6d20 7365 6c66 2c20 696e 7420 7661 6c3d m self, int val= │ │ │ -000865f0: 3129 2222 220a 2020 2020 2020 2020 7265 1)""". re │ │ │ -00086600: 7475 726e 205f 666c 746b 2e46 6c5f 5472 turn _fltk.Fl_Tr │ │ │ -00086610: 6565 5f49 7465 6d5f 6163 7469 7661 7465 ee_Item_activate │ │ │ -00086620: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -00086630: 2020 2064 6566 2064 6561 6374 6976 6174 def deactivat │ │ │ -00086640: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ -00086650: 2020 2020 2020 2020 7222 2222 6465 6163 r"""deac │ │ │ -00086660: 7469 7661 7465 2846 6c5f 5472 6565 5f49 tivate(Fl_Tree_I │ │ │ -00086670: 7465 6d20 7365 6c66 2922 2222 0a20 2020 tem self)""". │ │ │ -00086680: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -00086690: 6b2e 466c 5f54 7265 655f 4974 656d 5f64 k.Fl_Tree_Item_d │ │ │ -000866a0: 6561 6374 6976 6174 6528 7365 6c66 2c20 eactivate(self, │ │ │ -000866b0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -000866c0: 6973 5f61 6374 6976 6174 6564 2873 656c is_activated(sel │ │ │ -000866d0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -000866e0: 2020 2072 2222 2269 735f 6163 7469 7661 r"""is_activa │ │ │ -000866f0: 7465 6428 466c 5f54 7265 655f 4974 656d ted(Fl_Tree_Item │ │ │ -00086700: 2073 656c 6629 202d 3e20 6368 6172 2222 self) -> char"" │ │ │ -00086710: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00086720: 205f 666c 746b 2e46 6c5f 5472 6565 5f49 _fltk.Fl_Tree_I │ │ │ -00086730: 7465 6d5f 6973 5f61 6374 6976 6174 6564 tem_is_activated │ │ │ -00086740: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -00086750: 2020 2064 6566 2069 735f 6163 7469 7665 def is_active │ │ │ -00086760: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -00086770: 2020 2020 2020 2072 2222 2269 735f 6163 r"""is_ac │ │ │ -00086780: 7469 7665 2846 6c5f 5472 6565 5f49 7465 tive(Fl_Tree_Ite │ │ │ -00086790: 6d20 7365 6c66 2920 2d3e 2063 6861 7222 m self) -> char" │ │ │ -000867a0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -000867b0: 6e20 5f66 6c74 6b2e 466c 5f54 7265 655f n _fltk.Fl_Tree_ │ │ │ -000867c0: 4974 656d 5f69 735f 6163 7469 7665 2873 Item_is_active(s │ │ │ -000867d0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -000867e0: 2064 6566 2076 6973 6962 6c65 2873 656c def visible(sel │ │ │ -000867f0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00086800: 2020 2072 2222 2276 6973 6962 6c65 2846 r"""visible(F │ │ │ -00086810: 6c5f 5472 6565 5f49 7465 6d20 7365 6c66 l_Tree_Item self │ │ │ -00086820: 2920 2d3e 2069 6e74 2222 220a 2020 2020 ) -> int""". │ │ │ -00086830: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00086840: 2e46 6c5f 5472 6565 5f49 7465 6d5f 7669 .Fl_Tree_Item_vi │ │ │ -00086850: 7369 626c 6528 7365 6c66 2c20 2a61 7267 sible(self, *arg │ │ │ -00086860: 7329 0a0a 2020 2020 6465 6620 6973 5f76 s).. def is_v │ │ │ -00086870: 6973 6962 6c65 2873 656c 662c 202a 6172 isible(self, *ar │ │ │ -00086880: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -00086890: 2269 735f 7669 7369 626c 6528 466c 5f54 "is_visible(Fl_T │ │ │ -000868a0: 7265 655f 4974 656d 2073 656c 6629 202d ree_Item self) - │ │ │ -000868b0: 3e20 696e 7422 2222 0a20 2020 2020 2020 > int""". │ │ │ -000868c0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -000868d0: 5f54 7265 655f 4974 656d 5f69 735f 7669 _Tree_Item_is_vi │ │ │ -000868e0: 7369 626c 6528 7365 6c66 2c20 2a61 7267 sible(self, *arg │ │ │ -000868f0: 7329 0a0a 2020 2020 6465 6620 7669 7369 s).. def visi │ │ │ -00086900: 626c 655f 7228 7365 6c66 2c20 2a61 7267 ble_r(self, *arg │ │ │ -00086910: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -00086920: 7669 7369 626c 655f 7228 466c 5f54 7265 visible_r(Fl_Tre │ │ │ -00086930: 655f 4974 656d 2073 656c 6629 202d 3e20 e_Item self) -> │ │ │ -00086940: 696e 7422 2222 0a20 2020 2020 2020 2072 int""". r │ │ │ -00086950: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -00086960: 7265 655f 4974 656d 5f76 6973 6962 6c65 ree_Item_visible │ │ │ -00086970: 5f72 2873 656c 662c 202a 6172 6773 290a _r(self, *args). │ │ │ -00086980: 0a20 2020 2064 6566 2069 735f 7669 7369 . def is_visi │ │ │ -00086990: 626c 655f 7228 7365 6c66 2c20 2a61 7267 ble_r(self, *arg │ │ │ -000869a0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -000869b0: 6973 5f76 6973 6962 6c65 5f72 2846 6c5f is_visible_r(Fl_ │ │ │ -000869c0: 5472 6565 5f49 7465 6d20 7365 6c66 2920 Tree_Item self) │ │ │ -000869d0: 2d3e 2069 6e74 2222 220a 2020 2020 2020 -> int""". │ │ │ -000869e0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -000869f0: 6c5f 5472 6565 5f49 7465 6d5f 6973 5f76 l_Tree_Item_is_v │ │ │ -00086a00: 6973 6962 6c65 5f72 2873 656c 662c 202a isible_r(self, * │ │ │ -00086a10: 6172 6773 290a 0a20 2020 2064 6566 2075 args).. def u │ │ │ -00086a20: 7365 7269 636f 6e28 7365 6c66 2c20 2a61 sericon(self, *a │ │ │ -00086a30: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00086a40: 2222 0a20 2020 2020 2020 2075 7365 7269 "". useri │ │ │ -00086a50: 636f 6e28 466c 5f54 7265 655f 4974 656d con(Fl_Tree_Item │ │ │ -00086a60: 2073 656c 662c 2046 6c5f 496d 6167 6520 self, Fl_Image │ │ │ -00086a70: 7661 6c29 0a20 2020 2020 2020 2075 7365 val). use │ │ │ -00086a80: 7269 636f 6e28 466c 5f54 7265 655f 4974 ricon(Fl_Tree_It │ │ │ -00086a90: 656d 2073 656c 6629 202d 3e20 466c 5f49 em self) -> Fl_I │ │ │ -00086aa0: 6d61 6765 0a20 2020 2020 2020 2022 2222 mage. """ │ │ │ -00086ab0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00086ac0: 5f66 6c74 6b2e 466c 5f54 7265 655f 4974 _fltk.Fl_Tree_It │ │ │ -00086ad0: 656d 5f75 7365 7269 636f 6e28 7365 6c66 em_usericon(self │ │ │ -00086ae0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -00086af0: 6620 7573 6572 6465 6963 6f6e 2873 656c f userdeicon(sel │ │ │ -00086b00: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00086b10: 2020 2072 2222 220a 2020 2020 2020 2020 r""". │ │ │ -00086b20: 7573 6572 6465 6963 6f6e 2846 6c5f 5472 userdeicon(Fl_Tr │ │ │ -00086b30: 6565 5f49 7465 6d20 7365 6c66 2c20 466c ee_Item self, Fl │ │ │ -00086b40: 5f49 6d61 6765 2076 616c 290a 2020 2020 _Image val). │ │ │ -00086b50: 2020 2020 7573 6572 6465 6963 6f6e 2846 userdeicon(F │ │ │ -00086b60: 6c5f 5472 6565 5f49 7465 6d20 7365 6c66 l_Tree_Item self │ │ │ -00086b70: 2920 2d3e 2046 6c5f 496d 6167 650a 2020 ) -> Fl_Image. │ │ │ -00086b80: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ -00086b90: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -00086ba0: 6c5f 5472 6565 5f49 7465 6d5f 7573 6572 l_Tree_Item_user │ │ │ -00086bb0: 6465 6963 6f6e 2873 656c 662c 202a 6172 deicon(self, *ar │ │ │ -00086bc0: 6773 290a 0a20 2020 2064 6566 2066 696e gs).. def fin │ │ │ -00086bd0: 645f 636c 6963 6b65 6428 7365 6c66 2c20 d_clicked(self, │ │ │ -00086be0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00086bf0: 7222 2222 0a20 2020 2020 2020 2066 696e r""". fin │ │ │ -00086c00: 645f 636c 6963 6b65 6428 466c 5f54 7265 d_clicked(Fl_Tre │ │ │ -00086c10: 655f 4974 656d 2073 656c 662c 2046 6c5f e_Item self, Fl_ │ │ │ -00086c20: 5472 6565 5f50 7265 6673 2070 7265 6673 Tree_Prefs prefs │ │ │ -00086c30: 2c20 696e 7420 796f 6e6c 793d 3029 202d , int yonly=0) - │ │ │ -00086c40: 3e20 466c 5f54 7265 655f 4974 656d 0a20 > Fl_Tree_Item. │ │ │ -00086c50: 2020 2020 2020 2066 696e 645f 636c 6963 find_clic │ │ │ -00086c60: 6b65 6428 466c 5f54 7265 655f 4974 656d ked(Fl_Tree_Item │ │ │ -00086c70: 2073 656c 662c 2046 6c5f 5472 6565 5f50 self, Fl_Tree_P │ │ │ -00086c80: 7265 6673 2070 7265 6673 2c20 696e 7420 refs prefs, int │ │ │ -00086c90: 796f 6e6c 793d 3029 202d 3e20 466c 5f54 yonly=0) -> Fl_T │ │ │ -00086ca0: 7265 655f 4974 656d 0a20 2020 2020 2020 ree_Item. │ │ │ -00086cb0: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ -00086cc0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ -00086cd0: 655f 4974 656d 5f66 696e 645f 636c 6963 e_Item_find_clic │ │ │ -00086ce0: 6b65 6428 7365 6c66 2c20 2a61 7267 7329 ked(self, *args) │ │ │ -00086cf0: 0a0a 2020 2020 6465 6620 6576 656e 745f .. def event_ │ │ │ -00086d00: 6f6e 5f69 7465 6d28 7365 6c66 2c20 2a61 on_item(self, *a │ │ │ -00086d10: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00086d20: 2222 6576 656e 745f 6f6e 5f69 7465 6d28 ""event_on_item( │ │ │ -00086d30: 466c 5f54 7265 655f 4974 656d 2073 656c Fl_Tree_Item sel │ │ │ -00086d40: 662c 2046 6c5f 5472 6565 5f50 7265 6673 f, Fl_Tree_Prefs │ │ │ -00086d50: 2070 7265 6673 2920 2d3e 2069 6e74 2222 prefs) -> int"" │ │ │ -00086d60: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00086d70: 205f 666c 746b 2e46 6c5f 5472 6565 5f49 _fltk.Fl_Tree_I │ │ │ -00086d80: 7465 6d5f 6576 656e 745f 6f6e 5f69 7465 tem_event_on_ite │ │ │ -00086d90: 6d28 7365 6c66 2c20 2a61 7267 7329 0a0a m(self, *args).. │ │ │ -00086da0: 2020 2020 6465 6620 6576 656e 745f 6f6e def event_on │ │ │ -00086db0: 5f63 6f6c 6c61 7073 655f 6963 6f6e 2873 _collapse_icon(s │ │ │ -00086dc0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00086dd0: 2020 2020 2072 2222 2265 7665 6e74 5f6f r"""event_o │ │ │ -00086de0: 6e5f 636f 6c6c 6170 7365 5f69 636f 6e28 n_collapse_icon( │ │ │ -00086df0: 466c 5f54 7265 655f 4974 656d 2073 656c Fl_Tree_Item sel │ │ │ -00086e00: 662c 2046 6c5f 5472 6565 5f50 7265 6673 f, Fl_Tree_Prefs │ │ │ -00086e10: 2070 7265 6673 2920 2d3e 2069 6e74 2222 prefs) -> int"" │ │ │ -00086e20: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00086e30: 205f 666c 746b 2e46 6c5f 5472 6565 5f49 _fltk.Fl_Tree_I │ │ │ -00086e40: 7465 6d5f 6576 656e 745f 6f6e 5f63 6f6c tem_event_on_col │ │ │ -00086e50: 6c61 7073 655f 6963 6f6e 2873 656c 662c lapse_icon(self, │ │ │ -00086e60: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00086e70: 2065 7665 6e74 5f6f 6e5f 7573 6572 5f69 event_on_user_i │ │ │ -00086e80: 636f 6e28 7365 6c66 2c20 2a61 7267 7329 con(self, *args) │ │ │ -00086e90: 3a0a 2020 2020 2020 2020 7222 2222 6576 :. r"""ev │ │ │ +000810d0: 290a 0a20 2020 2064 6566 206f 7065 6e63 ).. def openc │ │ │ +000810e0: 6869 6c64 5f6d 6172 6769 6e62 6f74 746f hild_marginbotto │ │ │ +000810f0: 6d28 7365 6c66 2c20 2a61 7267 7329 3a0a m(self, *args):. │ │ │ +00081100: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ +00081110: 2020 2020 206f 7065 6e63 6869 6c64 5f6d openchild_m │ │ │ +00081120: 6172 6769 6e62 6f74 746f 6d28 466c 5f54 arginbottom(Fl_T │ │ │ +00081130: 7265 655f 5072 6566 7320 7365 6c66 2920 ree_Prefs self) │ │ │ +00081140: 2d3e 2069 6e74 0a20 2020 2020 2020 206f -> int. o │ │ │ +00081150: 7065 6e63 6869 6c64 5f6d 6172 6769 6e62 penchild_marginb │ │ │ +00081160: 6f74 746f 6d28 466c 5f54 7265 655f 5072 ottom(Fl_Tree_Pr │ │ │ +00081170: 6566 7320 7365 6c66 2c20 696e 7420 7661 efs self, int va │ │ │ +00081180: 6c29 0a20 2020 2020 2020 2022 2222 0a20 l). """. │ │ │ +00081190: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +000811a0: 6c74 6b2e 466c 5f54 7265 655f 5072 6566 ltk.Fl_Tree_Pref │ │ │ +000811b0: 735f 6f70 656e 6368 696c 645f 6d61 7267 s_openchild_marg │ │ │ +000811c0: 696e 626f 7474 6f6d 2873 656c 662c 202a inbottom(self, * │ │ │ +000811d0: 6172 6773 290a 0a20 2020 2064 6566 2075 args).. def u │ │ │ +000811e0: 7365 7269 636f 6e6d 6172 6769 6e6c 6566 sericonmarginlef │ │ │ +000811f0: 7428 7365 6c66 2c20 2a61 7267 7329 3a0a t(self, *args):. │ │ │ +00081200: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ +00081210: 2020 2020 2075 7365 7269 636f 6e6d 6172 usericonmar │ │ │ +00081220: 6769 6e6c 6566 7428 466c 5f54 7265 655f ginleft(Fl_Tree_ │ │ │ +00081230: 5072 6566 7320 7365 6c66 2920 2d3e 2069 Prefs self) -> i │ │ │ +00081240: 6e74 0a20 2020 2020 2020 2075 7365 7269 nt. useri │ │ │ +00081250: 636f 6e6d 6172 6769 6e6c 6566 7428 466c conmarginleft(Fl │ │ │ +00081260: 5f54 7265 655f 5072 6566 7320 7365 6c66 _Tree_Prefs self │ │ │ +00081270: 2c20 696e 7420 7661 6c29 0a20 2020 2020 , int val). │ │ │ +00081280: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ +00081290: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +000812a0: 7265 655f 5072 6566 735f 7573 6572 6963 ree_Prefs_useric │ │ │ +000812b0: 6f6e 6d61 7267 696e 6c65 6674 2873 656c onmarginleft(sel │ │ │ +000812c0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +000812d0: 6566 206c 6162 656c 6d61 7267 696e 6c65 ef labelmarginle │ │ │ +000812e0: 6674 2873 656c 662c 202a 6172 6773 293a ft(self, *args): │ │ │ +000812f0: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ +00081300: 2020 2020 2020 6c61 6265 6c6d 6172 6769 labelmargi │ │ │ +00081310: 6e6c 6566 7428 466c 5f54 7265 655f 5072 nleft(Fl_Tree_Pr │ │ │ +00081320: 6566 7320 7365 6c66 2920 2d3e 2069 6e74 efs self) -> int │ │ │ +00081330: 0a20 2020 2020 2020 206c 6162 656c 6d61 . labelma │ │ │ +00081340: 7267 696e 6c65 6674 2846 6c5f 5472 6565 rginleft(Fl_Tree │ │ │ +00081350: 5f50 7265 6673 2073 656c 662c 2069 6e74 _Prefs self, int │ │ │ +00081360: 2076 616c 290a 2020 2020 2020 2020 2222 val). "" │ │ │ +00081370: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +00081380: 205f 666c 746b 2e46 6c5f 5472 6565 5f50 _fltk.Fl_Tree_P │ │ │ +00081390: 7265 6673 5f6c 6162 656c 6d61 7267 696e refs_labelmargin │ │ │ +000813a0: 6c65 6674 2873 656c 662c 202a 6172 6773 left(self, *args │ │ │ +000813b0: 290a 0a20 2020 2064 6566 2077 6964 6765 ).. def widge │ │ │ +000813c0: 746d 6172 6769 6e6c 6566 7428 7365 6c66 tmarginleft(self │ │ │ +000813d0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +000813e0: 2020 7222 2222 0a20 2020 2020 2020 2077 r""". w │ │ │ +000813f0: 6964 6765 746d 6172 6769 6e6c 6566 7428 idgetmarginleft( │ │ │ +00081400: 466c 5f54 7265 655f 5072 6566 7320 7365 Fl_Tree_Prefs se │ │ │ +00081410: 6c66 2920 2d3e 2069 6e74 0a20 2020 2020 lf) -> int. │ │ │ +00081420: 2020 2077 6964 6765 746d 6172 6769 6e6c widgetmarginl │ │ │ +00081430: 6566 7428 466c 5f54 7265 655f 5072 6566 eft(Fl_Tree_Pref │ │ │ +00081440: 7320 7365 6c66 2c20 696e 7420 7661 6c29 s self, int val) │ │ │ +00081450: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ +00081460: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00081470: 6b2e 466c 5f54 7265 655f 5072 6566 735f k.Fl_Tree_Prefs_ │ │ │ +00081480: 7769 6467 6574 6d61 7267 696e 6c65 6674 widgetmarginleft │ │ │ +00081490: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +000814a0: 2020 2064 6566 206c 696e 6573 7061 6369 def linespaci │ │ │ +000814b0: 6e67 2873 656c 662c 202a 6172 6773 293a ng(self, *args): │ │ │ +000814c0: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ +000814d0: 2020 2020 2020 6c69 6e65 7370 6163 696e linespacin │ │ │ +000814e0: 6728 466c 5f54 7265 655f 5072 6566 7320 g(Fl_Tree_Prefs │ │ │ +000814f0: 7365 6c66 2920 2d3e 2069 6e74 0a20 2020 self) -> int. │ │ │ +00081500: 2020 2020 206c 696e 6573 7061 6369 6e67 linespacing │ │ │ +00081510: 2846 6c5f 5472 6565 5f50 7265 6673 2073 (Fl_Tree_Prefs s │ │ │ +00081520: 656c 662c 2069 6e74 2076 616c 290a 2020 elf, int val). │ │ │ +00081530: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ +00081540: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +00081550: 6c5f 5472 6565 5f50 7265 6673 5f6c 696e l_Tree_Prefs_lin │ │ │ +00081560: 6573 7061 6369 6e67 2873 656c 662c 202a espacing(self, * │ │ │ +00081570: 6172 6773 290a 0a20 2020 2064 6566 2063 args).. def c │ │ │ +00081580: 6f6e 6e65 6374 6f72 636f 6c6f 7228 7365 onnectorcolor(se │ │ │ +00081590: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +000815a0: 2020 2020 7222 2222 0a20 2020 2020 2020 r""". │ │ │ +000815b0: 2063 6f6e 6e65 6374 6f72 636f 6c6f 7228 connectorcolor( │ │ │ +000815c0: 466c 5f54 7265 655f 5072 6566 7320 7365 Fl_Tree_Prefs se │ │ │ +000815d0: 6c66 2920 2d3e 2046 6c5f 436f 6c6f 720a lf) -> Fl_Color. │ │ │ +000815e0: 2020 2020 2020 2020 636f 6e6e 6563 746f connecto │ │ │ +000815f0: 7263 6f6c 6f72 2846 6c5f 5472 6565 5f50 rcolor(Fl_Tree_P │ │ │ +00081600: 7265 6673 2073 656c 662c 2046 6c5f 436f refs self, Fl_Co │ │ │ +00081610: 6c6f 7220 7661 6c29 0a20 2020 2020 2020 lor val). │ │ │ +00081620: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ +00081630: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ +00081640: 655f 5072 6566 735f 636f 6e6e 6563 746f e_Prefs_connecto │ │ │ +00081650: 7263 6f6c 6f72 2873 656c 662c 202a 6172 rcolor(self, *ar │ │ │ +00081660: 6773 290a 0a20 2020 2064 6566 2063 6f6e gs).. def con │ │ │ +00081670: 6e65 6374 6f72 7374 796c 6528 7365 6c66 nectorstyle(self │ │ │ +00081680: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00081690: 2020 7222 2222 0a20 2020 2020 2020 2063 r""". c │ │ │ +000816a0: 6f6e 6e65 6374 6f72 7374 796c 6528 466c onnectorstyle(Fl │ │ │ +000816b0: 5f54 7265 655f 5072 6566 7320 7365 6c66 _Tree_Prefs self │ │ │ +000816c0: 2920 2d3e 2046 6c5f 5472 6565 5f43 6f6e ) -> Fl_Tree_Con │ │ │ +000816d0: 6e65 6374 6f72 0a20 2020 2020 2020 2063 nector. c │ │ │ +000816e0: 6f6e 6e65 6374 6f72 7374 796c 6528 466c onnectorstyle(Fl │ │ │ +000816f0: 5f54 7265 655f 5072 6566 7320 7365 6c66 _Tree_Prefs self │ │ │ +00081700: 2c20 466c 5f54 7265 655f 436f 6e6e 6563 , Fl_Tree_Connec │ │ │ +00081710: 746f 7220 7661 6c29 0a20 2020 2020 2020 tor val). │ │ │ +00081720: 2063 6f6e 6e65 6374 6f72 7374 796c 6528 connectorstyle( │ │ │ +00081730: 466c 5f54 7265 655f 5072 6566 7320 7365 Fl_Tree_Prefs se │ │ │ +00081740: 6c66 2c20 696e 7420 7661 6c29 0a20 2020 lf, int val). │ │ │ +00081750: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ +00081760: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +00081770: 5f54 7265 655f 5072 6566 735f 636f 6e6e _Tree_Prefs_conn │ │ │ +00081780: 6563 746f 7273 7479 6c65 2873 656c 662c ectorstyle(self, │ │ │ +00081790: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +000817a0: 2063 6f6e 6e65 6374 6f72 7769 6474 6828 connectorwidth( │ │ │ +000817b0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +000817c0: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ +000817d0: 2020 2063 6f6e 6e65 6374 6f72 7769 6474 connectorwidt │ │ │ +000817e0: 6828 466c 5f54 7265 655f 5072 6566 7320 h(Fl_Tree_Prefs │ │ │ +000817f0: 7365 6c66 2920 2d3e 2069 6e74 0a20 2020 self) -> int. │ │ │ +00081800: 2020 2020 2063 6f6e 6e65 6374 6f72 7769 connectorwi │ │ │ +00081810: 6474 6828 466c 5f54 7265 655f 5072 6566 dth(Fl_Tree_Pref │ │ │ +00081820: 7320 7365 6c66 2c20 696e 7420 7661 6c29 s self, int val) │ │ │ +00081830: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ +00081840: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00081850: 6b2e 466c 5f54 7265 655f 5072 6566 735f k.Fl_Tree_Prefs_ │ │ │ +00081860: 636f 6e6e 6563 746f 7277 6964 7468 2873 connectorwidth(s │ │ │ +00081870: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +00081880: 2064 6566 206f 7065 6e69 636f 6e5f 7728 def openicon_w( │ │ │ +00081890: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +000818a0: 2020 2020 2020 7222 2222 6f70 656e 6963 r"""openic │ │ │ +000818b0: 6f6e 5f77 2846 6c5f 5472 6565 5f50 7265 on_w(Fl_Tree_Pre │ │ │ +000818c0: 6673 2073 656c 6629 202d 3e20 696e 7422 fs self) -> int" │ │ │ +000818d0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +000818e0: 6e20 5f66 6c74 6b2e 466c 5f54 7265 655f n _fltk.Fl_Tree_ │ │ │ +000818f0: 5072 6566 735f 6f70 656e 6963 6f6e 5f77 Prefs_openicon_w │ │ │ +00081900: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +00081910: 2020 2064 6566 206f 7065 6e69 636f 6e5f def openicon_ │ │ │ +00081920: 6828 7365 6c66 2c20 2a61 7267 7329 3a0a h(self, *args):. │ │ │ +00081930: 2020 2020 2020 2020 7222 2222 6f70 656e r"""open │ │ │ +00081940: 6963 6f6e 5f68 2846 6c5f 5472 6565 5f50 icon_h(Fl_Tree_P │ │ │ +00081950: 7265 6673 2073 656c 6629 202d 3e20 696e refs self) -> in │ │ │ +00081960: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ +00081970: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ +00081980: 655f 5072 6566 735f 6f70 656e 6963 6f6e e_Prefs_openicon │ │ │ +00081990: 5f68 2873 656c 662c 202a 6172 6773 290a _h(self, *args). │ │ │ +000819a0: 0a20 2020 2064 6566 206f 7065 6e69 636f . def openico │ │ │ +000819b0: 6e28 7365 6c66 2c20 2a61 7267 7329 3a0a n(self, *args):. │ │ │ +000819c0: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ +000819d0: 2020 2020 206f 7065 6e69 636f 6e28 466c openicon(Fl │ │ │ +000819e0: 5f54 7265 655f 5072 6566 7320 7365 6c66 _Tree_Prefs self │ │ │ +000819f0: 2920 2d3e 2046 6c5f 496d 6167 650a 2020 ) -> Fl_Image. │ │ │ +00081a00: 2020 2020 2020 6f70 656e 6963 6f6e 2846 openicon(F │ │ │ +00081a10: 6c5f 5472 6565 5f50 7265 6673 2073 656c l_Tree_Prefs sel │ │ │ +00081a20: 662c 2046 6c5f 496d 6167 6520 7661 6c29 f, Fl_Image val) │ │ │ +00081a30: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ +00081a40: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00081a50: 6b2e 466c 5f54 7265 655f 5072 6566 735f k.Fl_Tree_Prefs_ │ │ │ +00081a60: 6f70 656e 6963 6f6e 2873 656c 662c 202a openicon(self, * │ │ │ +00081a70: 6172 6773 290a 0a20 2020 2064 6566 2063 args).. def c │ │ │ +00081a80: 6c6f 7365 6963 6f6e 5f77 2873 656c 662c loseicon_w(self, │ │ │ +00081a90: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00081aa0: 2072 2222 2263 6c6f 7365 6963 6f6e 5f77 r"""closeicon_w │ │ │ +00081ab0: 2846 6c5f 5472 6565 5f50 7265 6673 2073 (Fl_Tree_Prefs s │ │ │ +00081ac0: 656c 6629 202d 3e20 696e 7422 2222 0a20 elf) -> int""". │ │ │ +00081ad0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00081ae0: 6c74 6b2e 466c 5f54 7265 655f 5072 6566 ltk.Fl_Tree_Pref │ │ │ +00081af0: 735f 636c 6f73 6569 636f 6e5f 7728 7365 s_closeicon_w(se │ │ │ +00081b00: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +00081b10: 6465 6620 636c 6f73 6569 636f 6e5f 6828 def closeicon_h( │ │ │ +00081b20: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +00081b30: 2020 2020 2020 7222 2222 636c 6f73 6569 r"""closei │ │ │ +00081b40: 636f 6e5f 6828 466c 5f54 7265 655f 5072 con_h(Fl_Tree_Pr │ │ │ +00081b50: 6566 7320 7365 6c66 2920 2d3e 2069 6e74 efs self) -> int │ │ │ +00081b60: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +00081b70: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ +00081b80: 5f50 7265 6673 5f63 6c6f 7365 6963 6f6e _Prefs_closeicon │ │ │ +00081b90: 5f68 2873 656c 662c 202a 6172 6773 290a _h(self, *args). │ │ │ +00081ba0: 0a20 2020 2064 6566 2063 6c6f 7365 6963 . def closeic │ │ │ +00081bb0: 6f6e 2873 656c 662c 202a 6172 6773 293a on(self, *args): │ │ │ +00081bc0: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ +00081bd0: 2020 2020 2020 636c 6f73 6569 636f 6e28 closeicon( │ │ │ +00081be0: 466c 5f54 7265 655f 5072 6566 7320 7365 Fl_Tree_Prefs se │ │ │ +00081bf0: 6c66 2920 2d3e 2046 6c5f 496d 6167 650a lf) -> Fl_Image. │ │ │ +00081c00: 2020 2020 2020 2020 636c 6f73 6569 636f closeico │ │ │ +00081c10: 6e28 466c 5f54 7265 655f 5072 6566 7320 n(Fl_Tree_Prefs │ │ │ +00081c20: 7365 6c66 2c20 466c 5f49 6d61 6765 2076 self, Fl_Image v │ │ │ +00081c30: 616c 290a 2020 2020 2020 2020 2222 220a al). """. │ │ │ +00081c40: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +00081c50: 666c 746b 2e46 6c5f 5472 6565 5f50 7265 fltk.Fl_Tree_Pre │ │ │ +00081c60: 6673 5f63 6c6f 7365 6963 6f6e 2873 656c fs_closeicon(sel │ │ │ +00081c70: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +00081c80: 6566 2075 7365 7269 636f 6e28 7365 6c66 ef usericon(self │ │ │ +00081c90: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00081ca0: 2020 7222 2222 0a20 2020 2020 2020 2075 r""". u │ │ │ +00081cb0: 7365 7269 636f 6e28 466c 5f54 7265 655f sericon(Fl_Tree_ │ │ │ +00081cc0: 5072 6566 7320 7365 6c66 2920 2d3e 2046 Prefs self) -> F │ │ │ +00081cd0: 6c5f 496d 6167 650a 2020 2020 2020 2020 l_Image. │ │ │ +00081ce0: 7573 6572 6963 6f6e 2846 6c5f 5472 6565 usericon(Fl_Tree │ │ │ +00081cf0: 5f50 7265 6673 2073 656c 662c 2046 6c5f _Prefs self, Fl_ │ │ │ +00081d00: 496d 6167 6520 7661 6c29 0a20 2020 2020 Image val). │ │ │ +00081d10: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ +00081d20: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +00081d30: 7265 655f 5072 6566 735f 7573 6572 6963 ree_Prefs_useric │ │ │ +00081d40: 6f6e 2873 656c 662c 202a 6172 6773 290a on(self, *args). │ │ │ +00081d50: 0a20 2020 2064 6566 206f 7065 6e64 6569 . def opendei │ │ │ +00081d60: 636f 6e28 7365 6c66 2c20 2a61 7267 7329 con(self, *args) │ │ │ +00081d70: 3a0a 2020 2020 2020 2020 7222 2222 6f70 :. r"""op │ │ │ +00081d80: 656e 6465 6963 6f6e 2846 6c5f 5472 6565 endeicon(Fl_Tree │ │ │ +00081d90: 5f50 7265 6673 2073 656c 6629 202d 3e20 _Prefs self) -> │ │ │ +00081da0: 466c 5f49 6d61 6765 2222 220a 2020 2020 Fl_Image""". │ │ │ +00081db0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +00081dc0: 2e46 6c5f 5472 6565 5f50 7265 6673 5f6f .Fl_Tree_Prefs_o │ │ │ +00081dd0: 7065 6e64 6569 636f 6e28 7365 6c66 2c20 pendeicon(self, │ │ │ +00081de0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +00081df0: 636c 6f73 6564 6569 636f 6e28 7365 6c66 closedeicon(self │ │ │ +00081e00: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00081e10: 2020 7222 2222 636c 6f73 6564 6569 636f r"""closedeico │ │ │ +00081e20: 6e28 466c 5f54 7265 655f 5072 6566 7320 n(Fl_Tree_Prefs │ │ │ +00081e30: 7365 6c66 2920 2d3e 2046 6c5f 496d 6167 self) -> Fl_Imag │ │ │ +00081e40: 6522 2222 0a20 2020 2020 2020 2072 6574 e""". ret │ │ │ +00081e50: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ +00081e60: 655f 5072 6566 735f 636c 6f73 6564 6569 e_Prefs_closedei │ │ │ +00081e70: 636f 6e28 7365 6c66 2c20 2a61 7267 7329 con(self, *args) │ │ │ +00081e80: 0a0a 2020 2020 6465 6620 7573 6572 6465 .. def userde │ │ │ +00081e90: 6963 6f6e 2873 656c 662c 202a 6172 6773 icon(self, *args │ │ │ +00081ea0: 293a 0a20 2020 2020 2020 2072 2222 2275 ):. r"""u │ │ │ +00081eb0: 7365 7264 6569 636f 6e28 466c 5f54 7265 serdeicon(Fl_Tre │ │ │ +00081ec0: 655f 5072 6566 7320 7365 6c66 2920 2d3e e_Prefs self) -> │ │ │ +00081ed0: 2046 6c5f 496d 6167 6522 2222 0a20 2020 Fl_Image""". │ │ │ +00081ee0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00081ef0: 6b2e 466c 5f54 7265 655f 5072 6566 735f k.Fl_Tree_Prefs_ │ │ │ +00081f00: 7573 6572 6465 6963 6f6e 2873 656c 662c userdeicon(self, │ │ │ +00081f10: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +00081f20: 2073 686f 7763 6f6c 6c61 7073 6528 7365 showcollapse(se │ │ │ +00081f30: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +00081f40: 2020 2020 7222 2222 0a20 2020 2020 2020 r""". │ │ │ +00081f50: 2073 686f 7763 6f6c 6c61 7073 6528 466c showcollapse(Fl │ │ │ +00081f60: 5f54 7265 655f 5072 6566 7320 7365 6c66 _Tree_Prefs self │ │ │ +00081f70: 2920 2d3e 2063 6861 720a 2020 2020 2020 ) -> char. │ │ │ +00081f80: 2020 7368 6f77 636f 6c6c 6170 7365 2846 showcollapse(F │ │ │ +00081f90: 6c5f 5472 6565 5f50 7265 6673 2073 656c l_Tree_Prefs sel │ │ │ +00081fa0: 662c 2069 6e74 2076 616c 290a 2020 2020 f, int val). │ │ │ +00081fb0: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ +00081fc0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +00081fd0: 5472 6565 5f50 7265 6673 5f73 686f 7763 Tree_Prefs_showc │ │ │ +00081fe0: 6f6c 6c61 7073 6528 7365 6c66 2c20 2a61 ollapse(self, *a │ │ │ +00081ff0: 7267 7329 0a0a 2020 2020 6465 6620 736f rgs).. def so │ │ │ +00082000: 7274 6f72 6465 7228 7365 6c66 2c20 2a61 rtorder(self, *a │ │ │ +00082010: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00082020: 2222 0a20 2020 2020 2020 2073 6f72 746f "". sorto │ │ │ +00082030: 7264 6572 2846 6c5f 5472 6565 5f50 7265 rder(Fl_Tree_Pre │ │ │ +00082040: 6673 2073 656c 6629 202d 3e20 466c 5f54 fs self) -> Fl_T │ │ │ +00082050: 7265 655f 536f 7274 0a20 2020 2020 2020 ree_Sort. │ │ │ +00082060: 2073 6f72 746f 7264 6572 2846 6c5f 5472 sortorder(Fl_Tr │ │ │ +00082070: 6565 5f50 7265 6673 2073 656c 662c 2046 ee_Prefs self, F │ │ │ +00082080: 6c5f 5472 6565 5f53 6f72 7420 7661 6c29 l_Tree_Sort val) │ │ │ +00082090: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ +000820a0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +000820b0: 6b2e 466c 5f54 7265 655f 5072 6566 735f k.Fl_Tree_Prefs_ │ │ │ +000820c0: 736f 7274 6f72 6465 7228 7365 6c66 2c20 sortorder(self, │ │ │ +000820d0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +000820e0: 7365 6c65 6374 626f 7828 7365 6c66 2c20 selectbox(self, │ │ │ +000820f0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00082100: 7222 2222 0a20 2020 2020 2020 2073 656c r""". sel │ │ │ +00082110: 6563 7462 6f78 2846 6c5f 5472 6565 5f50 ectbox(Fl_Tree_P │ │ │ +00082120: 7265 6673 2073 656c 6629 202d 3e20 466c refs self) -> Fl │ │ │ +00082130: 5f42 6f78 7479 7065 0a20 2020 2020 2020 _Boxtype. │ │ │ +00082140: 2073 656c 6563 7462 6f78 2846 6c5f 5472 selectbox(Fl_Tr │ │ │ +00082150: 6565 5f50 7265 6673 2073 656c 662c 2046 ee_Prefs self, F │ │ │ +00082160: 6c5f 426f 7874 7970 6520 7661 6c29 0a20 l_Boxtype val). │ │ │ +00082170: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ +00082180: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00082190: 466c 5f54 7265 655f 5072 6566 735f 7365 Fl_Tree_Prefs_se │ │ │ +000821a0: 6c65 6374 626f 7828 7365 6c66 2c20 2a61 lectbox(self, *a │ │ │ +000821b0: 7267 7329 0a0a 2020 2020 6465 6620 7368 rgs).. def sh │ │ │ +000821c0: 6f77 726f 6f74 2873 656c 662c 202a 6172 owroot(self, *ar │ │ │ +000821d0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +000821e0: 220a 2020 2020 2020 2020 7368 6f77 726f ". showro │ │ │ +000821f0: 6f74 2846 6c5f 5472 6565 5f50 7265 6673 ot(Fl_Tree_Prefs │ │ │ +00082200: 2073 656c 6629 202d 3e20 696e 740a 2020 self) -> int. │ │ │ +00082210: 2020 2020 2020 7368 6f77 726f 6f74 2846 showroot(F │ │ │ +00082220: 6c5f 5472 6565 5f50 7265 6673 2073 656c l_Tree_Prefs sel │ │ │ +00082230: 662c 2069 6e74 2076 616c 290a 2020 2020 f, int val). │ │ │ +00082240: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ +00082250: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +00082260: 5472 6565 5f50 7265 6673 5f73 686f 7772 Tree_Prefs_showr │ │ │ +00082270: 6f6f 7428 7365 6c66 2c20 2a61 7267 7329 oot(self, *args) │ │ │ +00082280: 0a0a 2020 2020 6465 6620 7365 6c65 6374 .. def select │ │ │ +00082290: 6d6f 6465 2873 656c 662c 202a 6172 6773 mode(self, *args │ │ │ +000822a0: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ +000822b0: 2020 2020 2020 2020 7365 6c65 6374 6d6f selectmo │ │ │ +000822c0: 6465 2846 6c5f 5472 6565 5f50 7265 6673 de(Fl_Tree_Prefs │ │ │ +000822d0: 2073 656c 6629 202d 3e20 466c 5f54 7265 self) -> Fl_Tre │ │ │ +000822e0: 655f 5365 6c65 6374 0a20 2020 2020 2020 e_Select. │ │ │ +000822f0: 2073 656c 6563 746d 6f64 6528 466c 5f54 selectmode(Fl_T │ │ │ +00082300: 7265 655f 5072 6566 7320 7365 6c66 2c20 ree_Prefs self, │ │ │ +00082310: 466c 5f54 7265 655f 5365 6c65 6374 2076 Fl_Tree_Select v │ │ │ +00082320: 616c 290a 2020 2020 2020 2020 2222 220a al). """. │ │ │ +00082330: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +00082340: 666c 746b 2e46 6c5f 5472 6565 5f50 7265 fltk.Fl_Tree_Pre │ │ │ +00082350: 6673 5f73 656c 6563 746d 6f64 6528 7365 fs_selectmode(se │ │ │ +00082360: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +00082370: 6465 6620 6974 656d 5f72 6573 656c 6563 def item_reselec │ │ │ +00082380: 745f 6d6f 6465 2873 656c 662c 202a 6172 t_mode(self, *ar │ │ │ +00082390: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +000823a0: 220a 2020 2020 2020 2020 6974 656d 5f72 ". item_r │ │ │ +000823b0: 6573 656c 6563 745f 6d6f 6465 2846 6c5f eselect_mode(Fl_ │ │ │ +000823c0: 5472 6565 5f50 7265 6673 2073 656c 6629 Tree_Prefs self) │ │ │ +000823d0: 202d 3e20 466c 5f54 7265 655f 4974 656d -> Fl_Tree_Item │ │ │ +000823e0: 5f52 6573 656c 6563 745f 4d6f 6465 0a20 _Reselect_Mode. │ │ │ +000823f0: 2020 2020 2020 2069 7465 6d5f 7265 7365 item_rese │ │ │ +00082400: 6c65 6374 5f6d 6f64 6528 466c 5f54 7265 lect_mode(Fl_Tre │ │ │ +00082410: 655f 5072 6566 7320 7365 6c66 2c20 466c e_Prefs self, Fl │ │ │ +00082420: 5f54 7265 655f 4974 656d 5f52 6573 656c _Tree_Item_Resel │ │ │ +00082430: 6563 745f 4d6f 6465 206d 6f64 6529 0a20 ect_Mode mode). │ │ │ +00082440: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ +00082450: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00082460: 466c 5f54 7265 655f 5072 6566 735f 6974 Fl_Tree_Prefs_it │ │ │ +00082470: 656d 5f72 6573 656c 6563 745f 6d6f 6465 em_reselect_mode │ │ │ +00082480: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +00082490: 2020 2064 6566 2069 7465 6d5f 6472 6177 def item_draw │ │ │ +000824a0: 5f6d 6f64 6528 7365 6c66 2c20 2a61 7267 _mode(self, *arg │ │ │ +000824b0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +000824c0: 0a20 2020 2020 2020 2069 7465 6d5f 6472 . item_dr │ │ │ +000824d0: 6177 5f6d 6f64 6528 466c 5f54 7265 655f aw_mode(Fl_Tree_ │ │ │ +000824e0: 5072 6566 7320 7365 6c66 2920 2d3e 2046 Prefs self) -> F │ │ │ +000824f0: 6c5f 5472 6565 5f49 7465 6d5f 4472 6177 l_Tree_Item_Draw │ │ │ +00082500: 5f4d 6f64 650a 2020 2020 2020 2020 6974 _Mode. it │ │ │ +00082510: 656d 5f64 7261 775f 6d6f 6465 2846 6c5f em_draw_mode(Fl_ │ │ │ +00082520: 5472 6565 5f50 7265 6673 2073 656c 662c Tree_Prefs self, │ │ │ +00082530: 2046 6c5f 5472 6565 5f49 7465 6d5f 4472 Fl_Tree_Item_Dr │ │ │ +00082540: 6177 5f4d 6f64 6520 7661 6c29 0a20 2020 aw_Mode val). │ │ │ +00082550: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ +00082560: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +00082570: 5f54 7265 655f 5072 6566 735f 6974 656d _Tree_Prefs_item │ │ │ +00082580: 5f64 7261 775f 6d6f 6465 2873 656c 662c _draw_mode(self, │ │ │ +00082590: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +000825a0: 2069 7465 6d5f 6472 6177 5f63 616c 6c62 item_draw_callb │ │ │ +000825b0: 6163 6b28 7365 6c66 2c20 2a61 7267 7329 ack(self, *args) │ │ │ +000825c0: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ +000825d0: 2020 2020 2020 2069 7465 6d5f 6472 6177 item_draw │ │ │ +000825e0: 5f63 616c 6c62 6163 6b28 466c 5f54 7265 _callback(Fl_Tre │ │ │ +000825f0: 655f 5072 6566 7320 7365 6c66 2c20 466c e_Prefs self, Fl │ │ │ +00082600: 5f54 7265 655f 4974 656d 5f44 7261 775f _Tree_Item_Draw_ │ │ │ +00082610: 4361 6c6c 6261 636b 202a 2063 622c 2076 Callback * cb, v │ │ │ +00082620: 6f69 6420 2a20 6461 7461 3d4e 6f6e 6529 oid * data=None) │ │ │ +00082630: 0a20 2020 2020 2020 2069 7465 6d5f 6472 . item_dr │ │ │ +00082640: 6177 5f63 616c 6c62 6163 6b28 466c 5f54 aw_callback(Fl_T │ │ │ +00082650: 7265 655f 5072 6566 7320 7365 6c66 2920 ree_Prefs self) │ │ │ +00082660: 2d3e 2046 6c5f 5472 6565 5f49 7465 6d5f -> Fl_Tree_Item_ │ │ │ +00082670: 4472 6177 5f43 616c 6c62 6163 6b20 2a0a Draw_Callback *. │ │ │ +00082680: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ +00082690: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +000826a0: 2e46 6c5f 5472 6565 5f50 7265 6673 5f69 .Fl_Tree_Prefs_i │ │ │ +000826b0: 7465 6d5f 6472 6177 5f63 616c 6c62 6163 tem_draw_callbac │ │ │ +000826c0: 6b28 7365 6c66 2c20 2a61 7267 7329 0a0a k(self, *args).. │ │ │ +000826d0: 2020 2020 6465 6620 6974 656d 5f64 7261 def item_dra │ │ │ +000826e0: 775f 7573 6572 5f64 6174 6128 7365 6c66 w_user_data(self │ │ │ +000826f0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00082700: 2020 7222 2222 6974 656d 5f64 7261 775f r"""item_draw_ │ │ │ +00082710: 7573 6572 5f64 6174 6128 466c 5f54 7265 user_data(Fl_Tre │ │ │ +00082720: 655f 5072 6566 7320 7365 6c66 2920 2d3e e_Prefs self) -> │ │ │ +00082730: 2076 6f69 6420 2a22 2222 0a20 2020 2020 void *""". │ │ │ +00082740: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00082750: 466c 5f54 7265 655f 5072 6566 735f 6974 Fl_Tree_Prefs_it │ │ │ +00082760: 656d 5f64 7261 775f 7573 6572 5f64 6174 em_draw_user_dat │ │ │ +00082770: 6128 7365 6c66 2c20 2a61 7267 7329 0a0a a(self, *args).. │ │ │ +00082780: 2020 2020 6465 6620 646f 5f69 7465 6d5f def do_item_ │ │ │ +00082790: 6472 6177 5f63 616c 6c62 6163 6b28 7365 draw_callback(se │ │ │ +000827a0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +000827b0: 2020 2020 7222 2222 646f 5f69 7465 6d5f r"""do_item_ │ │ │ +000827c0: 6472 6177 5f63 616c 6c62 6163 6b28 466c draw_callback(Fl │ │ │ +000827d0: 5f54 7265 655f 5072 6566 7320 7365 6c66 _Tree_Prefs self │ │ │ +000827e0: 2c20 466c 5f54 7265 655f 4974 656d 206f , Fl_Tree_Item o │ │ │ +000827f0: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ +00082800: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ +00082810: 655f 5072 6566 735f 646f 5f69 7465 6d5f e_Prefs_do_item_ │ │ │ +00082820: 6472 6177 5f63 616c 6c62 6163 6b28 7365 draw_callback(se │ │ │ +00082830: 6c66 2c20 2a61 7267 7329 0a0a 2320 5265 lf, *args)..# Re │ │ │ +00082840: 6769 7374 6572 2046 6c5f 5472 6565 5f50 gister Fl_Tree_P │ │ │ +00082850: 7265 6673 2069 6e20 5f66 6c74 6b3a 0a5f refs in _fltk:._ │ │ │ +00082860: 666c 746b 2e46 6c5f 5472 6565 5f50 7265 fltk.Fl_Tree_Pre │ │ │ +00082870: 6673 5f73 7769 6772 6567 6973 7465 7228 fs_swigregister( │ │ │ +00082880: 466c 5f54 7265 655f 5072 6566 7329 0a63 Fl_Tree_Prefs).c │ │ │ +00082890: 6c61 7373 2046 6c5f 5472 6565 5f49 7465 lass Fl_Tree_Ite │ │ │ +000828a0: 6d5f 4172 7261 7928 6f62 6a65 6374 293a m_Array(object): │ │ │ +000828b0: 0a20 2020 2072 2222 220a 0a20 2020 2042 . r""".. B │ │ │ +000828c0: 6563 6175 7365 2046 4c54 4b20 312e 782e ecause FLTK 1.x. │ │ │ +000828d0: 782e 2068 6173 206d 616e 6461 7465 6420 x. has mandated │ │ │ +000828e0: 7468 6174 2074 656d 706c 6174 6573 2061 that templates a │ │ │ +000828f0: 6e64 2053 544c 206e 6f74 2062 6520 7573 nd STL not be us │ │ │ +00082900: 6564 2c20 7765 2075 7365 2074 6869 7320 ed, we use this │ │ │ +00082910: 636c 6173 7320 746f 2064 796e 616d 6963 class to dynamic │ │ │ +00082920: 616c 6c79 206d 616e 6167 6520 7468 6520 ally manage the │ │ │ +00082930: 6172 7261 7973 2e0a 2020 2020 4e6f 6e65 arrays.. None │ │ │ +00082940: 206f 6620 7468 6520 6d65 7468 6f64 7320 of the methods │ │ │ +00082950: 646f 2072 616e 6765 2063 6865 636b 696e do range checkin │ │ │ +00082960: 6720 6f6e 2069 6e64 6578 2076 616c 7565 g on index value │ │ │ +00082970: 733b 2074 6865 2063 616c 6c65 7220 6d75 s; the caller mu │ │ │ +00082980: 7374 2062 6520 7375 7265 2074 6861 7420 st be sure that │ │ │ +00082990: 696e 6465 7820 7661 6c75 6573 2061 7265 index values are │ │ │ +000829a0: 2077 6974 6869 6e20 7468 6520 7261 6e67 within the rang │ │ │ +000829b0: 6520 303c 696e 6465 783c 746f 7461 6c28 e 0 Fl_ │ │ │ +00082b10: 5472 6565 5f49 7465 6d5f 4172 7261 790a Tree_Item_Array. │ │ │ +00082b20: 2020 2020 2020 2020 5f5f 696e 6974 5f5f __init__ │ │ │ +00082b30: 2846 6c5f 5472 6565 5f49 7465 6d5f 4172 (Fl_Tree_Item_Ar │ │ │ +00082b40: 7261 7920 7365 6c66 2c20 466c 5f54 7265 ray self, Fl_Tre │ │ │ +00082b50: 655f 4974 656d 5f41 7272 6179 206f 2920 e_Item_Array o) │ │ │ +00082b60: 2d3e 2046 6c5f 5472 6565 5f49 7465 6d5f -> Fl_Tree_Item_ │ │ │ +00082b70: 4172 7261 790a 2020 2020 2020 2020 2222 Array. "" │ │ │ +00082b80: 220a 2020 2020 2020 2020 5f66 6c74 6b2e ". _fltk. │ │ │ +00082b90: 466c 5f54 7265 655f 4974 656d 5f41 7272 Fl_Tree_Item_Arr │ │ │ +00082ba0: 6179 5f73 7769 6769 6e69 7428 7365 6c66 ay_swiginit(self │ │ │ +00082bb0: 2c20 5f66 6c74 6b2e 6e65 775f 466c 5f54 , _fltk.new_Fl_T │ │ │ +00082bc0: 7265 655f 4974 656d 5f41 7272 6179 282a ree_Item_Array(* │ │ │ +00082bd0: 6172 6773 2929 0a0a 2020 2020 6465 6620 args)).. def │ │ │ +00082be0: 746f 7461 6c28 7365 6c66 2c20 2a61 7267 total(self, *arg │ │ │ +00082bf0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +00082c00: 746f 7461 6c28 466c 5f54 7265 655f 4974 total(Fl_Tree_It │ │ │ +00082c10: 656d 5f41 7272 6179 2073 656c 6629 202d em_Array self) - │ │ │ +00082c20: 3e20 696e 7422 2222 0a20 2020 2020 2020 > int""". │ │ │ +00082c30: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +00082c40: 5f54 7265 655f 4974 656d 5f41 7272 6179 _Tree_Item_Array │ │ │ +00082c50: 5f74 6f74 616c 2873 656c 662c 202a 6172 _total(self, *ar │ │ │ +00082c60: 6773 290a 0a20 2020 2064 6566 2073 7761 gs).. def swa │ │ │ +00082c70: 7028 7365 6c66 2c20 2a61 7267 7329 3a0a p(self, *args):. │ │ │ +00082c80: 2020 2020 2020 2020 7222 2222 7377 6170 r"""swap │ │ │ +00082c90: 2846 6c5f 5472 6565 5f49 7465 6d5f 4172 (Fl_Tree_Item_Ar │ │ │ +00082ca0: 7261 7920 7365 6c66 2c20 696e 7420 6178 ray self, int ax │ │ │ +00082cb0: 2c20 696e 7420 6278 2922 2222 0a20 2020 , int bx)""". │ │ │ +00082cc0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00082cd0: 6b2e 466c 5f54 7265 655f 4974 656d 5f41 k.Fl_Tree_Item_A │ │ │ +00082ce0: 7272 6179 5f73 7761 7028 7365 6c66 2c20 rray_swap(self, │ │ │ +00082cf0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +00082d00: 6d6f 7665 2873 656c 662c 202a 6172 6773 move(self, *args │ │ │ +00082d10: 293a 0a20 2020 2020 2020 2072 2222 226d ):. r"""m │ │ │ +00082d20: 6f76 6528 466c 5f54 7265 655f 4974 656d ove(Fl_Tree_Item │ │ │ +00082d30: 5f41 7272 6179 2073 656c 662c 2069 6e74 _Array self, int │ │ │ +00082d40: 2074 6f2c 2069 6e74 205f 6672 6f6d 2920 to, int _from) │ │ │ +00082d50: 2d3e 2069 6e74 2222 220a 2020 2020 2020 -> int""". │ │ │ +00082d60: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +00082d70: 6c5f 5472 6565 5f49 7465 6d5f 4172 7261 l_Tree_Item_Arra │ │ │ +00082d80: 795f 6d6f 7665 2873 656c 662c 202a 6172 y_move(self, *ar │ │ │ +00082d90: 6773 290a 0a20 2020 2064 6566 2064 6570 gs).. def dep │ │ │ +00082da0: 6172 656e 7428 7365 6c66 2c20 2a61 7267 arent(self, *arg │ │ │ +00082db0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +00082dc0: 6465 7061 7265 6e74 2846 6c5f 5472 6565 deparent(Fl_Tree │ │ │ +00082dd0: 5f49 7465 6d5f 4172 7261 7920 7365 6c66 _Item_Array self │ │ │ +00082de0: 2c20 696e 7420 706f 7329 202d 3e20 696e , int pos) -> in │ │ │ +00082df0: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ +00082e00: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ +00082e10: 655f 4974 656d 5f41 7272 6179 5f64 6570 e_Item_Array_dep │ │ │ +00082e20: 6172 656e 7428 7365 6c66 2c20 2a61 7267 arent(self, *arg │ │ │ +00082e30: 7329 0a0a 2020 2020 6465 6620 7265 7061 s).. def repa │ │ │ +00082e40: 7265 6e74 2873 656c 662c 202a 6172 6773 rent(self, *args │ │ │ +00082e50: 293a 0a20 2020 2020 2020 2072 2222 2272 ):. r"""r │ │ │ +00082e60: 6570 6172 656e 7428 466c 5f54 7265 655f eparent(Fl_Tree_ │ │ │ +00082e70: 4974 656d 5f41 7272 6179 2073 656c 662c Item_Array self, │ │ │ +00082e80: 2046 6c5f 5472 6565 5f49 7465 6d20 6974 Fl_Tree_Item it │ │ │ +00082e90: 656d 2c20 466c 5f54 7265 655f 4974 656d em, Fl_Tree_Item │ │ │ +00082ea0: 206e 6577 7061 7265 6e74 2c20 696e 7420 newparent, int │ │ │ +00082eb0: 706f 7329 202d 3e20 696e 7422 2222 0a20 pos) -> int""". │ │ │ +00082ec0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00082ed0: 6c74 6b2e 466c 5f54 7265 655f 4974 656d ltk.Fl_Tree_Item │ │ │ +00082ee0: 5f41 7272 6179 5f72 6570 6172 656e 7428 _Array_reparent( │ │ │ +00082ef0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +00082f00: 2020 6465 6620 636c 6561 7228 7365 6c66 def clear(self │ │ │ +00082f10: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00082f20: 2020 7222 2222 636c 6561 7228 466c 5f54 r"""clear(Fl_T │ │ │ +00082f30: 7265 655f 4974 656d 5f41 7272 6179 2073 ree_Item_Array s │ │ │ +00082f40: 656c 6629 2222 220a 2020 2020 2020 2020 elf)""". │ │ │ +00082f50: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +00082f60: 5472 6565 5f49 7465 6d5f 4172 7261 795f Tree_Item_Array_ │ │ │ +00082f70: 636c 6561 7228 7365 6c66 2c20 2a61 7267 clear(self, *arg │ │ │ +00082f80: 7329 0a0a 2020 2020 6465 6620 6164 6428 s).. def add( │ │ │ +00082f90: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +00082fa0: 2020 2020 2020 7222 2222 6164 6428 466c r"""add(Fl │ │ │ +00082fb0: 5f54 7265 655f 4974 656d 5f41 7272 6179 _Tree_Item_Array │ │ │ +00082fc0: 2073 656c 662c 2046 6c5f 5472 6565 5f49 self, Fl_Tree_I │ │ │ +00082fd0: 7465 6d20 7661 6c29 2222 220a 2020 2020 tem val)""". │ │ │ +00082fe0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +00082ff0: 2e46 6c5f 5472 6565 5f49 7465 6d5f 4172 .Fl_Tree_Item_Ar │ │ │ +00083000: 7261 795f 6164 6428 7365 6c66 2c20 2a61 ray_add(self, *a │ │ │ +00083010: 7267 7329 0a0a 2020 2020 6465 6620 696e rgs).. def in │ │ │ +00083020: 7365 7274 2873 656c 662c 202a 6172 6773 sert(self, *args │ │ │ +00083030: 293a 0a20 2020 2020 2020 2072 2222 2269 ):. r"""i │ │ │ +00083040: 6e73 6572 7428 466c 5f54 7265 655f 4974 nsert(Fl_Tree_It │ │ │ +00083050: 656d 5f41 7272 6179 2073 656c 662c 2069 em_Array self, i │ │ │ +00083060: 6e74 2070 6f73 2c20 466c 5f54 7265 655f nt pos, Fl_Tree_ │ │ │ +00083070: 4974 656d 206e 6577 5f69 7465 6d29 2222 Item new_item)"" │ │ │ +00083080: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +00083090: 205f 666c 746b 2e46 6c5f 5472 6565 5f49 _fltk.Fl_Tree_I │ │ │ +000830a0: 7465 6d5f 4172 7261 795f 696e 7365 7274 tem_Array_insert │ │ │ +000830b0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +000830c0: 2020 2064 6566 2072 6570 6c61 6365 2873 def replace(s │ │ │ +000830d0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +000830e0: 2020 2020 2072 2222 2272 6570 6c61 6365 r"""replace │ │ │ +000830f0: 2846 6c5f 5472 6565 5f49 7465 6d5f 4172 (Fl_Tree_Item_Ar │ │ │ +00083100: 7261 7920 7365 6c66 2c20 696e 7420 706f ray self, int po │ │ │ +00083110: 732c 2046 6c5f 5472 6565 5f49 7465 6d20 s, Fl_Tree_Item │ │ │ +00083120: 6e65 775f 6974 656d 2922 2222 0a20 2020 new_item)""". │ │ │ +00083130: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00083140: 6b2e 466c 5f54 7265 655f 4974 656d 5f41 k.Fl_Tree_Item_A │ │ │ +00083150: 7272 6179 5f72 6570 6c61 6365 2873 656c rray_replace(sel │ │ │ +00083160: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +00083170: 6566 2072 656d 6f76 6528 7365 6c66 2c20 ef remove(self, │ │ │ +00083180: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00083190: 7222 2222 0a20 2020 2020 2020 2072 656d r""". rem │ │ │ +000831a0: 6f76 6528 466c 5f54 7265 655f 4974 656d ove(Fl_Tree_Item │ │ │ +000831b0: 5f41 7272 6179 2073 656c 662c 2069 6e74 _Array self, int │ │ │ +000831c0: 2069 6e64 6578 290a 2020 2020 2020 2020 index). │ │ │ +000831d0: 7265 6d6f 7665 2846 6c5f 5472 6565 5f49 remove(Fl_Tree_I │ │ │ +000831e0: 7465 6d5f 4172 7261 7920 7365 6c66 2c20 tem_Array self, │ │ │ +000831f0: 466c 5f54 7265 655f 4974 656d 2069 7465 Fl_Tree_Item ite │ │ │ +00083200: 6d29 202d 3e20 696e 740a 2020 2020 2020 m) -> int. │ │ │ +00083210: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ +00083220: 7475 726e 205f 666c 746b 2e46 6c5f 5472 turn _fltk.Fl_Tr │ │ │ +00083230: 6565 5f49 7465 6d5f 4172 7261 795f 7265 ee_Item_Array_re │ │ │ +00083240: 6d6f 7665 2873 656c 662c 202a 6172 6773 move(self, *args │ │ │ +00083250: 290a 0a20 2020 2064 6566 206d 616e 6167 ).. def manag │ │ │ +00083260: 655f 6974 656d 5f64 6573 7472 6f79 2873 e_item_destroy(s │ │ │ +00083270: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00083280: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ +00083290: 2020 6d61 6e61 6765 5f69 7465 6d5f 6465 manage_item_de │ │ │ +000832a0: 7374 726f 7928 466c 5f54 7265 655f 4974 stroy(Fl_Tree_It │ │ │ +000832b0: 656d 5f41 7272 6179 2073 656c 662c 2069 em_Array self, i │ │ │ +000832c0: 6e74 2076 616c 290a 2020 2020 2020 2020 nt val). │ │ │ +000832d0: 6d61 6e61 6765 5f69 7465 6d5f 6465 7374 manage_item_dest │ │ │ +000832e0: 726f 7928 466c 5f54 7265 655f 4974 656d roy(Fl_Tree_Item │ │ │ +000832f0: 5f41 7272 6179 2073 656c 6629 202d 3e20 _Array self) -> │ │ │ +00083300: 696e 740a 2020 2020 2020 2020 2222 220a int. """. │ │ │ +00083310: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +00083320: 666c 746b 2e46 6c5f 5472 6565 5f49 7465 fltk.Fl_Tree_Ite │ │ │ +00083330: 6d5f 4172 7261 795f 6d61 6e61 6765 5f69 m_Array_manage_i │ │ │ +00083340: 7465 6d5f 6465 7374 726f 7928 7365 6c66 tem_destroy(self │ │ │ +00083350: 2c20 2a61 7267 7329 0a0a 2320 5265 6769 , *args)..# Regi │ │ │ +00083360: 7374 6572 2046 6c5f 5472 6565 5f49 7465 ster Fl_Tree_Ite │ │ │ +00083370: 6d5f 4172 7261 7920 696e 205f 666c 746b m_Array in _fltk │ │ │ +00083380: 3a0a 5f66 6c74 6b2e 466c 5f54 7265 655f :._fltk.Fl_Tree_ │ │ │ +00083390: 4974 656d 5f41 7272 6179 5f73 7769 6772 Item_Array_swigr │ │ │ +000833a0: 6567 6973 7465 7228 466c 5f54 7265 655f egister(Fl_Tree_ │ │ │ +000833b0: 4974 656d 5f41 7272 6179 290a 636c 6173 Item_Array).clas │ │ │ +000833c0: 7320 466c 5f54 7265 655f 4974 656d 286f s Fl_Tree_Item(o │ │ │ +000833d0: 626a 6563 7429 3a0a 2020 2020 7222 2222 bject):. r""" │ │ │ +000833e0: 0a0a 2020 2020 5468 6973 2063 6c61 7373 .. This class │ │ │ +000833f0: 2069 7320 6120 7369 6e67 6c65 2074 7265 is a single tre │ │ │ +00083400: 6520 6974 656d 2c20 616e 6420 6d61 6e61 e item, and mana │ │ │ +00083410: 6765 7320 616c 6c20 6f66 2074 6865 2069 ges all of the i │ │ │ +00083420: 7465 6d27 7320 6174 7472 6962 7574 6573 tem's attributes │ │ │ +00083430: 2e20 466c 5f54 7265 655f 4974 656d 2069 . Fl_Tree_Item i │ │ │ +00083440: 7320 7573 6564 2062 7920 466c 5f54 7265 s used by Fl_Tre │ │ │ +00083450: 652c 2077 6869 6368 2069 7320 636f 6d70 e, which is comp │ │ │ +00083460: 7269 7365 6420 6f66 206d 616e 7920 696e rised of many in │ │ │ +00083470: 7374 616e 6365 7320 6f66 2046 6c5f 5472 stances of Fl_Tr │ │ │ +00083480: 6565 5f49 7465 6d2e 0a20 2020 2046 6c5f ee_Item.. Fl_ │ │ │ +00083490: 5472 6565 5f49 7465 6d20 6973 2068 6965 Tree_Item is hie │ │ │ +000834a0: 7261 7263 6869 6361 6c3b 2069 7420 6479 rarchical; it dy │ │ │ +000834b0: 6e61 6d69 6361 6c6c 7920 6d61 6e61 6765 namically manage │ │ │ +000834c0: 7320 616e 2046 6c5f 5472 6565 5f49 7465 s an Fl_Tree_Ite │ │ │ +000834d0: 6d5f 4172 7261 7920 6f66 2063 6869 6c64 m_Array of child │ │ │ +000834e0: 7265 6e20 7468 6174 2061 7265 2074 6865 ren that are the │ │ │ +000834f0: 6d73 656c 7665 7320 696e 7374 616e 6365 mselves instance │ │ │ +00083500: 7320 6f66 2046 6c5f 5472 6565 5f49 7465 s of Fl_Tree_Ite │ │ │ +00083510: 6d2e 2045 6163 6820 6974 656d 2063 616e m. Each item can │ │ │ +00083520: 2068 6176 6520 7a65 726f 206f 7220 6d6f have zero or mo │ │ │ +00083530: 7265 2063 6869 6c64 7265 6e2e 2057 6865 re children. Whe │ │ │ +00083540: 6e20 616e 2069 7465 6d20 6861 7320 6368 n an item has ch │ │ │ +00083550: 696c 6472 656e 2c20 636c 6f73 6528 2920 ildren, close() │ │ │ +00083560: 616e 6420 6f70 656e 2829 2063 616e 2062 and open() can b │ │ │ +00083570: 6520 7573 6564 2074 6f20 6869 6465 206f e used to hide o │ │ │ +00083580: 7220 7368 6f77 2074 6865 6d2e 2049 7465 r show them. Ite │ │ │ +00083590: 6d73 2068 6176 6520 7468 6569 7220 6f77 ms have their ow │ │ │ +000835a0: 6e20 6174 7472 6962 7574 6573 3b20 666f n attributes; fo │ │ │ +000835b0: 6e74 2073 697a 652c 2066 6163 652c 2063 nt size, face, c │ │ │ +000835c0: 6f6c 6f72 2e20 4974 656d 7320 6d61 696e olor. Items main │ │ │ +000835d0: 7461 696e 2074 6865 6972 206f 776e 2068 tain their own h │ │ │ +000835e0: 6965 7261 7263 6879 206f 6620 6368 696c ierarchy of chil │ │ │ +000835f0: 6472 656e 2e20 5768 656e 2079 6f75 206d dren. When you m │ │ │ +00083600: 616b 6520 6368 616e 6765 7320 746f 2069 ake changes to i │ │ │ +00083610: 7465 6d73 2c20 796f 7527 6c6c 206e 6565 tems, you'll nee │ │ │ +00083620: 6420 746f 2074 656c 6c20 7468 6520 7472 d to tell the tr │ │ │ +00083630: 6565 2074 6f20 7265 6472 6177 2829 2066 ee to redraw() f │ │ │ +00083640: 6f72 2074 6865 2063 6861 6e67 6573 2074 or the changes t │ │ │ +00083650: 6f20 7368 6f77 2075 702e 0a0a 2020 2020 o show up... │ │ │ +00083660: 2222 220a 0a20 2020 2074 6869 736f 776e """.. thisown │ │ │ +00083670: 203d 2070 726f 7065 7274 7928 6c61 6d62 = property(lamb │ │ │ +00083680: 6461 2078 3a20 782e 7468 6973 2e6f 776e da x: x.this.own │ │ │ +00083690: 2829 2c20 6c61 6d62 6461 2078 2c20 763a (), lambda x, v: │ │ │ +000836a0: 2078 2e74 6869 732e 6f77 6e28 7629 2c20 x.this.own(v), │ │ │ +000836b0: 646f 633d 2254 6865 206d 656d 6265 7273 doc="The members │ │ │ +000836c0: 6869 7020 666c 6167 2229 0a20 2020 205f hip flag"). _ │ │ │ +000836d0: 5f72 6570 725f 5f20 3d20 5f73 7769 675f _repr__ = _swig_ │ │ │ +000836e0: 7265 7072 0a20 2020 205f 5f73 7769 675f repr. __swig_ │ │ │ +000836f0: 6465 7374 726f 795f 5f20 3d20 5f66 6c74 destroy__ = _flt │ │ │ +00083700: 6b2e 6465 6c65 7465 5f46 6c5f 5472 6565 k.delete_Fl_Tree │ │ │ +00083710: 5f49 7465 6d0a 0a20 2020 2064 6566 205f _Item.. def _ │ │ │ +00083720: 5f69 6e69 745f 5f28 7365 6c66 2c20 2a61 _init__(self, *a │ │ │ +00083730: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00083740: 2222 0a20 2020 2020 2020 205f 5f69 6e69 "". __ini │ │ │ +00083750: 745f 5f28 466c 5f54 7265 655f 4974 656d t__(Fl_Tree_Item │ │ │ +00083760: 2073 656c 662c 2046 6c5f 5472 6565 5f50 self, Fl_Tree_P │ │ │ +00083770: 7265 6673 2070 7265 6673 2920 2d3e 2046 refs prefs) -> F │ │ │ +00083780: 6c5f 5472 6565 5f49 7465 6d0a 2020 2020 l_Tree_Item. │ │ │ +00083790: 2020 2020 5f5f 696e 6974 5f5f 2846 6c5f __init__(Fl_ │ │ │ +000837a0: 5472 6565 5f49 7465 6d20 7365 6c66 2c20 Tree_Item self, │ │ │ +000837b0: 466c 5f54 7265 6520 7472 6565 2920 2d3e Fl_Tree tree) -> │ │ │ +000837c0: 2046 6c5f 5472 6565 5f49 7465 6d0a 2020 Fl_Tree_Item. │ │ │ +000837d0: 2020 2020 2020 5f5f 696e 6974 5f5f 2846 __init__(F │ │ │ +000837e0: 6c5f 5472 6565 5f49 7465 6d20 7365 6c66 l_Tree_Item self │ │ │ +000837f0: 2c20 466c 5f54 7265 655f 4974 656d 206f , Fl_Tree_Item o │ │ │ +00083800: 2920 2d3e 2046 6c5f 5472 6565 5f49 7465 ) -> Fl_Tree_Ite │ │ │ +00083810: 6d0a 2020 2020 2020 2020 2222 220a 2020 m. """. │ │ │ +00083820: 2020 2020 2020 6966 2073 656c 662e 5f5f if self.__ │ │ │ +00083830: 636c 6173 735f 5f20 3d3d 2046 6c5f 5472 class__ == Fl_Tr │ │ │ +00083840: 6565 5f49 7465 6d3a 0a20 2020 2020 2020 ee_Item:. │ │ │ +00083850: 2020 2020 205f 7365 6c66 203d 204e 6f6e _self = Non │ │ │ +00083860: 650a 2020 2020 2020 2020 656c 7365 3a0a e. else:. │ │ │ +00083870: 2020 2020 2020 2020 2020 2020 5f73 656c _sel │ │ │ +00083880: 6620 3d20 7365 6c66 0a20 2020 2020 2020 f = self. │ │ │ +00083890: 205f 666c 746b 2e46 6c5f 5472 6565 5f49 _fltk.Fl_Tree_I │ │ │ +000838a0: 7465 6d5f 7377 6967 696e 6974 2873 656c tem_swiginit(sel │ │ │ +000838b0: 662c 205f 666c 746b 2e6e 6577 5f46 6c5f f, _fltk.new_Fl_ │ │ │ +000838c0: 5472 6565 5f49 7465 6d28 5f73 656c 662c Tree_Item(_self, │ │ │ +000838d0: 202a 6172 6773 2929 0a0a 2020 2020 2020 *args)).. │ │ │ +000838e0: 2020 6966 206c 656e 2861 7267 7329 203d if len(args) = │ │ │ +000838f0: 3d20 353a 2020 2020 2020 2020 2020 0a20 = 5: . │ │ │ +00083900: 2020 2020 2020 2023 7265 7461 696e 2072 #retain r │ │ │ +00083910: 6566 6572 656e 6365 2074 6f20 6c61 6265 eference to labe │ │ │ +00083920: 6c0a 2020 2020 2020 2020 2020 2020 7365 l. se │ │ │ +00083930: 6c66 2e6d 795f 6c61 6265 6c20 3d20 6172 lf.my_label = ar │ │ │ +00083940: 6773 5b2d 315d 0a20 2020 2020 2020 2069 gs[-1]. i │ │ │ +00083950: 6620 7365 6c66 2e70 6172 656e 7428 2920 f self.parent() │ │ │ +00083960: 213d 204e 6f6e 653a 2020 200a 2020 2020 != None: . │ │ │ +00083970: 2020 2020 2364 656c 6567 6174 6520 6f77 #delegate ow │ │ │ +00083980: 6e65 7273 6869 7020 746f 2043 2b2b 0a20 nership to C++. │ │ │ +00083990: 2020 2020 2020 2020 2020 2073 656c 662e self. │ │ │ +000839a0: 7468 6973 2e64 6973 6f77 6e28 290a 2020 this.disown(). │ │ │ +000839b0: 2020 2020 2020 7365 6c66 2e69 6e69 745f self.init_ │ │ │ +000839c0: 7479 7065 2822 466c 5f54 7265 655f 4974 type("Fl_Tree_It │ │ │ +000839d0: 656d 2229 0a20 2020 2020 2020 2023 7072 em"). #pr │ │ │ +000839e0: 696e 7428 2241 6464 696e 6720 7479 7065 int("Adding type │ │ │ +000839f0: 3a20 222c 2046 6c5f 5472 6565 5f49 7465 : ", Fl_Tree_Ite │ │ │ +00083a00: 6d29 0a0a 0a0a 0a20 2020 2064 6566 2078 m)..... def x │ │ │ +00083a10: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00083a20: 2020 2020 2020 2072 2222 2278 2846 6c5f r"""x(Fl_ │ │ │ +00083a30: 5472 6565 5f49 7465 6d20 7365 6c66 2920 Tree_Item self) │ │ │ +00083a40: 2d3e 2069 6e74 2222 220a 2020 2020 2020 -> int""". │ │ │ +00083a50: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +00083a60: 6c5f 5472 6565 5f49 7465 6d5f 7828 7365 l_Tree_Item_x(se │ │ │ +00083a70: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +00083a80: 6465 6620 7928 7365 6c66 2c20 2a61 7267 def y(self, *arg │ │ │ +00083a90: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +00083aa0: 7928 466c 5f54 7265 655f 4974 656d 2073 y(Fl_Tree_Item s │ │ │ +00083ab0: 656c 6629 202d 3e20 696e 7422 2222 0a20 elf) -> int""". │ │ │ +00083ac0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00083ad0: 6c74 6b2e 466c 5f54 7265 655f 4974 656d ltk.Fl_Tree_Item │ │ │ +00083ae0: 5f79 2873 656c 662c 202a 6172 6773 290a _y(self, *args). │ │ │ +00083af0: 0a20 2020 2064 6566 2077 2873 656c 662c . def w(self, │ │ │ +00083b00: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00083b10: 2072 2222 2277 2846 6c5f 5472 6565 5f49 r"""w(Fl_Tree_I │ │ │ +00083b20: 7465 6d20 7365 6c66 2920 2d3e 2069 6e74 tem self) -> int │ │ │ +00083b30: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +00083b40: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ +00083b50: 5f49 7465 6d5f 7728 7365 6c66 2c20 2a61 _Item_w(self, *a │ │ │ +00083b60: 7267 7329 0a0a 2020 2020 6465 6620 6828 rgs).. def h( │ │ │ +00083b70: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +00083b80: 2020 2020 2020 7222 2222 6828 466c 5f54 r"""h(Fl_T │ │ │ +00083b90: 7265 655f 4974 656d 2073 656c 6629 202d ree_Item self) - │ │ │ +00083ba0: 3e20 696e 7422 2222 0a20 2020 2020 2020 > int""". │ │ │ +00083bb0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +00083bc0: 5f54 7265 655f 4974 656d 5f68 2873 656c _Tree_Item_h(sel │ │ │ +00083bd0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +00083be0: 6566 206c 6162 656c 5f78 2873 656c 662c ef label_x(self, │ │ │ +00083bf0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00083c00: 2072 2222 226c 6162 656c 5f78 2846 6c5f r"""label_x(Fl_ │ │ │ +00083c10: 5472 6565 5f49 7465 6d20 7365 6c66 2920 Tree_Item self) │ │ │ +00083c20: 2d3e 2069 6e74 2222 220a 2020 2020 2020 -> int""". │ │ │ +00083c30: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +00083c40: 6c5f 5472 6565 5f49 7465 6d5f 6c61 6265 l_Tree_Item_labe │ │ │ +00083c50: 6c5f 7828 7365 6c66 2c20 2a61 7267 7329 l_x(self, *args) │ │ │ +00083c60: 0a0a 2020 2020 6465 6620 6c61 6265 6c5f .. def label_ │ │ │ +00083c70: 7928 7365 6c66 2c20 2a61 7267 7329 3a0a y(self, *args):. │ │ │ +00083c80: 2020 2020 2020 2020 7222 2222 6c61 6265 r"""labe │ │ │ +00083c90: 6c5f 7928 466c 5f54 7265 655f 4974 656d l_y(Fl_Tree_Item │ │ │ +00083ca0: 2073 656c 6629 202d 3e20 696e 7422 2222 self) -> int""" │ │ │ +00083cb0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +00083cc0: 5f66 6c74 6b2e 466c 5f54 7265 655f 4974 _fltk.Fl_Tree_It │ │ │ +00083cd0: 656d 5f6c 6162 656c 5f79 2873 656c 662c em_label_y(self, │ │ │ +00083ce0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +00083cf0: 206c 6162 656c 5f77 2873 656c 662c 202a label_w(self, * │ │ │ +00083d00: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +00083d10: 2222 226c 6162 656c 5f77 2846 6c5f 5472 """label_w(Fl_Tr │ │ │ +00083d20: 6565 5f49 7465 6d20 7365 6c66 2920 2d3e ee_Item self) -> │ │ │ +00083d30: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ +00083d40: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +00083d50: 5472 6565 5f49 7465 6d5f 6c61 6265 6c5f Tree_Item_label_ │ │ │ +00083d60: 7728 7365 6c66 2c20 2a61 7267 7329 0a0a w(self, *args).. │ │ │ +00083d70: 2020 2020 6465 6620 6c61 6265 6c5f 6828 def label_h( │ │ │ +00083d80: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +00083d90: 2020 2020 2020 7222 2222 6c61 6265 6c5f r"""label_ │ │ │ +00083da0: 6828 466c 5f54 7265 655f 4974 656d 2073 h(Fl_Tree_Item s │ │ │ +00083db0: 656c 6629 202d 3e20 696e 7422 2222 0a20 elf) -> int""". │ │ │ +00083dc0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00083dd0: 6c74 6b2e 466c 5f54 7265 655f 4974 656d ltk.Fl_Tree_Item │ │ │ +00083de0: 5f6c 6162 656c 5f68 2873 656c 662c 202a _label_h(self, * │ │ │ +00083df0: 6172 6773 290a 0a20 2020 2064 6566 2064 args).. def d │ │ │ +00083e00: 7261 775f 6974 656d 5f63 6f6e 7465 6e74 raw_item_content │ │ │ +00083e10: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00083e20: 2020 2020 2020 2072 2222 2264 7261 775f r"""draw_ │ │ │ +00083e30: 6974 656d 5f63 6f6e 7465 6e74 2846 6c5f item_content(Fl_ │ │ │ +00083e40: 5472 6565 5f49 7465 6d20 7365 6c66 2c20 Tree_Item self, │ │ │ +00083e50: 696e 7420 7265 6e64 6572 2920 2d3e 2069 int render) -> i │ │ │ +00083e60: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ +00083e70: 7475 726e 205f 666c 746b 2e46 6c5f 5472 turn _fltk.Fl_Tr │ │ │ +00083e80: 6565 5f49 7465 6d5f 6472 6177 5f69 7465 ee_Item_draw_ite │ │ │ +00083e90: 6d5f 636f 6e74 656e 7428 7365 6c66 2c20 m_content(self, │ │ │ +00083ea0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +00083eb0: 6472 6177 2873 656c 662c 202a 6172 6773 draw(self, *args │ │ │ +00083ec0: 293a 0a20 2020 2020 2020 2072 2222 2264 ):. r"""d │ │ │ +00083ed0: 7261 7728 466c 5f54 7265 655f 4974 656d raw(Fl_Tree_Item │ │ │ +00083ee0: 2073 656c 662c 2069 6e74 2058 2c20 696e self, int X, in │ │ │ +00083ef0: 7420 2620 592c 2069 6e74 2057 2c20 466c t & Y, int W, Fl │ │ │ +00083f00: 5f54 7265 655f 4974 656d 2069 7465 6d66 _Tree_Item itemf │ │ │ +00083f10: 6f63 7573 2c20 696e 7420 6c61 7374 6368 ocus, int lastch │ │ │ +00083f20: 696c 643d 312c 2069 6e74 2072 656e 6465 ild=1, int rende │ │ │ +00083f30: 723d 3129 2222 220a 2020 2020 2020 2020 r=1)""". │ │ │ +00083f40: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +00083f50: 5472 6565 5f49 7465 6d5f 6472 6177 2873 Tree_Item_draw(s │ │ │ +00083f60: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +00083f70: 2064 6566 2073 686f 775f 7365 6c66 2873 def show_self(s │ │ │ +00083f80: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00083f90: 2020 2020 2072 2222 2273 686f 775f 7365 r"""show_se │ │ │ +00083fa0: 6c66 2846 6c5f 5472 6565 5f49 7465 6d20 lf(Fl_Tree_Item │ │ │ +00083fb0: 7365 6c66 2c20 6368 6172 2063 6f6e 7374 self, char const │ │ │ +00083fc0: 202a 2069 6e64 656e 743d 2222 2922 2222 * indent="")""" │ │ │ +00083fd0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +00083fe0: 5f66 6c74 6b2e 466c 5f54 7265 655f 4974 _fltk.Fl_Tree_It │ │ │ +00083ff0: 656d 5f73 686f 775f 7365 6c66 2873 656c em_show_self(sel │ │ │ +00084000: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +00084010: 6566 206c 6162 656c 2873 656c 662c 202a ef label(self, * │ │ │ +00084020: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +00084030: 2222 220a 2020 2020 2020 2020 6c61 6265 """. labe │ │ │ +00084040: 6c28 466c 5f54 7265 655f 4974 656d 2073 l(Fl_Tree_Item s │ │ │ +00084050: 656c 662c 2063 6861 7220 636f 6e73 7420 elf, char const │ │ │ +00084060: 2a20 7661 6c29 0a20 2020 2020 2020 206c * val). l │ │ │ +00084070: 6162 656c 2846 6c5f 5472 6565 5f49 7465 abel(Fl_Tree_Ite │ │ │ +00084080: 6d20 7365 6c66 2920 2d3e 2063 6861 7220 m self) -> char │ │ │ +00084090: 636f 6e73 7420 2a0a 2020 2020 2020 2020 const *. │ │ │ +000840a0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +000840b0: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ +000840c0: 5f49 7465 6d5f 6c61 6265 6c28 7365 6c66 _Item_label(self │ │ │ +000840d0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +000840e0: 6620 6c61 6265 6c66 6f6e 7428 7365 6c66 f labelfont(self │ │ │ +000840f0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00084100: 2020 7222 2222 0a20 2020 2020 2020 206c r""". l │ │ │ +00084110: 6162 656c 666f 6e74 2846 6c5f 5472 6565 abelfont(Fl_Tree │ │ │ +00084120: 5f49 7465 6d20 7365 6c66 2c20 466c 5f46 _Item self, Fl_F │ │ │ +00084130: 6f6e 7420 7661 6c29 0a20 2020 2020 2020 ont val). │ │ │ +00084140: 206c 6162 656c 666f 6e74 2846 6c5f 5472 labelfont(Fl_Tr │ │ │ +00084150: 6565 5f49 7465 6d20 7365 6c66 2920 2d3e ee_Item self) -> │ │ │ +00084160: 2046 6c5f 466f 6e74 0a20 2020 2020 2020 Fl_Font. │ │ │ +00084170: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ +00084180: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ +00084190: 655f 4974 656d 5f6c 6162 656c 666f 6e74 e_Item_labelfont │ │ │ +000841a0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +000841b0: 2020 2064 6566 206c 6162 656c 7369 7a65 def labelsize │ │ │ +000841c0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +000841d0: 2020 2020 2020 2072 2222 220a 2020 2020 r""". │ │ │ +000841e0: 2020 2020 6c61 6265 6c73 697a 6528 466c labelsize(Fl │ │ │ +000841f0: 5f54 7265 655f 4974 656d 2073 656c 662c _Tree_Item self, │ │ │ +00084200: 2046 6c5f 466f 6e74 7369 7a65 2076 616c Fl_Fontsize val │ │ │ +00084210: 290a 2020 2020 2020 2020 6c61 6265 6c73 ). labels │ │ │ +00084220: 697a 6528 466c 5f54 7265 655f 4974 656d ize(Fl_Tree_Item │ │ │ +00084230: 2073 656c 6629 202d 3e20 466c 5f46 6f6e self) -> Fl_Fon │ │ │ +00084240: 7473 697a 650a 2020 2020 2020 2020 2222 tsize. "" │ │ │ +00084250: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +00084260: 205f 666c 746b 2e46 6c5f 5472 6565 5f49 _fltk.Fl_Tree_I │ │ │ +00084270: 7465 6d5f 6c61 6265 6c73 697a 6528 7365 tem_labelsize(se │ │ │ +00084280: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +00084290: 6465 6620 6c61 6265 6c66 6763 6f6c 6f72 def labelfgcolor │ │ │ +000842a0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +000842b0: 2020 2020 2020 2072 2222 220a 2020 2020 r""". │ │ │ +000842c0: 2020 2020 6c61 6265 6c66 6763 6f6c 6f72 labelfgcolor │ │ │ +000842d0: 2846 6c5f 5472 6565 5f49 7465 6d20 7365 (Fl_Tree_Item se │ │ │ +000842e0: 6c66 2c20 466c 5f43 6f6c 6f72 2076 616c lf, Fl_Color val │ │ │ +000842f0: 290a 2020 2020 2020 2020 6c61 6265 6c66 ). labelf │ │ │ +00084300: 6763 6f6c 6f72 2846 6c5f 5472 6565 5f49 gcolor(Fl_Tree_I │ │ │ +00084310: 7465 6d20 7365 6c66 2920 2d3e 2046 6c5f tem self) -> Fl_ │ │ │ +00084320: 436f 6c6f 720a 2020 2020 2020 2020 2222 Color. "" │ │ │ +00084330: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +00084340: 205f 666c 746b 2e46 6c5f 5472 6565 5f49 _fltk.Fl_Tree_I │ │ │ +00084350: 7465 6d5f 6c61 6265 6c66 6763 6f6c 6f72 tem_labelfgcolor │ │ │ +00084360: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +00084370: 2020 2064 6566 206c 6162 656c 636f 6c6f def labelcolo │ │ │ +00084380: 7228 7365 6c66 2c20 2a61 7267 7329 3a0a r(self, *args):. │ │ │ +00084390: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ +000843a0: 2020 2020 206c 6162 656c 636f 6c6f 7228 labelcolor( │ │ │ +000843b0: 466c 5f54 7265 655f 4974 656d 2073 656c Fl_Tree_Item sel │ │ │ +000843c0: 662c 2046 6c5f 436f 6c6f 7220 7661 6c29 f, Fl_Color val) │ │ │ +000843d0: 0a20 2020 2020 2020 206c 6162 656c 636f . labelco │ │ │ +000843e0: 6c6f 7228 466c 5f54 7265 655f 4974 656d lor(Fl_Tree_Item │ │ │ +000843f0: 2073 656c 6629 202d 3e20 466c 5f43 6f6c self) -> Fl_Col │ │ │ +00084400: 6f72 0a20 2020 2020 2020 2022 2222 0a20 or. """. │ │ │ +00084410: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00084420: 6c74 6b2e 466c 5f54 7265 655f 4974 656d ltk.Fl_Tree_Item │ │ │ +00084430: 5f6c 6162 656c 636f 6c6f 7228 7365 6c66 _labelcolor(self │ │ │ +00084440: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00084450: 6620 6c61 6265 6c62 6763 6f6c 6f72 2873 f labelbgcolor(s │ │ │ +00084460: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00084470: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ +00084480: 2020 6c61 6265 6c62 6763 6f6c 6f72 2846 labelbgcolor(F │ │ │ +00084490: 6c5f 5472 6565 5f49 7465 6d20 7365 6c66 l_Tree_Item self │ │ │ +000844a0: 2c20 466c 5f43 6f6c 6f72 2076 616c 290a , Fl_Color val). │ │ │ +000844b0: 2020 2020 2020 2020 6c61 6265 6c62 6763 labelbgc │ │ │ +000844c0: 6f6c 6f72 2846 6c5f 5472 6565 5f49 7465 olor(Fl_Tree_Ite │ │ │ +000844d0: 6d20 7365 6c66 2920 2d3e 2046 6c5f 436f m self) -> Fl_Co │ │ │ +000844e0: 6c6f 720a 2020 2020 2020 2020 2222 220a lor. """. │ │ │ +000844f0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +00084500: 666c 746b 2e46 6c5f 5472 6565 5f49 7465 fltk.Fl_Tree_Ite │ │ │ +00084510: 6d5f 6c61 6265 6c62 6763 6f6c 6f72 2873 m_labelbgcolor(s │ │ │ +00084520: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +00084530: 2064 6566 2077 6964 6765 7428 7365 6c66 def widget(self │ │ │ +00084540: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00084550: 2020 7222 2222 0a20 2020 2020 2020 2077 r""". w │ │ │ +00084560: 6964 6765 7428 466c 5f54 7265 655f 4974 idget(Fl_Tree_It │ │ │ +00084570: 656d 2073 656c 662c 2046 6c5f 5769 6467 em self, Fl_Widg │ │ │ +00084580: 6574 2076 616c 290a 2020 2020 2020 2020 et val). │ │ │ +00084590: 7769 6467 6574 2846 6c5f 5472 6565 5f49 widget(Fl_Tree_I │ │ │ +000845a0: 7465 6d20 7365 6c66 2920 2d3e 2046 6c5f tem self) -> Fl_ │ │ │ +000845b0: 5769 6467 6574 0a20 2020 2020 2020 2022 Widget. " │ │ │ +000845c0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +000845d0: 6e20 5f66 6c74 6b2e 466c 5f54 7265 655f n _fltk.Fl_Tree_ │ │ │ +000845e0: 4974 656d 5f77 6964 6765 7428 7365 6c66 Item_widget(self │ │ │ +000845f0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00084600: 6620 6368 696c 6472 656e 2873 656c 662c f children(self, │ │ │ +00084610: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00084620: 2072 2222 2263 6869 6c64 7265 6e28 466c r"""children(Fl │ │ │ +00084630: 5f54 7265 655f 4974 656d 2073 656c 6629 _Tree_Item self) │ │ │ +00084640: 202d 3e20 696e 7422 2222 0a20 2020 2020 -> int""". │ │ │ +00084650: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00084660: 466c 5f54 7265 655f 4974 656d 5f63 6869 Fl_Tree_Item_chi │ │ │ +00084670: 6c64 7265 6e28 7365 6c66 2c20 2a61 7267 ldren(self, *arg │ │ │ +00084680: 7329 0a0a 2020 2020 6465 6620 6368 696c s).. def chil │ │ │ +00084690: 6428 7365 6c66 2c20 2a61 7267 7329 3a0a d(self, *args):. │ │ │ +000846a0: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ +000846b0: 2020 2020 2063 6869 6c64 2846 6c5f 5472 child(Fl_Tr │ │ │ +000846c0: 6565 5f49 7465 6d20 7365 6c66 2c20 696e ee_Item self, in │ │ │ +000846d0: 7420 696e 6465 7829 202d 3e20 466c 5f54 t index) -> Fl_T │ │ │ +000846e0: 7265 655f 4974 656d 0a20 2020 2020 2020 ree_Item. │ │ │ +000846f0: 2063 6869 6c64 2846 6c5f 5472 6565 5f49 child(Fl_Tree_I │ │ │ +00084700: 7465 6d20 7365 6c66 2c20 696e 7420 7429 tem self, int t) │ │ │ +00084710: 202d 3e20 466c 5f54 7265 655f 4974 656d -> Fl_Tree_Item │ │ │ +00084720: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ +00084730: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00084740: 6b2e 466c 5f54 7265 655f 4974 656d 5f63 k.Fl_Tree_Item_c │ │ │ +00084750: 6869 6c64 2873 656c 662c 202a 6172 6773 hild(self, *args │ │ │ +00084760: 290a 0a20 2020 2064 6566 2068 6173 5f63 ).. def has_c │ │ │ +00084770: 6869 6c64 7265 6e28 7365 6c66 2c20 2a61 hildren(self, *a │ │ │ +00084780: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00084790: 2222 6861 735f 6368 696c 6472 656e 2846 ""has_children(F │ │ │ +000847a0: 6c5f 5472 6565 5f49 7465 6d20 7365 6c66 l_Tree_Item self │ │ │ +000847b0: 2920 2d3e 2069 6e74 2222 220a 2020 2020 ) -> int""". │ │ │ +000847c0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +000847d0: 2e46 6c5f 5472 6565 5f49 7465 6d5f 6861 .Fl_Tree_Item_ha │ │ │ +000847e0: 735f 6368 696c 6472 656e 2873 656c 662c s_children(self, │ │ │ +000847f0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +00084800: 2066 696e 645f 6368 696c 6428 7365 6c66 find_child(self │ │ │ +00084810: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00084820: 2020 7222 2222 0a20 2020 2020 2020 2066 r""". f │ │ │ +00084830: 696e 645f 6368 696c 6428 466c 5f54 7265 ind_child(Fl_Tre │ │ │ +00084840: 655f 4974 656d 2073 656c 662c 2063 6861 e_Item self, cha │ │ │ +00084850: 7220 636f 6e73 7420 2a20 6e61 6d65 2920 r const * name) │ │ │ +00084860: 2d3e 2069 6e74 0a20 2020 2020 2020 2066 -> int. f │ │ │ +00084870: 696e 645f 6368 696c 6428 466c 5f54 7265 ind_child(Fl_Tre │ │ │ +00084880: 655f 4974 656d 2073 656c 662c 2046 6c5f e_Item self, Fl_ │ │ │ +00084890: 5472 6565 5f49 7465 6d20 6974 656d 2920 Tree_Item item) │ │ │ +000848a0: 2d3e 2069 6e74 0a20 2020 2020 2020 2022 -> int. " │ │ │ +000848b0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +000848c0: 6e20 5f66 6c74 6b2e 466c 5f54 7265 655f n _fltk.Fl_Tree_ │ │ │ +000848d0: 4974 656d 5f66 696e 645f 6368 696c 6428 Item_find_child( │ │ │ +000848e0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +000848f0: 2020 6465 6620 7265 6d6f 7665 5f63 6869 def remove_chi │ │ │ +00084900: 6c64 2873 656c 662c 202a 6172 6773 293a ld(self, *args): │ │ │ +00084910: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ +00084920: 2020 2020 2020 7265 6d6f 7665 5f63 6869 remove_chi │ │ │ +00084930: 6c64 2846 6c5f 5472 6565 5f49 7465 6d20 ld(Fl_Tree_Item │ │ │ +00084940: 7365 6c66 2c20 466c 5f54 7265 655f 4974 self, Fl_Tree_It │ │ │ +00084950: 656d 2069 7465 6d29 202d 3e20 696e 740a em item) -> int. │ │ │ +00084960: 2020 2020 2020 2020 7265 6d6f 7665 5f63 remove_c │ │ │ +00084970: 6869 6c64 2846 6c5f 5472 6565 5f49 7465 hild(Fl_Tree_Ite │ │ │ +00084980: 6d20 7365 6c66 2c20 6368 6172 2063 6f6e m self, char con │ │ │ +00084990: 7374 202a 206e 6577 5f6c 6162 656c 2920 st * new_label) │ │ │ +000849a0: 2d3e 2069 6e74 0a20 2020 2020 2020 2022 -> int. " │ │ │ +000849b0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +000849c0: 6e20 5f66 6c74 6b2e 466c 5f54 7265 655f n _fltk.Fl_Tree_ │ │ │ +000849d0: 4974 656d 5f72 656d 6f76 655f 6368 696c Item_remove_chil │ │ │ +000849e0: 6428 7365 6c66 2c20 2a61 7267 7329 0a0a d(self, *args).. │ │ │ +000849f0: 2020 2020 6465 6620 636c 6561 725f 6368 def clear_ch │ │ │ +00084a00: 696c 6472 656e 2873 656c 662c 202a 6172 ildren(self, *ar │ │ │ +00084a10: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00084a20: 2263 6c65 6172 5f63 6869 6c64 7265 6e28 "clear_children( │ │ │ +00084a30: 466c 5f54 7265 655f 4974 656d 2073 656c Fl_Tree_Item sel │ │ │ +00084a40: 6629 2222 220a 2020 2020 2020 2020 7265 f)""". re │ │ │ +00084a50: 7475 726e 205f 666c 746b 2e46 6c5f 5472 turn _fltk.Fl_Tr │ │ │ +00084a60: 6565 5f49 7465 6d5f 636c 6561 725f 6368 ee_Item_clear_ch │ │ │ +00084a70: 696c 6472 656e 2873 656c 662c 202a 6172 ildren(self, *ar │ │ │ +00084a80: 6773 290a 0a20 2020 2064 6566 2073 7761 gs).. def swa │ │ │ +00084a90: 705f 6368 696c 6472 656e 2873 656c 662c p_children(self, │ │ │ +00084aa0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00084ab0: 2072 2222 220a 2020 2020 2020 2020 7377 r""". sw │ │ │ +00084ac0: 6170 5f63 6869 6c64 7265 6e28 466c 5f54 ap_children(Fl_T │ │ │ +00084ad0: 7265 655f 4974 656d 2073 656c 662c 2069 ree_Item self, i │ │ │ +00084ae0: 6e74 2061 782c 2069 6e74 2062 7829 0a20 nt ax, int bx). │ │ │ +00084af0: 2020 2020 2020 2073 7761 705f 6368 696c swap_chil │ │ │ +00084b00: 6472 656e 2846 6c5f 5472 6565 5f49 7465 dren(Fl_Tree_Ite │ │ │ +00084b10: 6d20 7365 6c66 2c20 466c 5f54 7265 655f m self, Fl_Tree_ │ │ │ +00084b20: 4974 656d 2061 2c20 466c 5f54 7265 655f Item a, Fl_Tree_ │ │ │ +00084b30: 4974 656d 2062 2920 2d3e 2069 6e74 0a20 Item b) -> int. │ │ │ +00084b40: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ +00084b50: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00084b60: 466c 5f54 7265 655f 4974 656d 5f73 7761 Fl_Tree_Item_swa │ │ │ +00084b70: 705f 6368 696c 6472 656e 2873 656c 662c p_children(self, │ │ │ +00084b80: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +00084b90: 2066 696e 645f 6368 696c 645f 6974 656d find_child_item │ │ │ +00084ba0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00084bb0: 2020 2020 2020 2072 2222 220a 2020 2020 r""". │ │ │ +00084bc0: 2020 2020 6669 6e64 5f63 6869 6c64 5f69 find_child_i │ │ │ +00084bd0: 7465 6d28 466c 5f54 7265 655f 4974 656d tem(Fl_Tree_Item │ │ │ +00084be0: 2073 656c 662c 2063 6861 7220 636f 6e73 self, char cons │ │ │ +00084bf0: 7420 2a20 6e61 6d65 2920 2d3e 2046 6c5f t * name) -> Fl_ │ │ │ +00084c00: 5472 6565 5f49 7465 6d0a 2020 2020 2020 Tree_Item. │ │ │ +00084c10: 2020 6669 6e64 5f63 6869 6c64 5f69 7465 find_child_ite │ │ │ +00084c20: 6d28 466c 5f54 7265 655f 4974 656d 2073 m(Fl_Tree_Item s │ │ │ +00084c30: 656c 662c 2063 6861 7220 636f 6e73 7420 elf, char const │ │ │ +00084c40: 2a20 6e61 6d65 2920 2d3e 2046 6c5f 5472 * name) -> Fl_Tr │ │ │ +00084c50: 6565 5f49 7465 6d0a 2020 2020 2020 2020 ee_Item. │ │ │ +00084c60: 6669 6e64 5f63 6869 6c64 5f69 7465 6d28 find_child_item( │ │ │ +00084c70: 466c 5f54 7265 655f 4974 656d 2073 656c Fl_Tree_Item sel │ │ │ +00084c80: 662c 2063 6861 7220 2a2a 2061 7272 2920 f, char ** arr) │ │ │ +00084c90: 2d3e 2046 6c5f 5472 6565 5f49 7465 6d0a -> Fl_Tree_Item. │ │ │ +00084ca0: 2020 2020 2020 2020 6669 6e64 5f63 6869 find_chi │ │ │ +00084cb0: 6c64 5f69 7465 6d28 466c 5f54 7265 655f ld_item(Fl_Tree_ │ │ │ +00084cc0: 4974 656d 2073 656c 662c 2063 6861 7220 Item self, char │ │ │ +00084cd0: 2a2a 2061 7272 2920 2d3e 2046 6c5f 5472 ** arr) -> Fl_Tr │ │ │ +00084ce0: 6565 5f49 7465 6d0a 2020 2020 2020 2020 ee_Item. │ │ │ +00084cf0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +00084d00: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ +00084d10: 5f49 7465 6d5f 6669 6e64 5f63 6869 6c64 _Item_find_child │ │ │ +00084d20: 5f69 7465 6d28 7365 6c66 2c20 2a61 7267 _item(self, *arg │ │ │ +00084d30: 7329 0a0a 2020 2020 6465 6620 6669 6e64 s).. def find │ │ │ +00084d40: 5f69 7465 6d28 7365 6c66 2c20 2a61 7267 _item(self, *arg │ │ │ +00084d50: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +00084d60: 0a20 2020 2020 2020 2066 696e 645f 6974 . find_it │ │ │ +00084d70: 656d 2846 6c5f 5472 6565 5f49 7465 6d20 em(Fl_Tree_Item │ │ │ +00084d80: 7365 6c66 2c20 6368 6172 202a 2a20 6172 self, char ** ar │ │ │ +00084d90: 7229 202d 3e20 466c 5f54 7265 655f 4974 r) -> Fl_Tree_It │ │ │ +00084da0: 656d 0a20 2020 2020 2020 2066 696e 645f em. find_ │ │ │ +00084db0: 6974 656d 2846 6c5f 5472 6565 5f49 7465 item(Fl_Tree_Ite │ │ │ +00084dc0: 6d20 7365 6c66 2c20 6368 6172 202a 2a20 m self, char ** │ │ │ +00084dd0: 6172 7229 202d 3e20 466c 5f54 7265 655f arr) -> Fl_Tree_ │ │ │ +00084de0: 4974 656d 0a20 2020 2020 2020 2022 2222 Item. """ │ │ │ +00084df0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +00084e00: 5f66 6c74 6b2e 466c 5f54 7265 655f 4974 _fltk.Fl_Tree_It │ │ │ +00084e10: 656d 5f66 696e 645f 6974 656d 2873 656c em_find_item(sel │ │ │ +00084e20: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +00084e30: 6566 2061 6464 2873 656c 662c 202a 6172 ef add(self, *ar │ │ │ +00084e40: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00084e50: 220a 2020 2020 2020 2020 6164 6428 466c ". add(Fl │ │ │ +00084e60: 5f54 7265 655f 4974 656d 2073 656c 662c _Tree_Item self, │ │ │ +00084e70: 2046 6c5f 5472 6565 5f50 7265 6673 2070 Fl_Tree_Prefs p │ │ │ +00084e80: 7265 6673 2c20 6368 6172 2063 6f6e 7374 refs, char const │ │ │ +00084e90: 202a 206e 6577 5f6c 6162 656c 2c20 466c * new_label, Fl │ │ │ +00084ea0: 5f54 7265 655f 4974 656d 206e 6577 6974 _Tree_Item newit │ │ │ +00084eb0: 656d 2920 2d3e 2046 6c5f 5472 6565 5f49 em) -> Fl_Tree_I │ │ │ +00084ec0: 7465 6d0a 2020 2020 2020 2020 6164 6428 tem. add( │ │ │ +00084ed0: 466c 5f54 7265 655f 4974 656d 2073 656c Fl_Tree_Item sel │ │ │ +00084ee0: 662c 2046 6c5f 5472 6565 5f50 7265 6673 f, Fl_Tree_Prefs │ │ │ +00084ef0: 2070 7265 6673 2c20 6368 6172 2063 6f6e prefs, char con │ │ │ +00084f00: 7374 202a 206e 6577 5f6c 6162 656c 2920 st * new_label) │ │ │ +00084f10: 2d3e 2046 6c5f 5472 6565 5f49 7465 6d0a -> Fl_Tree_Item. │ │ │ +00084f20: 2020 2020 2020 2020 6164 6428 466c 5f54 add(Fl_T │ │ │ +00084f30: 7265 655f 4974 656d 2073 656c 662c 2046 ree_Item self, F │ │ │ +00084f40: 6c5f 5472 6565 5f50 7265 6673 2070 7265 l_Tree_Prefs pre │ │ │ +00084f50: 6673 2c20 6368 6172 202a 2a20 6172 722c fs, char ** arr, │ │ │ +00084f60: 2046 6c5f 5472 6565 5f49 7465 6d20 6e65 Fl_Tree_Item ne │ │ │ +00084f70: 7769 7465 6d29 202d 3e20 466c 5f54 7265 witem) -> Fl_Tre │ │ │ +00084f80: 655f 4974 656d 0a20 2020 2020 2020 2061 e_Item. a │ │ │ +00084f90: 6464 2846 6c5f 5472 6565 5f49 7465 6d20 dd(Fl_Tree_Item │ │ │ +00084fa0: 7365 6c66 2c20 466c 5f54 7265 655f 5072 self, Fl_Tree_Pr │ │ │ +00084fb0: 6566 7320 7072 6566 732c 2063 6861 7220 efs prefs, char │ │ │ +00084fc0: 2a2a 2061 7272 2920 2d3e 2046 6c5f 5472 ** arr) -> Fl_Tr │ │ │ +00084fd0: 6565 5f49 7465 6d0a 2020 2020 2020 2020 ee_Item. │ │ │ +00084fe0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +00084ff0: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ +00085000: 5f49 7465 6d5f 6164 6428 7365 6c66 2c20 _Item_add(self, │ │ │ +00085010: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +00085020: 7265 706c 6163 6528 7365 6c66 2c20 2a61 replace(self, *a │ │ │ +00085030: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00085040: 2222 7265 706c 6163 6528 466c 5f54 7265 ""replace(Fl_Tre │ │ │ +00085050: 655f 4974 656d 2073 656c 662c 2046 6c5f e_Item self, Fl_ │ │ │ +00085060: 5472 6565 5f49 7465 6d20 6e65 775f 6974 Tree_Item new_it │ │ │ +00085070: 656d 2920 2d3e 2046 6c5f 5472 6565 5f49 em) -> Fl_Tree_I │ │ │ +00085080: 7465 6d22 2222 0a20 2020 2020 2020 2072 tem""". r │ │ │ +00085090: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +000850a0: 7265 655f 4974 656d 5f72 6570 6c61 6365 ree_Item_replace │ │ │ +000850b0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +000850c0: 2020 2064 6566 2072 6570 6c61 6365 5f63 def replace_c │ │ │ +000850d0: 6869 6c64 2873 656c 662c 202a 6172 6773 hild(self, *args │ │ │ +000850e0: 293a 0a20 2020 2020 2020 2072 2222 2272 ):. r"""r │ │ │ +000850f0: 6570 6c61 6365 5f63 6869 6c64 2846 6c5f eplace_child(Fl_ │ │ │ +00085100: 5472 6565 5f49 7465 6d20 7365 6c66 2c20 Tree_Item self, │ │ │ +00085110: 466c 5f54 7265 655f 4974 656d 206f 6c64 Fl_Tree_Item old │ │ │ +00085120: 6974 656d 2c20 466c 5f54 7265 655f 4974 item, Fl_Tree_It │ │ │ +00085130: 656d 206e 6577 6974 656d 2920 2d3e 2046 em newitem) -> F │ │ │ +00085140: 6c5f 5472 6565 5f49 7465 6d22 2222 0a20 l_Tree_Item""". │ │ │ +00085150: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00085160: 6c74 6b2e 466c 5f54 7265 655f 4974 656d ltk.Fl_Tree_Item │ │ │ +00085170: 5f72 6570 6c61 6365 5f63 6869 6c64 2873 _replace_child(s │ │ │ +00085180: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +00085190: 2064 6566 2069 6e73 6572 7428 7365 6c66 def insert(self │ │ │ +000851a0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +000851b0: 2020 7222 2222 696e 7365 7274 2846 6c5f r"""insert(Fl_ │ │ │ +000851c0: 5472 6565 5f49 7465 6d20 7365 6c66 2c20 Tree_Item self, │ │ │ +000851d0: 466c 5f54 7265 655f 5072 6566 7320 7072 Fl_Tree_Prefs pr │ │ │ +000851e0: 6566 732c 2063 6861 7220 636f 6e73 7420 efs, char const │ │ │ +000851f0: 2a20 6e65 775f 6c61 6265 6c2c 2069 6e74 * new_label, int │ │ │ +00085200: 2070 6f73 3d30 2920 2d3e 2046 6c5f 5472 pos=0) -> Fl_Tr │ │ │ +00085210: 6565 5f49 7465 6d22 2222 0a20 2020 2020 ee_Item""". │ │ │ +00085220: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00085230: 466c 5f54 7265 655f 4974 656d 5f69 6e73 Fl_Tree_Item_ins │ │ │ +00085240: 6572 7428 7365 6c66 2c20 2a61 7267 7329 ert(self, *args) │ │ │ +00085250: 0a0a 2020 2020 6465 6620 696e 7365 7274 .. def insert │ │ │ +00085260: 5f61 626f 7665 2873 656c 662c 202a 6172 _above(self, *ar │ │ │ +00085270: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00085280: 2269 6e73 6572 745f 6162 6f76 6528 466c "insert_above(Fl │ │ │ +00085290: 5f54 7265 655f 4974 656d 2073 656c 662c _Tree_Item self, │ │ │ +000852a0: 2046 6c5f 5472 6565 5f50 7265 6673 2070 Fl_Tree_Prefs p │ │ │ +000852b0: 7265 6673 2c20 6368 6172 2063 6f6e 7374 refs, char const │ │ │ +000852c0: 202a 206e 6577 5f6c 6162 656c 2920 2d3e * new_label) -> │ │ │ +000852d0: 2046 6c5f 5472 6565 5f49 7465 6d22 2222 Fl_Tree_Item""" │ │ │ +000852e0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +000852f0: 5f66 6c74 6b2e 466c 5f54 7265 655f 4974 _fltk.Fl_Tree_It │ │ │ +00085300: 656d 5f69 6e73 6572 745f 6162 6f76 6528 em_insert_above( │ │ │ +00085310: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +00085320: 2020 6465 6620 6465 7061 7265 6e74 2873 def deparent(s │ │ │ +00085330: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00085340: 2020 2020 2072 2222 2264 6570 6172 656e r"""deparen │ │ │ +00085350: 7428 466c 5f54 7265 655f 4974 656d 2073 t(Fl_Tree_Item s │ │ │ +00085360: 656c 662c 2069 6e74 2069 6e64 6578 2920 elf, int index) │ │ │ +00085370: 2d3e 2046 6c5f 5472 6565 5f49 7465 6d22 -> Fl_Tree_Item" │ │ │ +00085380: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +00085390: 6e20 5f66 6c74 6b2e 466c 5f54 7265 655f n _fltk.Fl_Tree_ │ │ │ +000853a0: 4974 656d 5f64 6570 6172 656e 7428 7365 Item_deparent(se │ │ │ +000853b0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +000853c0: 6465 6620 7265 7061 7265 6e74 2873 656c def reparent(sel │ │ │ +000853d0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +000853e0: 2020 2072 2222 2272 6570 6172 656e 7428 r"""reparent( │ │ │ +000853f0: 466c 5f54 7265 655f 4974 656d 2073 656c Fl_Tree_Item sel │ │ │ +00085400: 662c 2046 6c5f 5472 6565 5f49 7465 6d20 f, Fl_Tree_Item │ │ │ +00085410: 6e65 7763 6869 6c64 2c20 696e 7420 696e newchild, int in │ │ │ +00085420: 6465 7829 202d 3e20 696e 7422 2222 0a20 dex) -> int""". │ │ │ +00085430: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00085440: 6c74 6b2e 466c 5f54 7265 655f 4974 656d ltk.Fl_Tree_Item │ │ │ +00085450: 5f72 6570 6172 656e 7428 7365 6c66 2c20 _reparent(self, │ │ │ +00085460: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +00085470: 6d6f 7665 2873 656c 662c 202a 6172 6773 move(self, *args │ │ │ +00085480: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ +00085490: 2020 2020 2020 2020 6d6f 7665 2846 6c5f move(Fl_ │ │ │ +000854a0: 5472 6565 5f49 7465 6d20 7365 6c66 2c20 Tree_Item self, │ │ │ +000854b0: 696e 7420 746f 2c20 696e 7420 5f66 726f int to, int _fro │ │ │ +000854c0: 6d29 202d 3e20 696e 740a 2020 2020 2020 m) -> int. │ │ │ +000854d0: 2020 6d6f 7665 2846 6c5f 5472 6565 5f49 move(Fl_Tree_I │ │ │ +000854e0: 7465 6d20 7365 6c66 2c20 466c 5f54 7265 tem self, Fl_Tre │ │ │ +000854f0: 655f 4974 656d 2069 7465 6d2c 2069 6e74 e_Item item, int │ │ │ +00085500: 206f 703d 302c 2069 6e74 2070 6f73 3d30 op=0, int pos=0 │ │ │ +00085510: 2920 2d3e 2069 6e74 0a20 2020 2020 2020 ) -> int. │ │ │ +00085520: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ +00085530: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ +00085540: 655f 4974 656d 5f6d 6f76 6528 7365 6c66 e_Item_move(self │ │ │ +00085550: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00085560: 6620 6d6f 7665 5f61 626f 7665 2873 656c f move_above(sel │ │ │ +00085570: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +00085580: 2020 2072 2222 226d 6f76 655f 6162 6f76 r"""move_abov │ │ │ +00085590: 6528 466c 5f54 7265 655f 4974 656d 2073 e(Fl_Tree_Item s │ │ │ +000855a0: 656c 662c 2046 6c5f 5472 6565 5f49 7465 elf, Fl_Tree_Ite │ │ │ +000855b0: 6d20 6974 656d 2920 2d3e 2069 6e74 2222 m item) -> int"" │ │ │ +000855c0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +000855d0: 205f 666c 746b 2e46 6c5f 5472 6565 5f49 _fltk.Fl_Tree_I │ │ │ +000855e0: 7465 6d5f 6d6f 7665 5f61 626f 7665 2873 tem_move_above(s │ │ │ +000855f0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +00085600: 2064 6566 206d 6f76 655f 6265 6c6f 7728 def move_below( │ │ │ +00085610: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +00085620: 2020 2020 2020 7222 2222 6d6f 7665 5f62 r"""move_b │ │ │ +00085630: 656c 6f77 2846 6c5f 5472 6565 5f49 7465 elow(Fl_Tree_Ite │ │ │ +00085640: 6d20 7365 6c66 2c20 466c 5f54 7265 655f m self, Fl_Tree_ │ │ │ +00085650: 4974 656d 2069 7465 6d29 202d 3e20 696e Item item) -> in │ │ │ +00085660: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ +00085670: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ +00085680: 655f 4974 656d 5f6d 6f76 655f 6265 6c6f e_Item_move_belo │ │ │ +00085690: 7728 7365 6c66 2c20 2a61 7267 7329 0a0a w(self, *args).. │ │ │ +000856a0: 2020 2020 6465 6620 6d6f 7665 5f69 6e74 def move_int │ │ │ +000856b0: 6f28 7365 6c66 2c20 2a61 7267 7329 3a0a o(self, *args):. │ │ │ +000856c0: 2020 2020 2020 2020 7222 2222 6d6f 7665 r"""move │ │ │ +000856d0: 5f69 6e74 6f28 466c 5f54 7265 655f 4974 _into(Fl_Tree_It │ │ │ +000856e0: 656d 2073 656c 662c 2046 6c5f 5472 6565 em self, Fl_Tree │ │ │ +000856f0: 5f49 7465 6d20 6974 656d 2c20 696e 7420 _Item item, int │ │ │ +00085700: 706f 733d 3029 202d 3e20 696e 7422 2222 pos=0) -> int""" │ │ │ +00085710: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +00085720: 5f66 6c74 6b2e 466c 5f54 7265 655f 4974 _fltk.Fl_Tree_It │ │ │ +00085730: 656d 5f6d 6f76 655f 696e 746f 2873 656c em_move_into(sel │ │ │ +00085740: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +00085750: 6566 2064 6570 7468 2873 656c 662c 202a ef depth(self, * │ │ │ +00085760: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +00085770: 2222 2264 6570 7468 2846 6c5f 5472 6565 """depth(Fl_Tree │ │ │ +00085780: 5f49 7465 6d20 7365 6c66 2920 2d3e 2069 _Item self) -> i │ │ │ +00085790: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ +000857a0: 7475 726e 205f 666c 746b 2e46 6c5f 5472 turn _fltk.Fl_Tr │ │ │ +000857b0: 6565 5f49 7465 6d5f 6465 7074 6828 7365 ee_Item_depth(se │ │ │ +000857c0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +000857d0: 6465 6620 7072 6576 2873 656c 662c 202a def prev(self, * │ │ │ +000857e0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +000857f0: 2222 2270 7265 7628 466c 5f54 7265 655f """prev(Fl_Tree_ │ │ │ +00085800: 4974 656d 2073 656c 6629 202d 3e20 466c Item self) -> Fl │ │ │ +00085810: 5f54 7265 655f 4974 656d 2222 220a 2020 _Tree_Item""". │ │ │ +00085820: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +00085830: 746b 2e46 6c5f 5472 6565 5f49 7465 6d5f tk.Fl_Tree_Item_ │ │ │ +00085840: 7072 6576 2873 656c 662c 202a 6172 6773 prev(self, *args │ │ │ +00085850: 290a 0a20 2020 2064 6566 206e 6578 7428 ).. def next( │ │ │ +00085860: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +00085870: 2020 2020 2020 7222 2222 6e65 7874 2846 r"""next(F │ │ │ +00085880: 6c5f 5472 6565 5f49 7465 6d20 7365 6c66 l_Tree_Item self │ │ │ +00085890: 2920 2d3e 2046 6c5f 5472 6565 5f49 7465 ) -> Fl_Tree_Ite │ │ │ +000858a0: 6d22 2222 0a20 2020 2020 2020 2072 6574 m""". ret │ │ │ +000858b0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ +000858c0: 655f 4974 656d 5f6e 6578 7428 7365 6c66 e_Item_next(self │ │ │ +000858d0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +000858e0: 6620 6e65 7874 5f73 6962 6c69 6e67 2873 f next_sibling(s │ │ │ +000858f0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00085900: 2020 2020 2072 2222 226e 6578 745f 7369 r"""next_si │ │ │ +00085910: 626c 696e 6728 466c 5f54 7265 655f 4974 bling(Fl_Tree_It │ │ │ +00085920: 656d 2073 656c 6629 202d 3e20 466c 5f54 em self) -> Fl_T │ │ │ +00085930: 7265 655f 4974 656d 2222 220a 2020 2020 ree_Item""". │ │ │ +00085940: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +00085950: 2e46 6c5f 5472 6565 5f49 7465 6d5f 6e65 .Fl_Tree_Item_ne │ │ │ +00085960: 7874 5f73 6962 6c69 6e67 2873 656c 662c xt_sibling(self, │ │ │ +00085970: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +00085980: 2070 7265 765f 7369 626c 696e 6728 7365 prev_sibling(se │ │ │ +00085990: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +000859a0: 2020 2020 7222 2222 7072 6576 5f73 6962 r"""prev_sib │ │ │ +000859b0: 6c69 6e67 2846 6c5f 5472 6565 5f49 7465 ling(Fl_Tree_Ite │ │ │ +000859c0: 6d20 7365 6c66 2920 2d3e 2046 6c5f 5472 m self) -> Fl_Tr │ │ │ +000859d0: 6565 5f49 7465 6d22 2222 0a20 2020 2020 ee_Item""". │ │ │ +000859e0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +000859f0: 466c 5f54 7265 655f 4974 656d 5f70 7265 Fl_Tree_Item_pre │ │ │ +00085a00: 765f 7369 626c 696e 6728 7365 6c66 2c20 v_sibling(self, │ │ │ +00085a10: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +00085a20: 7570 6461 7465 5f70 7265 765f 6e65 7874 update_prev_next │ │ │ +00085a30: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00085a40: 2020 2020 2020 2072 2222 2275 7064 6174 r"""updat │ │ │ +00085a50: 655f 7072 6576 5f6e 6578 7428 466c 5f54 e_prev_next(Fl_T │ │ │ +00085a60: 7265 655f 4974 656d 2073 656c 662c 2069 ree_Item self, i │ │ │ +00085a70: 6e74 2069 6e64 6578 2922 2222 0a20 2020 nt index)""". │ │ │ +00085a80: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00085a90: 6b2e 466c 5f54 7265 655f 4974 656d 5f75 k.Fl_Tree_Item_u │ │ │ +00085aa0: 7064 6174 655f 7072 6576 5f6e 6578 7428 pdate_prev_next( │ │ │ +00085ab0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +00085ac0: 2020 6465 6620 6e65 7874 5f64 6973 706c def next_displ │ │ │ +00085ad0: 6179 6564 2873 656c 662c 202a 6172 6773 ayed(self, *args │ │ │ +00085ae0: 293a 0a20 2020 2020 2020 2072 2222 226e ):. r"""n │ │ │ +00085af0: 6578 745f 6469 7370 6c61 7965 6428 466c ext_displayed(Fl │ │ │ +00085b00: 5f54 7265 655f 4974 656d 2073 656c 662c _Tree_Item self, │ │ │ +00085b10: 2046 6c5f 5472 6565 5f50 7265 6673 2070 Fl_Tree_Prefs p │ │ │ +00085b20: 7265 6673 2920 2d3e 2046 6c5f 5472 6565 refs) -> Fl_Tree │ │ │ +00085b30: 5f49 7465 6d22 2222 0a20 2020 2020 2020 _Item""". │ │ │ +00085b40: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +00085b50: 5f54 7265 655f 4974 656d 5f6e 6578 745f _Tree_Item_next_ │ │ │ +00085b60: 6469 7370 6c61 7965 6428 7365 6c66 2c20 displayed(self, │ │ │ +00085b70: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +00085b80: 7072 6576 5f64 6973 706c 6179 6564 2873 prev_displayed(s │ │ │ +00085b90: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00085ba0: 2020 2020 2072 2222 2270 7265 765f 6469 r"""prev_di │ │ │ +00085bb0: 7370 6c61 7965 6428 466c 5f54 7265 655f splayed(Fl_Tree_ │ │ │ +00085bc0: 4974 656d 2073 656c 662c 2046 6c5f 5472 Item self, Fl_Tr │ │ │ +00085bd0: 6565 5f50 7265 6673 2070 7265 6673 2920 ee_Prefs prefs) │ │ │ +00085be0: 2d3e 2046 6c5f 5472 6565 5f49 7465 6d22 -> Fl_Tree_Item" │ │ │ +00085bf0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +00085c00: 6e20 5f66 6c74 6b2e 466c 5f54 7265 655f n _fltk.Fl_Tree_ │ │ │ +00085c10: 4974 656d 5f70 7265 765f 6469 7370 6c61 Item_prev_displa │ │ │ +00085c20: 7965 6428 7365 6c66 2c20 2a61 7267 7329 yed(self, *args) │ │ │ +00085c30: 0a0a 2020 2020 6465 6620 6e65 7874 5f76 .. def next_v │ │ │ +00085c40: 6973 6962 6c65 2873 656c 662c 202a 6172 isible(self, *ar │ │ │ +00085c50: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00085c60: 226e 6578 745f 7669 7369 626c 6528 466c "next_visible(Fl │ │ │ +00085c70: 5f54 7265 655f 4974 656d 2073 656c 662c _Tree_Item self, │ │ │ +00085c80: 2046 6c5f 5472 6565 5f50 7265 6673 2070 Fl_Tree_Prefs p │ │ │ +00085c90: 7265 6673 2920 2d3e 2046 6c5f 5472 6565 refs) -> Fl_Tree │ │ │ +00085ca0: 5f49 7465 6d22 2222 0a20 2020 2020 2020 _Item""". │ │ │ +00085cb0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +00085cc0: 5f54 7265 655f 4974 656d 5f6e 6578 745f _Tree_Item_next_ │ │ │ +00085cd0: 7669 7369 626c 6528 7365 6c66 2c20 2a61 visible(self, *a │ │ │ +00085ce0: 7267 7329 0a0a 2020 2020 6465 6620 7072 rgs).. def pr │ │ │ +00085cf0: 6576 5f76 6973 6962 6c65 2873 656c 662c ev_visible(self, │ │ │ +00085d00: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00085d10: 2072 2222 2270 7265 765f 7669 7369 626c r"""prev_visibl │ │ │ +00085d20: 6528 466c 5f54 7265 655f 4974 656d 2073 e(Fl_Tree_Item s │ │ │ +00085d30: 656c 662c 2046 6c5f 5472 6565 5f50 7265 elf, Fl_Tree_Pre │ │ │ +00085d40: 6673 2070 7265 6673 2920 2d3e 2046 6c5f fs prefs) -> Fl_ │ │ │ +00085d50: 5472 6565 5f49 7465 6d22 2222 0a20 2020 Tree_Item""". │ │ │ +00085d60: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00085d70: 6b2e 466c 5f54 7265 655f 4974 656d 5f70 k.Fl_Tree_Item_p │ │ │ +00085d80: 7265 765f 7669 7369 626c 6528 7365 6c66 rev_visible(self │ │ │ +00085d90: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00085da0: 6620 7061 7265 6e74 2873 656c 662c 202a f parent(self, * │ │ │ +00085db0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +00085dc0: 2222 220a 2020 2020 2020 2020 7061 7265 """. pare │ │ │ +00085dd0: 6e74 2846 6c5f 5472 6565 5f49 7465 6d20 nt(Fl_Tree_Item │ │ │ +00085de0: 7365 6c66 2920 2d3e 2046 6c5f 5472 6565 self) -> Fl_Tree │ │ │ +00085df0: 5f49 7465 6d0a 2020 2020 2020 2020 7061 _Item. pa │ │ │ +00085e00: 7265 6e74 2846 6c5f 5472 6565 5f49 7465 rent(Fl_Tree_Ite │ │ │ +00085e10: 6d20 7365 6c66 2920 2d3e 2046 6c5f 5472 m self) -> Fl_Tr │ │ │ +00085e20: 6565 5f49 7465 6d0a 2020 2020 2020 2020 ee_Item. │ │ │ +00085e30: 7061 7265 6e74 2846 6c5f 5472 6565 5f49 parent(Fl_Tree_I │ │ │ +00085e40: 7465 6d20 7365 6c66 2c20 466c 5f54 7265 tem self, Fl_Tre │ │ │ +00085e50: 655f 4974 656d 2076 616c 290a 2020 2020 e_Item val). │ │ │ +00085e60: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ +00085e70: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +00085e80: 5472 6565 5f49 7465 6d5f 7061 7265 6e74 Tree_Item_parent │ │ │ +00085e90: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +00085ea0: 2020 2064 6566 2070 7265 6673 2873 656c def prefs(sel │ │ │ +00085eb0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +00085ec0: 2020 2072 2222 2270 7265 6673 2846 6c5f r"""prefs(Fl_ │ │ │ +00085ed0: 5472 6565 5f49 7465 6d20 7365 6c66 2920 Tree_Item self) │ │ │ +00085ee0: 2d3e 2046 6c5f 5472 6565 5f50 7265 6673 -> Fl_Tree_Prefs │ │ │ +00085ef0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +00085f00: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ +00085f10: 5f49 7465 6d5f 7072 6566 7328 7365 6c66 _Item_prefs(self │ │ │ +00085f20: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00085f30: 6620 7472 6565 2873 656c 662c 202a 6172 f tree(self, *ar │ │ │ +00085f40: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00085f50: 220a 2020 2020 2020 2020 7472 6565 2846 ". tree(F │ │ │ +00085f60: 6c5f 5472 6565 5f49 7465 6d20 7365 6c66 l_Tree_Item self │ │ │ +00085f70: 2920 2d3e 2046 6c5f 5472 6565 0a20 2020 ) -> Fl_Tree. │ │ │ +00085f80: 2020 2020 2074 7265 6528 466c 5f54 7265 tree(Fl_Tre │ │ │ +00085f90: 655f 4974 656d 2073 656c 6629 202d 3e20 e_Item self) -> │ │ │ +00085fa0: 466c 5f54 7265 650a 2020 2020 2020 2020 Fl_Tree. │ │ │ +00085fb0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +00085fc0: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ +00085fd0: 5f49 7465 6d5f 7472 6565 2873 656c 662c _Item_tree(self, │ │ │ +00085fe0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +00085ff0: 206f 7065 6e28 7365 6c66 2c20 2a61 7267 open(self, *arg │ │ │ +00086000: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +00086010: 6f70 656e 2846 6c5f 5472 6565 5f49 7465 open(Fl_Tree_Ite │ │ │ +00086020: 6d20 7365 6c66 2922 2222 0a20 2020 2020 m self)""". │ │ │ +00086030: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00086040: 466c 5f54 7265 655f 4974 656d 5f6f 7065 Fl_Tree_Item_ope │ │ │ +00086050: 6e28 7365 6c66 2c20 2a61 7267 7329 0a0a n(self, *args).. │ │ │ +00086060: 2020 2020 6465 6620 636c 6f73 6528 7365 def close(se │ │ │ +00086070: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +00086080: 2020 2020 7222 2222 636c 6f73 6528 466c r"""close(Fl │ │ │ +00086090: 5f54 7265 655f 4974 656d 2073 656c 6629 _Tree_Item self) │ │ │ +000860a0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +000860b0: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ +000860c0: 5f49 7465 6d5f 636c 6f73 6528 7365 6c66 _Item_close(self │ │ │ +000860d0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +000860e0: 6620 6973 5f6f 7065 6e28 7365 6c66 2c20 f is_open(self, │ │ │ +000860f0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00086100: 7222 2222 6973 5f6f 7065 6e28 466c 5f54 r"""is_open(Fl_T │ │ │ +00086110: 7265 655f 4974 656d 2073 656c 6629 202d ree_Item self) - │ │ │ +00086120: 3e20 696e 7422 2222 0a20 2020 2020 2020 > int""". │ │ │ +00086130: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +00086140: 5f54 7265 655f 4974 656d 5f69 735f 6f70 _Tree_Item_is_op │ │ │ +00086150: 656e 2873 656c 662c 202a 6172 6773 290a en(self, *args). │ │ │ +00086160: 0a20 2020 2064 6566 2069 735f 636c 6f73 . def is_clos │ │ │ +00086170: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ +00086180: 2020 2020 2020 2020 7222 2222 6973 5f63 r"""is_c │ │ │ +00086190: 6c6f 7365 2846 6c5f 5472 6565 5f49 7465 lose(Fl_Tree_Ite │ │ │ +000861a0: 6d20 7365 6c66 2920 2d3e 2069 6e74 2222 m self) -> int"" │ │ │ +000861b0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +000861c0: 205f 666c 746b 2e46 6c5f 5472 6565 5f49 _fltk.Fl_Tree_I │ │ │ +000861d0: 7465 6d5f 6973 5f63 6c6f 7365 2873 656c tem_is_close(sel │ │ │ +000861e0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +000861f0: 6566 206f 7065 6e5f 746f 6767 6c65 2873 ef open_toggle(s │ │ │ +00086200: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00086210: 2020 2020 2072 2222 226f 7065 6e5f 746f r"""open_to │ │ │ +00086220: 6767 6c65 2846 6c5f 5472 6565 5f49 7465 ggle(Fl_Tree_Ite │ │ │ +00086230: 6d20 7365 6c66 2922 2222 0a20 2020 2020 m self)""". │ │ │ +00086240: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00086250: 466c 5f54 7265 655f 4974 656d 5f6f 7065 Fl_Tree_Item_ope │ │ │ +00086260: 6e5f 746f 6767 6c65 2873 656c 662c 202a n_toggle(self, * │ │ │ +00086270: 6172 6773 290a 0a20 2020 2064 6566 2073 args).. def s │ │ │ +00086280: 656c 6563 7428 7365 6c66 2c20 2a61 7267 elect(self, *arg │ │ │ +00086290: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +000862a0: 7365 6c65 6374 2846 6c5f 5472 6565 5f49 select(Fl_Tree_I │ │ │ +000862b0: 7465 6d20 7365 6c66 2c20 696e 7420 7661 tem self, int va │ │ │ +000862c0: 6c3d 3129 2222 220a 2020 2020 2020 2020 l=1)""". │ │ │ +000862d0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +000862e0: 5472 6565 5f49 7465 6d5f 7365 6c65 6374 Tree_Item_select │ │ │ +000862f0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +00086300: 2020 2064 6566 2073 656c 6563 745f 746f def select_to │ │ │ +00086310: 6767 6c65 2873 656c 662c 202a 6172 6773 ggle(self, *args │ │ │ +00086320: 293a 0a20 2020 2020 2020 2072 2222 2273 ):. r"""s │ │ │ +00086330: 656c 6563 745f 746f 6767 6c65 2846 6c5f elect_toggle(Fl_ │ │ │ +00086340: 5472 6565 5f49 7465 6d20 7365 6c66 2922 Tree_Item self)" │ │ │ +00086350: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +00086360: 6e20 5f66 6c74 6b2e 466c 5f54 7265 655f n _fltk.Fl_Tree_ │ │ │ +00086370: 4974 656d 5f73 656c 6563 745f 746f 6767 Item_select_togg │ │ │ +00086380: 6c65 2873 656c 662c 202a 6172 6773 290a le(self, *args). │ │ │ +00086390: 0a20 2020 2064 6566 2073 656c 6563 745f . def select_ │ │ │ +000863a0: 616c 6c28 7365 6c66 2c20 2a61 7267 7329 all(self, *args) │ │ │ +000863b0: 3a0a 2020 2020 2020 2020 7222 2222 7365 :. r"""se │ │ │ +000863c0: 6c65 6374 5f61 6c6c 2846 6c5f 5472 6565 lect_all(Fl_Tree │ │ │ +000863d0: 5f49 7465 6d20 7365 6c66 2920 2d3e 2069 _Item self) -> i │ │ │ +000863e0: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ +000863f0: 7475 726e 205f 666c 746b 2e46 6c5f 5472 turn _fltk.Fl_Tr │ │ │ +00086400: 6565 5f49 7465 6d5f 7365 6c65 6374 5f61 ee_Item_select_a │ │ │ +00086410: 6c6c 2873 656c 662c 202a 6172 6773 290a ll(self, *args). │ │ │ +00086420: 0a20 2020 2064 6566 2064 6573 656c 6563 . def deselec │ │ │ +00086430: 7428 7365 6c66 2c20 2a61 7267 7329 3a0a t(self, *args):. │ │ │ +00086440: 2020 2020 2020 2020 7222 2222 6465 7365 r"""dese │ │ │ +00086450: 6c65 6374 2846 6c5f 5472 6565 5f49 7465 lect(Fl_Tree_Ite │ │ │ +00086460: 6d20 7365 6c66 2922 2222 0a20 2020 2020 m self)""". │ │ │ +00086470: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00086480: 466c 5f54 7265 655f 4974 656d 5f64 6573 Fl_Tree_Item_des │ │ │ +00086490: 656c 6563 7428 7365 6c66 2c20 2a61 7267 elect(self, *arg │ │ │ +000864a0: 7329 0a0a 2020 2020 6465 6620 6465 7365 s).. def dese │ │ │ +000864b0: 6c65 6374 5f61 6c6c 2873 656c 662c 202a lect_all(self, * │ │ │ +000864c0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +000864d0: 2222 2264 6573 656c 6563 745f 616c 6c28 """deselect_all( │ │ │ +000864e0: 466c 5f54 7265 655f 4974 656d 2073 656c Fl_Tree_Item sel │ │ │ +000864f0: 6629 202d 3e20 696e 7422 2222 0a20 2020 f) -> int""". │ │ │ +00086500: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00086510: 6b2e 466c 5f54 7265 655f 4974 656d 5f64 k.Fl_Tree_Item_d │ │ │ +00086520: 6573 656c 6563 745f 616c 6c28 7365 6c66 eselect_all(self │ │ │ +00086530: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00086540: 6620 6973 5f73 656c 6563 7465 6428 7365 f is_selected(se │ │ │ +00086550: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +00086560: 2020 2020 7222 2222 6973 5f73 656c 6563 r"""is_selec │ │ │ +00086570: 7465 6428 466c 5f54 7265 655f 4974 656d ted(Fl_Tree_Item │ │ │ +00086580: 2073 656c 6629 202d 3e20 6368 6172 2222 self) -> char"" │ │ │ +00086590: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +000865a0: 205f 666c 746b 2e46 6c5f 5472 6565 5f49 _fltk.Fl_Tree_I │ │ │ +000865b0: 7465 6d5f 6973 5f73 656c 6563 7465 6428 tem_is_selected( │ │ │ +000865c0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +000865d0: 2020 6465 6620 6163 7469 7661 7465 2873 def activate(s │ │ │ +000865e0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +000865f0: 2020 2020 2072 2222 2261 6374 6976 6174 r"""activat │ │ │ +00086600: 6528 466c 5f54 7265 655f 4974 656d 2073 e(Fl_Tree_Item s │ │ │ +00086610: 656c 662c 2069 6e74 2076 616c 3d31 2922 elf, int val=1)" │ │ │ +00086620: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +00086630: 6e20 5f66 6c74 6b2e 466c 5f54 7265 655f n _fltk.Fl_Tree_ │ │ │ +00086640: 4974 656d 5f61 6374 6976 6174 6528 7365 Item_activate(se │ │ │ +00086650: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +00086660: 6465 6620 6465 6163 7469 7661 7465 2873 def deactivate(s │ │ │ +00086670: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00086680: 2020 2020 2072 2222 2264 6561 6374 6976 r"""deactiv │ │ │ +00086690: 6174 6528 466c 5f54 7265 655f 4974 656d ate(Fl_Tree_Item │ │ │ +000866a0: 2073 656c 6629 2222 220a 2020 2020 2020 self)""". │ │ │ +000866b0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +000866c0: 6c5f 5472 6565 5f49 7465 6d5f 6465 6163 l_Tree_Item_deac │ │ │ +000866d0: 7469 7661 7465 2873 656c 662c 202a 6172 tivate(self, *ar │ │ │ +000866e0: 6773 290a 0a20 2020 2064 6566 2069 735f gs).. def is_ │ │ │ +000866f0: 6163 7469 7661 7465 6428 7365 6c66 2c20 activated(self, │ │ │ +00086700: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00086710: 7222 2222 6973 5f61 6374 6976 6174 6564 r"""is_activated │ │ │ +00086720: 2846 6c5f 5472 6565 5f49 7465 6d20 7365 (Fl_Tree_Item se │ │ │ +00086730: 6c66 2920 2d3e 2063 6861 7222 2222 0a20 lf) -> char""". │ │ │ +00086740: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00086750: 6c74 6b2e 466c 5f54 7265 655f 4974 656d ltk.Fl_Tree_Item │ │ │ +00086760: 5f69 735f 6163 7469 7661 7465 6428 7365 _is_activated(se │ │ │ +00086770: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +00086780: 6465 6620 6973 5f61 6374 6976 6528 7365 def is_active(se │ │ │ +00086790: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +000867a0: 2020 2020 7222 2222 6973 5f61 6374 6976 r"""is_activ │ │ │ +000867b0: 6528 466c 5f54 7265 655f 4974 656d 2073 e(Fl_Tree_Item s │ │ │ +000867c0: 656c 6629 202d 3e20 6368 6172 2222 220a elf) -> char""". │ │ │ +000867d0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +000867e0: 666c 746b 2e46 6c5f 5472 6565 5f49 7465 fltk.Fl_Tree_Ite │ │ │ +000867f0: 6d5f 6973 5f61 6374 6976 6528 7365 6c66 m_is_active(self │ │ │ +00086800: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00086810: 6620 7669 7369 626c 6528 7365 6c66 2c20 f visible(self, │ │ │ +00086820: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00086830: 7222 2222 7669 7369 626c 6528 466c 5f54 r"""visible(Fl_T │ │ │ +00086840: 7265 655f 4974 656d 2073 656c 6629 202d ree_Item self) - │ │ │ +00086850: 3e20 696e 7422 2222 0a20 2020 2020 2020 > int""". │ │ │ +00086860: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +00086870: 5f54 7265 655f 4974 656d 5f76 6973 6962 _Tree_Item_visib │ │ │ +00086880: 6c65 2873 656c 662c 202a 6172 6773 290a le(self, *args). │ │ │ +00086890: 0a20 2020 2064 6566 2069 735f 7669 7369 . def is_visi │ │ │ +000868a0: 626c 6528 7365 6c66 2c20 2a61 7267 7329 ble(self, *args) │ │ │ +000868b0: 3a0a 2020 2020 2020 2020 7222 2222 6973 :. r"""is │ │ │ +000868c0: 5f76 6973 6962 6c65 2846 6c5f 5472 6565 _visible(Fl_Tree │ │ │ +000868d0: 5f49 7465 6d20 7365 6c66 2920 2d3e 2069 _Item self) -> i │ │ │ +000868e0: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ +000868f0: 7475 726e 205f 666c 746b 2e46 6c5f 5472 turn _fltk.Fl_Tr │ │ │ +00086900: 6565 5f49 7465 6d5f 6973 5f76 6973 6962 ee_Item_is_visib │ │ │ +00086910: 6c65 2873 656c 662c 202a 6172 6773 290a le(self, *args). │ │ │ +00086920: 0a20 2020 2064 6566 2076 6973 6962 6c65 . def visible │ │ │ +00086930: 5f72 2873 656c 662c 202a 6172 6773 293a _r(self, *args): │ │ │ +00086940: 0a20 2020 2020 2020 2072 2222 2276 6973 . r"""vis │ │ │ +00086950: 6962 6c65 5f72 2846 6c5f 5472 6565 5f49 ible_r(Fl_Tree_I │ │ │ +00086960: 7465 6d20 7365 6c66 2920 2d3e 2069 6e74 tem self) -> int │ │ │ +00086970: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +00086980: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ +00086990: 5f49 7465 6d5f 7669 7369 626c 655f 7228 _Item_visible_r( │ │ │ +000869a0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +000869b0: 2020 6465 6620 6973 5f76 6973 6962 6c65 def is_visible │ │ │ +000869c0: 5f72 2873 656c 662c 202a 6172 6773 293a _r(self, *args): │ │ │ +000869d0: 0a20 2020 2020 2020 2072 2222 2269 735f . r"""is_ │ │ │ +000869e0: 7669 7369 626c 655f 7228 466c 5f54 7265 visible_r(Fl_Tre │ │ │ +000869f0: 655f 4974 656d 2073 656c 6629 202d 3e20 e_Item self) -> │ │ │ +00086a00: 696e 7422 2222 0a20 2020 2020 2020 2072 int""". r │ │ │ +00086a10: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +00086a20: 7265 655f 4974 656d 5f69 735f 7669 7369 ree_Item_is_visi │ │ │ +00086a30: 626c 655f 7228 7365 6c66 2c20 2a61 7267 ble_r(self, *arg │ │ │ +00086a40: 7329 0a0a 2020 2020 6465 6620 7573 6572 s).. def user │ │ │ +00086a50: 6963 6f6e 2873 656c 662c 202a 6172 6773 icon(self, *args │ │ │ +00086a60: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ +00086a70: 2020 2020 2020 2020 7573 6572 6963 6f6e usericon │ │ │ +00086a80: 2846 6c5f 5472 6565 5f49 7465 6d20 7365 (Fl_Tree_Item se │ │ │ +00086a90: 6c66 2c20 466c 5f49 6d61 6765 2076 616c lf, Fl_Image val │ │ │ +00086aa0: 290a 2020 2020 2020 2020 7573 6572 6963 ). useric │ │ │ +00086ab0: 6f6e 2846 6c5f 5472 6565 5f49 7465 6d20 on(Fl_Tree_Item │ │ │ +00086ac0: 7365 6c66 2920 2d3e 2046 6c5f 496d 6167 self) -> Fl_Imag │ │ │ +00086ad0: 650a 2020 2020 2020 2020 2222 220a 2020 e. """. │ │ │ +00086ae0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +00086af0: 746b 2e46 6c5f 5472 6565 5f49 7465 6d5f tk.Fl_Tree_Item_ │ │ │ +00086b00: 7573 6572 6963 6f6e 2873 656c 662c 202a usericon(self, * │ │ │ +00086b10: 6172 6773 290a 0a20 2020 2064 6566 2075 args).. def u │ │ │ +00086b20: 7365 7264 6569 636f 6e28 7365 6c66 2c20 serdeicon(self, │ │ │ +00086b30: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00086b40: 7222 2222 0a20 2020 2020 2020 2075 7365 r""". use │ │ │ +00086b50: 7264 6569 636f 6e28 466c 5f54 7265 655f rdeicon(Fl_Tree_ │ │ │ +00086b60: 4974 656d 2073 656c 662c 2046 6c5f 496d Item self, Fl_Im │ │ │ +00086b70: 6167 6520 7661 6c29 0a20 2020 2020 2020 age val). │ │ │ +00086b80: 2075 7365 7264 6569 636f 6e28 466c 5f54 userdeicon(Fl_T │ │ │ +00086b90: 7265 655f 4974 656d 2073 656c 6629 202d ree_Item self) - │ │ │ +00086ba0: 3e20 466c 5f49 6d61 6765 0a20 2020 2020 > Fl_Image. │ │ │ +00086bb0: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ +00086bc0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +00086bd0: 7265 655f 4974 656d 5f75 7365 7264 6569 ree_Item_userdei │ │ │ +00086be0: 636f 6e28 7365 6c66 2c20 2a61 7267 7329 con(self, *args) │ │ │ +00086bf0: 0a0a 2020 2020 6465 6620 6669 6e64 5f63 .. def find_c │ │ │ +00086c00: 6c69 636b 6564 2873 656c 662c 202a 6172 licked(self, *ar │ │ │ +00086c10: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00086c20: 220a 2020 2020 2020 2020 6669 6e64 5f63 ". find_c │ │ │ +00086c30: 6c69 636b 6564 2846 6c5f 5472 6565 5f49 licked(Fl_Tree_I │ │ │ +00086c40: 7465 6d20 7365 6c66 2c20 466c 5f54 7265 tem self, Fl_Tre │ │ │ +00086c50: 655f 5072 6566 7320 7072 6566 732c 2069 e_Prefs prefs, i │ │ │ +00086c60: 6e74 2079 6f6e 6c79 3d30 2920 2d3e 2046 nt yonly=0) -> F │ │ │ +00086c70: 6c5f 5472 6565 5f49 7465 6d0a 2020 2020 l_Tree_Item. │ │ │ +00086c80: 2020 2020 6669 6e64 5f63 6c69 636b 6564 find_clicked │ │ │ +00086c90: 2846 6c5f 5472 6565 5f49 7465 6d20 7365 (Fl_Tree_Item se │ │ │ +00086ca0: 6c66 2c20 466c 5f54 7265 655f 5072 6566 lf, Fl_Tree_Pref │ │ │ +00086cb0: 7320 7072 6566 732c 2069 6e74 2079 6f6e s prefs, int yon │ │ │ +00086cc0: 6c79 3d30 2920 2d3e 2046 6c5f 5472 6565 ly=0) -> Fl_Tree │ │ │ +00086cd0: 5f49 7465 6d0a 2020 2020 2020 2020 2222 _Item. "" │ │ │ +00086ce0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +00086cf0: 205f 666c 746b 2e46 6c5f 5472 6565 5f49 _fltk.Fl_Tree_I │ │ │ +00086d00: 7465 6d5f 6669 6e64 5f63 6c69 636b 6564 tem_find_clicked │ │ │ +00086d10: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +00086d20: 2020 2064 6566 2065 7665 6e74 5f6f 6e5f def event_on_ │ │ │ +00086d30: 6974 656d 2873 656c 662c 202a 6172 6773 item(self, *args │ │ │ +00086d40: 293a 0a20 2020 2020 2020 2072 2222 2265 ):. r"""e │ │ │ +00086d50: 7665 6e74 5f6f 6e5f 6974 656d 2846 6c5f vent_on_item(Fl_ │ │ │ +00086d60: 5472 6565 5f49 7465 6d20 7365 6c66 2c20 Tree_Item self, │ │ │ +00086d70: 466c 5f54 7265 655f 5072 6566 7320 7072 Fl_Tree_Prefs pr │ │ │ +00086d80: 6566 7329 202d 3e20 696e 7422 2222 0a20 efs) -> int""". │ │ │ +00086d90: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00086da0: 6c74 6b2e 466c 5f54 7265 655f 4974 656d ltk.Fl_Tree_Item │ │ │ +00086db0: 5f65 7665 6e74 5f6f 6e5f 6974 656d 2873 _event_on_item(s │ │ │ +00086dc0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +00086dd0: 2064 6566 2065 7665 6e74 5f6f 6e5f 636f def event_on_co │ │ │ +00086de0: 6c6c 6170 7365 5f69 636f 6e28 7365 6c66 llapse_icon(self │ │ │ +00086df0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00086e00: 2020 7222 2222 6576 656e 745f 6f6e 5f63 r"""event_on_c │ │ │ +00086e10: 6f6c 6c61 7073 655f 6963 6f6e 2846 6c5f ollapse_icon(Fl_ │ │ │ +00086e20: 5472 6565 5f49 7465 6d20 7365 6c66 2c20 Tree_Item self, │ │ │ +00086e30: 466c 5f54 7265 655f 5072 6566 7320 7072 Fl_Tree_Prefs pr │ │ │ +00086e40: 6566 7329 202d 3e20 696e 7422 2222 0a20 efs) -> int""". │ │ │ +00086e50: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00086e60: 6c74 6b2e 466c 5f54 7265 655f 4974 656d ltk.Fl_Tree_Item │ │ │ +00086e70: 5f65 7665 6e74 5f6f 6e5f 636f 6c6c 6170 _event_on_collap │ │ │ +00086e80: 7365 5f69 636f 6e28 7365 6c66 2c20 2a61 se_icon(self, *a │ │ │ +00086e90: 7267 7329 0a0a 2020 2020 6465 6620 6576 rgs).. def ev │ │ │ 00086ea0: 656e 745f 6f6e 5f75 7365 725f 6963 6f6e ent_on_user_icon │ │ │ -00086eb0: 2846 6c5f 5472 6565 5f49 7465 6d20 7365 (Fl_Tree_Item se │ │ │ -00086ec0: 6c66 2c20 466c 5f54 7265 655f 5072 6566 lf, Fl_Tree_Pref │ │ │ -00086ed0: 7320 7072 6566 7329 202d 3e20 696e 7422 s prefs) -> int" │ │ │ -00086ee0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -00086ef0: 6e20 5f66 6c74 6b2e 466c 5f54 7265 655f n _fltk.Fl_Tree_ │ │ │ -00086f00: 4974 656d 5f65 7665 6e74 5f6f 6e5f 7573 Item_event_on_us │ │ │ -00086f10: 6572 5f69 636f 6e28 7365 6c66 2c20 2a61 er_icon(self, *a │ │ │ -00086f20: 7267 7329 0a0a 2020 2020 6465 6620 6576 rgs).. def ev │ │ │ -00086f30: 656e 745f 6f6e 5f6c 6162 656c 2873 656c ent_on_label(sel │ │ │ -00086f40: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00086f50: 2020 2072 2222 2265 7665 6e74 5f6f 6e5f r"""event_on_ │ │ │ -00086f60: 6c61 6265 6c28 466c 5f54 7265 655f 4974 label(Fl_Tree_It │ │ │ -00086f70: 656d 2073 656c 662c 2046 6c5f 5472 6565 em self, Fl_Tree │ │ │ -00086f80: 5f50 7265 6673 2070 7265 6673 2920 2d3e _Prefs prefs) -> │ │ │ -00086f90: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ -00086fa0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00086fb0: 5472 6565 5f49 7465 6d5f 6576 656e 745f Tree_Item_event_ │ │ │ -00086fc0: 6f6e 5f6c 6162 656c 2873 656c 662c 202a on_label(self, * │ │ │ -00086fd0: 6172 6773 290a 0a20 2020 2064 6566 2069 args).. def i │ │ │ -00086fe0: 735f 726f 6f74 2873 656c 662c 202a 6172 s_root(self, *ar │ │ │ -00086ff0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -00087000: 2269 735f 726f 6f74 2846 6c5f 5472 6565 "is_root(Fl_Tree │ │ │ -00087010: 5f49 7465 6d20 7365 6c66 2920 2d3e 2069 _Item self) -> i │ │ │ -00087020: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ -00087030: 7475 726e 205f 666c 746b 2e46 6c5f 5472 turn _fltk.Fl_Tr │ │ │ -00087040: 6565 5f49 7465 6d5f 6973 5f72 6f6f 7428 ee_Item_is_root( │ │ │ -00087050: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -00087060: 2020 6465 6620 696e 6974 5f74 7970 6528 def init_type( │ │ │ -00087070: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -00087080: 2020 2020 2020 7222 2222 696e 6974 5f74 r"""init_t │ │ │ -00087090: 7970 6528 466c 5f54 7265 655f 4974 656d ype(Fl_Tree_Item │ │ │ -000870a0: 2073 656c 662c 2063 6861 7220 2a20 466c self, char * Fl │ │ │ -000870b0: 5f54 7265 655f 4974 656d 2922 2222 0a20 _Tree_Item)""". │ │ │ -000870c0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -000870d0: 6c74 6b2e 466c 5f54 7265 655f 4974 656d ltk.Fl_Tree_Item │ │ │ -000870e0: 5f69 6e69 745f 7479 7065 2873 656c 662c _init_type(self, │ │ │ -000870f0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00087100: 2075 7365 725f 6461 7461 2873 656c 662c user_data(self, │ │ │ -00087110: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00087120: 2072 2222 220a 2020 2020 2020 2020 7573 r""". us │ │ │ -00087130: 6572 5f64 6174 6128 466c 5f54 7265 655f er_data(Fl_Tree_ │ │ │ -00087140: 4974 656d 2073 656c 662c 2050 794f 626a Item self, PyObj │ │ │ -00087150: 6563 7420 2a20 5079 4461 7461 290a 2020 ect * PyData). │ │ │ -00087160: 2020 2020 2020 7573 6572 5f64 6174 6128 user_data( │ │ │ -00087170: 466c 5f54 7265 655f 4974 656d 2073 656c Fl_Tree_Item sel │ │ │ -00087180: 6629 202d 3e20 5079 4f62 6a65 6374 202a f) -> PyObject * │ │ │ -00087190: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ -000871a0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -000871b0: 6b2e 466c 5f54 7265 655f 4974 656d 5f75 k.Fl_Tree_Item_u │ │ │ -000871c0: 7365 725f 6461 7461 2873 656c 662c 202a ser_data(self, * │ │ │ -000871d0: 6172 6773 290a 2020 2020 6465 6620 5f5f args). def __ │ │ │ -000871e0: 6469 736f 776e 5f5f 2873 656c 6629 3a0a disown__(self):. │ │ │ -000871f0: 2020 2020 2020 2020 7365 6c66 2e74 6869 self.thi │ │ │ -00087200: 732e 6469 736f 776e 2829 0a20 2020 2020 s.disown(). │ │ │ -00087210: 2020 205f 666c 746b 2e64 6973 6f77 6e5f _fltk.disown_ │ │ │ -00087220: 466c 5f54 7265 655f 4974 656d 2873 656c Fl_Tree_Item(sel │ │ │ -00087230: 6629 0a20 2020 2020 2020 2072 6574 7572 f). retur │ │ │ -00087240: 6e20 7765 616b 7265 662e 7072 6f78 7928 n weakref.proxy( │ │ │ -00087250: 7365 6c66 290a 0a23 2052 6567 6973 7465 self)..# Registe │ │ │ -00087260: 7220 466c 5f54 7265 655f 4974 656d 2069 r Fl_Tree_Item i │ │ │ -00087270: 6e20 5f66 6c74 6b3a 0a5f 666c 746b 2e46 n _fltk:._fltk.F │ │ │ -00087280: 6c5f 5472 6565 5f49 7465 6d5f 7377 6967 l_Tree_Item_swig │ │ │ -00087290: 7265 6769 7374 6572 2846 6c5f 5472 6565 register(Fl_Tree │ │ │ -000872a0: 5f49 7465 6d29 0a46 4c5f 5452 4545 5f52 _Item).FL_TREE_R │ │ │ -000872b0: 4541 534f 4e5f 4e4f 4e45 203d 205f 666c EASON_NONE = _fl │ │ │ -000872c0: 746b 2e46 4c5f 5452 4545 5f52 4541 534f tk.FL_TREE_REASO │ │ │ -000872d0: 4e5f 4e4f 4e45 0a0a 464c 5f54 5245 455f N_NONE..FL_TREE_ │ │ │ -000872e0: 5245 4153 4f4e 5f53 454c 4543 5445 4420 REASON_SELECTED │ │ │ -000872f0: 3d20 5f66 6c74 6b2e 464c 5f54 5245 455f = _fltk.FL_TREE_ │ │ │ -00087300: 5245 4153 4f4e 5f53 454c 4543 5445 440a REASON_SELECTED. │ │ │ -00087310: 0a46 4c5f 5452 4545 5f52 4541 534f 4e5f .FL_TREE_REASON_ │ │ │ -00087320: 4445 5345 4c45 4354 4544 203d 205f 666c DESELECTED = _fl │ │ │ -00087330: 746b 2e46 4c5f 5452 4545 5f52 4541 534f tk.FL_TREE_REASO │ │ │ -00087340: 4e5f 4445 5345 4c45 4354 4544 0a0a 464c N_DESELECTED..FL │ │ │ -00087350: 5f54 5245 455f 5245 4153 4f4e 5f52 4553 _TREE_REASON_RES │ │ │ -00087360: 454c 4543 5445 4420 3d20 5f66 6c74 6b2e ELECTED = _fltk. │ │ │ -00087370: 464c 5f54 5245 455f 5245 4153 4f4e 5f52 FL_TREE_REASON_R │ │ │ -00087380: 4553 454c 4543 5445 440a 0a46 4c5f 5452 ESELECTED..FL_TR │ │ │ -00087390: 4545 5f52 4541 534f 4e5f 4f50 454e 4544 EE_REASON_OPENED │ │ │ -000873a0: 203d 205f 666c 746b 2e46 4c5f 5452 4545 = _fltk.FL_TREE │ │ │ -000873b0: 5f52 4541 534f 4e5f 4f50 454e 4544 0a0a _REASON_OPENED.. │ │ │ -000873c0: 464c 5f54 5245 455f 5245 4153 4f4e 5f43 FL_TREE_REASON_C │ │ │ -000873d0: 4c4f 5345 4420 3d20 5f66 6c74 6b2e 464c LOSED = _fltk.FL │ │ │ -000873e0: 5f54 5245 455f 5245 4153 4f4e 5f43 4c4f _TREE_REASON_CLO │ │ │ -000873f0: 5345 440a 0a46 4c5f 5452 4545 5f52 4541 SED..FL_TREE_REA │ │ │ -00087400: 534f 4e5f 4452 4147 4745 4420 3d20 5f66 SON_DRAGGED = _f │ │ │ -00087410: 6c74 6b2e 464c 5f54 5245 455f 5245 4153 ltk.FL_TREE_REAS │ │ │ -00087420: 4f4e 5f44 5241 4747 4544 0a0a 636c 6173 ON_DRAGGED..clas │ │ │ -00087430: 7320 466c 5f54 7265 6528 466c 5f47 726f s Fl_Tree(Fl_Gro │ │ │ -00087440: 7570 293a 0a20 2020 2072 2222 220a 0a20 up):. r""".. │ │ │ -00087450: 2020 2041 6e20 6578 7061 6e64 6162 6c65 An expandable │ │ │ -00087460: 2074 7265 6520 7769 6467 6574 2e20 5369 tree widget. Si │ │ │ -00087470: 6d69 6c61 7220 746f 2046 6c5f 4272 6f77 milar to Fl_Brow │ │ │ -00087480: 7365 722c 2046 6c5f 5472 6565 2069 7320 ser, Fl_Tree is │ │ │ -00087490: 6272 6f77 7365 7220 6f66 2046 6c5f 5472 browser of Fl_Tr │ │ │ -000874a0: 6565 5f49 7465 6d27 732c 2077 6869 6368 ee_Item's, which │ │ │ -000874b0: 2063 616e 2062 6520 696e 2061 2070 6172 can be in a par │ │ │ -000874c0: 656e 7465 6420 6869 6572 6172 6368 792e ented hierarchy. │ │ │ -000874d0: 2053 7562 7472 6565 7320 6361 6e20 6265 Subtrees can be │ │ │ -000874e0: 2065 7870 616e 6465 6420 6f72 2063 6c6f expanded or clo │ │ │ -000874f0: 7365 642e 2049 7465 6d73 2063 616e 2062 sed. Items can b │ │ │ -00087500: 6520 6164 6465 642c 2064 656c 6574 6564 e added, deleted │ │ │ -00087510: 2c20 696e 7365 7274 6564 2c20 736f 7274 , inserted, sort │ │ │ -00087520: 6564 2061 6e64 2072 652d 6f72 6465 7265 ed and re-ordere │ │ │ -00087530: 642e 2054 6865 2074 7265 6520 6974 656d d. The tree item │ │ │ -00087540: 7320 6d61 7920 616c 736f 2063 6f6e 7461 s may also conta │ │ │ -00087550: 696e 206f 7468 6572 2046 4c54 4b20 7769 in other FLTK wi │ │ │ -00087560: 6467 6574 732c 206c 696b 6520 6275 7474 dgets, like butt │ │ │ -00087570: 6f6e 732c 2069 6e70 7574 2066 6965 6c64 ons, input field │ │ │ -00087580: 732c 206f 7220 6576 656e 2027 6375 7374 s, or even 'cust │ │ │ -00087590: 6f6d 2720 7769 6467 6574 732e 0a0a 2020 om' widgets... │ │ │ -000875a0: 2020 2222 220a 0a20 2020 2074 6869 736f """.. thiso │ │ │ -000875b0: 776e 203d 2070 726f 7065 7274 7928 6c61 wn = property(la │ │ │ -000875c0: 6d62 6461 2078 3a20 782e 7468 6973 2e6f mbda x: x.this.o │ │ │ -000875d0: 776e 2829 2c20 6c61 6d62 6461 2078 2c20 wn(), lambda x, │ │ │ -000875e0: 763a 2078 2e74 6869 732e 6f77 6e28 7629 v: x.this.own(v) │ │ │ -000875f0: 2c20 646f 633d 2254 6865 206d 656d 6265 , doc="The membe │ │ │ -00087600: 7273 6869 7020 666c 6167 2229 0a20 2020 rship flag"). │ │ │ -00087610: 205f 5f72 6570 725f 5f20 3d20 5f73 7769 __repr__ = _swi │ │ │ -00087620: 675f 7265 7072 0a0a 2020 2020 6465 6620 g_repr.. def │ │ │ -00087630: 6472 6177 2873 656c 662c 202a 6172 6773 draw(self, *args │ │ │ -00087640: 293a 0a20 2020 2020 2020 2072 2222 2264 ):. r"""d │ │ │ -00087650: 7261 7728 466c 5f54 7265 6520 7365 6c66 raw(Fl_Tree self │ │ │ -00087660: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ -00087670: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ -00087680: 655f 6472 6177 2873 656c 662c 202a 6172 e_draw(self, *ar │ │ │ -00087690: 6773 290a 0a20 2020 2064 6566 205f 5f69 gs).. def __i │ │ │ -000876a0: 6e69 745f 5f28 7365 6c66 2c20 2a61 7267 nit__(self, *arg │ │ │ -000876b0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -000876c0: 5f5f 696e 6974 5f5f 2846 6c5f 5472 6565 __init__(Fl_Tree │ │ │ -000876d0: 2073 656c 662c 2069 6e74 2058 2c20 696e self, int X, in │ │ │ -000876e0: 7420 592c 2069 6e74 2057 2c20 696e 7420 t Y, int W, int │ │ │ -000876f0: 482c 2063 6861 7220 636f 6e73 7420 2a20 H, char const * │ │ │ -00087700: 4c3d 4e6f 6e65 2920 2d3e 2046 6c5f 5472 L=None) -> Fl_Tr │ │ │ -00087710: 6565 2222 220a 2020 2020 2020 2020 6966 ee""". if │ │ │ -00087720: 2073 656c 662e 5f5f 636c 6173 735f 5f20 self.__class__ │ │ │ -00087730: 3d3d 2046 6c5f 5472 6565 3a0a 2020 2020 == Fl_Tree:. │ │ │ -00087740: 2020 2020 2020 2020 5f73 656c 6620 3d20 _self = │ │ │ -00087750: 4e6f 6e65 0a20 2020 2020 2020 2065 6c73 None. els │ │ │ -00087760: 653a 0a20 2020 2020 2020 2020 2020 205f e:. _ │ │ │ -00087770: 7365 6c66 203d 2073 656c 660a 2020 2020 self = self. │ │ │ -00087780: 2020 2020 5f66 6c74 6b2e 466c 5f54 7265 _fltk.Fl_Tre │ │ │ -00087790: 655f 7377 6967 696e 6974 2873 656c 662c e_swiginit(self, │ │ │ -000877a0: 205f 666c 746b 2e6e 6577 5f46 6c5f 5472 _fltk.new_Fl_Tr │ │ │ -000877b0: 6565 285f 7365 6c66 2c20 2a61 7267 7329 ee(_self, *args) │ │ │ -000877c0: 290a 0a20 2020 2020 2020 2069 6620 6c65 ).. if le │ │ │ -000877d0: 6e28 6172 6773 2920 3d3d 2035 3a20 2020 n(args) == 5: │ │ │ -000877e0: 2020 2020 2020 200a 2020 2020 2020 2020 . │ │ │ -000877f0: 2372 6574 6169 6e20 7265 6665 7265 6e63 #retain referenc │ │ │ -00087800: 6520 746f 206c 6162 656c 0a20 2020 2020 e to label. │ │ │ -00087810: 2020 2020 2020 2073 656c 662e 6d79 5f6c self.my_l │ │ │ -00087820: 6162 656c 203d 2061 7267 735b 2d31 5d0a abel = args[-1]. │ │ │ -00087830: 2020 2020 2020 2020 6966 2073 656c 662e if self. │ │ │ -00087840: 7061 7265 6e74 2829 2021 3d20 4e6f 6e65 parent() != None │ │ │ -00087850: 3a20 2020 0a20 2020 2020 2020 2023 6465 : . #de │ │ │ -00087860: 6c65 6761 7465 206f 776e 6572 7368 6970 legate ownership │ │ │ -00087870: 2074 6f20 432b 2b0a 2020 2020 2020 2020 to C++. │ │ │ -00087880: 2020 2020 7365 6c66 2e74 6869 732e 6469 self.this.di │ │ │ -00087890: 736f 776e 2829 0a20 2020 2020 2020 2073 sown(). s │ │ │ -000878a0: 656c 662e 696e 6974 5f74 7970 6528 2246 elf.init_type("F │ │ │ -000878b0: 6c5f 5472 6565 2229 0a20 2020 2020 2020 l_Tree"). │ │ │ -000878c0: 2023 7072 696e 7428 2241 6464 696e 6720 #print("Adding │ │ │ -000878d0: 7479 7065 3a20 222c 2046 6c5f 5472 6565 type: ", Fl_Tree │ │ │ -000878e0: 290a 0a0a 0a20 2020 205f 5f73 7769 675f ).... __swig_ │ │ │ -000878f0: 6465 7374 726f 795f 5f20 3d20 5f66 6c74 destroy__ = _flt │ │ │ -00087900: 6b2e 6465 6c65 7465 5f46 6c5f 5472 6565 k.delete_Fl_Tree │ │ │ -00087910: 0a0a 2020 2020 6465 6620 6861 6e64 6c65 .. def handle │ │ │ -00087920: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -00087930: 2020 2020 2020 2072 2222 2268 616e 646c r"""handl │ │ │ -00087940: 6528 466c 5f54 7265 6520 7365 6c66 2c20 e(Fl_Tree self, │ │ │ -00087950: 696e 7420 6529 202d 3e20 696e 7422 2222 int e) -> int""" │ │ │ -00087960: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00087970: 5f66 6c74 6b2e 466c 5f54 7265 655f 6861 _fltk.Fl_Tree_ha │ │ │ -00087980: 6e64 6c65 2873 656c 662c 202a 6172 6773 ndle(self, *args │ │ │ -00087990: 290a 0a20 2020 2064 6566 2073 686f 775f ).. def show_ │ │ │ -000879a0: 7365 6c66 2873 656c 662c 202a 6172 6773 self(self, *args │ │ │ -000879b0: 293a 0a20 2020 2020 2020 2072 2222 2273 ):. r"""s │ │ │ -000879c0: 686f 775f 7365 6c66 2846 6c5f 5472 6565 how_self(Fl_Tree │ │ │ -000879d0: 2073 656c 6629 2222 220a 2020 2020 2020 self)""". │ │ │ -000879e0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -000879f0: 6c5f 5472 6565 5f73 686f 775f 7365 6c66 l_Tree_show_self │ │ │ -00087a00: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -00087a10: 2020 2064 6566 2072 6573 697a 6528 7365 def resize(se │ │ │ -00087a20: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -00087a30: 2020 2020 7222 2222 7265 7369 7a65 2846 r"""resize(F │ │ │ -00087a40: 6c5f 5472 6565 2073 656c 662c 2069 6e74 l_Tree self, int │ │ │ -00087a50: 2061 7267 302c 2069 6e74 2061 7267 312c arg0, int arg1, │ │ │ -00087a60: 2069 6e74 2061 7267 322c 2069 6e74 2061 int arg2, int a │ │ │ -00087a70: 7267 3329 2222 220a 2020 2020 2020 2020 rg3)""". │ │ │ -00087a80: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00087a90: 5472 6565 5f72 6573 697a 6528 7365 6c66 Tree_resize(self │ │ │ -00087aa0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -00087ab0: 6620 726f 6f74 5f6c 6162 656c 2873 656c f root_label(sel │ │ │ -00087ac0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00087ad0: 2020 2072 2222 2272 6f6f 745f 6c61 6265 r"""root_labe │ │ │ -00087ae0: 6c28 466c 5f54 7265 6520 7365 6c66 2c20 l(Fl_Tree self, │ │ │ -00087af0: 6368 6172 2063 6f6e 7374 202a 206e 6577 char const * new │ │ │ -00087b00: 5f6c 6162 656c 2922 2222 0a20 2020 2020 _label)""". │ │ │ -00087b10: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00087b20: 466c 5f54 7265 655f 726f 6f74 5f6c 6162 Fl_Tree_root_lab │ │ │ -00087b30: 656c 2873 656c 662c 202a 6172 6773 290a el(self, *args). │ │ │ -00087b40: 0a20 2020 2064 6566 2072 6f6f 7428 7365 . def root(se │ │ │ -00087b50: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -00087b60: 2020 2020 7222 2222 0a20 2020 2020 2020 r""". │ │ │ -00087b70: 2072 6f6f 7428 466c 5f54 7265 6520 7365 root(Fl_Tree se │ │ │ -00087b80: 6c66 2920 2d3e 2046 6c5f 5472 6565 5f49 lf) -> Fl_Tree_I │ │ │ -00087b90: 7465 6d0a 2020 2020 2020 2020 726f 6f74 tem. root │ │ │ -00087ba0: 2846 6c5f 5472 6565 2073 656c 662c 2046 (Fl_Tree self, F │ │ │ -00087bb0: 6c5f 5472 6565 5f49 7465 6d20 6e65 7769 l_Tree_Item newi │ │ │ -00087bc0: 7465 6d29 0a20 2020 2020 2020 2022 2222 tem). """ │ │ │ -00087bd0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00087be0: 5f66 6c74 6b2e 466c 5f54 7265 655f 726f _fltk.Fl_Tree_ro │ │ │ -00087bf0: 6f74 2873 656c 662c 202a 6172 6773 290a ot(self, *args). │ │ │ -00087c00: 0a20 2020 2064 6566 2070 7265 6673 2873 . def prefs(s │ │ │ -00087c10: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00087c20: 2020 2020 2072 2222 2270 7265 6673 2846 r"""prefs(F │ │ │ -00087c30: 6c5f 5472 6565 2073 656c 6629 202d 3e20 l_Tree self) -> │ │ │ -00087c40: 466c 5f54 7265 655f 5072 6566 7322 2222 Fl_Tree_Prefs""" │ │ │ -00087c50: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00087c60: 5f66 6c74 6b2e 466c 5f54 7265 655f 7072 _fltk.Fl_Tree_pr │ │ │ -00087c70: 6566 7328 7365 6c66 2c20 2a61 7267 7329 efs(self, *args) │ │ │ -00087c80: 0a0a 2020 2020 6465 6620 6164 6428 7365 .. def add(se │ │ │ -00087c90: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -00087ca0: 2020 2020 7222 2222 0a20 2020 2020 2020 r""". │ │ │ -00087cb0: 2061 6464 2846 6c5f 5472 6565 2073 656c add(Fl_Tree sel │ │ │ -00087cc0: 662c 2063 6861 7220 636f 6e73 7420 2a20 f, char const * │ │ │ -00087cd0: 7061 7468 2c20 466c 5f54 7265 655f 4974 path, Fl_Tree_It │ │ │ -00087ce0: 656d 206e 6577 6974 656d 3d4e 6f6e 6529 em newitem=None) │ │ │ -00087cf0: 202d 3e20 466c 5f54 7265 655f 4974 656d -> Fl_Tree_Item │ │ │ -00087d00: 0a20 2020 2020 2020 2061 6464 2846 6c5f . add(Fl_ │ │ │ -00087d10: 5472 6565 2073 656c 662c 2046 6c5f 5472 Tree self, Fl_Tr │ │ │ -00087d20: 6565 5f49 7465 6d20 7061 7265 6e74 5f69 ee_Item parent_i │ │ │ -00087d30: 7465 6d2c 2063 6861 7220 636f 6e73 7420 tem, char const │ │ │ -00087d40: 2a20 6e61 6d65 2920 2d3e 2046 6c5f 5472 * name) -> Fl_Tr │ │ │ -00087d50: 6565 5f49 7465 6d0a 2020 2020 2020 2020 ee_Item. │ │ │ -00087d60: 2222 220a 2020 2020 2020 2020 7661 6c20 """. val │ │ │ -00087d70: 3d20 5f66 6c74 6b2e 466c 5f54 7265 655f = _fltk.Fl_Tree_ │ │ │ -00087d80: 6164 6428 7365 6c66 2c20 2a61 7267 7329 add(self, *args) │ │ │ -00087d90: 0a0a 2020 2020 2020 2020 2373 656c 6620 .. #self │ │ │ -00087da0: 3d20 6172 6773 5b30 5d0a 2020 2020 2020 = args[0]. │ │ │ -00087db0: 2020 6966 2073 656c 662e 7061 7265 6e74 if self.parent │ │ │ -00087dc0: 2829 2021 3d20 4e6f 6e65 3a20 2020 0a20 () != None: . │ │ │ -00087dd0: 2020 2020 2020 2023 6465 6c65 6761 7465 #delegate │ │ │ -00087de0: 206f 776e 6572 7368 6970 2074 6f20 432b ownership to C+ │ │ │ -00087df0: 2b0a 2020 2020 2020 2020 2020 2020 7365 +. se │ │ │ -00087e00: 6c66 2e74 6869 732e 6469 736f 776e 2829 lf.this.disown() │ │ │ -00087e10: 0a20 2020 2020 2020 2065 6c73 653a 2020 . else: │ │ │ -00087e20: 2020 2020 2020 2020 2020 2020 2020 2020 │ │ │ -00087e30: 2020 2020 200a 2020 2020 2020 2020 2367 . #g │ │ │ -00087e40: 6976 6520 6f77 6e65 7273 6869 7020 6261 ive ownership ba │ │ │ -00087e50: 636b 2074 6f20 5079 7468 6f6e 0a20 2020 ck to Python. │ │ │ -00087e60: 2020 2020 2020 2020 2073 656c 662e 7468 self.th │ │ │ -00087e70: 6973 2e6f 776e 2829 200a 0a0a 2020 2020 is.own() ... │ │ │ -00087e80: 2020 2020 7265 7475 726e 2076 616c 0a0a return val.. │ │ │ -00087e90: 0a20 2020 2064 6566 2069 6e73 6572 745f . def insert_ │ │ │ -00087ea0: 6162 6f76 6528 7365 6c66 2c20 2a61 7267 above(self, *arg │ │ │ -00087eb0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -00087ec0: 696e 7365 7274 5f61 626f 7665 2846 6c5f insert_above(Fl_ │ │ │ -00087ed0: 5472 6565 2073 656c 662c 2046 6c5f 5472 Tree self, Fl_Tr │ │ │ -00087ee0: 6565 5f49 7465 6d20 6162 6f76 652c 2063 ee_Item above, c │ │ │ -00087ef0: 6861 7220 636f 6e73 7420 2a20 6e61 6d65 har const * name │ │ │ -00087f00: 2920 2d3e 2046 6c5f 5472 6565 5f49 7465 ) -> Fl_Tree_Ite │ │ │ -00087f10: 6d22 2222 0a20 2020 2020 2020 2072 6574 m""". ret │ │ │ -00087f20: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ -00087f30: 655f 696e 7365 7274 5f61 626f 7665 2873 e_insert_above(s │ │ │ -00087f40: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -00087f50: 2064 6566 2069 6e73 6572 7428 7365 6c66 def insert(self │ │ │ -00087f60: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -00087f70: 2020 7222 2222 696e 7365 7274 2846 6c5f r"""insert(Fl_ │ │ │ -00087f80: 5472 6565 2073 656c 662c 2046 6c5f 5472 Tree self, Fl_Tr │ │ │ -00087f90: 6565 5f49 7465 6d20 6974 656d 2c20 6368 ee_Item item, ch │ │ │ -00087fa0: 6172 2063 6f6e 7374 202a 206e 616d 652c ar const * name, │ │ │ -00087fb0: 2069 6e74 2070 6f73 2920 2d3e 2046 6c5f int pos) -> Fl_ │ │ │ -00087fc0: 5472 6565 5f49 7465 6d22 2222 0a20 2020 Tree_Item""". │ │ │ -00087fd0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -00087fe0: 6b2e 466c 5f54 7265 655f 696e 7365 7274 k.Fl_Tree_insert │ │ │ -00087ff0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -00088000: 2020 2064 6566 2072 656d 6f76 6528 7365 def remove(se │ │ │ -00088010: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -00088020: 2020 2020 7222 2222 7265 6d6f 7665 2846 r"""remove(F │ │ │ -00088030: 6c5f 5472 6565 2073 656c 662c 2046 6c5f l_Tree self, Fl_ │ │ │ -00088040: 5472 6565 5f49 7465 6d20 6974 656d 2920 Tree_Item item) │ │ │ -00088050: 2d3e 2069 6e74 2222 220a 2020 2020 2020 -> int""". │ │ │ -00088060: 2020 7661 6c20 3d20 5f66 6c74 6b2e 466c val = _fltk.Fl │ │ │ -00088070: 5f54 7265 655f 7265 6d6f 7665 2873 656c _Tree_remove(sel │ │ │ -00088080: 662c 202a 6172 6773 290a 0a20 2020 2020 f, *args).. │ │ │ -00088090: 2020 2023 7365 6c66 203d 2061 7267 735b #self = args[ │ │ │ -000880a0: 305d 0a20 2020 2020 2020 2069 6620 7365 0]. if se │ │ │ -000880b0: 6c66 2e70 6172 656e 7428 2920 213d 204e lf.parent() != N │ │ │ -000880c0: 6f6e 653a 2020 200a 2020 2020 2020 2020 one: . │ │ │ -000880d0: 2364 656c 6567 6174 6520 6f77 6e65 7273 #delegate owners │ │ │ -000880e0: 6869 7020 746f 2043 2b2b 0a20 2020 2020 hip to C++. │ │ │ -000880f0: 2020 2020 2020 2073 656c 662e 7468 6973 self.this │ │ │ -00088100: 2e64 6973 6f77 6e28 290a 2020 2020 2020 .disown(). │ │ │ -00088110: 2020 656c 7365 3a20 2020 2020 2020 2020 else: │ │ │ -00088120: 2020 2020 2020 2020 2020 2020 2020 0a20 . │ │ │ -00088130: 2020 2020 2020 2023 6769 7665 206f 776e #give own │ │ │ -00088140: 6572 7368 6970 2062 6163 6b20 746f 2050 ership back to P │ │ │ -00088150: 7974 686f 6e0a 2020 2020 2020 2020 2020 ython. │ │ │ -00088160: 2020 7365 6c66 2e74 6869 732e 6f77 6e28 self.this.own( │ │ │ -00088170: 2920 0a0a 0a20 2020 2020 2020 2072 6574 ) ... ret │ │ │ -00088180: 7572 6e20 7661 6c0a 0a0a 2020 2020 6465 urn val... de │ │ │ -00088190: 6620 636c 6561 7228 7365 6c66 2c20 2a61 f clear(self, *a │ │ │ -000881a0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -000881b0: 2222 636c 6561 7228 466c 5f54 7265 6520 ""clear(Fl_Tree │ │ │ -000881c0: 7365 6c66 2922 2222 0a20 2020 2020 2020 self)""". │ │ │ -000881d0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -000881e0: 5f54 7265 655f 636c 6561 7228 7365 6c66 _Tree_clear(self │ │ │ -000881f0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -00088200: 6620 636c 6561 725f 6368 696c 6472 656e f clear_children │ │ │ -00088210: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -00088220: 2020 2020 2020 2072 2222 2263 6c65 6172 r"""clear │ │ │ -00088230: 5f63 6869 6c64 7265 6e28 466c 5f54 7265 _children(Fl_Tre │ │ │ -00088240: 6520 7365 6c66 2c20 466c 5f54 7265 655f e self, Fl_Tree_ │ │ │ -00088250: 4974 656d 2069 7465 6d29 2222 220a 2020 Item item)""". │ │ │ -00088260: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -00088270: 746b 2e46 6c5f 5472 6565 5f63 6c65 6172 tk.Fl_Tree_clear │ │ │ -00088280: 5f63 6869 6c64 7265 6e28 7365 6c66 2c20 _children(self, │ │ │ -00088290: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -000882a0: 6669 6e64 5f69 7465 6d28 7365 6c66 2c20 find_item(self, │ │ │ -000882b0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -000882c0: 7222 2222 0a20 2020 2020 2020 2066 696e r""". fin │ │ │ -000882d0: 645f 6974 656d 2846 6c5f 5472 6565 2073 d_item(Fl_Tree s │ │ │ -000882e0: 656c 662c 2063 6861 7220 636f 6e73 7420 elf, char const │ │ │ -000882f0: 2a20 7061 7468 2920 2d3e 2046 6c5f 5472 * path) -> Fl_Tr │ │ │ -00088300: 6565 5f49 7465 6d0a 2020 2020 2020 2020 ee_Item. │ │ │ -00088310: 6669 6e64 5f69 7465 6d28 466c 5f54 7265 find_item(Fl_Tre │ │ │ -00088320: 6520 7365 6c66 2c20 6368 6172 2063 6f6e e self, char con │ │ │ -00088330: 7374 202a 2070 6174 6829 202d 3e20 466c st * path) -> Fl │ │ │ -00088340: 5f54 7265 655f 4974 656d 0a20 2020 2020 _Tree_Item. │ │ │ -00088350: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ -00088360: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -00088370: 7265 655f 6669 6e64 5f69 7465 6d28 7365 ree_find_item(se │ │ │ -00088380: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -00088390: 6465 6620 6974 656d 5f70 6174 686e 616d def item_pathnam │ │ │ -000883a0: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ -000883b0: 2020 2020 2020 2020 7222 2222 6974 656d r"""item │ │ │ -000883c0: 5f70 6174 686e 616d 6528 466c 5f54 7265 _pathname(Fl_Tre │ │ │ -000883d0: 6520 7365 6c66 2c20 6368 6172 202a 2070 e self, char * p │ │ │ -000883e0: 6174 686e 616d 652c 2069 6e74 2070 6174 athname, int pat │ │ │ -000883f0: 686e 616d 656c 656e 2c20 466c 5f54 7265 hnamelen, Fl_Tre │ │ │ -00088400: 655f 4974 656d 2069 7465 6d29 202d 3e20 e_Item item) -> │ │ │ -00088410: 696e 7422 2222 0a20 2020 2020 2020 2072 int""". r │ │ │ -00088420: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -00088430: 7265 655f 6974 656d 5f70 6174 686e 616d ree_item_pathnam │ │ │ -00088440: 6528 7365 6c66 2c20 2a61 7267 7329 0a0a e(self, *args).. │ │ │ -00088450: 2020 2020 6465 6620 6669 6e64 5f63 6c69 def find_cli │ │ │ -00088460: 636b 6564 2873 656c 662c 202a 6172 6773 cked(self, *args │ │ │ -00088470: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ -00088480: 2020 2020 2020 2020 6669 6e64 5f63 6c69 find_cli │ │ │ -00088490: 636b 6564 2846 6c5f 5472 6565 2073 656c cked(Fl_Tree sel │ │ │ -000884a0: 662c 2069 6e74 2079 6f6e 6c79 3d30 2920 f, int yonly=0) │ │ │ -000884b0: 2d3e 2046 6c5f 5472 6565 5f49 7465 6d0a -> Fl_Tree_Item. │ │ │ -000884c0: 2020 2020 2020 2020 6669 6e64 5f63 6c69 find_cli │ │ │ -000884d0: 636b 6564 2846 6c5f 5472 6565 2073 656c cked(Fl_Tree sel │ │ │ -000884e0: 662c 2069 6e74 2079 6f6e 6c79 3d30 2920 f, int yonly=0) │ │ │ -000884f0: 2d3e 2046 6c5f 5472 6565 5f49 7465 6d0a -> Fl_Tree_Item. │ │ │ -00088500: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ -00088510: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00088520: 2e46 6c5f 5472 6565 5f66 696e 645f 636c .Fl_Tree_find_cl │ │ │ -00088530: 6963 6b65 6428 7365 6c66 2c20 2a61 7267 icked(self, *arg │ │ │ -00088540: 7329 0a0a 2020 2020 6465 6620 6974 656d s).. def item │ │ │ -00088550: 5f63 6c69 636b 6564 2873 656c 662c 202a _clicked(self, * │ │ │ -00088560: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00088570: 2222 2269 7465 6d5f 636c 6963 6b65 6428 """item_clicked( │ │ │ -00088580: 466c 5f54 7265 6520 7365 6c66 2920 2d3e Fl_Tree self) -> │ │ │ -00088590: 2046 6c5f 5472 6565 5f49 7465 6d22 2222 Fl_Tree_Item""" │ │ │ -000885a0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -000885b0: 5f66 6c74 6b2e 466c 5f54 7265 655f 6974 _fltk.Fl_Tree_it │ │ │ -000885c0: 656d 5f63 6c69 636b 6564 2873 656c 662c em_clicked(self, │ │ │ -000885d0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -000885e0: 2066 6972 7374 2873 656c 662c 202a 6172 first(self, *ar │ │ │ -000885f0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -00088600: 2266 6972 7374 2846 6c5f 5472 6565 2073 "first(Fl_Tree s │ │ │ -00088610: 656c 6629 202d 3e20 466c 5f54 7265 655f elf) -> Fl_Tree_ │ │ │ -00088620: 4974 656d 2222 220a 2020 2020 2020 2020 Item""". │ │ │ -00088630: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00088640: 5472 6565 5f66 6972 7374 2873 656c 662c Tree_first(self, │ │ │ -00088650: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00088660: 2066 6972 7374 5f76 6973 6962 6c65 2873 first_visible(s │ │ │ -00088670: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00088680: 2020 2020 2072 2222 2266 6972 7374 5f76 r"""first_v │ │ │ -00088690: 6973 6962 6c65 2846 6c5f 5472 6565 2073 isible(Fl_Tree s │ │ │ -000886a0: 656c 6629 202d 3e20 466c 5f54 7265 655f elf) -> Fl_Tree_ │ │ │ -000886b0: 4974 656d 2222 220a 2020 2020 2020 2020 Item""". │ │ │ -000886c0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -000886d0: 5472 6565 5f66 6972 7374 5f76 6973 6962 Tree_first_visib │ │ │ -000886e0: 6c65 2873 656c 662c 202a 6172 6773 290a le(self, *args). │ │ │ -000886f0: 0a20 2020 2064 6566 2066 6972 7374 5f76 . def first_v │ │ │ -00088700: 6973 6962 6c65 5f69 7465 6d28 7365 6c66 isible_item(self │ │ │ -00088710: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -00088720: 2020 7222 2222 6669 7273 745f 7669 7369 r"""first_visi │ │ │ -00088730: 626c 655f 6974 656d 2846 6c5f 5472 6565 ble_item(Fl_Tree │ │ │ -00088740: 2073 656c 6629 202d 3e20 466c 5f54 7265 self) -> Fl_Tre │ │ │ -00088750: 655f 4974 656d 2222 220a 2020 2020 2020 e_Item""". │ │ │ -00088760: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -00088770: 6c5f 5472 6565 5f66 6972 7374 5f76 6973 l_Tree_first_vis │ │ │ -00088780: 6962 6c65 5f69 7465 6d28 7365 6c66 2c20 ible_item(self, │ │ │ -00088790: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -000887a0: 6e65 7874 2873 656c 662c 202a 6172 6773 next(self, *args │ │ │ -000887b0: 293a 0a20 2020 2020 2020 2072 2222 226e ):. r"""n │ │ │ -000887c0: 6578 7428 466c 5f54 7265 6520 7365 6c66 ext(Fl_Tree self │ │ │ -000887d0: 2c20 466c 5f54 7265 655f 4974 656d 2069 , Fl_Tree_Item i │ │ │ -000887e0: 7465 6d3d 4e6f 6e65 2920 2d3e 2046 6c5f tem=None) -> Fl_ │ │ │ -000887f0: 5472 6565 5f49 7465 6d22 2222 0a20 2020 Tree_Item""". │ │ │ -00088800: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -00088810: 6b2e 466c 5f54 7265 655f 6e65 7874 2873 k.Fl_Tree_next(s │ │ │ -00088820: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -00088830: 2064 6566 2070 7265 7628 7365 6c66 2c20 def prev(self, │ │ │ -00088840: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -00088850: 7222 2222 7072 6576 2846 6c5f 5472 6565 r"""prev(Fl_Tree │ │ │ -00088860: 2073 656c 662c 2046 6c5f 5472 6565 5f49 self, Fl_Tree_I │ │ │ -00088870: 7465 6d20 6974 656d 3d4e 6f6e 6529 202d tem item=None) - │ │ │ -00088880: 3e20 466c 5f54 7265 655f 4974 656d 2222 > Fl_Tree_Item"" │ │ │ -00088890: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -000888a0: 205f 666c 746b 2e46 6c5f 5472 6565 5f70 _fltk.Fl_Tree_p │ │ │ -000888b0: 7265 7628 7365 6c66 2c20 2a61 7267 7329 rev(self, *args) │ │ │ -000888c0: 0a0a 2020 2020 6465 6620 6c61 7374 2873 .. def last(s │ │ │ -000888d0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -000888e0: 2020 2020 2072 2222 226c 6173 7428 466c r"""last(Fl │ │ │ -000888f0: 5f54 7265 6520 7365 6c66 2920 2d3e 2046 _Tree self) -> F │ │ │ -00088900: 6c5f 5472 6565 5f49 7465 6d22 2222 0a20 l_Tree_Item""". │ │ │ -00088910: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -00088920: 6c74 6b2e 466c 5f54 7265 655f 6c61 7374 ltk.Fl_Tree_last │ │ │ -00088930: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -00088940: 2020 2064 6566 206c 6173 745f 7669 7369 def last_visi │ │ │ -00088950: 626c 6528 7365 6c66 2c20 2a61 7267 7329 ble(self, *args) │ │ │ -00088960: 3a0a 2020 2020 2020 2020 7222 2222 6c61 :. r"""la │ │ │ -00088970: 7374 5f76 6973 6962 6c65 2846 6c5f 5472 st_visible(Fl_Tr │ │ │ -00088980: 6565 2073 656c 6629 202d 3e20 466c 5f54 ee self) -> Fl_T │ │ │ -00088990: 7265 655f 4974 656d 2222 220a 2020 2020 ree_Item""". │ │ │ -000889a0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -000889b0: 2e46 6c5f 5472 6565 5f6c 6173 745f 7669 .Fl_Tree_last_vi │ │ │ -000889c0: 7369 626c 6528 7365 6c66 2c20 2a61 7267 sible(self, *arg │ │ │ -000889d0: 7329 0a0a 2020 2020 6465 6620 6c61 7374 s).. def last │ │ │ -000889e0: 5f76 6973 6962 6c65 5f69 7465 6d28 7365 _visible_item(se │ │ │ -000889f0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -00088a00: 2020 2020 7222 2222 6c61 7374 5f76 6973 r"""last_vis │ │ │ -00088a10: 6962 6c65 5f69 7465 6d28 466c 5f54 7265 ible_item(Fl_Tre │ │ │ -00088a20: 6520 7365 6c66 2920 2d3e 2046 6c5f 5472 e self) -> Fl_Tr │ │ │ -00088a30: 6565 5f49 7465 6d22 2222 0a20 2020 2020 ee_Item""". │ │ │ -00088a40: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00088a50: 466c 5f54 7265 655f 6c61 7374 5f76 6973 Fl_Tree_last_vis │ │ │ -00088a60: 6962 6c65 5f69 7465 6d28 7365 6c66 2c20 ible_item(self, │ │ │ -00088a70: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -00088a80: 6e65 7874 5f76 6973 6962 6c65 5f69 7465 next_visible_ite │ │ │ -00088a90: 6d28 7365 6c66 2c20 2a61 7267 7329 3a0a m(self, *args):. │ │ │ -00088aa0: 2020 2020 2020 2020 7222 2222 6e65 7874 r"""next │ │ │ -00088ab0: 5f76 6973 6962 6c65 5f69 7465 6d28 466c _visible_item(Fl │ │ │ -00088ac0: 5f54 7265 6520 7365 6c66 2c20 466c 5f54 _Tree self, Fl_T │ │ │ -00088ad0: 7265 655f 4974 656d 2073 7461 7274 2c20 ree_Item start, │ │ │ -00088ae0: 696e 7420 6469 7229 202d 3e20 466c 5f54 int dir) -> Fl_T │ │ │ -00088af0: 7265 655f 4974 656d 2222 220a 2020 2020 ree_Item""". │ │ │ -00088b00: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00088b10: 2e46 6c5f 5472 6565 5f6e 6578 745f 7669 .Fl_Tree_next_vi │ │ │ -00088b20: 7369 626c 655f 6974 656d 2873 656c 662c sible_item(self, │ │ │ -00088b30: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00088b40: 2066 6972 7374 5f73 656c 6563 7465 645f first_selected_ │ │ │ -00088b50: 6974 656d 2873 656c 662c 202a 6172 6773 item(self, *args │ │ │ -00088b60: 293a 0a20 2020 2020 2020 2072 2222 2266 ):. r"""f │ │ │ -00088b70: 6972 7374 5f73 656c 6563 7465 645f 6974 irst_selected_it │ │ │ -00088b80: 656d 2846 6c5f 5472 6565 2073 656c 6629 em(Fl_Tree self) │ │ │ -00088b90: 202d 3e20 466c 5f54 7265 655f 4974 656d -> Fl_Tree_Item │ │ │ -00088ba0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -00088bb0: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ -00088bc0: 5f66 6972 7374 5f73 656c 6563 7465 645f _first_selected_ │ │ │ -00088bd0: 6974 656d 2873 656c 662c 202a 6172 6773 item(self, *args │ │ │ -00088be0: 290a 0a20 2020 2064 6566 206c 6173 745f ).. def last_ │ │ │ -00088bf0: 7365 6c65 6374 6564 5f69 7465 6d28 7365 selected_item(se │ │ │ -00088c00: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -00088c10: 2020 2020 7222 2222 6c61 7374 5f73 656c r"""last_sel │ │ │ -00088c20: 6563 7465 645f 6974 656d 2846 6c5f 5472 ected_item(Fl_Tr │ │ │ -00088c30: 6565 2073 656c 6629 202d 3e20 466c 5f54 ee self) -> Fl_T │ │ │ -00088c40: 7265 655f 4974 656d 2222 220a 2020 2020 ree_Item""". │ │ │ -00088c50: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00088c60: 2e46 6c5f 5472 6565 5f6c 6173 745f 7365 .Fl_Tree_last_se │ │ │ -00088c70: 6c65 6374 6564 5f69 7465 6d28 7365 6c66 lected_item(self │ │ │ -00088c80: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -00088c90: 6620 6e65 7874 5f69 7465 6d28 7365 6c66 f next_item(self │ │ │ -00088ca0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -00088cb0: 2020 7222 2222 6e65 7874 5f69 7465 6d28 r"""next_item( │ │ │ -00088cc0: 466c 5f54 7265 6520 7365 6c66 2c20 466c Fl_Tree self, Fl │ │ │ -00088cd0: 5f54 7265 655f 4974 656d 2069 7465 6d2c _Tree_Item item, │ │ │ -00088ce0: 2069 6e74 2064 6972 3d36 3533 3634 2c20 int dir=65364, │ │ │ -00088cf0: 626f 6f6c 2076 6973 6962 6c65 3d46 616c bool visible=Fal │ │ │ -00088d00: 7365 2920 2d3e 2046 6c5f 5472 6565 5f49 se) -> Fl_Tree_I │ │ │ -00088d10: 7465 6d22 2222 0a20 2020 2020 2020 2072 tem""". r │ │ │ -00088d20: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -00088d30: 7265 655f 6e65 7874 5f69 7465 6d28 7365 ree_next_item(se │ │ │ -00088d40: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -00088d50: 6465 6620 6e65 7874 5f73 656c 6563 7465 def next_selecte │ │ │ -00088d60: 645f 6974 656d 2873 656c 662c 202a 6172 d_item(self, *ar │ │ │ -00088d70: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -00088d80: 226e 6578 745f 7365 6c65 6374 6564 5f69 "next_selected_i │ │ │ -00088d90: 7465 6d28 466c 5f54 7265 6520 7365 6c66 tem(Fl_Tree self │ │ │ -00088da0: 2c20 466c 5f54 7265 655f 4974 656d 2069 , Fl_Tree_Item i │ │ │ -00088db0: 7465 6d3d 4e6f 6e65 2c20 696e 7420 6469 tem=None, int di │ │ │ -00088dc0: 723d 3635 3336 3429 202d 3e20 466c 5f54 r=65364) -> Fl_T │ │ │ -00088dd0: 7265 655f 4974 656d 2222 220a 2020 2020 ree_Item""". │ │ │ -00088de0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00088df0: 2e46 6c5f 5472 6565 5f6e 6578 745f 7365 .Fl_Tree_next_se │ │ │ -00088e00: 6c65 6374 6564 5f69 7465 6d28 7365 6c66 lected_item(self │ │ │ -00088e10: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -00088e20: 6620 6765 745f 7365 6c65 6374 6564 5f69 f get_selected_i │ │ │ -00088e30: 7465 6d73 2873 656c 662c 202a 6172 6773 tems(self, *args │ │ │ -00088e40: 293a 0a20 2020 2020 2020 2072 2222 2267 ):. r"""g │ │ │ +00086eb0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00086ec0: 2020 2020 2020 2072 2222 2265 7665 6e74 r"""event │ │ │ +00086ed0: 5f6f 6e5f 7573 6572 5f69 636f 6e28 466c _on_user_icon(Fl │ │ │ +00086ee0: 5f54 7265 655f 4974 656d 2073 656c 662c _Tree_Item self, │ │ │ +00086ef0: 2046 6c5f 5472 6565 5f50 7265 6673 2070 Fl_Tree_Prefs p │ │ │ +00086f00: 7265 6673 2920 2d3e 2069 6e74 2222 220a refs) -> int""". │ │ │ +00086f10: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +00086f20: 666c 746b 2e46 6c5f 5472 6565 5f49 7465 fltk.Fl_Tree_Ite │ │ │ +00086f30: 6d5f 6576 656e 745f 6f6e 5f75 7365 725f m_event_on_user_ │ │ │ +00086f40: 6963 6f6e 2873 656c 662c 202a 6172 6773 icon(self, *args │ │ │ +00086f50: 290a 0a20 2020 2064 6566 2065 7665 6e74 ).. def event │ │ │ +00086f60: 5f6f 6e5f 6c61 6265 6c28 7365 6c66 2c20 _on_label(self, │ │ │ +00086f70: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00086f80: 7222 2222 6576 656e 745f 6f6e 5f6c 6162 r"""event_on_lab │ │ │ +00086f90: 656c 2846 6c5f 5472 6565 5f49 7465 6d20 el(Fl_Tree_Item │ │ │ +00086fa0: 7365 6c66 2c20 466c 5f54 7265 655f 5072 self, Fl_Tree_Pr │ │ │ +00086fb0: 6566 7320 7072 6566 7329 202d 3e20 696e efs prefs) -> in │ │ │ +00086fc0: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ +00086fd0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ +00086fe0: 655f 4974 656d 5f65 7665 6e74 5f6f 6e5f e_Item_event_on_ │ │ │ +00086ff0: 6c61 6265 6c28 7365 6c66 2c20 2a61 7267 label(self, *arg │ │ │ +00087000: 7329 0a0a 2020 2020 6465 6620 6973 5f72 s).. def is_r │ │ │ +00087010: 6f6f 7428 7365 6c66 2c20 2a61 7267 7329 oot(self, *args) │ │ │ +00087020: 3a0a 2020 2020 2020 2020 7222 2222 6973 :. r"""is │ │ │ +00087030: 5f72 6f6f 7428 466c 5f54 7265 655f 4974 _root(Fl_Tree_It │ │ │ +00087040: 656d 2073 656c 6629 202d 3e20 696e 7422 em self) -> int" │ │ │ +00087050: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +00087060: 6e20 5f66 6c74 6b2e 466c 5f54 7265 655f n _fltk.Fl_Tree_ │ │ │ +00087070: 4974 656d 5f69 735f 726f 6f74 2873 656c Item_is_root(sel │ │ │ +00087080: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +00087090: 6566 2069 6e69 745f 7479 7065 2873 656c ef init_type(sel │ │ │ +000870a0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +000870b0: 2020 2072 2222 2269 6e69 745f 7479 7065 r"""init_type │ │ │ +000870c0: 2846 6c5f 5472 6565 5f49 7465 6d20 7365 (Fl_Tree_Item se │ │ │ +000870d0: 6c66 2c20 6368 6172 202a 2046 6c5f 5472 lf, char * Fl_Tr │ │ │ +000870e0: 6565 5f49 7465 6d29 2222 220a 2020 2020 ee_Item)""". │ │ │ +000870f0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +00087100: 2e46 6c5f 5472 6565 5f49 7465 6d5f 696e .Fl_Tree_Item_in │ │ │ +00087110: 6974 5f74 7970 6528 7365 6c66 2c20 2a61 it_type(self, *a │ │ │ +00087120: 7267 7329 0a0a 2020 2020 6465 6620 7573 rgs).. def us │ │ │ +00087130: 6572 5f64 6174 6128 7365 6c66 2c20 2a61 er_data(self, *a │ │ │ +00087140: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00087150: 2222 0a20 2020 2020 2020 2075 7365 725f "". user_ │ │ │ +00087160: 6461 7461 2846 6c5f 5472 6565 5f49 7465 data(Fl_Tree_Ite │ │ │ +00087170: 6d20 7365 6c66 2c20 5079 4f62 6a65 6374 m self, PyObject │ │ │ +00087180: 202a 2050 7944 6174 6129 0a20 2020 2020 * PyData). │ │ │ +00087190: 2020 2075 7365 725f 6461 7461 2846 6c5f user_data(Fl_ │ │ │ +000871a0: 5472 6565 5f49 7465 6d20 7365 6c66 2920 Tree_Item self) │ │ │ +000871b0: 2d3e 2050 794f 626a 6563 7420 2a0a 2020 -> PyObject *. │ │ │ +000871c0: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ +000871d0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +000871e0: 6c5f 5472 6565 5f49 7465 6d5f 7573 6572 l_Tree_Item_user │ │ │ +000871f0: 5f64 6174 6128 7365 6c66 2c20 2a61 7267 _data(self, *arg │ │ │ +00087200: 7329 0a20 2020 2064 6566 205f 5f64 6973 s). def __dis │ │ │ +00087210: 6f77 6e5f 5f28 7365 6c66 293a 0a20 2020 own__(self):. │ │ │ +00087220: 2020 2020 2073 656c 662e 7468 6973 2e64 self.this.d │ │ │ +00087230: 6973 6f77 6e28 290a 2020 2020 2020 2020 isown(). │ │ │ +00087240: 5f66 6c74 6b2e 6469 736f 776e 5f46 6c5f _fltk.disown_Fl_ │ │ │ +00087250: 5472 6565 5f49 7465 6d28 7365 6c66 290a Tree_Item(self). │ │ │ +00087260: 2020 2020 2020 2020 7265 7475 726e 2077 return w │ │ │ +00087270: 6561 6b72 6566 2e70 726f 7879 2873 656c eakref.proxy(sel │ │ │ +00087280: 6629 0a0a 2320 5265 6769 7374 6572 2046 f)..# Register F │ │ │ +00087290: 6c5f 5472 6565 5f49 7465 6d20 696e 205f l_Tree_Item in _ │ │ │ +000872a0: 666c 746b 3a0a 5f66 6c74 6b2e 466c 5f54 fltk:._fltk.Fl_T │ │ │ +000872b0: 7265 655f 4974 656d 5f73 7769 6772 6567 ree_Item_swigreg │ │ │ +000872c0: 6973 7465 7228 466c 5f54 7265 655f 4974 ister(Fl_Tree_It │ │ │ +000872d0: 656d 290a 464c 5f54 5245 455f 5245 4153 em).FL_TREE_REAS │ │ │ +000872e0: 4f4e 5f4e 4f4e 4520 3d20 5f66 6c74 6b2e ON_NONE = _fltk. │ │ │ +000872f0: 464c 5f54 5245 455f 5245 4153 4f4e 5f4e FL_TREE_REASON_N │ │ │ +00087300: 4f4e 450a 0a46 4c5f 5452 4545 5f52 4541 ONE..FL_TREE_REA │ │ │ +00087310: 534f 4e5f 5345 4c45 4354 4544 203d 205f SON_SELECTED = _ │ │ │ +00087320: 666c 746b 2e46 4c5f 5452 4545 5f52 4541 fltk.FL_TREE_REA │ │ │ +00087330: 534f 4e5f 5345 4c45 4354 4544 0a0a 464c SON_SELECTED..FL │ │ │ +00087340: 5f54 5245 455f 5245 4153 4f4e 5f44 4553 _TREE_REASON_DES │ │ │ +00087350: 454c 4543 5445 4420 3d20 5f66 6c74 6b2e ELECTED = _fltk. │ │ │ +00087360: 464c 5f54 5245 455f 5245 4153 4f4e 5f44 FL_TREE_REASON_D │ │ │ +00087370: 4553 454c 4543 5445 440a 0a46 4c5f 5452 ESELECTED..FL_TR │ │ │ +00087380: 4545 5f52 4541 534f 4e5f 5245 5345 4c45 EE_REASON_RESELE │ │ │ +00087390: 4354 4544 203d 205f 666c 746b 2e46 4c5f CTED = _fltk.FL_ │ │ │ +000873a0: 5452 4545 5f52 4541 534f 4e5f 5245 5345 TREE_REASON_RESE │ │ │ +000873b0: 4c45 4354 4544 0a0a 464c 5f54 5245 455f LECTED..FL_TREE_ │ │ │ +000873c0: 5245 4153 4f4e 5f4f 5045 4e45 4420 3d20 REASON_OPENED = │ │ │ +000873d0: 5f66 6c74 6b2e 464c 5f54 5245 455f 5245 _fltk.FL_TREE_RE │ │ │ +000873e0: 4153 4f4e 5f4f 5045 4e45 440a 0a46 4c5f ASON_OPENED..FL_ │ │ │ +000873f0: 5452 4545 5f52 4541 534f 4e5f 434c 4f53 TREE_REASON_CLOS │ │ │ +00087400: 4544 203d 205f 666c 746b 2e46 4c5f 5452 ED = _fltk.FL_TR │ │ │ +00087410: 4545 5f52 4541 534f 4e5f 434c 4f53 4544 EE_REASON_CLOSED │ │ │ +00087420: 0a0a 464c 5f54 5245 455f 5245 4153 4f4e ..FL_TREE_REASON │ │ │ +00087430: 5f44 5241 4747 4544 203d 205f 666c 746b _DRAGGED = _fltk │ │ │ +00087440: 2e46 4c5f 5452 4545 5f52 4541 534f 4e5f .FL_TREE_REASON_ │ │ │ +00087450: 4452 4147 4745 440a 0a63 6c61 7373 2046 DRAGGED..class F │ │ │ +00087460: 6c5f 5472 6565 2846 6c5f 4772 6f75 7029 l_Tree(Fl_Group) │ │ │ +00087470: 3a0a 2020 2020 7222 2222 0a0a 2020 2020 :. r""".. │ │ │ +00087480: 416e 2065 7870 616e 6461 626c 6520 7472 An expandable tr │ │ │ +00087490: 6565 2077 6964 6765 742e 2053 696d 696c ee widget. Simil │ │ │ +000874a0: 6172 2074 6f20 466c 5f42 726f 7773 6572 ar to Fl_Browser │ │ │ +000874b0: 2c20 466c 5f54 7265 6520 6973 2062 726f , Fl_Tree is bro │ │ │ +000874c0: 7773 6572 206f 6620 466c 5f54 7265 655f wser of Fl_Tree_ │ │ │ +000874d0: 4974 656d 2773 2c20 7768 6963 6820 6361 Item's, which ca │ │ │ +000874e0: 6e20 6265 2069 6e20 6120 7061 7265 6e74 n be in a parent │ │ │ +000874f0: 6564 2068 6965 7261 7263 6879 2e20 5375 ed hierarchy. Su │ │ │ +00087500: 6274 7265 6573 2063 616e 2062 6520 6578 btrees can be ex │ │ │ +00087510: 7061 6e64 6564 206f 7220 636c 6f73 6564 panded or closed │ │ │ +00087520: 2e20 4974 656d 7320 6361 6e20 6265 2061 . Items can be a │ │ │ +00087530: 6464 6564 2c20 6465 6c65 7465 642c 2069 dded, deleted, i │ │ │ +00087540: 6e73 6572 7465 642c 2073 6f72 7465 6420 nserted, sorted │ │ │ +00087550: 616e 6420 7265 2d6f 7264 6572 6564 2e20 and re-ordered. │ │ │ +00087560: 5468 6520 7472 6565 2069 7465 6d73 206d The tree items m │ │ │ +00087570: 6179 2061 6c73 6f20 636f 6e74 6169 6e20 ay also contain │ │ │ +00087580: 6f74 6865 7220 464c 544b 2077 6964 6765 other FLTK widge │ │ │ +00087590: 7473 2c20 6c69 6b65 2062 7574 746f 6e73 ts, like buttons │ │ │ +000875a0: 2c20 696e 7075 7420 6669 656c 6473 2c20 , input fields, │ │ │ +000875b0: 6f72 2065 7665 6e20 2763 7573 746f 6d27 or even 'custom' │ │ │ +000875c0: 2077 6964 6765 7473 2e0a 0a20 2020 2022 widgets... " │ │ │ +000875d0: 2222 0a0a 2020 2020 7468 6973 6f77 6e20 "".. thisown │ │ │ +000875e0: 3d20 7072 6f70 6572 7479 286c 616d 6264 = property(lambd │ │ │ +000875f0: 6120 783a 2078 2e74 6869 732e 6f77 6e28 a x: x.this.own( │ │ │ +00087600: 292c 206c 616d 6264 6120 782c 2076 3a20 ), lambda x, v: │ │ │ +00087610: 782e 7468 6973 2e6f 776e 2876 292c 2064 x.this.own(v), d │ │ │ +00087620: 6f63 3d22 5468 6520 6d65 6d62 6572 7368 oc="The membersh │ │ │ +00087630: 6970 2066 6c61 6722 290a 2020 2020 5f5f ip flag"). __ │ │ │ +00087640: 7265 7072 5f5f 203d 205f 7377 6967 5f72 repr__ = _swig_r │ │ │ +00087650: 6570 720a 0a20 2020 2064 6566 2064 7261 epr.. def dra │ │ │ +00087660: 7728 7365 6c66 2c20 2a61 7267 7329 3a0a w(self, *args):. │ │ │ +00087670: 2020 2020 2020 2020 7222 2222 6472 6177 r"""draw │ │ │ +00087680: 2846 6c5f 5472 6565 2073 656c 6629 2222 (Fl_Tree self)"" │ │ │ +00087690: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +000876a0: 205f 666c 746b 2e46 6c5f 5472 6565 5f64 _fltk.Fl_Tree_d │ │ │ +000876b0: 7261 7728 7365 6c66 2c20 2a61 7267 7329 raw(self, *args) │ │ │ +000876c0: 0a0a 2020 2020 6465 6620 5f5f 696e 6974 .. def __init │ │ │ +000876d0: 5f5f 2873 656c 662c 202a 6172 6773 293a __(self, *args): │ │ │ +000876e0: 0a20 2020 2020 2020 2072 2222 225f 5f69 . r"""__i │ │ │ +000876f0: 6e69 745f 5f28 466c 5f54 7265 6520 7365 nit__(Fl_Tree se │ │ │ +00087700: 6c66 2c20 696e 7420 582c 2069 6e74 2059 lf, int X, int Y │ │ │ +00087710: 2c20 696e 7420 572c 2069 6e74 2048 2c20 , int W, int H, │ │ │ +00087720: 6368 6172 2063 6f6e 7374 202a 204c 3d4e char const * L=N │ │ │ +00087730: 6f6e 6529 202d 3e20 466c 5f54 7265 6522 one) -> Fl_Tree" │ │ │ +00087740: 2222 0a20 2020 2020 2020 2069 6620 7365 "". if se │ │ │ +00087750: 6c66 2e5f 5f63 6c61 7373 5f5f 203d 3d20 lf.__class__ == │ │ │ +00087760: 466c 5f54 7265 653a 0a20 2020 2020 2020 Fl_Tree:. │ │ │ +00087770: 2020 2020 205f 7365 6c66 203d 204e 6f6e _self = Non │ │ │ +00087780: 650a 2020 2020 2020 2020 656c 7365 3a0a e. else:. │ │ │ +00087790: 2020 2020 2020 2020 2020 2020 5f73 656c _sel │ │ │ +000877a0: 6620 3d20 7365 6c66 0a20 2020 2020 2020 f = self. │ │ │ +000877b0: 205f 666c 746b 2e46 6c5f 5472 6565 5f73 _fltk.Fl_Tree_s │ │ │ +000877c0: 7769 6769 6e69 7428 7365 6c66 2c20 5f66 wiginit(self, _f │ │ │ +000877d0: 6c74 6b2e 6e65 775f 466c 5f54 7265 6528 ltk.new_Fl_Tree( │ │ │ +000877e0: 5f73 656c 662c 202a 6172 6773 2929 0a0a _self, *args)).. │ │ │ +000877f0: 2020 2020 2020 2020 6966 206c 656e 2861 if len(a │ │ │ +00087800: 7267 7329 203d 3d20 353a 2020 2020 2020 rgs) == 5: │ │ │ +00087810: 2020 2020 0a20 2020 2020 2020 2023 7265 . #re │ │ │ +00087820: 7461 696e 2072 6566 6572 656e 6365 2074 tain reference t │ │ │ +00087830: 6f20 6c61 6265 6c0a 2020 2020 2020 2020 o label. │ │ │ +00087840: 2020 2020 7365 6c66 2e6d 795f 6c61 6265 self.my_labe │ │ │ +00087850: 6c20 3d20 6172 6773 5b2d 315d 0a20 2020 l = args[-1]. │ │ │ +00087860: 2020 2020 2069 6620 7365 6c66 2e70 6172 if self.par │ │ │ +00087870: 656e 7428 2920 213d 204e 6f6e 653a 2020 ent() != None: │ │ │ +00087880: 200a 2020 2020 2020 2020 2364 656c 6567 . #deleg │ │ │ +00087890: 6174 6520 6f77 6e65 7273 6869 7020 746f ate ownership to │ │ │ +000878a0: 2043 2b2b 0a20 2020 2020 2020 2020 2020 C++. │ │ │ +000878b0: 2073 656c 662e 7468 6973 2e64 6973 6f77 self.this.disow │ │ │ +000878c0: 6e28 290a 2020 2020 2020 2020 7365 6c66 n(). self │ │ │ +000878d0: 2e69 6e69 745f 7479 7065 2822 466c 5f54 .init_type("Fl_T │ │ │ +000878e0: 7265 6522 290a 2020 2020 2020 2020 2370 ree"). #p │ │ │ +000878f0: 7269 6e74 2822 4164 6469 6e67 2074 7970 rint("Adding typ │ │ │ +00087900: 653a 2022 2c20 466c 5f54 7265 6529 0a0a e: ", Fl_Tree).. │ │ │ +00087910: 0a0a 2020 2020 5f5f 7377 6967 5f64 6573 .. __swig_des │ │ │ +00087920: 7472 6f79 5f5f 203d 205f 666c 746b 2e64 troy__ = _fltk.d │ │ │ +00087930: 656c 6574 655f 466c 5f54 7265 650a 0a20 elete_Fl_Tree.. │ │ │ +00087940: 2020 2064 6566 2068 616e 646c 6528 7365 def handle(se │ │ │ +00087950: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +00087960: 2020 2020 7222 2222 6861 6e64 6c65 2846 r"""handle(F │ │ │ +00087970: 6c5f 5472 6565 2073 656c 662c 2069 6e74 l_Tree self, int │ │ │ +00087980: 2065 2920 2d3e 2069 6e74 2222 220a 2020 e) -> int""". │ │ │ +00087990: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +000879a0: 746b 2e46 6c5f 5472 6565 5f68 616e 646c tk.Fl_Tree_handl │ │ │ +000879b0: 6528 7365 6c66 2c20 2a61 7267 7329 0a0a e(self, *args).. │ │ │ +000879c0: 2020 2020 6465 6620 7368 6f77 5f73 656c def show_sel │ │ │ +000879d0: 6628 7365 6c66 2c20 2a61 7267 7329 3a0a f(self, *args):. │ │ │ +000879e0: 2020 2020 2020 2020 7222 2222 7368 6f77 r"""show │ │ │ +000879f0: 5f73 656c 6628 466c 5f54 7265 6520 7365 _self(Fl_Tree se │ │ │ +00087a00: 6c66 2922 2222 0a20 2020 2020 2020 2072 lf)""". r │ │ │ +00087a10: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +00087a20: 7265 655f 7368 6f77 5f73 656c 6628 7365 ree_show_self(se │ │ │ +00087a30: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +00087a40: 6465 6620 7265 7369 7a65 2873 656c 662c def resize(self, │ │ │ +00087a50: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00087a60: 2072 2222 2272 6573 697a 6528 466c 5f54 r"""resize(Fl_T │ │ │ +00087a70: 7265 6520 7365 6c66 2c20 696e 7420 6172 ree self, int ar │ │ │ +00087a80: 6730 2c20 696e 7420 6172 6731 2c20 696e g0, int arg1, in │ │ │ +00087a90: 7420 6172 6732 2c20 696e 7420 6172 6733 t arg2, int arg3 │ │ │ +00087aa0: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ +00087ab0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ +00087ac0: 655f 7265 7369 7a65 2873 656c 662c 202a e_resize(self, * │ │ │ +00087ad0: 6172 6773 290a 0a20 2020 2064 6566 2072 args).. def r │ │ │ +00087ae0: 6f6f 745f 6c61 6265 6c28 7365 6c66 2c20 oot_label(self, │ │ │ +00087af0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00087b00: 7222 2222 726f 6f74 5f6c 6162 656c 2846 r"""root_label(F │ │ │ +00087b10: 6c5f 5472 6565 2073 656c 662c 2063 6861 l_Tree self, cha │ │ │ +00087b20: 7220 636f 6e73 7420 2a20 6e65 775f 6c61 r const * new_la │ │ │ +00087b30: 6265 6c29 2222 220a 2020 2020 2020 2020 bel)""". │ │ │ +00087b40: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +00087b50: 5472 6565 5f72 6f6f 745f 6c61 6265 6c28 Tree_root_label( │ │ │ +00087b60: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +00087b70: 2020 6465 6620 726f 6f74 2873 656c 662c def root(self, │ │ │ +00087b80: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00087b90: 2072 2222 220a 2020 2020 2020 2020 726f r""". ro │ │ │ +00087ba0: 6f74 2846 6c5f 5472 6565 2073 656c 6629 ot(Fl_Tree self) │ │ │ +00087bb0: 202d 3e20 466c 5f54 7265 655f 4974 656d -> Fl_Tree_Item │ │ │ +00087bc0: 0a20 2020 2020 2020 2072 6f6f 7428 466c . root(Fl │ │ │ +00087bd0: 5f54 7265 6520 7365 6c66 2c20 466c 5f54 _Tree self, Fl_T │ │ │ +00087be0: 7265 655f 4974 656d 206e 6577 6974 656d ree_Item newitem │ │ │ +00087bf0: 290a 2020 2020 2020 2020 2222 220a 2020 ). """. │ │ │ +00087c00: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +00087c10: 746b 2e46 6c5f 5472 6565 5f72 6f6f 7428 tk.Fl_Tree_root( │ │ │ +00087c20: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +00087c30: 2020 6465 6620 7072 6566 7328 7365 6c66 def prefs(self │ │ │ +00087c40: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00087c50: 2020 7222 2222 7072 6566 7328 466c 5f54 r"""prefs(Fl_T │ │ │ +00087c60: 7265 6520 7365 6c66 2920 2d3e 2046 6c5f ree self) -> Fl_ │ │ │ +00087c70: 5472 6565 5f50 7265 6673 2222 220a 2020 Tree_Prefs""". │ │ │ +00087c80: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +00087c90: 746b 2e46 6c5f 5472 6565 5f70 7265 6673 tk.Fl_Tree_prefs │ │ │ +00087ca0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +00087cb0: 2020 2064 6566 2061 6464 2873 656c 662c def add(self, │ │ │ +00087cc0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00087cd0: 2072 2222 220a 2020 2020 2020 2020 6164 r""". ad │ │ │ +00087ce0: 6428 466c 5f54 7265 6520 7365 6c66 2c20 d(Fl_Tree self, │ │ │ +00087cf0: 6368 6172 2063 6f6e 7374 202a 2070 6174 char const * pat │ │ │ +00087d00: 682c 2046 6c5f 5472 6565 5f49 7465 6d20 h, Fl_Tree_Item │ │ │ +00087d10: 6e65 7769 7465 6d3d 4e6f 6e65 2920 2d3e newitem=None) -> │ │ │ +00087d20: 2046 6c5f 5472 6565 5f49 7465 6d0a 2020 Fl_Tree_Item. │ │ │ +00087d30: 2020 2020 2020 6164 6428 466c 5f54 7265 add(Fl_Tre │ │ │ +00087d40: 6520 7365 6c66 2c20 466c 5f54 7265 655f e self, Fl_Tree_ │ │ │ +00087d50: 4974 656d 2070 6172 656e 745f 6974 656d Item parent_item │ │ │ +00087d60: 2c20 6368 6172 2063 6f6e 7374 202a 206e , char const * n │ │ │ +00087d70: 616d 6529 202d 3e20 466c 5f54 7265 655f ame) -> Fl_Tree_ │ │ │ +00087d80: 4974 656d 0a20 2020 2020 2020 2022 2222 Item. """ │ │ │ +00087d90: 0a20 2020 2020 2020 2076 616c 203d 205f . val = _ │ │ │ +00087da0: 666c 746b 2e46 6c5f 5472 6565 5f61 6464 fltk.Fl_Tree_add │ │ │ +00087db0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +00087dc0: 2020 2020 2020 2023 7365 6c66 203d 2061 #self = a │ │ │ +00087dd0: 7267 735b 305d 0a20 2020 2020 2020 2069 rgs[0]. i │ │ │ +00087de0: 6620 7365 6c66 2e70 6172 656e 7428 2920 f self.parent() │ │ │ +00087df0: 213d 204e 6f6e 653a 2020 200a 2020 2020 != None: . │ │ │ +00087e00: 2020 2020 2364 656c 6567 6174 6520 6f77 #delegate ow │ │ │ +00087e10: 6e65 7273 6869 7020 746f 2043 2b2b 0a20 nership to C++. │ │ │ +00087e20: 2020 2020 2020 2020 2020 2073 656c 662e self. │ │ │ +00087e30: 7468 6973 2e64 6973 6f77 6e28 290a 2020 this.disown(). │ │ │ +00087e40: 2020 2020 2020 656c 7365 3a20 2020 2020 else: │ │ │ +00087e50: 2020 2020 2020 2020 2020 2020 2020 2020 │ │ │ +00087e60: 2020 0a20 2020 2020 2020 2023 6769 7665 . #give │ │ │ +00087e70: 206f 776e 6572 7368 6970 2062 6163 6b20 ownership back │ │ │ +00087e80: 746f 2050 7974 686f 6e0a 2020 2020 2020 to Python. │ │ │ +00087e90: 2020 2020 2020 7365 6c66 2e74 6869 732e self.this. │ │ │ +00087ea0: 6f77 6e28 2920 0a0a 0a20 2020 2020 2020 own() ... │ │ │ +00087eb0: 2072 6574 7572 6e20 7661 6c0a 0a0a 2020 return val... │ │ │ +00087ec0: 2020 6465 6620 696e 7365 7274 5f61 626f def insert_abo │ │ │ +00087ed0: 7665 2873 656c 662c 202a 6172 6773 293a ve(self, *args): │ │ │ +00087ee0: 0a20 2020 2020 2020 2072 2222 2269 6e73 . r"""ins │ │ │ +00087ef0: 6572 745f 6162 6f76 6528 466c 5f54 7265 ert_above(Fl_Tre │ │ │ +00087f00: 6520 7365 6c66 2c20 466c 5f54 7265 655f e self, Fl_Tree_ │ │ │ +00087f10: 4974 656d 2061 626f 7665 2c20 6368 6172 Item above, char │ │ │ +00087f20: 2063 6f6e 7374 202a 206e 616d 6529 202d const * name) - │ │ │ +00087f30: 3e20 466c 5f54 7265 655f 4974 656d 2222 > Fl_Tree_Item"" │ │ │ +00087f40: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +00087f50: 205f 666c 746b 2e46 6c5f 5472 6565 5f69 _fltk.Fl_Tree_i │ │ │ +00087f60: 6e73 6572 745f 6162 6f76 6528 7365 6c66 nsert_above(self │ │ │ +00087f70: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00087f80: 6620 696e 7365 7274 2873 656c 662c 202a f insert(self, * │ │ │ +00087f90: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +00087fa0: 2222 2269 6e73 6572 7428 466c 5f54 7265 """insert(Fl_Tre │ │ │ +00087fb0: 6520 7365 6c66 2c20 466c 5f54 7265 655f e self, Fl_Tree_ │ │ │ +00087fc0: 4974 656d 2069 7465 6d2c 2063 6861 7220 Item item, char │ │ │ +00087fd0: 636f 6e73 7420 2a20 6e61 6d65 2c20 696e const * name, in │ │ │ +00087fe0: 7420 706f 7329 202d 3e20 466c 5f54 7265 t pos) -> Fl_Tre │ │ │ +00087ff0: 655f 4974 656d 2222 220a 2020 2020 2020 e_Item""". │ │ │ +00088000: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +00088010: 6c5f 5472 6565 5f69 6e73 6572 7428 7365 l_Tree_insert(se │ │ │ +00088020: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +00088030: 6465 6620 7265 6d6f 7665 2873 656c 662c def remove(self, │ │ │ +00088040: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00088050: 2072 2222 2272 656d 6f76 6528 466c 5f54 r"""remove(Fl_T │ │ │ +00088060: 7265 6520 7365 6c66 2c20 466c 5f54 7265 ree self, Fl_Tre │ │ │ +00088070: 655f 4974 656d 2069 7465 6d29 202d 3e20 e_Item item) -> │ │ │ +00088080: 696e 7422 2222 0a20 2020 2020 2020 2076 int""". v │ │ │ +00088090: 616c 203d 205f 666c 746b 2e46 6c5f 5472 al = _fltk.Fl_Tr │ │ │ +000880a0: 6565 5f72 656d 6f76 6528 7365 6c66 2c20 ee_remove(self, │ │ │ +000880b0: 2a61 7267 7329 0a0a 2020 2020 2020 2020 *args).. │ │ │ +000880c0: 2373 656c 6620 3d20 6172 6773 5b30 5d0a #self = args[0]. │ │ │ +000880d0: 2020 2020 2020 2020 6966 2073 656c 662e if self. │ │ │ +000880e0: 7061 7265 6e74 2829 2021 3d20 4e6f 6e65 parent() != None │ │ │ +000880f0: 3a20 2020 0a20 2020 2020 2020 2023 6465 : . #de │ │ │ +00088100: 6c65 6761 7465 206f 776e 6572 7368 6970 legate ownership │ │ │ +00088110: 2074 6f20 432b 2b0a 2020 2020 2020 2020 to C++. │ │ │ +00088120: 2020 2020 7365 6c66 2e74 6869 732e 6469 self.this.di │ │ │ +00088130: 736f 776e 2829 0a20 2020 2020 2020 2065 sown(). e │ │ │ +00088140: 6c73 653a 2020 2020 2020 2020 2020 2020 lse: │ │ │ +00088150: 2020 2020 2020 2020 2020 200a 2020 2020 . │ │ │ +00088160: 2020 2020 2367 6976 6520 6f77 6e65 7273 #give owners │ │ │ +00088170: 6869 7020 6261 636b 2074 6f20 5079 7468 hip back to Pyth │ │ │ +00088180: 6f6e 0a20 2020 2020 2020 2020 2020 2073 on. s │ │ │ +00088190: 656c 662e 7468 6973 2e6f 776e 2829 200a elf.this.own() . │ │ │ +000881a0: 0a0a 2020 2020 2020 2020 7265 7475 726e .. return │ │ │ +000881b0: 2076 616c 0a0a 0a20 2020 2064 6566 2063 val... def c │ │ │ +000881c0: 6c65 6172 2873 656c 662c 202a 6172 6773 lear(self, *args │ │ │ +000881d0: 293a 0a20 2020 2020 2020 2072 2222 2263 ):. r"""c │ │ │ +000881e0: 6c65 6172 2846 6c5f 5472 6565 2073 656c lear(Fl_Tree sel │ │ │ +000881f0: 6629 2222 220a 2020 2020 2020 2020 7265 f)""". re │ │ │ +00088200: 7475 726e 205f 666c 746b 2e46 6c5f 5472 turn _fltk.Fl_Tr │ │ │ +00088210: 6565 5f63 6c65 6172 2873 656c 662c 202a ee_clear(self, * │ │ │ +00088220: 6172 6773 290a 0a20 2020 2064 6566 2063 args).. def c │ │ │ +00088230: 6c65 6172 5f63 6869 6c64 7265 6e28 7365 lear_children(se │ │ │ +00088240: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +00088250: 2020 2020 7222 2222 636c 6561 725f 6368 r"""clear_ch │ │ │ +00088260: 696c 6472 656e 2846 6c5f 5472 6565 2073 ildren(Fl_Tree s │ │ │ +00088270: 656c 662c 2046 6c5f 5472 6565 5f49 7465 elf, Fl_Tree_Ite │ │ │ +00088280: 6d20 6974 656d 2922 2222 0a20 2020 2020 m item)""". │ │ │ +00088290: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +000882a0: 466c 5f54 7265 655f 636c 6561 725f 6368 Fl_Tree_clear_ch │ │ │ +000882b0: 696c 6472 656e 2873 656c 662c 202a 6172 ildren(self, *ar │ │ │ +000882c0: 6773 290a 0a20 2020 2064 6566 2066 696e gs).. def fin │ │ │ +000882d0: 645f 6974 656d 2873 656c 662c 202a 6172 d_item(self, *ar │ │ │ +000882e0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +000882f0: 220a 2020 2020 2020 2020 6669 6e64 5f69 ". find_i │ │ │ +00088300: 7465 6d28 466c 5f54 7265 6520 7365 6c66 tem(Fl_Tree self │ │ │ +00088310: 2c20 6368 6172 2063 6f6e 7374 202a 2070 , char const * p │ │ │ +00088320: 6174 6829 202d 3e20 466c 5f54 7265 655f ath) -> Fl_Tree_ │ │ │ +00088330: 4974 656d 0a20 2020 2020 2020 2066 696e Item. fin │ │ │ +00088340: 645f 6974 656d 2846 6c5f 5472 6565 2073 d_item(Fl_Tree s │ │ │ +00088350: 656c 662c 2063 6861 7220 636f 6e73 7420 elf, char const │ │ │ +00088360: 2a20 7061 7468 2920 2d3e 2046 6c5f 5472 * path) -> Fl_Tr │ │ │ +00088370: 6565 5f49 7465 6d0a 2020 2020 2020 2020 ee_Item. │ │ │ +00088380: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +00088390: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ +000883a0: 5f66 696e 645f 6974 656d 2873 656c 662c _find_item(self, │ │ │ +000883b0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +000883c0: 2069 7465 6d5f 7061 7468 6e61 6d65 2873 item_pathname(s │ │ │ +000883d0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +000883e0: 2020 2020 2072 2222 2269 7465 6d5f 7061 r"""item_pa │ │ │ +000883f0: 7468 6e61 6d65 2846 6c5f 5472 6565 2073 thname(Fl_Tree s │ │ │ +00088400: 656c 662c 2063 6861 7220 2a20 7061 7468 elf, char * path │ │ │ +00088410: 6e61 6d65 2c20 696e 7420 7061 7468 6e61 name, int pathna │ │ │ +00088420: 6d65 6c65 6e2c 2046 6c5f 5472 6565 5f49 melen, Fl_Tree_I │ │ │ +00088430: 7465 6d20 6974 656d 2920 2d3e 2069 6e74 tem item) -> int │ │ │ +00088440: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +00088450: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ +00088460: 5f69 7465 6d5f 7061 7468 6e61 6d65 2873 _item_pathname(s │ │ │ +00088470: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +00088480: 2064 6566 2066 696e 645f 636c 6963 6b65 def find_clicke │ │ │ +00088490: 6428 7365 6c66 2c20 2a61 7267 7329 3a0a d(self, *args):. │ │ │ +000884a0: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ +000884b0: 2020 2020 2066 696e 645f 636c 6963 6b65 find_clicke │ │ │ +000884c0: 6428 466c 5f54 7265 6520 7365 6c66 2c20 d(Fl_Tree self, │ │ │ +000884d0: 696e 7420 796f 6e6c 793d 3029 202d 3e20 int yonly=0) -> │ │ │ +000884e0: 466c 5f54 7265 655f 4974 656d 0a20 2020 Fl_Tree_Item. │ │ │ +000884f0: 2020 2020 2066 696e 645f 636c 6963 6b65 find_clicke │ │ │ +00088500: 6428 466c 5f54 7265 6520 7365 6c66 2c20 d(Fl_Tree self, │ │ │ +00088510: 696e 7420 796f 6e6c 793d 3029 202d 3e20 int yonly=0) -> │ │ │ +00088520: 466c 5f54 7265 655f 4974 656d 0a20 2020 Fl_Tree_Item. │ │ │ +00088530: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ +00088540: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +00088550: 5f54 7265 655f 6669 6e64 5f63 6c69 636b _Tree_find_click │ │ │ +00088560: 6564 2873 656c 662c 202a 6172 6773 290a ed(self, *args). │ │ │ +00088570: 0a20 2020 2064 6566 2069 7465 6d5f 636c . def item_cl │ │ │ +00088580: 6963 6b65 6428 7365 6c66 2c20 2a61 7267 icked(self, *arg │ │ │ +00088590: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +000885a0: 6974 656d 5f63 6c69 636b 6564 2846 6c5f item_clicked(Fl_ │ │ │ +000885b0: 5472 6565 2073 656c 6629 202d 3e20 466c Tree self) -> Fl │ │ │ +000885c0: 5f54 7265 655f 4974 656d 2222 220a 2020 _Tree_Item""". │ │ │ +000885d0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +000885e0: 746b 2e46 6c5f 5472 6565 5f69 7465 6d5f tk.Fl_Tree_item_ │ │ │ +000885f0: 636c 6963 6b65 6428 7365 6c66 2c20 2a61 clicked(self, *a │ │ │ +00088600: 7267 7329 0a0a 2020 2020 6465 6620 6669 rgs).. def fi │ │ │ +00088610: 7273 7428 7365 6c66 2c20 2a61 7267 7329 rst(self, *args) │ │ │ +00088620: 3a0a 2020 2020 2020 2020 7222 2222 6669 :. r"""fi │ │ │ +00088630: 7273 7428 466c 5f54 7265 6520 7365 6c66 rst(Fl_Tree self │ │ │ +00088640: 2920 2d3e 2046 6c5f 5472 6565 5f49 7465 ) -> Fl_Tree_Ite │ │ │ +00088650: 6d22 2222 0a20 2020 2020 2020 2072 6574 m""". ret │ │ │ +00088660: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ +00088670: 655f 6669 7273 7428 7365 6c66 2c20 2a61 e_first(self, *a │ │ │ +00088680: 7267 7329 0a0a 2020 2020 6465 6620 6669 rgs).. def fi │ │ │ +00088690: 7273 745f 7669 7369 626c 6528 7365 6c66 rst_visible(self │ │ │ +000886a0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +000886b0: 2020 7222 2222 6669 7273 745f 7669 7369 r"""first_visi │ │ │ +000886c0: 626c 6528 466c 5f54 7265 6520 7365 6c66 ble(Fl_Tree self │ │ │ +000886d0: 2920 2d3e 2046 6c5f 5472 6565 5f49 7465 ) -> Fl_Tree_Ite │ │ │ +000886e0: 6d22 2222 0a20 2020 2020 2020 2072 6574 m""". ret │ │ │ +000886f0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ +00088700: 655f 6669 7273 745f 7669 7369 626c 6528 e_first_visible( │ │ │ +00088710: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +00088720: 2020 6465 6620 6669 7273 745f 7669 7369 def first_visi │ │ │ +00088730: 626c 655f 6974 656d 2873 656c 662c 202a ble_item(self, * │ │ │ +00088740: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +00088750: 2222 2266 6972 7374 5f76 6973 6962 6c65 """first_visible │ │ │ +00088760: 5f69 7465 6d28 466c 5f54 7265 6520 7365 _item(Fl_Tree se │ │ │ +00088770: 6c66 2920 2d3e 2046 6c5f 5472 6565 5f49 lf) -> Fl_Tree_I │ │ │ +00088780: 7465 6d22 2222 0a20 2020 2020 2020 2072 tem""". r │ │ │ +00088790: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +000887a0: 7265 655f 6669 7273 745f 7669 7369 626c ree_first_visibl │ │ │ +000887b0: 655f 6974 656d 2873 656c 662c 202a 6172 e_item(self, *ar │ │ │ +000887c0: 6773 290a 0a20 2020 2064 6566 206e 6578 gs).. def nex │ │ │ +000887d0: 7428 7365 6c66 2c20 2a61 7267 7329 3a0a t(self, *args):. │ │ │ +000887e0: 2020 2020 2020 2020 7222 2222 6e65 7874 r"""next │ │ │ +000887f0: 2846 6c5f 5472 6565 2073 656c 662c 2046 (Fl_Tree self, F │ │ │ +00088800: 6c5f 5472 6565 5f49 7465 6d20 6974 656d l_Tree_Item item │ │ │ +00088810: 3d4e 6f6e 6529 202d 3e20 466c 5f54 7265 =None) -> Fl_Tre │ │ │ +00088820: 655f 4974 656d 2222 220a 2020 2020 2020 e_Item""". │ │ │ +00088830: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +00088840: 6c5f 5472 6565 5f6e 6578 7428 7365 6c66 l_Tree_next(self │ │ │ +00088850: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00088860: 6620 7072 6576 2873 656c 662c 202a 6172 f prev(self, *ar │ │ │ +00088870: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +00088880: 2270 7265 7628 466c 5f54 7265 6520 7365 "prev(Fl_Tree se │ │ │ +00088890: 6c66 2c20 466c 5f54 7265 655f 4974 656d lf, Fl_Tree_Item │ │ │ +000888a0: 2069 7465 6d3d 4e6f 6e65 2920 2d3e 2046 item=None) -> F │ │ │ +000888b0: 6c5f 5472 6565 5f49 7465 6d22 2222 0a20 l_Tree_Item""". │ │ │ +000888c0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +000888d0: 6c74 6b2e 466c 5f54 7265 655f 7072 6576 ltk.Fl_Tree_prev │ │ │ +000888e0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +000888f0: 2020 2064 6566 206c 6173 7428 7365 6c66 def last(self │ │ │ +00088900: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00088910: 2020 7222 2222 6c61 7374 2846 6c5f 5472 r"""last(Fl_Tr │ │ │ +00088920: 6565 2073 656c 6629 202d 3e20 466c 5f54 ee self) -> Fl_T │ │ │ +00088930: 7265 655f 4974 656d 2222 220a 2020 2020 ree_Item""". │ │ │ +00088940: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +00088950: 2e46 6c5f 5472 6565 5f6c 6173 7428 7365 .Fl_Tree_last(se │ │ │ +00088960: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +00088970: 6465 6620 6c61 7374 5f76 6973 6962 6c65 def last_visible │ │ │ +00088980: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00088990: 2020 2020 2020 2072 2222 226c 6173 745f r"""last_ │ │ │ +000889a0: 7669 7369 626c 6528 466c 5f54 7265 6520 visible(Fl_Tree │ │ │ +000889b0: 7365 6c66 2920 2d3e 2046 6c5f 5472 6565 self) -> Fl_Tree │ │ │ +000889c0: 5f49 7465 6d22 2222 0a20 2020 2020 2020 _Item""". │ │ │ +000889d0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +000889e0: 5f54 7265 655f 6c61 7374 5f76 6973 6962 _Tree_last_visib │ │ │ +000889f0: 6c65 2873 656c 662c 202a 6172 6773 290a le(self, *args). │ │ │ +00088a00: 0a20 2020 2064 6566 206c 6173 745f 7669 . def last_vi │ │ │ +00088a10: 7369 626c 655f 6974 656d 2873 656c 662c sible_item(self, │ │ │ +00088a20: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00088a30: 2072 2222 226c 6173 745f 7669 7369 626c r"""last_visibl │ │ │ +00088a40: 655f 6974 656d 2846 6c5f 5472 6565 2073 e_item(Fl_Tree s │ │ │ +00088a50: 656c 6629 202d 3e20 466c 5f54 7265 655f elf) -> Fl_Tree_ │ │ │ +00088a60: 4974 656d 2222 220a 2020 2020 2020 2020 Item""". │ │ │ +00088a70: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +00088a80: 5472 6565 5f6c 6173 745f 7669 7369 626c Tree_last_visibl │ │ │ +00088a90: 655f 6974 656d 2873 656c 662c 202a 6172 e_item(self, *ar │ │ │ +00088aa0: 6773 290a 0a20 2020 2064 6566 206e 6578 gs).. def nex │ │ │ +00088ab0: 745f 7669 7369 626c 655f 6974 656d 2873 t_visible_item(s │ │ │ +00088ac0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00088ad0: 2020 2020 2072 2222 226e 6578 745f 7669 r"""next_vi │ │ │ +00088ae0: 7369 626c 655f 6974 656d 2846 6c5f 5472 sible_item(Fl_Tr │ │ │ +00088af0: 6565 2073 656c 662c 2046 6c5f 5472 6565 ee self, Fl_Tree │ │ │ +00088b00: 5f49 7465 6d20 7374 6172 742c 2069 6e74 _Item start, int │ │ │ +00088b10: 2064 6972 2920 2d3e 2046 6c5f 5472 6565 dir) -> Fl_Tree │ │ │ +00088b20: 5f49 7465 6d22 2222 0a20 2020 2020 2020 _Item""". │ │ │ +00088b30: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +00088b40: 5f54 7265 655f 6e65 7874 5f76 6973 6962 _Tree_next_visib │ │ │ +00088b50: 6c65 5f69 7465 6d28 7365 6c66 2c20 2a61 le_item(self, *a │ │ │ +00088b60: 7267 7329 0a0a 2020 2020 6465 6620 6669 rgs).. def fi │ │ │ +00088b70: 7273 745f 7365 6c65 6374 6564 5f69 7465 rst_selected_ite │ │ │ +00088b80: 6d28 7365 6c66 2c20 2a61 7267 7329 3a0a m(self, *args):. │ │ │ +00088b90: 2020 2020 2020 2020 7222 2222 6669 7273 r"""firs │ │ │ +00088ba0: 745f 7365 6c65 6374 6564 5f69 7465 6d28 t_selected_item( │ │ │ +00088bb0: 466c 5f54 7265 6520 7365 6c66 2920 2d3e Fl_Tree self) -> │ │ │ +00088bc0: 2046 6c5f 5472 6565 5f49 7465 6d22 2222 Fl_Tree_Item""" │ │ │ +00088bd0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +00088be0: 5f66 6c74 6b2e 466c 5f54 7265 655f 6669 _fltk.Fl_Tree_fi │ │ │ +00088bf0: 7273 745f 7365 6c65 6374 6564 5f69 7465 rst_selected_ite │ │ │ +00088c00: 6d28 7365 6c66 2c20 2a61 7267 7329 0a0a m(self, *args).. │ │ │ +00088c10: 2020 2020 6465 6620 6c61 7374 5f73 656c def last_sel │ │ │ +00088c20: 6563 7465 645f 6974 656d 2873 656c 662c ected_item(self, │ │ │ +00088c30: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +00088c40: 2072 2222 226c 6173 745f 7365 6c65 6374 r"""last_select │ │ │ +00088c50: 6564 5f69 7465 6d28 466c 5f54 7265 6520 ed_item(Fl_Tree │ │ │ +00088c60: 7365 6c66 2920 2d3e 2046 6c5f 5472 6565 self) -> Fl_Tree │ │ │ +00088c70: 5f49 7465 6d22 2222 0a20 2020 2020 2020 _Item""". │ │ │ +00088c80: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +00088c90: 5f54 7265 655f 6c61 7374 5f73 656c 6563 _Tree_last_selec │ │ │ +00088ca0: 7465 645f 6974 656d 2873 656c 662c 202a ted_item(self, * │ │ │ +00088cb0: 6172 6773 290a 0a20 2020 2064 6566 206e args).. def n │ │ │ +00088cc0: 6578 745f 6974 656d 2873 656c 662c 202a ext_item(self, * │ │ │ +00088cd0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +00088ce0: 2222 226e 6578 745f 6974 656d 2846 6c5f """next_item(Fl_ │ │ │ +00088cf0: 5472 6565 2073 656c 662c 2046 6c5f 5472 Tree self, Fl_Tr │ │ │ +00088d00: 6565 5f49 7465 6d20 6974 656d 2c20 696e ee_Item item, in │ │ │ +00088d10: 7420 6469 723d 3635 3336 342c 2062 6f6f t dir=65364, boo │ │ │ +00088d20: 6c20 7669 7369 626c 653d 4661 6c73 6529 l visible=False) │ │ │ +00088d30: 202d 3e20 466c 5f54 7265 655f 4974 656d -> Fl_Tree_Item │ │ │ +00088d40: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +00088d50: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ +00088d60: 5f6e 6578 745f 6974 656d 2873 656c 662c _next_item(self, │ │ │ +00088d70: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +00088d80: 206e 6578 745f 7365 6c65 6374 6564 5f69 next_selected_i │ │ │ +00088d90: 7465 6d28 7365 6c66 2c20 2a61 7267 7329 tem(self, *args) │ │ │ +00088da0: 3a0a 2020 2020 2020 2020 7222 2222 6e65 :. r"""ne │ │ │ +00088db0: 7874 5f73 656c 6563 7465 645f 6974 656d xt_selected_item │ │ │ +00088dc0: 2846 6c5f 5472 6565 2073 656c 662c 2046 (Fl_Tree self, F │ │ │ +00088dd0: 6c5f 5472 6565 5f49 7465 6d20 6974 656d l_Tree_Item item │ │ │ +00088de0: 3d4e 6f6e 652c 2069 6e74 2064 6972 3d36 =None, int dir=6 │ │ │ +00088df0: 3533 3634 2920 2d3e 2046 6c5f 5472 6565 5364) -> Fl_Tree │ │ │ +00088e00: 5f49 7465 6d22 2222 0a20 2020 2020 2020 _Item""". │ │ │ +00088e10: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +00088e20: 5f54 7265 655f 6e65 7874 5f73 656c 6563 _Tree_next_selec │ │ │ +00088e30: 7465 645f 6974 656d 2873 656c 662c 202a ted_item(self, * │ │ │ +00088e40: 6172 6773 290a 0a20 2020 2064 6566 2067 args).. def g │ │ │ 00088e50: 6574 5f73 656c 6563 7465 645f 6974 656d et_selected_item │ │ │ -00088e60: 7328 466c 5f54 7265 6520 7365 6c66 2c20 s(Fl_Tree self, │ │ │ -00088e70: 466c 5f54 7265 655f 4974 656d 5f41 7272 Fl_Tree_Item_Arr │ │ │ -00088e80: 6179 2069 7465 6d73 2920 2d3e 2069 6e74 ay items) -> int │ │ │ -00088e90: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -00088ea0: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ -00088eb0: 5f67 6574 5f73 656c 6563 7465 645f 6974 _get_selected_it │ │ │ -00088ec0: 656d 7328 7365 6c66 2c20 2a61 7267 7329 ems(self, *args) │ │ │ -00088ed0: 0a0a 2020 2020 6465 6620 6f70 656e 2873 .. def open(s │ │ │ -00088ee0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00088ef0: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ -00088f00: 2020 6f70 656e 2846 6c5f 5472 6565 2073 open(Fl_Tree s │ │ │ -00088f10: 656c 662c 2046 6c5f 5472 6565 5f49 7465 elf, Fl_Tree_Ite │ │ │ -00088f20: 6d20 6974 656d 2c20 696e 7420 646f 6361 m item, int doca │ │ │ -00088f30: 6c6c 6261 636b 3d31 2920 2d3e 2069 6e74 llback=1) -> int │ │ │ -00088f40: 0a20 2020 2020 2020 206f 7065 6e28 466c . open(Fl │ │ │ -00088f50: 5f54 7265 6520 7365 6c66 2c20 6368 6172 _Tree self, char │ │ │ -00088f60: 2063 6f6e 7374 202a 2070 6174 682c 2069 const * path, i │ │ │ -00088f70: 6e74 2064 6f63 616c 6c62 6163 6b3d 3129 nt docallback=1) │ │ │ -00088f80: 202d 3e20 696e 740a 2020 2020 2020 2020 -> int. │ │ │ -00088f90: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -00088fa0: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ -00088fb0: 5f6f 7065 6e28 7365 6c66 2c20 2a61 7267 _open(self, *arg │ │ │ -00088fc0: 7329 0a0a 2020 2020 6465 6620 6f70 656e s).. def open │ │ │ -00088fd0: 5f74 6f67 676c 6528 7365 6c66 2c20 2a61 _toggle(self, *a │ │ │ -00088fe0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00088ff0: 2222 6f70 656e 5f74 6f67 676c 6528 466c ""open_toggle(Fl │ │ │ -00089000: 5f54 7265 6520 7365 6c66 2c20 466c 5f54 _Tree self, Fl_T │ │ │ -00089010: 7265 655f 4974 656d 2069 7465 6d2c 2069 ree_Item item, i │ │ │ -00089020: 6e74 2064 6f63 616c 6c62 6163 6b3d 3129 nt docallback=1) │ │ │ -00089030: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -00089040: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ -00089050: 5f6f 7065 6e5f 746f 6767 6c65 2873 656c _open_toggle(sel │ │ │ -00089060: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -00089070: 6566 2063 6c6f 7365 2873 656c 662c 202a ef close(self, * │ │ │ -00089080: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00089090: 2222 220a 2020 2020 2020 2020 636c 6f73 """. clos │ │ │ -000890a0: 6528 466c 5f54 7265 6520 7365 6c66 2c20 e(Fl_Tree self, │ │ │ -000890b0: 466c 5f54 7265 655f 4974 656d 2069 7465 Fl_Tree_Item ite │ │ │ -000890c0: 6d2c 2069 6e74 2064 6f63 616c 6c62 6163 m, int docallbac │ │ │ -000890d0: 6b3d 3129 202d 3e20 696e 740a 2020 2020 k=1) -> int. │ │ │ -000890e0: 2020 2020 636c 6f73 6528 466c 5f54 7265 close(Fl_Tre │ │ │ -000890f0: 6520 7365 6c66 2c20 6368 6172 2063 6f6e e self, char con │ │ │ -00089100: 7374 202a 2070 6174 682c 2069 6e74 2064 st * path, int d │ │ │ -00089110: 6f63 616c 6c62 6163 6b3d 3129 202d 3e20 ocallback=1) -> │ │ │ -00089120: 696e 740a 2020 2020 2020 2020 2222 220a int. """. │ │ │ -00089130: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00089140: 666c 746b 2e46 6c5f 5472 6565 5f63 6c6f fltk.Fl_Tree_clo │ │ │ -00089150: 7365 2873 656c 662c 202a 6172 6773 290a se(self, *args). │ │ │ -00089160: 0a20 2020 2064 6566 2069 735f 6f70 656e . def is_open │ │ │ -00089170: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -00089180: 2020 2020 2020 2072 2222 220a 2020 2020 r""". │ │ │ -00089190: 2020 2020 6973 5f6f 7065 6e28 466c 5f54 is_open(Fl_T │ │ │ -000891a0: 7265 6520 7365 6c66 2c20 466c 5f54 7265 ree self, Fl_Tre │ │ │ -000891b0: 655f 4974 656d 2069 7465 6d29 202d 3e20 e_Item item) -> │ │ │ -000891c0: 696e 740a 2020 2020 2020 2020 6973 5f6f int. is_o │ │ │ -000891d0: 7065 6e28 466c 5f54 7265 6520 7365 6c66 pen(Fl_Tree self │ │ │ -000891e0: 2c20 6368 6172 2063 6f6e 7374 202a 2070 , char const * p │ │ │ -000891f0: 6174 6829 202d 3e20 696e 740a 2020 2020 ath) -> int. │ │ │ -00089200: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ -00089210: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00089220: 5472 6565 5f69 735f 6f70 656e 2873 656c Tree_is_open(sel │ │ │ -00089230: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -00089240: 6566 2069 735f 636c 6f73 6528 7365 6c66 ef is_close(self │ │ │ -00089250: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -00089260: 2020 7222 2222 0a20 2020 2020 2020 2069 r""". i │ │ │ -00089270: 735f 636c 6f73 6528 466c 5f54 7265 6520 s_close(Fl_Tree │ │ │ -00089280: 7365 6c66 2c20 466c 5f54 7265 655f 4974 self, Fl_Tree_It │ │ │ -00089290: 656d 2069 7465 6d29 202d 3e20 696e 740a em item) -> int. │ │ │ -000892a0: 2020 2020 2020 2020 6973 5f63 6c6f 7365 is_close │ │ │ -000892b0: 2846 6c5f 5472 6565 2073 656c 662c 2063 (Fl_Tree self, c │ │ │ -000892c0: 6861 7220 636f 6e73 7420 2a20 7061 7468 har const * path │ │ │ -000892d0: 2920 2d3e 2069 6e74 0a20 2020 2020 2020 ) -> int. │ │ │ -000892e0: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ -000892f0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ -00089300: 655f 6973 5f63 6c6f 7365 2873 656c 662c e_is_close(self, │ │ │ -00089310: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00089320: 2073 656c 6563 7428 7365 6c66 2c20 2a61 select(self, *a │ │ │ -00089330: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00089340: 2222 0a20 2020 2020 2020 2073 656c 6563 "". selec │ │ │ -00089350: 7428 466c 5f54 7265 6520 7365 6c66 2c20 t(Fl_Tree self, │ │ │ -00089360: 466c 5f54 7265 655f 4974 656d 2069 7465 Fl_Tree_Item ite │ │ │ -00089370: 6d2c 2069 6e74 2064 6f63 616c 6c62 6163 m, int docallbac │ │ │ -00089380: 6b3d 3129 202d 3e20 696e 740a 2020 2020 k=1) -> int. │ │ │ -00089390: 2020 2020 7365 6c65 6374 2846 6c5f 5472 select(Fl_Tr │ │ │ -000893a0: 6565 2073 656c 662c 2063 6861 7220 636f ee self, char co │ │ │ -000893b0: 6e73 7420 2a20 7061 7468 2c20 696e 7420 nst * path, int │ │ │ -000893c0: 646f 6361 6c6c 6261 636b 3d31 2920 2d3e docallback=1) -> │ │ │ -000893d0: 2069 6e74 0a20 2020 2020 2020 2022 2222 int. """ │ │ │ -000893e0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -000893f0: 5f66 6c74 6b2e 466c 5f54 7265 655f 7365 _fltk.Fl_Tree_se │ │ │ -00089400: 6c65 6374 2873 656c 662c 202a 6172 6773 lect(self, *args │ │ │ -00089410: 290a 0a20 2020 2064 6566 2073 656c 6563 ).. def selec │ │ │ -00089420: 745f 746f 6767 6c65 2873 656c 662c 202a t_toggle(self, * │ │ │ -00089430: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -00089440: 2222 2273 656c 6563 745f 746f 6767 6c65 """select_toggle │ │ │ -00089450: 2846 6c5f 5472 6565 2073 656c 662c 2046 (Fl_Tree self, F │ │ │ -00089460: 6c5f 5472 6565 5f49 7465 6d20 6974 656d l_Tree_Item item │ │ │ -00089470: 2c20 696e 7420 646f 6361 6c6c 6261 636b , int docallback │ │ │ -00089480: 3d31 2922 2222 0a20 2020 2020 2020 2072 =1)""". r │ │ │ -00089490: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -000894a0: 7265 655f 7365 6c65 6374 5f74 6f67 676c ree_select_toggl │ │ │ -000894b0: 6528 7365 6c66 2c20 2a61 7267 7329 0a0a e(self, *args).. │ │ │ -000894c0: 2020 2020 6465 6620 6465 7365 6c65 6374 def deselect │ │ │ -000894d0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -000894e0: 2020 2020 2020 2072 2222 220a 2020 2020 r""". │ │ │ -000894f0: 2020 2020 6465 7365 6c65 6374 2846 6c5f deselect(Fl_ │ │ │ -00089500: 5472 6565 2073 656c 662c 2046 6c5f 5472 Tree self, Fl_Tr │ │ │ -00089510: 6565 5f49 7465 6d20 6974 656d 2c20 696e ee_Item item, in │ │ │ -00089520: 7420 646f 6361 6c6c 6261 636b 3d31 2920 t docallback=1) │ │ │ -00089530: 2d3e 2069 6e74 0a20 2020 2020 2020 2064 -> int. d │ │ │ -00089540: 6573 656c 6563 7428 466c 5f54 7265 6520 eselect(Fl_Tree │ │ │ -00089550: 7365 6c66 2c20 6368 6172 2063 6f6e 7374 self, char const │ │ │ -00089560: 202a 2070 6174 682c 2069 6e74 2064 6f63 * path, int doc │ │ │ -00089570: 616c 6c62 6163 6b3d 3129 202d 3e20 696e allback=1) -> in │ │ │ -00089580: 740a 2020 2020 2020 2020 2222 220a 2020 t. """. │ │ │ -00089590: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -000895a0: 746b 2e46 6c5f 5472 6565 5f64 6573 656c tk.Fl_Tree_desel │ │ │ -000895b0: 6563 7428 7365 6c66 2c20 2a61 7267 7329 ect(self, *args) │ │ │ -000895c0: 0a0a 2020 2020 6465 6620 6465 7365 6c65 .. def desele │ │ │ -000895d0: 6374 5f61 6c6c 2873 656c 662c 202a 6172 ct_all(self, *ar │ │ │ -000895e0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -000895f0: 2264 6573 656c 6563 745f 616c 6c28 466c "deselect_all(Fl │ │ │ -00089600: 5f54 7265 6520 7365 6c66 2c20 466c 5f54 _Tree self, Fl_T │ │ │ -00089610: 7265 655f 4974 656d 2069 7465 6d3d 4e6f ree_Item item=No │ │ │ -00089620: 6e65 2c20 696e 7420 646f 6361 6c6c 6261 ne, int docallba │ │ │ -00089630: 636b 3d31 2920 2d3e 2069 6e74 2222 220a ck=1) -> int""". │ │ │ -00089640: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00089650: 666c 746b 2e46 6c5f 5472 6565 5f64 6573 fltk.Fl_Tree_des │ │ │ -00089660: 656c 6563 745f 616c 6c28 7365 6c66 2c20 elect_all(self, │ │ │ -00089670: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -00089680: 7365 6c65 6374 5f6f 6e6c 7928 7365 6c66 select_only(self │ │ │ -00089690: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -000896a0: 2020 7222 2222 7365 6c65 6374 5f6f 6e6c r"""select_onl │ │ │ -000896b0: 7928 466c 5f54 7265 6520 7365 6c66 2c20 y(Fl_Tree self, │ │ │ -000896c0: 466c 5f54 7265 655f 4974 656d 2073 656c Fl_Tree_Item sel │ │ │ -000896d0: 6974 656d 2c20 696e 7420 646f 6361 6c6c item, int docall │ │ │ -000896e0: 6261 636b 3d31 2920 2d3e 2069 6e74 2222 back=1) -> int"" │ │ │ -000896f0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00089700: 205f 666c 746b 2e46 6c5f 5472 6565 5f73 _fltk.Fl_Tree_s │ │ │ -00089710: 656c 6563 745f 6f6e 6c79 2873 656c 662c elect_only(self, │ │ │ -00089720: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -00089730: 2073 656c 6563 745f 616c 6c28 7365 6c66 select_all(self │ │ │ -00089740: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -00089750: 2020 7222 2222 7365 6c65 6374 5f61 6c6c r"""select_all │ │ │ -00089760: 2846 6c5f 5472 6565 2073 656c 662c 2046 (Fl_Tree self, F │ │ │ -00089770: 6c5f 5472 6565 5f49 7465 6d20 6974 656d l_Tree_Item item │ │ │ -00089780: 3d4e 6f6e 652c 2069 6e74 2064 6f63 616c =None, int docal │ │ │ -00089790: 6c62 6163 6b3d 3129 202d 3e20 696e 7422 lback=1) -> int" │ │ │ -000897a0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -000897b0: 6e20 5f66 6c74 6b2e 466c 5f54 7265 655f n _fltk.Fl_Tree_ │ │ │ -000897c0: 7365 6c65 6374 5f61 6c6c 2873 656c 662c select_all(self, │ │ │ -000897d0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -000897e0: 2065 7874 656e 645f 7365 6c65 6374 696f extend_selectio │ │ │ -000897f0: 6e5f 6469 7228 7365 6c66 2c20 2a61 7267 n_dir(self, *arg │ │ │ -00089800: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -00089810: 6578 7465 6e64 5f73 656c 6563 7469 6f6e extend_selection │ │ │ -00089820: 5f64 6972 2846 6c5f 5472 6565 2073 656c _dir(Fl_Tree sel │ │ │ -00089830: 662c 2046 6c5f 5472 6565 5f49 7465 6d20 f, Fl_Tree_Item │ │ │ -00089840: 5f66 726f 6d2c 2046 6c5f 5472 6565 5f49 _from, Fl_Tree_I │ │ │ -00089850: 7465 6d20 746f 2c20 696e 7420 6469 722c tem to, int dir, │ │ │ -00089860: 2069 6e74 2076 616c 2c20 626f 6f6c 2076 int val, bool v │ │ │ -00089870: 6973 6962 6c65 2920 2d3e 2069 6e74 2222 isible) -> int"" │ │ │ -00089880: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00089890: 205f 666c 746b 2e46 6c5f 5472 6565 5f65 _fltk.Fl_Tree_e │ │ │ -000898a0: 7874 656e 645f 7365 6c65 6374 696f 6e5f xtend_selection_ │ │ │ -000898b0: 6469 7228 7365 6c66 2c20 2a61 7267 7329 dir(self, *args) │ │ │ -000898c0: 0a0a 2020 2020 6465 6620 6578 7465 6e64 .. def extend │ │ │ -000898d0: 5f73 656c 6563 7469 6f6e 2873 656c 662c _selection(self, │ │ │ -000898e0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -000898f0: 2072 2222 2265 7874 656e 645f 7365 6c65 r"""extend_sele │ │ │ -00089900: 6374 696f 6e28 466c 5f54 7265 6520 7365 ction(Fl_Tree se │ │ │ -00089910: 6c66 2c20 466c 5f54 7265 655f 4974 656d lf, Fl_Tree_Item │ │ │ -00089920: 205f 6672 6f6d 2c20 466c 5f54 7265 655f _from, Fl_Tree_ │ │ │ -00089930: 4974 656d 2074 6f2c 2069 6e74 2076 616c Item to, int val │ │ │ -00089940: 3d31 2c20 626f 6f6c 2076 6973 6962 6c65 =1, bool visible │ │ │ -00089950: 3d46 616c 7365 2920 2d3e 2069 6e74 2222 =False) -> int"" │ │ │ -00089960: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00089970: 205f 666c 746b 2e46 6c5f 5472 6565 5f65 _fltk.Fl_Tree_e │ │ │ -00089980: 7874 656e 645f 7365 6c65 6374 696f 6e28 xtend_selection( │ │ │ -00089990: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -000899a0: 2020 6465 6620 7365 745f 6974 656d 5f66 def set_item_f │ │ │ -000899b0: 6f63 7573 2873 656c 662c 202a 6172 6773 ocus(self, *args │ │ │ -000899c0: 293a 0a20 2020 2020 2020 2072 2222 2273 ):. r"""s │ │ │ -000899d0: 6574 5f69 7465 6d5f 666f 6375 7328 466c et_item_focus(Fl │ │ │ -000899e0: 5f54 7265 6520 7365 6c66 2c20 466c 5f54 _Tree self, Fl_T │ │ │ -000899f0: 7265 655f 4974 656d 2069 7465 6d29 2222 ree_Item item)"" │ │ │ -00089a00: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00089a10: 205f 666c 746b 2e46 6c5f 5472 6565 5f73 _fltk.Fl_Tree_s │ │ │ -00089a20: 6574 5f69 7465 6d5f 666f 6375 7328 7365 et_item_focus(se │ │ │ -00089a30: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -00089a40: 6465 6620 6765 745f 6974 656d 5f66 6f63 def get_item_foc │ │ │ -00089a50: 7573 2873 656c 662c 202a 6172 6773 293a us(self, *args): │ │ │ -00089a60: 0a20 2020 2020 2020 2072 2222 2267 6574 . r"""get │ │ │ -00089a70: 5f69 7465 6d5f 666f 6375 7328 466c 5f54 _item_focus(Fl_T │ │ │ -00089a80: 7265 6520 7365 6c66 2920 2d3e 2046 6c5f ree self) -> Fl_ │ │ │ -00089a90: 5472 6565 5f49 7465 6d22 2222 0a20 2020 Tree_Item""". │ │ │ -00089aa0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -00089ab0: 6b2e 466c 5f54 7265 655f 6765 745f 6974 k.Fl_Tree_get_it │ │ │ -00089ac0: 656d 5f66 6f63 7573 2873 656c 662c 202a em_focus(self, * │ │ │ -00089ad0: 6172 6773 290a 0a20 2020 2064 6566 2069 args).. def i │ │ │ -00089ae0: 735f 7365 6c65 6374 6564 2873 656c 662c s_selected(self, │ │ │ -00089af0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -00089b00: 2072 2222 220a 2020 2020 2020 2020 6973 r""". is │ │ │ -00089b10: 5f73 656c 6563 7465 6428 466c 5f54 7265 _selected(Fl_Tre │ │ │ -00089b20: 6520 7365 6c66 2c20 466c 5f54 7265 655f e self, Fl_Tree_ │ │ │ -00089b30: 4974 656d 2069 7465 6d29 202d 3e20 696e Item item) -> in │ │ │ -00089b40: 740a 2020 2020 2020 2020 6973 5f73 656c t. is_sel │ │ │ -00089b50: 6563 7465 6428 466c 5f54 7265 6520 7365 ected(Fl_Tree se │ │ │ -00089b60: 6c66 2c20 6368 6172 2063 6f6e 7374 202a lf, char const * │ │ │ -00089b70: 2070 6174 6829 202d 3e20 696e 740a 2020 path) -> int. │ │ │ -00089b80: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ -00089b90: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -00089ba0: 6c5f 5472 6565 5f69 735f 7365 6c65 6374 l_Tree_is_select │ │ │ -00089bb0: 6564 2873 656c 662c 202a 6172 6773 290a ed(self, *args). │ │ │ -00089bc0: 0a20 2020 2064 6566 2069 7465 6d5f 6c61 . def item_la │ │ │ -00089bd0: 6265 6c66 6f6e 7428 7365 6c66 2c20 2a61 belfont(self, *a │ │ │ -00089be0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00089bf0: 2222 0a20 2020 2020 2020 2069 7465 6d5f "". item_ │ │ │ -00089c00: 6c61 6265 6c66 6f6e 7428 466c 5f54 7265 labelfont(Fl_Tre │ │ │ -00089c10: 6520 7365 6c66 2920 2d3e 2046 6c5f 466f e self) -> Fl_Fo │ │ │ -00089c20: 6e74 0a20 2020 2020 2020 2069 7465 6d5f nt. item_ │ │ │ -00089c30: 6c61 6265 6c66 6f6e 7428 466c 5f54 7265 labelfont(Fl_Tre │ │ │ -00089c40: 6520 7365 6c66 2c20 466c 5f46 6f6e 7420 e self, Fl_Font │ │ │ -00089c50: 7661 6c29 0a20 2020 2020 2020 2022 2222 val). """ │ │ │ -00089c60: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -00089c70: 5f66 6c74 6b2e 466c 5f54 7265 655f 6974 _fltk.Fl_Tree_it │ │ │ -00089c80: 656d 5f6c 6162 656c 666f 6e74 2873 656c em_labelfont(sel │ │ │ -00089c90: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -00089ca0: 6566 2069 7465 6d5f 6c61 6265 6c73 697a ef item_labelsiz │ │ │ -00089cb0: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ -00089cc0: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ -00089cd0: 2020 2020 2069 7465 6d5f 6c61 6265 6c73 item_labels │ │ │ -00089ce0: 697a 6528 466c 5f54 7265 6520 7365 6c66 ize(Fl_Tree self │ │ │ -00089cf0: 2920 2d3e 2046 6c5f 466f 6e74 7369 7a65 ) -> Fl_Fontsize │ │ │ -00089d00: 0a20 2020 2020 2020 2069 7465 6d5f 6c61 . item_la │ │ │ -00089d10: 6265 6c73 697a 6528 466c 5f54 7265 6520 belsize(Fl_Tree │ │ │ -00089d20: 7365 6c66 2c20 466c 5f46 6f6e 7473 697a self, Fl_Fontsiz │ │ │ -00089d30: 6520 7661 6c29 0a20 2020 2020 2020 2022 e val). " │ │ │ -00089d40: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -00089d50: 6e20 5f66 6c74 6b2e 466c 5f54 7265 655f n _fltk.Fl_Tree_ │ │ │ -00089d60: 6974 656d 5f6c 6162 656c 7369 7a65 2873 item_labelsize(s │ │ │ -00089d70: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -00089d80: 2064 6566 2069 7465 6d5f 6c61 6265 6c66 def item_labelf │ │ │ -00089d90: 6763 6f6c 6f72 2873 656c 662c 202a 6172 gcolor(self, *ar │ │ │ -00089da0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -00089db0: 220a 2020 2020 2020 2020 6974 656d 5f6c ". item_l │ │ │ -00089dc0: 6162 656c 6667 636f 6c6f 7228 466c 5f54 abelfgcolor(Fl_T │ │ │ -00089dd0: 7265 6520 7365 6c66 2920 2d3e 2046 6c5f ree self) -> Fl_ │ │ │ -00089de0: 436f 6c6f 720a 2020 2020 2020 2020 6974 Color. it │ │ │ -00089df0: 656d 5f6c 6162 656c 6667 636f 6c6f 7228 em_labelfgcolor( │ │ │ -00089e00: 466c 5f54 7265 6520 7365 6c66 2c20 466c Fl_Tree self, Fl │ │ │ -00089e10: 5f43 6f6c 6f72 2076 616c 290a 2020 2020 _Color val). │ │ │ -00089e20: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ -00089e30: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -00089e40: 5472 6565 5f69 7465 6d5f 6c61 6265 6c66 Tree_item_labelf │ │ │ -00089e50: 6763 6f6c 6f72 2873 656c 662c 202a 6172 gcolor(self, *ar │ │ │ -00089e60: 6773 290a 0a20 2020 2064 6566 2069 7465 gs).. def ite │ │ │ -00089e70: 6d5f 6c61 6265 6c62 6763 6f6c 6f72 2873 m_labelbgcolor(s │ │ │ -00089e80: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -00089e90: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ -00089ea0: 2020 6974 656d 5f6c 6162 656c 6267 636f item_labelbgco │ │ │ -00089eb0: 6c6f 7228 466c 5f54 7265 6520 7365 6c66 lor(Fl_Tree self │ │ │ -00089ec0: 2920 2d3e 2046 6c5f 436f 6c6f 720a 2020 ) -> Fl_Color. │ │ │ -00089ed0: 2020 2020 2020 6974 656d 5f6c 6162 656c item_label │ │ │ -00089ee0: 6267 636f 6c6f 7228 466c 5f54 7265 6520 bgcolor(Fl_Tree │ │ │ -00089ef0: 7365 6c66 2c20 466c 5f43 6f6c 6f72 2076 self, Fl_Color v │ │ │ -00089f00: 616c 290a 2020 2020 2020 2020 2222 220a al). """. │ │ │ -00089f10: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00089f20: 666c 746b 2e46 6c5f 5472 6565 5f69 7465 fltk.Fl_Tree_ite │ │ │ -00089f30: 6d5f 6c61 6265 6c62 6763 6f6c 6f72 2873 m_labelbgcolor(s │ │ │ -00089f40: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -00089f50: 2064 6566 2063 6f6e 6e65 6374 6f72 636f def connectorco │ │ │ -00089f60: 6c6f 7228 7365 6c66 2c20 2a61 7267 7329 lor(self, *args) │ │ │ -00089f70: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ -00089f80: 2020 2020 2020 2063 6f6e 6e65 6374 6f72 connector │ │ │ -00089f90: 636f 6c6f 7228 466c 5f54 7265 6520 7365 color(Fl_Tree se │ │ │ -00089fa0: 6c66 2920 2d3e 2046 6c5f 436f 6c6f 720a lf) -> Fl_Color. │ │ │ -00089fb0: 2020 2020 2020 2020 636f 6e6e 6563 746f connecto │ │ │ -00089fc0: 7263 6f6c 6f72 2846 6c5f 5472 6565 2073 rcolor(Fl_Tree s │ │ │ -00089fd0: 656c 662c 2046 6c5f 436f 6c6f 7220 7661 elf, Fl_Color va │ │ │ -00089fe0: 6c29 0a20 2020 2020 2020 2022 2222 0a20 l). """. │ │ │ -00089ff0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -0008a000: 6c74 6b2e 466c 5f54 7265 655f 636f 6e6e ltk.Fl_Tree_conn │ │ │ -0008a010: 6563 746f 7263 6f6c 6f72 2873 656c 662c ectorcolor(self, │ │ │ -0008a020: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -0008a030: 206d 6172 6769 6e6c 6566 7428 7365 6c66 marginleft(self │ │ │ -0008a040: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -0008a050: 2020 7222 2222 0a20 2020 2020 2020 206d r""". m │ │ │ -0008a060: 6172 6769 6e6c 6566 7428 466c 5f54 7265 arginleft(Fl_Tre │ │ │ -0008a070: 6520 7365 6c66 2920 2d3e 2069 6e74 0a20 e self) -> int. │ │ │ -0008a080: 2020 2020 2020 206d 6172 6769 6e6c 6566 marginlef │ │ │ -0008a090: 7428 466c 5f54 7265 6520 7365 6c66 2c20 t(Fl_Tree self, │ │ │ -0008a0a0: 696e 7420 7661 6c29 0a20 2020 2020 2020 int val). │ │ │ -0008a0b0: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ -0008a0c0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ -0008a0d0: 655f 6d61 7267 696e 6c65 6674 2873 656c e_marginleft(sel │ │ │ -0008a0e0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -0008a0f0: 6566 206d 6172 6769 6e74 6f70 2873 656c ef margintop(sel │ │ │ -0008a100: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -0008a110: 2020 2072 2222 220a 2020 2020 2020 2020 r""". │ │ │ -0008a120: 6d61 7267 696e 746f 7028 466c 5f54 7265 margintop(Fl_Tre │ │ │ -0008a130: 6520 7365 6c66 2920 2d3e 2069 6e74 0a20 e self) -> int. │ │ │ -0008a140: 2020 2020 2020 206d 6172 6769 6e74 6f70 margintop │ │ │ -0008a150: 2846 6c5f 5472 6565 2073 656c 662c 2069 (Fl_Tree self, i │ │ │ -0008a160: 6e74 2076 616c 290a 2020 2020 2020 2020 nt val). │ │ │ -0008a170: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -0008a180: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ -0008a190: 5f6d 6172 6769 6e74 6f70 2873 656c 662c _margintop(self, │ │ │ -0008a1a0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -0008a1b0: 206d 6172 6769 6e62 6f74 746f 6d28 7365 marginbottom(se │ │ │ -0008a1c0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -0008a1d0: 2020 2020 7222 2222 0a20 2020 2020 2020 r""". │ │ │ -0008a1e0: 206d 6172 6769 6e62 6f74 746f 6d28 466c marginbottom(Fl │ │ │ -0008a1f0: 5f54 7265 6520 7365 6c66 2920 2d3e 2069 _Tree self) -> i │ │ │ -0008a200: 6e74 0a20 2020 2020 2020 206d 6172 6769 nt. margi │ │ │ -0008a210: 6e62 6f74 746f 6d28 466c 5f54 7265 6520 nbottom(Fl_Tree │ │ │ -0008a220: 7365 6c66 2c20 696e 7420 7661 6c29 0a20 self, int val). │ │ │ -0008a230: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ -0008a240: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -0008a250: 466c 5f54 7265 655f 6d61 7267 696e 626f Fl_Tree_marginbo │ │ │ -0008a260: 7474 6f6d 2873 656c 662c 202a 6172 6773 ttom(self, *args │ │ │ -0008a270: 290a 0a20 2020 2064 6566 206c 696e 6573 ).. def lines │ │ │ -0008a280: 7061 6369 6e67 2873 656c 662c 202a 6172 pacing(self, *ar │ │ │ -0008a290: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -0008a2a0: 220a 2020 2020 2020 2020 6c69 6e65 7370 ". linesp │ │ │ -0008a2b0: 6163 696e 6728 466c 5f54 7265 6520 7365 acing(Fl_Tree se │ │ │ -0008a2c0: 6c66 2920 2d3e 2069 6e74 0a20 2020 2020 lf) -> int. │ │ │ -0008a2d0: 2020 206c 696e 6573 7061 6369 6e67 2846 linespacing(F │ │ │ -0008a2e0: 6c5f 5472 6565 2073 656c 662c 2069 6e74 l_Tree self, int │ │ │ -0008a2f0: 2076 616c 290a 2020 2020 2020 2020 2222 val). "" │ │ │ -0008a300: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -0008a310: 205f 666c 746b 2e46 6c5f 5472 6565 5f6c _fltk.Fl_Tree_l │ │ │ -0008a320: 696e 6573 7061 6369 6e67 2873 656c 662c inespacing(self, │ │ │ -0008a330: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -0008a340: 206f 7065 6e63 6869 6c64 5f6d 6172 6769 openchild_margi │ │ │ -0008a350: 6e62 6f74 746f 6d28 7365 6c66 2c20 2a61 nbottom(self, *a │ │ │ -0008a360: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -0008a370: 2222 0a20 2020 2020 2020 206f 7065 6e63 "". openc │ │ │ -0008a380: 6869 6c64 5f6d 6172 6769 6e62 6f74 746f hild_marginbotto │ │ │ -0008a390: 6d28 466c 5f54 7265 6520 7365 6c66 2920 m(Fl_Tree self) │ │ │ -0008a3a0: 2d3e 2069 6e74 0a20 2020 2020 2020 206f -> int. o │ │ │ -0008a3b0: 7065 6e63 6869 6c64 5f6d 6172 6769 6e62 penchild_marginb │ │ │ -0008a3c0: 6f74 746f 6d28 466c 5f54 7265 6520 7365 ottom(Fl_Tree se │ │ │ -0008a3d0: 6c66 2c20 696e 7420 7661 6c29 0a20 2020 lf, int val). │ │ │ -0008a3e0: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ -0008a3f0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -0008a400: 5f54 7265 655f 6f70 656e 6368 696c 645f _Tree_openchild_ │ │ │ -0008a410: 6d61 7267 696e 626f 7474 6f6d 2873 656c marginbottom(sel │ │ │ -0008a420: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -0008a430: 6566 2075 7365 7269 636f 6e6d 6172 6769 ef usericonmargi │ │ │ -0008a440: 6e6c 6566 7428 7365 6c66 2c20 2a61 7267 nleft(self, *arg │ │ │ -0008a450: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0008a460: 0a20 2020 2020 2020 2075 7365 7269 636f . userico │ │ │ -0008a470: 6e6d 6172 6769 6e6c 6566 7428 466c 5f54 nmarginleft(Fl_T │ │ │ -0008a480: 7265 6520 7365 6c66 2920 2d3e 2069 6e74 ree self) -> int │ │ │ -0008a490: 0a20 2020 2020 2020 2075 7365 7269 636f . userico │ │ │ -0008a4a0: 6e6d 6172 6769 6e6c 6566 7428 466c 5f54 nmarginleft(Fl_T │ │ │ -0008a4b0: 7265 6520 7365 6c66 2c20 696e 7420 7661 ree self, int va │ │ │ -0008a4c0: 6c29 0a20 2020 2020 2020 2022 2222 0a20 l). """. │ │ │ -0008a4d0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -0008a4e0: 6c74 6b2e 466c 5f54 7265 655f 7573 6572 ltk.Fl_Tree_user │ │ │ -0008a4f0: 6963 6f6e 6d61 7267 696e 6c65 6674 2873 iconmarginleft(s │ │ │ -0008a500: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -0008a510: 2064 6566 206c 6162 656c 6d61 7267 696e def labelmargin │ │ │ -0008a520: 6c65 6674 2873 656c 662c 202a 6172 6773 left(self, *args │ │ │ -0008a530: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ -0008a540: 2020 2020 2020 2020 6c61 6265 6c6d 6172 labelmar │ │ │ -0008a550: 6769 6e6c 6566 7428 466c 5f54 7265 6520 ginleft(Fl_Tree │ │ │ -0008a560: 7365 6c66 2920 2d3e 2069 6e74 0a20 2020 self) -> int. │ │ │ +00088e60: 7328 7365 6c66 2c20 2a61 7267 7329 3a0a s(self, *args):. │ │ │ +00088e70: 2020 2020 2020 2020 7222 2222 6765 745f r"""get_ │ │ │ +00088e80: 7365 6c65 6374 6564 5f69 7465 6d73 2846 selected_items(F │ │ │ +00088e90: 6c5f 5472 6565 2073 656c 662c 2046 6c5f l_Tree self, Fl_ │ │ │ +00088ea0: 5472 6565 5f49 7465 6d5f 4172 7261 7920 Tree_Item_Array │ │ │ +00088eb0: 6974 656d 7329 202d 3e20 696e 7422 2222 items) -> int""" │ │ │ +00088ec0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +00088ed0: 5f66 6c74 6b2e 466c 5f54 7265 655f 6765 _fltk.Fl_Tree_ge │ │ │ +00088ee0: 745f 7365 6c65 6374 6564 5f69 7465 6d73 t_selected_items │ │ │ +00088ef0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +00088f00: 2020 2064 6566 206f 7065 6e28 7365 6c66 def open(self │ │ │ +00088f10: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00088f20: 2020 7222 2222 0a20 2020 2020 2020 206f r""". o │ │ │ +00088f30: 7065 6e28 466c 5f54 7265 6520 7365 6c66 pen(Fl_Tree self │ │ │ +00088f40: 2c20 466c 5f54 7265 655f 4974 656d 2069 , Fl_Tree_Item i │ │ │ +00088f50: 7465 6d2c 2069 6e74 2064 6f63 616c 6c62 tem, int docallb │ │ │ +00088f60: 6163 6b3d 3129 202d 3e20 696e 740a 2020 ack=1) -> int. │ │ │ +00088f70: 2020 2020 2020 6f70 656e 2846 6c5f 5472 open(Fl_Tr │ │ │ +00088f80: 6565 2073 656c 662c 2063 6861 7220 636f ee self, char co │ │ │ +00088f90: 6e73 7420 2a20 7061 7468 2c20 696e 7420 nst * path, int │ │ │ +00088fa0: 646f 6361 6c6c 6261 636b 3d31 2920 2d3e docallback=1) -> │ │ │ +00088fb0: 2069 6e74 0a20 2020 2020 2020 2022 2222 int. """ │ │ │ +00088fc0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +00088fd0: 5f66 6c74 6b2e 466c 5f54 7265 655f 6f70 _fltk.Fl_Tree_op │ │ │ +00088fe0: 656e 2873 656c 662c 202a 6172 6773 290a en(self, *args). │ │ │ +00088ff0: 0a20 2020 2064 6566 206f 7065 6e5f 746f . def open_to │ │ │ +00089000: 6767 6c65 2873 656c 662c 202a 6172 6773 ggle(self, *args │ │ │ +00089010: 293a 0a20 2020 2020 2020 2072 2222 226f ):. r"""o │ │ │ +00089020: 7065 6e5f 746f 6767 6c65 2846 6c5f 5472 pen_toggle(Fl_Tr │ │ │ +00089030: 6565 2073 656c 662c 2046 6c5f 5472 6565 ee self, Fl_Tree │ │ │ +00089040: 5f49 7465 6d20 6974 656d 2c20 696e 7420 _Item item, int │ │ │ +00089050: 646f 6361 6c6c 6261 636b 3d31 2922 2222 docallback=1)""" │ │ │ +00089060: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +00089070: 5f66 6c74 6b2e 466c 5f54 7265 655f 6f70 _fltk.Fl_Tree_op │ │ │ +00089080: 656e 5f74 6f67 676c 6528 7365 6c66 2c20 en_toggle(self, │ │ │ +00089090: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +000890a0: 636c 6f73 6528 7365 6c66 2c20 2a61 7267 close(self, *arg │ │ │ +000890b0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +000890c0: 0a20 2020 2020 2020 2063 6c6f 7365 2846 . close(F │ │ │ +000890d0: 6c5f 5472 6565 2073 656c 662c 2046 6c5f l_Tree self, Fl_ │ │ │ +000890e0: 5472 6565 5f49 7465 6d20 6974 656d 2c20 Tree_Item item, │ │ │ +000890f0: 696e 7420 646f 6361 6c6c 6261 636b 3d31 int docallback=1 │ │ │ +00089100: 2920 2d3e 2069 6e74 0a20 2020 2020 2020 ) -> int. │ │ │ +00089110: 2063 6c6f 7365 2846 6c5f 5472 6565 2073 close(Fl_Tree s │ │ │ +00089120: 656c 662c 2063 6861 7220 636f 6e73 7420 elf, char const │ │ │ +00089130: 2a20 7061 7468 2c20 696e 7420 646f 6361 * path, int doca │ │ │ +00089140: 6c6c 6261 636b 3d31 2920 2d3e 2069 6e74 llback=1) -> int │ │ │ +00089150: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ +00089160: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00089170: 6b2e 466c 5f54 7265 655f 636c 6f73 6528 k.Fl_Tree_close( │ │ │ +00089180: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +00089190: 2020 6465 6620 6973 5f6f 7065 6e28 7365 def is_open(se │ │ │ +000891a0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +000891b0: 2020 2020 7222 2222 0a20 2020 2020 2020 r""". │ │ │ +000891c0: 2069 735f 6f70 656e 2846 6c5f 5472 6565 is_open(Fl_Tree │ │ │ +000891d0: 2073 656c 662c 2046 6c5f 5472 6565 5f49 self, Fl_Tree_I │ │ │ +000891e0: 7465 6d20 6974 656d 2920 2d3e 2069 6e74 tem item) -> int │ │ │ +000891f0: 0a20 2020 2020 2020 2069 735f 6f70 656e . is_open │ │ │ +00089200: 2846 6c5f 5472 6565 2073 656c 662c 2063 (Fl_Tree self, c │ │ │ +00089210: 6861 7220 636f 6e73 7420 2a20 7061 7468 har const * path │ │ │ +00089220: 2920 2d3e 2069 6e74 0a20 2020 2020 2020 ) -> int. │ │ │ +00089230: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ +00089240: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ +00089250: 655f 6973 5f6f 7065 6e28 7365 6c66 2c20 e_is_open(self, │ │ │ +00089260: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +00089270: 6973 5f63 6c6f 7365 2873 656c 662c 202a is_close(self, * │ │ │ +00089280: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +00089290: 2222 220a 2020 2020 2020 2020 6973 5f63 """. is_c │ │ │ +000892a0: 6c6f 7365 2846 6c5f 5472 6565 2073 656c lose(Fl_Tree sel │ │ │ +000892b0: 662c 2046 6c5f 5472 6565 5f49 7465 6d20 f, Fl_Tree_Item │ │ │ +000892c0: 6974 656d 2920 2d3e 2069 6e74 0a20 2020 item) -> int. │ │ │ +000892d0: 2020 2020 2069 735f 636c 6f73 6528 466c is_close(Fl │ │ │ +000892e0: 5f54 7265 6520 7365 6c66 2c20 6368 6172 _Tree self, char │ │ │ +000892f0: 2063 6f6e 7374 202a 2070 6174 6829 202d const * path) - │ │ │ +00089300: 3e20 696e 740a 2020 2020 2020 2020 2222 > int. "" │ │ │ +00089310: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +00089320: 205f 666c 746b 2e46 6c5f 5472 6565 5f69 _fltk.Fl_Tree_i │ │ │ +00089330: 735f 636c 6f73 6528 7365 6c66 2c20 2a61 s_close(self, *a │ │ │ +00089340: 7267 7329 0a0a 2020 2020 6465 6620 7365 rgs).. def se │ │ │ +00089350: 6c65 6374 2873 656c 662c 202a 6172 6773 lect(self, *args │ │ │ +00089360: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ +00089370: 2020 2020 2020 2020 7365 6c65 6374 2846 select(F │ │ │ +00089380: 6c5f 5472 6565 2073 656c 662c 2046 6c5f l_Tree self, Fl_ │ │ │ +00089390: 5472 6565 5f49 7465 6d20 6974 656d 2c20 Tree_Item item, │ │ │ +000893a0: 696e 7420 646f 6361 6c6c 6261 636b 3d31 int docallback=1 │ │ │ +000893b0: 2920 2d3e 2069 6e74 0a20 2020 2020 2020 ) -> int. │ │ │ +000893c0: 2073 656c 6563 7428 466c 5f54 7265 6520 select(Fl_Tree │ │ │ +000893d0: 7365 6c66 2c20 6368 6172 2063 6f6e 7374 self, char const │ │ │ +000893e0: 202a 2070 6174 682c 2069 6e74 2064 6f63 * path, int doc │ │ │ +000893f0: 616c 6c62 6163 6b3d 3129 202d 3e20 696e allback=1) -> in │ │ │ +00089400: 740a 2020 2020 2020 2020 2222 220a 2020 t. """. │ │ │ +00089410: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +00089420: 746b 2e46 6c5f 5472 6565 5f73 656c 6563 tk.Fl_Tree_selec │ │ │ +00089430: 7428 7365 6c66 2c20 2a61 7267 7329 0a0a t(self, *args).. │ │ │ +00089440: 2020 2020 6465 6620 7365 6c65 6374 5f74 def select_t │ │ │ +00089450: 6f67 676c 6528 7365 6c66 2c20 2a61 7267 oggle(self, *arg │ │ │ +00089460: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +00089470: 7365 6c65 6374 5f74 6f67 676c 6528 466c select_toggle(Fl │ │ │ +00089480: 5f54 7265 6520 7365 6c66 2c20 466c 5f54 _Tree self, Fl_T │ │ │ +00089490: 7265 655f 4974 656d 2069 7465 6d2c 2069 ree_Item item, i │ │ │ +000894a0: 6e74 2064 6f63 616c 6c62 6163 6b3d 3129 nt docallback=1) │ │ │ +000894b0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +000894c0: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ +000894d0: 5f73 656c 6563 745f 746f 6767 6c65 2873 _select_toggle(s │ │ │ +000894e0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +000894f0: 2064 6566 2064 6573 656c 6563 7428 7365 def deselect(se │ │ │ +00089500: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +00089510: 2020 2020 7222 2222 0a20 2020 2020 2020 r""". │ │ │ +00089520: 2064 6573 656c 6563 7428 466c 5f54 7265 deselect(Fl_Tre │ │ │ +00089530: 6520 7365 6c66 2c20 466c 5f54 7265 655f e self, Fl_Tree_ │ │ │ +00089540: 4974 656d 2069 7465 6d2c 2069 6e74 2064 Item item, int d │ │ │ +00089550: 6f63 616c 6c62 6163 6b3d 3129 202d 3e20 ocallback=1) -> │ │ │ +00089560: 696e 740a 2020 2020 2020 2020 6465 7365 int. dese │ │ │ +00089570: 6c65 6374 2846 6c5f 5472 6565 2073 656c lect(Fl_Tree sel │ │ │ +00089580: 662c 2063 6861 7220 636f 6e73 7420 2a20 f, char const * │ │ │ +00089590: 7061 7468 2c20 696e 7420 646f 6361 6c6c path, int docall │ │ │ +000895a0: 6261 636b 3d31 2920 2d3e 2069 6e74 0a20 back=1) -> int. │ │ │ +000895b0: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ +000895c0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +000895d0: 466c 5f54 7265 655f 6465 7365 6c65 6374 Fl_Tree_deselect │ │ │ +000895e0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +000895f0: 2020 2064 6566 2064 6573 656c 6563 745f def deselect_ │ │ │ +00089600: 616c 6c28 7365 6c66 2c20 2a61 7267 7329 all(self, *args) │ │ │ +00089610: 3a0a 2020 2020 2020 2020 7222 2222 6465 :. r"""de │ │ │ +00089620: 7365 6c65 6374 5f61 6c6c 2846 6c5f 5472 select_all(Fl_Tr │ │ │ +00089630: 6565 2073 656c 662c 2046 6c5f 5472 6565 ee self, Fl_Tree │ │ │ +00089640: 5f49 7465 6d20 6974 656d 3d4e 6f6e 652c _Item item=None, │ │ │ +00089650: 2069 6e74 2064 6f63 616c 6c62 6163 6b3d int docallback= │ │ │ +00089660: 3129 202d 3e20 696e 7422 2222 0a20 2020 1) -> int""". │ │ │ +00089670: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00089680: 6b2e 466c 5f54 7265 655f 6465 7365 6c65 k.Fl_Tree_desele │ │ │ +00089690: 6374 5f61 6c6c 2873 656c 662c 202a 6172 ct_all(self, *ar │ │ │ +000896a0: 6773 290a 0a20 2020 2064 6566 2073 656c gs).. def sel │ │ │ +000896b0: 6563 745f 6f6e 6c79 2873 656c 662c 202a ect_only(self, * │ │ │ +000896c0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +000896d0: 2222 2273 656c 6563 745f 6f6e 6c79 2846 """select_only(F │ │ │ +000896e0: 6c5f 5472 6565 2073 656c 662c 2046 6c5f l_Tree self, Fl_ │ │ │ +000896f0: 5472 6565 5f49 7465 6d20 7365 6c69 7465 Tree_Item selite │ │ │ +00089700: 6d2c 2069 6e74 2064 6f63 616c 6c62 6163 m, int docallbac │ │ │ +00089710: 6b3d 3129 202d 3e20 696e 7422 2222 0a20 k=1) -> int""". │ │ │ +00089720: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00089730: 6c74 6b2e 466c 5f54 7265 655f 7365 6c65 ltk.Fl_Tree_sele │ │ │ +00089740: 6374 5f6f 6e6c 7928 7365 6c66 2c20 2a61 ct_only(self, *a │ │ │ +00089750: 7267 7329 0a0a 2020 2020 6465 6620 7365 rgs).. def se │ │ │ +00089760: 6c65 6374 5f61 6c6c 2873 656c 662c 202a lect_all(self, * │ │ │ +00089770: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +00089780: 2222 2273 656c 6563 745f 616c 6c28 466c """select_all(Fl │ │ │ +00089790: 5f54 7265 6520 7365 6c66 2c20 466c 5f54 _Tree self, Fl_T │ │ │ +000897a0: 7265 655f 4974 656d 2069 7465 6d3d 4e6f ree_Item item=No │ │ │ +000897b0: 6e65 2c20 696e 7420 646f 6361 6c6c 6261 ne, int docallba │ │ │ +000897c0: 636b 3d31 2920 2d3e 2069 6e74 2222 220a ck=1) -> int""". │ │ │ +000897d0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +000897e0: 666c 746b 2e46 6c5f 5472 6565 5f73 656c fltk.Fl_Tree_sel │ │ │ +000897f0: 6563 745f 616c 6c28 7365 6c66 2c20 2a61 ect_all(self, *a │ │ │ +00089800: 7267 7329 0a0a 2020 2020 6465 6620 6578 rgs).. def ex │ │ │ +00089810: 7465 6e64 5f73 656c 6563 7469 6f6e 5f64 tend_selection_d │ │ │ +00089820: 6972 2873 656c 662c 202a 6172 6773 293a ir(self, *args): │ │ │ +00089830: 0a20 2020 2020 2020 2072 2222 2265 7874 . r"""ext │ │ │ +00089840: 656e 645f 7365 6c65 6374 696f 6e5f 6469 end_selection_di │ │ │ +00089850: 7228 466c 5f54 7265 6520 7365 6c66 2c20 r(Fl_Tree self, │ │ │ +00089860: 466c 5f54 7265 655f 4974 656d 205f 6672 Fl_Tree_Item _fr │ │ │ +00089870: 6f6d 2c20 466c 5f54 7265 655f 4974 656d om, Fl_Tree_Item │ │ │ +00089880: 2074 6f2c 2069 6e74 2064 6972 2c20 696e to, int dir, in │ │ │ +00089890: 7420 7661 6c2c 2062 6f6f 6c20 7669 7369 t val, bool visi │ │ │ +000898a0: 626c 6529 202d 3e20 696e 7422 2222 0a20 ble) -> int""". │ │ │ +000898b0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +000898c0: 6c74 6b2e 466c 5f54 7265 655f 6578 7465 ltk.Fl_Tree_exte │ │ │ +000898d0: 6e64 5f73 656c 6563 7469 6f6e 5f64 6972 nd_selection_dir │ │ │ +000898e0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +000898f0: 2020 2064 6566 2065 7874 656e 645f 7365 def extend_se │ │ │ +00089900: 6c65 6374 696f 6e28 7365 6c66 2c20 2a61 lection(self, *a │ │ │ +00089910: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00089920: 2222 6578 7465 6e64 5f73 656c 6563 7469 ""extend_selecti │ │ │ +00089930: 6f6e 2846 6c5f 5472 6565 2073 656c 662c on(Fl_Tree self, │ │ │ +00089940: 2046 6c5f 5472 6565 5f49 7465 6d20 5f66 Fl_Tree_Item _f │ │ │ +00089950: 726f 6d2c 2046 6c5f 5472 6565 5f49 7465 rom, Fl_Tree_Ite │ │ │ +00089960: 6d20 746f 2c20 696e 7420 7661 6c3d 312c m to, int val=1, │ │ │ +00089970: 2062 6f6f 6c20 7669 7369 626c 653d 4661 bool visible=Fa │ │ │ +00089980: 6c73 6529 202d 3e20 696e 7422 2222 0a20 lse) -> int""". │ │ │ +00089990: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +000899a0: 6c74 6b2e 466c 5f54 7265 655f 6578 7465 ltk.Fl_Tree_exte │ │ │ +000899b0: 6e64 5f73 656c 6563 7469 6f6e 2873 656c nd_selection(sel │ │ │ +000899c0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +000899d0: 6566 2073 6574 5f69 7465 6d5f 666f 6375 ef set_item_focu │ │ │ +000899e0: 7328 7365 6c66 2c20 2a61 7267 7329 3a0a s(self, *args):. │ │ │ +000899f0: 2020 2020 2020 2020 7222 2222 7365 745f r"""set_ │ │ │ +00089a00: 6974 656d 5f66 6f63 7573 2846 6c5f 5472 item_focus(Fl_Tr │ │ │ +00089a10: 6565 2073 656c 662c 2046 6c5f 5472 6565 ee self, Fl_Tree │ │ │ +00089a20: 5f49 7465 6d20 6974 656d 2922 2222 0a20 _Item item)""". │ │ │ +00089a30: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00089a40: 6c74 6b2e 466c 5f54 7265 655f 7365 745f ltk.Fl_Tree_set_ │ │ │ +00089a50: 6974 656d 5f66 6f63 7573 2873 656c 662c item_focus(self, │ │ │ +00089a60: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +00089a70: 2067 6574 5f69 7465 6d5f 666f 6375 7328 get_item_focus( │ │ │ +00089a80: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +00089a90: 2020 2020 2020 7222 2222 6765 745f 6974 r"""get_it │ │ │ +00089aa0: 656d 5f66 6f63 7573 2846 6c5f 5472 6565 em_focus(Fl_Tree │ │ │ +00089ab0: 2073 656c 6629 202d 3e20 466c 5f54 7265 self) -> Fl_Tre │ │ │ +00089ac0: 655f 4974 656d 2222 220a 2020 2020 2020 e_Item""". │ │ │ +00089ad0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +00089ae0: 6c5f 5472 6565 5f67 6574 5f69 7465 6d5f l_Tree_get_item_ │ │ │ +00089af0: 666f 6375 7328 7365 6c66 2c20 2a61 7267 focus(self, *arg │ │ │ +00089b00: 7329 0a0a 2020 2020 6465 6620 6973 5f73 s).. def is_s │ │ │ +00089b10: 656c 6563 7465 6428 7365 6c66 2c20 2a61 elected(self, *a │ │ │ +00089b20: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +00089b30: 2222 0a20 2020 2020 2020 2069 735f 7365 "". is_se │ │ │ +00089b40: 6c65 6374 6564 2846 6c5f 5472 6565 2073 lected(Fl_Tree s │ │ │ +00089b50: 656c 662c 2046 6c5f 5472 6565 5f49 7465 elf, Fl_Tree_Ite │ │ │ +00089b60: 6d20 6974 656d 2920 2d3e 2069 6e74 0a20 m item) -> int. │ │ │ +00089b70: 2020 2020 2020 2069 735f 7365 6c65 6374 is_select │ │ │ +00089b80: 6564 2846 6c5f 5472 6565 2073 656c 662c ed(Fl_Tree self, │ │ │ +00089b90: 2063 6861 7220 636f 6e73 7420 2a20 7061 char const * pa │ │ │ +00089ba0: 7468 2920 2d3e 2069 6e74 0a20 2020 2020 th) -> int. │ │ │ +00089bb0: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ +00089bc0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +00089bd0: 7265 655f 6973 5f73 656c 6563 7465 6428 ree_is_selected( │ │ │ +00089be0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +00089bf0: 2020 6465 6620 6974 656d 5f6c 6162 656c def item_label │ │ │ +00089c00: 666f 6e74 2873 656c 662c 202a 6172 6773 font(self, *args │ │ │ +00089c10: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ +00089c20: 2020 2020 2020 2020 6974 656d 5f6c 6162 item_lab │ │ │ +00089c30: 656c 666f 6e74 2846 6c5f 5472 6565 2073 elfont(Fl_Tree s │ │ │ +00089c40: 656c 6629 202d 3e20 466c 5f46 6f6e 740a elf) -> Fl_Font. │ │ │ +00089c50: 2020 2020 2020 2020 6974 656d 5f6c 6162 item_lab │ │ │ +00089c60: 656c 666f 6e74 2846 6c5f 5472 6565 2073 elfont(Fl_Tree s │ │ │ +00089c70: 656c 662c 2046 6c5f 466f 6e74 2076 616c elf, Fl_Font val │ │ │ +00089c80: 290a 2020 2020 2020 2020 2222 220a 2020 ). """. │ │ │ +00089c90: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +00089ca0: 746b 2e46 6c5f 5472 6565 5f69 7465 6d5f tk.Fl_Tree_item_ │ │ │ +00089cb0: 6c61 6265 6c66 6f6e 7428 7365 6c66 2c20 labelfont(self, │ │ │ +00089cc0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +00089cd0: 6974 656d 5f6c 6162 656c 7369 7a65 2873 item_labelsize(s │ │ │ +00089ce0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +00089cf0: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ +00089d00: 2020 6974 656d 5f6c 6162 656c 7369 7a65 item_labelsize │ │ │ +00089d10: 2846 6c5f 5472 6565 2073 656c 6629 202d (Fl_Tree self) - │ │ │ +00089d20: 3e20 466c 5f46 6f6e 7473 697a 650a 2020 > Fl_Fontsize. │ │ │ +00089d30: 2020 2020 2020 6974 656d 5f6c 6162 656c item_label │ │ │ +00089d40: 7369 7a65 2846 6c5f 5472 6565 2073 656c size(Fl_Tree sel │ │ │ +00089d50: 662c 2046 6c5f 466f 6e74 7369 7a65 2076 f, Fl_Fontsize v │ │ │ +00089d60: 616c 290a 2020 2020 2020 2020 2222 220a al). """. │ │ │ +00089d70: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +00089d80: 666c 746b 2e46 6c5f 5472 6565 5f69 7465 fltk.Fl_Tree_ite │ │ │ +00089d90: 6d5f 6c61 6265 6c73 697a 6528 7365 6c66 m_labelsize(self │ │ │ +00089da0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00089db0: 6620 6974 656d 5f6c 6162 656c 6667 636f f item_labelfgco │ │ │ +00089dc0: 6c6f 7228 7365 6c66 2c20 2a61 7267 7329 lor(self, *args) │ │ │ +00089dd0: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ +00089de0: 2020 2020 2020 2069 7465 6d5f 6c61 6265 item_labe │ │ │ +00089df0: 6c66 6763 6f6c 6f72 2846 6c5f 5472 6565 lfgcolor(Fl_Tree │ │ │ +00089e00: 2073 656c 6629 202d 3e20 466c 5f43 6f6c self) -> Fl_Col │ │ │ +00089e10: 6f72 0a20 2020 2020 2020 2069 7465 6d5f or. item_ │ │ │ +00089e20: 6c61 6265 6c66 6763 6f6c 6f72 2846 6c5f labelfgcolor(Fl_ │ │ │ +00089e30: 5472 6565 2073 656c 662c 2046 6c5f 436f Tree self, Fl_Co │ │ │ +00089e40: 6c6f 7220 7661 6c29 0a20 2020 2020 2020 lor val). │ │ │ +00089e50: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ +00089e60: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ +00089e70: 655f 6974 656d 5f6c 6162 656c 6667 636f e_item_labelfgco │ │ │ +00089e80: 6c6f 7228 7365 6c66 2c20 2a61 7267 7329 lor(self, *args) │ │ │ +00089e90: 0a0a 2020 2020 6465 6620 6974 656d 5f6c .. def item_l │ │ │ +00089ea0: 6162 656c 6267 636f 6c6f 7228 7365 6c66 abelbgcolor(self │ │ │ +00089eb0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +00089ec0: 2020 7222 2222 0a20 2020 2020 2020 2069 r""". i │ │ │ +00089ed0: 7465 6d5f 6c61 6265 6c62 6763 6f6c 6f72 tem_labelbgcolor │ │ │ +00089ee0: 2846 6c5f 5472 6565 2073 656c 6629 202d (Fl_Tree self) - │ │ │ +00089ef0: 3e20 466c 5f43 6f6c 6f72 0a20 2020 2020 > Fl_Color. │ │ │ +00089f00: 2020 2069 7465 6d5f 6c61 6265 6c62 6763 item_labelbgc │ │ │ +00089f10: 6f6c 6f72 2846 6c5f 5472 6565 2073 656c olor(Fl_Tree sel │ │ │ +00089f20: 662c 2046 6c5f 436f 6c6f 7220 7661 6c29 f, Fl_Color val) │ │ │ +00089f30: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ +00089f40: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00089f50: 6b2e 466c 5f54 7265 655f 6974 656d 5f6c k.Fl_Tree_item_l │ │ │ +00089f60: 6162 656c 6267 636f 6c6f 7228 7365 6c66 abelbgcolor(self │ │ │ +00089f70: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +00089f80: 6620 636f 6e6e 6563 746f 7263 6f6c 6f72 f connectorcolor │ │ │ +00089f90: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +00089fa0: 2020 2020 2020 2072 2222 220a 2020 2020 r""". │ │ │ +00089fb0: 2020 2020 636f 6e6e 6563 746f 7263 6f6c connectorcol │ │ │ +00089fc0: 6f72 2846 6c5f 5472 6565 2073 656c 6629 or(Fl_Tree self) │ │ │ +00089fd0: 202d 3e20 466c 5f43 6f6c 6f72 0a20 2020 -> Fl_Color. │ │ │ +00089fe0: 2020 2020 2063 6f6e 6e65 6374 6f72 636f connectorco │ │ │ +00089ff0: 6c6f 7228 466c 5f54 7265 6520 7365 6c66 lor(Fl_Tree self │ │ │ +0008a000: 2c20 466c 5f43 6f6c 6f72 2076 616c 290a , Fl_Color val). │ │ │ +0008a010: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ +0008a020: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +0008a030: 2e46 6c5f 5472 6565 5f63 6f6e 6e65 6374 .Fl_Tree_connect │ │ │ +0008a040: 6f72 636f 6c6f 7228 7365 6c66 2c20 2a61 orcolor(self, *a │ │ │ +0008a050: 7267 7329 0a0a 2020 2020 6465 6620 6d61 rgs).. def ma │ │ │ +0008a060: 7267 696e 6c65 6674 2873 656c 662c 202a rginleft(self, * │ │ │ +0008a070: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +0008a080: 2222 220a 2020 2020 2020 2020 6d61 7267 """. marg │ │ │ +0008a090: 696e 6c65 6674 2846 6c5f 5472 6565 2073 inleft(Fl_Tree s │ │ │ +0008a0a0: 656c 6629 202d 3e20 696e 740a 2020 2020 elf) -> int. │ │ │ +0008a0b0: 2020 2020 6d61 7267 696e 6c65 6674 2846 marginleft(F │ │ │ +0008a0c0: 6c5f 5472 6565 2073 656c 662c 2069 6e74 l_Tree self, int │ │ │ +0008a0d0: 2076 616c 290a 2020 2020 2020 2020 2222 val). "" │ │ │ +0008a0e0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0008a0f0: 205f 666c 746b 2e46 6c5f 5472 6565 5f6d _fltk.Fl_Tree_m │ │ │ +0008a100: 6172 6769 6e6c 6566 7428 7365 6c66 2c20 arginleft(self, │ │ │ +0008a110: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +0008a120: 6d61 7267 696e 746f 7028 7365 6c66 2c20 margintop(self, │ │ │ +0008a130: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +0008a140: 7222 2222 0a20 2020 2020 2020 206d 6172 r""". mar │ │ │ +0008a150: 6769 6e74 6f70 2846 6c5f 5472 6565 2073 gintop(Fl_Tree s │ │ │ +0008a160: 656c 6629 202d 3e20 696e 740a 2020 2020 elf) -> int. │ │ │ +0008a170: 2020 2020 6d61 7267 696e 746f 7028 466c margintop(Fl │ │ │ +0008a180: 5f54 7265 6520 7365 6c66 2c20 696e 7420 _Tree self, int │ │ │ +0008a190: 7661 6c29 0a20 2020 2020 2020 2022 2222 val). """ │ │ │ +0008a1a0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +0008a1b0: 5f66 6c74 6b2e 466c 5f54 7265 655f 6d61 _fltk.Fl_Tree_ma │ │ │ +0008a1c0: 7267 696e 746f 7028 7365 6c66 2c20 2a61 rgintop(self, *a │ │ │ +0008a1d0: 7267 7329 0a0a 2020 2020 6465 6620 6d61 rgs).. def ma │ │ │ +0008a1e0: 7267 696e 626f 7474 6f6d 2873 656c 662c rginbottom(self, │ │ │ +0008a1f0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +0008a200: 2072 2222 220a 2020 2020 2020 2020 6d61 r""". ma │ │ │ +0008a210: 7267 696e 626f 7474 6f6d 2846 6c5f 5472 rginbottom(Fl_Tr │ │ │ +0008a220: 6565 2073 656c 6629 202d 3e20 696e 740a ee self) -> int. │ │ │ +0008a230: 2020 2020 2020 2020 6d61 7267 696e 626f marginbo │ │ │ +0008a240: 7474 6f6d 2846 6c5f 5472 6565 2073 656c ttom(Fl_Tree sel │ │ │ +0008a250: 662c 2069 6e74 2076 616c 290a 2020 2020 f, int val). │ │ │ +0008a260: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ +0008a270: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +0008a280: 5472 6565 5f6d 6172 6769 6e62 6f74 746f Tree_marginbotto │ │ │ +0008a290: 6d28 7365 6c66 2c20 2a61 7267 7329 0a0a m(self, *args).. │ │ │ +0008a2a0: 2020 2020 6465 6620 6c69 6e65 7370 6163 def linespac │ │ │ +0008a2b0: 696e 6728 7365 6c66 2c20 2a61 7267 7329 ing(self, *args) │ │ │ +0008a2c0: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ +0008a2d0: 2020 2020 2020 206c 696e 6573 7061 6369 linespaci │ │ │ +0008a2e0: 6e67 2846 6c5f 5472 6565 2073 656c 6629 ng(Fl_Tree self) │ │ │ +0008a2f0: 202d 3e20 696e 740a 2020 2020 2020 2020 -> int. │ │ │ +0008a300: 6c69 6e65 7370 6163 696e 6728 466c 5f54 linespacing(Fl_T │ │ │ +0008a310: 7265 6520 7365 6c66 2c20 696e 7420 7661 ree self, int va │ │ │ +0008a320: 6c29 0a20 2020 2020 2020 2022 2222 0a20 l). """. │ │ │ +0008a330: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +0008a340: 6c74 6b2e 466c 5f54 7265 655f 6c69 6e65 ltk.Fl_Tree_line │ │ │ +0008a350: 7370 6163 696e 6728 7365 6c66 2c20 2a61 spacing(self, *a │ │ │ +0008a360: 7267 7329 0a0a 2020 2020 6465 6620 6f70 rgs).. def op │ │ │ +0008a370: 656e 6368 696c 645f 6d61 7267 696e 626f enchild_marginbo │ │ │ +0008a380: 7474 6f6d 2873 656c 662c 202a 6172 6773 ttom(self, *args │ │ │ +0008a390: 293a 0a20 2020 2020 2020 2072 2222 220a ):. r""". │ │ │ +0008a3a0: 2020 2020 2020 2020 6f70 656e 6368 696c openchil │ │ │ +0008a3b0: 645f 6d61 7267 696e 626f 7474 6f6d 2846 d_marginbottom(F │ │ │ +0008a3c0: 6c5f 5472 6565 2073 656c 6629 202d 3e20 l_Tree self) -> │ │ │ +0008a3d0: 696e 740a 2020 2020 2020 2020 6f70 656e int. open │ │ │ +0008a3e0: 6368 696c 645f 6d61 7267 696e 626f 7474 child_marginbott │ │ │ +0008a3f0: 6f6d 2846 6c5f 5472 6565 2073 656c 662c om(Fl_Tree self, │ │ │ +0008a400: 2069 6e74 2076 616c 290a 2020 2020 2020 int val). │ │ │ +0008a410: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ +0008a420: 7475 726e 205f 666c 746b 2e46 6c5f 5472 turn _fltk.Fl_Tr │ │ │ +0008a430: 6565 5f6f 7065 6e63 6869 6c64 5f6d 6172 ee_openchild_mar │ │ │ +0008a440: 6769 6e62 6f74 746f 6d28 7365 6c66 2c20 ginbottom(self, │ │ │ +0008a450: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +0008a460: 7573 6572 6963 6f6e 6d61 7267 696e 6c65 usericonmarginle │ │ │ +0008a470: 6674 2873 656c 662c 202a 6172 6773 293a ft(self, *args): │ │ │ +0008a480: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ +0008a490: 2020 2020 2020 7573 6572 6963 6f6e 6d61 usericonma │ │ │ +0008a4a0: 7267 696e 6c65 6674 2846 6c5f 5472 6565 rginleft(Fl_Tree │ │ │ +0008a4b0: 2073 656c 6629 202d 3e20 696e 740a 2020 self) -> int. │ │ │ +0008a4c0: 2020 2020 2020 7573 6572 6963 6f6e 6d61 usericonma │ │ │ +0008a4d0: 7267 696e 6c65 6674 2846 6c5f 5472 6565 rginleft(Fl_Tree │ │ │ +0008a4e0: 2073 656c 662c 2069 6e74 2076 616c 290a self, int val). │ │ │ +0008a4f0: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ +0008a500: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +0008a510: 2e46 6c5f 5472 6565 5f75 7365 7269 636f .Fl_Tree_userico │ │ │ +0008a520: 6e6d 6172 6769 6e6c 6566 7428 7365 6c66 nmarginleft(self │ │ │ +0008a530: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +0008a540: 6620 6c61 6265 6c6d 6172 6769 6e6c 6566 f labelmarginlef │ │ │ +0008a550: 7428 7365 6c66 2c20 2a61 7267 7329 3a0a t(self, *args):. │ │ │ +0008a560: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ 0008a570: 2020 2020 206c 6162 656c 6d61 7267 696e labelmargin │ │ │ 0008a580: 6c65 6674 2846 6c5f 5472 6565 2073 656c left(Fl_Tree sel │ │ │ -0008a590: 662c 2069 6e74 2076 616c 290a 2020 2020 f, int val). │ │ │ -0008a5a0: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ -0008a5b0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -0008a5c0: 5472 6565 5f6c 6162 656c 6d61 7267 696e Tree_labelmargin │ │ │ -0008a5d0: 6c65 6674 2873 656c 662c 202a 6172 6773 left(self, *args │ │ │ -0008a5e0: 290a 0a20 2020 2064 6566 2077 6964 6765 ).. def widge │ │ │ -0008a5f0: 746d 6172 6769 6e6c 6566 7428 7365 6c66 tmarginleft(self │ │ │ -0008a600: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -0008a610: 2020 7222 2222 0a20 2020 2020 2020 2077 r""". w │ │ │ -0008a620: 6964 6765 746d 6172 6769 6e6c 6566 7428 idgetmarginleft( │ │ │ -0008a630: 466c 5f54 7265 6520 7365 6c66 2920 2d3e Fl_Tree self) -> │ │ │ -0008a640: 2069 6e74 0a20 2020 2020 2020 2077 6964 int. wid │ │ │ -0008a650: 6765 746d 6172 6769 6e6c 6566 7428 466c getmarginleft(Fl │ │ │ -0008a660: 5f54 7265 6520 7365 6c66 2c20 696e 7420 _Tree self, int │ │ │ -0008a670: 7661 6c29 0a20 2020 2020 2020 2022 2222 val). """ │ │ │ -0008a680: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -0008a690: 5f66 6c74 6b2e 466c 5f54 7265 655f 7769 _fltk.Fl_Tree_wi │ │ │ -0008a6a0: 6467 6574 6d61 7267 696e 6c65 6674 2873 dgetmarginleft(s │ │ │ -0008a6b0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -0008a6c0: 2064 6566 2063 6f6e 6e65 6374 6f72 7769 def connectorwi │ │ │ -0008a6d0: 6474 6828 7365 6c66 2c20 2a61 7267 7329 dth(self, *args) │ │ │ -0008a6e0: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ -0008a6f0: 2020 2020 2020 2063 6f6e 6e65 6374 6f72 connector │ │ │ -0008a700: 7769 6474 6828 466c 5f54 7265 6520 7365 width(Fl_Tree se │ │ │ -0008a710: 6c66 2920 2d3e 2069 6e74 0a20 2020 2020 lf) -> int. │ │ │ -0008a720: 2020 2063 6f6e 6e65 6374 6f72 7769 6474 connectorwidt │ │ │ -0008a730: 6828 466c 5f54 7265 6520 7365 6c66 2c20 h(Fl_Tree self, │ │ │ -0008a740: 696e 7420 7661 6c29 0a20 2020 2020 2020 int val). │ │ │ -0008a750: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ -0008a760: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ -0008a770: 655f 636f 6e6e 6563 746f 7277 6964 7468 e_connectorwidth │ │ │ -0008a780: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -0008a790: 2020 2064 6566 2075 7365 7269 636f 6e28 def usericon( │ │ │ -0008a7a0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -0008a7b0: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ -0008a7c0: 2020 2075 7365 7269 636f 6e28 466c 5f54 usericon(Fl_T │ │ │ -0008a7d0: 7265 6520 7365 6c66 2920 2d3e 2046 6c5f ree self) -> Fl_ │ │ │ -0008a7e0: 496d 6167 650a 2020 2020 2020 2020 7573 Image. us │ │ │ -0008a7f0: 6572 6963 6f6e 2846 6c5f 5472 6565 2073 ericon(Fl_Tree s │ │ │ -0008a800: 656c 662c 2046 6c5f 496d 6167 6520 7661 elf, Fl_Image va │ │ │ -0008a810: 6c29 0a20 2020 2020 2020 2022 2222 0a20 l). """. │ │ │ -0008a820: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -0008a830: 6c74 6b2e 466c 5f54 7265 655f 7573 6572 ltk.Fl_Tree_user │ │ │ -0008a840: 6963 6f6e 2873 656c 662c 202a 6172 6773 icon(self, *args │ │ │ -0008a850: 290a 0a20 2020 2064 6566 206f 7065 6e69 ).. def openi │ │ │ -0008a860: 636f 6e28 7365 6c66 2c20 2a61 7267 7329 con(self, *args) │ │ │ -0008a870: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ -0008a880: 2020 2020 2020 206f 7065 6e69 636f 6e28 openicon( │ │ │ -0008a890: 466c 5f54 7265 6520 7365 6c66 2920 2d3e Fl_Tree self) -> │ │ │ -0008a8a0: 2046 6c5f 496d 6167 650a 2020 2020 2020 Fl_Image. │ │ │ -0008a8b0: 2020 6f70 656e 6963 6f6e 2846 6c5f 5472 openicon(Fl_Tr │ │ │ -0008a8c0: 6565 2073 656c 662c 2046 6c5f 496d 6167 ee self, Fl_Imag │ │ │ -0008a8d0: 6520 7661 6c29 0a20 2020 2020 2020 2022 e val). " │ │ │ -0008a8e0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -0008a8f0: 6e20 5f66 6c74 6b2e 466c 5f54 7265 655f n _fltk.Fl_Tree_ │ │ │ -0008a900: 6f70 656e 6963 6f6e 2873 656c 662c 202a openicon(self, * │ │ │ -0008a910: 6172 6773 290a 0a20 2020 2064 6566 2063 args).. def c │ │ │ -0008a920: 6c6f 7365 6963 6f6e 2873 656c 662c 202a loseicon(self, * │ │ │ -0008a930: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -0008a940: 2222 220a 2020 2020 2020 2020 636c 6f73 """. clos │ │ │ -0008a950: 6569 636f 6e28 466c 5f54 7265 6520 7365 eicon(Fl_Tree se │ │ │ -0008a960: 6c66 2920 2d3e 2046 6c5f 496d 6167 650a lf) -> Fl_Image. │ │ │ -0008a970: 2020 2020 2020 2020 636c 6f73 6569 636f closeico │ │ │ -0008a980: 6e28 466c 5f54 7265 6520 7365 6c66 2c20 n(Fl_Tree self, │ │ │ -0008a990: 466c 5f49 6d61 6765 2076 616c 290a 2020 Fl_Image val). │ │ │ -0008a9a0: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ -0008a9b0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -0008a9c0: 6c5f 5472 6565 5f63 6c6f 7365 6963 6f6e l_Tree_closeicon │ │ │ -0008a9d0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -0008a9e0: 2020 2064 6566 2073 686f 7763 6f6c 6c61 def showcolla │ │ │ -0008a9f0: 7073 6528 7365 6c66 2c20 2a61 7267 7329 pse(self, *args) │ │ │ -0008aa00: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ -0008aa10: 2020 2020 2020 2073 686f 7763 6f6c 6c61 showcolla │ │ │ -0008aa20: 7073 6528 466c 5f54 7265 6520 7365 6c66 pse(Fl_Tree self │ │ │ -0008aa30: 2920 2d3e 2069 6e74 0a20 2020 2020 2020 ) -> int. │ │ │ -0008aa40: 2073 686f 7763 6f6c 6c61 7073 6528 466c showcollapse(Fl │ │ │ -0008aa50: 5f54 7265 6520 7365 6c66 2c20 696e 7420 _Tree self, int │ │ │ -0008aa60: 7661 6c29 0a20 2020 2020 2020 2022 2222 val). """ │ │ │ -0008aa70: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -0008aa80: 5f66 6c74 6b2e 466c 5f54 7265 655f 7368 _fltk.Fl_Tree_sh │ │ │ -0008aa90: 6f77 636f 6c6c 6170 7365 2873 656c 662c owcollapse(self, │ │ │ -0008aaa0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -0008aab0: 2073 686f 7772 6f6f 7428 7365 6c66 2c20 showroot(self, │ │ │ -0008aac0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -0008aad0: 7222 2222 0a20 2020 2020 2020 2073 686f r""". sho │ │ │ -0008aae0: 7772 6f6f 7428 466c 5f54 7265 6520 7365 wroot(Fl_Tree se │ │ │ -0008aaf0: 6c66 2920 2d3e 2069 6e74 0a20 2020 2020 lf) -> int. │ │ │ -0008ab00: 2020 2073 686f 7772 6f6f 7428 466c 5f54 showroot(Fl_T │ │ │ -0008ab10: 7265 6520 7365 6c66 2c20 696e 7420 7661 ree self, int va │ │ │ -0008ab20: 6c29 0a20 2020 2020 2020 2022 2222 0a20 l). """. │ │ │ -0008ab30: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -0008ab40: 6c74 6b2e 466c 5f54 7265 655f 7368 6f77 ltk.Fl_Tree_show │ │ │ -0008ab50: 726f 6f74 2873 656c 662c 202a 6172 6773 root(self, *args │ │ │ -0008ab60: 290a 0a20 2020 2064 6566 2063 6f6e 6e65 ).. def conne │ │ │ -0008ab70: 6374 6f72 7374 796c 6528 7365 6c66 2c20 ctorstyle(self, │ │ │ -0008ab80: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -0008ab90: 7222 2222 0a20 2020 2020 2020 2063 6f6e r""". con │ │ │ -0008aba0: 6e65 6374 6f72 7374 796c 6528 466c 5f54 nectorstyle(Fl_T │ │ │ -0008abb0: 7265 6520 7365 6c66 2920 2d3e 2046 6c5f ree self) -> Fl_ │ │ │ -0008abc0: 5472 6565 5f43 6f6e 6e65 6374 6f72 0a20 Tree_Connector. │ │ │ -0008abd0: 2020 2020 2020 2063 6f6e 6e65 6374 6f72 connector │ │ │ -0008abe0: 7374 796c 6528 466c 5f54 7265 6520 7365 style(Fl_Tree se │ │ │ -0008abf0: 6c66 2c20 466c 5f54 7265 655f 436f 6e6e lf, Fl_Tree_Conn │ │ │ -0008ac00: 6563 746f 7220 7661 6c29 0a20 2020 2020 ector val). │ │ │ -0008ac10: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ -0008ac20: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -0008ac30: 7265 655f 636f 6e6e 6563 746f 7273 7479 ree_connectorsty │ │ │ -0008ac40: 6c65 2873 656c 662c 202a 6172 6773 290a le(self, *args). │ │ │ -0008ac50: 0a20 2020 2064 6566 2073 6f72 746f 7264 . def sortord │ │ │ -0008ac60: 6572 2873 656c 662c 202a 6172 6773 293a er(self, *args): │ │ │ -0008ac70: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ -0008ac80: 2020 2020 2020 736f 7274 6f72 6465 7228 sortorder( │ │ │ -0008ac90: 466c 5f54 7265 6520 7365 6c66 2920 2d3e Fl_Tree self) -> │ │ │ -0008aca0: 2046 6c5f 5472 6565 5f53 6f72 740a 2020 Fl_Tree_Sort. │ │ │ -0008acb0: 2020 2020 2020 736f 7274 6f72 6465 7228 sortorder( │ │ │ -0008acc0: 466c 5f54 7265 6520 7365 6c66 2c20 466c Fl_Tree self, Fl │ │ │ -0008acd0: 5f54 7265 655f 536f 7274 2076 616c 290a _Tree_Sort val). │ │ │ -0008ace0: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ -0008acf0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -0008ad00: 2e46 6c5f 5472 6565 5f73 6f72 746f 7264 .Fl_Tree_sortord │ │ │ -0008ad10: 6572 2873 656c 662c 202a 6172 6773 290a er(self, *args). │ │ │ -0008ad20: 0a20 2020 2064 6566 2073 656c 6563 7462 . def selectb │ │ │ -0008ad30: 6f78 2873 656c 662c 202a 6172 6773 293a ox(self, *args): │ │ │ -0008ad40: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ -0008ad50: 2020 2020 2020 7365 6c65 6374 626f 7828 selectbox( │ │ │ -0008ad60: 466c 5f54 7265 6520 7365 6c66 2920 2d3e Fl_Tree self) -> │ │ │ -0008ad70: 2046 6c5f 426f 7874 7970 650a 2020 2020 Fl_Boxtype. │ │ │ -0008ad80: 2020 2020 7365 6c65 6374 626f 7828 466c selectbox(Fl │ │ │ -0008ad90: 5f54 7265 6520 7365 6c66 2c20 466c 5f42 _Tree self, Fl_B │ │ │ -0008ada0: 6f78 7479 7065 2076 616c 290a 2020 2020 oxtype val). │ │ │ -0008adb0: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ -0008adc0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -0008add0: 5472 6565 5f73 656c 6563 7462 6f78 2873 Tree_selectbox(s │ │ │ -0008ade0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -0008adf0: 2064 6566 2073 656c 6563 746d 6f64 6528 def selectmode( │ │ │ -0008ae00: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -0008ae10: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ -0008ae20: 2020 2073 656c 6563 746d 6f64 6528 466c selectmode(Fl │ │ │ -0008ae30: 5f54 7265 6520 7365 6c66 2920 2d3e 2046 _Tree self) -> F │ │ │ -0008ae40: 6c5f 5472 6565 5f53 656c 6563 740a 2020 l_Tree_Select. │ │ │ -0008ae50: 2020 2020 2020 7365 6c65 6374 6d6f 6465 selectmode │ │ │ -0008ae60: 2846 6c5f 5472 6565 2073 656c 662c 2046 (Fl_Tree self, F │ │ │ -0008ae70: 6c5f 5472 6565 5f53 656c 6563 7420 7661 l_Tree_Select va │ │ │ -0008ae80: 6c29 0a20 2020 2020 2020 2022 2222 0a20 l). """. │ │ │ -0008ae90: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -0008aea0: 6c74 6b2e 466c 5f54 7265 655f 7365 6c65 ltk.Fl_Tree_sele │ │ │ -0008aeb0: 6374 6d6f 6465 2873 656c 662c 202a 6172 ctmode(self, *ar │ │ │ -0008aec0: 6773 290a 0a20 2020 2064 6566 2069 7465 gs).. def ite │ │ │ -0008aed0: 6d5f 7265 7365 6c65 6374 5f6d 6f64 6528 m_reselect_mode( │ │ │ -0008aee0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -0008aef0: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ -0008af00: 2020 2069 7465 6d5f 7265 7365 6c65 6374 item_reselect │ │ │ -0008af10: 5f6d 6f64 6528 466c 5f54 7265 6520 7365 _mode(Fl_Tree se │ │ │ -0008af20: 6c66 2920 2d3e 2046 6c5f 5472 6565 5f49 lf) -> Fl_Tree_I │ │ │ -0008af30: 7465 6d5f 5265 7365 6c65 6374 5f4d 6f64 tem_Reselect_Mod │ │ │ -0008af40: 650a 2020 2020 2020 2020 6974 656d 5f72 e. item_r │ │ │ -0008af50: 6573 656c 6563 745f 6d6f 6465 2846 6c5f eselect_mode(Fl_ │ │ │ -0008af60: 5472 6565 2073 656c 662c 2046 6c5f 5472 Tree self, Fl_Tr │ │ │ -0008af70: 6565 5f49 7465 6d5f 5265 7365 6c65 6374 ee_Item_Reselect │ │ │ -0008af80: 5f4d 6f64 6520 6d6f 6465 290a 2020 2020 _Mode mode). │ │ │ -0008af90: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ -0008afa0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -0008afb0: 5472 6565 5f69 7465 6d5f 7265 7365 6c65 Tree_item_resele │ │ │ -0008afc0: 6374 5f6d 6f64 6528 7365 6c66 2c20 2a61 ct_mode(self, *a │ │ │ -0008afd0: 7267 7329 0a0a 2020 2020 6465 6620 6974 rgs).. def it │ │ │ -0008afe0: 656d 5f64 7261 775f 6d6f 6465 2873 656c em_draw_mode(sel │ │ │ -0008aff0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -0008b000: 2020 2072 2222 220a 2020 2020 2020 2020 r""". │ │ │ -0008b010: 6974 656d 5f64 7261 775f 6d6f 6465 2846 item_draw_mode(F │ │ │ -0008b020: 6c5f 5472 6565 2073 656c 6629 202d 3e20 l_Tree self) -> │ │ │ -0008b030: 466c 5f54 7265 655f 4974 656d 5f44 7261 Fl_Tree_Item_Dra │ │ │ -0008b040: 775f 4d6f 6465 0a20 2020 2020 2020 2069 w_Mode. i │ │ │ -0008b050: 7465 6d5f 6472 6177 5f6d 6f64 6528 466c tem_draw_mode(Fl │ │ │ -0008b060: 5f54 7265 6520 7365 6c66 2c20 466c 5f54 _Tree self, Fl_T │ │ │ -0008b070: 7265 655f 4974 656d 5f44 7261 775f 4d6f ree_Item_Draw_Mo │ │ │ -0008b080: 6465 206d 6f64 6529 0a20 2020 2020 2020 de mode). │ │ │ -0008b090: 2069 7465 6d5f 6472 6177 5f6d 6f64 6528 item_draw_mode( │ │ │ -0008b0a0: 466c 5f54 7265 6520 7365 6c66 2c20 696e Fl_Tree self, in │ │ │ -0008b0b0: 7420 6d6f 6465 290a 2020 2020 2020 2020 t mode). │ │ │ -0008b0c0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -0008b0d0: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ -0008b0e0: 5f69 7465 6d5f 6472 6177 5f6d 6f64 6528 _item_draw_mode( │ │ │ -0008b0f0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -0008b100: 2020 6465 6620 6361 6c63 5f64 696d 656e def calc_dimen │ │ │ -0008b110: 7369 6f6e 7328 7365 6c66 2c20 2a61 7267 sions(self, *arg │ │ │ -0008b120: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0008b130: 6361 6c63 5f64 696d 656e 7369 6f6e 7328 calc_dimensions( │ │ │ -0008b140: 466c 5f54 7265 6520 7365 6c66 2922 2222 Fl_Tree self)""" │ │ │ -0008b150: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -0008b160: 5f66 6c74 6b2e 466c 5f54 7265 655f 6361 _fltk.Fl_Tree_ca │ │ │ -0008b170: 6c63 5f64 696d 656e 7369 6f6e 7328 7365 lc_dimensions(se │ │ │ -0008b180: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -0008b190: 6465 6620 6361 6c63 5f74 7265 6528 7365 def calc_tree(se │ │ │ -0008b1a0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -0008b1b0: 2020 2020 7222 2222 6361 6c63 5f74 7265 r"""calc_tre │ │ │ -0008b1c0: 6528 466c 5f54 7265 6520 7365 6c66 2922 e(Fl_Tree self)" │ │ │ -0008b1d0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -0008b1e0: 6e20 5f66 6c74 6b2e 466c 5f54 7265 655f n _fltk.Fl_Tree_ │ │ │ -0008b1f0: 6361 6c63 5f74 7265 6528 7365 6c66 2c20 calc_tree(self, │ │ │ -0008b200: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -0008b210: 7265 6361 6c63 5f74 7265 6528 7365 6c66 recalc_tree(self │ │ │ -0008b220: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -0008b230: 2020 7222 2222 7265 6361 6c63 5f74 7265 r"""recalc_tre │ │ │ -0008b240: 6528 466c 5f54 7265 6520 7365 6c66 2922 e(Fl_Tree self)" │ │ │ -0008b250: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -0008b260: 6e20 5f66 6c74 6b2e 466c 5f54 7265 655f n _fltk.Fl_Tree_ │ │ │ -0008b270: 7265 6361 6c63 5f74 7265 6528 7365 6c66 recalc_tree(self │ │ │ -0008b280: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -0008b290: 6620 6469 7370 6c61 7965 6428 7365 6c66 f displayed(self │ │ │ -0008b2a0: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -0008b2b0: 2020 7222 2222 6469 7370 6c61 7965 6428 r"""displayed( │ │ │ -0008b2c0: 466c 5f54 7265 6520 7365 6c66 2c20 466c Fl_Tree self, Fl │ │ │ -0008b2d0: 5f54 7265 655f 4974 656d 2069 7465 6d29 _Tree_Item item) │ │ │ -0008b2e0: 202d 3e20 696e 7422 2222 0a20 2020 2020 -> int""". │ │ │ -0008b2f0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -0008b300: 466c 5f54 7265 655f 6469 7370 6c61 7965 Fl_Tree_displaye │ │ │ -0008b310: 6428 7365 6c66 2c20 2a61 7267 7329 0a0a d(self, *args).. │ │ │ -0008b320: 2020 2020 6465 6620 7368 6f77 5f69 7465 def show_ite │ │ │ -0008b330: 6d28 7365 6c66 2c20 2a61 7267 7329 3a0a m(self, *args):. │ │ │ -0008b340: 2020 2020 2020 2020 7222 2222 0a20 2020 r""". │ │ │ -0008b350: 2020 2020 2073 686f 775f 6974 656d 2846 show_item(F │ │ │ -0008b360: 6c5f 5472 6565 2073 656c 662c 2046 6c5f l_Tree self, Fl_ │ │ │ -0008b370: 5472 6565 5f49 7465 6d20 6974 656d 2c20 Tree_Item item, │ │ │ -0008b380: 696e 7420 796f 6666 290a 2020 2020 2020 int yoff). │ │ │ -0008b390: 2020 7368 6f77 5f69 7465 6d28 466c 5f54 show_item(Fl_T │ │ │ -0008b3a0: 7265 6520 7365 6c66 2c20 466c 5f54 7265 ree self, Fl_Tre │ │ │ -0008b3b0: 655f 4974 656d 2069 7465 6d29 0a20 2020 e_Item item). │ │ │ -0008b3c0: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ -0008b3d0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -0008b3e0: 5f54 7265 655f 7368 6f77 5f69 7465 6d28 _Tree_show_item( │ │ │ -0008b3f0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -0008b400: 2020 6465 6620 7368 6f77 5f69 7465 6d5f def show_item_ │ │ │ -0008b410: 746f 7028 7365 6c66 2c20 2a61 7267 7329 top(self, *args) │ │ │ -0008b420: 3a0a 2020 2020 2020 2020 7222 2222 7368 :. r"""sh │ │ │ -0008b430: 6f77 5f69 7465 6d5f 746f 7028 466c 5f54 ow_item_top(Fl_T │ │ │ -0008b440: 7265 6520 7365 6c66 2c20 466c 5f54 7265 ree self, Fl_Tre │ │ │ -0008b450: 655f 4974 656d 2069 7465 6d29 2222 220a e_Item item)""". │ │ │ -0008b460: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -0008b470: 666c 746b 2e46 6c5f 5472 6565 5f73 686f fltk.Fl_Tree_sho │ │ │ -0008b480: 775f 6974 656d 5f74 6f70 2873 656c 662c w_item_top(self, │ │ │ -0008b490: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -0008b4a0: 2073 686f 775f 6974 656d 5f6d 6964 646c show_item_middl │ │ │ -0008b4b0: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ -0008b4c0: 2020 2020 2020 2020 7222 2222 7368 6f77 r"""show │ │ │ -0008b4d0: 5f69 7465 6d5f 6d69 6464 6c65 2846 6c5f _item_middle(Fl_ │ │ │ -0008b4e0: 5472 6565 2073 656c 662c 2046 6c5f 5472 Tree self, Fl_Tr │ │ │ -0008b4f0: 6565 5f49 7465 6d20 6974 656d 2922 2222 ee_Item item)""" │ │ │ -0008b500: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -0008b510: 5f66 6c74 6b2e 466c 5f54 7265 655f 7368 _fltk.Fl_Tree_sh │ │ │ -0008b520: 6f77 5f69 7465 6d5f 6d69 6464 6c65 2873 ow_item_middle(s │ │ │ -0008b530: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -0008b540: 2064 6566 2073 686f 775f 6974 656d 5f62 def show_item_b │ │ │ -0008b550: 6f74 746f 6d28 7365 6c66 2c20 2a61 7267 ottom(self, *arg │ │ │ -0008b560: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0008b570: 7368 6f77 5f69 7465 6d5f 626f 7474 6f6d show_item_bottom │ │ │ -0008b580: 2846 6c5f 5472 6565 2073 656c 662c 2046 (Fl_Tree self, F │ │ │ -0008b590: 6c5f 5472 6565 5f49 7465 6d20 6974 656d l_Tree_Item item │ │ │ -0008b5a0: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ -0008b5b0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ -0008b5c0: 655f 7368 6f77 5f69 7465 6d5f 626f 7474 e_show_item_bott │ │ │ -0008b5d0: 6f6d 2873 656c 662c 202a 6172 6773 290a om(self, *args). │ │ │ -0008b5e0: 0a20 2020 2064 6566 2064 6973 706c 6179 . def display │ │ │ -0008b5f0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -0008b600: 2020 2020 2020 2072 2222 2264 6973 706c r"""displ │ │ │ -0008b610: 6179 2846 6c5f 5472 6565 2073 656c 662c ay(Fl_Tree self, │ │ │ -0008b620: 2046 6c5f 5472 6565 5f49 7465 6d20 6974 Fl_Tree_Item it │ │ │ -0008b630: 656d 2922 2222 0a20 2020 2020 2020 2072 em)""". r │ │ │ -0008b640: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -0008b650: 7265 655f 6469 7370 6c61 7928 7365 6c66 ree_display(self │ │ │ -0008b660: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -0008b670: 6620 7670 6f73 6974 696f 6e28 7365 6c66 f vposition(self │ │ │ -0008b680: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -0008b690: 2020 7222 2222 0a20 2020 2020 2020 2076 r""". v │ │ │ -0008b6a0: 706f 7369 7469 6f6e 2846 6c5f 5472 6565 position(Fl_Tree │ │ │ -0008b6b0: 2073 656c 6629 202d 3e20 696e 740a 2020 self) -> int. │ │ │ -0008b6c0: 2020 2020 2020 7670 6f73 6974 696f 6e28 vposition( │ │ │ -0008b6d0: 466c 5f54 7265 6520 7365 6c66 2c20 696e Fl_Tree self, in │ │ │ -0008b6e0: 7420 706f 7329 0a20 2020 2020 2020 2022 t pos). " │ │ │ -0008b6f0: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -0008b700: 6e20 5f66 6c74 6b2e 466c 5f54 7265 655f n _fltk.Fl_Tree_ │ │ │ -0008b710: 7670 6f73 6974 696f 6e28 7365 6c66 2c20 vposition(self, │ │ │ -0008b720: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -0008b730: 6870 6f73 6974 696f 6e28 7365 6c66 2c20 hposition(self, │ │ │ -0008b740: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -0008b750: 7222 2222 0a20 2020 2020 2020 2068 706f r""". hpo │ │ │ -0008b760: 7369 7469 6f6e 2846 6c5f 5472 6565 2073 sition(Fl_Tree s │ │ │ -0008b770: 656c 6629 202d 3e20 696e 740a 2020 2020 elf) -> int. │ │ │ -0008b780: 2020 2020 6870 6f73 6974 696f 6e28 466c hposition(Fl │ │ │ -0008b790: 5f54 7265 6520 7365 6c66 2c20 696e 7420 _Tree self, int │ │ │ -0008b7a0: 706f 7329 0a20 2020 2020 2020 2022 2222 pos). """ │ │ │ -0008b7b0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ -0008b7c0: 5f66 6c74 6b2e 466c 5f54 7265 655f 6870 _fltk.Fl_Tree_hp │ │ │ -0008b7d0: 6f73 6974 696f 6e28 7365 6c66 2c20 2a61 osition(self, *a │ │ │ -0008b7e0: 7267 7329 0a0a 2020 2020 6465 6620 6973 rgs).. def is │ │ │ -0008b7f0: 5f73 6372 6f6c 6c62 6172 2873 656c 662c _scrollbar(self, │ │ │ -0008b800: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -0008b810: 2072 2222 2269 735f 7363 726f 6c6c 6261 r"""is_scrollba │ │ │ -0008b820: 7228 466c 5f54 7265 6520 7365 6c66 2c20 r(Fl_Tree self, │ │ │ -0008b830: 466c 5f57 6964 6765 7420 7729 202d 3e20 Fl_Widget w) -> │ │ │ -0008b840: 696e 7422 2222 0a20 2020 2020 2020 2072 int""". r │ │ │ -0008b850: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -0008b860: 7265 655f 6973 5f73 6372 6f6c 6c62 6172 ree_is_scrollbar │ │ │ -0008b870: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -0008b880: 2020 2064 6566 2073 6372 6f6c 6c62 6172 def scrollbar │ │ │ -0008b890: 5f73 697a 6528 7365 6c66 2c20 2a61 7267 _size(self, *arg │ │ │ -0008b8a0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0008b8b0: 0a20 2020 2020 2020 2073 6372 6f6c 6c62 . scrollb │ │ │ -0008b8c0: 6172 5f73 697a 6528 466c 5f54 7265 6520 ar_size(Fl_Tree │ │ │ -0008b8d0: 7365 6c66 2920 2d3e 2069 6e74 0a20 2020 self) -> int. │ │ │ -0008b8e0: 2020 2020 2073 6372 6f6c 6c62 6172 5f73 scrollbar_s │ │ │ -0008b8f0: 697a 6528 466c 5f54 7265 6520 7365 6c66 ize(Fl_Tree self │ │ │ -0008b900: 2c20 696e 7420 7369 7a65 290a 2020 2020 , int size). │ │ │ -0008b910: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ -0008b920: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -0008b930: 5472 6565 5f73 6372 6f6c 6c62 6172 5f73 Tree_scrollbar_s │ │ │ -0008b940: 697a 6528 7365 6c66 2c20 2a61 7267 7329 ize(self, *args) │ │ │ -0008b950: 0a0a 2020 2020 6465 6620 6973 5f76 7363 .. def is_vsc │ │ │ -0008b960: 726f 6c6c 5f76 6973 6962 6c65 2873 656c roll_visible(sel │ │ │ -0008b970: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -0008b980: 2020 2072 2222 2269 735f 7673 6372 6f6c r"""is_vscrol │ │ │ -0008b990: 6c5f 7669 7369 626c 6528 466c 5f54 7265 l_visible(Fl_Tre │ │ │ -0008b9a0: 6520 7365 6c66 2920 2d3e 2069 6e74 2222 e self) -> int"" │ │ │ -0008b9b0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -0008b9c0: 205f 666c 746b 2e46 6c5f 5472 6565 5f69 _fltk.Fl_Tree_i │ │ │ -0008b9d0: 735f 7673 6372 6f6c 6c5f 7669 7369 626c s_vscroll_visibl │ │ │ -0008b9e0: 6528 7365 6c66 2c20 2a61 7267 7329 0a0a e(self, *args).. │ │ │ -0008b9f0: 2020 2020 6465 6620 6973 5f68 7363 726f def is_hscro │ │ │ -0008ba00: 6c6c 5f76 6973 6962 6c65 2873 656c 662c ll_visible(self, │ │ │ -0008ba10: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -0008ba20: 2072 2222 2269 735f 6873 6372 6f6c 6c5f r"""is_hscroll_ │ │ │ -0008ba30: 7669 7369 626c 6528 466c 5f54 7265 6520 visible(Fl_Tree │ │ │ -0008ba40: 7365 6c66 2920 2d3e 2069 6e74 2222 220a self) -> int""". │ │ │ -0008ba50: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -0008ba60: 666c 746b 2e46 6c5f 5472 6565 5f69 735f fltk.Fl_Tree_is_ │ │ │ -0008ba70: 6873 6372 6f6c 6c5f 7669 7369 626c 6528 hscroll_visible( │ │ │ -0008ba80: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -0008ba90: 2020 6465 6620 6361 6c6c 6261 636b 5f69 def callback_i │ │ │ -0008baa0: 7465 6d28 7365 6c66 2c20 2a61 7267 7329 tem(self, *args) │ │ │ -0008bab0: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ -0008bac0: 2020 2020 2020 2063 616c 6c62 6163 6b5f callback_ │ │ │ -0008bad0: 6974 656d 2846 6c5f 5472 6565 2073 656c item(Fl_Tree sel │ │ │ -0008bae0: 662c 2046 6c5f 5472 6565 5f49 7465 6d20 f, Fl_Tree_Item │ │ │ -0008baf0: 6974 656d 290a 2020 2020 2020 2020 6361 item). ca │ │ │ -0008bb00: 6c6c 6261 636b 5f69 7465 6d28 466c 5f54 llback_item(Fl_T │ │ │ -0008bb10: 7265 6520 7365 6c66 2920 2d3e 2046 6c5f ree self) -> Fl_ │ │ │ -0008bb20: 5472 6565 5f49 7465 6d0a 2020 2020 2020 Tree_Item. │ │ │ -0008bb30: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ -0008bb40: 7475 726e 205f 666c 746b 2e46 6c5f 5472 turn _fltk.Fl_Tr │ │ │ -0008bb50: 6565 5f63 616c 6c62 6163 6b5f 6974 656d ee_callback_item │ │ │ -0008bb60: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -0008bb70: 2020 2064 6566 2063 616c 6c62 6163 6b5f def callback_ │ │ │ -0008bb80: 7265 6173 6f6e 2873 656c 662c 202a 6172 reason(self, *ar │ │ │ -0008bb90: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -0008bba0: 220a 2020 2020 2020 2020 6361 6c6c 6261 ". callba │ │ │ -0008bbb0: 636b 5f72 6561 736f 6e28 466c 5f54 7265 ck_reason(Fl_Tre │ │ │ -0008bbc0: 6520 7365 6c66 2c20 466c 5f54 7265 655f e self, Fl_Tree_ │ │ │ -0008bbd0: 5265 6173 6f6e 2072 6561 736f 6e29 0a20 Reason reason). │ │ │ -0008bbe0: 2020 2020 2020 2063 616c 6c62 6163 6b5f callback_ │ │ │ -0008bbf0: 7265 6173 6f6e 2846 6c5f 5472 6565 2073 reason(Fl_Tree s │ │ │ -0008bc00: 656c 6629 202d 3e20 466c 5f54 7265 655f elf) -> Fl_Tree_ │ │ │ -0008bc10: 5265 6173 6f6e 0a20 2020 2020 2020 2022 Reason. " │ │ │ -0008bc20: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -0008bc30: 6e20 5f66 6c74 6b2e 466c 5f54 7265 655f n _fltk.Fl_Tree_ │ │ │ -0008bc40: 6361 6c6c 6261 636b 5f72 6561 736f 6e28 callback_reason( │ │ │ -0008bc50: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -0008bc60: 2020 6465 6620 6c6f 6164 2873 656c 662c def load(self, │ │ │ -0008bc70: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -0008bc80: 2072 2222 226c 6f61 6428 466c 5f54 7265 r"""load(Fl_Tre │ │ │ -0008bc90: 6520 7365 6c66 2c20 466c 5f50 7265 6665 e self, Fl_Prefe │ │ │ -0008bca0: 7265 6e63 6573 2061 7267 3229 2222 220a rences arg2)""". │ │ │ -0008bcb0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -0008bcc0: 666c 746b 2e46 6c5f 5472 6565 5f6c 6f61 fltk.Fl_Tree_loa │ │ │ -0008bcd0: 6428 7365 6c66 2c20 2a61 7267 7329 0a0a d(self, *args).. │ │ │ -0008bce0: 2020 2020 6465 6620 696e 6974 5f74 7970 def init_typ │ │ │ -0008bcf0: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ -0008bd00: 2020 2020 2020 2020 7222 2222 696e 6974 r"""init │ │ │ -0008bd10: 5f74 7970 6528 466c 5f54 7265 6520 7365 _type(Fl_Tree se │ │ │ -0008bd20: 6c66 2c20 6368 6172 202a 2046 6c5f 5472 lf, char * Fl_Tr │ │ │ -0008bd30: 6565 2922 2222 0a20 2020 2020 2020 2072 ee)""". r │ │ │ -0008bd40: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -0008bd50: 7265 655f 696e 6974 5f74 7970 6528 7365 ree_init_type(se │ │ │ -0008bd60: 6c66 2c20 2a61 7267 7329 0a20 2020 2064 lf, *args). d │ │ │ -0008bd70: 6566 205f 5f64 6973 6f77 6e5f 5f28 7365 ef __disown__(se │ │ │ -0008bd80: 6c66 293a 0a20 2020 2020 2020 2073 656c lf):. sel │ │ │ -0008bd90: 662e 7468 6973 2e64 6973 6f77 6e28 290a f.this.disown(). │ │ │ -0008bda0: 2020 2020 2020 2020 5f66 6c74 6b2e 6469 _fltk.di │ │ │ -0008bdb0: 736f 776e 5f46 6c5f 5472 6565 2873 656c sown_Fl_Tree(sel │ │ │ -0008bdc0: 6629 0a20 2020 2020 2020 2072 6574 7572 f). retur │ │ │ -0008bdd0: 6e20 7765 616b 7265 662e 7072 6f78 7928 n weakref.proxy( │ │ │ -0008bde0: 7365 6c66 290a 0a23 2052 6567 6973 7465 self)..# Registe │ │ │ -0008bdf0: 7220 466c 5f54 7265 6520 696e 205f 666c r Fl_Tree in _fl │ │ │ -0008be00: 746b 3a0a 5f66 6c74 6b2e 466c 5f54 7265 tk:._fltk.Fl_Tre │ │ │ -0008be10: 655f 7377 6967 7265 6769 7374 6572 2846 e_swigregister(F │ │ │ -0008be20: 6c5f 5472 6565 290a 4e4f 5f50 4147 455f l_Tree).NO_PAGE_ │ │ │ -0008be30: 464f 524d 4154 5320 3d20 5f66 6c74 6b2e FORMATS = _fltk. │ │ │ -0008be40: 4e4f 5f50 4147 455f 464f 524d 4154 530a NO_PAGE_FORMATS. │ │ │ -0008be50: 0a63 6c61 7373 2046 6c5f 5061 6765 645f .class Fl_Paged_ │ │ │ -0008be60: 4465 7669 6365 2846 6c5f 5769 6467 6574 Device(Fl_Widget │ │ │ -0008be70: 5f53 7572 6661 6365 293a 0a20 2020 2072 _Surface):. r │ │ │ -0008be80: 2222 220a 0a20 2020 2052 6570 7265 7365 """.. Represe │ │ │ -0008be90: 6e74 7320 7061 6765 2d73 7472 7563 7475 nts page-structu │ │ │ -0008bea0: 7265 6420 6472 6177 696e 6720 7375 7266 red drawing surf │ │ │ -0008beb0: 6163 6573 2e0a 0a20 2020 2054 6869 7320 aces... This │ │ │ -0008bec0: 636c 6173 7320 6861 7320 6e6f 2070 7562 class has no pub │ │ │ -0008bed0: 6c69 6320 636f 6e73 7472 7563 746f 723a lic constructor: │ │ │ -0008bee0: 2064 6f6e 2774 2069 6e73 7461 6e74 6961 don't instantia │ │ │ -0008bef0: 7465 2069 743b 2075 7365 2046 6c5f 5072 te it; use Fl_Pr │ │ │ -0008bf00: 696e 7465 7220 0a20 2020 206f 7220 466c inter . or Fl │ │ │ -0008bf10: 5f50 6f73 7453 6372 6970 745f 4669 6c65 _PostScript_File │ │ │ -0008bf20: 5f44 6576 6963 6520 696e 7374 6561 642e _Device instead. │ │ │ -0008bf30: 0a0a 2020 2020 2222 220a 0a20 2020 2074 .. """.. t │ │ │ -0008bf40: 6869 736f 776e 203d 2070 726f 7065 7274 hisown = propert │ │ │ -0008bf50: 7928 6c61 6d62 6461 2078 3a20 782e 7468 y(lambda x: x.th │ │ │ -0008bf60: 6973 2e6f 776e 2829 2c20 6c61 6d62 6461 is.own(), lambda │ │ │ -0008bf70: 2078 2c20 763a 2078 2e74 6869 732e 6f77 x, v: x.this.ow │ │ │ -0008bf80: 6e28 7629 2c20 646f 633d 2254 6865 206d n(v), doc="The m │ │ │ -0008bf90: 656d 6265 7273 6869 7020 666c 6167 2229 embership flag") │ │ │ -0008bfa0: 0a20 2020 205f 5f72 6570 725f 5f20 3d20 . __repr__ = │ │ │ -0008bfb0: 5f73 7769 675f 7265 7072 0a0a 2020 2020 _swig_repr.. │ │ │ -0008bfc0: 6465 6620 5f5f 696e 6974 5f5f 2873 656c def __init__(sel │ │ │ -0008bfd0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -0008bfe0: 2020 2072 2222 225f 5f69 6e69 745f 5f28 r"""__init__( │ │ │ -0008bff0: 466c 5f50 6167 6564 5f44 6576 6963 6520 Fl_Paged_Device │ │ │ -0008c000: 7365 6c66 2920 2d3e 2046 6c5f 5061 6765 self) -> Fl_Page │ │ │ -0008c010: 645f 4465 7669 6365 2222 220a 2020 2020 d_Device""". │ │ │ -0008c020: 2020 2020 6966 2073 656c 662e 5f5f 636c if self.__cl │ │ │ -0008c030: 6173 735f 5f20 3d3d 2046 6c5f 5061 6765 ass__ == Fl_Page │ │ │ -0008c040: 645f 4465 7669 6365 3a0a 2020 2020 2020 d_Device:. │ │ │ -0008c050: 2020 2020 2020 5f73 656c 6620 3d20 4e6f _self = No │ │ │ -0008c060: 6e65 0a20 2020 2020 2020 2065 6c73 653a ne. else: │ │ │ -0008c070: 0a20 2020 2020 2020 2020 2020 205f 7365 . _se │ │ │ -0008c080: 6c66 203d 2073 656c 660a 2020 2020 2020 lf = self. │ │ │ -0008c090: 2020 5f66 6c74 6b2e 466c 5f50 6167 6564 _fltk.Fl_Paged │ │ │ -0008c0a0: 5f44 6576 6963 655f 7377 6967 696e 6974 _Device_swiginit │ │ │ -0008c0b0: 2873 656c 662c 205f 666c 746b 2e6e 6577 (self, _fltk.new │ │ │ -0008c0c0: 5f46 6c5f 5061 6765 645f 4465 7669 6365 _Fl_Paged_Device │ │ │ -0008c0d0: 285f 7365 6c66 2c20 2a61 7267 7329 290a (_self, *args)). │ │ │ -0008c0e0: 2020 2020 4130 203d 205f 666c 746b 2e46 A0 = _fltk.F │ │ │ -0008c0f0: 6c5f 5061 6765 645f 4465 7669 6365 5f41 l_Paged_Device_A │ │ │ -0008c100: 300a 2020 2020 0a20 2020 2041 3120 3d20 0. . A1 = │ │ │ -0008c110: 5f66 6c74 6b2e 466c 5f50 6167 6564 5f44 _fltk.Fl_Paged_D │ │ │ -0008c120: 6576 6963 655f 4131 0a20 2020 200a 2020 evice_A1. . │ │ │ -0008c130: 2020 4132 203d 205f 666c 746b 2e46 6c5f A2 = _fltk.Fl_ │ │ │ -0008c140: 5061 6765 645f 4465 7669 6365 5f41 320a Paged_Device_A2. │ │ │ -0008c150: 2020 2020 0a20 2020 2041 3320 3d20 5f66 . A3 = _f │ │ │ -0008c160: 6c74 6b2e 466c 5f50 6167 6564 5f44 6576 ltk.Fl_Paged_Dev │ │ │ -0008c170: 6963 655f 4133 0a20 2020 200a 2020 2020 ice_A3. . │ │ │ -0008c180: 4134 203d 205f 666c 746b 2e46 6c5f 5061 A4 = _fltk.Fl_Pa │ │ │ -0008c190: 6765 645f 4465 7669 6365 5f41 340a 2020 ged_Device_A4. │ │ │ -0008c1a0: 2020 0a20 2020 2041 3520 3d20 5f66 6c74 . A5 = _flt │ │ │ -0008c1b0: 6b2e 466c 5f50 6167 6564 5f44 6576 6963 k.Fl_Paged_Devic │ │ │ -0008c1c0: 655f 4135 0a20 2020 200a 2020 2020 4136 e_A5. . A6 │ │ │ -0008c1d0: 203d 205f 666c 746b 2e46 6c5f 5061 6765 = _fltk.Fl_Page │ │ │ -0008c1e0: 645f 4465 7669 6365 5f41 360a 2020 2020 d_Device_A6. │ │ │ -0008c1f0: 0a20 2020 2041 3720 3d20 5f66 6c74 6b2e . A7 = _fltk. │ │ │ -0008c200: 466c 5f50 6167 6564 5f44 6576 6963 655f Fl_Paged_Device_ │ │ │ -0008c210: 4137 0a20 2020 200a 2020 2020 4138 203d A7. . A8 = │ │ │ -0008c220: 205f 666c 746b 2e46 6c5f 5061 6765 645f _fltk.Fl_Paged_ │ │ │ -0008c230: 4465 7669 6365 5f41 380a 2020 2020 0a20 Device_A8. . │ │ │ -0008c240: 2020 2041 3920 3d20 5f66 6c74 6b2e 466c A9 = _fltk.Fl │ │ │ -0008c250: 5f50 6167 6564 5f44 6576 6963 655f 4139 _Paged_Device_A9 │ │ │ -0008c260: 0a20 2020 200a 2020 2020 4230 203d 205f . . B0 = _ │ │ │ -0008c270: 666c 746b 2e46 6c5f 5061 6765 645f 4465 fltk.Fl_Paged_De │ │ │ -0008c280: 7669 6365 5f42 300a 2020 2020 0a20 2020 vice_B0. . │ │ │ -0008c290: 2042 3120 3d20 5f66 6c74 6b2e 466c 5f50 B1 = _fltk.Fl_P │ │ │ -0008c2a0: 6167 6564 5f44 6576 6963 655f 4231 0a20 aged_Device_B1. │ │ │ -0008c2b0: 2020 200a 2020 2020 4232 203d 205f 666c . B2 = _fl │ │ │ -0008c2c0: 746b 2e46 6c5f 5061 6765 645f 4465 7669 tk.Fl_Paged_Devi │ │ │ -0008c2d0: 6365 5f42 320a 2020 2020 0a20 2020 2042 ce_B2. . B │ │ │ -0008c2e0: 3320 3d20 5f66 6c74 6b2e 466c 5f50 6167 3 = _fltk.Fl_Pag │ │ │ -0008c2f0: 6564 5f44 6576 6963 655f 4233 0a20 2020 ed_Device_B3. │ │ │ -0008c300: 200a 2020 2020 4234 203d 205f 666c 746b . B4 = _fltk │ │ │ -0008c310: 2e46 6c5f 5061 6765 645f 4465 7669 6365 .Fl_Paged_Device │ │ │ -0008c320: 5f42 340a 2020 2020 0a20 2020 2042 3520 _B4. . B5 │ │ │ -0008c330: 3d20 5f66 6c74 6b2e 466c 5f50 6167 6564 = _fltk.Fl_Paged │ │ │ -0008c340: 5f44 6576 6963 655f 4235 0a20 2020 200a _Device_B5. . │ │ │ -0008c350: 2020 2020 4236 203d 205f 666c 746b 2e46 B6 = _fltk.F │ │ │ -0008c360: 6c5f 5061 6765 645f 4465 7669 6365 5f42 l_Paged_Device_B │ │ │ -0008c370: 360a 2020 2020 0a20 2020 2042 3720 3d20 6. . B7 = │ │ │ -0008c380: 5f66 6c74 6b2e 466c 5f50 6167 6564 5f44 _fltk.Fl_Paged_D │ │ │ -0008c390: 6576 6963 655f 4237 0a20 2020 200a 2020 evice_B7. . │ │ │ -0008c3a0: 2020 4238 203d 205f 666c 746b 2e46 6c5f B8 = _fltk.Fl_ │ │ │ -0008c3b0: 5061 6765 645f 4465 7669 6365 5f42 380a Paged_Device_B8. │ │ │ -0008c3c0: 2020 2020 0a20 2020 2042 3920 3d20 5f66 . B9 = _f │ │ │ -0008c3d0: 6c74 6b2e 466c 5f50 6167 6564 5f44 6576 ltk.Fl_Paged_Dev │ │ │ -0008c3e0: 6963 655f 4239 0a20 2020 200a 2020 2020 ice_B9. . │ │ │ -0008c3f0: 4231 3020 3d20 5f66 6c74 6b2e 466c 5f50 B10 = _fltk.Fl_P │ │ │ -0008c400: 6167 6564 5f44 6576 6963 655f 4231 300a aged_Device_B10. │ │ │ -0008c410: 2020 2020 0a20 2020 2043 3545 203d 205f . C5E = _ │ │ │ -0008c420: 666c 746b 2e46 6c5f 5061 6765 645f 4465 fltk.Fl_Paged_De │ │ │ -0008c430: 7669 6365 5f43 3545 0a20 2020 200a 2020 vice_C5E. . │ │ │ -0008c440: 2020 444c 4520 3d20 5f66 6c74 6b2e 466c DLE = _fltk.Fl │ │ │ -0008c450: 5f50 6167 6564 5f44 6576 6963 655f 444c _Paged_Device_DL │ │ │ -0008c460: 450a 2020 2020 0a20 2020 2045 5845 4355 E. . EXECU │ │ │ -0008c470: 5449 5645 203d 205f 666c 746b 2e46 6c5f TIVE = _fltk.Fl_ │ │ │ -0008c480: 5061 6765 645f 4465 7669 6365 5f45 5845 Paged_Device_EXE │ │ │ -0008c490: 4355 5449 5645 0a20 2020 200a 2020 2020 CUTIVE. . │ │ │ -0008c4a0: 464f 4c49 4f20 3d20 5f66 6c74 6b2e 466c FOLIO = _fltk.Fl │ │ │ -0008c4b0: 5f50 6167 6564 5f44 6576 6963 655f 464f _Paged_Device_FO │ │ │ -0008c4c0: 4c49 4f0a 2020 2020 0a20 2020 204c 4544 LIO. . LED │ │ │ -0008c4d0: 4745 5220 3d20 5f66 6c74 6b2e 466c 5f50 GER = _fltk.Fl_P │ │ │ -0008c4e0: 6167 6564 5f44 6576 6963 655f 4c45 4447 aged_Device_LEDG │ │ │ -0008c4f0: 4552 0a20 2020 200a 2020 2020 4c45 4741 ER. . LEGA │ │ │ -0008c500: 4c20 3d20 5f66 6c74 6b2e 466c 5f50 6167 L = _fltk.Fl_Pag │ │ │ -0008c510: 6564 5f44 6576 6963 655f 4c45 4741 4c0a ed_Device_LEGAL. │ │ │ -0008c520: 2020 2020 0a20 2020 204c 4554 5445 5220 . LETTER │ │ │ -0008c530: 3d20 5f66 6c74 6b2e 466c 5f50 6167 6564 = _fltk.Fl_Paged │ │ │ -0008c540: 5f44 6576 6963 655f 4c45 5454 4552 0a20 _Device_LETTER. │ │ │ -0008c550: 2020 200a 2020 2020 5441 424c 4f49 4420 . TABLOID │ │ │ -0008c560: 3d20 5f66 6c74 6b2e 466c 5f50 6167 6564 = _fltk.Fl_Paged │ │ │ -0008c570: 5f44 6576 6963 655f 5441 424c 4f49 440a _Device_TABLOID. │ │ │ -0008c580: 2020 2020 0a20 2020 2045 4e56 454c 4f50 . ENVELOP │ │ │ -0008c590: 4520 3d20 5f66 6c74 6b2e 466c 5f50 6167 E = _fltk.Fl_Pag │ │ │ -0008c5a0: 6564 5f44 6576 6963 655f 454e 5645 4c4f ed_Device_ENVELO │ │ │ -0008c5b0: 5045 0a20 2020 200a 2020 2020 4d45 4449 PE. . MEDI │ │ │ -0008c5c0: 4120 3d20 5f66 6c74 6b2e 466c 5f50 6167 A = _fltk.Fl_Pag │ │ │ -0008c5d0: 6564 5f44 6576 6963 655f 4d45 4449 410a ed_Device_MEDIA. │ │ │ -0008c5e0: 2020 2020 0a20 2020 2050 4f52 5452 4149 . PORTRAI │ │ │ -0008c5f0: 5420 3d20 5f66 6c74 6b2e 466c 5f50 6167 T = _fltk.Fl_Pag │ │ │ -0008c600: 6564 5f44 6576 6963 655f 504f 5254 5241 ed_Device_PORTRA │ │ │ -0008c610: 4954 0a20 2020 200a 2020 2020 4c41 4e44 IT. . LAND │ │ │ -0008c620: 5343 4150 4520 3d20 5f66 6c74 6b2e 466c SCAPE = _fltk.Fl │ │ │ -0008c630: 5f50 6167 6564 5f44 6576 6963 655f 4c41 _Paged_Device_LA │ │ │ -0008c640: 4e44 5343 4150 450a 2020 2020 0a20 2020 NDSCAPE. . │ │ │ -0008c650: 2052 4556 4552 5345 4420 3d20 5f66 6c74 REVERSED = _flt │ │ │ -0008c660: 6b2e 466c 5f50 6167 6564 5f44 6576 6963 k.Fl_Paged_Devic │ │ │ -0008c670: 655f 5245 5645 5253 4544 0a20 2020 200a e_REVERSED. . │ │ │ -0008c680: 2020 2020 4f52 4945 4e54 4154 494f 4e20 ORIENTATION │ │ │ -0008c690: 3d20 5f66 6c74 6b2e 466c 5f50 6167 6564 = _fltk.Fl_Paged │ │ │ -0008c6a0: 5f44 6576 6963 655f 4f52 4945 4e54 4154 _Device_ORIENTAT │ │ │ -0008c6b0: 494f 4e0a 2020 2020 0a20 2020 205f 5f73 ION. . __s │ │ │ -0008c6c0: 7769 675f 6465 7374 726f 795f 5f20 3d20 wig_destroy__ = │ │ │ -0008c6d0: 5f66 6c74 6b2e 6465 6c65 7465 5f46 6c5f _fltk.delete_Fl_ │ │ │ -0008c6e0: 5061 6765 645f 4465 7669 6365 0a0a 2020 Paged_Device.. │ │ │ -0008c6f0: 2020 6465 6620 6265 6769 6e5f 6a6f 6228 def begin_job( │ │ │ -0008c700: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -0008c710: 2020 2020 2020 7222 2222 6265 6769 6e5f r"""begin_ │ │ │ -0008c720: 6a6f 6228 466c 5f50 6167 6564 5f44 6576 job(Fl_Paged_Dev │ │ │ -0008c730: 6963 6520 7365 6c66 2c20 696e 7420 7061 ice self, int pa │ │ │ -0008c740: 6765 636f 756e 743d 302c 2069 6e74 202a gecount=0, int * │ │ │ -0008c750: 2066 726f 6d70 6167 653d 4e6f 6e65 2c20 frompage=None, │ │ │ -0008c760: 696e 7420 2a20 746f 7061 6765 3d4e 6f6e int * topage=Non │ │ │ -0008c770: 652c 2063 6861 7220 2a2a 2070 6572 725f e, char ** perr_ │ │ │ -0008c780: 6d65 7373 6167 653d 4e6f 6e65 2920 2d3e message=None) -> │ │ │ -0008c790: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ -0008c7a0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -0008c7b0: 5061 6765 645f 4465 7669 6365 5f62 6567 Paged_Device_beg │ │ │ -0008c7c0: 696e 5f6a 6f62 2873 656c 662c 202a 6172 in_job(self, *ar │ │ │ -0008c7d0: 6773 290a 0a20 2020 2064 6566 2073 7461 gs).. def sta │ │ │ -0008c7e0: 7274 5f6a 6f62 2873 656c 662c 202a 6172 rt_job(self, *ar │ │ │ -0008c7f0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -0008c800: 2273 7461 7274 5f6a 6f62 2846 6c5f 5061 "start_job(Fl_Pa │ │ │ -0008c810: 6765 645f 4465 7669 6365 2073 656c 662c ged_Device self, │ │ │ -0008c820: 2069 6e74 2070 6167 6563 6f75 6e74 3d30 int pagecount=0 │ │ │ -0008c830: 2c20 696e 7420 2a20 6672 6f6d 7061 6765 , int * frompage │ │ │ -0008c840: 3d4e 6f6e 652c 2069 6e74 202a 2074 6f70 =None, int * top │ │ │ -0008c850: 6167 653d 4e6f 6e65 2c20 6368 6172 202a age=None, char * │ │ │ -0008c860: 2a20 7065 7272 5f6d 6573 7361 6765 3d4e * perr_message=N │ │ │ -0008c870: 6f6e 6529 202d 3e20 696e 7422 2222 0a20 one) -> int""". │ │ │ -0008c880: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -0008c890: 6c74 6b2e 466c 5f50 6167 6564 5f44 6576 ltk.Fl_Paged_Dev │ │ │ -0008c8a0: 6963 655f 7374 6172 745f 6a6f 6228 7365 ice_start_job(se │ │ │ -0008c8b0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -0008c8c0: 6465 6620 6265 6769 6e5f 7061 6765 2873 def begin_page(s │ │ │ -0008c8d0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -0008c8e0: 2020 2020 2072 2222 2262 6567 696e 5f70 r"""begin_p │ │ │ -0008c8f0: 6167 6528 466c 5f50 6167 6564 5f44 6576 age(Fl_Paged_Dev │ │ │ -0008c900: 6963 6520 7365 6c66 2920 2d3e 2069 6e74 ice self) -> int │ │ │ -0008c910: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -0008c920: 726e 205f 666c 746b 2e46 6c5f 5061 6765 rn _fltk.Fl_Page │ │ │ -0008c930: 645f 4465 7669 6365 5f62 6567 696e 5f70 d_Device_begin_p │ │ │ -0008c940: 6167 6528 7365 6c66 2c20 2a61 7267 7329 age(self, *args) │ │ │ -0008c950: 0a0a 2020 2020 6465 6620 7374 6172 745f .. def start_ │ │ │ -0008c960: 7061 6765 2873 656c 662c 202a 6172 6773 page(self, *args │ │ │ -0008c970: 293a 0a20 2020 2020 2020 2072 2222 2273 ):. r"""s │ │ │ -0008c980: 7461 7274 5f70 6167 6528 466c 5f50 6167 tart_page(Fl_Pag │ │ │ -0008c990: 6564 5f44 6576 6963 6520 7365 6c66 2920 ed_Device self) │ │ │ -0008c9a0: 2d3e 2069 6e74 2222 220a 2020 2020 2020 -> int""". │ │ │ -0008c9b0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -0008c9c0: 6c5f 5061 6765 645f 4465 7669 6365 5f73 l_Paged_Device_s │ │ │ -0008c9d0: 7461 7274 5f70 6167 6528 7365 6c66 2c20 tart_page(self, │ │ │ -0008c9e0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -0008c9f0: 6d61 7267 696e 7328 7365 6c66 2c20 2a61 margins(self, *a │ │ │ -0008ca00: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -0008ca10: 2222 6d61 7267 696e 7328 466c 5f50 6167 ""margins(Fl_Pag │ │ │ -0008ca20: 6564 5f44 6576 6963 6520 7365 6c66 2c20 ed_Device self, │ │ │ -0008ca30: 696e 7420 2a20 6c65 6674 2c20 696e 7420 int * left, int │ │ │ -0008ca40: 2a20 746f 702c 2069 6e74 202a 2072 6967 * top, int * rig │ │ │ -0008ca50: 6874 2c20 696e 7420 2a20 626f 7474 6f6d ht, int * bottom │ │ │ -0008ca60: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ -0008ca70: 7572 6e20 5f66 6c74 6b2e 466c 5f50 6167 urn _fltk.Fl_Pag │ │ │ -0008ca80: 6564 5f44 6576 6963 655f 6d61 7267 696e ed_Device_margin │ │ │ -0008ca90: 7328 7365 6c66 2c20 2a61 7267 7329 0a0a s(self, *args).. │ │ │ -0008caa0: 2020 2020 6465 6620 7363 616c 6528 7365 def scale(se │ │ │ -0008cab0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -0008cac0: 2020 2020 7222 2222 7363 616c 6528 466c r"""scale(Fl │ │ │ -0008cad0: 5f50 6167 6564 5f44 6576 6963 6520 7365 _Paged_Device se │ │ │ -0008cae0: 6c66 2c20 666c 6f61 7420 7363 616c 655f lf, float scale_ │ │ │ -0008caf0: 782c 2066 6c6f 6174 2073 6361 6c65 5f79 x, float scale_y │ │ │ -0008cb00: 3d30 2e29 2222 220a 2020 2020 2020 2020 =0.)""". │ │ │ -0008cb10: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -0008cb20: 5061 6765 645f 4465 7669 6365 5f73 6361 Paged_Device_sca │ │ │ -0008cb30: 6c65 2873 656c 662c 202a 6172 6773 290a le(self, *args). │ │ │ -0008cb40: 0a20 2020 2064 6566 2072 6f74 6174 6528 . def rotate( │ │ │ -0008cb50: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -0008cb60: 2020 2020 2020 7222 2222 726f 7461 7465 r"""rotate │ │ │ -0008cb70: 2846 6c5f 5061 6765 645f 4465 7669 6365 (Fl_Paged_Device │ │ │ -0008cb80: 2073 656c 662c 2066 6c6f 6174 2061 6e67 self, float ang │ │ │ -0008cb90: 6c65 2922 2222 0a20 2020 2020 2020 2072 le)""". r │ │ │ -0008cba0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f50 eturn _fltk.Fl_P │ │ │ -0008cbb0: 6167 6564 5f44 6576 6963 655f 726f 7461 aged_Device_rota │ │ │ -0008cbc0: 7465 2873 656c 662c 202a 6172 6773 290a te(self, *args). │ │ │ -0008cbd0: 0a20 2020 2064 6566 2070 7269 6e74 5f77 . def print_w │ │ │ -0008cbe0: 6964 6765 7428 7365 6c66 2c20 2a61 7267 idget(self, *arg │ │ │ -0008cbf0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0008cc00: 7072 696e 745f 7769 6467 6574 2846 6c5f print_widget(Fl_ │ │ │ -0008cc10: 5061 6765 645f 4465 7669 6365 2073 656c Paged_Device sel │ │ │ -0008cc20: 662c 2046 6c5f 5769 6467 6574 2077 6964 f, Fl_Widget wid │ │ │ -0008cc30: 6765 742c 2069 6e74 2064 656c 7461 5f78 get, int delta_x │ │ │ -0008cc40: 3d30 2c20 696e 7420 6465 6c74 615f 793d =0, int delta_y= │ │ │ -0008cc50: 3029 2222 220a 2020 2020 2020 2020 7265 0)""". re │ │ │ -0008cc60: 7475 726e 205f 666c 746b 2e46 6c5f 5061 turn _fltk.Fl_Pa │ │ │ -0008cc70: 6765 645f 4465 7669 6365 5f70 7269 6e74 ged_Device_print │ │ │ -0008cc80: 5f77 6964 6765 7428 7365 6c66 2c20 2a61 _widget(self, *a │ │ │ -0008cc90: 7267 7329 0a0a 2020 2020 6465 6620 7072 rgs).. def pr │ │ │ -0008cca0: 696e 745f 7769 6e64 6f77 2873 656c 662c int_window(self, │ │ │ -0008ccb0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -0008ccc0: 2072 2222 2270 7269 6e74 5f77 696e 646f r"""print_windo │ │ │ -0008ccd0: 7728 466c 5f50 6167 6564 5f44 6576 6963 w(Fl_Paged_Devic │ │ │ -0008cce0: 6520 7365 6c66 2c20 466c 5f57 696e 646f e self, Fl_Windo │ │ │ -0008ccf0: 7720 7769 6e2c 2069 6e74 2078 5f6f 6666 w win, int x_off │ │ │ -0008cd00: 3d30 2c20 696e 7420 795f 6f66 663d 3029 =0, int y_off=0) │ │ │ -0008cd10: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -0008cd20: 726e 205f 666c 746b 2e46 6c5f 5061 6765 rn _fltk.Fl_Page │ │ │ -0008cd30: 645f 4465 7669 6365 5f70 7269 6e74 5f77 d_Device_print_w │ │ │ -0008cd40: 696e 646f 7728 7365 6c66 2c20 2a61 7267 indow(self, *arg │ │ │ -0008cd50: 7329 0a0a 2020 2020 6465 6620 656e 645f s).. def end_ │ │ │ -0008cd60: 7061 6765 2873 656c 662c 202a 6172 6773 page(self, *args │ │ │ -0008cd70: 293a 0a20 2020 2020 2020 2072 2222 2265 ):. r"""e │ │ │ -0008cd80: 6e64 5f70 6167 6528 466c 5f50 6167 6564 nd_page(Fl_Paged │ │ │ -0008cd90: 5f44 6576 6963 6520 7365 6c66 2920 2d3e _Device self) -> │ │ │ -0008cda0: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ -0008cdb0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -0008cdc0: 5061 6765 645f 4465 7669 6365 5f65 6e64 Paged_Device_end │ │ │ -0008cdd0: 5f70 6167 6528 7365 6c66 2c20 2a61 7267 _page(self, *arg │ │ │ -0008cde0: 7329 0a0a 2020 2020 6465 6620 656e 645f s).. def end_ │ │ │ -0008cdf0: 6a6f 6228 7365 6c66 2c20 2a61 7267 7329 job(self, *args) │ │ │ -0008ce00: 3a0a 2020 2020 2020 2020 7222 2222 656e :. r"""en │ │ │ -0008ce10: 645f 6a6f 6228 466c 5f50 6167 6564 5f44 d_job(Fl_Paged_D │ │ │ -0008ce20: 6576 6963 6520 7365 6c66 2922 2222 0a20 evice self)""". │ │ │ -0008ce30: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -0008ce40: 6c74 6b2e 466c 5f50 6167 6564 5f44 6576 ltk.Fl_Paged_Dev │ │ │ -0008ce50: 6963 655f 656e 645f 6a6f 6228 7365 6c66 ice_end_job(self │ │ │ -0008ce60: 2c20 2a61 7267 7329 0a20 2020 2064 6566 , *args). def │ │ │ -0008ce70: 205f 5f64 6973 6f77 6e5f 5f28 7365 6c66 __disown__(self │ │ │ -0008ce80: 293a 0a20 2020 2020 2020 2073 656c 662e ):. self. │ │ │ -0008ce90: 7468 6973 2e64 6973 6f77 6e28 290a 2020 this.disown(). │ │ │ -0008cea0: 2020 2020 2020 5f66 6c74 6b2e 6469 736f _fltk.diso │ │ │ -0008ceb0: 776e 5f46 6c5f 5061 6765 645f 4465 7669 wn_Fl_Paged_Devi │ │ │ -0008cec0: 6365 2873 656c 6629 0a20 2020 2020 2020 ce(self). │ │ │ -0008ced0: 2072 6574 7572 6e20 7765 616b 7265 662e return weakref. │ │ │ -0008cee0: 7072 6f78 7928 7365 6c66 290a 0a20 2020 proxy(self).. │ │ │ -0008cef0: 2064 6566 2065 6e64 5f63 7572 7265 6e74 def end_current │ │ │ -0008cf00: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -0008cf10: 2020 2020 2020 2072 2222 2265 6e64 5f63 r"""end_c │ │ │ -0008cf20: 7572 7265 6e74 2846 6c5f 5061 6765 645f urrent(Fl_Paged_ │ │ │ -0008cf30: 4465 7669 6365 2073 656c 6629 2222 220a Device self)""". │ │ │ -0008cf40: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -0008cf50: 666c 746b 2e46 6c5f 5061 6765 645f 4465 fltk.Fl_Paged_De │ │ │ -0008cf60: 7669 6365 5f65 6e64 5f63 7572 7265 6e74 vice_end_current │ │ │ -0008cf70: 2873 656c 662c 202a 6172 6773 290a 0a23 (self, *args)..# │ │ │ -0008cf80: 2052 6567 6973 7465 7220 466c 5f50 6167 Register Fl_Pag │ │ │ -0008cf90: 6564 5f44 6576 6963 6520 696e 205f 666c ed_Device in _fl │ │ │ -0008cfa0: 746b 3a0a 5f66 6c74 6b2e 466c 5f50 6167 tk:._fltk.Fl_Pag │ │ │ -0008cfb0: 6564 5f44 6576 6963 655f 7377 6967 7265 ed_Device_swigre │ │ │ -0008cfc0: 6769 7374 6572 2846 6c5f 5061 6765 645f gister(Fl_Paged_ │ │ │ -0008cfd0: 4465 7669 6365 290a 636c 6173 7320 466c Device).class Fl │ │ │ -0008cfe0: 5f50 4446 5f46 696c 655f 5375 7266 6163 _PDF_File_Surfac │ │ │ -0008cff0: 6528 466c 5f50 6167 6564 5f44 6576 6963 e(Fl_Paged_Devic │ │ │ -0008d000: 6529 3a0a 2020 2020 7222 2222 0a0a 2020 e):. r""".. │ │ │ -0008d010: 2020 4465 636c 6172 6174 696f 6e20 6f66 Declaration of │ │ │ -0008d020: 2063 6c61 7373 6573 2046 6c5f 5044 465f classes Fl_PDF_ │ │ │ -0008d030: 4669 6c65 5f53 7572 6661 6365 2e0a 0a20 File_Surface... │ │ │ -0008d040: 2020 2022 2222 0a0a 2020 2020 7468 6973 """.. this │ │ │ -0008d050: 6f77 6e20 3d20 7072 6f70 6572 7479 286c own = property(l │ │ │ -0008d060: 616d 6264 6120 783a 2078 2e74 6869 732e ambda x: x.this. │ │ │ -0008d070: 6f77 6e28 292c 206c 616d 6264 6120 782c own(), lambda x, │ │ │ -0008d080: 2076 3a20 782e 7468 6973 2e6f 776e 2876 v: x.this.own(v │ │ │ -0008d090: 292c 2064 6f63 3d22 5468 6520 6d65 6d62 ), doc="The memb │ │ │ -0008d0a0: 6572 7368 6970 2066 6c61 6722 290a 2020 ership flag"). │ │ │ -0008d0b0: 2020 5f5f 7265 7072 5f5f 203d 205f 7377 __repr__ = _sw │ │ │ -0008d0c0: 6967 5f72 6570 720a 0a20 2020 2064 6566 ig_repr.. def │ │ │ -0008d0d0: 205f 5f69 6e69 745f 5f28 7365 6c66 2c20 __init__(self, │ │ │ -0008d0e0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -0008d0f0: 7222 2222 5f5f 696e 6974 5f5f 2846 6c5f r"""__init__(Fl_ │ │ │ -0008d100: 5044 465f 4669 6c65 5f53 7572 6661 6365 PDF_File_Surface │ │ │ -0008d110: 2073 656c 6629 202d 3e20 466c 5f50 4446 self) -> Fl_PDF │ │ │ -0008d120: 5f46 696c 655f 5375 7266 6163 6522 2222 _File_Surface""" │ │ │ -0008d130: 0a20 2020 2020 2020 2069 6620 7365 6c66 . if self │ │ │ -0008d140: 2e5f 5f63 6c61 7373 5f5f 203d 3d20 466c .__class__ == Fl │ │ │ -0008d150: 5f50 4446 5f46 696c 655f 5375 7266 6163 _PDF_File_Surfac │ │ │ -0008d160: 653a 0a20 2020 2020 2020 2020 2020 205f e:. _ │ │ │ -0008d170: 7365 6c66 203d 204e 6f6e 650a 2020 2020 self = None. │ │ │ -0008d180: 2020 2020 656c 7365 3a0a 2020 2020 2020 else:. │ │ │ -0008d190: 2020 2020 2020 5f73 656c 6620 3d20 7365 _self = se │ │ │ -0008d1a0: 6c66 0a20 2020 2020 2020 205f 666c 746b lf. _fltk │ │ │ -0008d1b0: 2e46 6c5f 5044 465f 4669 6c65 5f53 7572 .Fl_PDF_File_Sur │ │ │ -0008d1c0: 6661 6365 5f73 7769 6769 6e69 7428 7365 face_swiginit(se │ │ │ -0008d1d0: 6c66 2c20 5f66 6c74 6b2e 6e65 775f 466c lf, _fltk.new_Fl │ │ │ +0008a590: 6629 202d 3e20 696e 740a 2020 2020 2020 f) -> int. │ │ │ +0008a5a0: 2020 6c61 6265 6c6d 6172 6769 6e6c 6566 labelmarginlef │ │ │ +0008a5b0: 7428 466c 5f54 7265 6520 7365 6c66 2c20 t(Fl_Tree self, │ │ │ +0008a5c0: 696e 7420 7661 6c29 0a20 2020 2020 2020 int val). │ │ │ +0008a5d0: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ +0008a5e0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ +0008a5f0: 655f 6c61 6265 6c6d 6172 6769 6e6c 6566 e_labelmarginlef │ │ │ +0008a600: 7428 7365 6c66 2c20 2a61 7267 7329 0a0a t(self, *args).. │ │ │ +0008a610: 2020 2020 6465 6620 7769 6467 6574 6d61 def widgetma │ │ │ +0008a620: 7267 696e 6c65 6674 2873 656c 662c 202a rginleft(self, * │ │ │ +0008a630: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +0008a640: 2222 220a 2020 2020 2020 2020 7769 6467 """. widg │ │ │ +0008a650: 6574 6d61 7267 696e 6c65 6674 2846 6c5f etmarginleft(Fl_ │ │ │ +0008a660: 5472 6565 2073 656c 6629 202d 3e20 696e Tree self) -> in │ │ │ +0008a670: 740a 2020 2020 2020 2020 7769 6467 6574 t. widget │ │ │ +0008a680: 6d61 7267 696e 6c65 6674 2846 6c5f 5472 marginleft(Fl_Tr │ │ │ +0008a690: 6565 2073 656c 662c 2069 6e74 2076 616c ee self, int val │ │ │ +0008a6a0: 290a 2020 2020 2020 2020 2222 220a 2020 ). """. │ │ │ +0008a6b0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +0008a6c0: 746b 2e46 6c5f 5472 6565 5f77 6964 6765 tk.Fl_Tree_widge │ │ │ +0008a6d0: 746d 6172 6769 6e6c 6566 7428 7365 6c66 tmarginleft(self │ │ │ +0008a6e0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +0008a6f0: 6620 636f 6e6e 6563 746f 7277 6964 7468 f connectorwidth │ │ │ +0008a700: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +0008a710: 2020 2020 2020 2072 2222 220a 2020 2020 r""". │ │ │ +0008a720: 2020 2020 636f 6e6e 6563 746f 7277 6964 connectorwid │ │ │ +0008a730: 7468 2846 6c5f 5472 6565 2073 656c 6629 th(Fl_Tree self) │ │ │ +0008a740: 202d 3e20 696e 740a 2020 2020 2020 2020 -> int. │ │ │ +0008a750: 636f 6e6e 6563 746f 7277 6964 7468 2846 connectorwidth(F │ │ │ +0008a760: 6c5f 5472 6565 2073 656c 662c 2069 6e74 l_Tree self, int │ │ │ +0008a770: 2076 616c 290a 2020 2020 2020 2020 2222 val). "" │ │ │ +0008a780: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0008a790: 205f 666c 746b 2e46 6c5f 5472 6565 5f63 _fltk.Fl_Tree_c │ │ │ +0008a7a0: 6f6e 6e65 6374 6f72 7769 6474 6828 7365 onnectorwidth(se │ │ │ +0008a7b0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +0008a7c0: 6465 6620 7573 6572 6963 6f6e 2873 656c def usericon(sel │ │ │ +0008a7d0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +0008a7e0: 2020 2072 2222 220a 2020 2020 2020 2020 r""". │ │ │ +0008a7f0: 7573 6572 6963 6f6e 2846 6c5f 5472 6565 usericon(Fl_Tree │ │ │ +0008a800: 2073 656c 6629 202d 3e20 466c 5f49 6d61 self) -> Fl_Ima │ │ │ +0008a810: 6765 0a20 2020 2020 2020 2075 7365 7269 ge. useri │ │ │ +0008a820: 636f 6e28 466c 5f54 7265 6520 7365 6c66 con(Fl_Tree self │ │ │ +0008a830: 2c20 466c 5f49 6d61 6765 2076 616c 290a , Fl_Image val). │ │ │ +0008a840: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ +0008a850: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +0008a860: 2e46 6c5f 5472 6565 5f75 7365 7269 636f .Fl_Tree_userico │ │ │ +0008a870: 6e28 7365 6c66 2c20 2a61 7267 7329 0a0a n(self, *args).. │ │ │ +0008a880: 2020 2020 6465 6620 6f70 656e 6963 6f6e def openicon │ │ │ +0008a890: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +0008a8a0: 2020 2020 2020 2072 2222 220a 2020 2020 r""". │ │ │ +0008a8b0: 2020 2020 6f70 656e 6963 6f6e 2846 6c5f openicon(Fl_ │ │ │ +0008a8c0: 5472 6565 2073 656c 6629 202d 3e20 466c Tree self) -> Fl │ │ │ +0008a8d0: 5f49 6d61 6765 0a20 2020 2020 2020 206f _Image. o │ │ │ +0008a8e0: 7065 6e69 636f 6e28 466c 5f54 7265 6520 penicon(Fl_Tree │ │ │ +0008a8f0: 7365 6c66 2c20 466c 5f49 6d61 6765 2076 self, Fl_Image v │ │ │ +0008a900: 616c 290a 2020 2020 2020 2020 2222 220a al). """. │ │ │ +0008a910: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +0008a920: 666c 746b 2e46 6c5f 5472 6565 5f6f 7065 fltk.Fl_Tree_ope │ │ │ +0008a930: 6e69 636f 6e28 7365 6c66 2c20 2a61 7267 nicon(self, *arg │ │ │ +0008a940: 7329 0a0a 2020 2020 6465 6620 636c 6f73 s).. def clos │ │ │ +0008a950: 6569 636f 6e28 7365 6c66 2c20 2a61 7267 eicon(self, *arg │ │ │ +0008a960: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +0008a970: 0a20 2020 2020 2020 2063 6c6f 7365 6963 . closeic │ │ │ +0008a980: 6f6e 2846 6c5f 5472 6565 2073 656c 6629 on(Fl_Tree self) │ │ │ +0008a990: 202d 3e20 466c 5f49 6d61 6765 0a20 2020 -> Fl_Image. │ │ │ +0008a9a0: 2020 2020 2063 6c6f 7365 6963 6f6e 2846 closeicon(F │ │ │ +0008a9b0: 6c5f 5472 6565 2073 656c 662c 2046 6c5f l_Tree self, Fl_ │ │ │ +0008a9c0: 496d 6167 6520 7661 6c29 0a20 2020 2020 Image val). │ │ │ +0008a9d0: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ +0008a9e0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ +0008a9f0: 7265 655f 636c 6f73 6569 636f 6e28 7365 ree_closeicon(se │ │ │ +0008aa00: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +0008aa10: 6465 6620 7368 6f77 636f 6c6c 6170 7365 def showcollapse │ │ │ +0008aa20: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +0008aa30: 2020 2020 2020 2072 2222 220a 2020 2020 r""". │ │ │ +0008aa40: 2020 2020 7368 6f77 636f 6c6c 6170 7365 showcollapse │ │ │ +0008aa50: 2846 6c5f 5472 6565 2073 656c 6629 202d (Fl_Tree self) - │ │ │ +0008aa60: 3e20 696e 740a 2020 2020 2020 2020 7368 > int. sh │ │ │ +0008aa70: 6f77 636f 6c6c 6170 7365 2846 6c5f 5472 owcollapse(Fl_Tr │ │ │ +0008aa80: 6565 2073 656c 662c 2069 6e74 2076 616c ee self, int val │ │ │ +0008aa90: 290a 2020 2020 2020 2020 2222 220a 2020 ). """. │ │ │ +0008aaa0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +0008aab0: 746b 2e46 6c5f 5472 6565 5f73 686f 7763 tk.Fl_Tree_showc │ │ │ +0008aac0: 6f6c 6c61 7073 6528 7365 6c66 2c20 2a61 ollapse(self, *a │ │ │ +0008aad0: 7267 7329 0a0a 2020 2020 6465 6620 7368 rgs).. def sh │ │ │ +0008aae0: 6f77 726f 6f74 2873 656c 662c 202a 6172 owroot(self, *ar │ │ │ +0008aaf0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +0008ab00: 220a 2020 2020 2020 2020 7368 6f77 726f ". showro │ │ │ +0008ab10: 6f74 2846 6c5f 5472 6565 2073 656c 6629 ot(Fl_Tree self) │ │ │ +0008ab20: 202d 3e20 696e 740a 2020 2020 2020 2020 -> int. │ │ │ +0008ab30: 7368 6f77 726f 6f74 2846 6c5f 5472 6565 showroot(Fl_Tree │ │ │ +0008ab40: 2073 656c 662c 2069 6e74 2076 616c 290a self, int val). │ │ │ +0008ab50: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ +0008ab60: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +0008ab70: 2e46 6c5f 5472 6565 5f73 686f 7772 6f6f .Fl_Tree_showroo │ │ │ +0008ab80: 7428 7365 6c66 2c20 2a61 7267 7329 0a0a t(self, *args).. │ │ │ +0008ab90: 2020 2020 6465 6620 636f 6e6e 6563 746f def connecto │ │ │ +0008aba0: 7273 7479 6c65 2873 656c 662c 202a 6172 rstyle(self, *ar │ │ │ +0008abb0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +0008abc0: 220a 2020 2020 2020 2020 636f 6e6e 6563 ". connec │ │ │ +0008abd0: 746f 7273 7479 6c65 2846 6c5f 5472 6565 torstyle(Fl_Tree │ │ │ +0008abe0: 2073 656c 6629 202d 3e20 466c 5f54 7265 self) -> Fl_Tre │ │ │ +0008abf0: 655f 436f 6e6e 6563 746f 720a 2020 2020 e_Connector. │ │ │ +0008ac00: 2020 2020 636f 6e6e 6563 746f 7273 7479 connectorsty │ │ │ +0008ac10: 6c65 2846 6c5f 5472 6565 2073 656c 662c le(Fl_Tree self, │ │ │ +0008ac20: 2046 6c5f 5472 6565 5f43 6f6e 6e65 6374 Fl_Tree_Connect │ │ │ +0008ac30: 6f72 2076 616c 290a 2020 2020 2020 2020 or val). │ │ │ +0008ac40: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +0008ac50: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ +0008ac60: 5f63 6f6e 6e65 6374 6f72 7374 796c 6528 _connectorstyle( │ │ │ +0008ac70: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +0008ac80: 2020 6465 6620 736f 7274 6f72 6465 7228 def sortorder( │ │ │ +0008ac90: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +0008aca0: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ +0008acb0: 2020 2073 6f72 746f 7264 6572 2846 6c5f sortorder(Fl_ │ │ │ +0008acc0: 5472 6565 2073 656c 6629 202d 3e20 466c Tree self) -> Fl │ │ │ +0008acd0: 5f54 7265 655f 536f 7274 0a20 2020 2020 _Tree_Sort. │ │ │ +0008ace0: 2020 2073 6f72 746f 7264 6572 2846 6c5f sortorder(Fl_ │ │ │ +0008acf0: 5472 6565 2073 656c 662c 2046 6c5f 5472 Tree self, Fl_Tr │ │ │ +0008ad00: 6565 5f53 6f72 7420 7661 6c29 0a20 2020 ee_Sort val). │ │ │ +0008ad10: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ +0008ad20: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +0008ad30: 5f54 7265 655f 736f 7274 6f72 6465 7228 _Tree_sortorder( │ │ │ +0008ad40: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +0008ad50: 2020 6465 6620 7365 6c65 6374 626f 7828 def selectbox( │ │ │ +0008ad60: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +0008ad70: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ +0008ad80: 2020 2073 656c 6563 7462 6f78 2846 6c5f selectbox(Fl_ │ │ │ +0008ad90: 5472 6565 2073 656c 6629 202d 3e20 466c Tree self) -> Fl │ │ │ +0008ada0: 5f42 6f78 7479 7065 0a20 2020 2020 2020 _Boxtype. │ │ │ +0008adb0: 2073 656c 6563 7462 6f78 2846 6c5f 5472 selectbox(Fl_Tr │ │ │ +0008adc0: 6565 2073 656c 662c 2046 6c5f 426f 7874 ee self, Fl_Boxt │ │ │ +0008add0: 7970 6520 7661 6c29 0a20 2020 2020 2020 ype val). │ │ │ +0008ade0: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ +0008adf0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ +0008ae00: 655f 7365 6c65 6374 626f 7828 7365 6c66 e_selectbox(self │ │ │ +0008ae10: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +0008ae20: 6620 7365 6c65 6374 6d6f 6465 2873 656c f selectmode(sel │ │ │ +0008ae30: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +0008ae40: 2020 2072 2222 220a 2020 2020 2020 2020 r""". │ │ │ +0008ae50: 7365 6c65 6374 6d6f 6465 2846 6c5f 5472 selectmode(Fl_Tr │ │ │ +0008ae60: 6565 2073 656c 6629 202d 3e20 466c 5f54 ee self) -> Fl_T │ │ │ +0008ae70: 7265 655f 5365 6c65 6374 0a20 2020 2020 ree_Select. │ │ │ +0008ae80: 2020 2073 656c 6563 746d 6f64 6528 466c selectmode(Fl │ │ │ +0008ae90: 5f54 7265 6520 7365 6c66 2c20 466c 5f54 _Tree self, Fl_T │ │ │ +0008aea0: 7265 655f 5365 6c65 6374 2076 616c 290a ree_Select val). │ │ │ +0008aeb0: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ +0008aec0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +0008aed0: 2e46 6c5f 5472 6565 5f73 656c 6563 746d .Fl_Tree_selectm │ │ │ +0008aee0: 6f64 6528 7365 6c66 2c20 2a61 7267 7329 ode(self, *args) │ │ │ +0008aef0: 0a0a 2020 2020 6465 6620 6974 656d 5f72 .. def item_r │ │ │ +0008af00: 6573 656c 6563 745f 6d6f 6465 2873 656c eselect_mode(sel │ │ │ +0008af10: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +0008af20: 2020 2072 2222 220a 2020 2020 2020 2020 r""". │ │ │ +0008af30: 6974 656d 5f72 6573 656c 6563 745f 6d6f item_reselect_mo │ │ │ +0008af40: 6465 2846 6c5f 5472 6565 2073 656c 6629 de(Fl_Tree self) │ │ │ +0008af50: 202d 3e20 466c 5f54 7265 655f 4974 656d -> Fl_Tree_Item │ │ │ +0008af60: 5f52 6573 656c 6563 745f 4d6f 6465 0a20 _Reselect_Mode. │ │ │ +0008af70: 2020 2020 2020 2069 7465 6d5f 7265 7365 item_rese │ │ │ +0008af80: 6c65 6374 5f6d 6f64 6528 466c 5f54 7265 lect_mode(Fl_Tre │ │ │ +0008af90: 6520 7365 6c66 2c20 466c 5f54 7265 655f e self, Fl_Tree_ │ │ │ +0008afa0: 4974 656d 5f52 6573 656c 6563 745f 4d6f Item_Reselect_Mo │ │ │ +0008afb0: 6465 206d 6f64 6529 0a20 2020 2020 2020 de mode). │ │ │ +0008afc0: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ +0008afd0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ +0008afe0: 655f 6974 656d 5f72 6573 656c 6563 745f e_item_reselect_ │ │ │ +0008aff0: 6d6f 6465 2873 656c 662c 202a 6172 6773 mode(self, *args │ │ │ +0008b000: 290a 0a20 2020 2064 6566 2069 7465 6d5f ).. def item_ │ │ │ +0008b010: 6472 6177 5f6d 6f64 6528 7365 6c66 2c20 draw_mode(self, │ │ │ +0008b020: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +0008b030: 7222 2222 0a20 2020 2020 2020 2069 7465 r""". ite │ │ │ +0008b040: 6d5f 6472 6177 5f6d 6f64 6528 466c 5f54 m_draw_mode(Fl_T │ │ │ +0008b050: 7265 6520 7365 6c66 2920 2d3e 2046 6c5f ree self) -> Fl_ │ │ │ +0008b060: 5472 6565 5f49 7465 6d5f 4472 6177 5f4d Tree_Item_Draw_M │ │ │ +0008b070: 6f64 650a 2020 2020 2020 2020 6974 656d ode. item │ │ │ +0008b080: 5f64 7261 775f 6d6f 6465 2846 6c5f 5472 _draw_mode(Fl_Tr │ │ │ +0008b090: 6565 2073 656c 662c 2046 6c5f 5472 6565 ee self, Fl_Tree │ │ │ +0008b0a0: 5f49 7465 6d5f 4472 6177 5f4d 6f64 6520 _Item_Draw_Mode │ │ │ +0008b0b0: 6d6f 6465 290a 2020 2020 2020 2020 6974 mode). it │ │ │ +0008b0c0: 656d 5f64 7261 775f 6d6f 6465 2846 6c5f em_draw_mode(Fl_ │ │ │ +0008b0d0: 5472 6565 2073 656c 662c 2069 6e74 206d Tree self, int m │ │ │ +0008b0e0: 6f64 6529 0a20 2020 2020 2020 2022 2222 ode). """ │ │ │ +0008b0f0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +0008b100: 5f66 6c74 6b2e 466c 5f54 7265 655f 6974 _fltk.Fl_Tree_it │ │ │ +0008b110: 656d 5f64 7261 775f 6d6f 6465 2873 656c em_draw_mode(sel │ │ │ +0008b120: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +0008b130: 6566 2063 616c 635f 6469 6d65 6e73 696f ef calc_dimensio │ │ │ +0008b140: 6e73 2873 656c 662c 202a 6172 6773 293a ns(self, *args): │ │ │ +0008b150: 0a20 2020 2020 2020 2072 2222 2263 616c . r"""cal │ │ │ +0008b160: 635f 6469 6d65 6e73 696f 6e73 2846 6c5f c_dimensions(Fl_ │ │ │ +0008b170: 5472 6565 2073 656c 6629 2222 220a 2020 Tree self)""". │ │ │ +0008b180: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +0008b190: 746b 2e46 6c5f 5472 6565 5f63 616c 635f tk.Fl_Tree_calc_ │ │ │ +0008b1a0: 6469 6d65 6e73 696f 6e73 2873 656c 662c dimensions(self, │ │ │ +0008b1b0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +0008b1c0: 2063 616c 635f 7472 6565 2873 656c 662c calc_tree(self, │ │ │ +0008b1d0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +0008b1e0: 2072 2222 2263 616c 635f 7472 6565 2846 r"""calc_tree(F │ │ │ +0008b1f0: 6c5f 5472 6565 2073 656c 6629 2222 220a l_Tree self)""". │ │ │ +0008b200: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +0008b210: 666c 746b 2e46 6c5f 5472 6565 5f63 616c fltk.Fl_Tree_cal │ │ │ +0008b220: 635f 7472 6565 2873 656c 662c 202a 6172 c_tree(self, *ar │ │ │ +0008b230: 6773 290a 0a20 2020 2064 6566 2072 6563 gs).. def rec │ │ │ +0008b240: 616c 635f 7472 6565 2873 656c 662c 202a alc_tree(self, * │ │ │ +0008b250: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +0008b260: 2222 2272 6563 616c 635f 7472 6565 2846 """recalc_tree(F │ │ │ +0008b270: 6c5f 5472 6565 2073 656c 6629 2222 220a l_Tree self)""". │ │ │ +0008b280: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +0008b290: 666c 746b 2e46 6c5f 5472 6565 5f72 6563 fltk.Fl_Tree_rec │ │ │ +0008b2a0: 616c 635f 7472 6565 2873 656c 662c 202a alc_tree(self, * │ │ │ +0008b2b0: 6172 6773 290a 0a20 2020 2064 6566 2064 args).. def d │ │ │ +0008b2c0: 6973 706c 6179 6564 2873 656c 662c 202a isplayed(self, * │ │ │ +0008b2d0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +0008b2e0: 2222 2264 6973 706c 6179 6564 2846 6c5f """displayed(Fl_ │ │ │ +0008b2f0: 5472 6565 2073 656c 662c 2046 6c5f 5472 Tree self, Fl_Tr │ │ │ +0008b300: 6565 5f49 7465 6d20 6974 656d 2920 2d3e ee_Item item) -> │ │ │ +0008b310: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ +0008b320: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +0008b330: 5472 6565 5f64 6973 706c 6179 6564 2873 Tree_displayed(s │ │ │ +0008b340: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +0008b350: 2064 6566 2073 686f 775f 6974 656d 2873 def show_item(s │ │ │ +0008b360: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +0008b370: 2020 2020 2072 2222 220a 2020 2020 2020 r""". │ │ │ +0008b380: 2020 7368 6f77 5f69 7465 6d28 466c 5f54 show_item(Fl_T │ │ │ +0008b390: 7265 6520 7365 6c66 2c20 466c 5f54 7265 ree self, Fl_Tre │ │ │ +0008b3a0: 655f 4974 656d 2069 7465 6d2c 2069 6e74 e_Item item, int │ │ │ +0008b3b0: 2079 6f66 6629 0a20 2020 2020 2020 2073 yoff). s │ │ │ +0008b3c0: 686f 775f 6974 656d 2846 6c5f 5472 6565 how_item(Fl_Tree │ │ │ +0008b3d0: 2073 656c 662c 2046 6c5f 5472 6565 5f49 self, Fl_Tree_I │ │ │ +0008b3e0: 7465 6d20 6974 656d 290a 2020 2020 2020 tem item). │ │ │ +0008b3f0: 2020 2222 220a 2020 2020 2020 2020 7265 """. re │ │ │ +0008b400: 7475 726e 205f 666c 746b 2e46 6c5f 5472 turn _fltk.Fl_Tr │ │ │ +0008b410: 6565 5f73 686f 775f 6974 656d 2873 656c ee_show_item(sel │ │ │ +0008b420: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +0008b430: 6566 2073 686f 775f 6974 656d 5f74 6f70 ef show_item_top │ │ │ +0008b440: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +0008b450: 2020 2020 2020 2072 2222 2273 686f 775f r"""show_ │ │ │ +0008b460: 6974 656d 5f74 6f70 2846 6c5f 5472 6565 item_top(Fl_Tree │ │ │ +0008b470: 2073 656c 662c 2046 6c5f 5472 6565 5f49 self, Fl_Tree_I │ │ │ +0008b480: 7465 6d20 6974 656d 2922 2222 0a20 2020 tem item)""". │ │ │ +0008b490: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +0008b4a0: 6b2e 466c 5f54 7265 655f 7368 6f77 5f69 k.Fl_Tree_show_i │ │ │ +0008b4b0: 7465 6d5f 746f 7028 7365 6c66 2c20 2a61 tem_top(self, *a │ │ │ +0008b4c0: 7267 7329 0a0a 2020 2020 6465 6620 7368 rgs).. def sh │ │ │ +0008b4d0: 6f77 5f69 7465 6d5f 6d69 6464 6c65 2873 ow_item_middle(s │ │ │ +0008b4e0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +0008b4f0: 2020 2020 2072 2222 2273 686f 775f 6974 r"""show_it │ │ │ +0008b500: 656d 5f6d 6964 646c 6528 466c 5f54 7265 em_middle(Fl_Tre │ │ │ +0008b510: 6520 7365 6c66 2c20 466c 5f54 7265 655f e self, Fl_Tree_ │ │ │ +0008b520: 4974 656d 2069 7465 6d29 2222 220a 2020 Item item)""". │ │ │ +0008b530: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +0008b540: 746b 2e46 6c5f 5472 6565 5f73 686f 775f tk.Fl_Tree_show_ │ │ │ +0008b550: 6974 656d 5f6d 6964 646c 6528 7365 6c66 item_middle(self │ │ │ +0008b560: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +0008b570: 6620 7368 6f77 5f69 7465 6d5f 626f 7474 f show_item_bott │ │ │ +0008b580: 6f6d 2873 656c 662c 202a 6172 6773 293a om(self, *args): │ │ │ +0008b590: 0a20 2020 2020 2020 2072 2222 2273 686f . r"""sho │ │ │ +0008b5a0: 775f 6974 656d 5f62 6f74 746f 6d28 466c w_item_bottom(Fl │ │ │ +0008b5b0: 5f54 7265 6520 7365 6c66 2c20 466c 5f54 _Tree self, Fl_T │ │ │ +0008b5c0: 7265 655f 4974 656d 2069 7465 6d29 2222 ree_Item item)"" │ │ │ +0008b5d0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0008b5e0: 205f 666c 746b 2e46 6c5f 5472 6565 5f73 _fltk.Fl_Tree_s │ │ │ +0008b5f0: 686f 775f 6974 656d 5f62 6f74 746f 6d28 how_item_bottom( │ │ │ +0008b600: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +0008b610: 2020 6465 6620 6469 7370 6c61 7928 7365 def display(se │ │ │ +0008b620: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +0008b630: 2020 2020 7222 2222 6469 7370 6c61 7928 r"""display( │ │ │ +0008b640: 466c 5f54 7265 6520 7365 6c66 2c20 466c Fl_Tree self, Fl │ │ │ +0008b650: 5f54 7265 655f 4974 656d 2069 7465 6d29 _Tree_Item item) │ │ │ +0008b660: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +0008b670: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ +0008b680: 5f64 6973 706c 6179 2873 656c 662c 202a _display(self, * │ │ │ +0008b690: 6172 6773 290a 0a20 2020 2064 6566 2076 args).. def v │ │ │ +0008b6a0: 706f 7369 7469 6f6e 2873 656c 662c 202a position(self, * │ │ │ +0008b6b0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +0008b6c0: 2222 220a 2020 2020 2020 2020 7670 6f73 """. vpos │ │ │ +0008b6d0: 6974 696f 6e28 466c 5f54 7265 6520 7365 ition(Fl_Tree se │ │ │ +0008b6e0: 6c66 2920 2d3e 2069 6e74 0a20 2020 2020 lf) -> int. │ │ │ +0008b6f0: 2020 2076 706f 7369 7469 6f6e 2846 6c5f vposition(Fl_ │ │ │ +0008b700: 5472 6565 2073 656c 662c 2069 6e74 2070 Tree self, int p │ │ │ +0008b710: 6f73 290a 2020 2020 2020 2020 2222 220a os). """. │ │ │ +0008b720: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +0008b730: 666c 746b 2e46 6c5f 5472 6565 5f76 706f fltk.Fl_Tree_vpo │ │ │ +0008b740: 7369 7469 6f6e 2873 656c 662c 202a 6172 sition(self, *ar │ │ │ +0008b750: 6773 290a 0a20 2020 2064 6566 2068 706f gs).. def hpo │ │ │ +0008b760: 7369 7469 6f6e 2873 656c 662c 202a 6172 sition(self, *ar │ │ │ +0008b770: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +0008b780: 220a 2020 2020 2020 2020 6870 6f73 6974 ". hposit │ │ │ +0008b790: 696f 6e28 466c 5f54 7265 6520 7365 6c66 ion(Fl_Tree self │ │ │ +0008b7a0: 2920 2d3e 2069 6e74 0a20 2020 2020 2020 ) -> int. │ │ │ +0008b7b0: 2068 706f 7369 7469 6f6e 2846 6c5f 5472 hposition(Fl_Tr │ │ │ +0008b7c0: 6565 2073 656c 662c 2069 6e74 2070 6f73 ee self, int pos │ │ │ +0008b7d0: 290a 2020 2020 2020 2020 2222 220a 2020 ). """. │ │ │ +0008b7e0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ +0008b7f0: 746b 2e46 6c5f 5472 6565 5f68 706f 7369 tk.Fl_Tree_hposi │ │ │ +0008b800: 7469 6f6e 2873 656c 662c 202a 6172 6773 tion(self, *args │ │ │ +0008b810: 290a 0a20 2020 2064 6566 2069 735f 7363 ).. def is_sc │ │ │ +0008b820: 726f 6c6c 6261 7228 7365 6c66 2c20 2a61 rollbar(self, *a │ │ │ +0008b830: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0008b840: 2222 6973 5f73 6372 6f6c 6c62 6172 2846 ""is_scrollbar(F │ │ │ +0008b850: 6c5f 5472 6565 2073 656c 662c 2046 6c5f l_Tree self, Fl_ │ │ │ +0008b860: 5769 6467 6574 2077 2920 2d3e 2069 6e74 Widget w) -> int │ │ │ +0008b870: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +0008b880: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ +0008b890: 5f69 735f 7363 726f 6c6c 6261 7228 7365 _is_scrollbar(se │ │ │ +0008b8a0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +0008b8b0: 6465 6620 7363 726f 6c6c 6261 725f 7369 def scrollbar_si │ │ │ +0008b8c0: 7a65 2873 656c 662c 202a 6172 6773 293a ze(self, *args): │ │ │ +0008b8d0: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ +0008b8e0: 2020 2020 2020 7363 726f 6c6c 6261 725f scrollbar_ │ │ │ +0008b8f0: 7369 7a65 2846 6c5f 5472 6565 2073 656c size(Fl_Tree sel │ │ │ +0008b900: 6629 202d 3e20 696e 740a 2020 2020 2020 f) -> int. │ │ │ +0008b910: 2020 7363 726f 6c6c 6261 725f 7369 7a65 scrollbar_size │ │ │ +0008b920: 2846 6c5f 5472 6565 2073 656c 662c 2069 (Fl_Tree self, i │ │ │ +0008b930: 6e74 2073 697a 6529 0a20 2020 2020 2020 nt size). │ │ │ +0008b940: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ +0008b950: 7572 6e20 5f66 6c74 6b2e 466c 5f54 7265 urn _fltk.Fl_Tre │ │ │ +0008b960: 655f 7363 726f 6c6c 6261 725f 7369 7a65 e_scrollbar_size │ │ │ +0008b970: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +0008b980: 2020 2064 6566 2069 735f 7673 6372 6f6c def is_vscrol │ │ │ +0008b990: 6c5f 7669 7369 626c 6528 7365 6c66 2c20 l_visible(self, │ │ │ +0008b9a0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +0008b9b0: 7222 2222 6973 5f76 7363 726f 6c6c 5f76 r"""is_vscroll_v │ │ │ +0008b9c0: 6973 6962 6c65 2846 6c5f 5472 6565 2073 isible(Fl_Tree s │ │ │ +0008b9d0: 656c 6629 202d 3e20 696e 7422 2222 0a20 elf) -> int""". │ │ │ +0008b9e0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +0008b9f0: 6c74 6b2e 466c 5f54 7265 655f 6973 5f76 ltk.Fl_Tree_is_v │ │ │ +0008ba00: 7363 726f 6c6c 5f76 6973 6962 6c65 2873 scroll_visible(s │ │ │ +0008ba10: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +0008ba20: 2064 6566 2069 735f 6873 6372 6f6c 6c5f def is_hscroll_ │ │ │ +0008ba30: 7669 7369 626c 6528 7365 6c66 2c20 2a61 visible(self, *a │ │ │ +0008ba40: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0008ba50: 2222 6973 5f68 7363 726f 6c6c 5f76 6973 ""is_hscroll_vis │ │ │ +0008ba60: 6962 6c65 2846 6c5f 5472 6565 2073 656c ible(Fl_Tree sel │ │ │ +0008ba70: 6629 202d 3e20 696e 7422 2222 0a20 2020 f) -> int""". │ │ │ +0008ba80: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +0008ba90: 6b2e 466c 5f54 7265 655f 6973 5f68 7363 k.Fl_Tree_is_hsc │ │ │ +0008baa0: 726f 6c6c 5f76 6973 6962 6c65 2873 656c roll_visible(sel │ │ │ +0008bab0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +0008bac0: 6566 2063 616c 6c62 6163 6b5f 6974 656d ef callback_item │ │ │ +0008bad0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +0008bae0: 2020 2020 2020 2072 2222 220a 2020 2020 r""". │ │ │ +0008baf0: 2020 2020 6361 6c6c 6261 636b 5f69 7465 callback_ite │ │ │ +0008bb00: 6d28 466c 5f54 7265 6520 7365 6c66 2c20 m(Fl_Tree self, │ │ │ +0008bb10: 466c 5f54 7265 655f 4974 656d 2069 7465 Fl_Tree_Item ite │ │ │ +0008bb20: 6d29 0a20 2020 2020 2020 2063 616c 6c62 m). callb │ │ │ +0008bb30: 6163 6b5f 6974 656d 2846 6c5f 5472 6565 ack_item(Fl_Tree │ │ │ +0008bb40: 2073 656c 6629 202d 3e20 466c 5f54 7265 self) -> Fl_Tre │ │ │ +0008bb50: 655f 4974 656d 0a20 2020 2020 2020 2022 e_Item. " │ │ │ +0008bb60: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0008bb70: 6e20 5f66 6c74 6b2e 466c 5f54 7265 655f n _fltk.Fl_Tree_ │ │ │ +0008bb80: 6361 6c6c 6261 636b 5f69 7465 6d28 7365 callback_item(se │ │ │ +0008bb90: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +0008bba0: 6465 6620 6361 6c6c 6261 636b 5f72 6561 def callback_rea │ │ │ +0008bbb0: 736f 6e28 7365 6c66 2c20 2a61 7267 7329 son(self, *args) │ │ │ +0008bbc0: 3a0a 2020 2020 2020 2020 7222 2222 0a20 :. r""". │ │ │ +0008bbd0: 2020 2020 2020 2063 616c 6c62 6163 6b5f callback_ │ │ │ +0008bbe0: 7265 6173 6f6e 2846 6c5f 5472 6565 2073 reason(Fl_Tree s │ │ │ +0008bbf0: 656c 662c 2046 6c5f 5472 6565 5f52 6561 elf, Fl_Tree_Rea │ │ │ +0008bc00: 736f 6e20 7265 6173 6f6e 290a 2020 2020 son reason). │ │ │ +0008bc10: 2020 2020 6361 6c6c 6261 636b 5f72 6561 callback_rea │ │ │ +0008bc20: 736f 6e28 466c 5f54 7265 6520 7365 6c66 son(Fl_Tree self │ │ │ +0008bc30: 2920 2d3e 2046 6c5f 5472 6565 5f52 6561 ) -> Fl_Tree_Rea │ │ │ +0008bc40: 736f 6e0a 2020 2020 2020 2020 2222 220a son. """. │ │ │ +0008bc50: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +0008bc60: 666c 746b 2e46 6c5f 5472 6565 5f63 616c fltk.Fl_Tree_cal │ │ │ +0008bc70: 6c62 6163 6b5f 7265 6173 6f6e 2873 656c lback_reason(sel │ │ │ +0008bc80: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +0008bc90: 6566 206c 6f61 6428 7365 6c66 2c20 2a61 ef load(self, *a │ │ │ +0008bca0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0008bcb0: 2222 6c6f 6164 2846 6c5f 5472 6565 2073 ""load(Fl_Tree s │ │ │ +0008bcc0: 656c 662c 2046 6c5f 5072 6566 6572 656e elf, Fl_Preferen │ │ │ +0008bcd0: 6365 7320 6172 6732 2922 2222 0a20 2020 ces arg2)""". │ │ │ +0008bce0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +0008bcf0: 6b2e 466c 5f54 7265 655f 6c6f 6164 2873 k.Fl_Tree_load(s │ │ │ +0008bd00: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +0008bd10: 2064 6566 2069 6e69 745f 7479 7065 2873 def init_type(s │ │ │ +0008bd20: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +0008bd30: 2020 2020 2072 2222 2269 6e69 745f 7479 r"""init_ty │ │ │ +0008bd40: 7065 2846 6c5f 5472 6565 2073 656c 662c pe(Fl_Tree self, │ │ │ +0008bd50: 2063 6861 7220 2a20 466c 5f54 7265 6529 char * Fl_Tree) │ │ │ +0008bd60: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +0008bd70: 726e 205f 666c 746b 2e46 6c5f 5472 6565 rn _fltk.Fl_Tree │ │ │ +0008bd80: 5f69 6e69 745f 7479 7065 2873 656c 662c _init_type(self, │ │ │ +0008bd90: 202a 6172 6773 290a 2020 2020 6465 6620 *args). def │ │ │ +0008bda0: 5f5f 6469 736f 776e 5f5f 2873 656c 6629 __disown__(self) │ │ │ +0008bdb0: 3a0a 2020 2020 2020 2020 7365 6c66 2e74 :. self.t │ │ │ +0008bdc0: 6869 732e 6469 736f 776e 2829 0a20 2020 his.disown(). │ │ │ +0008bdd0: 2020 2020 205f 666c 746b 2e64 6973 6f77 _fltk.disow │ │ │ +0008bde0: 6e5f 466c 5f54 7265 6528 7365 6c66 290a n_Fl_Tree(self). │ │ │ +0008bdf0: 2020 2020 2020 2020 7265 7475 726e 2077 return w │ │ │ +0008be00: 6561 6b72 6566 2e70 726f 7879 2873 656c eakref.proxy(sel │ │ │ +0008be10: 6629 0a0a 2320 5265 6769 7374 6572 2046 f)..# Register F │ │ │ +0008be20: 6c5f 5472 6565 2069 6e20 5f66 6c74 6b3a l_Tree in _fltk: │ │ │ +0008be30: 0a5f 666c 746b 2e46 6c5f 5472 6565 5f73 ._fltk.Fl_Tree_s │ │ │ +0008be40: 7769 6772 6567 6973 7465 7228 466c 5f54 wigregister(Fl_T │ │ │ +0008be50: 7265 6529 0a4e 4f5f 5041 4745 5f46 4f52 ree).NO_PAGE_FOR │ │ │ +0008be60: 4d41 5453 203d 205f 666c 746b 2e4e 4f5f MATS = _fltk.NO_ │ │ │ +0008be70: 5041 4745 5f46 4f52 4d41 5453 0a0a 636c PAGE_FORMATS..cl │ │ │ +0008be80: 6173 7320 466c 5f50 6167 6564 5f44 6576 ass Fl_Paged_Dev │ │ │ +0008be90: 6963 6528 466c 5f57 6964 6765 745f 5375 ice(Fl_Widget_Su │ │ │ +0008bea0: 7266 6163 6529 3a0a 2020 2020 7222 2222 rface):. r""" │ │ │ +0008beb0: 0a0a 2020 2020 5265 7072 6573 656e 7473 .. Represents │ │ │ +0008bec0: 2070 6167 652d 7374 7275 6374 7572 6564 page-structured │ │ │ +0008bed0: 2064 7261 7769 6e67 2073 7572 6661 6365 drawing surface │ │ │ +0008bee0: 732e 0a0a 2020 2020 5468 6973 2063 6c61 s... This cla │ │ │ +0008bef0: 7373 2068 6173 206e 6f20 7075 626c 6963 ss has no public │ │ │ +0008bf00: 2063 6f6e 7374 7275 6374 6f72 3a20 646f constructor: do │ │ │ +0008bf10: 6e27 7420 696e 7374 616e 7469 6174 6520 n't instantiate │ │ │ +0008bf20: 6974 3b20 7573 6520 466c 5f50 7269 6e74 it; use Fl_Print │ │ │ +0008bf30: 6572 200a 2020 2020 6f72 2046 6c5f 506f er . or Fl_Po │ │ │ +0008bf40: 7374 5363 7269 7074 5f46 696c 655f 4465 stScript_File_De │ │ │ +0008bf50: 7669 6365 2069 6e73 7465 6164 2e0a 0a20 vice instead... │ │ │ +0008bf60: 2020 2022 2222 0a0a 2020 2020 7468 6973 """.. this │ │ │ +0008bf70: 6f77 6e20 3d20 7072 6f70 6572 7479 286c own = property(l │ │ │ +0008bf80: 616d 6264 6120 783a 2078 2e74 6869 732e ambda x: x.this. │ │ │ +0008bf90: 6f77 6e28 292c 206c 616d 6264 6120 782c own(), lambda x, │ │ │ +0008bfa0: 2076 3a20 782e 7468 6973 2e6f 776e 2876 v: x.this.own(v │ │ │ +0008bfb0: 292c 2064 6f63 3d22 5468 6520 6d65 6d62 ), doc="The memb │ │ │ +0008bfc0: 6572 7368 6970 2066 6c61 6722 290a 2020 ership flag"). │ │ │ +0008bfd0: 2020 5f5f 7265 7072 5f5f 203d 205f 7377 __repr__ = _sw │ │ │ +0008bfe0: 6967 5f72 6570 720a 0a20 2020 2064 6566 ig_repr.. def │ │ │ +0008bff0: 205f 5f69 6e69 745f 5f28 7365 6c66 2c20 __init__(self, │ │ │ +0008c000: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +0008c010: 7222 2222 5f5f 696e 6974 5f5f 2846 6c5f r"""__init__(Fl_ │ │ │ +0008c020: 5061 6765 645f 4465 7669 6365 2073 656c Paged_Device sel │ │ │ +0008c030: 6629 202d 3e20 466c 5f50 6167 6564 5f44 f) -> Fl_Paged_D │ │ │ +0008c040: 6576 6963 6522 2222 0a20 2020 2020 2020 evice""". │ │ │ +0008c050: 2069 6620 7365 6c66 2e5f 5f63 6c61 7373 if self.__class │ │ │ +0008c060: 5f5f 203d 3d20 466c 5f50 6167 6564 5f44 __ == Fl_Paged_D │ │ │ +0008c070: 6576 6963 653a 0a20 2020 2020 2020 2020 evice:. │ │ │ +0008c080: 2020 205f 7365 6c66 203d 204e 6f6e 650a _self = None. │ │ │ +0008c090: 2020 2020 2020 2020 656c 7365 3a0a 2020 else:. │ │ │ +0008c0a0: 2020 2020 2020 2020 2020 5f73 656c 6620 _self │ │ │ +0008c0b0: 3d20 7365 6c66 0a20 2020 2020 2020 205f = self. _ │ │ │ +0008c0c0: 666c 746b 2e46 6c5f 5061 6765 645f 4465 fltk.Fl_Paged_De │ │ │ +0008c0d0: 7669 6365 5f73 7769 6769 6e69 7428 7365 vice_swiginit(se │ │ │ +0008c0e0: 6c66 2c20 5f66 6c74 6b2e 6e65 775f 466c lf, _fltk.new_Fl │ │ │ +0008c0f0: 5f50 6167 6564 5f44 6576 6963 6528 5f73 _Paged_Device(_s │ │ │ +0008c100: 656c 662c 202a 6172 6773 2929 0a20 2020 elf, *args)). │ │ │ +0008c110: 2041 3020 3d20 5f66 6c74 6b2e 466c 5f50 A0 = _fltk.Fl_P │ │ │ +0008c120: 6167 6564 5f44 6576 6963 655f 4130 0a20 aged_Device_A0. │ │ │ +0008c130: 2020 200a 2020 2020 4131 203d 205f 666c . A1 = _fl │ │ │ +0008c140: 746b 2e46 6c5f 5061 6765 645f 4465 7669 tk.Fl_Paged_Devi │ │ │ +0008c150: 6365 5f41 310a 2020 2020 0a20 2020 2041 ce_A1. . A │ │ │ +0008c160: 3220 3d20 5f66 6c74 6b2e 466c 5f50 6167 2 = _fltk.Fl_Pag │ │ │ +0008c170: 6564 5f44 6576 6963 655f 4132 0a20 2020 ed_Device_A2. │ │ │ +0008c180: 200a 2020 2020 4133 203d 205f 666c 746b . A3 = _fltk │ │ │ +0008c190: 2e46 6c5f 5061 6765 645f 4465 7669 6365 .Fl_Paged_Device │ │ │ +0008c1a0: 5f41 330a 2020 2020 0a20 2020 2041 3420 _A3. . A4 │ │ │ +0008c1b0: 3d20 5f66 6c74 6b2e 466c 5f50 6167 6564 = _fltk.Fl_Paged │ │ │ +0008c1c0: 5f44 6576 6963 655f 4134 0a20 2020 200a _Device_A4. . │ │ │ +0008c1d0: 2020 2020 4135 203d 205f 666c 746b 2e46 A5 = _fltk.F │ │ │ +0008c1e0: 6c5f 5061 6765 645f 4465 7669 6365 5f41 l_Paged_Device_A │ │ │ +0008c1f0: 350a 2020 2020 0a20 2020 2041 3620 3d20 5. . A6 = │ │ │ +0008c200: 5f66 6c74 6b2e 466c 5f50 6167 6564 5f44 _fltk.Fl_Paged_D │ │ │ +0008c210: 6576 6963 655f 4136 0a20 2020 200a 2020 evice_A6. . │ │ │ +0008c220: 2020 4137 203d 205f 666c 746b 2e46 6c5f A7 = _fltk.Fl_ │ │ │ +0008c230: 5061 6765 645f 4465 7669 6365 5f41 370a Paged_Device_A7. │ │ │ +0008c240: 2020 2020 0a20 2020 2041 3820 3d20 5f66 . A8 = _f │ │ │ +0008c250: 6c74 6b2e 466c 5f50 6167 6564 5f44 6576 ltk.Fl_Paged_Dev │ │ │ +0008c260: 6963 655f 4138 0a20 2020 200a 2020 2020 ice_A8. . │ │ │ +0008c270: 4139 203d 205f 666c 746b 2e46 6c5f 5061 A9 = _fltk.Fl_Pa │ │ │ +0008c280: 6765 645f 4465 7669 6365 5f41 390a 2020 ged_Device_A9. │ │ │ +0008c290: 2020 0a20 2020 2042 3020 3d20 5f66 6c74 . B0 = _flt │ │ │ +0008c2a0: 6b2e 466c 5f50 6167 6564 5f44 6576 6963 k.Fl_Paged_Devic │ │ │ +0008c2b0: 655f 4230 0a20 2020 200a 2020 2020 4231 e_B0. . B1 │ │ │ +0008c2c0: 203d 205f 666c 746b 2e46 6c5f 5061 6765 = _fltk.Fl_Page │ │ │ +0008c2d0: 645f 4465 7669 6365 5f42 310a 2020 2020 d_Device_B1. │ │ │ +0008c2e0: 0a20 2020 2042 3220 3d20 5f66 6c74 6b2e . B2 = _fltk. │ │ │ +0008c2f0: 466c 5f50 6167 6564 5f44 6576 6963 655f Fl_Paged_Device_ │ │ │ +0008c300: 4232 0a20 2020 200a 2020 2020 4233 203d B2. . B3 = │ │ │ +0008c310: 205f 666c 746b 2e46 6c5f 5061 6765 645f _fltk.Fl_Paged_ │ │ │ +0008c320: 4465 7669 6365 5f42 330a 2020 2020 0a20 Device_B3. . │ │ │ +0008c330: 2020 2042 3420 3d20 5f66 6c74 6b2e 466c B4 = _fltk.Fl │ │ │ +0008c340: 5f50 6167 6564 5f44 6576 6963 655f 4234 _Paged_Device_B4 │ │ │ +0008c350: 0a20 2020 200a 2020 2020 4235 203d 205f . . B5 = _ │ │ │ +0008c360: 666c 746b 2e46 6c5f 5061 6765 645f 4465 fltk.Fl_Paged_De │ │ │ +0008c370: 7669 6365 5f42 350a 2020 2020 0a20 2020 vice_B5. . │ │ │ +0008c380: 2042 3620 3d20 5f66 6c74 6b2e 466c 5f50 B6 = _fltk.Fl_P │ │ │ +0008c390: 6167 6564 5f44 6576 6963 655f 4236 0a20 aged_Device_B6. │ │ │ +0008c3a0: 2020 200a 2020 2020 4237 203d 205f 666c . B7 = _fl │ │ │ +0008c3b0: 746b 2e46 6c5f 5061 6765 645f 4465 7669 tk.Fl_Paged_Devi │ │ │ +0008c3c0: 6365 5f42 370a 2020 2020 0a20 2020 2042 ce_B7. . B │ │ │ +0008c3d0: 3820 3d20 5f66 6c74 6b2e 466c 5f50 6167 8 = _fltk.Fl_Pag │ │ │ +0008c3e0: 6564 5f44 6576 6963 655f 4238 0a20 2020 ed_Device_B8. │ │ │ +0008c3f0: 200a 2020 2020 4239 203d 205f 666c 746b . B9 = _fltk │ │ │ +0008c400: 2e46 6c5f 5061 6765 645f 4465 7669 6365 .Fl_Paged_Device │ │ │ +0008c410: 5f42 390a 2020 2020 0a20 2020 2042 3130 _B9. . B10 │ │ │ +0008c420: 203d 205f 666c 746b 2e46 6c5f 5061 6765 = _fltk.Fl_Page │ │ │ +0008c430: 645f 4465 7669 6365 5f42 3130 0a20 2020 d_Device_B10. │ │ │ +0008c440: 200a 2020 2020 4335 4520 3d20 5f66 6c74 . C5E = _flt │ │ │ +0008c450: 6b2e 466c 5f50 6167 6564 5f44 6576 6963 k.Fl_Paged_Devic │ │ │ +0008c460: 655f 4335 450a 2020 2020 0a20 2020 2044 e_C5E. . D │ │ │ +0008c470: 4c45 203d 205f 666c 746b 2e46 6c5f 5061 LE = _fltk.Fl_Pa │ │ │ +0008c480: 6765 645f 4465 7669 6365 5f44 4c45 0a20 ged_Device_DLE. │ │ │ +0008c490: 2020 200a 2020 2020 4558 4543 5554 4956 . EXECUTIV │ │ │ +0008c4a0: 4520 3d20 5f66 6c74 6b2e 466c 5f50 6167 E = _fltk.Fl_Pag │ │ │ +0008c4b0: 6564 5f44 6576 6963 655f 4558 4543 5554 ed_Device_EXECUT │ │ │ +0008c4c0: 4956 450a 2020 2020 0a20 2020 2046 4f4c IVE. . FOL │ │ │ +0008c4d0: 494f 203d 205f 666c 746b 2e46 6c5f 5061 IO = _fltk.Fl_Pa │ │ │ +0008c4e0: 6765 645f 4465 7669 6365 5f46 4f4c 494f ged_Device_FOLIO │ │ │ +0008c4f0: 0a20 2020 200a 2020 2020 4c45 4447 4552 . . LEDGER │ │ │ +0008c500: 203d 205f 666c 746b 2e46 6c5f 5061 6765 = _fltk.Fl_Page │ │ │ +0008c510: 645f 4465 7669 6365 5f4c 4544 4745 520a d_Device_LEDGER. │ │ │ +0008c520: 2020 2020 0a20 2020 204c 4547 414c 203d . LEGAL = │ │ │ +0008c530: 205f 666c 746b 2e46 6c5f 5061 6765 645f _fltk.Fl_Paged_ │ │ │ +0008c540: 4465 7669 6365 5f4c 4547 414c 0a20 2020 Device_LEGAL. │ │ │ +0008c550: 200a 2020 2020 4c45 5454 4552 203d 205f . LETTER = _ │ │ │ +0008c560: 666c 746b 2e46 6c5f 5061 6765 645f 4465 fltk.Fl_Paged_De │ │ │ +0008c570: 7669 6365 5f4c 4554 5445 520a 2020 2020 vice_LETTER. │ │ │ +0008c580: 0a20 2020 2054 4142 4c4f 4944 203d 205f . TABLOID = _ │ │ │ +0008c590: 666c 746b 2e46 6c5f 5061 6765 645f 4465 fltk.Fl_Paged_De │ │ │ +0008c5a0: 7669 6365 5f54 4142 4c4f 4944 0a20 2020 vice_TABLOID. │ │ │ +0008c5b0: 200a 2020 2020 454e 5645 4c4f 5045 203d . ENVELOPE = │ │ │ +0008c5c0: 205f 666c 746b 2e46 6c5f 5061 6765 645f _fltk.Fl_Paged_ │ │ │ +0008c5d0: 4465 7669 6365 5f45 4e56 454c 4f50 450a Device_ENVELOPE. │ │ │ +0008c5e0: 2020 2020 0a20 2020 204d 4544 4941 203d . MEDIA = │ │ │ +0008c5f0: 205f 666c 746b 2e46 6c5f 5061 6765 645f _fltk.Fl_Paged_ │ │ │ +0008c600: 4465 7669 6365 5f4d 4544 4941 0a20 2020 Device_MEDIA. │ │ │ +0008c610: 200a 2020 2020 504f 5254 5241 4954 203d . PORTRAIT = │ │ │ +0008c620: 205f 666c 746b 2e46 6c5f 5061 6765 645f _fltk.Fl_Paged_ │ │ │ +0008c630: 4465 7669 6365 5f50 4f52 5452 4149 540a Device_PORTRAIT. │ │ │ +0008c640: 2020 2020 0a20 2020 204c 414e 4453 4341 . LANDSCA │ │ │ +0008c650: 5045 203d 205f 666c 746b 2e46 6c5f 5061 PE = _fltk.Fl_Pa │ │ │ +0008c660: 6765 645f 4465 7669 6365 5f4c 414e 4453 ged_Device_LANDS │ │ │ +0008c670: 4341 5045 0a20 2020 200a 2020 2020 5245 CAPE. . RE │ │ │ +0008c680: 5645 5253 4544 203d 205f 666c 746b 2e46 VERSED = _fltk.F │ │ │ +0008c690: 6c5f 5061 6765 645f 4465 7669 6365 5f52 l_Paged_Device_R │ │ │ +0008c6a0: 4556 4552 5345 440a 2020 2020 0a20 2020 EVERSED. . │ │ │ +0008c6b0: 204f 5249 454e 5441 5449 4f4e 203d 205f ORIENTATION = _ │ │ │ +0008c6c0: 666c 746b 2e46 6c5f 5061 6765 645f 4465 fltk.Fl_Paged_De │ │ │ +0008c6d0: 7669 6365 5f4f 5249 454e 5441 5449 4f4e vice_ORIENTATION │ │ │ +0008c6e0: 0a20 2020 200a 2020 2020 5f5f 7377 6967 . . __swig │ │ │ +0008c6f0: 5f64 6573 7472 6f79 5f5f 203d 205f 666c _destroy__ = _fl │ │ │ +0008c700: 746b 2e64 656c 6574 655f 466c 5f50 6167 tk.delete_Fl_Pag │ │ │ +0008c710: 6564 5f44 6576 6963 650a 0a20 2020 2064 ed_Device.. d │ │ │ +0008c720: 6566 2062 6567 696e 5f6a 6f62 2873 656c ef begin_job(sel │ │ │ +0008c730: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +0008c740: 2020 2072 2222 2262 6567 696e 5f6a 6f62 r"""begin_job │ │ │ +0008c750: 2846 6c5f 5061 6765 645f 4465 7669 6365 (Fl_Paged_Device │ │ │ +0008c760: 2073 656c 662c 2069 6e74 2070 6167 6563 self, int pagec │ │ │ +0008c770: 6f75 6e74 3d30 2c20 696e 7420 2a20 6672 ount=0, int * fr │ │ │ +0008c780: 6f6d 7061 6765 3d4e 6f6e 652c 2069 6e74 ompage=None, int │ │ │ +0008c790: 202a 2074 6f70 6167 653d 4e6f 6e65 2c20 * topage=None, │ │ │ +0008c7a0: 6368 6172 202a 2a20 7065 7272 5f6d 6573 char ** perr_mes │ │ │ +0008c7b0: 7361 6765 3d4e 6f6e 6529 202d 3e20 696e sage=None) -> in │ │ │ +0008c7c0: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ +0008c7d0: 7572 6e20 5f66 6c74 6b2e 466c 5f50 6167 urn _fltk.Fl_Pag │ │ │ +0008c7e0: 6564 5f44 6576 6963 655f 6265 6769 6e5f ed_Device_begin_ │ │ │ +0008c7f0: 6a6f 6228 7365 6c66 2c20 2a61 7267 7329 job(self, *args) │ │ │ +0008c800: 0a0a 2020 2020 6465 6620 7374 6172 745f .. def start_ │ │ │ +0008c810: 6a6f 6228 7365 6c66 2c20 2a61 7267 7329 job(self, *args) │ │ │ +0008c820: 3a0a 2020 2020 2020 2020 7222 2222 7374 :. r"""st │ │ │ +0008c830: 6172 745f 6a6f 6228 466c 5f50 6167 6564 art_job(Fl_Paged │ │ │ +0008c840: 5f44 6576 6963 6520 7365 6c66 2c20 696e _Device self, in │ │ │ +0008c850: 7420 7061 6765 636f 756e 743d 302c 2069 t pagecount=0, i │ │ │ +0008c860: 6e74 202a 2066 726f 6d70 6167 653d 4e6f nt * frompage=No │ │ │ +0008c870: 6e65 2c20 696e 7420 2a20 746f 7061 6765 ne, int * topage │ │ │ +0008c880: 3d4e 6f6e 652c 2063 6861 7220 2a2a 2070 =None, char ** p │ │ │ +0008c890: 6572 725f 6d65 7373 6167 653d 4e6f 6e65 err_message=None │ │ │ +0008c8a0: 2920 2d3e 2069 6e74 2222 220a 2020 2020 ) -> int""". │ │ │ +0008c8b0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +0008c8c0: 2e46 6c5f 5061 6765 645f 4465 7669 6365 .Fl_Paged_Device │ │ │ +0008c8d0: 5f73 7461 7274 5f6a 6f62 2873 656c 662c _start_job(self, │ │ │ +0008c8e0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +0008c8f0: 2062 6567 696e 5f70 6167 6528 7365 6c66 begin_page(self │ │ │ +0008c900: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +0008c910: 2020 7222 2222 6265 6769 6e5f 7061 6765 r"""begin_page │ │ │ +0008c920: 2846 6c5f 5061 6765 645f 4465 7669 6365 (Fl_Paged_Device │ │ │ +0008c930: 2073 656c 6629 202d 3e20 696e 7422 2222 self) -> int""" │ │ │ +0008c940: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +0008c950: 5f66 6c74 6b2e 466c 5f50 6167 6564 5f44 _fltk.Fl_Paged_D │ │ │ +0008c960: 6576 6963 655f 6265 6769 6e5f 7061 6765 evice_begin_page │ │ │ +0008c970: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +0008c980: 2020 2064 6566 2073 7461 7274 5f70 6167 def start_pag │ │ │ +0008c990: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ +0008c9a0: 2020 2020 2020 2020 7222 2222 7374 6172 r"""star │ │ │ +0008c9b0: 745f 7061 6765 2846 6c5f 5061 6765 645f t_page(Fl_Paged_ │ │ │ +0008c9c0: 4465 7669 6365 2073 656c 6629 202d 3e20 Device self) -> │ │ │ +0008c9d0: 696e 7422 2222 0a20 2020 2020 2020 2072 int""". r │ │ │ +0008c9e0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f50 eturn _fltk.Fl_P │ │ │ +0008c9f0: 6167 6564 5f44 6576 6963 655f 7374 6172 aged_Device_star │ │ │ +0008ca00: 745f 7061 6765 2873 656c 662c 202a 6172 t_page(self, *ar │ │ │ +0008ca10: 6773 290a 0a20 2020 2064 6566 206d 6172 gs).. def mar │ │ │ +0008ca20: 6769 6e73 2873 656c 662c 202a 6172 6773 gins(self, *args │ │ │ +0008ca30: 293a 0a20 2020 2020 2020 2072 2222 226d ):. r"""m │ │ │ +0008ca40: 6172 6769 6e73 2846 6c5f 5061 6765 645f argins(Fl_Paged_ │ │ │ +0008ca50: 4465 7669 6365 2073 656c 662c 2069 6e74 Device self, int │ │ │ +0008ca60: 202a 206c 6566 742c 2069 6e74 202a 2074 * left, int * t │ │ │ +0008ca70: 6f70 2c20 696e 7420 2a20 7269 6768 742c op, int * right, │ │ │ +0008ca80: 2069 6e74 202a 2062 6f74 746f 6d29 2222 int * bottom)"" │ │ │ +0008ca90: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0008caa0: 205f 666c 746b 2e46 6c5f 5061 6765 645f _fltk.Fl_Paged_ │ │ │ +0008cab0: 4465 7669 6365 5f6d 6172 6769 6e73 2873 Device_margins(s │ │ │ +0008cac0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +0008cad0: 2064 6566 2073 6361 6c65 2873 656c 662c def scale(self, │ │ │ +0008cae0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +0008caf0: 2072 2222 2273 6361 6c65 2846 6c5f 5061 r"""scale(Fl_Pa │ │ │ +0008cb00: 6765 645f 4465 7669 6365 2073 656c 662c ged_Device self, │ │ │ +0008cb10: 2066 6c6f 6174 2073 6361 6c65 5f78 2c20 float scale_x, │ │ │ +0008cb20: 666c 6f61 7420 7363 616c 655f 793d 302e float scale_y=0. │ │ │ +0008cb30: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ +0008cb40: 7572 6e20 5f66 6c74 6b2e 466c 5f50 6167 urn _fltk.Fl_Pag │ │ │ +0008cb50: 6564 5f44 6576 6963 655f 7363 616c 6528 ed_Device_scale( │ │ │ +0008cb60: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +0008cb70: 2020 6465 6620 726f 7461 7465 2873 656c def rotate(sel │ │ │ +0008cb80: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +0008cb90: 2020 2072 2222 2272 6f74 6174 6528 466c r"""rotate(Fl │ │ │ +0008cba0: 5f50 6167 6564 5f44 6576 6963 6520 7365 _Paged_Device se │ │ │ +0008cbb0: 6c66 2c20 666c 6f61 7420 616e 676c 6529 lf, float angle) │ │ │ +0008cbc0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +0008cbd0: 726e 205f 666c 746b 2e46 6c5f 5061 6765 rn _fltk.Fl_Page │ │ │ +0008cbe0: 645f 4465 7669 6365 5f72 6f74 6174 6528 d_Device_rotate( │ │ │ +0008cbf0: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ +0008cc00: 2020 6465 6620 7072 696e 745f 7769 6467 def print_widg │ │ │ +0008cc10: 6574 2873 656c 662c 202a 6172 6773 293a et(self, *args): │ │ │ +0008cc20: 0a20 2020 2020 2020 2072 2222 2270 7269 . r"""pri │ │ │ +0008cc30: 6e74 5f77 6964 6765 7428 466c 5f50 6167 nt_widget(Fl_Pag │ │ │ +0008cc40: 6564 5f44 6576 6963 6520 7365 6c66 2c20 ed_Device self, │ │ │ +0008cc50: 466c 5f57 6964 6765 7420 7769 6467 6574 Fl_Widget widget │ │ │ +0008cc60: 2c20 696e 7420 6465 6c74 615f 783d 302c , int delta_x=0, │ │ │ +0008cc70: 2069 6e74 2064 656c 7461 5f79 3d30 2922 int delta_y=0)" │ │ │ +0008cc80: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0008cc90: 6e20 5f66 6c74 6b2e 466c 5f50 6167 6564 n _fltk.Fl_Paged │ │ │ +0008cca0: 5f44 6576 6963 655f 7072 696e 745f 7769 _Device_print_wi │ │ │ +0008ccb0: 6467 6574 2873 656c 662c 202a 6172 6773 dget(self, *args │ │ │ +0008ccc0: 290a 0a20 2020 2064 6566 2070 7269 6e74 ).. def print │ │ │ +0008ccd0: 5f77 696e 646f 7728 7365 6c66 2c20 2a61 _window(self, *a │ │ │ +0008cce0: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0008ccf0: 2222 7072 696e 745f 7769 6e64 6f77 2846 ""print_window(F │ │ │ +0008cd00: 6c5f 5061 6765 645f 4465 7669 6365 2073 l_Paged_Device s │ │ │ +0008cd10: 656c 662c 2046 6c5f 5769 6e64 6f77 2077 elf, Fl_Window w │ │ │ +0008cd20: 696e 2c20 696e 7420 785f 6f66 663d 302c in, int x_off=0, │ │ │ +0008cd30: 2069 6e74 2079 5f6f 6666 3d30 2922 2222 int y_off=0)""" │ │ │ +0008cd40: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +0008cd50: 5f66 6c74 6b2e 466c 5f50 6167 6564 5f44 _fltk.Fl_Paged_D │ │ │ +0008cd60: 6576 6963 655f 7072 696e 745f 7769 6e64 evice_print_wind │ │ │ +0008cd70: 6f77 2873 656c 662c 202a 6172 6773 290a ow(self, *args). │ │ │ +0008cd80: 0a20 2020 2064 6566 2065 6e64 5f70 6167 . def end_pag │ │ │ +0008cd90: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ +0008cda0: 2020 2020 2020 2020 7222 2222 656e 645f r"""end_ │ │ │ +0008cdb0: 7061 6765 2846 6c5f 5061 6765 645f 4465 page(Fl_Paged_De │ │ │ +0008cdc0: 7669 6365 2073 656c 6629 202d 3e20 696e vice self) -> in │ │ │ +0008cdd0: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ +0008cde0: 7572 6e20 5f66 6c74 6b2e 466c 5f50 6167 urn _fltk.Fl_Pag │ │ │ +0008cdf0: 6564 5f44 6576 6963 655f 656e 645f 7061 ed_Device_end_pa │ │ │ +0008ce00: 6765 2873 656c 662c 202a 6172 6773 290a ge(self, *args). │ │ │ +0008ce10: 0a20 2020 2064 6566 2065 6e64 5f6a 6f62 . def end_job │ │ │ +0008ce20: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +0008ce30: 2020 2020 2020 2072 2222 2265 6e64 5f6a r"""end_j │ │ │ +0008ce40: 6f62 2846 6c5f 5061 6765 645f 4465 7669 ob(Fl_Paged_Devi │ │ │ +0008ce50: 6365 2073 656c 6629 2222 220a 2020 2020 ce self)""". │ │ │ +0008ce60: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +0008ce70: 2e46 6c5f 5061 6765 645f 4465 7669 6365 .Fl_Paged_Device │ │ │ +0008ce80: 5f65 6e64 5f6a 6f62 2873 656c 662c 202a _end_job(self, * │ │ │ +0008ce90: 6172 6773 290a 2020 2020 6465 6620 5f5f args). def __ │ │ │ +0008cea0: 6469 736f 776e 5f5f 2873 656c 6629 3a0a disown__(self):. │ │ │ +0008ceb0: 2020 2020 2020 2020 7365 6c66 2e74 6869 self.thi │ │ │ +0008cec0: 732e 6469 736f 776e 2829 0a20 2020 2020 s.disown(). │ │ │ +0008ced0: 2020 205f 666c 746b 2e64 6973 6f77 6e5f _fltk.disown_ │ │ │ +0008cee0: 466c 5f50 6167 6564 5f44 6576 6963 6528 Fl_Paged_Device( │ │ │ +0008cef0: 7365 6c66 290a 2020 2020 2020 2020 7265 self). re │ │ │ +0008cf00: 7475 726e 2077 6561 6b72 6566 2e70 726f turn weakref.pro │ │ │ +0008cf10: 7879 2873 656c 6629 0a0a 2020 2020 6465 xy(self).. de │ │ │ +0008cf20: 6620 656e 645f 6375 7272 656e 7428 7365 f end_current(se │ │ │ +0008cf30: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +0008cf40: 2020 2020 7222 2222 656e 645f 6375 7272 r"""end_curr │ │ │ +0008cf50: 656e 7428 466c 5f50 6167 6564 5f44 6576 ent(Fl_Paged_Dev │ │ │ +0008cf60: 6963 6520 7365 6c66 2922 2222 0a20 2020 ice self)""". │ │ │ +0008cf70: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +0008cf80: 6b2e 466c 5f50 6167 6564 5f44 6576 6963 k.Fl_Paged_Devic │ │ │ +0008cf90: 655f 656e 645f 6375 7272 656e 7428 7365 e_end_current(se │ │ │ +0008cfa0: 6c66 2c20 2a61 7267 7329 0a0a 2320 5265 lf, *args)..# Re │ │ │ +0008cfb0: 6769 7374 6572 2046 6c5f 5061 6765 645f gister Fl_Paged_ │ │ │ +0008cfc0: 4465 7669 6365 2069 6e20 5f66 6c74 6b3a Device in _fltk: │ │ │ +0008cfd0: 0a5f 666c 746b 2e46 6c5f 5061 6765 645f ._fltk.Fl_Paged_ │ │ │ +0008cfe0: 4465 7669 6365 5f73 7769 6772 6567 6973 Device_swigregis │ │ │ +0008cff0: 7465 7228 466c 5f50 6167 6564 5f44 6576 ter(Fl_Paged_Dev │ │ │ +0008d000: 6963 6529 0a63 6c61 7373 2046 6c5f 5044 ice).class Fl_PD │ │ │ +0008d010: 465f 4669 6c65 5f53 7572 6661 6365 2846 F_File_Surface(F │ │ │ +0008d020: 6c5f 5061 6765 645f 4465 7669 6365 293a l_Paged_Device): │ │ │ +0008d030: 0a20 2020 2072 2222 220a 0a20 2020 2044 . r""".. D │ │ │ +0008d040: 6563 6c61 7261 7469 6f6e 206f 6620 636c eclaration of cl │ │ │ +0008d050: 6173 7365 7320 466c 5f50 4446 5f46 696c asses Fl_PDF_Fil │ │ │ +0008d060: 655f 5375 7266 6163 652e 0a0a 2020 2020 e_Surface... │ │ │ +0008d070: 2222 220a 0a20 2020 2074 6869 736f 776e """.. thisown │ │ │ +0008d080: 203d 2070 726f 7065 7274 7928 6c61 6d62 = property(lamb │ │ │ +0008d090: 6461 2078 3a20 782e 7468 6973 2e6f 776e da x: x.this.own │ │ │ +0008d0a0: 2829 2c20 6c61 6d62 6461 2078 2c20 763a (), lambda x, v: │ │ │ +0008d0b0: 2078 2e74 6869 732e 6f77 6e28 7629 2c20 x.this.own(v), │ │ │ +0008d0c0: 646f 633d 2254 6865 206d 656d 6265 7273 doc="The members │ │ │ +0008d0d0: 6869 7020 666c 6167 2229 0a20 2020 205f hip flag"). _ │ │ │ +0008d0e0: 5f72 6570 725f 5f20 3d20 5f73 7769 675f _repr__ = _swig_ │ │ │ +0008d0f0: 7265 7072 0a0a 2020 2020 6465 6620 5f5f repr.. def __ │ │ │ +0008d100: 696e 6974 5f5f 2873 656c 662c 202a 6172 init__(self, *ar │ │ │ +0008d110: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +0008d120: 225f 5f69 6e69 745f 5f28 466c 5f50 4446 "__init__(Fl_PDF │ │ │ +0008d130: 5f46 696c 655f 5375 7266 6163 6520 7365 _File_Surface se │ │ │ +0008d140: 6c66 2920 2d3e 2046 6c5f 5044 465f 4669 lf) -> Fl_PDF_Fi │ │ │ +0008d150: 6c65 5f53 7572 6661 6365 2222 220a 2020 le_Surface""". │ │ │ +0008d160: 2020 2020 2020 6966 2073 656c 662e 5f5f if self.__ │ │ │ +0008d170: 636c 6173 735f 5f20 3d3d 2046 6c5f 5044 class__ == Fl_PD │ │ │ +0008d180: 465f 4669 6c65 5f53 7572 6661 6365 3a0a F_File_Surface:. │ │ │ +0008d190: 2020 2020 2020 2020 2020 2020 5f73 656c _sel │ │ │ +0008d1a0: 6620 3d20 4e6f 6e65 0a20 2020 2020 2020 f = None. │ │ │ +0008d1b0: 2065 6c73 653a 0a20 2020 2020 2020 2020 else:. │ │ │ +0008d1c0: 2020 205f 7365 6c66 203d 2073 656c 660a _self = self. │ │ │ +0008d1d0: 2020 2020 2020 2020 5f66 6c74 6b2e 466c _fltk.Fl │ │ │ 0008d1e0: 5f50 4446 5f46 696c 655f 5375 7266 6163 _PDF_File_Surfac │ │ │ -0008d1f0: 6528 5f73 656c 662c 202a 6172 6773 2929 e(_self, *args)) │ │ │ -0008d200: 0a20 2020 205f 5f73 7769 675f 6465 7374 . __swig_dest │ │ │ -0008d210: 726f 795f 5f20 3d20 5f66 6c74 6b2e 6465 roy__ = _fltk.de │ │ │ -0008d220: 6c65 7465 5f46 6c5f 5044 465f 4669 6c65 lete_Fl_PDF_File │ │ │ -0008d230: 5f53 7572 6661 6365 0a0a 2020 2020 6465 _Surface.. de │ │ │ -0008d240: 6620 6265 6769 6e5f 6a6f 6228 7365 6c66 f begin_job(self │ │ │ -0008d250: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -0008d260: 2020 7222 2222 0a20 2020 2020 2020 2062 r""". b │ │ │ -0008d270: 6567 696e 5f6a 6f62 2846 6c5f 5044 465f egin_job(Fl_PDF_ │ │ │ -0008d280: 4669 6c65 5f53 7572 6661 6365 2073 656c File_Surface sel │ │ │ -0008d290: 662c 2063 6861 7220 636f 6e73 7420 2a20 f, char const * │ │ │ -0008d2a0: 6465 6661 756c 7466 696c 656e 616d 652c defaultfilename, │ │ │ -0008d2b0: 2063 6861 7220 2a2a 2070 6572 723d 4e6f char ** perr=No │ │ │ -0008d2c0: 6e65 2920 2d3e 2069 6e74 0a20 2020 2020 ne) -> int. │ │ │ -0008d2d0: 2020 2062 6567 696e 5f6a 6f62 2846 6c5f begin_job(Fl_ │ │ │ -0008d2e0: 5044 465f 4669 6c65 5f53 7572 6661 6365 PDF_File_Surface │ │ │ -0008d2f0: 2073 656c 662c 2069 6e74 2061 7267 302c self, int arg0, │ │ │ -0008d300: 2069 6e74 202a 2061 7267 312c 2069 6e74 int * arg1, int │ │ │ -0008d310: 202a 2061 7267 322c 2063 6861 7220 2a2a * arg2, char ** │ │ │ -0008d320: 2061 7267 3329 202d 3e20 696e 740a 2020 arg3) -> int. │ │ │ -0008d330: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ -0008d340: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -0008d350: 6c5f 5044 465f 4669 6c65 5f53 7572 6661 l_PDF_File_Surfa │ │ │ -0008d360: 6365 5f62 6567 696e 5f6a 6f62 2873 656c ce_begin_job(sel │ │ │ -0008d370: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -0008d380: 6566 2062 6567 696e 5f64 6f63 756d 656e ef begin_documen │ │ │ -0008d390: 7428 7365 6c66 2c20 2a61 7267 7329 3a0a t(self, *args):. │ │ │ -0008d3a0: 2020 2020 2020 2020 7222 2222 6265 6769 r"""begi │ │ │ -0008d3b0: 6e5f 646f 6375 6d65 6e74 2846 6c5f 5044 n_document(Fl_PD │ │ │ -0008d3c0: 465f 4669 6c65 5f53 7572 6661 6365 2073 F_File_Surface s │ │ │ -0008d3d0: 656c 662c 2063 6861 7220 636f 6e73 7420 elf, char const │ │ │ -0008d3e0: 2a20 7061 7468 6e61 6d65 2c20 656e 756d * pathname, enum │ │ │ -0008d3f0: 2046 6c5f 5061 6765 645f 4465 7669 6365 Fl_Paged_Device │ │ │ -0008d400: 3a3a 5061 6765 5f46 6f72 6d61 7420 666f ::Page_Format fo │ │ │ -0008d410: 726d 6174 3d41 342c 2065 6e75 6d20 466c rmat=A4, enum Fl │ │ │ +0008d1f0: 655f 7377 6967 696e 6974 2873 656c 662c e_swiginit(self, │ │ │ +0008d200: 205f 666c 746b 2e6e 6577 5f46 6c5f 5044 _fltk.new_Fl_PD │ │ │ +0008d210: 465f 4669 6c65 5f53 7572 6661 6365 285f F_File_Surface(_ │ │ │ +0008d220: 7365 6c66 2c20 2a61 7267 7329 290a 2020 self, *args)). │ │ │ +0008d230: 2020 5f5f 7377 6967 5f64 6573 7472 6f79 __swig_destroy │ │ │ +0008d240: 5f5f 203d 205f 666c 746b 2e64 656c 6574 __ = _fltk.delet │ │ │ +0008d250: 655f 466c 5f50 4446 5f46 696c 655f 5375 e_Fl_PDF_File_Su │ │ │ +0008d260: 7266 6163 650a 0a20 2020 2064 6566 2062 rface.. def b │ │ │ +0008d270: 6567 696e 5f6a 6f62 2873 656c 662c 202a egin_job(self, * │ │ │ +0008d280: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +0008d290: 2222 220a 2020 2020 2020 2020 6265 6769 """. begi │ │ │ +0008d2a0: 6e5f 6a6f 6228 466c 5f50 4446 5f46 696c n_job(Fl_PDF_Fil │ │ │ +0008d2b0: 655f 5375 7266 6163 6520 7365 6c66 2c20 e_Surface self, │ │ │ +0008d2c0: 6368 6172 2063 6f6e 7374 202a 2064 6566 char const * def │ │ │ +0008d2d0: 6175 6c74 6669 6c65 6e61 6d65 2c20 6368 aultfilename, ch │ │ │ +0008d2e0: 6172 202a 2a20 7065 7272 3d4e 6f6e 6529 ar ** perr=None) │ │ │ +0008d2f0: 202d 3e20 696e 740a 2020 2020 2020 2020 -> int. │ │ │ +0008d300: 6265 6769 6e5f 6a6f 6228 466c 5f50 4446 begin_job(Fl_PDF │ │ │ +0008d310: 5f46 696c 655f 5375 7266 6163 6520 7365 _File_Surface se │ │ │ +0008d320: 6c66 2c20 696e 7420 6172 6730 2c20 696e lf, int arg0, in │ │ │ +0008d330: 7420 2a20 6172 6731 2c20 696e 7420 2a20 t * arg1, int * │ │ │ +0008d340: 6172 6732 2c20 6368 6172 202a 2a20 6172 arg2, char ** ar │ │ │ +0008d350: 6733 2920 2d3e 2069 6e74 0a20 2020 2020 g3) -> int. │ │ │ +0008d360: 2020 2022 2222 0a20 2020 2020 2020 2072 """. r │ │ │ +0008d370: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f50 eturn _fltk.Fl_P │ │ │ +0008d380: 4446 5f46 696c 655f 5375 7266 6163 655f DF_File_Surface_ │ │ │ +0008d390: 6265 6769 6e5f 6a6f 6228 7365 6c66 2c20 begin_job(self, │ │ │ +0008d3a0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +0008d3b0: 6265 6769 6e5f 646f 6375 6d65 6e74 2873 begin_document(s │ │ │ +0008d3c0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +0008d3d0: 2020 2020 2072 2222 2262 6567 696e 5f64 r"""begin_d │ │ │ +0008d3e0: 6f63 756d 656e 7428 466c 5f50 4446 5f46 ocument(Fl_PDF_F │ │ │ +0008d3f0: 696c 655f 5375 7266 6163 6520 7365 6c66 ile_Surface self │ │ │ +0008d400: 2c20 6368 6172 2063 6f6e 7374 202a 2070 , char const * p │ │ │ +0008d410: 6174 686e 616d 652c 2065 6e75 6d20 466c athname, enum Fl │ │ │ 0008d420: 5f50 6167 6564 5f44 6576 6963 653a 3a50 _Paged_Device::P │ │ │ -0008d430: 6167 655f 4c61 796f 7574 206c 6179 6f75 age_Layout layou │ │ │ -0008d440: 743d 504f 5254 5241 4954 2c20 6368 6172 t=PORTRAIT, char │ │ │ -0008d450: 202a 2a20 7065 7272 3d4e 6f6e 6529 202d ** perr=None) - │ │ │ -0008d460: 3e20 696e 7422 2222 0a20 2020 2020 2020 > int""". │ │ │ -0008d470: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -0008d480: 5f50 4446 5f46 696c 655f 5375 7266 6163 _PDF_File_Surfac │ │ │ -0008d490: 655f 6265 6769 6e5f 646f 6375 6d65 6e74 e_begin_document │ │ │ -0008d4a0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -0008d4b0: 2020 2064 6566 2070 7269 6e74 6162 6c65 def printable │ │ │ -0008d4c0: 5f72 6563 7428 7365 6c66 2c20 2a61 7267 _rect(self, *arg │ │ │ -0008d4d0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0008d4e0: 7072 696e 7461 626c 655f 7265 6374 2846 printable_rect(F │ │ │ -0008d4f0: 6c5f 5044 465f 4669 6c65 5f53 7572 6661 l_PDF_File_Surfa │ │ │ -0008d500: 6365 2073 656c 6629 202d 3e20 696e 7422 ce self) -> int" │ │ │ -0008d510: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -0008d520: 6e20 5f66 6c74 6b2e 466c 5f50 4446 5f46 n _fltk.Fl_PDF_F │ │ │ -0008d530: 696c 655f 5375 7266 6163 655f 7072 696e ile_Surface_prin │ │ │ -0008d540: 7461 626c 655f 7265 6374 2873 656c 662c table_rect(self, │ │ │ -0008d550: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -0008d560: 206d 6172 6769 6e73 2873 656c 662c 202a margins(self, * │ │ │ -0008d570: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -0008d580: 2222 226d 6172 6769 6e73 2846 6c5f 5044 """margins(Fl_PD │ │ │ -0008d590: 465f 4669 6c65 5f53 7572 6661 6365 2073 F_File_Surface s │ │ │ -0008d5a0: 656c 6629 2222 220a 2020 2020 2020 2020 elf)""". │ │ │ -0008d5b0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -0008d5c0: 5044 465f 4669 6c65 5f53 7572 6661 6365 PDF_File_Surface │ │ │ -0008d5d0: 5f6d 6172 6769 6e73 2873 656c 662c 202a _margins(self, * │ │ │ -0008d5e0: 6172 6773 290a 0a20 2020 2064 6566 206f args).. def o │ │ │ -0008d5f0: 7269 6769 6e28 7365 6c66 2c20 2a61 7267 rigin(self, *arg │ │ │ -0008d600: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0008d610: 0a20 2020 2020 2020 206f 7269 6769 6e28 . origin( │ │ │ -0008d620: 466c 5f50 4446 5f46 696c 655f 5375 7266 Fl_PDF_File_Surf │ │ │ -0008d630: 6163 6520 7365 6c66 2c20 696e 7420 782c ace self, int x, │ │ │ -0008d640: 2069 6e74 2079 290a 2020 2020 2020 2020 int y). │ │ │ -0008d650: 6f72 6967 696e 2846 6c5f 5044 465f 4669 origin(Fl_PDF_Fi │ │ │ -0008d660: 6c65 5f53 7572 6661 6365 2073 656c 6629 le_Surface self) │ │ │ -0008d670: 0a20 2020 2020 2020 2022 2222 0a20 2020 . """. │ │ │ -0008d680: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -0008d690: 6b2e 466c 5f50 4446 5f46 696c 655f 5375 k.Fl_PDF_File_Su │ │ │ -0008d6a0: 7266 6163 655f 6f72 6967 696e 2873 656c rface_origin(sel │ │ │ -0008d6b0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -0008d6c0: 6566 2073 6361 6c65 2873 656c 662c 202a ef scale(self, * │ │ │ -0008d6d0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -0008d6e0: 2222 2273 6361 6c65 2846 6c5f 5044 465f """scale(Fl_PDF_ │ │ │ -0008d6f0: 4669 6c65 5f53 7572 6661 6365 2073 656c File_Surface sel │ │ │ -0008d700: 662c 2066 6c6f 6174 2073 5f78 2c20 666c f, float s_x, fl │ │ │ -0008d710: 6f61 7420 735f 793d 3029 2222 220a 2020 oat s_y=0)""". │ │ │ -0008d720: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -0008d730: 746b 2e46 6c5f 5044 465f 4669 6c65 5f53 tk.Fl_PDF_File_S │ │ │ -0008d740: 7572 6661 6365 5f73 6361 6c65 2873 656c urface_scale(sel │ │ │ -0008d750: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -0008d760: 6566 2072 6f74 6174 6528 7365 6c66 2c20 ef rotate(self, │ │ │ -0008d770: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -0008d780: 7222 2222 726f 7461 7465 2846 6c5f 5044 r"""rotate(Fl_PD │ │ │ -0008d790: 465f 4669 6c65 5f53 7572 6661 6365 2073 F_File_Surface s │ │ │ -0008d7a0: 656c 662c 2066 6c6f 6174 2061 6e67 6c65 elf, float angle │ │ │ -0008d7b0: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ -0008d7c0: 7572 6e20 5f66 6c74 6b2e 466c 5f50 4446 urn _fltk.Fl_PDF │ │ │ -0008d7d0: 5f46 696c 655f 5375 7266 6163 655f 726f _File_Surface_ro │ │ │ -0008d7e0: 7461 7465 2873 656c 662c 202a 6172 6773 tate(self, *args │ │ │ -0008d7f0: 290a 0a20 2020 2064 6566 2074 7261 6e73 ).. def trans │ │ │ -0008d800: 6c61 7465 2873 656c 662c 202a 6172 6773 late(self, *args │ │ │ -0008d810: 293a 0a20 2020 2020 2020 2072 2222 2274 ):. r"""t │ │ │ -0008d820: 7261 6e73 6c61 7465 2846 6c5f 5044 465f ranslate(Fl_PDF_ │ │ │ -0008d830: 4669 6c65 5f53 7572 6661 6365 2073 656c File_Surface sel │ │ │ -0008d840: 662c 2069 6e74 2078 2c20 696e 7420 7929 f, int x, int y) │ │ │ -0008d850: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -0008d860: 726e 205f 666c 746b 2e46 6c5f 5044 465f rn _fltk.Fl_PDF_ │ │ │ -0008d870: 4669 6c65 5f53 7572 6661 6365 5f74 7261 File_Surface_tra │ │ │ -0008d880: 6e73 6c61 7465 2873 656c 662c 202a 6172 nslate(self, *ar │ │ │ -0008d890: 6773 290a 0a20 2020 2064 6566 2075 6e74 gs).. def unt │ │ │ -0008d8a0: 7261 6e73 6c61 7465 2873 656c 662c 202a ranslate(self, * │ │ │ -0008d8b0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -0008d8c0: 2222 2275 6e74 7261 6e73 6c61 7465 2846 """untranslate(F │ │ │ -0008d8d0: 6c5f 5044 465f 4669 6c65 5f53 7572 6661 l_PDF_File_Surfa │ │ │ -0008d8e0: 6365 2073 656c 6629 2222 220a 2020 2020 ce self)""". │ │ │ -0008d8f0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -0008d900: 2e46 6c5f 5044 465f 4669 6c65 5f53 7572 .Fl_PDF_File_Sur │ │ │ -0008d910: 6661 6365 5f75 6e74 7261 6e73 6c61 7465 face_untranslate │ │ │ -0008d920: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -0008d930: 2020 2064 6566 2062 6567 696e 5f70 6167 def begin_pag │ │ │ -0008d940: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ -0008d950: 2020 2020 2020 2020 7222 2222 6265 6769 r"""begi │ │ │ -0008d960: 6e5f 7061 6765 2846 6c5f 5044 465f 4669 n_page(Fl_PDF_Fi │ │ │ -0008d970: 6c65 5f53 7572 6661 6365 2073 656c 6629 le_Surface self) │ │ │ -0008d980: 202d 3e20 696e 7422 2222 0a20 2020 2020 -> int""". │ │ │ -0008d990: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -0008d9a0: 466c 5f50 4446 5f46 696c 655f 5375 7266 Fl_PDF_File_Surf │ │ │ -0008d9b0: 6163 655f 6265 6769 6e5f 7061 6765 2873 ace_begin_page(s │ │ │ -0008d9c0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -0008d9d0: 2064 6566 2065 6e64 5f70 6167 6528 7365 def end_page(se │ │ │ -0008d9e0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -0008d9f0: 2020 2020 7222 2222 656e 645f 7061 6765 r"""end_page │ │ │ -0008da00: 2846 6c5f 5044 465f 4669 6c65 5f53 7572 (Fl_PDF_File_Sur │ │ │ -0008da10: 6661 6365 2073 656c 6629 202d 3e20 696e face self) -> in │ │ │ -0008da20: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ -0008da30: 7572 6e20 5f66 6c74 6b2e 466c 5f50 4446 urn _fltk.Fl_PDF │ │ │ -0008da40: 5f46 696c 655f 5375 7266 6163 655f 656e _File_Surface_en │ │ │ -0008da50: 645f 7061 6765 2873 656c 662c 202a 6172 d_page(self, *ar │ │ │ -0008da60: 6773 290a 0a20 2020 2064 6566 2065 6e64 gs).. def end │ │ │ -0008da70: 5f6a 6f62 2873 656c 662c 202a 6172 6773 _job(self, *args │ │ │ -0008da80: 293a 0a20 2020 2020 2020 2072 2222 2265 ):. r"""e │ │ │ -0008da90: 6e64 5f6a 6f62 2846 6c5f 5044 465f 4669 nd_job(Fl_PDF_Fi │ │ │ -0008daa0: 6c65 5f53 7572 6661 6365 2073 656c 6629 le_Surface self) │ │ │ -0008dab0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -0008dac0: 726e 205f 666c 746b 2e46 6c5f 5044 465f rn _fltk.Fl_PDF_ │ │ │ -0008dad0: 4669 6c65 5f53 7572 6661 6365 5f65 6e64 File_Surface_end │ │ │ -0008dae0: 5f6a 6f62 2873 656c 662c 202a 6172 6773 _job(self, *args │ │ │ -0008daf0: 290a 0a20 2020 2064 6566 2070 6466 5f66 ).. def pdf_f │ │ │ -0008db00: 696c 656e 616d 6528 7365 6c66 2c20 2a61 ilename(self, *a │ │ │ -0008db10: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -0008db20: 2222 7064 665f 6669 6c65 6e61 6d65 2846 ""pdf_filename(F │ │ │ -0008db30: 6c5f 5044 465f 4669 6c65 5f53 7572 6661 l_PDF_File_Surfa │ │ │ -0008db40: 6365 2073 656c 6629 202d 3e20 6368 6172 ce self) -> char │ │ │ -0008db50: 2063 6f6e 7374 202a 2222 220a 2020 2020 const *""". │ │ │ -0008db60: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -0008db70: 2e46 6c5f 5044 465f 4669 6c65 5f53 7572 .Fl_PDF_File_Sur │ │ │ -0008db80: 6661 6365 5f70 6466 5f66 696c 656e 616d face_pdf_filenam │ │ │ -0008db90: 6528 7365 6c66 2c20 2a61 7267 7329 0a0a e(self, *args).. │ │ │ -0008dba0: 2020 2020 6465 6620 7365 745f 6375 7272 def set_curr │ │ │ -0008dbb0: 656e 7428 7365 6c66 2c20 2a61 7267 7329 ent(self, *args) │ │ │ -0008dbc0: 3a0a 2020 2020 2020 2020 7222 2222 7365 :. r"""se │ │ │ -0008dbd0: 745f 6375 7272 656e 7428 466c 5f50 4446 t_current(Fl_PDF │ │ │ -0008dbe0: 5f46 696c 655f 5375 7266 6163 6520 7365 _File_Surface se │ │ │ -0008dbf0: 6c66 2922 2222 0a20 2020 2020 2020 2072 lf)""". r │ │ │ -0008dc00: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f50 eturn _fltk.Fl_P │ │ │ -0008dc10: 4446 5f46 696c 655f 5375 7266 6163 655f DF_File_Surface_ │ │ │ -0008dc20: 7365 745f 6375 7272 656e 7428 7365 6c66 set_current(self │ │ │ -0008dc30: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -0008dc40: 6620 6973 5f63 7572 7265 6e74 2873 656c f is_current(sel │ │ │ -0008dc50: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -0008dc60: 2020 2072 2222 2269 735f 6375 7272 656e r"""is_curren │ │ │ -0008dc70: 7428 466c 5f50 4446 5f46 696c 655f 5375 t(Fl_PDF_File_Su │ │ │ -0008dc80: 7266 6163 6520 7365 6c66 2920 2d3e 2062 rface self) -> b │ │ │ -0008dc90: 6f6f 6c22 2222 0a20 2020 2020 2020 2072 ool""". r │ │ │ -0008dca0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f50 eturn _fltk.Fl_P │ │ │ -0008dcb0: 4446 5f46 696c 655f 5375 7266 6163 655f DF_File_Surface_ │ │ │ -0008dcc0: 6973 5f63 7572 7265 6e74 2873 656c 662c is_current(self, │ │ │ -0008dcd0: 202a 6172 6773 290a 2020 2020 6465 6620 *args). def │ │ │ -0008dce0: 5f5f 6469 736f 776e 5f5f 2873 656c 6629 __disown__(self) │ │ │ -0008dcf0: 3a0a 2020 2020 2020 2020 7365 6c66 2e74 :. self.t │ │ │ -0008dd00: 6869 732e 6469 736f 776e 2829 0a20 2020 his.disown(). │ │ │ -0008dd10: 2020 2020 205f 666c 746b 2e64 6973 6f77 _fltk.disow │ │ │ -0008dd20: 6e5f 466c 5f50 4446 5f46 696c 655f 5375 n_Fl_PDF_File_Su │ │ │ -0008dd30: 7266 6163 6528 7365 6c66 290a 2020 2020 rface(self). │ │ │ -0008dd40: 2020 2020 7265 7475 726e 2077 6561 6b72 return weakr │ │ │ -0008dd50: 6566 2e70 726f 7879 2873 656c 6629 0a0a ef.proxy(self).. │ │ │ -0008dd60: 2020 2020 6465 6620 656e 645f 6375 7272 def end_curr │ │ │ -0008dd70: 656e 7428 7365 6c66 2c20 2a61 7267 7329 ent(self, *args) │ │ │ -0008dd80: 3a0a 2020 2020 2020 2020 7222 2222 656e :. r"""en │ │ │ -0008dd90: 645f 6375 7272 656e 7428 466c 5f50 4446 d_current(Fl_PDF │ │ │ -0008dda0: 5f46 696c 655f 5375 7266 6163 6520 7365 _File_Surface se │ │ │ -0008ddb0: 6c66 2922 2222 0a20 2020 2020 2020 2072 lf)""". r │ │ │ -0008ddc0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f50 eturn _fltk.Fl_P │ │ │ -0008ddd0: 4446 5f46 696c 655f 5375 7266 6163 655f DF_File_Surface_ │ │ │ -0008dde0: 656e 645f 6375 7272 656e 7428 7365 6c66 end_current(self │ │ │ -0008ddf0: 2c20 2a61 7267 7329 0a0a 2320 5265 6769 , *args)..# Regi │ │ │ -0008de00: 7374 6572 2046 6c5f 5044 465f 4669 6c65 ster Fl_PDF_File │ │ │ -0008de10: 5f53 7572 6661 6365 2069 6e20 5f66 6c74 _Surface in _flt │ │ │ -0008de20: 6b3a 0a5f 666c 746b 2e46 6c5f 5044 465f k:._fltk.Fl_PDF_ │ │ │ -0008de30: 4669 6c65 5f53 7572 6661 6365 5f73 7769 File_Surface_swi │ │ │ -0008de40: 6772 6567 6973 7465 7228 466c 5f50 4446 gregister(Fl_PDF │ │ │ -0008de50: 5f46 696c 655f 5375 7266 6163 6529 0a63 _File_Surface).c │ │ │ -0008de60: 6c61 7373 2046 6c5f 506f 7374 5363 7269 lass Fl_PostScri │ │ │ -0008de70: 7074 5f46 696c 655f 4465 7669 6365 2846 pt_File_Device(F │ │ │ -0008de80: 6c5f 5061 6765 645f 4465 7669 6365 293a l_Paged_Device): │ │ │ -0008de90: 0a20 2020 2072 2222 2250 726f 7879 206f . r"""Proxy o │ │ │ -0008dea0: 6620 432b 2b20 466c 5f50 6f73 7453 6372 f C++ Fl_PostScr │ │ │ -0008deb0: 6970 745f 4669 6c65 5f44 6576 6963 6520 ipt_File_Device │ │ │ -0008dec0: 636c 6173 732e 2222 220a 0a20 2020 2074 class.""".. t │ │ │ -0008ded0: 6869 736f 776e 203d 2070 726f 7065 7274 hisown = propert │ │ │ -0008dee0: 7928 6c61 6d62 6461 2078 3a20 782e 7468 y(lambda x: x.th │ │ │ -0008def0: 6973 2e6f 776e 2829 2c20 6c61 6d62 6461 is.own(), lambda │ │ │ -0008df00: 2078 2c20 763a 2078 2e74 6869 732e 6f77 x, v: x.this.ow │ │ │ -0008df10: 6e28 7629 2c20 646f 633d 2254 6865 206d n(v), doc="The m │ │ │ -0008df20: 656d 6265 7273 6869 7020 666c 6167 2229 embership flag") │ │ │ -0008df30: 0a20 2020 205f 5f72 6570 725f 5f20 3d20 . __repr__ = │ │ │ -0008df40: 5f73 7769 675f 7265 7072 0a0a 2020 2020 _swig_repr.. │ │ │ -0008df50: 6465 6620 5f5f 696e 6974 5f5f 2873 656c def __init__(sel │ │ │ -0008df60: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -0008df70: 2020 2072 2222 225f 5f69 6e69 745f 5f28 r"""__init__( │ │ │ -0008df80: 466c 5f50 6f73 7453 6372 6970 745f 4669 Fl_PostScript_Fi │ │ │ -0008df90: 6c65 5f44 6576 6963 6520 7365 6c66 2920 le_Device self) │ │ │ -0008dfa0: 2d3e 2046 6c5f 506f 7374 5363 7269 7074 -> Fl_PostScript │ │ │ -0008dfb0: 5f46 696c 655f 4465 7669 6365 2222 220a _File_Device""". │ │ │ -0008dfc0: 2020 2020 2020 2020 6966 2073 656c 662e if self. │ │ │ -0008dfd0: 5f5f 636c 6173 735f 5f20 3d3d 2046 6c5f __class__ == Fl_ │ │ │ -0008dfe0: 506f 7374 5363 7269 7074 5f46 696c 655f PostScript_File_ │ │ │ -0008dff0: 4465 7669 6365 3a0a 2020 2020 2020 2020 Device:. │ │ │ -0008e000: 2020 2020 5f73 656c 6620 3d20 4e6f 6e65 _self = None │ │ │ -0008e010: 0a20 2020 2020 2020 2065 6c73 653a 0a20 . else:. │ │ │ -0008e020: 2020 2020 2020 2020 2020 205f 7365 6c66 _self │ │ │ -0008e030: 203d 2073 656c 660a 2020 2020 2020 2020 = self. │ │ │ -0008e040: 5f66 6c74 6b2e 466c 5f50 6f73 7453 6372 _fltk.Fl_PostScr │ │ │ -0008e050: 6970 745f 4669 6c65 5f44 6576 6963 655f ipt_File_Device_ │ │ │ -0008e060: 7377 6967 696e 6974 2873 656c 662c 205f swiginit(self, _ │ │ │ -0008e070: 666c 746b 2e6e 6577 5f46 6c5f 506f 7374 fltk.new_Fl_Post │ │ │ -0008e080: 5363 7269 7074 5f46 696c 655f 4465 7669 Script_File_Devi │ │ │ -0008e090: 6365 285f 7365 6c66 2c20 2a61 7267 7329 ce(_self, *args) │ │ │ -0008e0a0: 290a 2020 2020 5f5f 7377 6967 5f64 6573 ). __swig_des │ │ │ -0008e0b0: 7472 6f79 5f5f 203d 205f 666c 746b 2e64 troy__ = _fltk.d │ │ │ -0008e0c0: 656c 6574 655f 466c 5f50 6f73 7453 6372 elete_Fl_PostScr │ │ │ -0008e0d0: 6970 745f 4669 6c65 5f44 6576 6963 650a ipt_File_Device. │ │ │ -0008e0e0: 0a20 2020 2064 6566 2062 6567 696e 5f6a . def begin_j │ │ │ -0008e0f0: 6f62 2873 656c 662c 202a 6172 6773 293a ob(self, *args): │ │ │ -0008e100: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ -0008e110: 2020 2020 2020 6265 6769 6e5f 6a6f 6228 begin_job( │ │ │ -0008e120: 466c 5f50 6f73 7453 6372 6970 745f 4669 Fl_PostScript_Fi │ │ │ -0008e130: 6c65 5f44 6576 6963 6520 7365 6c66 2c20 le_Device self, │ │ │ -0008e140: 696e 7420 7061 6765 636f 756e 742c 2069 int pagecount, i │ │ │ -0008e150: 6e74 202a 205f 6672 6f6d 2c20 696e 7420 nt * _from, int │ │ │ -0008e160: 2a20 746f 2c20 6368 6172 202a 2a20 7065 * to, char ** pe │ │ │ -0008e170: 7272 5f6d 6573 7361 6765 2920 2d3e 2069 rr_message) -> i │ │ │ -0008e180: 6e74 0a20 2020 2020 2020 2062 6567 696e nt. begin │ │ │ -0008e190: 5f6a 6f62 2846 6c5f 506f 7374 5363 7269 _job(Fl_PostScri │ │ │ -0008e1a0: 7074 5f46 696c 655f 4465 7669 6365 2073 pt_File_Device s │ │ │ -0008e1b0: 656c 662c 2069 6e74 2070 6167 6563 6f75 elf, int pagecou │ │ │ -0008e1c0: 6e74 3d30 2c20 656e 756d 2046 6c5f 5061 nt=0, enum Fl_Pa │ │ │ -0008e1d0: 6765 645f 4465 7669 6365 3a3a 5061 6765 ged_Device::Page │ │ │ -0008e1e0: 5f46 6f72 6d61 7420 666f 726d 6174 3d41 _Format format=A │ │ │ -0008e1f0: 342c 2065 6e75 6d20 466c 5f50 6167 6564 4, enum Fl_Paged │ │ │ -0008e200: 5f44 6576 6963 653a 3a50 6167 655f 4c61 _Device::Page_La │ │ │ -0008e210: 796f 7574 206c 6179 6f75 743d 504f 5254 yout layout=PORT │ │ │ -0008e220: 5241 4954 2920 2d3e 2069 6e74 0a20 2020 RAIT) -> int. │ │ │ -0008e230: 2020 2020 2062 6567 696e 5f6a 6f62 2846 begin_job(F │ │ │ -0008e240: 6c5f 506f 7374 5363 7269 7074 5f46 696c l_PostScript_Fil │ │ │ -0008e250: 655f 4465 7669 6365 2073 656c 662c 2046 e_Device self, F │ │ │ -0008e260: 494c 4520 2a20 7073 5f6f 7574 7075 742c ILE * ps_output, │ │ │ -0008e270: 2069 6e74 2070 6167 6563 6f75 6e74 3d30 int pagecount=0 │ │ │ -0008e280: 2c20 656e 756d 2046 6c5f 5061 6765 645f , enum Fl_Paged_ │ │ │ -0008e290: 4465 7669 6365 3a3a 5061 6765 5f46 6f72 Device::Page_For │ │ │ -0008e2a0: 6d61 7420 666f 726d 6174 3d41 342c 2065 mat format=A4, e │ │ │ +0008d430: 6167 655f 466f 726d 6174 2066 6f72 6d61 age_Format forma │ │ │ +0008d440: 743d 4134 2c20 656e 756d 2046 6c5f 5061 t=A4, enum Fl_Pa │ │ │ +0008d450: 6765 645f 4465 7669 6365 3a3a 5061 6765 ged_Device::Page │ │ │ +0008d460: 5f4c 6179 6f75 7420 6c61 796f 7574 3d50 _Layout layout=P │ │ │ +0008d470: 4f52 5452 4149 542c 2063 6861 7220 2a2a ORTRAIT, char ** │ │ │ +0008d480: 2070 6572 723d 4e6f 6e65 2920 2d3e 2069 perr=None) -> i │ │ │ +0008d490: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ +0008d4a0: 7475 726e 205f 666c 746b 2e46 6c5f 5044 turn _fltk.Fl_PD │ │ │ +0008d4b0: 465f 4669 6c65 5f53 7572 6661 6365 5f62 F_File_Surface_b │ │ │ +0008d4c0: 6567 696e 5f64 6f63 756d 656e 7428 7365 egin_document(se │ │ │ +0008d4d0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +0008d4e0: 6465 6620 7072 696e 7461 626c 655f 7265 def printable_re │ │ │ +0008d4f0: 6374 2873 656c 662c 202a 6172 6773 293a ct(self, *args): │ │ │ +0008d500: 0a20 2020 2020 2020 2072 2222 2270 7269 . r"""pri │ │ │ +0008d510: 6e74 6162 6c65 5f72 6563 7428 466c 5f50 ntable_rect(Fl_P │ │ │ +0008d520: 4446 5f46 696c 655f 5375 7266 6163 6520 DF_File_Surface │ │ │ +0008d530: 7365 6c66 2920 2d3e 2069 6e74 2222 220a self) -> int""". │ │ │ +0008d540: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +0008d550: 666c 746b 2e46 6c5f 5044 465f 4669 6c65 fltk.Fl_PDF_File │ │ │ +0008d560: 5f53 7572 6661 6365 5f70 7269 6e74 6162 _Surface_printab │ │ │ +0008d570: 6c65 5f72 6563 7428 7365 6c66 2c20 2a61 le_rect(self, *a │ │ │ +0008d580: 7267 7329 0a0a 2020 2020 6465 6620 6d61 rgs).. def ma │ │ │ +0008d590: 7267 696e 7328 7365 6c66 2c20 2a61 7267 rgins(self, *arg │ │ │ +0008d5a0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +0008d5b0: 6d61 7267 696e 7328 466c 5f50 4446 5f46 margins(Fl_PDF_F │ │ │ +0008d5c0: 696c 655f 5375 7266 6163 6520 7365 6c66 ile_Surface self │ │ │ +0008d5d0: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ +0008d5e0: 7572 6e20 5f66 6c74 6b2e 466c 5f50 4446 urn _fltk.Fl_PDF │ │ │ +0008d5f0: 5f46 696c 655f 5375 7266 6163 655f 6d61 _File_Surface_ma │ │ │ +0008d600: 7267 696e 7328 7365 6c66 2c20 2a61 7267 rgins(self, *arg │ │ │ +0008d610: 7329 0a0a 2020 2020 6465 6620 6f72 6967 s).. def orig │ │ │ +0008d620: 696e 2873 656c 662c 202a 6172 6773 293a in(self, *args): │ │ │ +0008d630: 0a20 2020 2020 2020 2072 2222 220a 2020 . r""". │ │ │ +0008d640: 2020 2020 2020 6f72 6967 696e 2846 6c5f origin(Fl_ │ │ │ +0008d650: 5044 465f 4669 6c65 5f53 7572 6661 6365 PDF_File_Surface │ │ │ +0008d660: 2073 656c 662c 2069 6e74 2078 2c20 696e self, int x, in │ │ │ +0008d670: 7420 7929 0a20 2020 2020 2020 206f 7269 t y). ori │ │ │ +0008d680: 6769 6e28 466c 5f50 4446 5f46 696c 655f gin(Fl_PDF_File_ │ │ │ +0008d690: 5375 7266 6163 6520 7365 6c66 290a 2020 Surface self). │ │ │ +0008d6a0: 2020 2020 2020 2222 220a 2020 2020 2020 """. │ │ │ +0008d6b0: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +0008d6c0: 6c5f 5044 465f 4669 6c65 5f53 7572 6661 l_PDF_File_Surfa │ │ │ +0008d6d0: 6365 5f6f 7269 6769 6e28 7365 6c66 2c20 ce_origin(self, │ │ │ +0008d6e0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +0008d6f0: 7363 616c 6528 7365 6c66 2c20 2a61 7267 scale(self, *arg │ │ │ +0008d700: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +0008d710: 7363 616c 6528 466c 5f50 4446 5f46 696c scale(Fl_PDF_Fil │ │ │ +0008d720: 655f 5375 7266 6163 6520 7365 6c66 2c20 e_Surface self, │ │ │ +0008d730: 666c 6f61 7420 735f 782c 2066 6c6f 6174 float s_x, float │ │ │ +0008d740: 2073 5f79 3d30 2922 2222 0a20 2020 2020 s_y=0)""". │ │ │ +0008d750: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +0008d760: 466c 5f50 4446 5f46 696c 655f 5375 7266 Fl_PDF_File_Surf │ │ │ +0008d770: 6163 655f 7363 616c 6528 7365 6c66 2c20 ace_scale(self, │ │ │ +0008d780: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +0008d790: 726f 7461 7465 2873 656c 662c 202a 6172 rotate(self, *ar │ │ │ +0008d7a0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +0008d7b0: 2272 6f74 6174 6528 466c 5f50 4446 5f46 "rotate(Fl_PDF_F │ │ │ +0008d7c0: 696c 655f 5375 7266 6163 6520 7365 6c66 ile_Surface self │ │ │ +0008d7d0: 2c20 666c 6f61 7420 616e 676c 6529 2222 , float angle)"" │ │ │ +0008d7e0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0008d7f0: 205f 666c 746b 2e46 6c5f 5044 465f 4669 _fltk.Fl_PDF_Fi │ │ │ +0008d800: 6c65 5f53 7572 6661 6365 5f72 6f74 6174 le_Surface_rotat │ │ │ +0008d810: 6528 7365 6c66 2c20 2a61 7267 7329 0a0a e(self, *args).. │ │ │ +0008d820: 2020 2020 6465 6620 7472 616e 736c 6174 def translat │ │ │ +0008d830: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ +0008d840: 2020 2020 2020 2020 7222 2222 7472 616e r"""tran │ │ │ +0008d850: 736c 6174 6528 466c 5f50 4446 5f46 696c slate(Fl_PDF_Fil │ │ │ +0008d860: 655f 5375 7266 6163 6520 7365 6c66 2c20 e_Surface self, │ │ │ +0008d870: 696e 7420 782c 2069 6e74 2079 2922 2222 int x, int y)""" │ │ │ +0008d880: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +0008d890: 5f66 6c74 6b2e 466c 5f50 4446 5f46 696c _fltk.Fl_PDF_Fil │ │ │ +0008d8a0: 655f 5375 7266 6163 655f 7472 616e 736c e_Surface_transl │ │ │ +0008d8b0: 6174 6528 7365 6c66 2c20 2a61 7267 7329 ate(self, *args) │ │ │ +0008d8c0: 0a0a 2020 2020 6465 6620 756e 7472 616e .. def untran │ │ │ +0008d8d0: 736c 6174 6528 7365 6c66 2c20 2a61 7267 slate(self, *arg │ │ │ +0008d8e0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +0008d8f0: 756e 7472 616e 736c 6174 6528 466c 5f50 untranslate(Fl_P │ │ │ +0008d900: 4446 5f46 696c 655f 5375 7266 6163 6520 DF_File_Surface │ │ │ +0008d910: 7365 6c66 2922 2222 0a20 2020 2020 2020 self)""". │ │ │ +0008d920: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +0008d930: 5f50 4446 5f46 696c 655f 5375 7266 6163 _PDF_File_Surfac │ │ │ +0008d940: 655f 756e 7472 616e 736c 6174 6528 7365 e_untranslate(se │ │ │ +0008d950: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +0008d960: 6465 6620 6265 6769 6e5f 7061 6765 2873 def begin_page(s │ │ │ +0008d970: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +0008d980: 2020 2020 2072 2222 2262 6567 696e 5f70 r"""begin_p │ │ │ +0008d990: 6167 6528 466c 5f50 4446 5f46 696c 655f age(Fl_PDF_File_ │ │ │ +0008d9a0: 5375 7266 6163 6520 7365 6c66 2920 2d3e Surface self) -> │ │ │ +0008d9b0: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ +0008d9c0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +0008d9d0: 5044 465f 4669 6c65 5f53 7572 6661 6365 PDF_File_Surface │ │ │ +0008d9e0: 5f62 6567 696e 5f70 6167 6528 7365 6c66 _begin_page(self │ │ │ +0008d9f0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +0008da00: 6620 656e 645f 7061 6765 2873 656c 662c f end_page(self, │ │ │ +0008da10: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +0008da20: 2072 2222 2265 6e64 5f70 6167 6528 466c r"""end_page(Fl │ │ │ +0008da30: 5f50 4446 5f46 696c 655f 5375 7266 6163 _PDF_File_Surfac │ │ │ +0008da40: 6520 7365 6c66 2920 2d3e 2069 6e74 2222 e self) -> int"" │ │ │ +0008da50: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0008da60: 205f 666c 746b 2e46 6c5f 5044 465f 4669 _fltk.Fl_PDF_Fi │ │ │ +0008da70: 6c65 5f53 7572 6661 6365 5f65 6e64 5f70 le_Surface_end_p │ │ │ +0008da80: 6167 6528 7365 6c66 2c20 2a61 7267 7329 age(self, *args) │ │ │ +0008da90: 0a0a 2020 2020 6465 6620 656e 645f 6a6f .. def end_jo │ │ │ +0008daa0: 6228 7365 6c66 2c20 2a61 7267 7329 3a0a b(self, *args):. │ │ │ +0008dab0: 2020 2020 2020 2020 7222 2222 656e 645f r"""end_ │ │ │ +0008dac0: 6a6f 6228 466c 5f50 4446 5f46 696c 655f job(Fl_PDF_File_ │ │ │ +0008dad0: 5375 7266 6163 6520 7365 6c66 2922 2222 Surface self)""" │ │ │ +0008dae0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +0008daf0: 5f66 6c74 6b2e 466c 5f50 4446 5f46 696c _fltk.Fl_PDF_Fil │ │ │ +0008db00: 655f 5375 7266 6163 655f 656e 645f 6a6f e_Surface_end_jo │ │ │ +0008db10: 6228 7365 6c66 2c20 2a61 7267 7329 0a0a b(self, *args).. │ │ │ +0008db20: 2020 2020 6465 6620 7064 665f 6669 6c65 def pdf_file │ │ │ +0008db30: 6e61 6d65 2873 656c 662c 202a 6172 6773 name(self, *args │ │ │ +0008db40: 293a 0a20 2020 2020 2020 2072 2222 2270 ):. r"""p │ │ │ +0008db50: 6466 5f66 696c 656e 616d 6528 466c 5f50 df_filename(Fl_P │ │ │ +0008db60: 4446 5f46 696c 655f 5375 7266 6163 6520 DF_File_Surface │ │ │ +0008db70: 7365 6c66 2920 2d3e 2063 6861 7220 636f self) -> char co │ │ │ +0008db80: 6e73 7420 2a22 2222 0a20 2020 2020 2020 nst *""". │ │ │ +0008db90: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +0008dba0: 5f50 4446 5f46 696c 655f 5375 7266 6163 _PDF_File_Surfac │ │ │ +0008dbb0: 655f 7064 665f 6669 6c65 6e61 6d65 2873 e_pdf_filename(s │ │ │ +0008dbc0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ +0008dbd0: 2064 6566 2073 6574 5f63 7572 7265 6e74 def set_current │ │ │ +0008dbe0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +0008dbf0: 2020 2020 2020 2072 2222 2273 6574 5f63 r"""set_c │ │ │ +0008dc00: 7572 7265 6e74 2846 6c5f 5044 465f 4669 urrent(Fl_PDF_Fi │ │ │ +0008dc10: 6c65 5f53 7572 6661 6365 2073 656c 6629 le_Surface self) │ │ │ +0008dc20: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +0008dc30: 726e 205f 666c 746b 2e46 6c5f 5044 465f rn _fltk.Fl_PDF_ │ │ │ +0008dc40: 4669 6c65 5f53 7572 6661 6365 5f73 6574 File_Surface_set │ │ │ +0008dc50: 5f63 7572 7265 6e74 2873 656c 662c 202a _current(self, * │ │ │ +0008dc60: 6172 6773 290a 0a20 2020 2064 6566 2069 args).. def i │ │ │ +0008dc70: 735f 6375 7272 656e 7428 7365 6c66 2c20 s_current(self, │ │ │ +0008dc80: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +0008dc90: 7222 2222 6973 5f63 7572 7265 6e74 2846 r"""is_current(F │ │ │ +0008dca0: 6c5f 5044 465f 4669 6c65 5f53 7572 6661 l_PDF_File_Surfa │ │ │ +0008dcb0: 6365 2073 656c 6629 202d 3e20 626f 6f6c ce self) -> bool │ │ │ +0008dcc0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +0008dcd0: 726e 205f 666c 746b 2e46 6c5f 5044 465f rn _fltk.Fl_PDF_ │ │ │ +0008dce0: 4669 6c65 5f53 7572 6661 6365 5f69 735f File_Surface_is_ │ │ │ +0008dcf0: 6375 7272 656e 7428 7365 6c66 2c20 2a61 current(self, *a │ │ │ +0008dd00: 7267 7329 0a20 2020 2064 6566 205f 5f64 rgs). def __d │ │ │ +0008dd10: 6973 6f77 6e5f 5f28 7365 6c66 293a 0a20 isown__(self):. │ │ │ +0008dd20: 2020 2020 2020 2073 656c 662e 7468 6973 self.this │ │ │ +0008dd30: 2e64 6973 6f77 6e28 290a 2020 2020 2020 .disown(). │ │ │ +0008dd40: 2020 5f66 6c74 6b2e 6469 736f 776e 5f46 _fltk.disown_F │ │ │ +0008dd50: 6c5f 5044 465f 4669 6c65 5f53 7572 6661 l_PDF_File_Surfa │ │ │ +0008dd60: 6365 2873 656c 6629 0a20 2020 2020 2020 ce(self). │ │ │ +0008dd70: 2072 6574 7572 6e20 7765 616b 7265 662e return weakref. │ │ │ +0008dd80: 7072 6f78 7928 7365 6c66 290a 0a20 2020 proxy(self).. │ │ │ +0008dd90: 2064 6566 2065 6e64 5f63 7572 7265 6e74 def end_current │ │ │ +0008dda0: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +0008ddb0: 2020 2020 2020 2072 2222 2265 6e64 5f63 r"""end_c │ │ │ +0008ddc0: 7572 7265 6e74 2846 6c5f 5044 465f 4669 urrent(Fl_PDF_Fi │ │ │ +0008ddd0: 6c65 5f53 7572 6661 6365 2073 656c 6629 le_Surface self) │ │ │ +0008dde0: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +0008ddf0: 726e 205f 666c 746b 2e46 6c5f 5044 465f rn _fltk.Fl_PDF_ │ │ │ +0008de00: 4669 6c65 5f53 7572 6661 6365 5f65 6e64 File_Surface_end │ │ │ +0008de10: 5f63 7572 7265 6e74 2873 656c 662c 202a _current(self, * │ │ │ +0008de20: 6172 6773 290a 0a23 2052 6567 6973 7465 args)..# Registe │ │ │ +0008de30: 7220 466c 5f50 4446 5f46 696c 655f 5375 r Fl_PDF_File_Su │ │ │ +0008de40: 7266 6163 6520 696e 205f 666c 746b 3a0a rface in _fltk:. │ │ │ +0008de50: 5f66 6c74 6b2e 466c 5f50 4446 5f46 696c _fltk.Fl_PDF_Fil │ │ │ +0008de60: 655f 5375 7266 6163 655f 7377 6967 7265 e_Surface_swigre │ │ │ +0008de70: 6769 7374 6572 2846 6c5f 5044 465f 4669 gister(Fl_PDF_Fi │ │ │ +0008de80: 6c65 5f53 7572 6661 6365 290a 636c 6173 le_Surface).clas │ │ │ +0008de90: 7320 466c 5f50 6f73 7453 6372 6970 745f s Fl_PostScript_ │ │ │ +0008dea0: 4669 6c65 5f44 6576 6963 6528 466c 5f50 File_Device(Fl_P │ │ │ +0008deb0: 6167 6564 5f44 6576 6963 6529 3a0a 2020 aged_Device):. │ │ │ +0008dec0: 2020 7222 2222 5072 6f78 7920 6f66 2043 r"""Proxy of C │ │ │ +0008ded0: 2b2b 2046 6c5f 506f 7374 5363 7269 7074 ++ Fl_PostScript │ │ │ +0008dee0: 5f46 696c 655f 4465 7669 6365 2063 6c61 _File_Device cla │ │ │ +0008def0: 7373 2e22 2222 0a0a 2020 2020 7468 6973 ss.""".. this │ │ │ +0008df00: 6f77 6e20 3d20 7072 6f70 6572 7479 286c own = property(l │ │ │ +0008df10: 616d 6264 6120 783a 2078 2e74 6869 732e ambda x: x.this. │ │ │ +0008df20: 6f77 6e28 292c 206c 616d 6264 6120 782c own(), lambda x, │ │ │ +0008df30: 2076 3a20 782e 7468 6973 2e6f 776e 2876 v: x.this.own(v │ │ │ +0008df40: 292c 2064 6f63 3d22 5468 6520 6d65 6d62 ), doc="The memb │ │ │ +0008df50: 6572 7368 6970 2066 6c61 6722 290a 2020 ership flag"). │ │ │ +0008df60: 2020 5f5f 7265 7072 5f5f 203d 205f 7377 __repr__ = _sw │ │ │ +0008df70: 6967 5f72 6570 720a 0a20 2020 2064 6566 ig_repr.. def │ │ │ +0008df80: 205f 5f69 6e69 745f 5f28 7365 6c66 2c20 __init__(self, │ │ │ +0008df90: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +0008dfa0: 7222 2222 5f5f 696e 6974 5f5f 2846 6c5f r"""__init__(Fl_ │ │ │ +0008dfb0: 506f 7374 5363 7269 7074 5f46 696c 655f PostScript_File_ │ │ │ +0008dfc0: 4465 7669 6365 2073 656c 6629 202d 3e20 Device self) -> │ │ │ +0008dfd0: 466c 5f50 6f73 7453 6372 6970 745f 4669 Fl_PostScript_Fi │ │ │ +0008dfe0: 6c65 5f44 6576 6963 6522 2222 0a20 2020 le_Device""". │ │ │ +0008dff0: 2020 2020 2069 6620 7365 6c66 2e5f 5f63 if self.__c │ │ │ +0008e000: 6c61 7373 5f5f 203d 3d20 466c 5f50 6f73 lass__ == Fl_Pos │ │ │ +0008e010: 7453 6372 6970 745f 4669 6c65 5f44 6576 tScript_File_Dev │ │ │ +0008e020: 6963 653a 0a20 2020 2020 2020 2020 2020 ice:. │ │ │ +0008e030: 205f 7365 6c66 203d 204e 6f6e 650a 2020 _self = None. │ │ │ +0008e040: 2020 2020 2020 656c 7365 3a0a 2020 2020 else:. │ │ │ +0008e050: 2020 2020 2020 2020 5f73 656c 6620 3d20 _self = │ │ │ +0008e060: 7365 6c66 0a20 2020 2020 2020 205f 666c self. _fl │ │ │ +0008e070: 746b 2e46 6c5f 506f 7374 5363 7269 7074 tk.Fl_PostScript │ │ │ +0008e080: 5f46 696c 655f 4465 7669 6365 5f73 7769 _File_Device_swi │ │ │ +0008e090: 6769 6e69 7428 7365 6c66 2c20 5f66 6c74 ginit(self, _flt │ │ │ +0008e0a0: 6b2e 6e65 775f 466c 5f50 6f73 7453 6372 k.new_Fl_PostScr │ │ │ +0008e0b0: 6970 745f 4669 6c65 5f44 6576 6963 6528 ipt_File_Device( │ │ │ +0008e0c0: 5f73 656c 662c 202a 6172 6773 2929 0a20 _self, *args)). │ │ │ +0008e0d0: 2020 205f 5f73 7769 675f 6465 7374 726f __swig_destro │ │ │ +0008e0e0: 795f 5f20 3d20 5f66 6c74 6b2e 6465 6c65 y__ = _fltk.dele │ │ │ +0008e0f0: 7465 5f46 6c5f 506f 7374 5363 7269 7074 te_Fl_PostScript │ │ │ +0008e100: 5f46 696c 655f 4465 7669 6365 0a0a 2020 _File_Device.. │ │ │ +0008e110: 2020 6465 6620 6265 6769 6e5f 6a6f 6228 def begin_job( │ │ │ +0008e120: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +0008e130: 2020 2020 2020 7222 2222 0a20 2020 2020 r""". │ │ │ +0008e140: 2020 2062 6567 696e 5f6a 6f62 2846 6c5f begin_job(Fl_ │ │ │ +0008e150: 506f 7374 5363 7269 7074 5f46 696c 655f PostScript_File_ │ │ │ +0008e160: 4465 7669 6365 2073 656c 662c 2069 6e74 Device self, int │ │ │ +0008e170: 2070 6167 6563 6f75 6e74 2c20 696e 7420 pagecount, int │ │ │ +0008e180: 2a20 5f66 726f 6d2c 2069 6e74 202a 2074 * _from, int * t │ │ │ +0008e190: 6f2c 2063 6861 7220 2a2a 2070 6572 725f o, char ** perr_ │ │ │ +0008e1a0: 6d65 7373 6167 6529 202d 3e20 696e 740a message) -> int. │ │ │ +0008e1b0: 2020 2020 2020 2020 6265 6769 6e5f 6a6f begin_jo │ │ │ +0008e1c0: 6228 466c 5f50 6f73 7453 6372 6970 745f b(Fl_PostScript_ │ │ │ +0008e1d0: 4669 6c65 5f44 6576 6963 6520 7365 6c66 File_Device self │ │ │ +0008e1e0: 2c20 696e 7420 7061 6765 636f 756e 743d , int pagecount= │ │ │ +0008e1f0: 302c 2065 6e75 6d20 466c 5f50 6167 6564 0, enum Fl_Paged │ │ │ +0008e200: 5f44 6576 6963 653a 3a50 6167 655f 466f _Device::Page_Fo │ │ │ +0008e210: 726d 6174 2066 6f72 6d61 743d 4134 2c20 rmat format=A4, │ │ │ +0008e220: 656e 756d 2046 6c5f 5061 6765 645f 4465 enum Fl_Paged_De │ │ │ +0008e230: 7669 6365 3a3a 5061 6765 5f4c 6179 6f75 vice::Page_Layou │ │ │ +0008e240: 7420 6c61 796f 7574 3d50 4f52 5452 4149 t layout=PORTRAI │ │ │ +0008e250: 5429 202d 3e20 696e 740a 2020 2020 2020 T) -> int. │ │ │ +0008e260: 2020 6265 6769 6e5f 6a6f 6228 466c 5f50 begin_job(Fl_P │ │ │ +0008e270: 6f73 7453 6372 6970 745f 4669 6c65 5f44 ostScript_File_D │ │ │ +0008e280: 6576 6963 6520 7365 6c66 2c20 4649 4c45 evice self, FILE │ │ │ +0008e290: 202a 2070 735f 6f75 7470 7574 2c20 696e * ps_output, in │ │ │ +0008e2a0: 7420 7061 6765 636f 756e 743d 302c 2065 t pagecount=0, e │ │ │ 0008e2b0: 6e75 6d20 466c 5f50 6167 6564 5f44 6576 num Fl_Paged_Dev │ │ │ -0008e2c0: 6963 653a 3a50 6167 655f 4c61 796f 7574 ice::Page_Layout │ │ │ -0008e2d0: 206c 6179 6f75 743d 504f 5254 5241 4954 layout=PORTRAIT │ │ │ -0008e2e0: 2920 2d3e 2069 6e74 0a20 2020 2020 2020 ) -> int. │ │ │ -0008e2f0: 2022 2222 0a20 2020 2020 2020 2072 6574 """. ret │ │ │ -0008e300: 7572 6e20 5f66 6c74 6b2e 466c 5f50 6f73 urn _fltk.Fl_Pos │ │ │ -0008e310: 7453 6372 6970 745f 4669 6c65 5f44 6576 tScript_File_Dev │ │ │ -0008e320: 6963 655f 6265 6769 6e5f 6a6f 6228 7365 ice_begin_job(se │ │ │ -0008e330: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -0008e340: 6465 6620 7374 6172 745f 6a6f 6228 7365 def start_job(se │ │ │ -0008e350: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -0008e360: 2020 2020 7222 2222 0a20 2020 2020 2020 r""". │ │ │ -0008e370: 2073 7461 7274 5f6a 6f62 2846 6c5f 506f start_job(Fl_Po │ │ │ -0008e380: 7374 5363 7269 7074 5f46 696c 655f 4465 stScript_File_De │ │ │ -0008e390: 7669 6365 2073 656c 662c 2069 6e74 2070 vice self, int p │ │ │ -0008e3a0: 6167 6563 6f75 6e74 3d30 2c20 656e 756d agecount=0, enum │ │ │ -0008e3b0: 2046 6c5f 5061 6765 645f 4465 7669 6365 Fl_Paged_Device │ │ │ -0008e3c0: 3a3a 5061 6765 5f46 6f72 6d61 7420 666f ::Page_Format fo │ │ │ -0008e3d0: 726d 6174 3d41 342c 2065 6e75 6d20 466c rmat=A4, enum Fl │ │ │ +0008e2c0: 6963 653a 3a50 6167 655f 466f 726d 6174 ice::Page_Format │ │ │ +0008e2d0: 2066 6f72 6d61 743d 4134 2c20 656e 756d format=A4, enum │ │ │ +0008e2e0: 2046 6c5f 5061 6765 645f 4465 7669 6365 Fl_Paged_Device │ │ │ +0008e2f0: 3a3a 5061 6765 5f4c 6179 6f75 7420 6c61 ::Page_Layout la │ │ │ +0008e300: 796f 7574 3d50 4f52 5452 4149 5429 202d yout=PORTRAIT) - │ │ │ +0008e310: 3e20 696e 740a 2020 2020 2020 2020 2222 > int. "" │ │ │ +0008e320: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ +0008e330: 205f 666c 746b 2e46 6c5f 506f 7374 5363 _fltk.Fl_PostSc │ │ │ +0008e340: 7269 7074 5f46 696c 655f 4465 7669 6365 ript_File_Device │ │ │ +0008e350: 5f62 6567 696e 5f6a 6f62 2873 656c 662c _begin_job(self, │ │ │ +0008e360: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +0008e370: 2073 7461 7274 5f6a 6f62 2873 656c 662c start_job(self, │ │ │ +0008e380: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +0008e390: 2072 2222 220a 2020 2020 2020 2020 7374 r""". st │ │ │ +0008e3a0: 6172 745f 6a6f 6228 466c 5f50 6f73 7453 art_job(Fl_PostS │ │ │ +0008e3b0: 6372 6970 745f 4669 6c65 5f44 6576 6963 cript_File_Devic │ │ │ +0008e3c0: 6520 7365 6c66 2c20 696e 7420 7061 6765 e self, int page │ │ │ +0008e3d0: 636f 756e 743d 302c 2065 6e75 6d20 466c count=0, enum Fl │ │ │ 0008e3e0: 5f50 6167 6564 5f44 6576 6963 653a 3a50 _Paged_Device::P │ │ │ -0008e3f0: 6167 655f 4c61 796f 7574 206c 6179 6f75 age_Layout layou │ │ │ -0008e400: 743d 504f 5254 5241 4954 2920 2d3e 2069 t=PORTRAIT) -> i │ │ │ -0008e410: 6e74 0a20 2020 2020 2020 2073 7461 7274 nt. start │ │ │ -0008e420: 5f6a 6f62 2846 6c5f 506f 7374 5363 7269 _job(Fl_PostScri │ │ │ -0008e430: 7074 5f46 696c 655f 4465 7669 6365 2073 pt_File_Device s │ │ │ -0008e440: 656c 662c 2046 494c 4520 2a20 7073 5f6f elf, FILE * ps_o │ │ │ -0008e450: 7574 7075 742c 2069 6e74 2070 6167 6563 utput, int pagec │ │ │ -0008e460: 6f75 6e74 3d30 2c20 656e 756d 2046 6c5f ount=0, enum Fl_ │ │ │ -0008e470: 5061 6765 645f 4465 7669 6365 3a3a 5061 Paged_Device::Pa │ │ │ -0008e480: 6765 5f46 6f72 6d61 7420 666f 726d 6174 ge_Format format │ │ │ -0008e490: 3d41 342c 2065 6e75 6d20 466c 5f50 6167 =A4, enum Fl_Pag │ │ │ +0008e3f0: 6167 655f 466f 726d 6174 2066 6f72 6d61 age_Format forma │ │ │ +0008e400: 743d 4134 2c20 656e 756d 2046 6c5f 5061 t=A4, enum Fl_Pa │ │ │ +0008e410: 6765 645f 4465 7669 6365 3a3a 5061 6765 ged_Device::Page │ │ │ +0008e420: 5f4c 6179 6f75 7420 6c61 796f 7574 3d50 _Layout layout=P │ │ │ +0008e430: 4f52 5452 4149 5429 202d 3e20 696e 740a ORTRAIT) -> int. │ │ │ +0008e440: 2020 2020 2020 2020 7374 6172 745f 6a6f start_jo │ │ │ +0008e450: 6228 466c 5f50 6f73 7453 6372 6970 745f b(Fl_PostScript_ │ │ │ +0008e460: 4669 6c65 5f44 6576 6963 6520 7365 6c66 File_Device self │ │ │ +0008e470: 2c20 4649 4c45 202a 2070 735f 6f75 7470 , FILE * ps_outp │ │ │ +0008e480: 7574 2c20 696e 7420 7061 6765 636f 756e ut, int pagecoun │ │ │ +0008e490: 743d 302c 2065 6e75 6d20 466c 5f50 6167 t=0, enum Fl_Pag │ │ │ 0008e4a0: 6564 5f44 6576 6963 653a 3a50 6167 655f ed_Device::Page_ │ │ │ -0008e4b0: 4c61 796f 7574 206c 6179 6f75 743d 504f Layout layout=PO │ │ │ -0008e4c0: 5254 5241 4954 2920 2d3e 2069 6e74 0a20 RTRAIT) -> int. │ │ │ -0008e4d0: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ -0008e4e0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -0008e4f0: 466c 5f50 6f73 7453 6372 6970 745f 4669 Fl_PostScript_Fi │ │ │ -0008e500: 6c65 5f44 6576 6963 655f 7374 6172 745f le_Device_start_ │ │ │ -0008e510: 6a6f 6228 7365 6c66 2c20 2a61 7267 7329 job(self, *args) │ │ │ -0008e520: 0a0a 2020 2020 6465 6620 6265 6769 6e5f .. def begin_ │ │ │ -0008e530: 7061 6765 2873 656c 662c 202a 6172 6773 page(self, *args │ │ │ -0008e540: 293a 0a20 2020 2020 2020 2072 2222 2262 ):. r"""b │ │ │ -0008e550: 6567 696e 5f70 6167 6528 466c 5f50 6f73 egin_page(Fl_Pos │ │ │ -0008e560: 7453 6372 6970 745f 4669 6c65 5f44 6576 tScript_File_Dev │ │ │ -0008e570: 6963 6520 7365 6c66 2920 2d3e 2069 6e74 ice self) -> int │ │ │ -0008e580: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -0008e590: 726e 205f 666c 746b 2e46 6c5f 506f 7374 rn _fltk.Fl_Post │ │ │ -0008e5a0: 5363 7269 7074 5f46 696c 655f 4465 7669 Script_File_Devi │ │ │ -0008e5b0: 6365 5f62 6567 696e 5f70 6167 6528 7365 ce_begin_page(se │ │ │ -0008e5c0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -0008e5d0: 6465 6620 7072 696e 7461 626c 655f 7265 def printable_re │ │ │ -0008e5e0: 6374 2873 656c 662c 202a 6172 6773 293a ct(self, *args): │ │ │ -0008e5f0: 0a20 2020 2020 2020 2072 2222 2270 7269 . r"""pri │ │ │ -0008e600: 6e74 6162 6c65 5f72 6563 7428 466c 5f50 ntable_rect(Fl_P │ │ │ -0008e610: 6f73 7453 6372 6970 745f 4669 6c65 5f44 ostScript_File_D │ │ │ -0008e620: 6576 6963 6520 7365 6c66 2920 2d3e 2069 evice self) -> i │ │ │ -0008e630: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ -0008e640: 7475 726e 205f 666c 746b 2e46 6c5f 506f turn _fltk.Fl_Po │ │ │ -0008e650: 7374 5363 7269 7074 5f46 696c 655f 4465 stScript_File_De │ │ │ -0008e660: 7669 6365 5f70 7269 6e74 6162 6c65 5f72 vice_printable_r │ │ │ -0008e670: 6563 7428 7365 6c66 2c20 2a61 7267 7329 ect(self, *args) │ │ │ -0008e680: 0a0a 2020 2020 6465 6620 6d61 7267 696e .. def margin │ │ │ -0008e690: 7328 7365 6c66 2c20 2a61 7267 7329 3a0a s(self, *args):. │ │ │ -0008e6a0: 2020 2020 2020 2020 7222 2222 6d61 7267 r"""marg │ │ │ -0008e6b0: 696e 7328 466c 5f50 6f73 7453 6372 6970 ins(Fl_PostScrip │ │ │ -0008e6c0: 745f 4669 6c65 5f44 6576 6963 6520 7365 t_File_Device se │ │ │ -0008e6d0: 6c66 2922 2222 0a20 2020 2020 2020 2072 lf)""". r │ │ │ -0008e6e0: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f50 eturn _fltk.Fl_P │ │ │ -0008e6f0: 6f73 7453 6372 6970 745f 4669 6c65 5f44 ostScript_File_D │ │ │ -0008e700: 6576 6963 655f 6d61 7267 696e 7328 7365 evice_margins(se │ │ │ -0008e710: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -0008e720: 6465 6620 6f72 6967 696e 2873 656c 662c def origin(self, │ │ │ -0008e730: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ -0008e740: 2072 2222 220a 2020 2020 2020 2020 6f72 r""". or │ │ │ -0008e750: 6967 696e 2846 6c5f 506f 7374 5363 7269 igin(Fl_PostScri │ │ │ -0008e760: 7074 5f46 696c 655f 4465 7669 6365 2073 pt_File_Device s │ │ │ -0008e770: 656c 6629 0a20 2020 2020 2020 206f 7269 elf). ori │ │ │ -0008e780: 6769 6e28 466c 5f50 6f73 7453 6372 6970 gin(Fl_PostScrip │ │ │ -0008e790: 745f 4669 6c65 5f44 6576 6963 6520 7365 t_File_Device se │ │ │ -0008e7a0: 6c66 2c20 696e 7420 782c 2069 6e74 2079 lf, int x, int y │ │ │ -0008e7b0: 290a 2020 2020 2020 2020 2222 220a 2020 ). """. │ │ │ -0008e7c0: 2020 2020 2020 7265 7475 726e 205f 666c return _fl │ │ │ -0008e7d0: 746b 2e46 6c5f 506f 7374 5363 7269 7074 tk.Fl_PostScript │ │ │ -0008e7e0: 5f46 696c 655f 4465 7669 6365 5f6f 7269 _File_Device_ori │ │ │ -0008e7f0: 6769 6e28 7365 6c66 2c20 2a61 7267 7329 gin(self, *args) │ │ │ -0008e800: 0a0a 2020 2020 6465 6620 7363 616c 6528 .. def scale( │ │ │ -0008e810: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -0008e820: 2020 2020 2020 7222 2222 7363 616c 6528 r"""scale( │ │ │ -0008e830: 466c 5f50 6f73 7453 6372 6970 745f 4669 Fl_PostScript_Fi │ │ │ -0008e840: 6c65 5f44 6576 6963 6520 7365 6c66 2c20 le_Device self, │ │ │ -0008e850: 666c 6f61 7420 7363 616c 655f 782c 2066 float scale_x, f │ │ │ -0008e860: 6c6f 6174 2073 6361 6c65 5f79 3d30 2e29 loat scale_y=0.) │ │ │ -0008e870: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ -0008e880: 726e 205f 666c 746b 2e46 6c5f 506f 7374 rn _fltk.Fl_Post │ │ │ -0008e890: 5363 7269 7074 5f46 696c 655f 4465 7669 Script_File_Devi │ │ │ -0008e8a0: 6365 5f73 6361 6c65 2873 656c 662c 202a ce_scale(self, * │ │ │ -0008e8b0: 6172 6773 290a 0a20 2020 2064 6566 2072 args).. def r │ │ │ -0008e8c0: 6f74 6174 6528 7365 6c66 2c20 2a61 7267 otate(self, *arg │ │ │ -0008e8d0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0008e8e0: 726f 7461 7465 2846 6c5f 506f 7374 5363 rotate(Fl_PostSc │ │ │ -0008e8f0: 7269 7074 5f46 696c 655f 4465 7669 6365 ript_File_Device │ │ │ -0008e900: 2073 656c 662c 2066 6c6f 6174 2061 6e67 self, float ang │ │ │ -0008e910: 6c65 2922 2222 0a20 2020 2020 2020 2072 le)""". r │ │ │ -0008e920: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f50 eturn _fltk.Fl_P │ │ │ -0008e930: 6f73 7453 6372 6970 745f 4669 6c65 5f44 ostScript_File_D │ │ │ -0008e940: 6576 6963 655f 726f 7461 7465 2873 656c evice_rotate(sel │ │ │ -0008e950: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -0008e960: 6566 2074 7261 6e73 6c61 7465 2873 656c ef translate(sel │ │ │ -0008e970: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -0008e980: 2020 2072 2222 2274 7261 6e73 6c61 7465 r"""translate │ │ │ -0008e990: 2846 6c5f 506f 7374 5363 7269 7074 5f46 (Fl_PostScript_F │ │ │ -0008e9a0: 696c 655f 4465 7669 6365 2073 656c 662c ile_Device self, │ │ │ -0008e9b0: 2069 6e74 2078 2c20 696e 7420 7929 2222 int x, int y)"" │ │ │ -0008e9c0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -0008e9d0: 205f 666c 746b 2e46 6c5f 506f 7374 5363 _fltk.Fl_PostSc │ │ │ -0008e9e0: 7269 7074 5f46 696c 655f 4465 7669 6365 ript_File_Device │ │ │ -0008e9f0: 5f74 7261 6e73 6c61 7465 2873 656c 662c _translate(self, │ │ │ -0008ea00: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -0008ea10: 2075 6e74 7261 6e73 6c61 7465 2873 656c untranslate(sel │ │ │ -0008ea20: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -0008ea30: 2020 2072 2222 2275 6e74 7261 6e73 6c61 r"""untransla │ │ │ -0008ea40: 7465 2846 6c5f 506f 7374 5363 7269 7074 te(Fl_PostScript │ │ │ -0008ea50: 5f46 696c 655f 4465 7669 6365 2073 656c _File_Device sel │ │ │ -0008ea60: 6629 2222 220a 2020 2020 2020 2020 7265 f)""". re │ │ │ -0008ea70: 7475 726e 205f 666c 746b 2e46 6c5f 506f turn _fltk.Fl_Po │ │ │ -0008ea80: 7374 5363 7269 7074 5f46 696c 655f 4465 stScript_File_De │ │ │ -0008ea90: 7669 6365 5f75 6e74 7261 6e73 6c61 7465 vice_untranslate │ │ │ -0008eaa0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -0008eab0: 2020 2064 6566 2065 6e64 5f70 6167 6528 def end_page( │ │ │ -0008eac0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -0008ead0: 2020 2020 2020 7222 2222 656e 645f 7061 r"""end_pa │ │ │ -0008eae0: 6765 2846 6c5f 506f 7374 5363 7269 7074 ge(Fl_PostScript │ │ │ -0008eaf0: 5f46 696c 655f 4465 7669 6365 2073 656c _File_Device sel │ │ │ -0008eb00: 6629 202d 3e20 696e 7422 2222 0a20 2020 f) -> int""". │ │ │ -0008eb10: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -0008eb20: 6b2e 466c 5f50 6f73 7453 6372 6970 745f k.Fl_PostScript_ │ │ │ -0008eb30: 4669 6c65 5f44 6576 6963 655f 656e 645f File_Device_end_ │ │ │ -0008eb40: 7061 6765 2873 656c 662c 202a 6172 6773 page(self, *args │ │ │ -0008eb50: 290a 0a20 2020 2064 6566 2065 6e64 5f6a ).. def end_j │ │ │ -0008eb60: 6f62 2873 656c 662c 202a 6172 6773 293a ob(self, *args): │ │ │ -0008eb70: 0a20 2020 2020 2020 2072 2222 2265 6e64 . r"""end │ │ │ -0008eb80: 5f6a 6f62 2846 6c5f 506f 7374 5363 7269 _job(Fl_PostScri │ │ │ -0008eb90: 7074 5f46 696c 655f 4465 7669 6365 2073 pt_File_Device s │ │ │ -0008eba0: 656c 6629 2222 220a 2020 2020 2020 2020 elf)""". │ │ │ -0008ebb0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -0008ebc0: 506f 7374 5363 7269 7074 5f46 696c 655f PostScript_File_ │ │ │ -0008ebd0: 4465 7669 6365 5f65 6e64 5f6a 6f62 2873 Device_end_job(s │ │ │ -0008ebe0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -0008ebf0: 2064 6566 2066 696c 6528 7365 6c66 2c20 def file(self, │ │ │ -0008ec00: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -0008ec10: 7222 2222 6669 6c65 2846 6c5f 506f 7374 r"""file(Fl_Post │ │ │ -0008ec20: 5363 7269 7074 5f46 696c 655f 4465 7669 Script_File_Devi │ │ │ -0008ec30: 6365 2073 656c 6629 202d 3e20 4649 4c45 ce self) -> FILE │ │ │ -0008ec40: 202a 2222 220a 2020 2020 2020 2020 7265 *""". re │ │ │ -0008ec50: 7475 726e 205f 666c 746b 2e46 6c5f 506f turn _fltk.Fl_Po │ │ │ -0008ec60: 7374 5363 7269 7074 5f46 696c 655f 4465 stScript_File_De │ │ │ -0008ec70: 7669 6365 5f66 696c 6528 7365 6c66 2c20 vice_file(self, │ │ │ -0008ec80: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -0008ec90: 636c 6f73 655f 636f 6d6d 616e 6428 7365 close_command(se │ │ │ -0008eca0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -0008ecb0: 2020 2020 7222 2222 636c 6f73 655f 636f r"""close_co │ │ │ -0008ecc0: 6d6d 616e 6428 466c 5f50 6f73 7453 6372 mmand(Fl_PostScr │ │ │ -0008ecd0: 6970 745f 4669 6c65 5f44 6576 6963 6520 ipt_File_Device │ │ │ -0008ece0: 7365 6c66 2c20 466c 5f50 6f73 7453 6372 self, Fl_PostScr │ │ │ -0008ecf0: 6970 745f 436c 6f73 655f 436f 6d6d 616e ipt_Close_Comman │ │ │ -0008ed00: 6420 636d 6429 2222 220a 2020 2020 2020 d cmd)""". │ │ │ -0008ed10: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ -0008ed20: 6c5f 506f 7374 5363 7269 7074 5f46 696c l_PostScript_Fil │ │ │ -0008ed30: 655f 4465 7669 6365 5f63 6c6f 7365 5f63 e_Device_close_c │ │ │ -0008ed40: 6f6d 6d61 6e64 2873 656c 662c 202a 6172 ommand(self, *ar │ │ │ -0008ed50: 6773 290a 0a20 2020 2064 6566 2073 6574 gs).. def set │ │ │ -0008ed60: 5f63 7572 7265 6e74 2873 656c 662c 202a _current(self, * │ │ │ -0008ed70: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -0008ed80: 2222 2273 6574 5f63 7572 7265 6e74 2846 """set_current(F │ │ │ -0008ed90: 6c5f 506f 7374 5363 7269 7074 5f46 696c l_PostScript_Fil │ │ │ -0008eda0: 655f 4465 7669 6365 2073 656c 6629 2222 e_Device self)"" │ │ │ -0008edb0: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -0008edc0: 205f 666c 746b 2e46 6c5f 506f 7374 5363 _fltk.Fl_PostSc │ │ │ -0008edd0: 7269 7074 5f46 696c 655f 4465 7669 6365 ript_File_Device │ │ │ -0008ede0: 5f73 6574 5f63 7572 7265 6e74 2873 656c _set_current(sel │ │ │ -0008edf0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -0008ee00: 6566 2065 6e64 5f63 7572 7265 6e74 2873 ef end_current(s │ │ │ -0008ee10: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ -0008ee20: 2020 2020 2072 2222 2265 6e64 5f63 7572 r"""end_cur │ │ │ -0008ee30: 7265 6e74 2846 6c5f 506f 7374 5363 7269 rent(Fl_PostScri │ │ │ -0008ee40: 7074 5f46 696c 655f 4465 7669 6365 2073 pt_File_Device s │ │ │ -0008ee50: 656c 6629 2222 220a 2020 2020 2020 2020 elf)""". │ │ │ -0008ee60: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -0008ee70: 506f 7374 5363 7269 7074 5f46 696c 655f PostScript_File_ │ │ │ -0008ee80: 4465 7669 6365 5f65 6e64 5f63 7572 7265 Device_end_curre │ │ │ -0008ee90: 6e74 2873 656c 662c 202a 6172 6773 290a nt(self, *args). │ │ │ -0008eea0: 2020 2020 6465 6620 5f5f 6469 736f 776e def __disown │ │ │ -0008eeb0: 5f5f 2873 656c 6629 3a0a 2020 2020 2020 __(self):. │ │ │ -0008eec0: 2020 7365 6c66 2e74 6869 732e 6469 736f self.this.diso │ │ │ -0008eed0: 776e 2829 0a20 2020 2020 2020 205f 666c wn(). _fl │ │ │ -0008eee0: 746b 2e64 6973 6f77 6e5f 466c 5f50 6f73 tk.disown_Fl_Pos │ │ │ -0008eef0: 7453 6372 6970 745f 4669 6c65 5f44 6576 tScript_File_Dev │ │ │ -0008ef00: 6963 6528 7365 6c66 290a 2020 2020 2020 ice(self). │ │ │ -0008ef10: 2020 7265 7475 726e 2077 6561 6b72 6566 return weakref │ │ │ -0008ef20: 2e70 726f 7879 2873 656c 6629 0a0a 2320 .proxy(self)..# │ │ │ -0008ef30: 5265 6769 7374 6572 2046 6c5f 506f 7374 Register Fl_Post │ │ │ -0008ef40: 5363 7269 7074 5f46 696c 655f 4465 7669 Script_File_Devi │ │ │ -0008ef50: 6365 2069 6e20 5f66 6c74 6b3a 0a5f 666c ce in _fltk:._fl │ │ │ -0008ef60: 746b 2e46 6c5f 506f 7374 5363 7269 7074 tk.Fl_PostScript │ │ │ -0008ef70: 5f46 696c 655f 4465 7669 6365 5f73 7769 _File_Device_swi │ │ │ -0008ef80: 6772 6567 6973 7465 7228 466c 5f50 6f73 gregister(Fl_Pos │ │ │ -0008ef90: 7453 6372 6970 745f 4669 6c65 5f44 6576 tScript_File_Dev │ │ │ -0008efa0: 6963 6529 0a63 6c61 7373 2046 6c5f 4550 ice).class Fl_EP │ │ │ -0008efb0: 535f 4669 6c65 5f53 7572 6661 6365 2846 S_File_Surface(F │ │ │ -0008efc0: 6c5f 5769 6467 6574 5f53 7572 6661 6365 l_Widget_Surface │ │ │ -0008efd0: 293a 0a20 2020 2072 2222 2250 726f 7879 ):. r"""Proxy │ │ │ -0008efe0: 206f 6620 432b 2b20 466c 5f45 5053 5f46 of C++ Fl_EPS_F │ │ │ -0008eff0: 696c 655f 5375 7266 6163 6520 636c 6173 ile_Surface clas │ │ │ -0008f000: 732e 2222 220a 0a20 2020 2074 6869 736f s.""".. thiso │ │ │ -0008f010: 776e 203d 2070 726f 7065 7274 7928 6c61 wn = property(la │ │ │ -0008f020: 6d62 6461 2078 3a20 782e 7468 6973 2e6f mbda x: x.this.o │ │ │ -0008f030: 776e 2829 2c20 6c61 6d62 6461 2078 2c20 wn(), lambda x, │ │ │ -0008f040: 763a 2078 2e74 6869 732e 6f77 6e28 7629 v: x.this.own(v) │ │ │ -0008f050: 2c20 646f 633d 2254 6865 206d 656d 6265 , doc="The membe │ │ │ -0008f060: 7273 6869 7020 666c 6167 2229 0a20 2020 rship flag"). │ │ │ -0008f070: 205f 5f72 6570 725f 5f20 3d20 5f73 7769 __repr__ = _swi │ │ │ -0008f080: 675f 7265 7072 0a0a 2020 2020 6465 6620 g_repr.. def │ │ │ -0008f090: 5f5f 696e 6974 5f5f 2873 656c 662c 202a __init__(self, * │ │ │ -0008f0a0: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -0008f0b0: 2222 225f 5f69 6e69 745f 5f28 466c 5f45 """__init__(Fl_E │ │ │ -0008f0c0: 5053 5f46 696c 655f 5375 7266 6163 6520 PS_File_Surface │ │ │ -0008f0d0: 7365 6c66 2c20 696e 7420 7769 6474 682c self, int width, │ │ │ -0008f0e0: 2069 6e74 2068 6569 6768 742c 2046 494c int height, FIL │ │ │ -0008f0f0: 4520 2a20 6570 735f 6f75 7470 7574 2c20 E * eps_output, │ │ │ -0008f100: 466c 5f43 6f6c 6f72 2062 6163 6b67 726f Fl_Color backgro │ │ │ -0008f110: 756e 643d 2c20 466c 5f50 6f73 7453 6372 und=, Fl_PostScr │ │ │ -0008f120: 6970 745f 436c 6f73 655f 436f 6d6d 616e ipt_Close_Comman │ │ │ -0008f130: 6420 636c 6f73 6566 3d4e 6f6e 6529 202d d closef=None) - │ │ │ -0008f140: 3e20 466c 5f45 5053 5f46 696c 655f 5375 > Fl_EPS_File_Su │ │ │ -0008f150: 7266 6163 6522 2222 0a20 2020 2020 2020 rface""". │ │ │ -0008f160: 205f 666c 746b 2e46 6c5f 4550 535f 4669 _fltk.Fl_EPS_Fi │ │ │ -0008f170: 6c65 5f53 7572 6661 6365 5f73 7769 6769 le_Surface_swigi │ │ │ -0008f180: 6e69 7428 7365 6c66 2c20 5f66 6c74 6b2e nit(self, _fltk. │ │ │ -0008f190: 6e65 775f 466c 5f45 5053 5f46 696c 655f new_Fl_EPS_File_ │ │ │ -0008f1a0: 5375 7266 6163 6528 2a61 7267 7329 290a Surface(*args)). │ │ │ -0008f1b0: 2020 2020 5f5f 7377 6967 5f64 6573 7472 __swig_destr │ │ │ -0008f1c0: 6f79 5f5f 203d 205f 666c 746b 2e64 656c oy__ = _fltk.del │ │ │ -0008f1d0: 6574 655f 466c 5f45 5053 5f46 696c 655f ete_Fl_EPS_File_ │ │ │ -0008f1e0: 5375 7266 6163 650a 0a20 2020 2064 6566 Surface.. def │ │ │ -0008f1f0: 2070 7269 6e74 6162 6c65 5f72 6563 7428 printable_rect( │ │ │ -0008f200: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -0008f210: 2020 2020 2020 7222 2222 7072 696e 7461 r"""printa │ │ │ -0008f220: 626c 655f 7265 6374 2846 6c5f 4550 535f ble_rect(Fl_EPS_ │ │ │ -0008f230: 4669 6c65 5f53 7572 6661 6365 2073 656c File_Surface sel │ │ │ -0008f240: 6629 202d 3e20 696e 7422 2222 0a20 2020 f) -> int""". │ │ │ -0008f250: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -0008f260: 6b2e 466c 5f45 5053 5f46 696c 655f 5375 k.Fl_EPS_File_Su │ │ │ -0008f270: 7266 6163 655f 7072 696e 7461 626c 655f rface_printable_ │ │ │ -0008f280: 7265 6374 2873 656c 662c 202a 6172 6773 rect(self, *args │ │ │ -0008f290: 290a 0a20 2020 2064 6566 2066 696c 6528 ).. def file( │ │ │ -0008f2a0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -0008f2b0: 2020 2020 2020 7222 2222 6669 6c65 2846 r"""file(F │ │ │ -0008f2c0: 6c5f 4550 535f 4669 6c65 5f53 7572 6661 l_EPS_File_Surfa │ │ │ -0008f2d0: 6365 2073 656c 6629 202d 3e20 4649 4c45 ce self) -> FILE │ │ │ -0008f2e0: 202a 2222 220a 2020 2020 2020 2020 7265 *""". re │ │ │ -0008f2f0: 7475 726e 205f 666c 746b 2e46 6c5f 4550 turn _fltk.Fl_EP │ │ │ -0008f300: 535f 4669 6c65 5f53 7572 6661 6365 5f66 S_File_Surface_f │ │ │ -0008f310: 696c 6528 7365 6c66 2c20 2a61 7267 7329 ile(self, *args) │ │ │ -0008f320: 0a0a 2020 2020 6465 6620 6f72 6967 696e .. def origin │ │ │ -0008f330: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ -0008f340: 2020 2020 2020 2072 2222 220a 2020 2020 r""". │ │ │ -0008f350: 2020 2020 6f72 6967 696e 2846 6c5f 4550 origin(Fl_EP │ │ │ -0008f360: 535f 4669 6c65 5f53 7572 6661 6365 2073 S_File_Surface s │ │ │ -0008f370: 656c 662c 2069 6e74 2078 2c20 696e 7420 elf, int x, int │ │ │ -0008f380: 7929 0a20 2020 2020 2020 206f 7269 6769 y). origi │ │ │ -0008f390: 6e28 466c 5f45 5053 5f46 696c 655f 5375 n(Fl_EPS_File_Su │ │ │ -0008f3a0: 7266 6163 6520 7365 6c66 2c20 696e 7420 rface self, int │ │ │ -0008f3b0: 2a20 7078 2c20 696e 7420 2a20 7079 290a * px, int * py). │ │ │ -0008f3c0: 2020 2020 2020 2020 2222 220a 2020 2020 """. │ │ │ -0008f3d0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -0008f3e0: 2e46 6c5f 4550 535f 4669 6c65 5f53 7572 .Fl_EPS_File_Sur │ │ │ -0008f3f0: 6661 6365 5f6f 7269 6769 6e28 7365 6c66 face_origin(self │ │ │ -0008f400: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ -0008f410: 6620 7472 616e 736c 6174 6528 7365 6c66 f translate(self │ │ │ -0008f420: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ -0008f430: 2020 7222 2222 7472 616e 736c 6174 6528 r"""translate( │ │ │ -0008f440: 466c 5f45 5053 5f46 696c 655f 5375 7266 Fl_EPS_File_Surf │ │ │ -0008f450: 6163 6520 7365 6c66 2c20 696e 7420 782c ace self, int x, │ │ │ -0008f460: 2069 6e74 2079 2922 2222 0a20 2020 2020 int y)""". │ │ │ -0008f470: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -0008f480: 466c 5f45 5053 5f46 696c 655f 5375 7266 Fl_EPS_File_Surf │ │ │ -0008f490: 6163 655f 7472 616e 736c 6174 6528 7365 ace_translate(se │ │ │ -0008f4a0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ -0008f4b0: 6465 6620 756e 7472 616e 736c 6174 6528 def untranslate( │ │ │ -0008f4c0: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -0008f4d0: 2020 2020 2020 7222 2222 756e 7472 616e r"""untran │ │ │ -0008f4e0: 736c 6174 6528 466c 5f45 5053 5f46 696c slate(Fl_EPS_Fil │ │ │ -0008f4f0: 655f 5375 7266 6163 6520 7365 6c66 2922 e_Surface self)" │ │ │ -0008f500: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -0008f510: 6e20 5f66 6c74 6b2e 466c 5f45 5053 5f46 n _fltk.Fl_EPS_F │ │ │ -0008f520: 696c 655f 5375 7266 6163 655f 756e 7472 ile_Surface_untr │ │ │ -0008f530: 616e 736c 6174 6528 7365 6c66 2c20 2a61 anslate(self, *a │ │ │ -0008f540: 7267 7329 0a0a 2020 2020 6465 6620 636c rgs).. def cl │ │ │ -0008f550: 6f73 6528 7365 6c66 2c20 2a61 7267 7329 ose(self, *args) │ │ │ -0008f560: 3a0a 2020 2020 2020 2020 7222 2222 636c :. r"""cl │ │ │ -0008f570: 6f73 6528 466c 5f45 5053 5f46 696c 655f ose(Fl_EPS_File_ │ │ │ -0008f580: 5375 7266 6163 6520 7365 6c66 2920 2d3e Surface self) -> │ │ │ -0008f590: 2069 6e74 2222 220a 2020 2020 2020 2020 int""". │ │ │ -0008f5a0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ -0008f5b0: 4550 535f 4669 6c65 5f53 7572 6661 6365 EPS_File_Surface │ │ │ -0008f5c0: 5f63 6c6f 7365 2873 656c 662c 202a 6172 _close(self, *ar │ │ │ -0008f5d0: 6773 290a 0a23 2052 6567 6973 7465 7220 gs)..# Register │ │ │ -0008f5e0: 466c 5f45 5053 5f46 696c 655f 5375 7266 Fl_EPS_File_Surf │ │ │ -0008f5f0: 6163 6520 696e 205f 666c 746b 3a0a 5f66 ace in _fltk:._f │ │ │ -0008f600: 6c74 6b2e 466c 5f45 5053 5f46 696c 655f ltk.Fl_EPS_File_ │ │ │ -0008f610: 5375 7266 6163 655f 7377 6967 7265 6769 Surface_swigregi │ │ │ -0008f620: 7374 6572 2846 6c5f 4550 535f 4669 6c65 ster(Fl_EPS_File │ │ │ -0008f630: 5f53 7572 6661 6365 290a 636c 6173 7320 _Surface).class │ │ │ -0008f640: 466c 5f50 7269 6e74 6572 2846 6c5f 5061 Fl_Printer(Fl_Pa │ │ │ -0008f650: 6765 645f 4465 7669 6365 293a 0a20 2020 ged_Device):. │ │ │ -0008f660: 2072 2222 220a 0a20 2020 2044 6563 6c61 r""".. Decla │ │ │ -0008f670: 7261 7469 6f6e 206f 6620 636c 6173 7365 ration of classe │ │ │ -0008f680: 7320 466c 5f50 7269 6e74 6572 2c20 466c s Fl_Printer, Fl │ │ │ -0008f690: 5f53 7973 7465 6d5f 5072 696e 7465 7220 _System_Printer │ │ │ -0008f6a0: 616e 6420 466c 5f50 6f73 7453 6372 6970 and Fl_PostScrip │ │ │ -0008f6b0: 745f 5072 696e 7465 722e 0a0a 2020 2020 t_Printer... │ │ │ -0008f6c0: 2222 220a 0a20 2020 2074 6869 736f 776e """.. thisown │ │ │ -0008f6d0: 203d 2070 726f 7065 7274 7928 6c61 6d62 = property(lamb │ │ │ -0008f6e0: 6461 2078 3a20 782e 7468 6973 2e6f 776e da x: x.this.own │ │ │ -0008f6f0: 2829 2c20 6c61 6d62 6461 2078 2c20 763a (), lambda x, v: │ │ │ -0008f700: 2078 2e74 6869 732e 6f77 6e28 7629 2c20 x.this.own(v), │ │ │ -0008f710: 646f 633d 2254 6865 206d 656d 6265 7273 doc="The members │ │ │ -0008f720: 6869 7020 666c 6167 2229 0a20 2020 205f hip flag"). _ │ │ │ -0008f730: 5f72 6570 725f 5f20 3d20 5f73 7769 675f _repr__ = _swig_ │ │ │ -0008f740: 7265 7072 0a0a 2020 2020 6465 6620 5f5f repr.. def __ │ │ │ -0008f750: 696e 6974 5f5f 2873 656c 662c 202a 6172 init__(self, *ar │ │ │ -0008f760: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -0008f770: 225f 5f69 6e69 745f 5f28 466c 5f50 7269 "__init__(Fl_Pri │ │ │ -0008f780: 6e74 6572 2073 656c 6629 202d 3e20 466c nter self) -> Fl │ │ │ -0008f790: 5f50 7269 6e74 6572 2222 220a 2020 2020 _Printer""". │ │ │ -0008f7a0: 2020 2020 6966 2073 656c 662e 5f5f 636c if self.__cl │ │ │ -0008f7b0: 6173 735f 5f20 3d3d 2046 6c5f 5072 696e ass__ == Fl_Prin │ │ │ -0008f7c0: 7465 723a 0a20 2020 2020 2020 2020 2020 ter:. │ │ │ -0008f7d0: 205f 7365 6c66 203d 204e 6f6e 650a 2020 _self = None. │ │ │ -0008f7e0: 2020 2020 2020 656c 7365 3a0a 2020 2020 else:. │ │ │ -0008f7f0: 2020 2020 2020 2020 5f73 656c 6620 3d20 _self = │ │ │ -0008f800: 7365 6c66 0a20 2020 2020 2020 205f 666c self. _fl │ │ │ -0008f810: 746b 2e46 6c5f 5072 696e 7465 725f 7377 tk.Fl_Printer_sw │ │ │ -0008f820: 6967 696e 6974 2873 656c 662c 205f 666c iginit(self, _fl │ │ │ -0008f830: 746b 2e6e 6577 5f46 6c5f 5072 696e 7465 tk.new_Fl_Printe │ │ │ -0008f840: 7228 5f73 656c 662c 202a 6172 6773 2929 r(_self, *args)) │ │ │ -0008f850: 0a0a 2020 2020 6465 6620 6265 6769 6e5f .. def begin_ │ │ │ -0008f860: 6a6f 6228 7365 6c66 2c20 2a61 7267 7329 job(self, *args) │ │ │ -0008f870: 3a0a 2020 2020 2020 2020 7222 2222 6265 :. r"""be │ │ │ -0008f880: 6769 6e5f 6a6f 6228 466c 5f50 7269 6e74 gin_job(Fl_Print │ │ │ -0008f890: 6572 2073 656c 662c 2069 6e74 2070 6167 er self, int pag │ │ │ -0008f8a0: 6563 6f75 6e74 3d30 2c20 696e 7420 2a20 ecount=0, int * │ │ │ -0008f8b0: 6672 6f6d 7061 6765 3d4e 6f6e 652c 2069 frompage=None, i │ │ │ -0008f8c0: 6e74 202a 2074 6f70 6167 653d 4e6f 6e65 nt * topage=None │ │ │ -0008f8d0: 2c20 6368 6172 202a 2a20 7065 7272 5f6d , char ** perr_m │ │ │ -0008f8e0: 6573 7361 6765 3d4e 6f6e 6529 202d 3e20 essage=None) -> │ │ │ -0008f8f0: 696e 7422 2222 0a20 2020 2020 2020 2072 int""". r │ │ │ -0008f900: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f50 eturn _fltk.Fl_P │ │ │ -0008f910: 7269 6e74 6572 5f62 6567 696e 5f6a 6f62 rinter_begin_job │ │ │ -0008f920: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -0008f930: 2020 2064 6566 2062 6567 696e 5f70 6167 def begin_pag │ │ │ -0008f940: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ -0008f950: 2020 2020 2020 2020 7222 2222 6265 6769 r"""begi │ │ │ -0008f960: 6e5f 7061 6765 2846 6c5f 5072 696e 7465 n_page(Fl_Printe │ │ │ -0008f970: 7220 7365 6c66 2920 2d3e 2069 6e74 2222 r self) -> int"" │ │ │ -0008f980: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -0008f990: 205f 666c 746b 2e46 6c5f 5072 696e 7465 _fltk.Fl_Printe │ │ │ -0008f9a0: 725f 6265 6769 6e5f 7061 6765 2873 656c r_begin_page(sel │ │ │ -0008f9b0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ -0008f9c0: 6566 2070 7269 6e74 6162 6c65 5f72 6563 ef printable_rec │ │ │ -0008f9d0: 7428 7365 6c66 2c20 2a61 7267 7329 3a0a t(self, *args):. │ │ │ -0008f9e0: 2020 2020 2020 2020 7222 2222 7072 696e r"""prin │ │ │ -0008f9f0: 7461 626c 655f 7265 6374 2846 6c5f 5072 table_rect(Fl_Pr │ │ │ -0008fa00: 696e 7465 7220 7365 6c66 2920 2d3e 2069 inter self) -> i │ │ │ -0008fa10: 6e74 2222 220a 2020 2020 2020 2020 7265 nt""". re │ │ │ -0008fa20: 7475 726e 205f 666c 746b 2e46 6c5f 5072 turn _fltk.Fl_Pr │ │ │ -0008fa30: 696e 7465 725f 7072 696e 7461 626c 655f inter_printable_ │ │ │ -0008fa40: 7265 6374 2873 656c 662c 202a 6172 6773 rect(self, *args │ │ │ -0008fa50: 290a 0a20 2020 2064 6566 206d 6172 6769 ).. def margi │ │ │ -0008fa60: 6e73 2873 656c 662c 202a 6172 6773 293a ns(self, *args): │ │ │ -0008fa70: 0a20 2020 2020 2020 2072 2222 226d 6172 . r"""mar │ │ │ -0008fa80: 6769 6e73 2846 6c5f 5072 696e 7465 7220 gins(Fl_Printer │ │ │ -0008fa90: 7365 6c66 2922 2222 0a20 2020 2020 2020 self)""". │ │ │ -0008faa0: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -0008fab0: 5f50 7269 6e74 6572 5f6d 6172 6769 6e73 _Printer_margins │ │ │ -0008fac0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -0008fad0: 2020 2064 6566 206f 7269 6769 6e28 7365 def origin(se │ │ │ -0008fae0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -0008faf0: 2020 2020 7222 2222 0a20 2020 2020 2020 r""". │ │ │ -0008fb00: 206f 7269 6769 6e28 466c 5f50 7269 6e74 origin(Fl_Print │ │ │ -0008fb10: 6572 2073 656c 6629 0a20 2020 2020 2020 er self). │ │ │ -0008fb20: 206f 7269 6769 6e28 466c 5f50 7269 6e74 origin(Fl_Print │ │ │ -0008fb30: 6572 2073 656c 662c 2069 6e74 2078 2c20 er self, int x, │ │ │ -0008fb40: 696e 7420 7929 0a20 2020 2020 2020 2022 int y). " │ │ │ -0008fb50: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -0008fb60: 6e20 5f66 6c74 6b2e 466c 5f50 7269 6e74 n _fltk.Fl_Print │ │ │ -0008fb70: 6572 5f6f 7269 6769 6e28 7365 6c66 2c20 er_origin(self, │ │ │ -0008fb80: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ -0008fb90: 7363 616c 6528 7365 6c66 2c20 2a61 7267 scale(self, *arg │ │ │ -0008fba0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ -0008fbb0: 7363 616c 6528 466c 5f50 7269 6e74 6572 scale(Fl_Printer │ │ │ -0008fbc0: 2073 656c 662c 2066 6c6f 6174 2073 6361 self, float sca │ │ │ -0008fbd0: 6c65 5f78 2c20 666c 6f61 7420 7363 616c le_x, float scal │ │ │ -0008fbe0: 655f 793d 302e 2922 2222 0a20 2020 2020 e_y=0.)""". │ │ │ -0008fbf0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -0008fc00: 466c 5f50 7269 6e74 6572 5f73 6361 6c65 Fl_Printer_scale │ │ │ -0008fc10: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -0008fc20: 2020 2064 6566 2072 6f74 6174 6528 7365 def rotate(se │ │ │ -0008fc30: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -0008fc40: 2020 2020 7222 2222 726f 7461 7465 2846 r"""rotate(F │ │ │ -0008fc50: 6c5f 5072 696e 7465 7220 7365 6c66 2c20 l_Printer self, │ │ │ -0008fc60: 666c 6f61 7420 616e 676c 6529 2222 220a float angle)""". │ │ │ -0008fc70: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -0008fc80: 666c 746b 2e46 6c5f 5072 696e 7465 725f fltk.Fl_Printer_ │ │ │ -0008fc90: 726f 7461 7465 2873 656c 662c 202a 6172 rotate(self, *ar │ │ │ -0008fca0: 6773 290a 0a20 2020 2064 6566 2074 7261 gs).. def tra │ │ │ -0008fcb0: 6e73 6c61 7465 2873 656c 662c 202a 6172 nslate(self, *ar │ │ │ -0008fcc0: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -0008fcd0: 2274 7261 6e73 6c61 7465 2846 6c5f 5072 "translate(Fl_Pr │ │ │ -0008fce0: 696e 7465 7220 7365 6c66 2c20 696e 7420 inter self, int │ │ │ -0008fcf0: 782c 2069 6e74 2079 2922 2222 0a20 2020 x, int y)""". │ │ │ -0008fd00: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -0008fd10: 6b2e 466c 5f50 7269 6e74 6572 5f74 7261 k.Fl_Printer_tra │ │ │ -0008fd20: 6e73 6c61 7465 2873 656c 662c 202a 6172 nslate(self, *ar │ │ │ -0008fd30: 6773 290a 0a20 2020 2064 6566 2075 6e74 gs).. def unt │ │ │ -0008fd40: 7261 6e73 6c61 7465 2873 656c 662c 202a ranslate(self, * │ │ │ -0008fd50: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ -0008fd60: 2222 2275 6e74 7261 6e73 6c61 7465 2846 """untranslate(F │ │ │ -0008fd70: 6c5f 5072 696e 7465 7220 7365 6c66 2922 l_Printer self)" │ │ │ -0008fd80: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ -0008fd90: 6e20 5f66 6c74 6b2e 466c 5f50 7269 6e74 n _fltk.Fl_Print │ │ │ -0008fda0: 6572 5f75 6e74 7261 6e73 6c61 7465 2873 er_untranslate(s │ │ │ -0008fdb0: 656c 662c 202a 6172 6773 290a 0a20 2020 elf, *args).. │ │ │ -0008fdc0: 2064 6566 2065 6e64 5f70 6167 6528 7365 def end_page(se │ │ │ -0008fdd0: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ -0008fde0: 2020 2020 7222 2222 656e 645f 7061 6765 r"""end_page │ │ │ -0008fdf0: 2846 6c5f 5072 696e 7465 7220 7365 6c66 (Fl_Printer self │ │ │ -0008fe00: 2920 2d3e 2069 6e74 2222 220a 2020 2020 ) -> int""". │ │ │ -0008fe10: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -0008fe20: 2e46 6c5f 5072 696e 7465 725f 656e 645f .Fl_Printer_end_ │ │ │ -0008fe30: 7061 6765 2873 656c 662c 202a 6172 6773 page(self, *args │ │ │ -0008fe40: 290a 0a20 2020 2064 6566 2065 6e64 5f6a ).. def end_j │ │ │ -0008fe50: 6f62 2873 656c 662c 202a 6172 6773 293a ob(self, *args): │ │ │ -0008fe60: 0a20 2020 2020 2020 2072 2222 2265 6e64 . r"""end │ │ │ -0008fe70: 5f6a 6f62 2846 6c5f 5072 696e 7465 7220 _job(Fl_Printer │ │ │ -0008fe80: 7365 6c66 2922 2222 0a20 2020 2020 2020 self)""". │ │ │ -0008fe90: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ -0008fea0: 5f50 7269 6e74 6572 5f65 6e64 5f6a 6f62 _Printer_end_job │ │ │ -0008feb0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ -0008fec0: 2020 2064 6566 2073 6574 5f63 7572 7265 def set_curre │ │ │ -0008fed0: 6e74 2873 656c 662c 202a 6172 6773 293a nt(self, *args): │ │ │ -0008fee0: 0a20 2020 2020 2020 2072 2222 2273 6574 . r"""set │ │ │ -0008fef0: 5f63 7572 7265 6e74 2846 6c5f 5072 696e _current(Fl_Prin │ │ │ -0008ff00: 7465 7220 7365 6c66 2922 2222 0a20 2020 ter self)""". │ │ │ -0008ff10: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ -0008ff20: 6b2e 466c 5f50 7269 6e74 6572 5f73 6574 k.Fl_Printer_set │ │ │ -0008ff30: 5f63 7572 7265 6e74 2873 656c 662c 202a _current(self, * │ │ │ -0008ff40: 6172 6773 290a 0a20 2020 2064 6566 2069 args).. def i │ │ │ -0008ff50: 735f 6375 7272 656e 7428 7365 6c66 2c20 s_current(self, │ │ │ -0008ff60: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ -0008ff70: 7222 2222 6973 5f63 7572 7265 6e74 2846 r"""is_current(F │ │ │ -0008ff80: 6c5f 5072 696e 7465 7220 7365 6c66 2920 l_Printer self) │ │ │ -0008ff90: 2d3e 2062 6f6f 6c22 2222 0a20 2020 2020 -> bool""". │ │ │ -0008ffa0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -0008ffb0: 466c 5f50 7269 6e74 6572 5f69 735f 6375 Fl_Printer_is_cu │ │ │ -0008ffc0: 7272 656e 7428 7365 6c66 2c20 2a61 7267 rrent(self, *arg │ │ │ -0008ffd0: 7329 0a20 2020 205f 5f73 7769 675f 6465 s). __swig_de │ │ │ -0008ffe0: 7374 726f 795f 5f20 3d20 5f66 6c74 6b2e stroy__ = _fltk. │ │ │ -0008fff0: 6465 6c65 7465 5f46 6c5f 5072 696e 7465 delete_Fl_Printe │ │ │ -00090000: 720a 2020 2020 6465 6620 5f5f 6469 736f r. def __diso │ │ │ -00090010: 776e 5f5f 2873 656c 6629 3a0a 2020 2020 wn__(self):. │ │ │ -00090020: 2020 2020 7365 6c66 2e74 6869 732e 6469 self.this.di │ │ │ -00090030: 736f 776e 2829 0a20 2020 2020 2020 205f sown(). _ │ │ │ -00090040: 666c 746b 2e64 6973 6f77 6e5f 466c 5f50 fltk.disown_Fl_P │ │ │ -00090050: 7269 6e74 6572 2873 656c 6629 0a20 2020 rinter(self). │ │ │ -00090060: 2020 2020 2072 6574 7572 6e20 7765 616b return weak │ │ │ -00090070: 7265 662e 7072 6f78 7928 7365 6c66 290a ref.proxy(self). │ │ │ -00090080: 0a20 2020 2064 6566 2065 6e64 5f63 7572 . def end_cur │ │ │ -00090090: 7265 6e74 2873 656c 662c 202a 6172 6773 rent(self, *args │ │ │ -000900a0: 293a 0a20 2020 2020 2020 2072 2222 2265 ):. r"""e │ │ │ -000900b0: 6e64 5f63 7572 7265 6e74 2846 6c5f 5072 nd_current(Fl_Pr │ │ │ -000900c0: 696e 7465 7220 7365 6c66 2922 2222 0a20 inter self)""". │ │ │ -000900d0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ -000900e0: 6c74 6b2e 466c 5f50 7269 6e74 6572 5f65 ltk.Fl_Printer_e │ │ │ -000900f0: 6e64 5f63 7572 7265 6e74 2873 656c 662c nd_current(self, │ │ │ -00090100: 202a 6172 6773 290a 0a23 2052 6567 6973 *args)..# Regis │ │ │ -00090110: 7465 7220 466c 5f50 7269 6e74 6572 2069 ter Fl_Printer i │ │ │ -00090120: 6e20 5f66 6c74 6b3a 0a5f 666c 746b 2e46 n _fltk:._fltk.F │ │ │ -00090130: 6c5f 5072 696e 7465 725f 7377 6967 7265 l_Printer_swigre │ │ │ -00090140: 6769 7374 6572 2846 6c5f 5072 696e 7465 gister(Fl_Printe │ │ │ -00090150: 7229 0a0a 6465 6620 666c 5f75 7466 3862 r)..def fl_utf8b │ │ │ -00090160: 7974 6573 282a 6172 6773 293a 0a20 2020 ytes(*args):. │ │ │ -00090170: 2072 2222 2266 6c5f 7574 6638 6279 7465 r"""fl_utf8byte │ │ │ -00090180: 7328 756e 7369 676e 6564 2069 6e74 2075 s(unsigned int u │ │ │ -00090190: 6373 2920 2d3e 2069 6e74 2222 220a 2020 cs) -> int""". │ │ │ -000901a0: 2020 7265 7475 726e 205f 666c 746b 2e66 return _fltk.f │ │ │ -000901b0: 6c5f 7574 6638 6279 7465 7328 2a61 7267 l_utf8bytes(*arg │ │ │ -000901c0: 7329 0a0a 6465 6620 666c 5f75 7466 386c s)..def fl_utf8l │ │ │ -000901d0: 656e 282a 6172 6773 293a 0a20 2020 2072 en(*args):. r │ │ │ -000901e0: 2222 2266 6c5f 7574 6638 6c65 6e28 6368 """fl_utf8len(ch │ │ │ -000901f0: 6172 2063 2920 2d3e 2069 6e74 2222 220a ar c) -> int""". │ │ │ -00090200: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00090210: 2e66 6c5f 7574 6638 6c65 6e28 2a61 7267 .fl_utf8len(*arg │ │ │ -00090220: 7329 0a0a 6465 6620 666c 5f75 7466 5f6e s)..def fl_utf_n │ │ │ -00090230: 625f 6368 6172 282a 6172 6773 293a 0a20 b_char(*args):. │ │ │ -00090240: 2020 2072 2222 2266 6c5f 7574 665f 6e62 r"""fl_utf_nb │ │ │ -00090250: 5f63 6861 7228 756e 7369 676e 6564 2063 _char(unsigned c │ │ │ -00090260: 6861 7220 636f 6e73 7420 2a20 6275 662c har const * buf, │ │ │ -00090270: 2069 6e74 206c 656e 2920 2d3e 2069 6e74 int len) -> int │ │ │ -00090280: 2222 220a 2020 2020 7265 7475 726e 205f """. return _ │ │ │ -00090290: 666c 746b 2e66 6c5f 7574 665f 6e62 5f63 fltk.fl_utf_nb_c │ │ │ -000902a0: 6861 7228 2a61 7267 7329 0a0a 6465 6620 har(*args)..def │ │ │ -000902b0: 666c 5f75 7466 3864 6563 6f64 6528 2a61 fl_utf8decode(*a │ │ │ -000902c0: 7267 7329 3a0a 2020 2020 7222 2222 666c rgs):. r"""fl │ │ │ -000902d0: 5f75 7466 3864 6563 6f64 6528 6368 6172 _utf8decode(char │ │ │ -000902e0: 2063 6f6e 7374 202a 2070 2c20 6368 6172 const * p, char │ │ │ -000902f0: 2063 6f6e 7374 202a 2065 6e64 2c20 696e const * end, in │ │ │ -00090300: 7420 2a20 6c65 6e29 202d 3e20 756e 7369 t * len) -> unsi │ │ │ -00090310: 676e 6564 2069 6e74 2222 220a 2020 2020 gned int""". │ │ │ -00090320: 7265 7475 726e 205f 666c 746b 2e66 6c5f return _fltk.fl_ │ │ │ -00090330: 7574 6638 6465 636f 6465 282a 6172 6773 utf8decode(*args │ │ │ -00090340: 290a 0a64 6566 2066 6c5f 7574 6638 656e )..def fl_utf8en │ │ │ -00090350: 636f 6465 282a 6172 6773 293a 0a20 2020 code(*args):. │ │ │ -00090360: 2072 2222 2266 6c5f 7574 6638 656e 636f r"""fl_utf8enco │ │ │ -00090370: 6465 2875 6e73 6967 6e65 6420 696e 7420 de(unsigned int │ │ │ -00090380: 7563 7329 202d 3e20 696e 7422 2222 0a20 ucs) -> int""". │ │ │ -00090390: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -000903a0: 666c 5f75 7466 3865 6e63 6f64 6528 2a61 fl_utf8encode(*a │ │ │ -000903b0: 7267 7329 0a0a 6465 6620 666c 5f75 7466 rgs)..def fl_utf │ │ │ -000903c0: 3866 7764 282a 6172 6773 293a 0a20 2020 8fwd(*args):. │ │ │ -000903d0: 2072 2222 2266 6c5f 7574 6638 6677 6428 r"""fl_utf8fwd( │ │ │ -000903e0: 6368 6172 2063 6f6e 7374 202a 2070 2c20 char const * p, │ │ │ -000903f0: 6368 6172 2063 6f6e 7374 202a 2073 7461 char const * sta │ │ │ -00090400: 7274 2c20 6368 6172 2063 6f6e 7374 202a rt, char const * │ │ │ -00090410: 2065 6e64 2920 2d3e 2063 6861 7220 636f end) -> char co │ │ │ -00090420: 6e73 7420 2a22 2222 0a20 2020 2072 6574 nst *""". ret │ │ │ -00090430: 7572 6e20 5f66 6c74 6b2e 666c 5f75 7466 urn _fltk.fl_utf │ │ │ -00090440: 3866 7764 282a 6172 6773 290a 0a64 6566 8fwd(*args)..def │ │ │ -00090450: 2066 6c5f 7574 6638 6261 636b 282a 6172 fl_utf8back(*ar │ │ │ -00090460: 6773 293a 0a20 2020 2072 2222 2266 6c5f gs):. r"""fl_ │ │ │ -00090470: 7574 6638 6261 636b 2863 6861 7220 636f utf8back(char co │ │ │ -00090480: 6e73 7420 2a20 702c 2063 6861 7220 636f nst * p, char co │ │ │ -00090490: 6e73 7420 2a20 7374 6172 742c 2063 6861 nst * start, cha │ │ │ -000904a0: 7220 636f 6e73 7420 2a20 656e 6429 202d r const * end) - │ │ │ -000904b0: 3e20 6368 6172 2063 6f6e 7374 202a 2222 > char const *"" │ │ │ -000904c0: 220a 2020 2020 7265 7475 726e 205f 666c ". return _fl │ │ │ -000904d0: 746b 2e66 6c5f 7574 6638 6261 636b 282a tk.fl_utf8back(* │ │ │ -000904e0: 6172 6773 290a 0a64 6566 2066 6c5f 7574 args)..def fl_ut │ │ │ -000904f0: 6638 746f 5574 6631 3628 2a61 7267 7329 f8toUtf16(*args) │ │ │ -00090500: 3a0a 2020 2020 7222 2222 666c 5f75 7466 :. r"""fl_utf │ │ │ -00090510: 3874 6f55 7466 3136 2863 6861 7220 636f 8toUtf16(char co │ │ │ -00090520: 6e73 7420 2a20 7372 632c 2075 6e73 6967 nst * src, unsig │ │ │ -00090530: 6e65 6420 696e 7420 7372 636c 656e 2c20 ned int srclen, │ │ │ -00090540: 756e 7369 676e 6564 2069 6e74 2064 7374 unsigned int dst │ │ │ -00090550: 6c65 6e29 202d 3e20 756e 7369 676e 6564 len) -> unsigned │ │ │ -00090560: 2069 6e74 2222 220a 2020 2020 7265 7475 int""". retu │ │ │ -00090570: 726e 205f 666c 746b 2e66 6c5f 7574 6638 rn _fltk.fl_utf8 │ │ │ -00090580: 746f 5574 6631 3628 2a61 7267 7329 0a0a toUtf16(*args).. │ │ │ -00090590: 6465 6620 666c 5f75 7466 3874 6f61 282a def fl_utf8toa(* │ │ │ -000905a0: 6172 6773 293a 0a20 2020 2072 2222 2266 args):. r"""f │ │ │ -000905b0: 6c5f 7574 6638 746f 6128 6368 6172 2063 l_utf8toa(char c │ │ │ -000905c0: 6f6e 7374 202a 2073 7263 2c20 756e 7369 onst * src, unsi │ │ │ -000905d0: 676e 6564 2069 6e74 2073 7263 6c65 6e2c gned int srclen, │ │ │ -000905e0: 2075 6e73 6967 6e65 6420 696e 7420 6172 unsigned int ar │ │ │ -000905f0: 6733 2920 2d3e 2075 6e73 6967 6e65 6420 g3) -> unsigned │ │ │ -00090600: 696e 7422 2222 0a20 2020 2072 6574 7572 int""". retur │ │ │ -00090610: 6e20 5f66 6c74 6b2e 666c 5f75 7466 3874 n _fltk.fl_utf8t │ │ │ -00090620: 6f61 282a 6172 6773 290a 0a64 6566 2066 oa(*args)..def f │ │ │ -00090630: 6c5f 7574 6638 6672 6f6d 6128 2a61 7267 l_utf8froma(*arg │ │ │ -00090640: 7329 3a0a 2020 2020 7222 2222 666c 5f75 s):. r"""fl_u │ │ │ -00090650: 7466 3866 726f 6d61 2863 6861 7220 2a20 tf8froma(char * │ │ │ -00090660: 6473 742c 2075 6e73 6967 6e65 6420 696e dst, unsigned in │ │ │ -00090670: 7420 6473 746c 656e 2c20 6368 6172 2063 t dstlen, char c │ │ │ -00090680: 6f6e 7374 202a 2073 7263 2c20 756e 7369 onst * src, unsi │ │ │ -00090690: 676e 6564 2069 6e74 2073 7263 6c65 6e29 gned int srclen) │ │ │ -000906a0: 202d 3e20 756e 7369 676e 6564 2069 6e74 -> unsigned int │ │ │ -000906b0: 2222 220a 2020 2020 7265 7475 726e 205f """. return _ │ │ │ -000906c0: 666c 746b 2e66 6c5f 7574 6638 6672 6f6d fltk.fl_utf8from │ │ │ -000906d0: 6128 2a61 7267 7329 0a0a 6465 6620 666c a(*args)..def fl │ │ │ -000906e0: 5f75 7466 386c 6f63 616c 6528 2a61 7267 _utf8locale(*arg │ │ │ -000906f0: 7329 3a0a 2020 2020 7222 2222 666c 5f75 s):. r"""fl_u │ │ │ -00090700: 7466 386c 6f63 616c 6528 2920 2d3e 2069 tf8locale() -> i │ │ │ -00090710: 6e74 2222 220a 2020 2020 7265 7475 726e nt""". return │ │ │ -00090720: 205f 666c 746b 2e66 6c5f 7574 6638 6c6f _fltk.fl_utf8lo │ │ │ -00090730: 6361 6c65 282a 6172 6773 290a 0a64 6566 cale(*args)..def │ │ │ -00090740: 2066 6c5f 7574 6638 7465 7374 282a 6172 fl_utf8test(*ar │ │ │ -00090750: 6773 293a 0a20 2020 2072 2222 2266 6c5f gs):. r"""fl_ │ │ │ -00090760: 7574 6638 7465 7374 2863 6861 7220 636f utf8test(char co │ │ │ -00090770: 6e73 7420 2a20 7372 632c 2075 6e73 6967 nst * src, unsig │ │ │ -00090780: 6e65 6420 696e 7420 6c65 6e29 202d 3e20 ned int len) -> │ │ │ -00090790: 696e 7422 2222 0a20 2020 2072 6574 7572 int""". retur │ │ │ -000907a0: 6e20 5f66 6c74 6b2e 666c 5f75 7466 3874 n _fltk.fl_utf8t │ │ │ -000907b0: 6573 7428 2a61 7267 7329 0a0a 6465 6620 est(*args)..def │ │ │ -000907c0: 666c 5f6e 6f6e 7370 6163 696e 6728 2a61 fl_nonspacing(*a │ │ │ -000907d0: 7267 7329 3a0a 2020 2020 7222 2222 666c rgs):. r"""fl │ │ │ -000907e0: 5f6e 6f6e 7370 6163 696e 6728 756e 7369 _nonspacing(unsi │ │ │ -000907f0: 676e 6564 2069 6e74 2075 6373 2920 2d3e gned int ucs) -> │ │ │ -00090800: 2075 6e73 6967 6e65 6420 696e 7422 2222 unsigned int""" │ │ │ -00090810: 0a20 2020 2072 6574 7572 6e20 5f66 6c74 . return _flt │ │ │ -00090820: 6b2e 666c 5f6e 6f6e 7370 6163 696e 6728 k.fl_nonspacing( │ │ │ -00090830: 2a61 7267 7329 0a0a 6465 6620 666c 5f75 *args)..def fl_u │ │ │ -00090840: 7466 3874 6f5f 6d62 282a 6172 6773 293a tf8to_mb(*args): │ │ │ -00090850: 0a20 2020 2072 2222 2266 6c5f 7574 6638 . r"""fl_utf8 │ │ │ -00090860: 746f 5f6d 6228 6368 6172 2063 6f6e 7374 to_mb(char const │ │ │ -00090870: 202a 2073 7263 2c20 756e 7369 676e 6564 * src, unsigned │ │ │ -00090880: 2069 6e74 2073 7263 6c65 6e2c 2063 6861 int srclen, cha │ │ │ -00090890: 7220 2a20 6473 742c 2075 6e73 6967 6e65 r * dst, unsigne │ │ │ -000908a0: 6420 696e 7420 6473 746c 656e 2920 2d3e d int dstlen) -> │ │ │ -000908b0: 2075 6e73 6967 6e65 6420 696e 7422 2222 unsigned int""" │ │ │ -000908c0: 0a20 2020 2072 6574 7572 6e20 5f66 6c74 . return _flt │ │ │ -000908d0: 6b2e 666c 5f75 7466 3874 6f5f 6d62 282a k.fl_utf8to_mb(* │ │ │ -000908e0: 6172 6773 290a 0a64 6566 2066 6c5f 7574 args)..def fl_ut │ │ │ -000908f0: 6632 6d62 6373 282a 6172 6773 293a 0a20 f2mbcs(*args):. │ │ │ -00090900: 2020 2072 2222 2266 6c5f 7574 6632 6d62 r"""fl_utf2mb │ │ │ -00090910: 6373 2863 6861 7220 636f 6e73 7420 2a20 cs(char const * │ │ │ -00090920: 7372 6329 202d 3e20 6368 6172 202a 2222 src) -> char *"" │ │ │ -00090930: 220a 2020 2020 7265 7475 726e 205f 666c ". return _fl │ │ │ -00090940: 746b 2e66 6c5f 7574 6632 6d62 6373 282a tk.fl_utf2mbcs(* │ │ │ -00090950: 6172 6773 290a 0a64 6566 2066 6c5f 7574 args)..def fl_ut │ │ │ -00090960: 6638 6672 6f6d 5f6d 6228 2a61 7267 7329 f8from_mb(*args) │ │ │ -00090970: 3a0a 2020 2020 7222 2222 666c 5f75 7466 :. r"""fl_utf │ │ │ -00090980: 3866 726f 6d5f 6d62 2863 6861 7220 2a20 8from_mb(char * │ │ │ -00090990: 6473 742c 2075 6e73 6967 6e65 6420 696e dst, unsigned in │ │ │ -000909a0: 7420 6473 746c 656e 2c20 6368 6172 2063 t dstlen, char c │ │ │ -000909b0: 6f6e 7374 202a 2073 7263 2c20 756e 7369 onst * src, unsi │ │ │ -000909c0: 676e 6564 2069 6e74 2073 7263 6c65 6e29 gned int srclen) │ │ │ -000909d0: 202d 3e20 756e 7369 676e 6564 2069 6e74 -> unsigned int │ │ │ -000909e0: 2222 220a 2020 2020 7265 7475 726e 205f """. return _ │ │ │ -000909f0: 666c 746b 2e66 6c5f 7574 6638 6672 6f6d fltk.fl_utf8from │ │ │ -00090a00: 5f6d 6228 2a61 7267 7329 0a0a 6465 6620 _mb(*args)..def │ │ │ -00090a10: 666c 5f75 7466 5f73 7472 6e63 6173 6563 fl_utf_strncasec │ │ │ -00090a20: 6d70 282a 6172 6773 293a 0a20 2020 2072 mp(*args):. r │ │ │ -00090a30: 2222 2266 6c5f 7574 665f 7374 726e 6361 """fl_utf_strnca │ │ │ -00090a40: 7365 636d 7028 6368 6172 2063 6f6e 7374 secmp(char const │ │ │ -00090a50: 202a 2073 312c 2063 6861 7220 636f 6e73 * s1, char cons │ │ │ -00090a60: 7420 2a20 7332 2c20 696e 7420 6e29 202d t * s2, int n) - │ │ │ -00090a70: 3e20 696e 7422 2222 0a20 2020 2072 6574 > int""". ret │ │ │ -00090a80: 7572 6e20 5f66 6c74 6b2e 666c 5f75 7466 urn _fltk.fl_utf │ │ │ -00090a90: 5f73 7472 6e63 6173 6563 6d70 282a 6172 _strncasecmp(*ar │ │ │ -00090aa0: 6773 290a 0a64 6566 2066 6c5f 7574 665f gs)..def fl_utf_ │ │ │ -00090ab0: 7374 7263 6173 6563 6d70 282a 6172 6773 strcasecmp(*args │ │ │ -00090ac0: 293a 0a20 2020 2072 2222 2266 6c5f 7574 ):. r"""fl_ut │ │ │ -00090ad0: 665f 7374 7263 6173 6563 6d70 2863 6861 f_strcasecmp(cha │ │ │ -00090ae0: 7220 636f 6e73 7420 2a20 7331 2c20 6368 r const * s1, ch │ │ │ -00090af0: 6172 2063 6f6e 7374 202a 2073 3229 202d ar const * s2) - │ │ │ -00090b00: 3e20 696e 7422 2222 0a20 2020 2072 6574 > int""". ret │ │ │ -00090b10: 7572 6e20 5f66 6c74 6b2e 666c 5f75 7466 urn _fltk.fl_utf │ │ │ -00090b20: 5f73 7472 6361 7365 636d 7028 2a61 7267 _strcasecmp(*arg │ │ │ -00090b30: 7329 0a0a 6465 6620 666c 5f74 6f6c 6f77 s)..def fl_tolow │ │ │ -00090b40: 6572 282a 6172 6773 293a 0a20 2020 2072 er(*args):. r │ │ │ -00090b50: 2222 2266 6c5f 746f 6c6f 7765 7228 756e """fl_tolower(un │ │ │ -00090b60: 7369 676e 6564 2069 6e74 2075 6373 2920 signed int ucs) │ │ │ -00090b70: 2d3e 2069 6e74 2222 220a 2020 2020 7265 -> int""". re │ │ │ -00090b80: 7475 726e 205f 666c 746b 2e66 6c5f 746f turn _fltk.fl_to │ │ │ -00090b90: 6c6f 7765 7228 2a61 7267 7329 0a0a 6465 lower(*args)..de │ │ │ -00090ba0: 6620 666c 5f74 6f75 7070 6572 282a 6172 f fl_toupper(*ar │ │ │ -00090bb0: 6773 293a 0a20 2020 2072 2222 2266 6c5f gs):. r"""fl_ │ │ │ -00090bc0: 746f 7570 7065 7228 756e 7369 676e 6564 toupper(unsigned │ │ │ -00090bd0: 2069 6e74 2075 6373 2920 2d3e 2069 6e74 int ucs) -> int │ │ │ -00090be0: 2222 220a 2020 2020 7265 7475 726e 205f """. return _ │ │ │ -00090bf0: 666c 746b 2e66 6c5f 746f 7570 7065 7228 fltk.fl_toupper( │ │ │ -00090c00: 2a61 7267 7329 0a0a 6465 6620 666c 5f75 *args)..def fl_u │ │ │ -00090c10: 7466 5f74 6f6c 6f77 6572 282a 6172 6773 tf_tolower(*args │ │ │ -00090c20: 293a 0a20 2020 2072 2222 2266 6c5f 7574 ):. r"""fl_ut │ │ │ -00090c30: 665f 746f 6c6f 7765 7228 756e 7369 676e f_tolower(unsign │ │ │ -00090c40: 6564 2063 6861 7220 636f 6e73 7420 2a20 ed char const * │ │ │ -00090c50: 7374 722c 2069 6e74 206c 656e 2920 2d3e str, int len) -> │ │ │ -00090c60: 2069 6e74 2222 220a 2020 2020 7265 7475 int""". retu │ │ │ -00090c70: 726e 205f 666c 746b 2e66 6c5f 7574 665f rn _fltk.fl_utf_ │ │ │ -00090c80: 746f 6c6f 7765 7228 2a61 7267 7329 0a0a tolower(*args).. │ │ │ -00090c90: 6465 6620 666c 5f75 7466 5f74 6f75 7070 def fl_utf_toupp │ │ │ -00090ca0: 6572 282a 6172 6773 293a 0a20 2020 2072 er(*args):. r │ │ │ -00090cb0: 2222 2266 6c5f 7574 665f 746f 7570 7065 """fl_utf_touppe │ │ │ -00090cc0: 7228 756e 7369 676e 6564 2063 6861 7220 r(unsigned char │ │ │ -00090cd0: 636f 6e73 7420 2a20 7374 722c 2069 6e74 const * str, int │ │ │ -00090ce0: 206c 656e 2c20 6368 6172 202a 2062 7566 len, char * buf │ │ │ -00090cf0: 2920 2d3e 2069 6e74 2222 220a 2020 2020 ) -> int""". │ │ │ -00090d00: 7265 7475 726e 205f 666c 746b 2e66 6c5f return _fltk.fl_ │ │ │ -00090d10: 7574 665f 746f 7570 7065 7228 2a61 7267 utf_toupper(*arg │ │ │ -00090d20: 7329 0a0a 6465 6620 666c 5f63 686d 6f64 s)..def fl_chmod │ │ │ -00090d30: 282a 6172 6773 293a 0a20 2020 2072 2222 (*args):. r"" │ │ │ -00090d40: 2266 6c5f 6368 6d6f 6428 6368 6172 2063 "fl_chmod(char c │ │ │ -00090d50: 6f6e 7374 202a 2066 2c20 696e 7420 6d6f onst * f, int mo │ │ │ -00090d60: 6465 2920 2d3e 2069 6e74 2222 220a 2020 de) -> int""". │ │ │ -00090d70: 2020 7265 7475 726e 205f 666c 746b 2e66 return _fltk.f │ │ │ -00090d80: 6c5f 6368 6d6f 6428 2a61 7267 7329 0a0a l_chmod(*args).. │ │ │ -00090d90: 6465 6620 666c 5f61 6363 6573 7328 2a61 def fl_access(*a │ │ │ -00090da0: 7267 7329 3a0a 2020 2020 7222 2222 666c rgs):. r"""fl │ │ │ -00090db0: 5f61 6363 6573 7328 6368 6172 2063 6f6e _access(char con │ │ │ -00090dc0: 7374 202a 2066 2c20 696e 7420 6d6f 6465 st * f, int mode │ │ │ -00090dd0: 2920 2d3e 2069 6e74 2222 220a 2020 2020 ) -> int""". │ │ │ -00090de0: 7265 7475 726e 205f 666c 746b 2e66 6c5f return _fltk.fl_ │ │ │ -00090df0: 6163 6365 7373 282a 6172 6773 290a 0a64 access(*args)..d │ │ │ -00090e00: 6566 2066 6c5f 6765 7463 7764 282a 6172 ef fl_getcwd(*ar │ │ │ -00090e10: 6773 293a 0a20 2020 2072 2222 2266 6c5f gs):. r"""fl_ │ │ │ -00090e20: 6765 7463 7764 2863 6861 7220 2a20 6275 getcwd(char * bu │ │ │ -00090e30: 662c 2069 6e74 206d 6178 6c65 6e29 202d f, int maxlen) - │ │ │ -00090e40: 3e20 6368 6172 202a 2222 220a 2020 2020 > char *""". │ │ │ -00090e50: 7265 7475 726e 205f 666c 746b 2e66 6c5f return _fltk.fl_ │ │ │ -00090e60: 6765 7463 7764 282a 6172 6773 290a 0a64 getcwd(*args)..d │ │ │ -00090e70: 6566 2066 6c5f 666f 7065 6e28 2a61 7267 ef fl_fopen(*arg │ │ │ -00090e80: 7329 3a0a 2020 2020 7222 2222 666c 5f66 s):. r"""fl_f │ │ │ -00090e90: 6f70 656e 2863 6861 7220 636f 6e73 7420 open(char const │ │ │ -00090ea0: 2a20 662c 2063 6861 7220 636f 6e73 7420 * f, char const │ │ │ -00090eb0: 2a20 6d6f 6465 2920 2d3e 2046 494c 4520 * mode) -> FILE │ │ │ -00090ec0: 2a22 2222 0a20 2020 2072 6574 7572 6e20 *""". return │ │ │ -00090ed0: 5f66 6c74 6b2e 666c 5f66 6f70 656e 282a _fltk.fl_fopen(* │ │ │ -00090ee0: 6172 6773 290a 0a64 6566 2066 6c5f 7379 args)..def fl_sy │ │ │ -00090ef0: 7374 656d 282a 6172 6773 293a 0a20 2020 stem(*args):. │ │ │ -00090f00: 2072 2222 2266 6c5f 7379 7374 656d 2863 r"""fl_system(c │ │ │ -00090f10: 6861 7220 636f 6e73 7420 2a20 6629 202d har const * f) - │ │ │ -00090f20: 3e20 696e 7422 2222 0a20 2020 2072 6574 > int""". ret │ │ │ -00090f30: 7572 6e20 5f66 6c74 6b2e 666c 5f73 7973 urn _fltk.fl_sys │ │ │ -00090f40: 7465 6d28 2a61 7267 7329 0a0a 6465 6620 tem(*args)..def │ │ │ -00090f50: 666c 5f65 7865 6376 7028 2a61 7267 7329 fl_execvp(*args) │ │ │ -00090f60: 3a0a 2020 2020 7222 2222 666c 5f65 7865 :. r"""fl_exe │ │ │ -00090f70: 6376 7028 6368 6172 2063 6f6e 7374 202a cvp(char const * │ │ │ -00090f80: 2066 696c 652c 2063 6861 7220 2a63 6f6e file, char *con │ │ │ -00090f90: 7374 202a 2061 7267 7629 202d 3e20 696e st * argv) -> in │ │ │ -00090fa0: 7422 2222 0a20 2020 2072 6574 7572 6e20 t""". return │ │ │ -00090fb0: 5f66 6c74 6b2e 666c 5f65 7865 6376 7028 _fltk.fl_execvp( │ │ │ -00090fc0: 2a61 7267 7329 0a0a 6465 6620 666c 5f6f *args)..def fl_o │ │ │ -00090fd0: 7065 6e28 2a61 7267 7329 3a0a 2020 2020 pen(*args):. │ │ │ -00090fe0: 7222 2222 666c 5f6f 7065 6e28 6368 6172 r"""fl_open(char │ │ │ -00090ff0: 2063 6f6e 7374 202a 2066 2c20 696e 7420 const * f, int │ │ │ -00091000: 6f29 202d 3e20 696e 7422 2222 0a20 2020 o) -> int""". │ │ │ -00091010: 2072 6574 7572 6e20 5f66 6c74 6b2e 666c return _fltk.fl │ │ │ -00091020: 5f6f 7065 6e28 2a61 7267 7329 0a0a 6465 _open(*args)..de │ │ │ -00091030: 6620 666c 5f75 6e6c 696e 6b28 2a61 7267 f fl_unlink(*arg │ │ │ -00091040: 7329 3a0a 2020 2020 7222 2222 666c 5f75 s):. r"""fl_u │ │ │ -00091050: 6e6c 696e 6b28 6368 6172 2063 6f6e 7374 nlink(char const │ │ │ -00091060: 202a 2066 2920 2d3e 2069 6e74 2222 220a * f) -> int""". │ │ │ -00091070: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -00091080: 2e66 6c5f 756e 6c69 6e6b 282a 6172 6773 .fl_unlink(*args │ │ │ -00091090: 290a 0a64 6566 2066 6c5f 726d 6469 7228 )..def fl_rmdir( │ │ │ -000910a0: 2a61 7267 7329 3a0a 2020 2020 7222 2222 *args):. r""" │ │ │ -000910b0: 666c 5f72 6d64 6972 2863 6861 7220 636f fl_rmdir(char co │ │ │ -000910c0: 6e73 7420 2a20 6629 202d 3e20 696e 7422 nst * f) -> int" │ │ │ -000910d0: 2222 0a20 2020 2072 6574 7572 6e20 5f66 "". return _f │ │ │ -000910e0: 6c74 6b2e 666c 5f72 6d64 6972 282a 6172 ltk.fl_rmdir(*ar │ │ │ -000910f0: 6773 290a 0a64 6566 2066 6c5f 6765 7465 gs)..def fl_gete │ │ │ -00091100: 6e76 282a 6172 6773 293a 0a20 2020 2072 nv(*args):. r │ │ │ -00091110: 2222 2266 6c5f 6765 7465 6e76 2863 6861 """fl_getenv(cha │ │ │ -00091120: 7220 636f 6e73 7420 2a20 6e61 6d65 2920 r const * name) │ │ │ -00091130: 2d3e 2063 6861 7220 2a22 2222 0a20 2020 -> char *""". │ │ │ -00091140: 2072 6574 7572 6e20 5f66 6c74 6b2e 666c return _fltk.fl │ │ │ -00091150: 5f67 6574 656e 7628 2a61 7267 7329 0a0a _getenv(*args).. │ │ │ -00091160: 6465 6620 666c 5f6d 6b64 6972 282a 6172 def fl_mkdir(*ar │ │ │ -00091170: 6773 293a 0a20 2020 2072 2222 2266 6c5f gs):. r"""fl_ │ │ │ -00091180: 6d6b 6469 7228 6368 6172 2063 6f6e 7374 mkdir(char const │ │ │ -00091190: 202a 2066 2c20 696e 7420 6d6f 6465 2920 * f, int mode) │ │ │ -000911a0: 2d3e 2069 6e74 2222 220a 2020 2020 7265 -> int""". re │ │ │ -000911b0: 7475 726e 205f 666c 746b 2e66 6c5f 6d6b turn _fltk.fl_mk │ │ │ -000911c0: 6469 7228 2a61 7267 7329 0a0a 6465 6620 dir(*args)..def │ │ │ -000911d0: 666c 5f72 656e 616d 6528 2a61 7267 7329 fl_rename(*args) │ │ │ -000911e0: 3a0a 2020 2020 7222 2222 666c 5f72 656e :. r"""fl_ren │ │ │ -000911f0: 616d 6528 6368 6172 2063 6f6e 7374 202a ame(char const * │ │ │ -00091200: 2066 2c20 6368 6172 2063 6f6e 7374 202a f, char const * │ │ │ -00091210: 2074 2920 2d3e 2069 6e74 2222 220a 2020 t) -> int""". │ │ │ -00091220: 2020 7265 7475 726e 205f 666c 746b 2e66 return _fltk.f │ │ │ -00091230: 6c5f 7265 6e61 6d65 282a 6172 6773 290a l_rename(*args). │ │ │ -00091240: 0a64 6566 2066 6c5f 6d61 6b65 5f70 6174 .def fl_make_pat │ │ │ -00091250: 685f 666f 725f 6669 6c65 282a 6172 6773 h_for_file(*args │ │ │ -00091260: 293a 0a20 2020 2072 2222 2266 6c5f 6d61 ):. r"""fl_ma │ │ │ -00091270: 6b65 5f70 6174 685f 666f 725f 6669 6c65 ke_path_for_file │ │ │ -00091280: 2863 6861 7220 636f 6e73 7420 2a20 7061 (char const * pa │ │ │ -00091290: 7468 2922 2222 0a20 2020 2072 6574 7572 th)""". retur │ │ │ -000912a0: 6e20 5f66 6c74 6b2e 666c 5f6d 616b 655f n _fltk.fl_make_ │ │ │ -000912b0: 7061 7468 5f66 6f72 5f66 696c 6528 2a61 path_for_file(*a │ │ │ -000912c0: 7267 7329 0a0a 6465 6620 666c 5f6d 616b rgs)..def fl_mak │ │ │ -000912d0: 655f 7061 7468 282a 6172 6773 293a 0a20 e_path(*args):. │ │ │ -000912e0: 2020 2072 2222 2266 6c5f 6d61 6b65 5f70 r"""fl_make_p │ │ │ -000912f0: 6174 6828 6368 6172 2063 6f6e 7374 202a ath(char const * │ │ │ -00091300: 2070 6174 6829 202d 3e20 6368 6172 2222 path) -> char"" │ │ │ -00091310: 220a 2020 2020 7265 7475 726e 205f 666c ". return _fl │ │ │ -00091320: 746b 2e66 6c5f 6d61 6b65 5f70 6174 6828 tk.fl_make_path( │ │ │ -00091330: 2a61 7267 7329 0a0a 6465 6620 7570 4342 *args)..def upCB │ │ │ -00091340: 282a 6172 6773 293a 0a20 2020 2072 2222 (*args):. r"" │ │ │ -00091350: 2275 7043 4228 466c 5f57 6964 6765 7420 "upCB(Fl_Widget │ │ │ -00091360: 762c 2076 6f69 6420 2a20 6172 6732 2922 v, void * arg2)" │ │ │ -00091370: 2222 0a20 2020 2072 6574 7572 6e20 5f66 "". return _f │ │ │ -00091380: 6c74 6b2e 7570 4342 282a 6172 6773 290a ltk.upCB(*args). │ │ │ -00091390: 0a64 6566 2064 6f77 6e43 4228 2a61 7267 .def downCB(*arg │ │ │ -000913a0: 7329 3a0a 2020 2020 7222 2222 646f 776e s):. r"""down │ │ │ -000913b0: 4342 2846 6c5f 5769 6467 6574 2076 2c20 CB(Fl_Widget v, │ │ │ -000913c0: 766f 6964 202a 2061 7267 3229 2222 220a void * arg2)""". │ │ │ -000913d0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ -000913e0: 2e64 6f77 6e43 4228 2a61 7267 7329 0a0a .downCB(*args).. │ │ │ -000913f0: 6465 6620 746f 6767 6c65 4342 282a 6172 def toggleCB(*ar │ │ │ -00091400: 6773 293a 0a20 2020 2072 2222 2274 6f67 gs):. r"""tog │ │ │ -00091410: 676c 6543 4228 466c 5f57 6964 6765 7420 gleCB(Fl_Widget │ │ │ -00091420: 762c 2076 6f69 6420 2a20 6172 6732 2922 v, void * arg2)" │ │ │ -00091430: 2222 0a20 2020 2072 6574 7572 6e20 5f66 "". return _f │ │ │ -00091440: 6c74 6b2e 746f 6767 6c65 4342 282a 6172 ltk.toggleCB(*ar │ │ │ -00091450: 6773 290a 636c 6173 7320 4c69 7374 5365 gs).class ListSe │ │ │ -00091460: 6c65 6374 2846 6c5f 4772 6f75 7029 3a0a lect(Fl_Group):. │ │ │ -00091470: 2020 2020 7222 2222 5072 6f78 7920 6f66 r"""Proxy of │ │ │ -00091480: 2043 2b2b 204c 6973 7453 656c 6563 7420 C++ ListSelect │ │ │ -00091490: 636c 6173 732e 2222 220a 0a20 2020 2074 class.""".. t │ │ │ -000914a0: 6869 736f 776e 203d 2070 726f 7065 7274 hisown = propert │ │ │ -000914b0: 7928 6c61 6d62 6461 2078 3a20 782e 7468 y(lambda x: x.th │ │ │ -000914c0: 6973 2e6f 776e 2829 2c20 6c61 6d62 6461 is.own(), lambda │ │ │ -000914d0: 2078 2c20 763a 2078 2e74 6869 732e 6f77 x, v: x.this.ow │ │ │ -000914e0: 6e28 7629 2c20 646f 633d 2254 6865 206d n(v), doc="The m │ │ │ -000914f0: 656d 6265 7273 6869 7020 666c 6167 2229 embership flag") │ │ │ -00091500: 0a20 2020 205f 5f72 6570 725f 5f20 3d20 . __repr__ = │ │ │ -00091510: 5f73 7769 675f 7265 7072 0a0a 2020 2020 _swig_repr.. │ │ │ -00091520: 6465 6620 5f5f 696e 6974 5f5f 2873 656c def __init__(sel │ │ │ -00091530: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00091540: 2020 2072 2222 225f 5f69 6e69 745f 5f28 r"""__init__( │ │ │ -00091550: 4c69 7374 5365 6c65 6374 2073 656c 662c ListSelect self, │ │ │ -00091560: 2069 6e74 2078 2c20 696e 7420 792c 2069 int x, int y, i │ │ │ -00091570: 6e74 2077 2c20 696e 7420 682c 2063 6861 nt w, int h, cha │ │ │ -00091580: 7220 2a20 746f 704c 6162 656c 3d4e 6f6e r * topLabel=Non │ │ │ -00091590: 652c 2063 6861 7220 2a20 626f 7474 6f6d e, char * bottom │ │ │ -000915a0: 4c61 6265 6c3d 4e6f 6e65 2920 2d3e 204c Label=None) -> L │ │ │ -000915b0: 6973 7453 656c 6563 7422 2222 0a20 2020 istSelect""". │ │ │ -000915c0: 2020 2020 2069 6620 7365 6c66 2e5f 5f63 if self.__c │ │ │ -000915d0: 6c61 7373 5f5f 203d 3d20 4c69 7374 5365 lass__ == ListSe │ │ │ -000915e0: 6c65 6374 3a0a 2020 2020 2020 2020 2020 lect:. │ │ │ -000915f0: 2020 5f73 656c 6620 3d20 4e6f 6e65 0a20 _self = None. │ │ │ -00091600: 2020 2020 2020 2065 6c73 653a 0a20 2020 else:. │ │ │ -00091610: 2020 2020 2020 2020 205f 7365 6c66 203d _self = │ │ │ -00091620: 2073 656c 660a 2020 2020 2020 2020 5f66 self. _f │ │ │ -00091630: 6c74 6b2e 4c69 7374 5365 6c65 6374 5f73 ltk.ListSelect_s │ │ │ -00091640: 7769 6769 6e69 7428 7365 6c66 2c20 5f66 wiginit(self, _f │ │ │ -00091650: 6c74 6b2e 6e65 775f 4c69 7374 5365 6c65 ltk.new_ListSele │ │ │ -00091660: 6374 285f 7365 6c66 2c20 2a61 7267 7329 ct(_self, *args) │ │ │ -00091670: 290a 0a20 2020 2020 2020 2069 6620 6c65 ).. if le │ │ │ -00091680: 6e28 6172 6773 2920 3d3d 2035 3a20 2020 n(args) == 5: │ │ │ -00091690: 2020 2020 2020 200a 2020 2020 2020 2020 . │ │ │ -000916a0: 2372 6574 6169 6e20 7265 6665 7265 6e63 #retain referenc │ │ │ -000916b0: 6520 746f 206c 6162 656c 0a20 2020 2020 e to label. │ │ │ -000916c0: 2020 2020 2020 2073 656c 662e 6d79 5f6c self.my_l │ │ │ -000916d0: 6162 656c 203d 2061 7267 735b 2d31 5d0a abel = args[-1]. │ │ │ -000916e0: 2020 2020 2020 2020 6966 2073 656c 662e if self. │ │ │ -000916f0: 7061 7265 6e74 2829 2021 3d20 4e6f 6e65 parent() != None │ │ │ -00091700: 3a20 2020 0a20 2020 2020 2020 2023 6465 : . #de │ │ │ -00091710: 6c65 6761 7465 206f 776e 6572 7368 6970 legate ownership │ │ │ -00091720: 2074 6f20 432b 2b0a 2020 2020 2020 2020 to C++. │ │ │ -00091730: 2020 2020 7365 6c66 2e74 6869 732e 6469 self.this.di │ │ │ -00091740: 736f 776e 2829 0a20 2020 2020 2020 2073 sown(). s │ │ │ -00091750: 656c 662e 696e 6974 5f74 7970 6528 224c elf.init_type("L │ │ │ -00091760: 6973 7453 656c 6563 7422 290a 2020 2020 istSelect"). │ │ │ -00091770: 2020 2020 2370 7269 6e74 2822 4164 6469 #print("Addi │ │ │ -00091780: 6e67 2074 7970 653a 2022 2c20 4c69 7374 ng type: ", List │ │ │ -00091790: 5365 6c65 6374 290a 0a0a 0a0a 2020 2020 Select)..... │ │ │ -000917a0: 6465 6620 6765 7454 6f70 4272 6f77 7365 def getTopBrowse │ │ │ -000917b0: 7228 7365 6c66 2c20 2a61 7267 7329 3a0a r(self, *args):. │ │ │ -000917c0: 2020 2020 2020 2020 7222 2222 6765 7454 r"""getT │ │ │ -000917d0: 6f70 4272 6f77 7365 7228 4c69 7374 5365 opBrowser(ListSe │ │ │ -000917e0: 6c65 6374 2073 656c 6629 202d 3e20 466c lect self) -> Fl │ │ │ -000917f0: 5f4d 756c 7469 5f42 726f 7773 6572 2222 _Multi_Browser"" │ │ │ -00091800: 220a 2020 2020 2020 2020 7265 7475 726e ". return │ │ │ -00091810: 205f 666c 746b 2e4c 6973 7453 656c 6563 _fltk.ListSelec │ │ │ -00091820: 745f 6765 7454 6f70 4272 6f77 7365 7228 t_getTopBrowser( │ │ │ -00091830: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -00091840: 2020 6465 6620 6765 7442 6f74 746f 6d42 def getBottomB │ │ │ -00091850: 726f 7773 6572 2873 656c 662c 202a 6172 rowser(self, *ar │ │ │ -00091860: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ -00091870: 2267 6574 426f 7474 6f6d 4272 6f77 7365 "getBottomBrowse │ │ │ -00091880: 7228 4c69 7374 5365 6c65 6374 2073 656c r(ListSelect sel │ │ │ -00091890: 6629 202d 3e20 466c 5f4d 756c 7469 5f42 f) -> Fl_Multi_B │ │ │ -000918a0: 726f 7773 6572 2222 220a 2020 2020 2020 rowser""". │ │ │ -000918b0: 2020 7265 7475 726e 205f 666c 746b 2e4c return _fltk.L │ │ │ -000918c0: 6973 7453 656c 6563 745f 6765 7442 6f74 istSelect_getBot │ │ │ -000918d0: 746f 6d42 726f 7773 6572 2873 656c 662c tomBrowser(self, │ │ │ -000918e0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ -000918f0: 2072 6573 697a 6528 7365 6c66 2c20 2a61 resize(self, *a │ │ │ -00091900: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ -00091910: 2222 7265 7369 7a65 284c 6973 7453 656c ""resize(ListSel │ │ │ -00091920: 6563 7420 7365 6c66 2c20 696e 7420 782c ect self, int x, │ │ │ -00091930: 2069 6e74 2079 2c20 696e 7420 772c 2069 int y, int w, i │ │ │ -00091940: 6e74 2068 2922 2222 0a20 2020 2020 2020 nt h)""". │ │ │ -00091950: 2072 6574 7572 6e20 5f66 6c74 6b2e 4c69 return _fltk.Li │ │ │ -00091960: 7374 5365 6c65 6374 5f72 6573 697a 6528 stSelect_resize( │ │ │ -00091970: 7365 6c66 2c20 2a61 7267 7329 0a0a 2020 self, *args).. │ │ │ -00091980: 2020 6465 6620 696e 6974 5f74 7970 6528 def init_type( │ │ │ -00091990: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ -000919a0: 2020 2020 2020 7222 2222 696e 6974 5f74 r"""init_t │ │ │ -000919b0: 7970 6528 4c69 7374 5365 6c65 6374 2073 ype(ListSelect s │ │ │ -000919c0: 656c 662c 2063 6861 7220 2a20 4c69 7374 elf, char * List │ │ │ -000919d0: 5365 6c65 6374 2922 2222 0a20 2020 2020 Select)""". │ │ │ -000919e0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -000919f0: 4c69 7374 5365 6c65 6374 5f69 6e69 745f ListSelect_init_ │ │ │ -00091a00: 7479 7065 2873 656c 662c 202a 6172 6773 type(self, *args │ │ │ -00091a10: 290a 2020 2020 5f5f 7377 6967 5f64 6573 ). __swig_des │ │ │ -00091a20: 7472 6f79 5f5f 203d 205f 666c 746b 2e64 troy__ = _fltk.d │ │ │ -00091a30: 656c 6574 655f 4c69 7374 5365 6c65 6374 elete_ListSelect │ │ │ -00091a40: 0a20 2020 2064 6566 205f 5f64 6973 6f77 . def __disow │ │ │ -00091a50: 6e5f 5f28 7365 6c66 293a 0a20 2020 2020 n__(self):. │ │ │ -00091a60: 2020 2073 656c 662e 7468 6973 2e64 6973 self.this.dis │ │ │ -00091a70: 6f77 6e28 290a 2020 2020 2020 2020 5f66 own(). _f │ │ │ -00091a80: 6c74 6b2e 6469 736f 776e 5f4c 6973 7453 ltk.disown_ListS │ │ │ -00091a90: 656c 6563 7428 7365 6c66 290a 2020 2020 elect(self). │ │ │ -00091aa0: 2020 2020 7265 7475 726e 2077 6561 6b72 return weakr │ │ │ -00091ab0: 6566 2e70 726f 7879 2873 656c 6629 0a0a ef.proxy(self).. │ │ │ -00091ac0: 2020 2020 6465 6620 6472 6177 2873 656c def draw(sel │ │ │ -00091ad0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ -00091ae0: 2020 2072 2222 2264 7261 7728 4c69 7374 r"""draw(List │ │ │ -00091af0: 5365 6c65 6374 2073 656c 6629 2222 220a Select self)""". │ │ │ -00091b00: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00091b10: 666c 746b 2e4c 6973 7453 656c 6563 745f fltk.ListSelect_ │ │ │ -00091b20: 6472 6177 2873 656c 662c 202a 6172 6773 draw(self, *args │ │ │ -00091b30: 290a 0a23 2052 6567 6973 7465 7220 4c69 )..# Register Li │ │ │ -00091b40: 7374 5365 6c65 6374 2069 6e20 5f66 6c74 stSelect in _flt │ │ │ -00091b50: 6b3a 0a5f 666c 746b 2e4c 6973 7453 656c k:._fltk.ListSel │ │ │ -00091b60: 6563 745f 7377 6967 7265 6769 7374 6572 ect_swigregister │ │ │ -00091b70: 284c 6973 7453 656c 6563 7429 0a0a 6465 (ListSelect)..de │ │ │ -00091b80: 6620 676c 4c6f 6164 4964 656e 7469 7479 f glLoadIdentity │ │ │ -00091b90: 282a 6172 6773 293a 0a20 2020 2072 2222 (*args):. r"" │ │ │ -00091ba0: 2267 6c4c 6f61 6449 6465 6e74 6974 7928 "glLoadIdentity( │ │ │ -00091bb0: 2922 2222 0a20 2020 2072 6574 7572 6e20 )""". return │ │ │ -00091bc0: 5f66 6c74 6b2e 676c 4c6f 6164 4964 656e _fltk.glLoadIden │ │ │ -00091bd0: 7469 7479 282a 6172 6773 290a 0a64 6566 tity(*args)..def │ │ │ -00091be0: 2067 6c56 6965 7770 6f72 7428 2a61 7267 glViewport(*arg │ │ │ -00091bf0: 7329 3a0a 2020 2020 7222 2222 676c 5669 s):. r"""glVi │ │ │ -00091c00: 6577 706f 7274 2869 6e74 2078 2c20 696e ewport(int x, in │ │ │ -00091c10: 7420 792c 2069 6e74 2077 6964 7468 2c20 t y, int width, │ │ │ -00091c20: 696e 7420 6865 6967 6874 2922 2222 0a20 int height)""". │ │ │ -00091c30: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ -00091c40: 676c 5669 6577 706f 7274 282a 6172 6773 glViewport(*args │ │ │ -00091c50: 290a 0a64 6566 2067 6c43 6c65 6172 282a )..def glClear(* │ │ │ -00091c60: 6172 6773 293a 0a20 2020 2072 2222 2267 args):. r"""g │ │ │ -00091c70: 6c43 6c65 6172 2869 6e74 206d 6173 6b29 lClear(int mask) │ │ │ -00091c80: 2222 220a 2020 2020 7265 7475 726e 205f """. return _ │ │ │ -00091c90: 666c 746b 2e67 6c43 6c65 6172 282a 6172 fltk.glClear(*ar │ │ │ -00091ca0: 6773 290a 0a64 6566 2067 6c43 6f6c 6f72 gs)..def glColor │ │ │ -00091cb0: 3366 282a 6172 6773 293a 0a20 2020 2072 3f(*args):. r │ │ │ -00091cc0: 2222 2267 6c43 6f6c 6f72 3366 2866 6c6f """glColor3f(flo │ │ │ -00091cd0: 6174 2072 6564 2c20 666c 6f61 7420 6772 at red, float gr │ │ │ -00091ce0: 6565 6e2c 2066 6c6f 6174 2062 6c75 6529 een, float blue) │ │ │ -00091cf0: 2222 220a 2020 2020 7265 7475 726e 205f """. return _ │ │ │ -00091d00: 666c 746b 2e67 6c43 6f6c 6f72 3366 282a fltk.glColor3f(* │ │ │ -00091d10: 6172 6773 290a 0a64 6566 2067 6c42 6567 args)..def glBeg │ │ │ -00091d20: 696e 282a 6172 6773 293a 0a20 2020 2072 in(*args):. r │ │ │ -00091d30: 2222 2267 6c42 6567 696e 2869 6e74 206d """glBegin(int m │ │ │ -00091d40: 6f64 6529 2222 220a 2020 2020 7265 7475 ode)""". retu │ │ │ -00091d50: 726e 205f 666c 746b 2e67 6c42 6567 696e rn _fltk.glBegin │ │ │ -00091d60: 282a 6172 6773 290a 0a64 6566 2067 6c45 (*args)..def glE │ │ │ -00091d70: 6e64 282a 6172 6773 293a 0a20 2020 2072 nd(*args):. r │ │ │ -00091d80: 2222 2267 6c45 6e64 2829 2222 220a 2020 """glEnd()""". │ │ │ -00091d90: 2020 7265 7475 726e 205f 666c 746b 2e67 return _fltk.g │ │ │ -00091da0: 6c45 6e64 282a 6172 6773 290a 0a64 6566 lEnd(*args)..def │ │ │ -00091db0: 2067 6c56 6572 7465 7833 6628 2a61 7267 glVertex3f(*arg │ │ │ -00091dc0: 7329 3a0a 2020 2020 7222 2222 676c 5665 s):. r"""glVe │ │ │ -00091dd0: 7274 6578 3366 2866 6c6f 6174 2078 2c20 rtex3f(float x, │ │ │ -00091de0: 666c 6f61 7420 792c 2066 6c6f 6174 207a float y, float z │ │ │ -00091df0: 2922 2222 0a20 2020 2072 6574 7572 6e20 )""". return │ │ │ -00091e00: 5f66 6c74 6b2e 676c 5665 7274 6578 3366 _fltk.glVertex3f │ │ │ -00091e10: 282a 6172 6773 290a 4d5f 5049 203d 205f (*args).M_PI = _ │ │ │ -00091e20: 666c 746b 2e4d 5f50 490a 0a4d 5f50 495f fltk.M_PI..M_PI_ │ │ │ -00091e30: 3220 3d20 5f66 6c74 6b2e 4d5f 5049 5f32 2 = _fltk.M_PI_2 │ │ │ -00091e40: 0a0a 4d5f 5049 5f34 203d 205f 666c 746b ..M_PI_4 = _fltk │ │ │ -00091e50: 2e4d 5f50 495f 340a 0a4d 5f31 5f50 4920 .M_PI_4..M_1_PI │ │ │ -00091e60: 3d20 5f66 6c74 6b2e 4d5f 315f 5049 0a0a = _fltk.M_1_PI.. │ │ │ -00091e70: 4d5f 325f 5049 203d 205f 666c 746b 2e4d M_2_PI = _fltk.M │ │ │ -00091e80: 5f32 5f50 490a 0a4d 5f53 5152 5432 203d _2_PI..M_SQRT2 = │ │ │ -00091e90: 205f 666c 746b 2e4d 5f53 5152 5432 0a0a _fltk.M_SQRT2.. │ │ │ -00091ea0: 4d5f 5351 5254 315f 3220 3d20 5f66 6c74 M_SQRT1_2 = _flt │ │ │ -00091eb0: 6b2e 4d5f 5351 5254 315f 320a 0a0a 5f5f k.M_SQRT1_2...__ │ │ │ -00091ec0: 6964 6c65 4361 6c6c 6261 636b 7320 3d20 idleCallbacks = │ │ │ -00091ed0: 5b5d 0a64 6566 2046 6c5f 6164 645f 6964 [].def Fl_add_id │ │ │ -00091ee0: 6c65 2820 6675 6e63 2c20 6461 7461 3d4e le( func, data=N │ │ │ -00091ef0: 6f6e 6529 3a0a 2020 2020 5f5f 6964 6c65 one):. __idle │ │ │ -00091f00: 4361 6c6c 6261 636b 732e 6170 7065 6e64 Callbacks.append │ │ │ -00091f10: 2820 2866 756e 632c 2064 6174 6129 2029 ( (func, data) ) │ │ │ -00091f20: 0a20 2020 2069 6620 6c65 6e28 5f5f 6964 . if len(__id │ │ │ -00091f30: 6c65 4361 6c6c 6261 636b 7329 203d 3d20 leCallbacks) == │ │ │ -00091f40: 313a 0a20 2020 2020 2020 2070 7946 4c54 1:. pyFLT │ │ │ -00091f50: 4b5f 636f 6e74 726f 6c49 646c 6543 616c K_controlIdleCal │ │ │ -00091f60: 6c62 6163 6b73 2831 290a 0a64 6566 2046 lbacks(1)..def F │ │ │ -00091f70: 6c5f 7265 6d6f 7665 5f69 646c 6528 2066 l_remove_idle( f │ │ │ -00091f80: 756e 632c 2064 6174 613d 4e6f 6e65 293a unc, data=None): │ │ │ -00091f90: 0a20 2020 2066 6f72 2063 6220 696e 205f . for cb in _ │ │ │ -00091fa0: 5f69 646c 6543 616c 6c62 6163 6b73 3a0a _idleCallbacks:. │ │ │ -00091fb0: 2020 2020 2020 2020 6966 2063 6220 3d3d if cb == │ │ │ -00091fc0: 2028 2066 756e 632c 2064 6174 6120 293a ( func, data ): │ │ │ -00091fd0: 0a20 2020 2020 2020 2020 2020 205f 5f69 . __i │ │ │ -00091fe0: 646c 6543 616c 6c62 6163 6b73 2e72 656d dleCallbacks.rem │ │ │ -00091ff0: 6f76 6528 6362 290a 2020 2020 2020 2020 ove(cb). │ │ │ -00092000: 2020 2020 6272 6561 6b0a 0a64 6566 2070 break..def p │ │ │ -00092010: 7946 4c54 4b5f 646f 4964 6c65 4361 6c6c yFLTK_doIdleCall │ │ │ -00092020: 6261 636b 7328 293a 0a20 2020 2066 6f72 backs():. for │ │ │ -00092030: 2063 6220 696e 205f 5f69 646c 6543 616c cb in __idleCal │ │ │ -00092040: 6c62 6163 6b73 3a0a 2020 2020 2020 2020 lbacks:. │ │ │ -00092050: 6362 5b30 5d28 6362 5b31 5d29 0a0a 7079 cb[0](cb[1])..py │ │ │ -00092060: 464c 544b 5f72 6567 6973 7465 7244 6f49 FLTK_registerDoI │ │ │ -00092070: 646c 6528 7079 464c 544b 5f64 6f49 646c dle(pyFLTK_doIdl │ │ │ -00092080: 6543 616c 6c62 6163 6b73 290a 0a0a 466c eCallbacks)...Fl │ │ │ -00092090: 2e61 6464 5f69 646c 6520 3d20 7374 6174 .add_idle = stat │ │ │ -000920a0: 6963 6d65 7468 6f64 2846 6c5f 6164 645f icmethod(Fl_add_ │ │ │ -000920b0: 6964 6c65 290a 466c 2e72 656d 6f76 655f idle).Fl.remove_ │ │ │ -000920c0: 6964 6c65 203d 2073 7461 7469 636d 6574 idle = staticmet │ │ │ -000920d0: 686f 6428 466c 5f72 656d 6f76 655f 6964 hod(Fl_remove_id │ │ │ -000920e0: 6c65 290a 0a0a 0a0a 2320 6f76 6572 7269 le).....# overri │ │ │ -000920f0: 6465 2074 6865 2069 6d70 6c65 6d65 6e74 de the implement │ │ │ -00092100: 6174 696f 6e20 6f66 2046 6c5f 5769 6467 ation of Fl_Widg │ │ │ -00092110: 6574 2e63 616c 6c62 6163 6b0a 2320 6e65 et.callback.# ne │ │ │ -00092120: 7720 7665 7273 696f 6e20 746f 2062 6520 w version to be │ │ │ -00092130: 7573 6564 2077 6974 6820 6469 7265 6374 used with direct │ │ │ -00092140: 6f72 730a 6465 6620 5f5f 466c 5f57 6964 ors.def __Fl_Wid │ │ │ -00092150: 6765 7443 616c 6c62 6163 6b28 7365 6c66 getCallback(self │ │ │ -00092160: 2c2a 6172 6773 293a 0a20 2020 2020 2020 ,*args):. │ │ │ -00092170: 2069 6620 6c65 6e28 6172 6773 2920 3d3d if len(args) == │ │ │ -00092180: 2031 3a0a 2020 2020 2020 2020 2020 2020 1:. │ │ │ -00092190: 6e65 775f 6172 6773 203d 2028 7365 6c66 new_args = (self │ │ │ -000921a0: 2c20 6172 6773 5b30 5d2c 2073 656c 6629 , args[0], self) │ │ │ -000921b0: 0a20 2020 2020 2020 2065 6c73 653a 0a20 . else:. │ │ │ -000921c0: 2020 2020 2020 2020 2020 206e 6577 5f61 new_a │ │ │ -000921d0: 7267 7320 3d20 2873 656c 662c 2061 7267 rgs = (self, arg │ │ │ -000921e0: 735b 305d 2c20 7365 6c66 2c20 6172 6773 s[0], self, args │ │ │ -000921f0: 5b31 5d29 0a23 7265 7475 726e 2061 7070 [1]).#return app │ │ │ -00092200: 6c79 285f 666c 746b 2e46 6c5f 5769 6467 ly(_fltk.Fl_Widg │ │ │ -00092210: 6574 5f63 616c 6c62 6163 6b2c 6e65 775f et_callback,new_ │ │ │ -00092220: 6172 6773 290a 2020 2020 2020 2020 7265 args). re │ │ │ -00092230: 7475 726e 205f 666c 746b 2e46 6c5f 5769 turn _fltk.Fl_Wi │ │ │ -00092240: 6467 6574 5f63 616c 6c62 6163 6b28 2a6e dget_callback(*n │ │ │ -00092250: 6577 5f61 7267 7329 0a0a 466c 5f57 6964 ew_args)..Fl_Wid │ │ │ -00092260: 6765 742e 6361 6c6c 6261 636b 203d 205f get.callback = _ │ │ │ -00092270: 5f46 6c5f 5769 6467 6574 4361 6c6c 6261 _Fl_WidgetCallba │ │ │ -00092280: 636b 0a23 2065 6e64 206f 6620 7468 6520 ck.# end of the │ │ │ -00092290: 466c 5f57 6964 6765 742e 6361 6c6c 6261 Fl_Widget.callba │ │ │ -000922a0: 636b 2077 7261 7070 6572 0a0a 0a23 206f ck wrapper...# o │ │ │ -000922b0: 7665 7272 6964 6520 7468 6520 696d 706c verride the impl │ │ │ -000922c0: 656d 656e 7461 7469 6f6e 206f 6620 466c ementation of Fl │ │ │ -000922d0: 5f54 6578 745f 4275 6666 6572 2e61 6464 _Text_Buffer.add │ │ │ -000922e0: 5f6d 6f64 6966 795f 6361 6c6c 6261 636b _modify_callback │ │ │ -000922f0: 0a64 6566 205f 5f46 6c5f 5465 7874 5f42 .def __Fl_Text_B │ │ │ -00092300: 7566 6665 7241 6464 4d6f 6469 6679 4361 ufferAddModifyCa │ │ │ -00092310: 6c6c 6261 636b 2873 656c 662c 2a61 7267 llback(self,*arg │ │ │ -00092320: 7329 3a0a 2020 2020 2020 2020 6966 206c s):. if l │ │ │ -00092330: 656e 2861 7267 7329 203d 3d20 313a 0a20 en(args) == 1:. │ │ │ -00092340: 2020 2020 2020 2020 2020 206e 6577 5f61 new_a │ │ │ -00092350: 7267 7320 3d20 2873 656c 662c 2061 7267 rgs = (self, arg │ │ │ -00092360: 735b 305d 290a 2020 2020 2020 2020 656c s[0]). el │ │ │ -00092370: 7365 3a0a 2020 2020 2020 2020 2020 2020 se:. │ │ │ -00092380: 6e65 775f 6172 6773 203d 2028 7365 6c66 new_args = (self │ │ │ -00092390: 2c20 6172 6773 5b30 5d2c 2061 7267 735b , args[0], args[ │ │ │ -000923a0: 315d 290a 2372 6574 7572 6e20 6170 706c 1]).#return appl │ │ │ -000923b0: 7928 5f66 6c74 6b2e 466c 5f54 6578 745f y(_fltk.Fl_Text_ │ │ │ -000923c0: 4275 6666 6572 5f61 6464 5f6d 6f64 6966 Buffer_add_modif │ │ │ -000923d0: 795f 6361 6c6c 6261 636b 2c6e 6577 5f61 y_callback,new_a │ │ │ -000923e0: 7267 7329 0a20 2020 2020 2020 2072 6574 rgs). ret │ │ │ -000923f0: 7572 6e20 5f66 6c74 6b2e 466c 5f54 6578 urn _fltk.Fl_Tex │ │ │ -00092400: 745f 4275 6666 6572 5f61 6464 5f6d 6f64 t_Buffer_add_mod │ │ │ -00092410: 6966 795f 6361 6c6c 6261 636b 282a 6e65 ify_callback(*ne │ │ │ -00092420: 775f 6172 6773 290a 0a46 6c5f 5465 7874 w_args)..Fl_Text │ │ │ -00092430: 5f42 7566 6665 722e 6164 645f 6d6f 6469 _Buffer.add_modi │ │ │ -00092440: 6679 5f63 616c 6c62 6163 6b20 3d20 5f5f fy_callback = __ │ │ │ -00092450: 466c 5f54 6578 745f 4275 6666 6572 4164 Fl_Text_BufferAd │ │ │ -00092460: 644d 6f64 6966 7943 616c 6c62 6163 6b0a dModifyCallback. │ │ │ -00092470: 2320 656e 6420 6f66 2074 6865 2046 6c5f # end of the Fl_ │ │ │ -00092480: 5465 7874 5f42 7566 6665 722e 6164 645f Text_Buffer.add_ │ │ │ -00092490: 6d6f 6469 6679 5f63 616c 6c62 6163 6b20 modify_callback │ │ │ -000924a0: 7772 6170 7065 720a 0a0a 2320 6f76 6572 wrapper...# over │ │ │ -000924b0: 7269 6465 2074 6865 2069 6d70 6c65 6d65 ride the impleme │ │ │ -000924c0: 6e74 6174 696f 6e20 6f66 2046 6c5f 5465 ntation of Fl_Te │ │ │ -000924d0: 7874 5f42 7566 6665 722e 7265 6d6f 7665 xt_Buffer.remove │ │ │ -000924e0: 5f6d 6f64 6966 795f 6361 6c6c 6261 636b _modify_callback │ │ │ -000924f0: 0a64 6566 205f 5f46 6c5f 5465 7874 5f42 .def __Fl_Text_B │ │ │ -00092500: 7566 6665 7252 656d 6f76 654d 6f64 6966 ufferRemoveModif │ │ │ -00092510: 7943 616c 6c62 6163 6b28 7365 6c66 2c2a yCallback(self,* │ │ │ -00092520: 6172 6773 293a 0a20 2020 2020 2020 2069 args):. i │ │ │ -00092530: 6620 6c65 6e28 6172 6773 2920 3d3d 2031 f len(args) == 1 │ │ │ -00092540: 3a0a 2020 2020 2020 2020 2020 2020 6e65 :. ne │ │ │ -00092550: 775f 6172 6773 203d 2028 7365 6c66 2c20 w_args = (self, │ │ │ -00092560: 6172 6773 5b30 5d2c 2073 656c 6629 0a20 args[0], self). │ │ │ -00092570: 2020 2020 2020 2065 6c73 653a 0a20 2020 else:. │ │ │ -00092580: 2020 2020 2020 2020 206e 6577 5f61 7267 new_arg │ │ │ -00092590: 7320 3d20 2873 656c 662c 2061 7267 735b s = (self, args[ │ │ │ -000925a0: 305d 2c20 7365 6c66 2c20 6172 6773 5b31 0], self, args[1 │ │ │ -000925b0: 5d29 0a23 7265 7475 726e 2061 7070 6c79 ]).#return apply │ │ │ -000925c0: 285f 666c 746b 2e46 6c5f 5465 7874 5f42 (_fltk.Fl_Text_B │ │ │ -000925d0: 7566 6665 725f 7265 6d6f 7665 5f6d 6f64 uffer_remove_mod │ │ │ -000925e0: 6966 795f 6361 6c6c 6261 636b 2c6e 6577 ify_callback,new │ │ │ -000925f0: 5f61 7267 7329 0a20 2020 2020 2020 2072 _args). r │ │ │ -00092600: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f54 eturn _fltk.Fl_T │ │ │ -00092610: 6578 745f 4275 6666 6572 5f72 656d 6f76 ext_Buffer_remov │ │ │ -00092620: 655f 6d6f 6469 6679 5f63 616c 6c62 6163 e_modify_callbac │ │ │ -00092630: 6b28 2a6e 6577 5f61 7267 7329 0a0a 466c k(*new_args)..Fl │ │ │ -00092640: 5f54 6578 745f 4275 6666 6572 2e72 656d _Text_Buffer.rem │ │ │ -00092650: 6f76 655f 6d6f 6469 6679 5f63 616c 6c62 ove_modify_callb │ │ │ -00092660: 6163 6b20 3d20 5f5f 466c 5f54 6578 745f ack = __Fl_Text_ │ │ │ -00092670: 4275 6666 6572 5265 6d6f 7665 4d6f 6469 BufferRemoveModi │ │ │ -00092680: 6679 4361 6c6c 6261 636b 0a23 2065 6e64 fyCallback.# end │ │ │ -00092690: 206f 6620 7468 6520 466c 5f54 6578 745f of the Fl_Text_ │ │ │ -000926a0: 4275 6666 6572 2e72 656d 6f76 655f 6d6f Buffer.remove_mo │ │ │ -000926b0: 6469 6679 5f63 616c 6c62 6163 6b20 7772 dify_callback wr │ │ │ -000926c0: 6170 7065 720a 0a0a 2320 6f76 6572 7269 apper...# overri │ │ │ -000926d0: 6465 2074 6865 2069 6d70 6c65 6d65 6e74 de the implement │ │ │ -000926e0: 6174 696f 6e20 6f66 2046 6c5f 4669 6c65 ation of Fl_File │ │ │ -000926f0: 5f43 686f 6f73 6572 2e63 616c 6c62 6163 _Chooser.callbac │ │ │ -00092700: 6b0a 6465 6620 5f5f 466c 5f46 696c 655f k.def __Fl_File_ │ │ │ -00092710: 4368 6f6f 7365 7243 616c 6c62 6163 6b28 ChooserCallback( │ │ │ -00092720: 7365 6c66 2c2a 6172 6773 293a 0a20 2020 self,*args):. │ │ │ -00092730: 2020 2020 2069 6620 6c65 6e28 6172 6773 if len(args │ │ │ -00092740: 2920 3d3d 2031 3a0a 2020 2020 2020 2020 ) == 1:. │ │ │ -00092750: 2020 2020 6e65 775f 6172 6773 203d 2028 new_args = ( │ │ │ -00092760: 7365 6c66 2c20 6172 6773 5b30 5d2c 2073 self, args[0], s │ │ │ -00092770: 656c 6629 0a20 2020 2020 2020 2065 6c73 elf). els │ │ │ -00092780: 653a 0a20 2020 2020 2020 2020 2020 206e e:. n │ │ │ -00092790: 6577 5f61 7267 7320 3d20 2873 656c 662c ew_args = (self, │ │ │ -000927a0: 2061 7267 735b 305d 2c20 7365 6c66 2c20 args[0], self, │ │ │ -000927b0: 6172 6773 5b31 5d29 0a23 7265 7475 726e args[1]).#return │ │ │ -000927c0: 2061 7070 6c79 285f 666c 746b 2e46 6c5f apply(_fltk.Fl_ │ │ │ -000927d0: 4669 6c65 5f43 686f 6f73 6572 5f63 616c File_Chooser_cal │ │ │ -000927e0: 6c62 6163 6b2c 6e65 775f 6172 6773 290a lback,new_args). │ │ │ -000927f0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ -00092800: 666c 746b 2e46 6c5f 4669 6c65 5f43 686f fltk.Fl_File_Cho │ │ │ -00092810: 6f73 6572 5f63 616c 6c62 6163 6b28 2a6e oser_callback(*n │ │ │ -00092820: 6577 5f61 7267 7329 0a0a 466c 5f46 696c ew_args)..Fl_Fil │ │ │ -00092830: 655f 4368 6f6f 7365 722e 6361 6c6c 6261 e_Chooser.callba │ │ │ -00092840: 636b 203d 205f 5f46 6c5f 4669 6c65 5f43 ck = __Fl_File_C │ │ │ -00092850: 686f 6f73 6572 4361 6c6c 6261 636b 0a23 hooserCallback.# │ │ │ -00092860: 2065 6e64 206f 6620 7468 6520 466c 5f46 end of the Fl_F │ │ │ -00092870: 696c 655f 4368 6f6f 7365 722e 6361 6c6c ile_Chooser.call │ │ │ -00092880: 6261 636b 2077 7261 7070 6572 0a0a 0a23 back wrapper...# │ │ │ -00092890: 206f 7665 7272 6964 6520 7468 6520 696d override the im │ │ │ -000928a0: 706c 656d 656e 7461 7469 6f6e 206f 6620 plementation of │ │ │ -000928b0: 466c 5f48 656c 705f 5669 6577 2e6c 696e Fl_Help_View.lin │ │ │ -000928c0: 6b0a 6465 6620 5f5f 466c 5f48 656c 705f k.def __Fl_Help_ │ │ │ -000928d0: 5669 6577 4c69 6e6b 2873 656c 662c 2a61 ViewLink(self,*a │ │ │ -000928e0: 7267 7329 3a0a 2020 2020 2020 2020 6966 rgs):. if │ │ │ -000928f0: 206c 656e 2861 7267 7329 203d 3d20 313a len(args) == 1: │ │ │ -00092900: 0a20 2020 2020 2020 2020 2020 206e 6577 . new │ │ │ -00092910: 5f61 7267 7320 3d20 2873 656c 662c 2061 _args = (self, a │ │ │ -00092920: 7267 735b 305d 2c20 7365 6c66 290a 2020 rgs[0], self). │ │ │ -00092930: 2020 2020 2020 656c 7365 3a0a 2020 2020 else:. │ │ │ -00092940: 2020 2020 2020 2020 6e65 775f 6172 6773 new_args │ │ │ -00092950: 203d 2028 7365 6c66 2c20 6172 6773 5b30 = (self, args[0 │ │ │ -00092960: 5d2c 2073 656c 662c 2061 7267 735b 315d ], self, args[1] │ │ │ -00092970: 290a 2372 6574 7572 6e20 6170 706c 7928 ).#return apply( │ │ │ -00092980: 5f66 6c74 6b2e 466c 5f48 656c 705f 5669 _fltk.Fl_Help_Vi │ │ │ -00092990: 6577 5f6c 696e 6b2c 6e65 775f 6172 6773 ew_link,new_args │ │ │ -000929a0: 290a 2020 2020 2020 2020 7265 7475 726e ). return │ │ │ -000929b0: 205f 666c 746b 2e46 6c5f 4865 6c70 5f56 _fltk.Fl_Help_V │ │ │ -000929c0: 6965 775f 6c69 6e6b 282a 6e65 775f 6172 iew_link(*new_ar │ │ │ -000929d0: 6773 290a 0a46 6c5f 4865 6c70 5f56 6965 gs)..Fl_Help_Vie │ │ │ -000929e0: 772e 6c69 6e6b 203d 205f 5f46 6c5f 4865 w.link = __Fl_He │ │ │ -000929f0: 6c70 5f56 6965 774c 696e 6b0a 2320 656e lp_ViewLink.# en │ │ │ -00092a00: 6420 6f66 2074 6865 2046 6c5f 4865 6c70 d of the Fl_Help │ │ │ -00092a10: 5f56 6965 772e 6c69 6e6b 2077 7261 7070 _View.link wrapp │ │ │ -00092a20: 6572 0a0a 0a46 6c2e 6164 645f 7469 6d65 er...Fl.add_time │ │ │ -00092a30: 6f75 7420 3d20 7374 6174 6963 6d65 7468 out = staticmeth │ │ │ -00092a40: 6f64 2846 6c5f 6164 645f 7469 6d65 6f75 od(Fl_add_timeou │ │ │ -00092a50: 7429 0a46 6c2e 7265 7065 6174 5f74 696d t).Fl.repeat_tim │ │ │ -00092a60: 656f 7574 203d 2073 7461 7469 636d 6574 eout = staticmet │ │ │ -00092a70: 686f 6428 466c 5f72 6570 6561 745f 7469 hod(Fl_repeat_ti │ │ │ -00092a80: 6d65 6f75 7429 0a46 6c2e 7265 6d6f 7665 meout).Fl.remove │ │ │ -00092a90: 5f74 696d 656f 7574 203d 2073 7461 7469 _timeout = stati │ │ │ -00092aa0: 636d 6574 686f 6428 466c 5f72 656d 6f76 cmethod(Fl_remov │ │ │ -00092ab0: 655f 7469 6d65 6f75 7429 0a46 6c2e 6164 e_timeout).Fl.ad │ │ │ -00092ac0: 645f 6368 6563 6b20 3d20 7374 6174 6963 d_check = static │ │ │ -00092ad0: 6d65 7468 6f64 2846 6c5f 6164 645f 6368 method(Fl_add_ch │ │ │ -00092ae0: 6563 6b29 0a46 6c2e 7265 6d6f 7665 5f63 eck).Fl.remove_c │ │ │ +0008e4b0: 466f 726d 6174 2066 6f72 6d61 743d 4134 Format format=A4 │ │ │ +0008e4c0: 2c20 656e 756d 2046 6c5f 5061 6765 645f , enum Fl_Paged_ │ │ │ +0008e4d0: 4465 7669 6365 3a3a 5061 6765 5f4c 6179 Device::Page_Lay │ │ │ +0008e4e0: 6f75 7420 6c61 796f 7574 3d50 4f52 5452 out layout=PORTR │ │ │ +0008e4f0: 4149 5429 202d 3e20 696e 740a 2020 2020 AIT) -> int. │ │ │ +0008e500: 2020 2020 2222 220a 2020 2020 2020 2020 """. │ │ │ +0008e510: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +0008e520: 506f 7374 5363 7269 7074 5f46 696c 655f PostScript_File_ │ │ │ +0008e530: 4465 7669 6365 5f73 7461 7274 5f6a 6f62 Device_start_job │ │ │ +0008e540: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +0008e550: 2020 2064 6566 2062 6567 696e 5f70 6167 def begin_pag │ │ │ +0008e560: 6528 7365 6c66 2c20 2a61 7267 7329 3a0a e(self, *args):. │ │ │ +0008e570: 2020 2020 2020 2020 7222 2222 6265 6769 r"""begi │ │ │ +0008e580: 6e5f 7061 6765 2846 6c5f 506f 7374 5363 n_page(Fl_PostSc │ │ │ +0008e590: 7269 7074 5f46 696c 655f 4465 7669 6365 ript_File_Device │ │ │ +0008e5a0: 2073 656c 6629 202d 3e20 696e 7422 2222 self) -> int""" │ │ │ +0008e5b0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +0008e5c0: 5f66 6c74 6b2e 466c 5f50 6f73 7453 6372 _fltk.Fl_PostScr │ │ │ +0008e5d0: 6970 745f 4669 6c65 5f44 6576 6963 655f ipt_File_Device_ │ │ │ +0008e5e0: 6265 6769 6e5f 7061 6765 2873 656c 662c begin_page(self, │ │ │ +0008e5f0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +0008e600: 2070 7269 6e74 6162 6c65 5f72 6563 7428 printable_rect( │ │ │ +0008e610: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +0008e620: 2020 2020 2020 7222 2222 7072 696e 7461 r"""printa │ │ │ +0008e630: 626c 655f 7265 6374 2846 6c5f 506f 7374 ble_rect(Fl_Post │ │ │ +0008e640: 5363 7269 7074 5f46 696c 655f 4465 7669 Script_File_Devi │ │ │ +0008e650: 6365 2073 656c 6629 202d 3e20 696e 7422 ce self) -> int" │ │ │ +0008e660: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0008e670: 6e20 5f66 6c74 6b2e 466c 5f50 6f73 7453 n _fltk.Fl_PostS │ │ │ +0008e680: 6372 6970 745f 4669 6c65 5f44 6576 6963 cript_File_Devic │ │ │ +0008e690: 655f 7072 696e 7461 626c 655f 7265 6374 e_printable_rect │ │ │ +0008e6a0: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +0008e6b0: 2020 2064 6566 206d 6172 6769 6e73 2873 def margins(s │ │ │ +0008e6c0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +0008e6d0: 2020 2020 2072 2222 226d 6172 6769 6e73 r"""margins │ │ │ +0008e6e0: 2846 6c5f 506f 7374 5363 7269 7074 5f46 (Fl_PostScript_F │ │ │ +0008e6f0: 696c 655f 4465 7669 6365 2073 656c 6629 ile_Device self) │ │ │ +0008e700: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +0008e710: 726e 205f 666c 746b 2e46 6c5f 506f 7374 rn _fltk.Fl_Post │ │ │ +0008e720: 5363 7269 7074 5f46 696c 655f 4465 7669 Script_File_Devi │ │ │ +0008e730: 6365 5f6d 6172 6769 6e73 2873 656c 662c ce_margins(self, │ │ │ +0008e740: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +0008e750: 206f 7269 6769 6e28 7365 6c66 2c20 2a61 origin(self, *a │ │ │ +0008e760: 7267 7329 3a0a 2020 2020 2020 2020 7222 rgs):. r" │ │ │ +0008e770: 2222 0a20 2020 2020 2020 206f 7269 6769 "". origi │ │ │ +0008e780: 6e28 466c 5f50 6f73 7453 6372 6970 745f n(Fl_PostScript_ │ │ │ +0008e790: 4669 6c65 5f44 6576 6963 6520 7365 6c66 File_Device self │ │ │ +0008e7a0: 290a 2020 2020 2020 2020 6f72 6967 696e ). origin │ │ │ +0008e7b0: 2846 6c5f 506f 7374 5363 7269 7074 5f46 (Fl_PostScript_F │ │ │ +0008e7c0: 696c 655f 4465 7669 6365 2073 656c 662c ile_Device self, │ │ │ +0008e7d0: 2069 6e74 2078 2c20 696e 7420 7929 0a20 int x, int y). │ │ │ +0008e7e0: 2020 2020 2020 2022 2222 0a20 2020 2020 """. │ │ │ +0008e7f0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +0008e800: 466c 5f50 6f73 7453 6372 6970 745f 4669 Fl_PostScript_Fi │ │ │ +0008e810: 6c65 5f44 6576 6963 655f 6f72 6967 696e le_Device_origin │ │ │ +0008e820: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +0008e830: 2020 2064 6566 2073 6361 6c65 2873 656c def scale(sel │ │ │ +0008e840: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +0008e850: 2020 2072 2222 2273 6361 6c65 2846 6c5f r"""scale(Fl_ │ │ │ +0008e860: 506f 7374 5363 7269 7074 5f46 696c 655f PostScript_File_ │ │ │ +0008e870: 4465 7669 6365 2073 656c 662c 2066 6c6f Device self, flo │ │ │ +0008e880: 6174 2073 6361 6c65 5f78 2c20 666c 6f61 at scale_x, floa │ │ │ +0008e890: 7420 7363 616c 655f 793d 302e 2922 2222 t scale_y=0.)""" │ │ │ +0008e8a0: 0a20 2020 2020 2020 2072 6574 7572 6e20 . return │ │ │ +0008e8b0: 5f66 6c74 6b2e 466c 5f50 6f73 7453 6372 _fltk.Fl_PostScr │ │ │ +0008e8c0: 6970 745f 4669 6c65 5f44 6576 6963 655f ipt_File_Device_ │ │ │ +0008e8d0: 7363 616c 6528 7365 6c66 2c20 2a61 7267 scale(self, *arg │ │ │ +0008e8e0: 7329 0a0a 2020 2020 6465 6620 726f 7461 s).. def rota │ │ │ +0008e8f0: 7465 2873 656c 662c 202a 6172 6773 293a te(self, *args): │ │ │ +0008e900: 0a20 2020 2020 2020 2072 2222 2272 6f74 . r"""rot │ │ │ +0008e910: 6174 6528 466c 5f50 6f73 7453 6372 6970 ate(Fl_PostScrip │ │ │ +0008e920: 745f 4669 6c65 5f44 6576 6963 6520 7365 t_File_Device se │ │ │ +0008e930: 6c66 2c20 666c 6f61 7420 616e 676c 6529 lf, float angle) │ │ │ +0008e940: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +0008e950: 726e 205f 666c 746b 2e46 6c5f 506f 7374 rn _fltk.Fl_Post │ │ │ +0008e960: 5363 7269 7074 5f46 696c 655f 4465 7669 Script_File_Devi │ │ │ +0008e970: 6365 5f72 6f74 6174 6528 7365 6c66 2c20 ce_rotate(self, │ │ │ +0008e980: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +0008e990: 7472 616e 736c 6174 6528 7365 6c66 2c20 translate(self, │ │ │ +0008e9a0: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +0008e9b0: 7222 2222 7472 616e 736c 6174 6528 466c r"""translate(Fl │ │ │ +0008e9c0: 5f50 6f73 7453 6372 6970 745f 4669 6c65 _PostScript_File │ │ │ +0008e9d0: 5f44 6576 6963 6520 7365 6c66 2c20 696e _Device self, in │ │ │ +0008e9e0: 7420 782c 2069 6e74 2079 2922 2222 0a20 t x, int y)""". │ │ │ +0008e9f0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +0008ea00: 6c74 6b2e 466c 5f50 6f73 7453 6372 6970 ltk.Fl_PostScrip │ │ │ +0008ea10: 745f 4669 6c65 5f44 6576 6963 655f 7472 t_File_Device_tr │ │ │ +0008ea20: 616e 736c 6174 6528 7365 6c66 2c20 2a61 anslate(self, *a │ │ │ +0008ea30: 7267 7329 0a0a 2020 2020 6465 6620 756e rgs).. def un │ │ │ +0008ea40: 7472 616e 736c 6174 6528 7365 6c66 2c20 translate(self, │ │ │ +0008ea50: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +0008ea60: 7222 2222 756e 7472 616e 736c 6174 6528 r"""untranslate( │ │ │ +0008ea70: 466c 5f50 6f73 7453 6372 6970 745f 4669 Fl_PostScript_Fi │ │ │ +0008ea80: 6c65 5f44 6576 6963 6520 7365 6c66 2922 le_Device self)" │ │ │ +0008ea90: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0008eaa0: 6e20 5f66 6c74 6b2e 466c 5f50 6f73 7453 n _fltk.Fl_PostS │ │ │ +0008eab0: 6372 6970 745f 4669 6c65 5f44 6576 6963 cript_File_Devic │ │ │ +0008eac0: 655f 756e 7472 616e 736c 6174 6528 7365 e_untranslate(se │ │ │ +0008ead0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +0008eae0: 6465 6620 656e 645f 7061 6765 2873 656c def end_page(sel │ │ │ +0008eaf0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +0008eb00: 2020 2072 2222 2265 6e64 5f70 6167 6528 r"""end_page( │ │ │ +0008eb10: 466c 5f50 6f73 7453 6372 6970 745f 4669 Fl_PostScript_Fi │ │ │ +0008eb20: 6c65 5f44 6576 6963 6520 7365 6c66 2920 le_Device self) │ │ │ +0008eb30: 2d3e 2069 6e74 2222 220a 2020 2020 2020 -> int""". │ │ │ +0008eb40: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +0008eb50: 6c5f 506f 7374 5363 7269 7074 5f46 696c l_PostScript_Fil │ │ │ +0008eb60: 655f 4465 7669 6365 5f65 6e64 5f70 6167 e_Device_end_pag │ │ │ +0008eb70: 6528 7365 6c66 2c20 2a61 7267 7329 0a0a e(self, *args).. │ │ │ +0008eb80: 2020 2020 6465 6620 656e 645f 6a6f 6228 def end_job( │ │ │ +0008eb90: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +0008eba0: 2020 2020 2020 7222 2222 656e 645f 6a6f r"""end_jo │ │ │ +0008ebb0: 6228 466c 5f50 6f73 7453 6372 6970 745f b(Fl_PostScript_ │ │ │ +0008ebc0: 4669 6c65 5f44 6576 6963 6520 7365 6c66 File_Device self │ │ │ +0008ebd0: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ +0008ebe0: 7572 6e20 5f66 6c74 6b2e 466c 5f50 6f73 urn _fltk.Fl_Pos │ │ │ +0008ebf0: 7453 6372 6970 745f 4669 6c65 5f44 6576 tScript_File_Dev │ │ │ +0008ec00: 6963 655f 656e 645f 6a6f 6228 7365 6c66 ice_end_job(self │ │ │ +0008ec10: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +0008ec20: 6620 6669 6c65 2873 656c 662c 202a 6172 f file(self, *ar │ │ │ +0008ec30: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +0008ec40: 2266 696c 6528 466c 5f50 6f73 7453 6372 "file(Fl_PostScr │ │ │ +0008ec50: 6970 745f 4669 6c65 5f44 6576 6963 6520 ipt_File_Device │ │ │ +0008ec60: 7365 6c66 2920 2d3e 2046 494c 4520 2a22 self) -> FILE *" │ │ │ +0008ec70: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0008ec80: 6e20 5f66 6c74 6b2e 466c 5f50 6f73 7453 n _fltk.Fl_PostS │ │ │ +0008ec90: 6372 6970 745f 4669 6c65 5f44 6576 6963 cript_File_Devic │ │ │ +0008eca0: 655f 6669 6c65 2873 656c 662c 202a 6172 e_file(self, *ar │ │ │ +0008ecb0: 6773 290a 0a20 2020 2064 6566 2063 6c6f gs).. def clo │ │ │ +0008ecc0: 7365 5f63 6f6d 6d61 6e64 2873 656c 662c se_command(self, │ │ │ +0008ecd0: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +0008ece0: 2072 2222 2263 6c6f 7365 5f63 6f6d 6d61 r"""close_comma │ │ │ +0008ecf0: 6e64 2846 6c5f 506f 7374 5363 7269 7074 nd(Fl_PostScript │ │ │ +0008ed00: 5f46 696c 655f 4465 7669 6365 2073 656c _File_Device sel │ │ │ +0008ed10: 662c 2046 6c5f 506f 7374 5363 7269 7074 f, Fl_PostScript │ │ │ +0008ed20: 5f43 6c6f 7365 5f43 6f6d 6d61 6e64 2063 _Close_Command c │ │ │ +0008ed30: 6d64 2922 2222 0a20 2020 2020 2020 2072 md)""". r │ │ │ +0008ed40: 6574 7572 6e20 5f66 6c74 6b2e 466c 5f50 eturn _fltk.Fl_P │ │ │ +0008ed50: 6f73 7453 6372 6970 745f 4669 6c65 5f44 ostScript_File_D │ │ │ +0008ed60: 6576 6963 655f 636c 6f73 655f 636f 6d6d evice_close_comm │ │ │ +0008ed70: 616e 6428 7365 6c66 2c20 2a61 7267 7329 and(self, *args) │ │ │ +0008ed80: 0a0a 2020 2020 6465 6620 7365 745f 6375 .. def set_cu │ │ │ +0008ed90: 7272 656e 7428 7365 6c66 2c20 2a61 7267 rrent(self, *arg │ │ │ +0008eda0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +0008edb0: 7365 745f 6375 7272 656e 7428 466c 5f50 set_current(Fl_P │ │ │ +0008edc0: 6f73 7453 6372 6970 745f 4669 6c65 5f44 ostScript_File_D │ │ │ +0008edd0: 6576 6963 6520 7365 6c66 2922 2222 0a20 evice self)""". │ │ │ +0008ede0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +0008edf0: 6c74 6b2e 466c 5f50 6f73 7453 6372 6970 ltk.Fl_PostScrip │ │ │ +0008ee00: 745f 4669 6c65 5f44 6576 6963 655f 7365 t_File_Device_se │ │ │ +0008ee10: 745f 6375 7272 656e 7428 7365 6c66 2c20 t_current(self, │ │ │ +0008ee20: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +0008ee30: 656e 645f 6375 7272 656e 7428 7365 6c66 end_current(self │ │ │ +0008ee40: 2c20 2a61 7267 7329 3a0a 2020 2020 2020 , *args):. │ │ │ +0008ee50: 2020 7222 2222 656e 645f 6375 7272 656e r"""end_curren │ │ │ +0008ee60: 7428 466c 5f50 6f73 7453 6372 6970 745f t(Fl_PostScript_ │ │ │ +0008ee70: 4669 6c65 5f44 6576 6963 6520 7365 6c66 File_Device self │ │ │ +0008ee80: 2922 2222 0a20 2020 2020 2020 2072 6574 )""". ret │ │ │ +0008ee90: 7572 6e20 5f66 6c74 6b2e 466c 5f50 6f73 urn _fltk.Fl_Pos │ │ │ +0008eea0: 7453 6372 6970 745f 4669 6c65 5f44 6576 tScript_File_Dev │ │ │ +0008eeb0: 6963 655f 656e 645f 6375 7272 656e 7428 ice_end_current( │ │ │ +0008eec0: 7365 6c66 2c20 2a61 7267 7329 0a20 2020 self, *args). │ │ │ +0008eed0: 2064 6566 205f 5f64 6973 6f77 6e5f 5f28 def __disown__( │ │ │ +0008eee0: 7365 6c66 293a 0a20 2020 2020 2020 2073 self):. s │ │ │ +0008eef0: 656c 662e 7468 6973 2e64 6973 6f77 6e28 elf.this.disown( │ │ │ +0008ef00: 290a 2020 2020 2020 2020 5f66 6c74 6b2e ). _fltk. │ │ │ +0008ef10: 6469 736f 776e 5f46 6c5f 506f 7374 5363 disown_Fl_PostSc │ │ │ +0008ef20: 7269 7074 5f46 696c 655f 4465 7669 6365 ript_File_Device │ │ │ +0008ef30: 2873 656c 6629 0a20 2020 2020 2020 2072 (self). r │ │ │ +0008ef40: 6574 7572 6e20 7765 616b 7265 662e 7072 eturn weakref.pr │ │ │ +0008ef50: 6f78 7928 7365 6c66 290a 0a23 2052 6567 oxy(self)..# Reg │ │ │ +0008ef60: 6973 7465 7220 466c 5f50 6f73 7453 6372 ister Fl_PostScr │ │ │ +0008ef70: 6970 745f 4669 6c65 5f44 6576 6963 6520 ipt_File_Device │ │ │ +0008ef80: 696e 205f 666c 746b 3a0a 5f66 6c74 6b2e in _fltk:._fltk. │ │ │ +0008ef90: 466c 5f50 6f73 7453 6372 6970 745f 4669 Fl_PostScript_Fi │ │ │ +0008efa0: 6c65 5f44 6576 6963 655f 7377 6967 7265 le_Device_swigre │ │ │ +0008efb0: 6769 7374 6572 2846 6c5f 506f 7374 5363 gister(Fl_PostSc │ │ │ +0008efc0: 7269 7074 5f46 696c 655f 4465 7669 6365 ript_File_Device │ │ │ +0008efd0: 290a 636c 6173 7320 466c 5f45 5053 5f46 ).class Fl_EPS_F │ │ │ +0008efe0: 696c 655f 5375 7266 6163 6528 466c 5f57 ile_Surface(Fl_W │ │ │ +0008eff0: 6964 6765 745f 5375 7266 6163 6529 3a0a idget_Surface):. │ │ │ +0008f000: 2020 2020 7222 2222 5072 6f78 7920 6f66 r"""Proxy of │ │ │ +0008f010: 2043 2b2b 2046 6c5f 4550 535f 4669 6c65 C++ Fl_EPS_File │ │ │ +0008f020: 5f53 7572 6661 6365 2063 6c61 7373 2e22 _Surface class." │ │ │ +0008f030: 2222 0a0a 2020 2020 7468 6973 6f77 6e20 "".. thisown │ │ │ +0008f040: 3d20 7072 6f70 6572 7479 286c 616d 6264 = property(lambd │ │ │ +0008f050: 6120 783a 2078 2e74 6869 732e 6f77 6e28 a x: x.this.own( │ │ │ +0008f060: 292c 206c 616d 6264 6120 782c 2076 3a20 ), lambda x, v: │ │ │ +0008f070: 782e 7468 6973 2e6f 776e 2876 292c 2064 x.this.own(v), d │ │ │ +0008f080: 6f63 3d22 5468 6520 6d65 6d62 6572 7368 oc="The membersh │ │ │ +0008f090: 6970 2066 6c61 6722 290a 2020 2020 5f5f ip flag"). __ │ │ │ +0008f0a0: 7265 7072 5f5f 203d 205f 7377 6967 5f72 repr__ = _swig_r │ │ │ +0008f0b0: 6570 720a 0a20 2020 2064 6566 205f 5f69 epr.. def __i │ │ │ +0008f0c0: 6e69 745f 5f28 7365 6c66 2c20 2a61 7267 nit__(self, *arg │ │ │ +0008f0d0: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +0008f0e0: 5f5f 696e 6974 5f5f 2846 6c5f 4550 535f __init__(Fl_EPS_ │ │ │ +0008f0f0: 4669 6c65 5f53 7572 6661 6365 2073 656c File_Surface sel │ │ │ +0008f100: 662c 2069 6e74 2077 6964 7468 2c20 696e f, int width, in │ │ │ +0008f110: 7420 6865 6967 6874 2c20 4649 4c45 202a t height, FILE * │ │ │ +0008f120: 2065 7073 5f6f 7574 7075 742c 2046 6c5f eps_output, Fl_ │ │ │ +0008f130: 436f 6c6f 7220 6261 636b 6772 6f75 6e64 Color background │ │ │ +0008f140: 3d2c 2046 6c5f 506f 7374 5363 7269 7074 =, Fl_PostScript │ │ │ +0008f150: 5f43 6c6f 7365 5f43 6f6d 6d61 6e64 2063 _Close_Command c │ │ │ +0008f160: 6c6f 7365 663d 4e6f 6e65 2920 2d3e 2046 losef=None) -> F │ │ │ +0008f170: 6c5f 4550 535f 4669 6c65 5f53 7572 6661 l_EPS_File_Surfa │ │ │ +0008f180: 6365 2222 220a 2020 2020 2020 2020 5f66 ce""". _f │ │ │ +0008f190: 6c74 6b2e 466c 5f45 5053 5f46 696c 655f ltk.Fl_EPS_File_ │ │ │ +0008f1a0: 5375 7266 6163 655f 7377 6967 696e 6974 Surface_swiginit │ │ │ +0008f1b0: 2873 656c 662c 205f 666c 746b 2e6e 6577 (self, _fltk.new │ │ │ +0008f1c0: 5f46 6c5f 4550 535f 4669 6c65 5f53 7572 _Fl_EPS_File_Sur │ │ │ +0008f1d0: 6661 6365 282a 6172 6773 2929 0a20 2020 face(*args)). │ │ │ +0008f1e0: 205f 5f73 7769 675f 6465 7374 726f 795f __swig_destroy_ │ │ │ +0008f1f0: 5f20 3d20 5f66 6c74 6b2e 6465 6c65 7465 _ = _fltk.delete │ │ │ +0008f200: 5f46 6c5f 4550 535f 4669 6c65 5f53 7572 _Fl_EPS_File_Sur │ │ │ +0008f210: 6661 6365 0a0a 2020 2020 6465 6620 7072 face.. def pr │ │ │ +0008f220: 696e 7461 626c 655f 7265 6374 2873 656c intable_rect(sel │ │ │ +0008f230: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +0008f240: 2020 2072 2222 2270 7269 6e74 6162 6c65 r"""printable │ │ │ +0008f250: 5f72 6563 7428 466c 5f45 5053 5f46 696c _rect(Fl_EPS_Fil │ │ │ +0008f260: 655f 5375 7266 6163 6520 7365 6c66 2920 e_Surface self) │ │ │ +0008f270: 2d3e 2069 6e74 2222 220a 2020 2020 2020 -> int""". │ │ │ +0008f280: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +0008f290: 6c5f 4550 535f 4669 6c65 5f53 7572 6661 l_EPS_File_Surfa │ │ │ +0008f2a0: 6365 5f70 7269 6e74 6162 6c65 5f72 6563 ce_printable_rec │ │ │ +0008f2b0: 7428 7365 6c66 2c20 2a61 7267 7329 0a0a t(self, *args).. │ │ │ +0008f2c0: 2020 2020 6465 6620 6669 6c65 2873 656c def file(sel │ │ │ +0008f2d0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +0008f2e0: 2020 2072 2222 2266 696c 6528 466c 5f45 r"""file(Fl_E │ │ │ +0008f2f0: 5053 5f46 696c 655f 5375 7266 6163 6520 PS_File_Surface │ │ │ +0008f300: 7365 6c66 2920 2d3e 2046 494c 4520 2a22 self) -> FILE *" │ │ │ +0008f310: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0008f320: 6e20 5f66 6c74 6b2e 466c 5f45 5053 5f46 n _fltk.Fl_EPS_F │ │ │ +0008f330: 696c 655f 5375 7266 6163 655f 6669 6c65 ile_Surface_file │ │ │ +0008f340: 2873 656c 662c 202a 6172 6773 290a 0a20 (self, *args).. │ │ │ +0008f350: 2020 2064 6566 206f 7269 6769 6e28 7365 def origin(se │ │ │ +0008f360: 6c66 2c20 2a61 7267 7329 3a0a 2020 2020 lf, *args):. │ │ │ +0008f370: 2020 2020 7222 2222 0a20 2020 2020 2020 r""". │ │ │ +0008f380: 206f 7269 6769 6e28 466c 5f45 5053 5f46 origin(Fl_EPS_F │ │ │ +0008f390: 696c 655f 5375 7266 6163 6520 7365 6c66 ile_Surface self │ │ │ +0008f3a0: 2c20 696e 7420 782c 2069 6e74 2079 290a , int x, int y). │ │ │ +0008f3b0: 2020 2020 2020 2020 6f72 6967 696e 2846 origin(F │ │ │ +0008f3c0: 6c5f 4550 535f 4669 6c65 5f53 7572 6661 l_EPS_File_Surfa │ │ │ +0008f3d0: 6365 2073 656c 662c 2069 6e74 202a 2070 ce self, int * p │ │ │ +0008f3e0: 782c 2069 6e74 202a 2070 7929 0a20 2020 x, int * py). │ │ │ +0008f3f0: 2020 2020 2022 2222 0a20 2020 2020 2020 """. │ │ │ +0008f400: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +0008f410: 5f45 5053 5f46 696c 655f 5375 7266 6163 _EPS_File_Surfac │ │ │ +0008f420: 655f 6f72 6967 696e 2873 656c 662c 202a e_origin(self, * │ │ │ +0008f430: 6172 6773 290a 0a20 2020 2064 6566 2074 args).. def t │ │ │ +0008f440: 7261 6e73 6c61 7465 2873 656c 662c 202a ranslate(self, * │ │ │ +0008f450: 6172 6773 293a 0a20 2020 2020 2020 2072 args):. r │ │ │ +0008f460: 2222 2274 7261 6e73 6c61 7465 2846 6c5f """translate(Fl_ │ │ │ +0008f470: 4550 535f 4669 6c65 5f53 7572 6661 6365 EPS_File_Surface │ │ │ +0008f480: 2073 656c 662c 2069 6e74 2078 2c20 696e self, int x, in │ │ │ +0008f490: 7420 7929 2222 220a 2020 2020 2020 2020 t y)""". │ │ │ +0008f4a0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +0008f4b0: 4550 535f 4669 6c65 5f53 7572 6661 6365 EPS_File_Surface │ │ │ +0008f4c0: 5f74 7261 6e73 6c61 7465 2873 656c 662c _translate(self, │ │ │ +0008f4d0: 202a 6172 6773 290a 0a20 2020 2064 6566 *args).. def │ │ │ +0008f4e0: 2075 6e74 7261 6e73 6c61 7465 2873 656c untranslate(sel │ │ │ +0008f4f0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +0008f500: 2020 2072 2222 2275 6e74 7261 6e73 6c61 r"""untransla │ │ │ +0008f510: 7465 2846 6c5f 4550 535f 4669 6c65 5f53 te(Fl_EPS_File_S │ │ │ +0008f520: 7572 6661 6365 2073 656c 6629 2222 220a urface self)""". │ │ │ +0008f530: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +0008f540: 666c 746b 2e46 6c5f 4550 535f 4669 6c65 fltk.Fl_EPS_File │ │ │ +0008f550: 5f53 7572 6661 6365 5f75 6e74 7261 6e73 _Surface_untrans │ │ │ +0008f560: 6c61 7465 2873 656c 662c 202a 6172 6773 late(self, *args │ │ │ +0008f570: 290a 0a20 2020 2064 6566 2063 6c6f 7365 ).. def close │ │ │ +0008f580: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +0008f590: 2020 2020 2020 2072 2222 2263 6c6f 7365 r"""close │ │ │ +0008f5a0: 2846 6c5f 4550 535f 4669 6c65 5f53 7572 (Fl_EPS_File_Sur │ │ │ +0008f5b0: 6661 6365 2073 656c 6629 202d 3e20 696e face self) -> in │ │ │ +0008f5c0: 7422 2222 0a20 2020 2020 2020 2072 6574 t""". ret │ │ │ +0008f5d0: 7572 6e20 5f66 6c74 6b2e 466c 5f45 5053 urn _fltk.Fl_EPS │ │ │ +0008f5e0: 5f46 696c 655f 5375 7266 6163 655f 636c _File_Surface_cl │ │ │ +0008f5f0: 6f73 6528 7365 6c66 2c20 2a61 7267 7329 ose(self, *args) │ │ │ +0008f600: 0a0a 2320 5265 6769 7374 6572 2046 6c5f ..# Register Fl_ │ │ │ +0008f610: 4550 535f 4669 6c65 5f53 7572 6661 6365 EPS_File_Surface │ │ │ +0008f620: 2069 6e20 5f66 6c74 6b3a 0a5f 666c 746b in _fltk:._fltk │ │ │ +0008f630: 2e46 6c5f 4550 535f 4669 6c65 5f53 7572 .Fl_EPS_File_Sur │ │ │ +0008f640: 6661 6365 5f73 7769 6772 6567 6973 7465 face_swigregiste │ │ │ +0008f650: 7228 466c 5f45 5053 5f46 696c 655f 5375 r(Fl_EPS_File_Su │ │ │ +0008f660: 7266 6163 6529 0a63 6c61 7373 2046 6c5f rface).class Fl_ │ │ │ +0008f670: 5072 696e 7465 7228 466c 5f50 6167 6564 Printer(Fl_Paged │ │ │ +0008f680: 5f44 6576 6963 6529 3a0a 2020 2020 7222 _Device):. r" │ │ │ +0008f690: 2222 0a0a 2020 2020 4465 636c 6172 6174 "".. Declarat │ │ │ +0008f6a0: 696f 6e20 6f66 2063 6c61 7373 6573 2046 ion of classes F │ │ │ +0008f6b0: 6c5f 5072 696e 7465 722c 2046 6c5f 5379 l_Printer, Fl_Sy │ │ │ +0008f6c0: 7374 656d 5f50 7269 6e74 6572 2061 6e64 stem_Printer and │ │ │ +0008f6d0: 2046 6c5f 506f 7374 5363 7269 7074 5f50 Fl_PostScript_P │ │ │ +0008f6e0: 7269 6e74 6572 2e0a 0a20 2020 2022 2222 rinter... """ │ │ │ +0008f6f0: 0a0a 2020 2020 7468 6973 6f77 6e20 3d20 .. thisown = │ │ │ +0008f700: 7072 6f70 6572 7479 286c 616d 6264 6120 property(lambda │ │ │ +0008f710: 783a 2078 2e74 6869 732e 6f77 6e28 292c x: x.this.own(), │ │ │ +0008f720: 206c 616d 6264 6120 782c 2076 3a20 782e lambda x, v: x. │ │ │ +0008f730: 7468 6973 2e6f 776e 2876 292c 2064 6f63 this.own(v), doc │ │ │ +0008f740: 3d22 5468 6520 6d65 6d62 6572 7368 6970 ="The membership │ │ │ +0008f750: 2066 6c61 6722 290a 2020 2020 5f5f 7265 flag"). __re │ │ │ +0008f760: 7072 5f5f 203d 205f 7377 6967 5f72 6570 pr__ = _swig_rep │ │ │ +0008f770: 720a 0a20 2020 2064 6566 205f 5f69 6e69 r.. def __ini │ │ │ +0008f780: 745f 5f28 7365 6c66 2c20 2a61 7267 7329 t__(self, *args) │ │ │ +0008f790: 3a0a 2020 2020 2020 2020 7222 2222 5f5f :. r"""__ │ │ │ +0008f7a0: 696e 6974 5f5f 2846 6c5f 5072 696e 7465 init__(Fl_Printe │ │ │ +0008f7b0: 7220 7365 6c66 2920 2d3e 2046 6c5f 5072 r self) -> Fl_Pr │ │ │ +0008f7c0: 696e 7465 7222 2222 0a20 2020 2020 2020 inter""". │ │ │ +0008f7d0: 2069 6620 7365 6c66 2e5f 5f63 6c61 7373 if self.__class │ │ │ +0008f7e0: 5f5f 203d 3d20 466c 5f50 7269 6e74 6572 __ == Fl_Printer │ │ │ +0008f7f0: 3a0a 2020 2020 2020 2020 2020 2020 5f73 :. _s │ │ │ +0008f800: 656c 6620 3d20 4e6f 6e65 0a20 2020 2020 elf = None. │ │ │ +0008f810: 2020 2065 6c73 653a 0a20 2020 2020 2020 else:. │ │ │ +0008f820: 2020 2020 205f 7365 6c66 203d 2073 656c _self = sel │ │ │ +0008f830: 660a 2020 2020 2020 2020 5f66 6c74 6b2e f. _fltk. │ │ │ +0008f840: 466c 5f50 7269 6e74 6572 5f73 7769 6769 Fl_Printer_swigi │ │ │ +0008f850: 6e69 7428 7365 6c66 2c20 5f66 6c74 6b2e nit(self, _fltk. │ │ │ +0008f860: 6e65 775f 466c 5f50 7269 6e74 6572 285f new_Fl_Printer(_ │ │ │ +0008f870: 7365 6c66 2c20 2a61 7267 7329 290a 0a20 self, *args)).. │ │ │ +0008f880: 2020 2064 6566 2062 6567 696e 5f6a 6f62 def begin_job │ │ │ +0008f890: 2873 656c 662c 202a 6172 6773 293a 0a20 (self, *args):. │ │ │ +0008f8a0: 2020 2020 2020 2072 2222 2262 6567 696e r"""begin │ │ │ +0008f8b0: 5f6a 6f62 2846 6c5f 5072 696e 7465 7220 _job(Fl_Printer │ │ │ +0008f8c0: 7365 6c66 2c20 696e 7420 7061 6765 636f self, int pageco │ │ │ +0008f8d0: 756e 743d 302c 2069 6e74 202a 2066 726f unt=0, int * fro │ │ │ +0008f8e0: 6d70 6167 653d 4e6f 6e65 2c20 696e 7420 mpage=None, int │ │ │ +0008f8f0: 2a20 746f 7061 6765 3d4e 6f6e 652c 2063 * topage=None, c │ │ │ +0008f900: 6861 7220 2a2a 2070 6572 725f 6d65 7373 har ** perr_mess │ │ │ +0008f910: 6167 653d 4e6f 6e65 2920 2d3e 2069 6e74 age=None) -> int │ │ │ +0008f920: 2222 220a 2020 2020 2020 2020 7265 7475 """. retu │ │ │ +0008f930: 726e 205f 666c 746b 2e46 6c5f 5072 696e rn _fltk.Fl_Prin │ │ │ +0008f940: 7465 725f 6265 6769 6e5f 6a6f 6228 7365 ter_begin_job(se │ │ │ +0008f950: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +0008f960: 6465 6620 6265 6769 6e5f 7061 6765 2873 def begin_page(s │ │ │ +0008f970: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +0008f980: 2020 2020 2072 2222 2262 6567 696e 5f70 r"""begin_p │ │ │ +0008f990: 6167 6528 466c 5f50 7269 6e74 6572 2073 age(Fl_Printer s │ │ │ +0008f9a0: 656c 6629 202d 3e20 696e 7422 2222 0a20 elf) -> int""". │ │ │ +0008f9b0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +0008f9c0: 6c74 6b2e 466c 5f50 7269 6e74 6572 5f62 ltk.Fl_Printer_b │ │ │ +0008f9d0: 6567 696e 5f70 6167 6528 7365 6c66 2c20 egin_page(self, │ │ │ +0008f9e0: 2a61 7267 7329 0a0a 2020 2020 6465 6620 *args).. def │ │ │ +0008f9f0: 7072 696e 7461 626c 655f 7265 6374 2873 printable_rect(s │ │ │ +0008fa00: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +0008fa10: 2020 2020 2072 2222 2270 7269 6e74 6162 r"""printab │ │ │ +0008fa20: 6c65 5f72 6563 7428 466c 5f50 7269 6e74 le_rect(Fl_Print │ │ │ +0008fa30: 6572 2073 656c 6629 202d 3e20 696e 7422 er self) -> int" │ │ │ +0008fa40: 2222 0a20 2020 2020 2020 2072 6574 7572 "". retur │ │ │ +0008fa50: 6e20 5f66 6c74 6b2e 466c 5f50 7269 6e74 n _fltk.Fl_Print │ │ │ +0008fa60: 6572 5f70 7269 6e74 6162 6c65 5f72 6563 er_printable_rec │ │ │ +0008fa70: 7428 7365 6c66 2c20 2a61 7267 7329 0a0a t(self, *args).. │ │ │ +0008fa80: 2020 2020 6465 6620 6d61 7267 696e 7328 def margins( │ │ │ +0008fa90: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +0008faa0: 2020 2020 2020 7222 2222 6d61 7267 696e r"""margin │ │ │ +0008fab0: 7328 466c 5f50 7269 6e74 6572 2073 656c s(Fl_Printer sel │ │ │ +0008fac0: 6629 2222 220a 2020 2020 2020 2020 7265 f)""". re │ │ │ +0008fad0: 7475 726e 205f 666c 746b 2e46 6c5f 5072 turn _fltk.Fl_Pr │ │ │ +0008fae0: 696e 7465 725f 6d61 7267 696e 7328 7365 inter_margins(se │ │ │ +0008faf0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +0008fb00: 6465 6620 6f72 6967 696e 2873 656c 662c def origin(self, │ │ │ +0008fb10: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +0008fb20: 2072 2222 220a 2020 2020 2020 2020 6f72 r""". or │ │ │ +0008fb30: 6967 696e 2846 6c5f 5072 696e 7465 7220 igin(Fl_Printer │ │ │ +0008fb40: 7365 6c66 290a 2020 2020 2020 2020 6f72 self). or │ │ │ +0008fb50: 6967 696e 2846 6c5f 5072 696e 7465 7220 igin(Fl_Printer │ │ │ +0008fb60: 7365 6c66 2c20 696e 7420 782c 2069 6e74 self, int x, int │ │ │ +0008fb70: 2079 290a 2020 2020 2020 2020 2222 220a y). """. │ │ │ +0008fb80: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +0008fb90: 666c 746b 2e46 6c5f 5072 696e 7465 725f fltk.Fl_Printer_ │ │ │ +0008fba0: 6f72 6967 696e 2873 656c 662c 202a 6172 origin(self, *ar │ │ │ +0008fbb0: 6773 290a 0a20 2020 2064 6566 2073 6361 gs).. def sca │ │ │ +0008fbc0: 6c65 2873 656c 662c 202a 6172 6773 293a le(self, *args): │ │ │ +0008fbd0: 0a20 2020 2020 2020 2072 2222 2273 6361 . r"""sca │ │ │ +0008fbe0: 6c65 2846 6c5f 5072 696e 7465 7220 7365 le(Fl_Printer se │ │ │ +0008fbf0: 6c66 2c20 666c 6f61 7420 7363 616c 655f lf, float scale_ │ │ │ +0008fc00: 782c 2066 6c6f 6174 2073 6361 6c65 5f79 x, float scale_y │ │ │ +0008fc10: 3d30 2e29 2222 220a 2020 2020 2020 2020 =0.)""". │ │ │ +0008fc20: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +0008fc30: 5072 696e 7465 725f 7363 616c 6528 7365 Printer_scale(se │ │ │ +0008fc40: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +0008fc50: 6465 6620 726f 7461 7465 2873 656c 662c def rotate(self, │ │ │ +0008fc60: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +0008fc70: 2072 2222 2272 6f74 6174 6528 466c 5f50 r"""rotate(Fl_P │ │ │ +0008fc80: 7269 6e74 6572 2073 656c 662c 2066 6c6f rinter self, flo │ │ │ +0008fc90: 6174 2061 6e67 6c65 2922 2222 0a20 2020 at angle)""". │ │ │ +0008fca0: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +0008fcb0: 6b2e 466c 5f50 7269 6e74 6572 5f72 6f74 k.Fl_Printer_rot │ │ │ +0008fcc0: 6174 6528 7365 6c66 2c20 2a61 7267 7329 ate(self, *args) │ │ │ +0008fcd0: 0a0a 2020 2020 6465 6620 7472 616e 736c .. def transl │ │ │ +0008fce0: 6174 6528 7365 6c66 2c20 2a61 7267 7329 ate(self, *args) │ │ │ +0008fcf0: 3a0a 2020 2020 2020 2020 7222 2222 7472 :. r"""tr │ │ │ +0008fd00: 616e 736c 6174 6528 466c 5f50 7269 6e74 anslate(Fl_Print │ │ │ +0008fd10: 6572 2073 656c 662c 2069 6e74 2078 2c20 er self, int x, │ │ │ +0008fd20: 696e 7420 7929 2222 220a 2020 2020 2020 int y)""". │ │ │ +0008fd30: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +0008fd40: 6c5f 5072 696e 7465 725f 7472 616e 736c l_Printer_transl │ │ │ +0008fd50: 6174 6528 7365 6c66 2c20 2a61 7267 7329 ate(self, *args) │ │ │ +0008fd60: 0a0a 2020 2020 6465 6620 756e 7472 616e .. def untran │ │ │ +0008fd70: 736c 6174 6528 7365 6c66 2c20 2a61 7267 slate(self, *arg │ │ │ +0008fd80: 7329 3a0a 2020 2020 2020 2020 7222 2222 s):. r""" │ │ │ +0008fd90: 756e 7472 616e 736c 6174 6528 466c 5f50 untranslate(Fl_P │ │ │ +0008fda0: 7269 6e74 6572 2073 656c 6629 2222 220a rinter self)""". │ │ │ +0008fdb0: 2020 2020 2020 2020 7265 7475 726e 205f return _ │ │ │ +0008fdc0: 666c 746b 2e46 6c5f 5072 696e 7465 725f fltk.Fl_Printer_ │ │ │ +0008fdd0: 756e 7472 616e 736c 6174 6528 7365 6c66 untranslate(self │ │ │ +0008fde0: 2c20 2a61 7267 7329 0a0a 2020 2020 6465 , *args).. de │ │ │ +0008fdf0: 6620 656e 645f 7061 6765 2873 656c 662c f end_page(self, │ │ │ +0008fe00: 202a 6172 6773 293a 0a20 2020 2020 2020 *args):. │ │ │ +0008fe10: 2072 2222 2265 6e64 5f70 6167 6528 466c r"""end_page(Fl │ │ │ +0008fe20: 5f50 7269 6e74 6572 2073 656c 6629 202d _Printer self) - │ │ │ +0008fe30: 3e20 696e 7422 2222 0a20 2020 2020 2020 > int""". │ │ │ +0008fe40: 2072 6574 7572 6e20 5f66 6c74 6b2e 466c return _fltk.Fl │ │ │ +0008fe50: 5f50 7269 6e74 6572 5f65 6e64 5f70 6167 _Printer_end_pag │ │ │ +0008fe60: 6528 7365 6c66 2c20 2a61 7267 7329 0a0a e(self, *args).. │ │ │ +0008fe70: 2020 2020 6465 6620 656e 645f 6a6f 6228 def end_job( │ │ │ +0008fe80: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +0008fe90: 2020 2020 2020 7222 2222 656e 645f 6a6f r"""end_jo │ │ │ +0008fea0: 6228 466c 5f50 7269 6e74 6572 2073 656c b(Fl_Printer sel │ │ │ +0008feb0: 6629 2222 220a 2020 2020 2020 2020 7265 f)""". re │ │ │ +0008fec0: 7475 726e 205f 666c 746b 2e46 6c5f 5072 turn _fltk.Fl_Pr │ │ │ +0008fed0: 696e 7465 725f 656e 645f 6a6f 6228 7365 inter_end_job(se │ │ │ +0008fee0: 6c66 2c20 2a61 7267 7329 0a0a 2020 2020 lf, *args).. │ │ │ +0008fef0: 6465 6620 7365 745f 6375 7272 656e 7428 def set_current( │ │ │ +0008ff00: 7365 6c66 2c20 2a61 7267 7329 3a0a 2020 self, *args):. │ │ │ +0008ff10: 2020 2020 2020 7222 2222 7365 745f 6375 r"""set_cu │ │ │ +0008ff20: 7272 656e 7428 466c 5f50 7269 6e74 6572 rrent(Fl_Printer │ │ │ +0008ff30: 2073 656c 6629 2222 220a 2020 2020 2020 self)""". │ │ │ +0008ff40: 2020 7265 7475 726e 205f 666c 746b 2e46 return _fltk.F │ │ │ +0008ff50: 6c5f 5072 696e 7465 725f 7365 745f 6375 l_Printer_set_cu │ │ │ +0008ff60: 7272 656e 7428 7365 6c66 2c20 2a61 7267 rrent(self, *arg │ │ │ +0008ff70: 7329 0a0a 2020 2020 6465 6620 6973 5f63 s).. def is_c │ │ │ +0008ff80: 7572 7265 6e74 2873 656c 662c 202a 6172 urrent(self, *ar │ │ │ +0008ff90: 6773 293a 0a20 2020 2020 2020 2072 2222 gs):. r"" │ │ │ +0008ffa0: 2269 735f 6375 7272 656e 7428 466c 5f50 "is_current(Fl_P │ │ │ +0008ffb0: 7269 6e74 6572 2073 656c 6629 202d 3e20 rinter self) -> │ │ │ +0008ffc0: 626f 6f6c 2222 220a 2020 2020 2020 2020 bool""". │ │ │ +0008ffd0: 7265 7475 726e 205f 666c 746b 2e46 6c5f return _fltk.Fl_ │ │ │ +0008ffe0: 5072 696e 7465 725f 6973 5f63 7572 7265 Printer_is_curre │ │ │ +0008fff0: 6e74 2873 656c 662c 202a 6172 6773 290a nt(self, *args). │ │ │ +00090000: 2020 2020 5f5f 7377 6967 5f64 6573 7472 __swig_destr │ │ │ +00090010: 6f79 5f5f 203d 205f 666c 746b 2e64 656c oy__ = _fltk.del │ │ │ +00090020: 6574 655f 466c 5f50 7269 6e74 6572 0a20 ete_Fl_Printer. │ │ │ +00090030: 2020 2064 6566 205f 5f64 6973 6f77 6e5f def __disown_ │ │ │ +00090040: 5f28 7365 6c66 293a 0a20 2020 2020 2020 _(self):. │ │ │ +00090050: 2073 656c 662e 7468 6973 2e64 6973 6f77 self.this.disow │ │ │ +00090060: 6e28 290a 2020 2020 2020 2020 5f66 6c74 n(). _flt │ │ │ +00090070: 6b2e 6469 736f 776e 5f46 6c5f 5072 696e k.disown_Fl_Prin │ │ │ +00090080: 7465 7228 7365 6c66 290a 2020 2020 2020 ter(self). │ │ │ +00090090: 2020 7265 7475 726e 2077 6561 6b72 6566 return weakref │ │ │ +000900a0: 2e70 726f 7879 2873 656c 6629 0a0a 2020 .proxy(self).. │ │ │ +000900b0: 2020 6465 6620 656e 645f 6375 7272 656e def end_curren │ │ │ +000900c0: 7428 7365 6c66 2c20 2a61 7267 7329 3a0a t(self, *args):. │ │ │ +000900d0: 2020 2020 2020 2020 7222 2222 656e 645f r"""end_ │ │ │ +000900e0: 6375 7272 656e 7428 466c 5f50 7269 6e74 current(Fl_Print │ │ │ +000900f0: 6572 2073 656c 6629 2222 220a 2020 2020 er self)""". │ │ │ +00090100: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +00090110: 2e46 6c5f 5072 696e 7465 725f 656e 645f .Fl_Printer_end_ │ │ │ +00090120: 6375 7272 656e 7428 7365 6c66 2c20 2a61 current(self, *a │ │ │ +00090130: 7267 7329 0a0a 2320 5265 6769 7374 6572 rgs)..# Register │ │ │ +00090140: 2046 6c5f 5072 696e 7465 7220 696e 205f Fl_Printer in _ │ │ │ +00090150: 666c 746b 3a0a 5f66 6c74 6b2e 466c 5f50 fltk:._fltk.Fl_P │ │ │ +00090160: 7269 6e74 6572 5f73 7769 6772 6567 6973 rinter_swigregis │ │ │ +00090170: 7465 7228 466c 5f50 7269 6e74 6572 290a ter(Fl_Printer). │ │ │ +00090180: 0a64 6566 2066 6c5f 7574 6638 6279 7465 .def fl_utf8byte │ │ │ +00090190: 7328 2a61 7267 7329 3a0a 2020 2020 7222 s(*args):. r" │ │ │ +000901a0: 2222 666c 5f75 7466 3862 7974 6573 2875 ""fl_utf8bytes(u │ │ │ +000901b0: 6e73 6967 6e65 6420 696e 7420 7563 7329 nsigned int ucs) │ │ │ +000901c0: 202d 3e20 696e 7422 2222 0a20 2020 2072 -> int""". r │ │ │ +000901d0: 6574 7572 6e20 5f66 6c74 6b2e 666c 5f75 eturn _fltk.fl_u │ │ │ +000901e0: 7466 3862 7974 6573 282a 6172 6773 290a tf8bytes(*args). │ │ │ +000901f0: 0a64 6566 2066 6c5f 7574 6638 6c65 6e28 .def fl_utf8len( │ │ │ +00090200: 2a61 7267 7329 3a0a 2020 2020 7222 2222 *args):. r""" │ │ │ +00090210: 666c 5f75 7466 386c 656e 2863 6861 7220 fl_utf8len(char │ │ │ +00090220: 6329 202d 3e20 696e 7422 2222 0a20 2020 c) -> int""". │ │ │ +00090230: 2072 6574 7572 6e20 5f66 6c74 6b2e 666c return _fltk.fl │ │ │ +00090240: 5f75 7466 386c 656e 282a 6172 6773 290a _utf8len(*args). │ │ │ +00090250: 0a64 6566 2066 6c5f 7574 665f 6e62 5f63 .def fl_utf_nb_c │ │ │ +00090260: 6861 7228 2a61 7267 7329 3a0a 2020 2020 har(*args):. │ │ │ +00090270: 7222 2222 666c 5f75 7466 5f6e 625f 6368 r"""fl_utf_nb_ch │ │ │ +00090280: 6172 2875 6e73 6967 6e65 6420 6368 6172 ar(unsigned char │ │ │ +00090290: 2063 6f6e 7374 202a 2062 7566 2c20 696e const * buf, in │ │ │ +000902a0: 7420 6c65 6e29 202d 3e20 696e 7422 2222 t len) -> int""" │ │ │ +000902b0: 0a20 2020 2072 6574 7572 6e20 5f66 6c74 . return _flt │ │ │ +000902c0: 6b2e 666c 5f75 7466 5f6e 625f 6368 6172 k.fl_utf_nb_char │ │ │ +000902d0: 282a 6172 6773 290a 0a64 6566 2066 6c5f (*args)..def fl_ │ │ │ +000902e0: 7574 6638 6465 636f 6465 282a 6172 6773 utf8decode(*args │ │ │ +000902f0: 293a 0a20 2020 2072 2222 2266 6c5f 7574 ):. r"""fl_ut │ │ │ +00090300: 6638 6465 636f 6465 2863 6861 7220 636f f8decode(char co │ │ │ +00090310: 6e73 7420 2a20 702c 2063 6861 7220 636f nst * p, char co │ │ │ +00090320: 6e73 7420 2a20 656e 642c 2069 6e74 202a nst * end, int * │ │ │ +00090330: 206c 656e 2920 2d3e 2075 6e73 6967 6e65 len) -> unsigne │ │ │ +00090340: 6420 696e 7422 2222 0a20 2020 2072 6574 d int""". ret │ │ │ +00090350: 7572 6e20 5f66 6c74 6b2e 666c 5f75 7466 urn _fltk.fl_utf │ │ │ +00090360: 3864 6563 6f64 6528 2a61 7267 7329 0a0a 8decode(*args).. │ │ │ +00090370: 6465 6620 666c 5f75 7466 3865 6e63 6f64 def fl_utf8encod │ │ │ +00090380: 6528 2a61 7267 7329 3a0a 2020 2020 7222 e(*args):. r" │ │ │ +00090390: 2222 666c 5f75 7466 3865 6e63 6f64 6528 ""fl_utf8encode( │ │ │ +000903a0: 756e 7369 676e 6564 2069 6e74 2075 6373 unsigned int ucs │ │ │ +000903b0: 2920 2d3e 2069 6e74 2222 220a 2020 2020 ) -> int""". │ │ │ +000903c0: 7265 7475 726e 205f 666c 746b 2e66 6c5f return _fltk.fl_ │ │ │ +000903d0: 7574 6638 656e 636f 6465 282a 6172 6773 utf8encode(*args │ │ │ +000903e0: 290a 0a64 6566 2066 6c5f 7574 6638 6677 )..def fl_utf8fw │ │ │ +000903f0: 6428 2a61 7267 7329 3a0a 2020 2020 7222 d(*args):. r" │ │ │ +00090400: 2222 666c 5f75 7466 3866 7764 2863 6861 ""fl_utf8fwd(cha │ │ │ +00090410: 7220 636f 6e73 7420 2a20 702c 2063 6861 r const * p, cha │ │ │ +00090420: 7220 636f 6e73 7420 2a20 7374 6172 742c r const * start, │ │ │ +00090430: 2063 6861 7220 636f 6e73 7420 2a20 656e char const * en │ │ │ +00090440: 6429 202d 3e20 6368 6172 2063 6f6e 7374 d) -> char const │ │ │ +00090450: 202a 2222 220a 2020 2020 7265 7475 726e *""". return │ │ │ +00090460: 205f 666c 746b 2e66 6c5f 7574 6638 6677 _fltk.fl_utf8fw │ │ │ +00090470: 6428 2a61 7267 7329 0a0a 6465 6620 666c d(*args)..def fl │ │ │ +00090480: 5f75 7466 3862 6163 6b28 2a61 7267 7329 _utf8back(*args) │ │ │ +00090490: 3a0a 2020 2020 7222 2222 666c 5f75 7466 :. r"""fl_utf │ │ │ +000904a0: 3862 6163 6b28 6368 6172 2063 6f6e 7374 8back(char const │ │ │ +000904b0: 202a 2070 2c20 6368 6172 2063 6f6e 7374 * p, char const │ │ │ +000904c0: 202a 2073 7461 7274 2c20 6368 6172 2063 * start, char c │ │ │ +000904d0: 6f6e 7374 202a 2065 6e64 2920 2d3e 2063 onst * end) -> c │ │ │ +000904e0: 6861 7220 636f 6e73 7420 2a22 2222 0a20 har const *""". │ │ │ +000904f0: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00090500: 666c 5f75 7466 3862 6163 6b28 2a61 7267 fl_utf8back(*arg │ │ │ +00090510: 7329 0a0a 6465 6620 666c 5f75 7466 3874 s)..def fl_utf8t │ │ │ +00090520: 6f55 7466 3136 282a 6172 6773 293a 0a20 oUtf16(*args):. │ │ │ +00090530: 2020 2072 2222 2266 6c5f 7574 6638 746f r"""fl_utf8to │ │ │ +00090540: 5574 6631 3628 6368 6172 2063 6f6e 7374 Utf16(char const │ │ │ +00090550: 202a 2073 7263 2c20 756e 7369 676e 6564 * src, unsigned │ │ │ +00090560: 2069 6e74 2073 7263 6c65 6e2c 2075 6e73 int srclen, uns │ │ │ +00090570: 6967 6e65 6420 696e 7420 6473 746c 656e igned int dstlen │ │ │ +00090580: 2920 2d3e 2075 6e73 6967 6e65 6420 696e ) -> unsigned in │ │ │ +00090590: 7422 2222 0a20 2020 2072 6574 7572 6e20 t""". return │ │ │ +000905a0: 5f66 6c74 6b2e 666c 5f75 7466 3874 6f55 _fltk.fl_utf8toU │ │ │ +000905b0: 7466 3136 282a 6172 6773 290a 0a64 6566 tf16(*args)..def │ │ │ +000905c0: 2066 6c5f 7574 6638 746f 6128 2a61 7267 fl_utf8toa(*arg │ │ │ +000905d0: 7329 3a0a 2020 2020 7222 2222 666c 5f75 s):. r"""fl_u │ │ │ +000905e0: 7466 3874 6f61 2863 6861 7220 636f 6e73 tf8toa(char cons │ │ │ +000905f0: 7420 2a20 7372 632c 2075 6e73 6967 6e65 t * src, unsigne │ │ │ +00090600: 6420 696e 7420 7372 636c 656e 2c20 756e d int srclen, un │ │ │ +00090610: 7369 676e 6564 2069 6e74 2061 7267 3329 signed int arg3) │ │ │ +00090620: 202d 3e20 756e 7369 676e 6564 2069 6e74 -> unsigned int │ │ │ +00090630: 2222 220a 2020 2020 7265 7475 726e 205f """. return _ │ │ │ +00090640: 666c 746b 2e66 6c5f 7574 6638 746f 6128 fltk.fl_utf8toa( │ │ │ +00090650: 2a61 7267 7329 0a0a 6465 6620 666c 5f75 *args)..def fl_u │ │ │ +00090660: 7466 3866 726f 6d61 282a 6172 6773 293a tf8froma(*args): │ │ │ +00090670: 0a20 2020 2072 2222 2266 6c5f 7574 6638 . r"""fl_utf8 │ │ │ +00090680: 6672 6f6d 6128 6368 6172 202a 2064 7374 froma(char * dst │ │ │ +00090690: 2c20 756e 7369 676e 6564 2069 6e74 2064 , unsigned int d │ │ │ +000906a0: 7374 6c65 6e2c 2063 6861 7220 636f 6e73 stlen, char cons │ │ │ +000906b0: 7420 2a20 7372 632c 2075 6e73 6967 6e65 t * src, unsigne │ │ │ +000906c0: 6420 696e 7420 7372 636c 656e 2920 2d3e d int srclen) -> │ │ │ +000906d0: 2075 6e73 6967 6e65 6420 696e 7422 2222 unsigned int""" │ │ │ +000906e0: 0a20 2020 2072 6574 7572 6e20 5f66 6c74 . return _flt │ │ │ +000906f0: 6b2e 666c 5f75 7466 3866 726f 6d61 282a k.fl_utf8froma(* │ │ │ +00090700: 6172 6773 290a 0a64 6566 2066 6c5f 7574 args)..def fl_ut │ │ │ +00090710: 6638 6c6f 6361 6c65 282a 6172 6773 293a f8locale(*args): │ │ │ +00090720: 0a20 2020 2072 2222 2266 6c5f 7574 6638 . r"""fl_utf8 │ │ │ +00090730: 6c6f 6361 6c65 2829 202d 3e20 696e 7422 locale() -> int" │ │ │ +00090740: 2222 0a20 2020 2072 6574 7572 6e20 5f66 "". return _f │ │ │ +00090750: 6c74 6b2e 666c 5f75 7466 386c 6f63 616c ltk.fl_utf8local │ │ │ +00090760: 6528 2a61 7267 7329 0a0a 6465 6620 666c e(*args)..def fl │ │ │ +00090770: 5f75 7466 3874 6573 7428 2a61 7267 7329 _utf8test(*args) │ │ │ +00090780: 3a0a 2020 2020 7222 2222 666c 5f75 7466 :. r"""fl_utf │ │ │ +00090790: 3874 6573 7428 6368 6172 2063 6f6e 7374 8test(char const │ │ │ +000907a0: 202a 2073 7263 2c20 756e 7369 676e 6564 * src, unsigned │ │ │ +000907b0: 2069 6e74 206c 656e 2920 2d3e 2069 6e74 int len) -> int │ │ │ +000907c0: 2222 220a 2020 2020 7265 7475 726e 205f """. return _ │ │ │ +000907d0: 666c 746b 2e66 6c5f 7574 6638 7465 7374 fltk.fl_utf8test │ │ │ +000907e0: 282a 6172 6773 290a 0a64 6566 2066 6c5f (*args)..def fl_ │ │ │ +000907f0: 6e6f 6e73 7061 6369 6e67 282a 6172 6773 nonspacing(*args │ │ │ +00090800: 293a 0a20 2020 2072 2222 2266 6c5f 6e6f ):. r"""fl_no │ │ │ +00090810: 6e73 7061 6369 6e67 2875 6e73 6967 6e65 nspacing(unsigne │ │ │ +00090820: 6420 696e 7420 7563 7329 202d 3e20 756e d int ucs) -> un │ │ │ +00090830: 7369 676e 6564 2069 6e74 2222 220a 2020 signed int""". │ │ │ +00090840: 2020 7265 7475 726e 205f 666c 746b 2e66 return _fltk.f │ │ │ +00090850: 6c5f 6e6f 6e73 7061 6369 6e67 282a 6172 l_nonspacing(*ar │ │ │ +00090860: 6773 290a 0a64 6566 2066 6c5f 7574 6638 gs)..def fl_utf8 │ │ │ +00090870: 746f 5f6d 6228 2a61 7267 7329 3a0a 2020 to_mb(*args):. │ │ │ +00090880: 2020 7222 2222 666c 5f75 7466 3874 6f5f r"""fl_utf8to_ │ │ │ +00090890: 6d62 2863 6861 7220 636f 6e73 7420 2a20 mb(char const * │ │ │ +000908a0: 7372 632c 2075 6e73 6967 6e65 6420 696e src, unsigned in │ │ │ +000908b0: 7420 7372 636c 656e 2c20 6368 6172 202a t srclen, char * │ │ │ +000908c0: 2064 7374 2c20 756e 7369 676e 6564 2069 dst, unsigned i │ │ │ +000908d0: 6e74 2064 7374 6c65 6e29 202d 3e20 756e nt dstlen) -> un │ │ │ +000908e0: 7369 676e 6564 2069 6e74 2222 220a 2020 signed int""". │ │ │ +000908f0: 2020 7265 7475 726e 205f 666c 746b 2e66 return _fltk.f │ │ │ +00090900: 6c5f 7574 6638 746f 5f6d 6228 2a61 7267 l_utf8to_mb(*arg │ │ │ +00090910: 7329 0a0a 6465 6620 666c 5f75 7466 326d s)..def fl_utf2m │ │ │ +00090920: 6263 7328 2a61 7267 7329 3a0a 2020 2020 bcs(*args):. │ │ │ +00090930: 7222 2222 666c 5f75 7466 326d 6263 7328 r"""fl_utf2mbcs( │ │ │ +00090940: 6368 6172 2063 6f6e 7374 202a 2073 7263 char const * src │ │ │ +00090950: 2920 2d3e 2063 6861 7220 2a22 2222 0a20 ) -> char *""". │ │ │ +00090960: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00090970: 666c 5f75 7466 326d 6263 7328 2a61 7267 fl_utf2mbcs(*arg │ │ │ +00090980: 7329 0a0a 6465 6620 666c 5f75 7466 3866 s)..def fl_utf8f │ │ │ +00090990: 726f 6d5f 6d62 282a 6172 6773 293a 0a20 rom_mb(*args):. │ │ │ +000909a0: 2020 2072 2222 2266 6c5f 7574 6638 6672 r"""fl_utf8fr │ │ │ +000909b0: 6f6d 5f6d 6228 6368 6172 202a 2064 7374 om_mb(char * dst │ │ │ +000909c0: 2c20 756e 7369 676e 6564 2069 6e74 2064 , unsigned int d │ │ │ +000909d0: 7374 6c65 6e2c 2063 6861 7220 636f 6e73 stlen, char cons │ │ │ +000909e0: 7420 2a20 7372 632c 2075 6e73 6967 6e65 t * src, unsigne │ │ │ +000909f0: 6420 696e 7420 7372 636c 656e 2920 2d3e d int srclen) -> │ │ │ +00090a00: 2075 6e73 6967 6e65 6420 696e 7422 2222 unsigned int""" │ │ │ +00090a10: 0a20 2020 2072 6574 7572 6e20 5f66 6c74 . return _flt │ │ │ +00090a20: 6b2e 666c 5f75 7466 3866 726f 6d5f 6d62 k.fl_utf8from_mb │ │ │ +00090a30: 282a 6172 6773 290a 0a64 6566 2066 6c5f (*args)..def fl_ │ │ │ +00090a40: 7574 665f 7374 726e 6361 7365 636d 7028 utf_strncasecmp( │ │ │ +00090a50: 2a61 7267 7329 3a0a 2020 2020 7222 2222 *args):. r""" │ │ │ +00090a60: 666c 5f75 7466 5f73 7472 6e63 6173 6563 fl_utf_strncasec │ │ │ +00090a70: 6d70 2863 6861 7220 636f 6e73 7420 2a20 mp(char const * │ │ │ +00090a80: 7331 2c20 6368 6172 2063 6f6e 7374 202a s1, char const * │ │ │ +00090a90: 2073 322c 2069 6e74 206e 2920 2d3e 2069 s2, int n) -> i │ │ │ +00090aa0: 6e74 2222 220a 2020 2020 7265 7475 726e nt""". return │ │ │ +00090ab0: 205f 666c 746b 2e66 6c5f 7574 665f 7374 _fltk.fl_utf_st │ │ │ +00090ac0: 726e 6361 7365 636d 7028 2a61 7267 7329 rncasecmp(*args) │ │ │ +00090ad0: 0a0a 6465 6620 666c 5f75 7466 5f73 7472 ..def fl_utf_str │ │ │ +00090ae0: 6361 7365 636d 7028 2a61 7267 7329 3a0a casecmp(*args):. │ │ │ +00090af0: 2020 2020 7222 2222 666c 5f75 7466 5f73 r"""fl_utf_s │ │ │ +00090b00: 7472 6361 7365 636d 7028 6368 6172 2063 trcasecmp(char c │ │ │ +00090b10: 6f6e 7374 202a 2073 312c 2063 6861 7220 onst * s1, char │ │ │ +00090b20: 636f 6e73 7420 2a20 7332 2920 2d3e 2069 const * s2) -> i │ │ │ +00090b30: 6e74 2222 220a 2020 2020 7265 7475 726e nt""". return │ │ │ +00090b40: 205f 666c 746b 2e66 6c5f 7574 665f 7374 _fltk.fl_utf_st │ │ │ +00090b50: 7263 6173 6563 6d70 282a 6172 6773 290a rcasecmp(*args). │ │ │ +00090b60: 0a64 6566 2066 6c5f 746f 6c6f 7765 7228 .def fl_tolower( │ │ │ +00090b70: 2a61 7267 7329 3a0a 2020 2020 7222 2222 *args):. r""" │ │ │ +00090b80: 666c 5f74 6f6c 6f77 6572 2875 6e73 6967 fl_tolower(unsig │ │ │ +00090b90: 6e65 6420 696e 7420 7563 7329 202d 3e20 ned int ucs) -> │ │ │ +00090ba0: 696e 7422 2222 0a20 2020 2072 6574 7572 int""". retur │ │ │ +00090bb0: 6e20 5f66 6c74 6b2e 666c 5f74 6f6c 6f77 n _fltk.fl_tolow │ │ │ +00090bc0: 6572 282a 6172 6773 290a 0a64 6566 2066 er(*args)..def f │ │ │ +00090bd0: 6c5f 746f 7570 7065 7228 2a61 7267 7329 l_toupper(*args) │ │ │ +00090be0: 3a0a 2020 2020 7222 2222 666c 5f74 6f75 :. r"""fl_tou │ │ │ +00090bf0: 7070 6572 2875 6e73 6967 6e65 6420 696e pper(unsigned in │ │ │ +00090c00: 7420 7563 7329 202d 3e20 696e 7422 2222 t ucs) -> int""" │ │ │ +00090c10: 0a20 2020 2072 6574 7572 6e20 5f66 6c74 . return _flt │ │ │ +00090c20: 6b2e 666c 5f74 6f75 7070 6572 282a 6172 k.fl_toupper(*ar │ │ │ +00090c30: 6773 290a 0a64 6566 2066 6c5f 7574 665f gs)..def fl_utf_ │ │ │ +00090c40: 746f 6c6f 7765 7228 2a61 7267 7329 3a0a tolower(*args):. │ │ │ +00090c50: 2020 2020 7222 2222 666c 5f75 7466 5f74 r"""fl_utf_t │ │ │ +00090c60: 6f6c 6f77 6572 2875 6e73 6967 6e65 6420 olower(unsigned │ │ │ +00090c70: 6368 6172 2063 6f6e 7374 202a 2073 7472 char const * str │ │ │ +00090c80: 2c20 696e 7420 6c65 6e29 202d 3e20 696e , int len) -> in │ │ │ +00090c90: 7422 2222 0a20 2020 2072 6574 7572 6e20 t""". return │ │ │ +00090ca0: 5f66 6c74 6b2e 666c 5f75 7466 5f74 6f6c _fltk.fl_utf_tol │ │ │ +00090cb0: 6f77 6572 282a 6172 6773 290a 0a64 6566 ower(*args)..def │ │ │ +00090cc0: 2066 6c5f 7574 665f 746f 7570 7065 7228 fl_utf_toupper( │ │ │ +00090cd0: 2a61 7267 7329 3a0a 2020 2020 7222 2222 *args):. r""" │ │ │ +00090ce0: 666c 5f75 7466 5f74 6f75 7070 6572 2875 fl_utf_toupper(u │ │ │ +00090cf0: 6e73 6967 6e65 6420 6368 6172 2063 6f6e nsigned char con │ │ │ +00090d00: 7374 202a 2073 7472 2c20 696e 7420 6c65 st * str, int le │ │ │ +00090d10: 6e2c 2063 6861 7220 2a20 6275 6629 202d n, char * buf) - │ │ │ +00090d20: 3e20 696e 7422 2222 0a20 2020 2072 6574 > int""". ret │ │ │ +00090d30: 7572 6e20 5f66 6c74 6b2e 666c 5f75 7466 urn _fltk.fl_utf │ │ │ +00090d40: 5f74 6f75 7070 6572 282a 6172 6773 290a _toupper(*args). │ │ │ +00090d50: 0a64 6566 2066 6c5f 6368 6d6f 6428 2a61 .def fl_chmod(*a │ │ │ +00090d60: 7267 7329 3a0a 2020 2020 7222 2222 666c rgs):. r"""fl │ │ │ +00090d70: 5f63 686d 6f64 2863 6861 7220 636f 6e73 _chmod(char cons │ │ │ +00090d80: 7420 2a20 662c 2069 6e74 206d 6f64 6529 t * f, int mode) │ │ │ +00090d90: 202d 3e20 696e 7422 2222 0a20 2020 2072 -> int""". r │ │ │ +00090da0: 6574 7572 6e20 5f66 6c74 6b2e 666c 5f63 eturn _fltk.fl_c │ │ │ +00090db0: 686d 6f64 282a 6172 6773 290a 0a64 6566 hmod(*args)..def │ │ │ +00090dc0: 2066 6c5f 6163 6365 7373 282a 6172 6773 fl_access(*args │ │ │ +00090dd0: 293a 0a20 2020 2072 2222 2266 6c5f 6163 ):. r"""fl_ac │ │ │ +00090de0: 6365 7373 2863 6861 7220 636f 6e73 7420 cess(char const │ │ │ +00090df0: 2a20 662c 2069 6e74 206d 6f64 6529 202d * f, int mode) - │ │ │ +00090e00: 3e20 696e 7422 2222 0a20 2020 2072 6574 > int""". ret │ │ │ +00090e10: 7572 6e20 5f66 6c74 6b2e 666c 5f61 6363 urn _fltk.fl_acc │ │ │ +00090e20: 6573 7328 2a61 7267 7329 0a0a 6465 6620 ess(*args)..def │ │ │ +00090e30: 666c 5f67 6574 6377 6428 2a61 7267 7329 fl_getcwd(*args) │ │ │ +00090e40: 3a0a 2020 2020 7222 2222 666c 5f67 6574 :. r"""fl_get │ │ │ +00090e50: 6377 6428 6368 6172 202a 2062 7566 2c20 cwd(char * buf, │ │ │ +00090e60: 696e 7420 6d61 786c 656e 2920 2d3e 2063 int maxlen) -> c │ │ │ +00090e70: 6861 7220 2a22 2222 0a20 2020 2072 6574 har *""". ret │ │ │ +00090e80: 7572 6e20 5f66 6c74 6b2e 666c 5f67 6574 urn _fltk.fl_get │ │ │ +00090e90: 6377 6428 2a61 7267 7329 0a0a 6465 6620 cwd(*args)..def │ │ │ +00090ea0: 666c 5f66 6f70 656e 282a 6172 6773 293a fl_fopen(*args): │ │ │ +00090eb0: 0a20 2020 2072 2222 2266 6c5f 666f 7065 . r"""fl_fope │ │ │ +00090ec0: 6e28 6368 6172 2063 6f6e 7374 202a 2066 n(char const * f │ │ │ +00090ed0: 2c20 6368 6172 2063 6f6e 7374 202a 206d , char const * m │ │ │ +00090ee0: 6f64 6529 202d 3e20 4649 4c45 202a 2222 ode) -> FILE *"" │ │ │ +00090ef0: 220a 2020 2020 7265 7475 726e 205f 666c ". return _fl │ │ │ +00090f00: 746b 2e66 6c5f 666f 7065 6e28 2a61 7267 tk.fl_fopen(*arg │ │ │ +00090f10: 7329 0a0a 6465 6620 666c 5f73 7973 7465 s)..def fl_syste │ │ │ +00090f20: 6d28 2a61 7267 7329 3a0a 2020 2020 7222 m(*args):. r" │ │ │ +00090f30: 2222 666c 5f73 7973 7465 6d28 6368 6172 ""fl_system(char │ │ │ +00090f40: 2063 6f6e 7374 202a 2066 2920 2d3e 2069 const * f) -> i │ │ │ +00090f50: 6e74 2222 220a 2020 2020 7265 7475 726e nt""". return │ │ │ +00090f60: 205f 666c 746b 2e66 6c5f 7379 7374 656d _fltk.fl_system │ │ │ +00090f70: 282a 6172 6773 290a 0a64 6566 2066 6c5f (*args)..def fl_ │ │ │ +00090f80: 6578 6563 7670 282a 6172 6773 293a 0a20 execvp(*args):. │ │ │ +00090f90: 2020 2072 2222 2266 6c5f 6578 6563 7670 r"""fl_execvp │ │ │ +00090fa0: 2863 6861 7220 636f 6e73 7420 2a20 6669 (char const * fi │ │ │ +00090fb0: 6c65 2c20 6368 6172 202a 636f 6e73 7420 le, char *const │ │ │ +00090fc0: 2a20 6172 6776 2920 2d3e 2069 6e74 2222 * argv) -> int"" │ │ │ +00090fd0: 220a 2020 2020 7265 7475 726e 205f 666c ". return _fl │ │ │ +00090fe0: 746b 2e66 6c5f 6578 6563 7670 282a 6172 tk.fl_execvp(*ar │ │ │ +00090ff0: 6773 290a 0a64 6566 2066 6c5f 6f70 656e gs)..def fl_open │ │ │ +00091000: 282a 6172 6773 293a 0a20 2020 2072 2222 (*args):. r"" │ │ │ +00091010: 2266 6c5f 6f70 656e 2863 6861 7220 636f "fl_open(char co │ │ │ +00091020: 6e73 7420 2a20 662c 2069 6e74 206f 2920 nst * f, int o) │ │ │ +00091030: 2d3e 2069 6e74 2222 220a 2020 2020 7265 -> int""". re │ │ │ +00091040: 7475 726e 205f 666c 746b 2e66 6c5f 6f70 turn _fltk.fl_op │ │ │ +00091050: 656e 282a 6172 6773 290a 0a64 6566 2066 en(*args)..def f │ │ │ +00091060: 6c5f 756e 6c69 6e6b 282a 6172 6773 293a l_unlink(*args): │ │ │ +00091070: 0a20 2020 2072 2222 2266 6c5f 756e 6c69 . r"""fl_unli │ │ │ +00091080: 6e6b 2863 6861 7220 636f 6e73 7420 2a20 nk(char const * │ │ │ +00091090: 6629 202d 3e20 696e 7422 2222 0a20 2020 f) -> int""". │ │ │ +000910a0: 2072 6574 7572 6e20 5f66 6c74 6b2e 666c return _fltk.fl │ │ │ +000910b0: 5f75 6e6c 696e 6b28 2a61 7267 7329 0a0a _unlink(*args).. │ │ │ +000910c0: 6465 6620 666c 5f72 6d64 6972 282a 6172 def fl_rmdir(*ar │ │ │ +000910d0: 6773 293a 0a20 2020 2072 2222 2266 6c5f gs):. r"""fl_ │ │ │ +000910e0: 726d 6469 7228 6368 6172 2063 6f6e 7374 rmdir(char const │ │ │ +000910f0: 202a 2066 2920 2d3e 2069 6e74 2222 220a * f) -> int""". │ │ │ +00091100: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +00091110: 2e66 6c5f 726d 6469 7228 2a61 7267 7329 .fl_rmdir(*args) │ │ │ +00091120: 0a0a 6465 6620 666c 5f67 6574 656e 7628 ..def fl_getenv( │ │ │ +00091130: 2a61 7267 7329 3a0a 2020 2020 7222 2222 *args):. r""" │ │ │ +00091140: 666c 5f67 6574 656e 7628 6368 6172 2063 fl_getenv(char c │ │ │ +00091150: 6f6e 7374 202a 206e 616d 6529 202d 3e20 onst * name) -> │ │ │ +00091160: 6368 6172 202a 2222 220a 2020 2020 7265 char *""". re │ │ │ +00091170: 7475 726e 205f 666c 746b 2e66 6c5f 6765 turn _fltk.fl_ge │ │ │ +00091180: 7465 6e76 282a 6172 6773 290a 0a64 6566 tenv(*args)..def │ │ │ +00091190: 2066 6c5f 6d6b 6469 7228 2a61 7267 7329 fl_mkdir(*args) │ │ │ +000911a0: 3a0a 2020 2020 7222 2222 666c 5f6d 6b64 :. r"""fl_mkd │ │ │ +000911b0: 6972 2863 6861 7220 636f 6e73 7420 2a20 ir(char const * │ │ │ +000911c0: 662c 2069 6e74 206d 6f64 6529 202d 3e20 f, int mode) -> │ │ │ +000911d0: 696e 7422 2222 0a20 2020 2072 6574 7572 int""". retur │ │ │ +000911e0: 6e20 5f66 6c74 6b2e 666c 5f6d 6b64 6972 n _fltk.fl_mkdir │ │ │ +000911f0: 282a 6172 6773 290a 0a64 6566 2066 6c5f (*args)..def fl_ │ │ │ +00091200: 7265 6e61 6d65 282a 6172 6773 293a 0a20 rename(*args):. │ │ │ +00091210: 2020 2072 2222 2266 6c5f 7265 6e61 6d65 r"""fl_rename │ │ │ +00091220: 2863 6861 7220 636f 6e73 7420 2a20 662c (char const * f, │ │ │ +00091230: 2063 6861 7220 636f 6e73 7420 2a20 7429 char const * t) │ │ │ +00091240: 202d 3e20 696e 7422 2222 0a20 2020 2072 -> int""". r │ │ │ +00091250: 6574 7572 6e20 5f66 6c74 6b2e 666c 5f72 eturn _fltk.fl_r │ │ │ +00091260: 656e 616d 6528 2a61 7267 7329 0a0a 6465 ename(*args)..de │ │ │ +00091270: 6620 666c 5f6d 616b 655f 7061 7468 5f66 f fl_make_path_f │ │ │ +00091280: 6f72 5f66 696c 6528 2a61 7267 7329 3a0a or_file(*args):. │ │ │ +00091290: 2020 2020 7222 2222 666c 5f6d 616b 655f r"""fl_make_ │ │ │ +000912a0: 7061 7468 5f66 6f72 5f66 696c 6528 6368 path_for_file(ch │ │ │ +000912b0: 6172 2063 6f6e 7374 202a 2070 6174 6829 ar const * path) │ │ │ +000912c0: 2222 220a 2020 2020 7265 7475 726e 205f """. return _ │ │ │ +000912d0: 666c 746b 2e66 6c5f 6d61 6b65 5f70 6174 fltk.fl_make_pat │ │ │ +000912e0: 685f 666f 725f 6669 6c65 282a 6172 6773 h_for_file(*args │ │ │ +000912f0: 290a 0a64 6566 2066 6c5f 6d61 6b65 5f70 )..def fl_make_p │ │ │ +00091300: 6174 6828 2a61 7267 7329 3a0a 2020 2020 ath(*args):. │ │ │ +00091310: 7222 2222 666c 5f6d 616b 655f 7061 7468 r"""fl_make_path │ │ │ +00091320: 2863 6861 7220 636f 6e73 7420 2a20 7061 (char const * pa │ │ │ +00091330: 7468 2920 2d3e 2063 6861 7222 2222 0a20 th) -> char""". │ │ │ +00091340: 2020 2072 6574 7572 6e20 5f66 6c74 6b2e return _fltk. │ │ │ +00091350: 666c 5f6d 616b 655f 7061 7468 282a 6172 fl_make_path(*ar │ │ │ +00091360: 6773 290a 0a64 6566 2075 7043 4228 2a61 gs)..def upCB(*a │ │ │ +00091370: 7267 7329 3a0a 2020 2020 7222 2222 7570 rgs):. r"""up │ │ │ +00091380: 4342 2846 6c5f 5769 6467 6574 2076 2c20 CB(Fl_Widget v, │ │ │ +00091390: 766f 6964 202a 2061 7267 3229 2222 220a void * arg2)""". │ │ │ +000913a0: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +000913b0: 2e75 7043 4228 2a61 7267 7329 0a0a 6465 .upCB(*args)..de │ │ │ +000913c0: 6620 646f 776e 4342 282a 6172 6773 293a f downCB(*args): │ │ │ +000913d0: 0a20 2020 2072 2222 2264 6f77 6e43 4228 . r"""downCB( │ │ │ +000913e0: 466c 5f57 6964 6765 7420 762c 2076 6f69 Fl_Widget v, voi │ │ │ +000913f0: 6420 2a20 6172 6732 2922 2222 0a20 2020 d * arg2)""". │ │ │ +00091400: 2072 6574 7572 6e20 5f66 6c74 6b2e 646f return _fltk.do │ │ │ +00091410: 776e 4342 282a 6172 6773 290a 0a64 6566 wnCB(*args)..def │ │ │ +00091420: 2074 6f67 676c 6543 4228 2a61 7267 7329 toggleCB(*args) │ │ │ +00091430: 3a0a 2020 2020 7222 2222 746f 6767 6c65 :. r"""toggle │ │ │ +00091440: 4342 2846 6c5f 5769 6467 6574 2076 2c20 CB(Fl_Widget v, │ │ │ +00091450: 766f 6964 202a 2061 7267 3229 2222 220a void * arg2)""". │ │ │ +00091460: 2020 2020 7265 7475 726e 205f 666c 746b return _fltk │ │ │ +00091470: 2e74 6f67 676c 6543 4228 2a61 7267 7329 .toggleCB(*args) │ │ │ +00091480: 0a63 6c61 7373 204c 6973 7453 656c 6563 .class ListSelec │ │ │ +00091490: 7428 466c 5f47 726f 7570 293a 0a20 2020 t(Fl_Group):. │ │ │ +000914a0: 2072 2222 2250 726f 7879 206f 6620 432b r"""Proxy of C+ │ │ │ +000914b0: 2b20 4c69 7374 5365 6c65 6374 2063 6c61 + ListSelect cla │ │ │ +000914c0: 7373 2e22 2222 0a0a 2020 2020 7468 6973 ss.""".. this │ │ │ +000914d0: 6f77 6e20 3d20 7072 6f70 6572 7479 286c own = property(l │ │ │ +000914e0: 616d 6264 6120 783a 2078 2e74 6869 732e ambda x: x.this. │ │ │ +000914f0: 6f77 6e28 292c 206c 616d 6264 6120 782c own(), lambda x, │ │ │ +00091500: 2076 3a20 782e 7468 6973 2e6f 776e 2876 v: x.this.own(v │ │ │ +00091510: 292c 2064 6f63 3d22 5468 6520 6d65 6d62 ), doc="The memb │ │ │ +00091520: 6572 7368 6970 2066 6c61 6722 290a 2020 ership flag"). │ │ │ +00091530: 2020 5f5f 7265 7072 5f5f 203d 205f 7377 __repr__ = _sw │ │ │ +00091540: 6967 5f72 6570 720a 0a20 2020 2064 6566 ig_repr.. def │ │ │ +00091550: 205f 5f69 6e69 745f 5f28 7365 6c66 2c20 __init__(self, │ │ │ +00091560: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00091570: 7222 2222 5f5f 696e 6974 5f5f 284c 6973 r"""__init__(Lis │ │ │ +00091580: 7453 656c 6563 7420 7365 6c66 2c20 696e tSelect self, in │ │ │ +00091590: 7420 782c 2069 6e74 2079 2c20 696e 7420 t x, int y, int │ │ │ +000915a0: 772c 2069 6e74 2068 2c20 6368 6172 202a w, int h, char * │ │ │ +000915b0: 2074 6f70 4c61 6265 6c3d 4e6f 6e65 2c20 topLabel=None, │ │ │ +000915c0: 6368 6172 202a 2062 6f74 746f 6d4c 6162 char * bottomLab │ │ │ +000915d0: 656c 3d4e 6f6e 6529 202d 3e20 4c69 7374 el=None) -> List │ │ │ +000915e0: 5365 6c65 6374 2222 220a 2020 2020 2020 Select""". │ │ │ +000915f0: 2020 6966 2073 656c 662e 5f5f 636c 6173 if self.__clas │ │ │ +00091600: 735f 5f20 3d3d 204c 6973 7453 656c 6563 s__ == ListSelec │ │ │ +00091610: 743a 0a20 2020 2020 2020 2020 2020 205f t:. _ │ │ │ +00091620: 7365 6c66 203d 204e 6f6e 650a 2020 2020 self = None. │ │ │ +00091630: 2020 2020 656c 7365 3a0a 2020 2020 2020 else:. │ │ │ +00091640: 2020 2020 2020 5f73 656c 6620 3d20 7365 _self = se │ │ │ +00091650: 6c66 0a20 2020 2020 2020 205f 666c 746b lf. _fltk │ │ │ +00091660: 2e4c 6973 7453 656c 6563 745f 7377 6967 .ListSelect_swig │ │ │ +00091670: 696e 6974 2873 656c 662c 205f 666c 746b init(self, _fltk │ │ │ +00091680: 2e6e 6577 5f4c 6973 7453 656c 6563 7428 .new_ListSelect( │ │ │ +00091690: 5f73 656c 662c 202a 6172 6773 2929 0a0a _self, *args)).. │ │ │ +000916a0: 2020 2020 2020 2020 6966 206c 656e 2861 if len(a │ │ │ +000916b0: 7267 7329 203d 3d20 353a 2020 2020 2020 rgs) == 5: │ │ │ +000916c0: 2020 2020 0a20 2020 2020 2020 2023 7265 . #re │ │ │ +000916d0: 7461 696e 2072 6566 6572 656e 6365 2074 tain reference t │ │ │ +000916e0: 6f20 6c61 6265 6c0a 2020 2020 2020 2020 o label. │ │ │ +000916f0: 2020 2020 7365 6c66 2e6d 795f 6c61 6265 self.my_labe │ │ │ +00091700: 6c20 3d20 6172 6773 5b2d 315d 0a20 2020 l = args[-1]. │ │ │ +00091710: 2020 2020 2069 6620 7365 6c66 2e70 6172 if self.par │ │ │ +00091720: 656e 7428 2920 213d 204e 6f6e 653a 2020 ent() != None: │ │ │ +00091730: 200a 2020 2020 2020 2020 2364 656c 6567 . #deleg │ │ │ +00091740: 6174 6520 6f77 6e65 7273 6869 7020 746f ate ownership to │ │ │ +00091750: 2043 2b2b 0a20 2020 2020 2020 2020 2020 C++. │ │ │ +00091760: 2073 656c 662e 7468 6973 2e64 6973 6f77 self.this.disow │ │ │ +00091770: 6e28 290a 2020 2020 2020 2020 7365 6c66 n(). self │ │ │ +00091780: 2e69 6e69 745f 7479 7065 2822 4c69 7374 .init_type("List │ │ │ +00091790: 5365 6c65 6374 2229 0a20 2020 2020 2020 Select"). │ │ │ +000917a0: 2023 7072 696e 7428 2241 6464 696e 6720 #print("Adding │ │ │ +000917b0: 7479 7065 3a20 222c 204c 6973 7453 656c type: ", ListSel │ │ │ +000917c0: 6563 7429 0a0a 0a0a 0a20 2020 2064 6566 ect)..... def │ │ │ +000917d0: 2067 6574 546f 7042 726f 7773 6572 2873 getTopBrowser(s │ │ │ +000917e0: 656c 662c 202a 6172 6773 293a 0a20 2020 elf, *args):. │ │ │ +000917f0: 2020 2020 2072 2222 2267 6574 546f 7042 r"""getTopB │ │ │ +00091800: 726f 7773 6572 284c 6973 7453 656c 6563 rowser(ListSelec │ │ │ +00091810: 7420 7365 6c66 2920 2d3e 2046 6c5f 4d75 t self) -> Fl_Mu │ │ │ +00091820: 6c74 695f 4272 6f77 7365 7222 2222 0a20 lti_Browser""". │ │ │ +00091830: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +00091840: 6c74 6b2e 4c69 7374 5365 6c65 6374 5f67 ltk.ListSelect_g │ │ │ +00091850: 6574 546f 7042 726f 7773 6572 2873 656c etTopBrowser(sel │ │ │ +00091860: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +00091870: 6566 2067 6574 426f 7474 6f6d 4272 6f77 ef getBottomBrow │ │ │ +00091880: 7365 7228 7365 6c66 2c20 2a61 7267 7329 ser(self, *args) │ │ │ +00091890: 3a0a 2020 2020 2020 2020 7222 2222 6765 :. r"""ge │ │ │ +000918a0: 7442 6f74 746f 6d42 726f 7773 6572 284c tBottomBrowser(L │ │ │ +000918b0: 6973 7453 656c 6563 7420 7365 6c66 2920 istSelect self) │ │ │ +000918c0: 2d3e 2046 6c5f 4d75 6c74 695f 4272 6f77 -> Fl_Multi_Brow │ │ │ +000918d0: 7365 7222 2222 0a20 2020 2020 2020 2072 ser""". r │ │ │ +000918e0: 6574 7572 6e20 5f66 6c74 6b2e 4c69 7374 eturn _fltk.List │ │ │ +000918f0: 5365 6c65 6374 5f67 6574 426f 7474 6f6d Select_getBottom │ │ │ +00091900: 4272 6f77 7365 7228 7365 6c66 2c20 2a61 Browser(self, *a │ │ │ +00091910: 7267 7329 0a0a 2020 2020 6465 6620 7265 rgs).. def re │ │ │ +00091920: 7369 7a65 2873 656c 662c 202a 6172 6773 size(self, *args │ │ │ +00091930: 293a 0a20 2020 2020 2020 2072 2222 2272 ):. r"""r │ │ │ +00091940: 6573 697a 6528 4c69 7374 5365 6c65 6374 esize(ListSelect │ │ │ +00091950: 2073 656c 662c 2069 6e74 2078 2c20 696e self, int x, in │ │ │ +00091960: 7420 792c 2069 6e74 2077 2c20 696e 7420 t y, int w, int │ │ │ +00091970: 6829 2222 220a 2020 2020 2020 2020 7265 h)""". re │ │ │ +00091980: 7475 726e 205f 666c 746b 2e4c 6973 7453 turn _fltk.ListS │ │ │ +00091990: 656c 6563 745f 7265 7369 7a65 2873 656c elect_resize(sel │ │ │ +000919a0: 662c 202a 6172 6773 290a 0a20 2020 2064 f, *args).. d │ │ │ +000919b0: 6566 2069 6e69 745f 7479 7065 2873 656c ef init_type(sel │ │ │ +000919c0: 662c 202a 6172 6773 293a 0a20 2020 2020 f, *args):. │ │ │ +000919d0: 2020 2072 2222 2269 6e69 745f 7479 7065 r"""init_type │ │ │ +000919e0: 284c 6973 7453 656c 6563 7420 7365 6c66 (ListSelect self │ │ │ +000919f0: 2c20 6368 6172 202a 204c 6973 7453 656c , char * ListSel │ │ │ +00091a00: 6563 7429 2222 220a 2020 2020 2020 2020 ect)""". │ │ │ +00091a10: 7265 7475 726e 205f 666c 746b 2e4c 6973 return _fltk.Lis │ │ │ +00091a20: 7453 656c 6563 745f 696e 6974 5f74 7970 tSelect_init_typ │ │ │ +00091a30: 6528 7365 6c66 2c20 2a61 7267 7329 0a20 e(self, *args). │ │ │ +00091a40: 2020 205f 5f73 7769 675f 6465 7374 726f __swig_destro │ │ │ +00091a50: 795f 5f20 3d20 5f66 6c74 6b2e 6465 6c65 y__ = _fltk.dele │ │ │ +00091a60: 7465 5f4c 6973 7453 656c 6563 740a 2020 te_ListSelect. │ │ │ +00091a70: 2020 6465 6620 5f5f 6469 736f 776e 5f5f def __disown__ │ │ │ +00091a80: 2873 656c 6629 3a0a 2020 2020 2020 2020 (self):. │ │ │ +00091a90: 7365 6c66 2e74 6869 732e 6469 736f 776e self.this.disown │ │ │ +00091aa0: 2829 0a20 2020 2020 2020 205f 666c 746b (). _fltk │ │ │ +00091ab0: 2e64 6973 6f77 6e5f 4c69 7374 5365 6c65 .disown_ListSele │ │ │ +00091ac0: 6374 2873 656c 6629 0a20 2020 2020 2020 ct(self). │ │ │ +00091ad0: 2072 6574 7572 6e20 7765 616b 7265 662e return weakref. │ │ │ +00091ae0: 7072 6f78 7928 7365 6c66 290a 0a20 2020 proxy(self).. │ │ │ +00091af0: 2064 6566 2064 7261 7728 7365 6c66 2c20 def draw(self, │ │ │ +00091b00: 2a61 7267 7329 3a0a 2020 2020 2020 2020 *args):. │ │ │ +00091b10: 7222 2222 6472 6177 284c 6973 7453 656c r"""draw(ListSel │ │ │ +00091b20: 6563 7420 7365 6c66 2922 2222 0a20 2020 ect self)""". │ │ │ +00091b30: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00091b40: 6b2e 4c69 7374 5365 6c65 6374 5f64 7261 k.ListSelect_dra │ │ │ +00091b50: 7728 7365 6c66 2c20 2a61 7267 7329 0a0a w(self, *args).. │ │ │ +00091b60: 2320 5265 6769 7374 6572 204c 6973 7453 # Register ListS │ │ │ +00091b70: 656c 6563 7420 696e 205f 666c 746b 3a0a elect in _fltk:. │ │ │ +00091b80: 5f66 6c74 6b2e 4c69 7374 5365 6c65 6374 _fltk.ListSelect │ │ │ +00091b90: 5f73 7769 6772 6567 6973 7465 7228 4c69 _swigregister(Li │ │ │ +00091ba0: 7374 5365 6c65 6374 290a 0a64 6566 2067 stSelect)..def g │ │ │ +00091bb0: 6c4c 6f61 6449 6465 6e74 6974 7928 2a61 lLoadIdentity(*a │ │ │ +00091bc0: 7267 7329 3a0a 2020 2020 7222 2222 676c rgs):. r"""gl │ │ │ +00091bd0: 4c6f 6164 4964 656e 7469 7479 2829 2222 LoadIdentity()"" │ │ │ +00091be0: 220a 2020 2020 7265 7475 726e 205f 666c ". return _fl │ │ │ +00091bf0: 746b 2e67 6c4c 6f61 6449 6465 6e74 6974 tk.glLoadIdentit │ │ │ +00091c00: 7928 2a61 7267 7329 0a0a 6465 6620 676c y(*args)..def gl │ │ │ +00091c10: 5669 6577 706f 7274 282a 6172 6773 293a Viewport(*args): │ │ │ +00091c20: 0a20 2020 2072 2222 2267 6c56 6965 7770 . r"""glViewp │ │ │ +00091c30: 6f72 7428 696e 7420 782c 2069 6e74 2079 ort(int x, int y │ │ │ +00091c40: 2c20 696e 7420 7769 6474 682c 2069 6e74 , int width, int │ │ │ +00091c50: 2068 6569 6768 7429 2222 220a 2020 2020 height)""". │ │ │ +00091c60: 7265 7475 726e 205f 666c 746b 2e67 6c56 return _fltk.glV │ │ │ +00091c70: 6965 7770 6f72 7428 2a61 7267 7329 0a0a iewport(*args).. │ │ │ +00091c80: 6465 6620 676c 436c 6561 7228 2a61 7267 def glClear(*arg │ │ │ +00091c90: 7329 3a0a 2020 2020 7222 2222 676c 436c s):. r"""glCl │ │ │ +00091ca0: 6561 7228 696e 7420 6d61 736b 2922 2222 ear(int mask)""" │ │ │ +00091cb0: 0a20 2020 2072 6574 7572 6e20 5f66 6c74 . return _flt │ │ │ +00091cc0: 6b2e 676c 436c 6561 7228 2a61 7267 7329 k.glClear(*args) │ │ │ +00091cd0: 0a0a 6465 6620 676c 436f 6c6f 7233 6628 ..def glColor3f( │ │ │ +00091ce0: 2a61 7267 7329 3a0a 2020 2020 7222 2222 *args):. r""" │ │ │ +00091cf0: 676c 436f 6c6f 7233 6628 666c 6f61 7420 glColor3f(float │ │ │ +00091d00: 7265 642c 2066 6c6f 6174 2067 7265 656e red, float green │ │ │ +00091d10: 2c20 666c 6f61 7420 626c 7565 2922 2222 , float blue)""" │ │ │ +00091d20: 0a20 2020 2072 6574 7572 6e20 5f66 6c74 . return _flt │ │ │ +00091d30: 6b2e 676c 436f 6c6f 7233 6628 2a61 7267 k.glColor3f(*arg │ │ │ +00091d40: 7329 0a0a 6465 6620 676c 4265 6769 6e28 s)..def glBegin( │ │ │ +00091d50: 2a61 7267 7329 3a0a 2020 2020 7222 2222 *args):. r""" │ │ │ +00091d60: 676c 4265 6769 6e28 696e 7420 6d6f 6465 glBegin(int mode │ │ │ +00091d70: 2922 2222 0a20 2020 2072 6574 7572 6e20 )""". return │ │ │ +00091d80: 5f66 6c74 6b2e 676c 4265 6769 6e28 2a61 _fltk.glBegin(*a │ │ │ +00091d90: 7267 7329 0a0a 6465 6620 676c 456e 6428 rgs)..def glEnd( │ │ │ +00091da0: 2a61 7267 7329 3a0a 2020 2020 7222 2222 *args):. r""" │ │ │ +00091db0: 676c 456e 6428 2922 2222 0a20 2020 2072 glEnd()""". r │ │ │ +00091dc0: 6574 7572 6e20 5f66 6c74 6b2e 676c 456e eturn _fltk.glEn │ │ │ +00091dd0: 6428 2a61 7267 7329 0a0a 6465 6620 676c d(*args)..def gl │ │ │ +00091de0: 5665 7274 6578 3366 282a 6172 6773 293a Vertex3f(*args): │ │ │ +00091df0: 0a20 2020 2072 2222 2267 6c56 6572 7465 . r"""glVerte │ │ │ +00091e00: 7833 6628 666c 6f61 7420 782c 2066 6c6f x3f(float x, flo │ │ │ +00091e10: 6174 2079 2c20 666c 6f61 7420 7a29 2222 at y, float z)"" │ │ │ +00091e20: 220a 2020 2020 7265 7475 726e 205f 666c ". return _fl │ │ │ +00091e30: 746b 2e67 6c56 6572 7465 7833 6628 2a61 tk.glVertex3f(*a │ │ │ +00091e40: 7267 7329 0a4d 5f50 4920 3d20 5f66 6c74 rgs).M_PI = _flt │ │ │ +00091e50: 6b2e 4d5f 5049 0a0a 4d5f 5049 5f32 203d k.M_PI..M_PI_2 = │ │ │ +00091e60: 205f 666c 746b 2e4d 5f50 495f 320a 0a4d _fltk.M_PI_2..M │ │ │ +00091e70: 5f50 495f 3420 3d20 5f66 6c74 6b2e 4d5f _PI_4 = _fltk.M_ │ │ │ +00091e80: 5049 5f34 0a0a 4d5f 315f 5049 203d 205f PI_4..M_1_PI = _ │ │ │ +00091e90: 666c 746b 2e4d 5f31 5f50 490a 0a4d 5f32 fltk.M_1_PI..M_2 │ │ │ +00091ea0: 5f50 4920 3d20 5f66 6c74 6b2e 4d5f 325f _PI = _fltk.M_2_ │ │ │ +00091eb0: 5049 0a0a 4d5f 5351 5254 3220 3d20 5f66 PI..M_SQRT2 = _f │ │ │ +00091ec0: 6c74 6b2e 4d5f 5351 5254 320a 0a4d 5f53 ltk.M_SQRT2..M_S │ │ │ +00091ed0: 5152 5431 5f32 203d 205f 666c 746b 2e4d QRT1_2 = _fltk.M │ │ │ +00091ee0: 5f53 5152 5431 5f32 0a0a 0a5f 5f69 646c _SQRT1_2...__idl │ │ │ +00091ef0: 6543 616c 6c62 6163 6b73 203d 205b 5d0a eCallbacks = []. │ │ │ +00091f00: 6465 6620 466c 5f61 6464 5f69 646c 6528 def Fl_add_idle( │ │ │ +00091f10: 2066 756e 632c 2064 6174 613d 4e6f 6e65 func, data=None │ │ │ +00091f20: 293a 0a20 2020 205f 5f69 646c 6543 616c ):. __idleCal │ │ │ +00091f30: 6c62 6163 6b73 2e61 7070 656e 6428 2028 lbacks.append( ( │ │ │ +00091f40: 6675 6e63 2c20 6461 7461 2920 290a 2020 func, data) ). │ │ │ +00091f50: 2020 6966 206c 656e 285f 5f69 646c 6543 if len(__idleC │ │ │ +00091f60: 616c 6c62 6163 6b73 2920 3d3d 2031 3a0a allbacks) == 1:. │ │ │ +00091f70: 2020 2020 2020 2020 7079 464c 544b 5f63 pyFLTK_c │ │ │ +00091f80: 6f6e 7472 6f6c 4964 6c65 4361 6c6c 6261 ontrolIdleCallba │ │ │ +00091f90: 636b 7328 3129 0a0a 6465 6620 466c 5f72 cks(1)..def Fl_r │ │ │ +00091fa0: 656d 6f76 655f 6964 6c65 2820 6675 6e63 emove_idle( func │ │ │ +00091fb0: 2c20 6461 7461 3d4e 6f6e 6529 3a0a 2020 , data=None):. │ │ │ +00091fc0: 2020 666f 7220 6362 2069 6e20 5f5f 6964 for cb in __id │ │ │ +00091fd0: 6c65 4361 6c6c 6261 636b 733a 0a20 2020 leCallbacks:. │ │ │ +00091fe0: 2020 2020 2069 6620 6362 203d 3d20 2820 if cb == ( │ │ │ +00091ff0: 6675 6e63 2c20 6461 7461 2029 3a0a 2020 func, data ):. │ │ │ +00092000: 2020 2020 2020 2020 2020 5f5f 6964 6c65 __idle │ │ │ +00092010: 4361 6c6c 6261 636b 732e 7265 6d6f 7665 Callbacks.remove │ │ │ +00092020: 2863 6229 0a20 2020 2020 2020 2020 2020 (cb). │ │ │ +00092030: 2062 7265 616b 0a0a 6465 6620 7079 464c break..def pyFL │ │ │ +00092040: 544b 5f64 6f49 646c 6543 616c 6c62 6163 TK_doIdleCallbac │ │ │ +00092050: 6b73 2829 3a0a 2020 2020 666f 7220 6362 ks():. for cb │ │ │ +00092060: 2069 6e20 5f5f 6964 6c65 4361 6c6c 6261 in __idleCallba │ │ │ +00092070: 636b 733a 0a20 2020 2020 2020 2063 625b cks:. cb[ │ │ │ +00092080: 305d 2863 625b 315d 290a 0a70 7946 4c54 0](cb[1])..pyFLT │ │ │ +00092090: 4b5f 7265 6769 7374 6572 446f 4964 6c65 K_registerDoIdle │ │ │ +000920a0: 2870 7946 4c54 4b5f 646f 4964 6c65 4361 (pyFLTK_doIdleCa │ │ │ +000920b0: 6c6c 6261 636b 7329 0a0a 0a46 6c2e 6164 llbacks)...Fl.ad │ │ │ +000920c0: 645f 6964 6c65 203d 2073 7461 7469 636d d_idle = staticm │ │ │ +000920d0: 6574 686f 6428 466c 5f61 6464 5f69 646c ethod(Fl_add_idl │ │ │ +000920e0: 6529 0a46 6c2e 7265 6d6f 7665 5f69 646c e).Fl.remove_idl │ │ │ +000920f0: 6520 3d20 7374 6174 6963 6d65 7468 6f64 e = staticmethod │ │ │ +00092100: 2846 6c5f 7265 6d6f 7665 5f69 646c 6529 (Fl_remove_idle) │ │ │ +00092110: 0a0a 0a0a 0a23 206f 7665 7272 6964 6520 .....# override │ │ │ +00092120: 7468 6520 696d 706c 656d 656e 7461 7469 the implementati │ │ │ +00092130: 6f6e 206f 6620 466c 5f57 6964 6765 742e on of Fl_Widget. │ │ │ +00092140: 6361 6c6c 6261 636b 0a23 206e 6577 2076 callback.# new v │ │ │ +00092150: 6572 7369 6f6e 2074 6f20 6265 2075 7365 ersion to be use │ │ │ +00092160: 6420 7769 7468 2064 6972 6563 746f 7273 d with directors │ │ │ +00092170: 0a64 6566 205f 5f46 6c5f 5769 6467 6574 .def __Fl_Widget │ │ │ +00092180: 4361 6c6c 6261 636b 2873 656c 662c 2a61 Callback(self,*a │ │ │ +00092190: 7267 7329 3a0a 2020 2020 2020 2020 6966 rgs):. if │ │ │ +000921a0: 206c 656e 2861 7267 7329 203d 3d20 313a len(args) == 1: │ │ │ +000921b0: 0a20 2020 2020 2020 2020 2020 206e 6577 . new │ │ │ +000921c0: 5f61 7267 7320 3d20 2873 656c 662c 2061 _args = (self, a │ │ │ +000921d0: 7267 735b 305d 2c20 7365 6c66 290a 2020 rgs[0], self). │ │ │ +000921e0: 2020 2020 2020 656c 7365 3a0a 2020 2020 else:. │ │ │ +000921f0: 2020 2020 2020 2020 6e65 775f 6172 6773 new_args │ │ │ +00092200: 203d 2028 7365 6c66 2c20 6172 6773 5b30 = (self, args[0 │ │ │ +00092210: 5d2c 2073 656c 662c 2061 7267 735b 315d ], self, args[1] │ │ │ +00092220: 290a 2372 6574 7572 6e20 6170 706c 7928 ).#return apply( │ │ │ +00092230: 5f66 6c74 6b2e 466c 5f57 6964 6765 745f _fltk.Fl_Widget_ │ │ │ +00092240: 6361 6c6c 6261 636b 2c6e 6577 5f61 7267 callback,new_arg │ │ │ +00092250: 7329 0a20 2020 2020 2020 2072 6574 7572 s). retur │ │ │ +00092260: 6e20 5f66 6c74 6b2e 466c 5f57 6964 6765 n _fltk.Fl_Widge │ │ │ +00092270: 745f 6361 6c6c 6261 636b 282a 6e65 775f t_callback(*new_ │ │ │ +00092280: 6172 6773 290a 0a46 6c5f 5769 6467 6574 args)..Fl_Widget │ │ │ +00092290: 2e63 616c 6c62 6163 6b20 3d20 5f5f 466c .callback = __Fl │ │ │ +000922a0: 5f57 6964 6765 7443 616c 6c62 6163 6b0a _WidgetCallback. │ │ │ +000922b0: 2320 656e 6420 6f66 2074 6865 2046 6c5f # end of the Fl_ │ │ │ +000922c0: 5769 6467 6574 2e63 616c 6c62 6163 6b20 Widget.callback │ │ │ +000922d0: 7772 6170 7065 720a 0a0a 2320 6f76 6572 wrapper...# over │ │ │ +000922e0: 7269 6465 2074 6865 2069 6d70 6c65 6d65 ride the impleme │ │ │ +000922f0: 6e74 6174 696f 6e20 6f66 2046 6c5f 5465 ntation of Fl_Te │ │ │ +00092300: 7874 5f42 7566 6665 722e 6164 645f 6d6f xt_Buffer.add_mo │ │ │ +00092310: 6469 6679 5f63 616c 6c62 6163 6b0a 6465 dify_callback.de │ │ │ +00092320: 6620 5f5f 466c 5f54 6578 745f 4275 6666 f __Fl_Text_Buff │ │ │ +00092330: 6572 4164 644d 6f64 6966 7943 616c 6c62 erAddModifyCallb │ │ │ +00092340: 6163 6b28 7365 6c66 2c2a 6172 6773 293a ack(self,*args): │ │ │ +00092350: 0a20 2020 2020 2020 2069 6620 6c65 6e28 . if len( │ │ │ +00092360: 6172 6773 2920 3d3d 2031 3a0a 2020 2020 args) == 1:. │ │ │ +00092370: 2020 2020 2020 2020 6e65 775f 6172 6773 new_args │ │ │ +00092380: 203d 2028 7365 6c66 2c20 6172 6773 5b30 = (self, args[0 │ │ │ +00092390: 5d29 0a20 2020 2020 2020 2065 6c73 653a ]). else: │ │ │ +000923a0: 0a20 2020 2020 2020 2020 2020 206e 6577 . new │ │ │ +000923b0: 5f61 7267 7320 3d20 2873 656c 662c 2061 _args = (self, a │ │ │ +000923c0: 7267 735b 305d 2c20 6172 6773 5b31 5d29 rgs[0], args[1]) │ │ │ +000923d0: 0a23 7265 7475 726e 2061 7070 6c79 285f .#return apply(_ │ │ │ +000923e0: 666c 746b 2e46 6c5f 5465 7874 5f42 7566 fltk.Fl_Text_Buf │ │ │ +000923f0: 6665 725f 6164 645f 6d6f 6469 6679 5f63 fer_add_modify_c │ │ │ +00092400: 616c 6c62 6163 6b2c 6e65 775f 6172 6773 allback,new_args │ │ │ +00092410: 290a 2020 2020 2020 2020 7265 7475 726e ). return │ │ │ +00092420: 205f 666c 746b 2e46 6c5f 5465 7874 5f42 _fltk.Fl_Text_B │ │ │ +00092430: 7566 6665 725f 6164 645f 6d6f 6469 6679 uffer_add_modify │ │ │ +00092440: 5f63 616c 6c62 6163 6b28 2a6e 6577 5f61 _callback(*new_a │ │ │ +00092450: 7267 7329 0a0a 466c 5f54 6578 745f 4275 rgs)..Fl_Text_Bu │ │ │ +00092460: 6666 6572 2e61 6464 5f6d 6f64 6966 795f ffer.add_modify_ │ │ │ +00092470: 6361 6c6c 6261 636b 203d 205f 5f46 6c5f callback = __Fl_ │ │ │ +00092480: 5465 7874 5f42 7566 6665 7241 6464 4d6f Text_BufferAddMo │ │ │ +00092490: 6469 6679 4361 6c6c 6261 636b 0a23 2065 difyCallback.# e │ │ │ +000924a0: 6e64 206f 6620 7468 6520 466c 5f54 6578 nd of the Fl_Tex │ │ │ +000924b0: 745f 4275 6666 6572 2e61 6464 5f6d 6f64 t_Buffer.add_mod │ │ │ +000924c0: 6966 795f 6361 6c6c 6261 636b 2077 7261 ify_callback wra │ │ │ +000924d0: 7070 6572 0a0a 0a23 206f 7665 7272 6964 pper...# overrid │ │ │ +000924e0: 6520 7468 6520 696d 706c 656d 656e 7461 e the implementa │ │ │ +000924f0: 7469 6f6e 206f 6620 466c 5f54 6578 745f tion of Fl_Text_ │ │ │ +00092500: 4275 6666 6572 2e72 656d 6f76 655f 6d6f Buffer.remove_mo │ │ │ +00092510: 6469 6679 5f63 616c 6c62 6163 6b0a 6465 dify_callback.de │ │ │ +00092520: 6620 5f5f 466c 5f54 6578 745f 4275 6666 f __Fl_Text_Buff │ │ │ +00092530: 6572 5265 6d6f 7665 4d6f 6469 6679 4361 erRemoveModifyCa │ │ │ +00092540: 6c6c 6261 636b 2873 656c 662c 2a61 7267 llback(self,*arg │ │ │ +00092550: 7329 3a0a 2020 2020 2020 2020 6966 206c s):. if l │ │ │ +00092560: 656e 2861 7267 7329 203d 3d20 313a 0a20 en(args) == 1:. │ │ │ +00092570: 2020 2020 2020 2020 2020 206e 6577 5f61 new_a │ │ │ +00092580: 7267 7320 3d20 2873 656c 662c 2061 7267 rgs = (self, arg │ │ │ +00092590: 735b 305d 2c20 7365 6c66 290a 2020 2020 s[0], self). │ │ │ +000925a0: 2020 2020 656c 7365 3a0a 2020 2020 2020 else:. │ │ │ +000925b0: 2020 2020 2020 6e65 775f 6172 6773 203d new_args = │ │ │ +000925c0: 2028 7365 6c66 2c20 6172 6773 5b30 5d2c (self, args[0], │ │ │ +000925d0: 2073 656c 662c 2061 7267 735b 315d 290a self, args[1]). │ │ │ +000925e0: 2372 6574 7572 6e20 6170 706c 7928 5f66 #return apply(_f │ │ │ +000925f0: 6c74 6b2e 466c 5f54 6578 745f 4275 6666 ltk.Fl_Text_Buff │ │ │ +00092600: 6572 5f72 656d 6f76 655f 6d6f 6469 6679 er_remove_modify │ │ │ +00092610: 5f63 616c 6c62 6163 6b2c 6e65 775f 6172 _callback,new_ar │ │ │ +00092620: 6773 290a 2020 2020 2020 2020 7265 7475 gs). retu │ │ │ +00092630: 726e 205f 666c 746b 2e46 6c5f 5465 7874 rn _fltk.Fl_Text │ │ │ +00092640: 5f42 7566 6665 725f 7265 6d6f 7665 5f6d _Buffer_remove_m │ │ │ +00092650: 6f64 6966 795f 6361 6c6c 6261 636b 282a odify_callback(* │ │ │ +00092660: 6e65 775f 6172 6773 290a 0a46 6c5f 5465 new_args)..Fl_Te │ │ │ +00092670: 7874 5f42 7566 6665 722e 7265 6d6f 7665 xt_Buffer.remove │ │ │ +00092680: 5f6d 6f64 6966 795f 6361 6c6c 6261 636b _modify_callback │ │ │ +00092690: 203d 205f 5f46 6c5f 5465 7874 5f42 7566 = __Fl_Text_Buf │ │ │ +000926a0: 6665 7252 656d 6f76 654d 6f64 6966 7943 ferRemoveModifyC │ │ │ +000926b0: 616c 6c62 6163 6b0a 2320 656e 6420 6f66 allback.# end of │ │ │ +000926c0: 2074 6865 2046 6c5f 5465 7874 5f42 7566 the Fl_Text_Buf │ │ │ +000926d0: 6665 722e 7265 6d6f 7665 5f6d 6f64 6966 fer.remove_modif │ │ │ +000926e0: 795f 6361 6c6c 6261 636b 2077 7261 7070 y_callback wrapp │ │ │ +000926f0: 6572 0a0a 0a23 206f 7665 7272 6964 6520 er...# override │ │ │ +00092700: 7468 6520 696d 706c 656d 656e 7461 7469 the implementati │ │ │ +00092710: 6f6e 206f 6620 466c 5f46 696c 655f 4368 on of Fl_File_Ch │ │ │ +00092720: 6f6f 7365 722e 6361 6c6c 6261 636b 0a64 ooser.callback.d │ │ │ +00092730: 6566 205f 5f46 6c5f 4669 6c65 5f43 686f ef __Fl_File_Cho │ │ │ +00092740: 6f73 6572 4361 6c6c 6261 636b 2873 656c oserCallback(sel │ │ │ +00092750: 662c 2a61 7267 7329 3a0a 2020 2020 2020 f,*args):. │ │ │ +00092760: 2020 6966 206c 656e 2861 7267 7329 203d if len(args) = │ │ │ +00092770: 3d20 313a 0a20 2020 2020 2020 2020 2020 = 1:. │ │ │ +00092780: 206e 6577 5f61 7267 7320 3d20 2873 656c new_args = (sel │ │ │ +00092790: 662c 2061 7267 735b 305d 2c20 7365 6c66 f, args[0], self │ │ │ +000927a0: 290a 2020 2020 2020 2020 656c 7365 3a0a ). else:. │ │ │ +000927b0: 2020 2020 2020 2020 2020 2020 6e65 775f new_ │ │ │ +000927c0: 6172 6773 203d 2028 7365 6c66 2c20 6172 args = (self, ar │ │ │ +000927d0: 6773 5b30 5d2c 2073 656c 662c 2061 7267 gs[0], self, arg │ │ │ +000927e0: 735b 315d 290a 2372 6574 7572 6e20 6170 s[1]).#return ap │ │ │ +000927f0: 706c 7928 5f66 6c74 6b2e 466c 5f46 696c ply(_fltk.Fl_Fil │ │ │ +00092800: 655f 4368 6f6f 7365 725f 6361 6c6c 6261 e_Chooser_callba │ │ │ +00092810: 636b 2c6e 6577 5f61 7267 7329 0a20 2020 ck,new_args). │ │ │ +00092820: 2020 2020 2072 6574 7572 6e20 5f66 6c74 return _flt │ │ │ +00092830: 6b2e 466c 5f46 696c 655f 4368 6f6f 7365 k.Fl_File_Choose │ │ │ +00092840: 725f 6361 6c6c 6261 636b 282a 6e65 775f r_callback(*new_ │ │ │ +00092850: 6172 6773 290a 0a46 6c5f 4669 6c65 5f43 args)..Fl_File_C │ │ │ +00092860: 686f 6f73 6572 2e63 616c 6c62 6163 6b20 hooser.callback │ │ │ +00092870: 3d20 5f5f 466c 5f46 696c 655f 4368 6f6f = __Fl_File_Choo │ │ │ +00092880: 7365 7243 616c 6c62 6163 6b0a 2320 656e serCallback.# en │ │ │ +00092890: 6420 6f66 2074 6865 2046 6c5f 4669 6c65 d of the Fl_File │ │ │ +000928a0: 5f43 686f 6f73 6572 2e63 616c 6c62 6163 _Chooser.callbac │ │ │ +000928b0: 6b20 7772 6170 7065 720a 0a0a 2320 6f76 k wrapper...# ov │ │ │ +000928c0: 6572 7269 6465 2074 6865 2069 6d70 6c65 erride the imple │ │ │ +000928d0: 6d65 6e74 6174 696f 6e20 6f66 2046 6c5f mentation of Fl_ │ │ │ +000928e0: 4865 6c70 5f56 6965 772e 6c69 6e6b 0a64 Help_View.link.d │ │ │ +000928f0: 6566 205f 5f46 6c5f 4865 6c70 5f56 6965 ef __Fl_Help_Vie │ │ │ +00092900: 774c 696e 6b28 7365 6c66 2c2a 6172 6773 wLink(self,*args │ │ │ +00092910: 293a 0a20 2020 2020 2020 2069 6620 6c65 ):. if le │ │ │ +00092920: 6e28 6172 6773 2920 3d3d 2031 3a0a 2020 n(args) == 1:. │ │ │ +00092930: 2020 2020 2020 2020 2020 6e65 775f 6172 new_ar │ │ │ +00092940: 6773 203d 2028 7365 6c66 2c20 6172 6773 gs = (self, args │ │ │ +00092950: 5b30 5d2c 2073 656c 6629 0a20 2020 2020 [0], self). │ │ │ +00092960: 2020 2065 6c73 653a 0a20 2020 2020 2020 else:. │ │ │ +00092970: 2020 2020 206e 6577 5f61 7267 7320 3d20 new_args = │ │ │ +00092980: 2873 656c 662c 2061 7267 735b 305d 2c20 (self, args[0], │ │ │ +00092990: 7365 6c66 2c20 6172 6773 5b31 5d29 0a23 self, args[1]).# │ │ │ +000929a0: 7265 7475 726e 2061 7070 6c79 285f 666c return apply(_fl │ │ │ +000929b0: 746b 2e46 6c5f 4865 6c70 5f56 6965 775f tk.Fl_Help_View_ │ │ │ +000929c0: 6c69 6e6b 2c6e 6577 5f61 7267 7329 0a20 link,new_args). │ │ │ +000929d0: 2020 2020 2020 2072 6574 7572 6e20 5f66 return _f │ │ │ +000929e0: 6c74 6b2e 466c 5f48 656c 705f 5669 6577 ltk.Fl_Help_View │ │ │ +000929f0: 5f6c 696e 6b28 2a6e 6577 5f61 7267 7329 _link(*new_args) │ │ │ +00092a00: 0a0a 466c 5f48 656c 705f 5669 6577 2e6c ..Fl_Help_View.l │ │ │ +00092a10: 696e 6b20 3d20 5f5f 466c 5f48 656c 705f ink = __Fl_Help_ │ │ │ +00092a20: 5669 6577 4c69 6e6b 0a23 2065 6e64 206f ViewLink.# end o │ │ │ +00092a30: 6620 7468 6520 466c 5f48 656c 705f 5669 f the Fl_Help_Vi │ │ │ +00092a40: 6577 2e6c 696e 6b20 7772 6170 7065 720a ew.link wrapper. │ │ │ +00092a50: 0a0a 466c 2e61 6464 5f74 696d 656f 7574 ..Fl.add_timeout │ │ │ +00092a60: 203d 2073 7461 7469 636d 6574 686f 6428 = staticmethod( │ │ │ +00092a70: 466c 5f61 6464 5f74 696d 656f 7574 290a Fl_add_timeout). │ │ │ +00092a80: 466c 2e72 6570 6561 745f 7469 6d65 6f75 Fl.repeat_timeou │ │ │ +00092a90: 7420 3d20 7374 6174 6963 6d65 7468 6f64 t = staticmethod │ │ │ +00092aa0: 2846 6c5f 7265 7065 6174 5f74 696d 656f (Fl_repeat_timeo │ │ │ +00092ab0: 7574 290a 466c 2e72 656d 6f76 655f 7469 ut).Fl.remove_ti │ │ │ +00092ac0: 6d65 6f75 7420 3d20 7374 6174 6963 6d65 meout = staticme │ │ │ +00092ad0: 7468 6f64 2846 6c5f 7265 6d6f 7665 5f74 thod(Fl_remove_t │ │ │ +00092ae0: 696d 656f 7574 290a 466c 2e61 6464 5f63 imeout).Fl.add_c │ │ │ 00092af0: 6865 636b 203d 2073 7461 7469 636d 6574 heck = staticmet │ │ │ -00092b00: 686f 6428 466c 5f72 656d 6f76 655f 6368 hod(Fl_remove_ch │ │ │ -00092b10: 6563 6b29 0a46 6c2e 6164 645f 6861 6e64 eck).Fl.add_hand │ │ │ -00092b20: 6c65 7220 3d20 7374 6174 6963 6d65 7468 ler = staticmeth │ │ │ -00092b30: 6f64 2846 6c5f 6164 645f 6861 6e64 6c65 od(Fl_add_handle │ │ │ -00092b40: 7229 0a46 6c2e 7265 6d6f 7665 5f68 616e r).Fl.remove_han │ │ │ -00092b50: 646c 6572 203d 2073 7461 7469 636d 6574 dler = staticmet │ │ │ -00092b60: 686f 6428 466c 5f72 656d 6f76 655f 6861 hod(Fl_remove_ha │ │ │ -00092b70: 6e64 6c65 7229 0a46 6c2e 6164 645f 6664 ndler).Fl.add_fd │ │ │ -00092b80: 203d 2073 7461 7469 636d 6574 686f 6428 = staticmethod( │ │ │ -00092b90: 466c 5f61 6464 5f66 6429 0a46 6c2e 7265 Fl_add_fd).Fl.re │ │ │ -00092ba0: 6d6f 7665 5f66 6420 3d20 7374 6174 6963 move_fd = static │ │ │ -00092bb0: 6d65 7468 6f64 2846 6c5f 7265 6d6f 7665 method(Fl_remove │ │ │ -00092bc0: 5f66 6429 0a46 6c2e 6765 745f 666f 6e74 _fd).Fl.get_font │ │ │ -00092bd0: 5f73 697a 6573 203d 2073 7461 7469 636d _sizes = staticm │ │ │ -00092be0: 6574 686f 6428 466c 5f67 6574 5f66 6f6e ethod(Fl_get_fon │ │ │ -00092bf0: 745f 7369 7a65 735f 746d 7029 0a0a 0a73 t_sizes_tmp)...s │ │ │ -00092c00: 6574 4d65 6e75 203d 205f 666c 746b 2e73 etMenu = _fltk.s │ │ │ -00092c10: 6574 4d65 6e75 0a0a etMenu.. │ │ │ +00092b00: 686f 6428 466c 5f61 6464 5f63 6865 636b hod(Fl_add_check │ │ │ +00092b10: 290a 466c 2e72 656d 6f76 655f 6368 6563 ).Fl.remove_chec │ │ │ +00092b20: 6b20 3d20 7374 6174 6963 6d65 7468 6f64 k = staticmethod │ │ │ +00092b30: 2846 6c5f 7265 6d6f 7665 5f63 6865 636b (Fl_remove_check │ │ │ +00092b40: 290a 466c 2e61 6464 5f68 616e 646c 6572 ).Fl.add_handler │ │ │ +00092b50: 203d 2073 7461 7469 636d 6574 686f 6428 = staticmethod( │ │ │ +00092b60: 466c 5f61 6464 5f68 616e 646c 6572 290a Fl_add_handler). │ │ │ +00092b70: 466c 2e72 656d 6f76 655f 6861 6e64 6c65 Fl.remove_handle │ │ │ +00092b80: 7220 3d20 7374 6174 6963 6d65 7468 6f64 r = staticmethod │ │ │ +00092b90: 2846 6c5f 7265 6d6f 7665 5f68 616e 646c (Fl_remove_handl │ │ │ +00092ba0: 6572 290a 466c 2e61 6464 5f66 6420 3d20 er).Fl.add_fd = │ │ │ +00092bb0: 7374 6174 6963 6d65 7468 6f64 2846 6c5f staticmethod(Fl_ │ │ │ +00092bc0: 6164 645f 6664 290a 466c 2e72 656d 6f76 add_fd).Fl.remov │ │ │ +00092bd0: 655f 6664 203d 2073 7461 7469 636d 6574 e_fd = staticmet │ │ │ +00092be0: 686f 6428 466c 5f72 656d 6f76 655f 6664 hod(Fl_remove_fd │ │ │ +00092bf0: 290a 466c 2e67 6574 5f66 6f6e 745f 7369 ).Fl.get_font_si │ │ │ +00092c00: 7a65 7320 3d20 7374 6174 6963 6d65 7468 zes = staticmeth │ │ │ +00092c10: 6f64 2846 6c5f 6765 745f 666f 6e74 5f73 od(Fl_get_font_s │ │ │ +00092c20: 697a 6573 5f74 6d70 290a 0a0a 7365 744d izes_tmp)...setM │ │ │ +00092c30: 656e 7520 3d20 5f66 6c74 6b2e 7365 744d enu = _fltk.setM │ │ │ +00092c40: 656e 750a 0a enu..