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

# Source Code for Module Gnumed.wxGladeWidgets.wxgExamplePluginPnl

     1  # -*- coding: UTF-8 -*-
     2  #
     3  # generated by wxGlade
     4  #
     5
     6  import wx
     7
     8  # begin wxGlade: dependencies
     9  # end wxGlade
    10
    11  # begin wxGlade: extracode
    12  # end wxGlade
    13
    14
    15 -class wxExamplegPluginPnl(wx.Panel):
    16 -        def __init__(self, *args, **kwds):
    17                  # begin wxGlade: wxExamplegPluginPnl.__init__
    18                  kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL
    19                  wx.Panel.__init__(self, *args, **kwds)
    20                  self._TCTRL_template = wx.TextCtrl(self, wx.ID_ANY, "")
    21
    22                  self.__set_properties()
    23                  self.__do_layout()
    24                  # end wxGlade
    25
    26 -        def __set_properties(self):
    27                  # begin wxGlade: wxExamplegPluginPnl.__set_properties
    28                  pass
    29                  # end wxGlade
    30
    31 -        def __do_layout(self):
    32                  # begin wxGlade: wxExamplegPluginPnl.__do_layout
    33                  sizer_1 = wx.StaticBoxSizer(wx.StaticBox(self, wx.ID_ANY, "hello world"), wx.HORIZONTAL)
    34                  sizer_1.Add(self._TCTRL_template, 0, 0, 0)
    35                  self.SetSizer(sizer_1)
    36                  sizer_1.Fit(self)
    37                  self.Layout()
    38                  # end wxGlade
    39
    40  # end of class wxExamplegPluginPnl
    41