Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/s/k/SkeinFox-HEAD/2010-02-25_skeinforge_withRaftless/skeinforge_tools/analyze_plugins/analyze_utilities/tableau.py   SkeinFox(Download)
		self.fileHelpMenuBar.addMenuToMenuBar( "Settings", self.settingsMenu )
		settings.addMenuEntitiesToMenuFrameable( self.settingsMenu, self.repository.menuEntities )
		self.relayXview( settings.Tkinter.MOVETO, center.real - self.canvasScreenCenter.real )
		self.relayYview( settings.Tkinter.MOVETO, center.imag - self.canvasScreenCenter.imag )
		self.root.withdraw()

src/s/k/SkeinFox-HEAD/2010-02-25_skeinforge_withRaftless/skeinforge_tools/analyze_plugins/analyze_utilities/view_move.py   SkeinFox(Download)
	def relativeMove( self, relativeMotion ):
		"Move the view given the relative motion."
		relativeScreenMotion = complex( relativeMotion.real / float( self.window.screenSize.real ), relativeMotion.imag / float( self.window.screenSize.imag ) )
		moveTo = self.scrollPaneFraction - relativeScreenMotion
		self.window.relayXview( settings.Tkinter.MOVETO, moveTo.real )
		self.window.relayYview( settings.Tkinter.MOVETO, moveTo.imag )