This file is indexed.

/usr/lib/python2.7/dist-packages/fife/fifechan.py is in python-fife 0.4.1-2build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.10
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.





from sys import version_info as _swig_python_version_info
if _swig_python_version_info >= (2, 7, 0):
    def swig_import_helper():
        import importlib
        pkg = __name__.rpartition('.')[0]
        mname = '.'.join((pkg, '_fifechan')).lstrip('.')
        try:
            return importlib.import_module(mname)
        except ImportError:
            return importlib.import_module('_fifechan')
    _fifechan = swig_import_helper()
    del swig_import_helper
elif _swig_python_version_info >= (2, 6, 0):
    def swig_import_helper():
        from os.path import dirname
        import imp
        fp = None
        try:
            fp, pathname, description = imp.find_module('_fifechan', [dirname(__file__)])
        except ImportError:
            import _fifechan
            return _fifechan
        if fp is not None:
            try:
                _mod = imp.load_module('_fifechan', fp, pathname, description)
            finally:
                fp.close()
            return _mod
    _fifechan = swig_import_helper()
    del swig_import_helper
else:
    import _fifechan
del _swig_python_version_info
try:
    _swig_property = property
except NameError:
    pass  # Python < 2.2 doesn't have 'property'.

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
    if (name == "thisown"):
        return self.this.own(value)
    if (name == "this"):
        if type(value).__name__ == 'SwigPyObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name, None)
    if method:
        return method(self, value)
    if (not static):
        object.__setattr__(self, name, value)
    else:
        raise AttributeError("You cannot add attributes to %s" % self)


def _swig_setattr(self, class_type, name, value):
    return _swig_setattr_nondynamic(self, class_type, name, value, 0)


def _swig_getattr(self, class_type, name):
    if (name == "thisown"):
        return self.this.own()
    method = class_type.__swig_getmethods__.get(name, None)
    if method:
        return method(self)
    raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))


def _swig_repr(self):
    try:
        strthis = "proxy of " + self.this.__repr__()
    except __builtin__.Exception:
        strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)


def _swig_setattr_nondynamic_method(set):
    def set_attr(self, name, value):
        if (name == "thisown"):
            return self.this.own(value)
        if hasattr(self, name) or (name == "this"):
            set(self, name, value)
        else:
            raise AttributeError("You cannot add attributes to %s" % self)
    return set_attr


try:
    import weakref
    weakref_proxy = weakref.proxy
except __builtin__.Exception:
    weakref_proxy = lambda x: x


class MouseListener(object):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    __swig_destroy__ = _fifechan.delete_MouseListener
    __del__ = lambda self: None

    def mouseEntered(self, mouseEvent):
        return _fifechan.MouseListener_mouseEntered(self, mouseEvent)

    def mouseExited(self, mouseEvent):
        return _fifechan.MouseListener_mouseExited(self, mouseEvent)

    def mousePressed(self, mouseEvent):
        return _fifechan.MouseListener_mousePressed(self, mouseEvent)

    def mouseReleased(self, mouseEvent):
        return _fifechan.MouseListener_mouseReleased(self, mouseEvent)

    def mouseClicked(self, mouseEvent):
        return _fifechan.MouseListener_mouseClicked(self, mouseEvent)

    def mouseWheelMovedUp(self, mouseEvent):
        return _fifechan.MouseListener_mouseWheelMovedUp(self, mouseEvent)

    def mouseWheelMovedDown(self, mouseEvent):
        return _fifechan.MouseListener_mouseWheelMovedDown(self, mouseEvent)

    def mouseWheelMovedRight(self, mouseEvent):
        return _fifechan.MouseListener_mouseWheelMovedRight(self, mouseEvent)

    def mouseWheelMovedLeft(self, mouseEvent):
        return _fifechan.MouseListener_mouseWheelMovedLeft(self, mouseEvent)

    def mouseMoved(self, mouseEvent):
        return _fifechan.MouseListener_mouseMoved(self, mouseEvent)

    def mouseDragged(self, mouseEvent):
        return _fifechan.MouseListener_mouseDragged(self, mouseEvent)

    def __init__(self):
        if self.__class__ == MouseListener:
            _self = None
        else:
            _self = self
        this = _fifechan.new_MouseListener(_self, )
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    def __disown__(self):
        self.this.disown()
        _fifechan.disown_MouseListener(self)
        return weakref_proxy(self)
MouseListener_swigregister = _fifechan.MouseListener_swigregister
MouseListener_swigregister(MouseListener)

class KeyListener(object):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    __swig_destroy__ = _fifechan.delete_KeyListener
    __del__ = lambda self: None

    def keyPressed(self, keyEvent):
        return _fifechan.KeyListener_keyPressed(self, keyEvent)

    def keyReleased(self, keyEvent):
        return _fifechan.KeyListener_keyReleased(self, keyEvent)

    def __init__(self):
        if self.__class__ == KeyListener:
            _self = None
        else:
            _self = self
        this = _fifechan.new_KeyListener(_self, )
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    def __disown__(self):
        self.this.disown()
        _fifechan.disown_KeyListener(self)
        return weakref_proxy(self)
KeyListener_swigregister = _fifechan.KeyListener_swigregister
KeyListener_swigregister(KeyListener)

class ActionListener(object):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    __swig_destroy__ = _fifechan.delete_ActionListener
    __del__ = lambda self: None

    def action(self, actionEvent):
        return _fifechan.ActionListener_action(self, actionEvent)

    def __init__(self):
        if self.__class__ == ActionListener:
            _self = None
        else:
            _self = self
        this = _fifechan.new_ActionListener(_self, )
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    def __disown__(self):
        self.this.disown()
        _fifechan.disown_ActionListener(self)
        return weakref_proxy(self)
ActionListener_swigregister = _fifechan.ActionListener_swigregister
ActionListener_swigregister(ActionListener)

class WidgetListener(object):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    __swig_destroy__ = _fifechan.delete_WidgetListener
    __del__ = lambda self: None

    def widgetResized(self, event):
        return _fifechan.WidgetListener_widgetResized(self, event)

    def widgetMoved(self, event):
        return _fifechan.WidgetListener_widgetMoved(self, event)

    def widgetHidden(self, event):
        return _fifechan.WidgetListener_widgetHidden(self, event)

    def widgetShown(self, event):
        return _fifechan.WidgetListener_widgetShown(self, event)

    def ancestorMoved(self, event):
        return _fifechan.WidgetListener_ancestorMoved(self, event)

    def ancestorHidden(self, event):
        return _fifechan.WidgetListener_ancestorHidden(self, event)

    def ancestorShown(self, event):
        return _fifechan.WidgetListener_ancestorShown(self, event)

    def __init__(self):
        if self.__class__ == WidgetListener:
            _self = None
        else:
            _self = self
        this = _fifechan.new_WidgetListener(_self, )
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    def __disown__(self):
        self.this.disown()
        _fifechan.disown_WidgetListener(self)
        return weakref_proxy(self)
WidgetListener_swigregister = _fifechan.WidgetListener_swigregister
WidgetListener_swigregister(WidgetListener)

class Graphics(object):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    Left = _fifechan.Graphics_Left
    Center = _fifechan.Graphics_Center
    Right = _fifechan.Graphics_Right
    __swig_destroy__ = _fifechan.delete_Graphics
    __del__ = lambda self: None
Graphics_swigregister = _fifechan.Graphics_swigregister
Graphics_swigregister(Graphics)

class Color(object):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr

    def __init__(self, *args):
        this = _fifechan.new_Color(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def __add__(self, color):
        return _fifechan.Color___add__(self, color)

    def __sub__(self, color):
        return _fifechan.Color___sub__(self, color)

    def __mul__(self, value):
        return _fifechan.Color___mul__(self, value)

    def __eq__(self, color):
        return _fifechan.Color___eq__(self, color)

    def __ne__(self, color):
        return _fifechan.Color___ne__(self, color)
    r = _swig_property(_fifechan.Color_r_get, _fifechan.Color_r_set)
    g = _swig_property(_fifechan.Color_g_get, _fifechan.Color_g_set)
    b = _swig_property(_fifechan.Color_b_get, _fifechan.Color_b_set)
    a = _swig_property(_fifechan.Color_a_get, _fifechan.Color_a_set)
    __swig_destroy__ = _fifechan.delete_Color
    __del__ = lambda self: None
Color_swigregister = _fifechan.Color_swigregister
Color_swigregister(Color)

class Widget(object):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def setWidth(self, width):
        return _fifechan.Widget_setWidth(self, width)

    def getWidth(self):
        return _fifechan.Widget_getWidth(self)

    def setHeight(self, height):
        return _fifechan.Widget_setHeight(self, height)

    def getHeight(self):
        return _fifechan.Widget_getHeight(self)

    def setSize(self, width, height):
        return _fifechan.Widget_setSize(self, width, height)

    def setX(self, x):
        return _fifechan.Widget_setX(self, x)

    def getX(self):
        return _fifechan.Widget_getX(self)

    def setY(self, y):
        return _fifechan.Widget_setY(self, y)

    def getY(self):
        return _fifechan.Widget_getY(self)

    def setPosition(self, x, y):
        return _fifechan.Widget_setPosition(self, x, y)

    def setFrameSize(self, frameSize):
        return _fifechan.Widget_setFrameSize(self, frameSize)

    def getFrameSize(self):
        return _fifechan.Widget_getFrameSize(self)

    def setFocusable(self, focusable):
        return _fifechan.Widget_setFocusable(self, focusable)

    def isFocusable(self):
        return _fifechan.Widget_isFocusable(self)

    def isFocused(self):
        return _fifechan.Widget_isFocused(self)

    def setEnabled(self, enabled):
        return _fifechan.Widget_setEnabled(self, enabled)

    def isEnabled(self):
        return _fifechan.Widget_isEnabled(self)

    def setVisible(self, visible):
        return _fifechan.Widget_setVisible(self, visible)

    def isVisible(self):
        return _fifechan.Widget_isVisible(self)

    def isSetVisible(self):
        return _fifechan.Widget_isSetVisible(self)

    def setBaseColor(self, color):
        return _fifechan.Widget_setBaseColor(self, color)

    def getBaseColor(self):
        return _fifechan.Widget_getBaseColor(self)

    def setForegroundColor(self, color):
        return _fifechan.Widget_setForegroundColor(self, color)

    def getForegroundColor(self):
        return _fifechan.Widget_getForegroundColor(self)

    def setBackgroundColor(self, color):
        return _fifechan.Widget_setBackgroundColor(self, color)

    def getBackgroundColor(self):
        return _fifechan.Widget_getBackgroundColor(self)

    def setSelectionColor(self, color):
        return _fifechan.Widget_setSelectionColor(self, color)

    def getSelectionColor(self):
        return _fifechan.Widget_getSelectionColor(self)

    def requestFocus(self):
        return _fifechan.Widget_requestFocus(self)

    def requestMoveToTop(self):
        return _fifechan.Widget_requestMoveToTop(self)

    def requestMoveToBottom(self):
        return _fifechan.Widget_requestMoveToBottom(self)

    def setActionEventId(self, actionEventId):
        return _fifechan.Widget_setActionEventId(self, actionEventId)

    def getActionEventId(self):
        return _fifechan.Widget_getActionEventId(self)

    def getAbsolutePosition(self):
        return _fifechan.Widget_getAbsolutePosition(self)

    def getFont(self):
        return _fifechan.Widget_getFont(self)
    setGlobalFont = staticmethod(_fifechan.Widget_setGlobalFont)

    def setFont(self, font):
        return _fifechan.Widget_setFont(self, font)

    def isTabInEnabled(self):
        return _fifechan.Widget_isTabInEnabled(self)

    def setTabInEnabled(self, enabled):
        return _fifechan.Widget_setTabInEnabled(self, enabled)

    def isTabOutEnabled(self):
        return _fifechan.Widget_isTabOutEnabled(self)

    def setTabOutEnabled(self, enabled):
        return _fifechan.Widget_setTabOutEnabled(self, enabled)

    def isModalFocusable(self):
        return _fifechan.Widget_isModalFocusable(self)

    def isModalMouseInputFocusable(self):
        return _fifechan.Widget_isModalMouseInputFocusable(self)

    def requestModalFocus(self):
        return _fifechan.Widget_requestModalFocus(self)

    def requestModalMouseInputFocus(self):
        return _fifechan.Widget_requestModalMouseInputFocus(self)

    def releaseModalFocus(self):
        return _fifechan.Widget_releaseModalFocus(self)

    def releaseModalMouseInputFocus(self):
        return _fifechan.Widget_releaseModalMouseInputFocus(self)

    def isModalFocused(self):
        return _fifechan.Widget_isModalFocused(self)

    def isModalMouseInputFocused(self):
        return _fifechan.Widget_isModalMouseInputFocused(self)

    def getWidgetAt(self, x, y):
        return _fifechan.Widget_getWidgetAt(self, x, y)

    def moveToTop(self, widget):
        return _fifechan.Widget_moveToTop(self, widget)

    def moveToBottom(self, widget):
        return _fifechan.Widget_moveToBottom(self, widget)

    def focusNext(self):
        return _fifechan.Widget_focusNext(self)

    def focusPrevious(self):
        return _fifechan.Widget_focusPrevious(self)

    def addActionListener(self, actionListener):
        return _fifechan.Widget_addActionListener(self, actionListener)

    def removeActionListener(self, actionListener):
        return _fifechan.Widget_removeActionListener(self, actionListener)

    def addMouseListener(self, actionListener):
        return _fifechan.Widget_addMouseListener(self, actionListener)

    def removeMouseListener(self, actionListener):
        return _fifechan.Widget_removeMouseListener(self, actionListener)

    def addKeyListener(self, actionListener):
        return _fifechan.Widget_addKeyListener(self, actionListener)

    def removeKeyListener(self, actionListener):
        return _fifechan.Widget_removeKeyListener(self, actionListener)

    def addWidgetListener(self, widgetListener):
        return _fifechan.Widget_addWidgetListener(self, widgetListener)

    def removeWidgetListener(self, widgetListener):
        return _fifechan.Widget_removeWidgetListener(self, widgetListener)

    def draw(self, graphics):
        return _fifechan.Widget_draw(self, graphics)
    __swig_destroy__ = _fifechan.delete_Widget
    __del__ = lambda self: None
Widget_swigregister = _fifechan.Widget_swigregister
Widget_swigregister(Widget)

def Widget_setGlobalFont(font):
    return _fifechan.Widget_setGlobalFont(font)
Widget_setGlobalFont = _fifechan.Widget_setGlobalFont

class Container(Widget):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr

    def __init__(self):
        this = _fifechan.new_Container()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _fifechan.delete_Container
    __del__ = lambda self: None

    def setOpaque(self, opaque):
        return _fifechan.Container_setOpaque(self, opaque)

    def isOpaque(self):
        return _fifechan.Container_isOpaque(self)

    def add(self, *args):
        return _fifechan.Container_add(self, *args)

    def remove(self, widget):
        return _fifechan.Container_remove(self, widget)

    def clear(self):
        return _fifechan.Container_clear(self)
Container_swigregister = _fifechan.Container_swigregister
Container_swigregister(Container)

class CheckBox(Widget):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr

    def __init__(self):
        this = _fifechan.new_CheckBox()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _fifechan.delete_CheckBox
    __del__ = lambda self: None

    def isSelected(self):
        return _fifechan.CheckBox_isSelected(self)

    def setSelected(self, marked):
        return _fifechan.CheckBox_setSelected(self, marked)

    def getCaption(self):
        return _fifechan.CheckBox_getCaption(self)

    def setCaption(self, caption):
        return _fifechan.CheckBox_setCaption(self, caption)

    def adjustSize(self):
        return _fifechan.CheckBox_adjustSize(self)
CheckBox_swigregister = _fifechan.CheckBox_swigregister
CheckBox_swigregister(CheckBox)

class Button(Widget):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr

    def __init__(self, *args):
        this = _fifechan.new_Button(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def setCaption(self, caption):
        return _fifechan.Button_setCaption(self, caption)

    def getCaption(self):
        return _fifechan.Button_getCaption(self)

    def setAlignment(self, alignment):
        return _fifechan.Button_setAlignment(self, alignment)

    def getAlignment(self):
        return _fifechan.Button_getAlignment(self)

    def adjustSize(self):
        return _fifechan.Button_adjustSize(self)
    __swig_destroy__ = _fifechan.delete_Button
    __del__ = lambda self: None
Button_swigregister = _fifechan.Button_swigregister
Button_swigregister(Button)

class ScrollArea(Widget):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr

    def __init__(self, *args):
        this = _fifechan.new_ScrollArea(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _fifechan.delete_ScrollArea
    __del__ = lambda self: None

    def setContent(self, widget):
        return _fifechan.ScrollArea_setContent(self, widget)

    def getContent(self):
        return _fifechan.ScrollArea_getContent(self)

    def setHorizontalScrollPolicy(self, hPolicy):
        return _fifechan.ScrollArea_setHorizontalScrollPolicy(self, hPolicy)

    def getHorizontalScrollPolicy(self):
        return _fifechan.ScrollArea_getHorizontalScrollPolicy(self)

    def setVerticalScrollPolicy(self, vPolicy):
        return _fifechan.ScrollArea_setVerticalScrollPolicy(self, vPolicy)

    def getVerticalScrollPolicy(self):
        return _fifechan.ScrollArea_getVerticalScrollPolicy(self)

    def setScrollPolicy(self, hPolicy, vPolicy):
        return _fifechan.ScrollArea_setScrollPolicy(self, hPolicy, vPolicy)

    def setVerticalScrollAmount(self, vScroll):
        return _fifechan.ScrollArea_setVerticalScrollAmount(self, vScroll)

    def getVerticalScrollAmount(self):
        return _fifechan.ScrollArea_getVerticalScrollAmount(self)

    def setHorizontalScrollAmount(self, hScroll):
        return _fifechan.ScrollArea_setHorizontalScrollAmount(self, hScroll)

    def getHorizontalScrollAmount(self):
        return _fifechan.ScrollArea_getHorizontalScrollAmount(self)

    def setScrollAmount(self, hScroll, vScroll):
        return _fifechan.ScrollArea_setScrollAmount(self, hScroll, vScroll)

    def getHorizontalMaxScroll(self):
        return _fifechan.ScrollArea_getHorizontalMaxScroll(self)

    def getVerticalMaxScroll(self):
        return _fifechan.ScrollArea_getVerticalMaxScroll(self)

    def setScrollbarWidth(self, width):
        return _fifechan.ScrollArea_setScrollbarWidth(self, width)

    def getScrollbarWidth(self):
        return _fifechan.ScrollArea_getScrollbarWidth(self)

    def setLeftButtonScrollAmount(self, amount):
        return _fifechan.ScrollArea_setLeftButtonScrollAmount(self, amount)

    def setRightButtonScrollAmount(self, amount):
        return _fifechan.ScrollArea_setRightButtonScrollAmount(self, amount)

    def setUpButtonScrollAmount(self, amount):
        return _fifechan.ScrollArea_setUpButtonScrollAmount(self, amount)

    def setDownButtonScrollAmount(self, amount):
        return _fifechan.ScrollArea_setDownButtonScrollAmount(self, amount)

    def getLeftButtonScrollAmount(self):
        return _fifechan.ScrollArea_getLeftButtonScrollAmount(self)

    def getRightButtonScrollAmount(self):
        return _fifechan.ScrollArea_getRightButtonScrollAmount(self)

    def getUpButtonScrollAmount(self):
        return _fifechan.ScrollArea_getUpButtonScrollAmount(self)

    def getDownButtonScrollAmount(self):
        return _fifechan.ScrollArea_getDownButtonScrollAmount(self)
    ShowAlways = _fifechan.ScrollArea_ShowAlways
    ShowNever = _fifechan.ScrollArea_ShowNever
    ShowAuto = _fifechan.ScrollArea_ShowAuto
ScrollArea_swigregister = _fifechan.ScrollArea_swigregister
ScrollArea_swigregister(ScrollArea)

class ListModel(object):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    __swig_destroy__ = _fifechan.delete_ListModel
    __del__ = lambda self: None

    def getNumberOfElements(self):
        return _fifechan.ListModel_getNumberOfElements(self)

    def getElementAt(self, i):
        return _fifechan.ListModel_getElementAt(self, i)

    def __init__(self):
        if self.__class__ == ListModel:
            _self = None
        else:
            _self = self
        this = _fifechan.new_ListModel(_self, )
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    def __disown__(self):
        self.this.disown()
        _fifechan.disown_ListModel(self)
        return weakref_proxy(self)
ListModel_swigregister = _fifechan.ListModel_swigregister
ListModel_swigregister(ListModel)

class ListBox(Widget):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr

    def __init__(self, *args):
        this = _fifechan.new_ListBox(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _fifechan.delete_ListBox
    __del__ = lambda self: None

    def getSelected(self):
        return _fifechan.ListBox_getSelected(self)

    def setSelected(self, selected):
        return _fifechan.ListBox_setSelected(self, selected)

    def setListModel(self, listModel):
        return _fifechan.ListBox_setListModel(self, listModel)

    def getListModel(self):
        return _fifechan.ListBox_getListModel(self)

    def adjustSize(self):
        return _fifechan.ListBox_adjustSize(self)

    def isWrappingEnabled(self):
        return _fifechan.ListBox_isWrappingEnabled(self)

    def setWrappingEnabled(self, wrapping):
        return _fifechan.ListBox_setWrappingEnabled(self, wrapping)
ListBox_swigregister = _fifechan.ListBox_swigregister
ListBox_swigregister(ListBox)

class DropDown(Widget):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr

    def __init__(self, listModel=None, scrollArea=None, listBox=None):
        this = _fifechan.new_DropDown(listModel, scrollArea, listBox)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _fifechan.delete_DropDown
    __del__ = lambda self: None

    def getSelected(self):
        return _fifechan.DropDown_getSelected(self)

    def setSelected(self, selected):
        return _fifechan.DropDown_setSelected(self, selected)

    def setListModel(self, listModel):
        return _fifechan.DropDown_setListModel(self, listModel)

    def getListModel(self):
        return _fifechan.DropDown_getListModel(self)

    def adjustHeight(self):
        return _fifechan.DropDown_adjustHeight(self)

    def setBaseColor(self, color):
        return _fifechan.DropDown_setBaseColor(self, color)

    def getBaseColor(self):
        return _fifechan.DropDown_getBaseColor(self)

    def setForegroundColor(self, color):
        return _fifechan.DropDown_setForegroundColor(self, color)

    def getForegroundColor(self):
        return _fifechan.DropDown_getForegroundColor(self)

    def setBackgroundColor(self, color):
        return _fifechan.DropDown_setBackgroundColor(self, color)

    def getBackgroundColor(self):
        return _fifechan.DropDown_getBackgroundColor(self)

    def setSelectionColor(self, color):
        return _fifechan.DropDown_setSelectionColor(self, color)

    def getSelectionColor(self):
        return _fifechan.DropDown_getSelectionColor(self)
DropDown_swigregister = _fifechan.DropDown_swigregister
DropDown_swigregister(DropDown)

class RadioButton(Widget):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr

    def __init__(self, *args):
        this = _fifechan.new_RadioButton(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _fifechan.delete_RadioButton
    __del__ = lambda self: None

    def isSelected(self):
        return _fifechan.RadioButton_isSelected(self)

    def setSelected(self, marked):
        return _fifechan.RadioButton_setSelected(self, marked)

    def getCaption(self):
        return _fifechan.RadioButton_getCaption(self)

    def setCaption(self, caption):
        return _fifechan.RadioButton_setCaption(self, caption)

    def setGroup(self, group):
        return _fifechan.RadioButton_setGroup(self, group)

    def getGroup(self):
        return _fifechan.RadioButton_getGroup(self)

    def adjustSize(self):
        return _fifechan.RadioButton_adjustSize(self)
RadioButton_swigregister = _fifechan.RadioButton_swigregister
RadioButton_swigregister(RadioButton)

class Slider(Widget):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr

    def __init__(self, *args):
        this = _fifechan.new_Slider(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _fifechan.delete_Slider
    __del__ = lambda self: None

    def setScale(self, scaleStart, scaleEnd):
        return _fifechan.Slider_setScale(self, scaleStart, scaleEnd)

    def getScaleStart(self):
        return _fifechan.Slider_getScaleStart(self)

    def setScaleStart(self, scaleStart):
        return _fifechan.Slider_setScaleStart(self, scaleStart)

    def getScaleEnd(self):
        return _fifechan.Slider_getScaleEnd(self)

    def setScaleEnd(self, scaleEnd):
        return _fifechan.Slider_setScaleEnd(self, scaleEnd)

    def getValue(self):
        return _fifechan.Slider_getValue(self)

    def setValue(self, value):
        return _fifechan.Slider_setValue(self, value)

    def setMarkerLength(self, length):
        return _fifechan.Slider_setMarkerLength(self, length)

    def getMarkerLength(self):
        return _fifechan.Slider_getMarkerLength(self)

    def setOrientation(self, orientation):
        return _fifechan.Slider_setOrientation(self, orientation)

    def getOrientation(self):
        return _fifechan.Slider_getOrientation(self)

    def setStepLength(self, length):
        return _fifechan.Slider_setStepLength(self, length)

    def getStepLength(self):
        return _fifechan.Slider_getStepLength(self)
    Horizontal = _fifechan.Slider_Horizontal
    Vertical = _fifechan.Slider_Vertical
Slider_swigregister = _fifechan.Slider_swigregister
Slider_swigregister(Slider)

class Window(Container):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr

    def __init__(self, *args):
        this = _fifechan.new_Window(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _fifechan.delete_Window
    __del__ = lambda self: None

    def setCaption(self, caption):
        return _fifechan.Window_setCaption(self, caption)

    def getCaption(self):
        return _fifechan.Window_getCaption(self)

    def setAlignment(self, alignment):
        return _fifechan.Window_setAlignment(self, alignment)

    def getAlignment(self):
        return _fifechan.Window_getAlignment(self)

    def setPadding(self, padding):
        return _fifechan.Window_setPadding(self, padding)

    def getPadding(self):
        return _fifechan.Window_getPadding(self)

    def setTitleBarHeight(self, height):
        return _fifechan.Window_setTitleBarHeight(self, height)

    def getTitleBarHeight(self):
        return _fifechan.Window_getTitleBarHeight(self)

    def setMovable(self, movable):
        return _fifechan.Window_setMovable(self, movable)

    def isMovable(self):
        return _fifechan.Window_isMovable(self)

    def setOpaque(self, opaque):
        return _fifechan.Window_setOpaque(self, opaque)

    def isOpaque(self):
        return _fifechan.Window_isOpaque(self)

    def resizeToContent(self):
        return _fifechan.Window_resizeToContent(self)
Window_swigregister = _fifechan.Window_swigregister
Window_swigregister(Window)

class TextBox(Widget):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr

    def __init__(self, *args):
        this = _fifechan.new_TextBox(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def setText(self, text):
        return _fifechan.TextBox_setText(self, text)

    def getText(self):
        return _fifechan.TextBox_getText(self)

    def getTextRow(self, row):
        return _fifechan.TextBox_getTextRow(self, row)

    def setTextRow(self, row, text):
        return _fifechan.TextBox_setTextRow(self, row, text)

    def getNumberOfRows(self):
        return _fifechan.TextBox_getNumberOfRows(self)

    def getCaretPosition(self):
        return _fifechan.TextBox_getCaretPosition(self)

    def setCaretPosition(self, position):
        return _fifechan.TextBox_setCaretPosition(self, position)

    def getCaretRow(self):
        return _fifechan.TextBox_getCaretRow(self)

    def setCaretRow(self, row):
        return _fifechan.TextBox_setCaretRow(self, row)

    def getCaretColumn(self):
        return _fifechan.TextBox_getCaretColumn(self)

    def setCaretColumn(self, column):
        return _fifechan.TextBox_setCaretColumn(self, column)

    def setCaretRowColumn(self, row, column):
        return _fifechan.TextBox_setCaretRowColumn(self, row, column)

    def scrollToCaret(self):
        return _fifechan.TextBox_scrollToCaret(self)

    def isEditable(self):
        return _fifechan.TextBox_isEditable(self)

    def setEditable(self, editable):
        return _fifechan.TextBox_setEditable(self, editable)

    def addRow(self, row):
        return _fifechan.TextBox_addRow(self, row)

    def isOpaque(self):
        return _fifechan.TextBox_isOpaque(self)

    def setOpaque(self, opaque):
        return _fifechan.TextBox_setOpaque(self, opaque)
    __swig_destroy__ = _fifechan.delete_TextBox
    __del__ = lambda self: None
TextBox_swigregister = _fifechan.TextBox_swigregister
TextBox_swigregister(TextBox)

class TextField(Widget):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr

    def __init__(self, *args):
        this = _fifechan.new_TextField(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _fifechan.delete_TextField
    __del__ = lambda self: None

    def setText(self, text):
        return _fifechan.TextField_setText(self, text)

    def getText(self):
        return _fifechan.TextField_getText(self)

    def adjustSize(self):
        return _fifechan.TextField_adjustSize(self)

    def adjustHeight(self):
        return _fifechan.TextField_adjustHeight(self)

    def setCaretPosition(self, position):
        return _fifechan.TextField_setCaretPosition(self, position)

    def getCaretPosition(self):
        return _fifechan.TextField_getCaretPosition(self)
TextField_swigregister = _fifechan.TextField_swigregister
TextField_swigregister(TextField)

class PasswordField(TextField):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr

    def __init__(self, *args):
        this = _fifechan.new_PasswordField(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _fifechan.delete_PasswordField
    __del__ = lambda self: None
PasswordField_swigregister = _fifechan.PasswordField_swigregister
PasswordField_swigregister(PasswordField)

class IconProgressBar(Widget):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr

    def __init__(self, *args):
        this = _fifechan.new_IconProgressBar(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _fifechan.delete_IconProgressBar
    __del__ = lambda self: None

    def setImage(self, image):
        return _fifechan.IconProgressBar_setImage(self, image)

    def getImage(self):
        return _fifechan.IconProgressBar_getImage(self)

    def setMaxIcons(self, maxIcons):
        return _fifechan.IconProgressBar_setMaxIcons(self, maxIcons)

    def getMaxIcons(self):
        return _fifechan.IconProgressBar_getMaxIcons(self)

    def setOrientation(self, orientation):
        return _fifechan.IconProgressBar_setOrientation(self, orientation)

    def getOrientation(self):
        return _fifechan.IconProgressBar_getOrientation(self)

    def advance(self):
        return _fifechan.IconProgressBar_advance(self)

    def reset(self):
        return _fifechan.IconProgressBar_reset(self)

    def setOpaque(self, opaque):
        return _fifechan.IconProgressBar_setOpaque(self, opaque)

    def isOpaque(self):
        return _fifechan.IconProgressBar_isOpaque(self)
    HORIZONTAL = _fifechan.IconProgressBar_HORIZONTAL
    VERTICAL = _fifechan.IconProgressBar_VERTICAL
IconProgressBar_swigregister = _fifechan.IconProgressBar_swigregister
IconProgressBar_swigregister(IconProgressBar)