Gnumed.wxGladeWidgets.wxgExamplePluginPnl

Package Gnumed :: Package wxGladeWidgets :: Module wxgExamplePluginPnl |
[frames] | no frames]

# Source Code for Module Gnumed.wxGladeWidgets.wxgExamplePluginPnl

     1  #!/usr/bin/env python
     2  # -*- coding: utf-8 -*-
     3  # generated by wxGlade 0.6.3 on Sat Jun 19 14:17:26 2010
     4
     5  import wx
     6
     7  # begin wxGlade: extracode
     8  # end wxGlade
     9
    10
    11
    12 -class wxgExamplePluginPnl(wx.Panel):
    13 -    def __init__(self, *args, **kwds):
    14          # begin wxGlade: wxgExamplePluginPnl.__init__
    15          kwds["style"] = wx.TAB_TRAVERSAL
    16          wx.Panel.__init__(self, *args, **kwds)
    17          self.sizer_1_staticbox = wx.StaticBox(self, -1, "hello world")
    18          self._TCTRL_template = wx.TextCtrl(self, -1, "")
    19
    20          self.__set_properties()
    21          self.__do_layout()
    22          # end wxGlade
    23
    24 -    def __set_properties(self):
    25          # begin wxGlade: wxgExamplePluginPnl.__set_properties
    26          pass
    27          # end wxGlade
    28
    29 -    def __do_layout(self):
    30          # begin wxGlade: wxgExamplePluginPnl.__do_layout
    31          sizer_1 = wx.StaticBoxSizer(self.sizer_1_staticbox, wx.HORIZONTAL)
    32          sizer_1.Add(self._TCTRL_template, 0, 0, 0)
    33          self.SetSizer(sizer_1)
    34          sizer_1.Fit(self)
    35          # end wxGlade
    36
    37  # end of class wxgExamplePluginPnl
    38