Skip to content

Instantly share code, notes, and snippets.

@ShinNoNoir
Created July 26, 2011 09:49
Show Gist options
  • Save ShinNoNoir/1106400 to your computer and use it in GitHub Desktop.
Save ShinNoNoir/1106400 to your computer and use it in GitHub Desktop.
Fragment of wxPython _controls.py
# *snip*
class StaticText(_core.Control):
"""Proxy of C++ StaticText class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""
__init__(self, Window parent, int id=-1, String label=EmptyString,
Point pos=DefaultPosition, Size size=DefaultSize,
long style=0, String name=StaticTextNameStr) -> StaticText
"""
_controls_.StaticText_swiginit(self,_controls_.new_StaticText(*args, **kwargs))
self._setOORInfo(self)
# *snip*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment