a343ff3be889983ad0e39f47a070ac23d18fa21e,invesalius/gui/frame.py,LayoutToolBar,__init__,#LayoutToolBar#,970

Before Change



class LayoutToolBar(wx.ToolBar):
    def __init__(self, parent):
        wx.ToolBar.__init__(self, parent, -1, wx.DefaultPosition,
                            wx.DefaultSize,
                            wx.TB_FLAT|wx.TB_NODIVIDER | wx.TB_DOCKABLE)

        self.SetToolBitmapSize(wx.Size(32,32))

        self.parent = parent

After Change


    
    def __init__(self, parent):
        style = wx.TB_FLAT|wx.TB_NODIVIDER | wx.TB_DOCKABLE
        wx.ToolBar.__init__(self, parent, -1, wx.DefaultPosition,
                            wx.DefaultSize,
                            style)

        self.SetToolBitmapSize(wx.Size(32,32))

        self.parent = parent
        self.__init_items()
        self.__bind_events()
        self.__bind_events_wx()

        self.ontool_layout = False
        self.ontool_text = True
        self.enable_items = [ID_TEXT]

        self.Realize()
        self.SetStateProjectClose()

    def __bind_events(self):
        
        Bind events related to pubsub.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: invesalius/invesalius3
Commit Name: a343ff3be889983ad0e39f47a070ac23d18fa21e
Time: 2010-02-18
Author: tatiana.alchueyr@gmail.com
File Name: invesalius/gui/frame.py
Class Name: LayoutToolBar
Method Name: __init__


Project Name: invesalius/invesalius3
Commit Name: a343ff3be889983ad0e39f47a070ac23d18fa21e
Time: 2010-02-18
Author: tatiana.alchueyr@gmail.com
File Name: invesalius/gui/frame.py
Class Name: ObjectToolBar
Method Name: __init__


Project Name: invesalius/invesalius3
Commit Name: a343ff3be889983ad0e39f47a070ac23d18fa21e
Time: 2010-02-18
Author: tatiana.alchueyr@gmail.com
File Name: invesalius/gui/frame.py
Class Name: SliceToolBar
Method Name: __init__