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

# Source Code for Module Gnumed.wxGladeWidgets.wxgPersonContactsManagerPnl

     1  #!/usr/bin/env python
     2  # -*- coding: utf-8 -*-
     3  # generated by wxGlade 0.5 on Mon Nov 12 19:40:38 2007 from /home/ncq/Projekte/gm-cvs/branches/HEAD/gnumed/gnumed/client/wxg/wxgPersonContactsManagerPnl.wxg
     4
     5  import wx
     6
     7 -class wxgPersonContactsManagerPnl(wx.ScrolledWindow):
     8 -    def __init__(self, *args, **kwds):
     9
    10          from Gnumed.wxpython import gmPersonContactWidgets
    11          from Gnumed.wxpython import gmContactWidgets
    12
    13          # begin wxGlade: wxgPersonContactsManagerPnl.__init__
    14          kwds["style"] = wx.NO_BORDER|wx.TAB_TRAVERSAL
    15          wx.ScrolledWindow.__init__(self, *args, **kwds)
    16          self._PNL_addresses = gmPersonContactWidgets.cPersonAddressesManagerPnl(self, -1, style=wx.NO_BORDER|wx.TAB_TRAVERSAL)
    17          self._PNL_comms = gmContactWidgets.cCommChannelsManagerPnl(self, -1, style=wx.NO_BORDER|wx.TAB_TRAVERSAL)
    18
    19          self.__set_properties()
    20          self.__do_layout()
    21          # end wxGlade
    22
    23 -    def __set_properties(self):
    24          # begin wxGlade: wxgPersonContactsManagerPnl.__set_properties
    25          self.SetFocus()
    26          self.SetScrollRate(10, 10)
    27          # end wxGlade
    28
    29 -    def __do_layout(self):
    30          # begin wxGlade: wxgPersonContactsManagerPnl.__do_layout
    31          __szr_main = wx.BoxSizer(wx.VERTICAL)
    32          __szr_main.Add(self._PNL_addresses, 1, wx.ALL|wx.EXPAND, 5)
    33          __szr_main.Add(self._PNL_comms, 1, wx.ALL|wx.EXPAND, 5)
    34          self.SetSizer(__szr_main)
    35          __szr_main.Fit(self)
    36          # end wxGlade
    37
    38  # end of class wxgPersonContactsManagerPnl
    39