Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
int(x[, base]) -> integer

Convert a string or number to an integer, if possible.  A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!)  When converting a string, use
the optional base.  It is an error to supply a base when converting a
non-string.  If base is zero, the proper base is guessed based on the
string content.  If the argument is outside the integer range a
long object will be returned instead.

src/w/x/wxPython-In-Action-HEAD/demo/agw/ShapedButton.py   wxPython-In-Action(Download)
 
        fonts = [fnt, wx.Font(8, wx.SWISS, wx.NORMAL, wx.BOLD),
                 wx.Font(10, wx.TELETYPE, wx.NORMAL, wx.NORMAL),
                 wx.Font(8, wx.SWISS, wx.NORMAL, wx.NORMAL, True),
                 fnt, wx.Font(9, wx.DECORATIVE, wx.NORMAL, wx.BOLD),

src/w/x/wxPython-In-Action-HEAD/demo/agw/SpeedMeter.py   wxPython-In-Action(Download)
        self.SpeedWindow4.SetTicks(ticks)
        self.SpeedWindow4.SetTicksColour(wx.BLACK)
        self.SpeedWindow4.SetTicksFont(wx.Font(7, wx.TELETYPE, wx.NORMAL, wx.BOLD))
 
        self.SpeedWindow4.SetHandColour(wx.Colour(0, 0, 255))

src/f/f/ffse-1.0.1/ffse.py   ffse(Download)
        # Make it monospaced.
        oldfont = self.props_text.GetFont()
        newfont = wx.Font(oldfont.GetPointSize(), wx.TELETYPE,
                          oldfont.GetStyle(), oldfont.GetWeight())
        self.props_text.SetFont(newfont)

src/r/o/roreditor-HEAD/trunk/lib_windows/wx/lib/masked/maskededit.py   roreditor(Download)
            # Set to teletype font (guaranteed to be mappable to all wxWindows
            # platforms:
            self._font = wx.Font( font.GetPointSize(), wx.TELETYPE, font.GetStyle(),
                                 font.GetWeight(), font.GetUnderlined())
####            dbg('font string: "%s"' % font.GetNativeFontInfo().ToString())

src/w/x/wxPython-In-Action-HEAD/demo/FloatCanvas.py   wxPython-In-Action(Download)
                                          LineStyle = "Solid",
                                          PadSize = 5,
                                          Family = wx.TELETYPE,
                                          Position = 'bl')
 
                                          LineStyle = "Solid",
                                          PadSize = 5,
                                          Family = wx.TELETYPE,
                                          Position = 'tr')
 
                                          Width = None,
                                          PadSize = 5,
                                          Family = wx.TELETYPE,
                                          Style = wx.NORMAL,
                                          Weight = wx.NORMAL,
                                          Width = None,
                                          PadSize = 5,
                                          Family = wx.TELETYPE,
                                          Style = wx.NORMAL,
                                          Weight = wx.NORMAL,
                                          Width = None,
                                          PadSize = 3,
                                          Family = wx.TELETYPE,
                                          Style = wx.NORMAL,
                                          Weight = wx.NORMAL,

src/r/o/roreditor-HEAD/trunk/lib_windows/wx/py/crust.py   roreditor(Download)
 
        df = self.GetFont()
        font = wx.Font(df.GetPointSize(), wx.TELETYPE, wx.NORMAL, wx.NORMAL)
        self.SetFont(font)
 
 
        df = self.GetFont()
        font = wx.Font(df.GetPointSize(), wx.TELETYPE, wx.NORMAL, wx.NORMAL)
        self.SetFont(font)
 
 
        df = self.GetFont()
        font = wx.Font(df.GetPointSize(), wx.TELETYPE, wx.NORMAL, wx.NORMAL)
        self.SetFont(font)
 

src/f/r/freeblocksim-HEAD/trunk/block.py   freeblocksim(Download)
                           style=wx.TE_MULTILINE|wx.TE_PROCESS_TAB)   
 
        self.text.SetFont(wx.Font(10,wx.TELETYPE,wx.NORMAL,wx.NORMAL))
 
        help = '''

src/p/y/PyWebRun-0.0.3/src/gui.py   PyWebRun(Download)
 
		self.app = app #main application
		fnt = wx.Font(10, wx.TELETYPE, wx.NORMAL, wx.NORMAL)
 
		#commands field

src/d/b/dbabel-HEAD/trunk/Client/crust.py   dbabel(Download)
 
        df = self.GetFont()
        font = wx.Font(df.GetPointSize(), wx.TELETYPE, wx.NORMAL, wx.NORMAL)
        self.SetFont(font)
 
 
        df = self.GetFont()
        font = wx.Font(df.GetPointSize(), wx.TELETYPE, wx.NORMAL, wx.NORMAL)
        self.SetFont(font)
 
 
        df = self.GetFont()
        font = wx.Font(df.GetPointSize(), wx.TELETYPE, wx.NORMAL, wx.NORMAL)
        self.SetFont(font)
 

src/r/o/roreditor-HEAD/trunk/lib_windows/wx/py/frame.py   roreditor(Download)
 
        dlg = wx.lib.dialogs.ScrolledMessageDialog(self, text, title, size = ((700, 540)))
        fnt = wx.Font(10, wx.TELETYPE, wx.NORMAL, wx.NORMAL)
        dlg.GetChildren()[0].SetFont(fnt)
        dlg.GetChildren()[0].SetInsertionPoint(0)

  1 | 2  Next