Gnumed.wxGladeWidgets.wxgScrolledEMRTreePnl

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

# Source Code for Module Gnumed.wxGladeWidgets.wxgScrolledEMRTreePnl

     1  #!/usr/bin/env python
     2  # -*- coding: ISO-8859-15 -*-
     3  # generated by wxGlade 0.4cvs on Sun May 28 10:51:48 2006
     4
     5  import wx
     6
     7 -class wxgScrolledEMRTreePnl(wx.ScrolledWindow):
     8 -    def __init__(self, *args, **kwds):
     9
    10          from Gnumed.wxpython import gmEMRBrowser
    11
    12          # begin wxGlade: wxgScrolledEMRTreePnl.__init__
    13          kwds["style"] = wx.NO_BORDER|wx.TAB_TRAVERSAL
    14          wx.ScrolledWindow.__init__(self, *args, **kwds)
    15          self._emr_tree = gmEMRBrowser.cEMRTree(self, -1)
    16
    17          self.__set_properties()
    18          self.__do_layout()
    19          # end wxGlade
    20
    21 -    def __set_properties(self):
    22          # begin wxGlade: wxgScrolledEMRTreePnl.__set_properties
    23          self.SetScrollRate(10, 10)
    24          # end wxGlade
    25
    26 -    def __do_layout(self):
    27          # begin wxGlade: wxgScrolledEMRTreePnl.__do_layout
    28          __szr_main = wx.BoxSizer(wx.VERTICAL)
    29          __szr_main.Add(self._emr_tree, 1, wx.EXPAND, 0)
    30          self.SetAutoLayout(True)
    31          self.SetSizer(__szr_main)
    32          __szr_main.Fit(self)
    33          __szr_main.SetSizeHints(self)
    34          # end wxGlade
    35
    36  # end of class wxgScrolledEMRTreePnl
    37