def _init_ctrls(self, prnt):
        # generated method, don't edit
        wx.Frame.__init__(self, id=wxID_RESOURCEMODULEFRM,
              name='ResourceModuleFrm', parent=prnt, pos=wx.Point(604, 403),
              size=wx.Size(419, 260), style=wx.DEFAULT_FRAME_STYLE,
              title='Images using a Resource Module built with img2py')
        self._init_utils()
        self.SetClientSize(wx.Size(411, 233))
        self.SetBackgroundColour(wx.Colour(0, 128, 255))
        self.SetSizeHints(419, 260, 419, 260)
        self.Center(wx.BOTH)

        self.bitmapButton = wx.BitmapButton(bitmap=Boa_img.getBoaButtonBitmap(),
              id=wxID_RESOURCEMODULEFRMBITMAPBUTTON, name='bitmapButton',
              parent=self, pos=wx.Point(16, 67), size=wx.Size(112, 88),
              style=wx.BU_AUTODRAW)
        self.bitmapButton.Bind(wx.EVT_BUTTON, self.OnBitmapbuttonButton,
              id=wxID_RESOURCEMODULEFRMBITMAPBUTTON)

        self.listView = wx.ListView(id=wxID_RESOURCEMODULEFRMLISTVIEW,
              name='listView', parent=self, pos=wx.Point(148, 27),
              size=wx.Size(247, 176), style=wx.LC_SINGLE_SEL|wx.LC_ICON)
        self.listView.SetImageList(self.images, wx.IMAGE_LIST_NORMAL)
        self.listView.SetBackgroundColour(wx.Colour(255, 255, 242))
        self.listView.Bind(wx.EVT_LIST_ITEM_ACTIVATED,
              self.OnListviewListItemActivated,
              id=wxID_RESOURCEMODULEFRMLISTVIEW)
Example #2
0
    def _init_ctrls(self, prnt):
        # generated method, don't edit
        wx.Frame.__init__(
            self,
            id=wxID_RESOURCEMODULEFRM,
            name='ResourceModuleFrm',
            parent=prnt,
            pos=wx.Point(604, 403),
            size=wx.Size(419, 260),
            style=wx.DEFAULT_FRAME_STYLE,
            title='Images using a Resource Module built with img2py')
        self._init_utils()
        self.SetClientSize(wx.Size(411, 233))
        self.SetBackgroundColour(wx.Colour(0, 128, 255))
        self.SetSizeHints(419, 260, 419, 260)
        self.Center(wx.BOTH)

        self.bitmapButton = wx.BitmapButton(
            bitmap=Boa_img.getBoaButtonBitmap(),
            id=wxID_RESOURCEMODULEFRMBITMAPBUTTON,
            name='bitmapButton',
            parent=self,
            pos=wx.Point(16, 67),
            size=wx.Size(112, 88),
            style=wx.BU_AUTODRAW)
        self.bitmapButton.Bind(wx.EVT_BUTTON,
                               self.OnBitmapbuttonButton,
                               id=wxID_RESOURCEMODULEFRMBITMAPBUTTON)

        self.listView = wx.ListView(id=wxID_RESOURCEMODULEFRMLISTVIEW,
                                    name='listView',
                                    parent=self,
                                    pos=wx.Point(148, 27),
                                    size=wx.Size(247, 176),
                                    style=wx.LC_SINGLE_SEL | wx.LC_ICON)
        self.listView.SetImageList(self.images, wx.IMAGE_LIST_NORMAL)
        self.listView.SetBackgroundColour(wx.Colour(255, 255, 242))
        self.listView.Bind(wx.EVT_LIST_ITEM_ACTIVATED,
                           self.OnListviewListItemActivated,
                           id=wxID_RESOURCEMODULEFRMLISTVIEW)
Example #3
0
    def _init_coll_images_Images(self, parent):
        # generated method, don't edit

        parent.Add(bitmap=Boa_img.getPaletteBitmap(), mask=wx.NullBitmap)
        parent.Add(bitmap=Boa_img.getEditorBitmap(), mask=wx.NullBitmap)
        parent.Add(bitmap=Boa_img.getDesignerBitmap(), mask=wx.NullBitmap)
        parent.Add(bitmap=Boa_img.getInspectorBitmap(), mask=wx.NullBitmap)
        parent.Add(bitmap=Boa_img.getDebuggerBitmap(), mask=wx.NullBitmap)
        parent.Add(bitmap=Boa_img.getCollectionEditorBitmap(),
                   mask=wx.NullBitmap)
        parent.Add(bitmap=Boa_img.getClassBrowserBitmap(), mask=wx.NullBitmap)
        parent.Add(bitmap=Boa_img.getOutputErrorBitmap(), mask=wx.NullBitmap)
        parent.Add(bitmap=Boa_img.getHelpBitmap(), mask=wx.NullBitmap)
        parent.Add(bitmap=Boa_img.getShellBitmap(), mask=wx.NullBitmap)
        parent.Add(bitmap=Boa_img.getExplorerBitmap(), mask=wx.NullBitmap)
        parent.Add(bitmap=Boa_img.getZopeBitmap(), mask=wx.NullBitmap)
    def _init_coll_images_Images(self, parent):
        # generated method, don't edit

        parent.Add(bitmap=Boa_img.getPaletteBitmap(), mask=wx.NullBitmap)
        parent.Add(bitmap=Boa_img.getEditorBitmap(), mask=wx.NullBitmap)
        parent.Add(bitmap=Boa_img.getDesignerBitmap(), mask=wx.NullBitmap)
        parent.Add(bitmap=Boa_img.getInspectorBitmap(), mask=wx.NullBitmap)
        parent.Add(bitmap=Boa_img.getDebuggerBitmap(), mask=wx.NullBitmap)
        parent.Add(bitmap=Boa_img.getCollectionEditorBitmap(),
              mask=wx.NullBitmap)
        parent.Add(bitmap=Boa_img.getClassBrowserBitmap(), mask=wx.NullBitmap)
        parent.Add(bitmap=Boa_img.getOutputErrorBitmap(), mask=wx.NullBitmap)
        parent.Add(bitmap=Boa_img.getHelpBitmap(), mask=wx.NullBitmap)
        parent.Add(bitmap=Boa_img.getShellBitmap(), mask=wx.NullBitmap)
        parent.Add(bitmap=Boa_img.getExplorerBitmap(), mask=wx.NullBitmap)
        parent.Add(bitmap=Boa_img.getZopeBitmap(), mask=wx.NullBitmap)