Python wx.EmptyIcon() Examples

The following are 30 code examples of wx.EmptyIcon(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module wx , or try the search function .
Example #1
Source File: displayDialog.py    From Zulu with GNU Affero General Public License v3.0 6 votes vote down vote up
def __set_properties(self):
        # begin wxGlade: DisplayDialog.__set_properties
        _icon = wx.EmptyIcon()

	path = self.outputwin.workingdir

        _icon.CopyFromBitmap(wx.Bitmap(path + "/../images/zulu_logo16x16.png", wx.BITMAP_TYPE_ANY))
        self.SetIcon(_icon)        
        self.SetTitle("display settings")
        #initialize depend on settings
        self.radio_box_crlf.SetSelection(self.preNewline)  
        self.radio_box_echo.SetSelection(self.preEcho)
        self.radio_box_unprintable.SetSelection(self.preUnprintable)
        self.button_font.SetMinSize((65, 32))
        self.button_forecolor.SetMinSize((65, 29))
        self.button_backcolor.SetMinSize((65, 32))
        # end wxGlade 
Example #2
Source File: settingsDialog.py    From Zulu with GNU Affero General Public License v3.0 6 votes vote down vote up
def __set_properties(self):
        # begin wxGlade: SerialDialog.__set_properties
        self.SetTitle("Port Settings")
        _icon = wx.EmptyIcon()

	path = self.outputwin.workingdir

        _icon.CopyFromBitmap(wx.Bitmap(path + "/../images/zulu_logo16x16.png", wx.BITMAP_TYPE_ANY))
        self.SetIcon(_icon)
        self.combo_box_port.SetMinSize((120, 29))
        self.combo_box_baudrate.SetMinSize((120, 29))
        self.combo_box_bytesize.SetMinSize((120, 29))
        self.combo_box_parity.SetMinSize((120, 29))
        self.combo_box_stopbits.SetMinSize((120, 29))
        self.radio_box_rtscts.SetSelection(0)
        self.radio_box_xonxoff.SetSelection(0)
        self.button_cancel.SetDefault()
        self.button_ok.SetDefault()
        # end wxGlade 
Example #3
Source File: easyshell.py    From Zulu with GNU Affero General Public License v3.0 6 votes vote down vote up
def __set_properties(self):
        # begin wxGlade: FrameTerminal.__set_properties
        #self.SetTitle("serialAssist")
        _icon = wx.EmptyIcon()

	path = self.outputwin.workingdir

        _icon.CopyFromBitmap(wx.Bitmap(path + "/../images/zulu_logo16x16.png", wx.BITMAP_TYPE_ANY))
        self.SetIcon(_icon)
        #self.SetSize((543, 433))
        self.SetSize((743, 560))
        self.frame_statusbar.SetStatusWidths([-1])
        # statusbar fields
        frame_statusbar_fields = [""]
        for i in range(len(frame_statusbar_fields)):
            self.frame_statusbar.SetStatusText(frame_statusbar_fields[i], i)
        self.frame_toolbar.SetToolBitmapSize((32, 32))
        self.frame_toolbar.SetToolSeparation(9)
        self.frame_toolbar.Realize()
        self.text_ctrl_output.SetFont(wx.Font(11, wx.DEFAULT,
                                              wx.NORMAL, wx.NORMAL, 0, ""))
        # end wxGlade 
Example #4
Source File: images.py    From admin4 with Apache License 2.0 5 votes vote down vote up
def getTreeDefaultIcon():
    icon = EmptyIcon()
    icon.CopyFromBitmap(getTreeDefaultBitmap())
    return icon

#---------------------------------------------------------------------- 
Example #5
Source File: images.py    From admin4 with Apache License 2.0 5 votes vote down vote up
def getTreeMenuIcon():
    icon = EmptyIcon()
    icon.CopyFromBitmap(getTreeMenuBitmap())
    return icon

#---------------------------------------------------------------------- 
Example #6
Source File: images.py    From admin4 with Apache License 2.0 5 votes vote down vote up
def getTreeSizerGridIcon():
    icon = EmptyIcon()
    icon.CopyFromBitmap(getTreeSizerGridBitmap())
    return icon

#---------------------------------------------------------------------- 
Example #7
Source File: Icons.py    From EventGhost with GNU General Public License v2.0 5 votes vote down vote up
def GetWxIcon(self):
        """
        Return a wx.Icon of the icon.
        """
        icon = wx.EmptyIcon()
        icon.CopyFromBitmap(PilToBitmap(self.pil))
        return icon 
Example #8
Source File: images.py    From admin4 with Apache License 2.0 5 votes vote down vote up
def getTreeToolBarIcon():
    icon = EmptyIcon()
    icon.CopyFromBitmap(getTreeToolBarBitmap())
    return icon 
Example #9
Source File: images.py    From admin4 with Apache License 2.0 5 votes vote down vote up
def getTreeToolIcon():
    icon = EmptyIcon()
    icon.CopyFromBitmap(getTreeToolBitmap())
    return icon

#---------------------------------------------------------------------- 
Example #10
Source File: images.py    From admin4 with Apache License 2.0 5 votes vote down vote up
def getTreeStaticBoxSizerVIcon():
    icon = EmptyIcon()
    icon.CopyFromBitmap(getTreeStaticBoxSizerVBitmap())
    return icon

#---------------------------------------------------------------------- 
Example #11
Source File: images.py    From admin4 with Apache License 2.0 5 votes vote down vote up
def getTreeSizerVIcon():
    icon = EmptyIcon()
    icon.CopyFromBitmap(getTreeSizerVBitmap())
    return icon

#---------------------------------------------------------------------- 
Example #12
Source File: images.py    From admin4 with Apache License 2.0 5 votes vote down vote up
def getTreeSizerHIcon():
    icon = EmptyIcon()
    icon.CopyFromBitmap(getTreeSizerHBitmap())
    return icon

#---------------------------------------------------------------------- 
Example #13
Source File: images.py    From admin4 with Apache License 2.0 5 votes vote down vote up
def getTreeSizerGridBagIcon():
    icon = EmptyIcon()
    icon.CopyFromBitmap(getTreeSizerGridBagBitmap())
    return icon

#---------------------------------------------------------------------- 
Example #14
Source File: images.py    From admin4 with Apache License 2.0 5 votes vote down vote up
def getTreeMenuBarIcon():
    icon = EmptyIcon()
    icon.CopyFromBitmap(getTreeMenuBarBitmap())
    return icon

#---------------------------------------------------------------------- 
Example #15
Source File: images.py    From admin4 with Apache License 2.0 5 votes vote down vote up
def getTreeMenuItemIcon():
    icon = EmptyIcon()
    icon.CopyFromBitmap(getTreeMenuItemBitmap())
    return icon

#---------------------------------------------------------------------- 
Example #16
Source File: images.py    From admin4 with Apache License 2.0 5 votes vote down vote up
def getTreePanelIcon():
    icon = EmptyIcon()
    icon.CopyFromBitmap(getTreePanelBitmap())
    return icon

#---------------------------------------------------------------------- 
Example #17
Source File: images.py    From admin4 with Apache License 2.0 5 votes vote down vote up
def getToolSliderIcon():
    icon = EmptyIcon()
    icon.CopyFromBitmap(getToolSliderBitmap())
    return icon

#---------------------------------------------------------------------- 
Example #18
Source File: images.py    From admin4 with Apache License 2.0 5 votes vote down vote up
def getToolUnknownIcon():
    icon = EmptyIcon()
    icon.CopyFromBitmap(getToolUnknownBitmap())
    return icon

#---------------------------------------------------------------------- 
Example #19
Source File: images.py    From admin4 with Apache License 2.0 5 votes vote down vote up
def getToolTreeCtrlIcon():
    icon = EmptyIcon()
    icon.CopyFromBitmap(getToolTreeCtrlBitmap())
    return icon

#---------------------------------------------------------------------- 
Example #20
Source File: images.py    From admin4 with Apache License 2.0 5 votes vote down vote up
def getToolToolBarIcon():
    icon = EmptyIcon()
    icon.CopyFromBitmap(getToolToolBarBitmap())
    return icon

#---------------------------------------------------------------------- 
Example #21
Source File: images.py    From admin4 with Apache License 2.0 5 votes vote down vote up
def getToolTextCtrlIcon():
    icon = EmptyIcon()
    icon.CopyFromBitmap(getToolTextCtrlBitmap())
    return icon

#---------------------------------------------------------------------- 
Example #22
Source File: images.py    From admin4 with Apache License 2.0 5 votes vote down vote up
def getToolStaticTextIcon():
    icon = EmptyIcon()
    icon.CopyFromBitmap(getToolStaticTextBitmap())
    return icon

#---------------------------------------------------------------------- 
Example #23
Source File: images.py    From admin4 with Apache License 2.0 5 votes vote down vote up
def getToolStaticLineIcon():
    icon = EmptyIcon()
    icon.CopyFromBitmap(getToolStaticLineBitmap())
    return icon

#---------------------------------------------------------------------- 
Example #24
Source File: images.py    From admin4 with Apache License 2.0 5 votes vote down vote up
def getToolStaticBoxSizerIcon():
    icon = EmptyIcon()
    icon.CopyFromBitmap(getToolStaticBoxSizerBitmap())
    return icon

#---------------------------------------------------------------------- 
Example #25
Source File: images.py    From admin4 with Apache License 2.0 5 votes vote down vote up
def getToolStaticBoxIcon():
    icon = EmptyIcon()
    icon.CopyFromBitmap(getToolStaticBoxBitmap())
    return icon

#---------------------------------------------------------------------- 
Example #26
Source File: images.py    From admin4 with Apache License 2.0 5 votes vote down vote up
def getToolSplitterWindowIcon():
    icon = EmptyIcon()
    icon.CopyFromBitmap(getToolSplitterWindowBitmap())
    return icon

#---------------------------------------------------------------------- 
Example #27
Source File: images.py    From admin4 with Apache License 2.0 5 votes vote down vote up
def getToolSpinCtrlIcon():
    icon = EmptyIcon()
    icon.CopyFromBitmap(getToolSpinCtrlBitmap())
    return icon

#---------------------------------------------------------------------- 
Example #28
Source File: images.py    From admin4 with Apache License 2.0 5 votes vote down vote up
def getToolSpinButtonIcon():
    icon = EmptyIcon()
    icon.CopyFromBitmap(getToolSpinButtonBitmap())
    return icon

#---------------------------------------------------------------------- 
Example #29
Source File: images.py    From admin4 with Apache License 2.0 5 votes vote down vote up
def getToolSpacerIcon():
    icon = EmptyIcon()
    icon.CopyFromBitmap(getToolSpacerBitmap())
    return icon

#---------------------------------------------------------------------- 
Example #30
Source File: images.py    From admin4 with Apache License 2.0 5 votes vote down vote up
def getToolScrollBarIcon():
    icon = EmptyIcon()
    icon.CopyFromBitmap(getToolScrollBarBitmap())
    return icon

#----------------------------------------------------------------------