1 2345678910...
|
import time
def printForm(form, driver):
_Timer(_printForm, form, driver).Start(100,1)
def _printForm(form, driver):
# Get a suitable title for the print job
Language: Python License: GPL Copyright 2001-2003 Free Software Foundation LOC: 88 Savannah GNU : GNU Enterprise (project search) : .../gnue-forms/src/uidrivers/wx/PrintForm.py
|
if self.control == self.designer or \
not isinstance(self.control, wx.EvtHandler) or \
isinstance(self.control, wx.Timer):
comp_name = ''
else:
Language: Python (c) 1999 - 2007 Riaan Booysen LOC: 1126 SourceForge : Boa Constructor - wxPython GUI Builder (project search) : .../boa-constructor/boa-constructor/boa/Companions/BaseCompanions.py
|
def resizeEvent(self,qrev):
print "resize in python"
timer = QTimer( self )
self.connect( timer, SIGNAL("timeout()"), self.resizeQUIET )
timer.start( 0, 1)
Language: Python LOC: 48 SourceForge : PLplot (project search) : .../plplot/plplot/examples/python/prova.py
|
h = self.image2.GetHeight()
dc.DrawBitmap(image, self.x-w/2, self.y-h/2, 1)
class MoveTimer(wxTimer):
"""Call the update function for avatars"""
def __init__(self):
Language: Python License: GPL (c) 2002 Sean R. Lynch LOC: 780 Savannah NonGNU : PythonVerse/RubyVerse (project search) : .../p/pythonverse/pythonverse/pythonverse/pvui_wx.py
|
if(ev.type()==qt.QEvent.Paint):
plplot_widget.plexpose()
timer = qt.QTimer( self )
self.connect( timer, qt.SIGNAL("timeout()"), self.exposeQUIET)
timer.start( 0, 1)
Language: Python LOC: 132 SourceForge : PLplot (project search) : .../plplot/plplot/examples/python/qplplot.py
|
self._pid = None
self._erroutFrm = self.editor.erroutFrm
self.stream_timer = wx.PyTimer(self.OnStreamTimer)
self.stream_timer.Start(100)
self.Bind(wx.EVT_MENU_HIGHLIGHT_ALL, self.OnToolOver)
Language: Python (c) 2000 - 2007 : Riaan Booysen, Shane Hathaway LOC: 714 SourceForge : Boa Constructor - wxPython GUI Builder (project search) : .../boa-constructor/boa-constructor/boa/Debugger/Debugger.py
|
def print_search_stats(hits, pages, start):
print "<p>" + _("%(hits)d hits out of %(pages)d pages searched.") % locals()
print _("Needed %(timer).1f seconds.") % {'timer': time.clock() - start + 0.05}
def do_highlight(pagename, request):
if request.form.has_key('value'):
Language: Python LOC: 456 SourceForge : Direct Rendering Infrastructure (project search) : .../dri/MoinMoin/wikiaction.py
|
EVT_PAINT(self.GetSplashWindow(), self.OnPaint)
EVT_CLOSE(self, self.destroy)
self.timer = None
def pauseAndClose(self):
self.Raise()
Language: Python LOC: 66 Savannah GNU : GNU Enterprise (project search) : .../gnue-designer/src/base/startup/Startup.py
|
# onCloseSplash
#
# Called by SplashScreen when timer expires
#
# If the splashscreen has timed out before the form is
Language: Python License: GPL Copyright 2000-2003 Free Software Foundation LOC: 37 Savannah GNU : GNU Enterprise (project search) : .../gnue-forms/src/uidrivers/qt/QTSplashScreen.py
|
self._eid = 0
def startup(self):
exported.hook_register("timer_hook", self.timeUpdate)
def shutdown(self):
exported.hook_unregister("timer_hook", self.timeUpdate)
Language: Python License: GPL LOC: 457 SourceForge : Lyntin (project search) : .../lyntin/lyntin40/lyntin/modules/scheduler.py
|
width = None
height = None
PrepositioningTimer(self.endPrePositioningTemplate,x1,y1,width,height).Start(100,1)
def selectWidgetInArea(self, object, x1, y1, x2, y2, selection):
try:
Language: Python License: GPL Copyright 2001-2003 Free Software Foundation LOC: 616 Savannah GNU : GNU Enterprise (project search) : .../gnue-designer/src/forms/LayoutEditor/LayoutEditor.py
|
By Ryan Loebs
ObsidianX, 2005
timer.py
"""
from wx import Timer
Language: Python LOC: 14 Spider_20090108_inc : MPoD (project search) : .../inc_005/mpod/mpod-20051205.tbz2/mpod/timer.py
|
# This class handles window id magic which should be done by a base class
# UtilityIddDTC or maybe an IddDTCMix for everyone
EventCollections.EventCategories['TimerEvent'] = ('wx.EVT_TIMER',)
EventCollections.commandCategories.append('TimerEvent')
class TimerDTC(UtilityDTC):
Language: Python (c) 2000 - 2007 LOC: 450 SourceForge : Boa Constructor - wxPython GUI Builder (project search) : .../boa-constructor/boa-constructor/boa/Companions/UtilCompanions.py
|
"""
* The <code>ConstantTimer</code> is a <code>Timer</code>
* with a constant delay.
*
Language: Python LOC: 29 Spider_20081217_inc : pyUnitPerf (project search) : .../batches/inc_003/pyunitperf/pyunitperf/ConstantTimer.py
|
clear what is and what is not available.
Arg mapping: {}
X{timer_hook}::
The timer hook spams all registered functions every second. This
is how the scheduler works.
Language: Python License: GPL LOC: 723 SourceForge : Lyntin (project search) : .../lyntin/lyntin40/lyntin/engine.py
|
if os.name == 'posix':
readers,w,e = select.select([sys.stdin], [], [], data.timeout)
if not readers: # timer expired
return
for R in readers:
Language: Python License: GPL LOC: 112 SourceForge : Lyntin (project search) : .../lyntin/lyntin/lyntin/ui/textui.py
|
as Lyntin error messages, Lyntin regular messages, mud data, user
input... Arg tuple: (data:string|ui.ui.Message)
@var timer_hook: The timer hook runs every second. The scheduler uses this
to know when to wake up and deal with things. Arg tuple: (ticknumber:int)
@var write_hook: This hook runs whenever someone types "#write <filename>".
Language: Python License: GPL LOC: 366 SourceForge : Lyntin (project search) : .../l/lyntin/lyntin/lyntinng/hooks.py
|
'Name':
'̸',
'Needed %(timer).1f seconds.':
'%(timer).1f ɸ.',
'No attachments stored for %(pagename)s':
Language: Python LOC: 519 SourceForge : Direct Rendering Infrastructure (project search) : .../dri/MoinMoin/i18n/ko.py
|
self._threads.remove(mem)
### ------------------------------------------
### timer thread
### ------------------------------------------
def runtimer(self):
Language: Python License: GPL LOC: 501 SourceForge : Lyntin (project search) : .../l/lyntin/lyntin/lyntinng/engine.py
|
'Name':
'Name ',
'Needed %(timer).1f seconds.':
'Die Suche bentigte %(timer).1f Sekunden.',
'No attachments stored for %(pagename)s':
Language: Python LOC: 565 SourceForge : Direct Rendering Infrastructure (project search) : .../dri/MoinMoin/i18n/de.py
|
#from Qt import signal, slot
from Qt.Core import QObject, QTimer
from Qt.Gui import QApplication
class MyTimer(QTimer):
Language: Python LOC: 19 BerliOS (SVN) : Qt4 bindings for Python (project search) : .../p/python-qt4/trunk/tests/neosig.py
|
from Timer import Timer
deferredCommands = []
timerIsActive = False
Language: Python LOC: 27 Google : pyjamas - AJAX in Python (project search) : .../p/pyjamas/trunk/library/DeferredCommand.py
|
# timer code by Ryan Kulla, rkulla@gmail.com
import gl
from pygame.time import get_ticks
Language: Python LOC: 6 Spider_20090227_inc : imgv (project search) : .../009/imgv/imgv-3.1.5-src/load_timers.py
|
#
import unittest
from pymage.timer import *
__author__ = 'Ross Light'
__date__ = 'May 24, 2007'
Language: Python License: LGPL (C) 2006-2007 Ross Light LOC: 45 Google : pymage - Pygame helper package (project search) : .../p/pymage/trunk/tests/timertest.py
|
from Qt.Core import QObject, QTimer, QCoreApplication
count = 0
def timeout():
Language: Python LOC: 14 BerliOS (SVN) : Qt4 bindings for Python (project search) : .../p/python-qt4/trunk/tests/timer.py
|
1 2345678910...
|