Exemplo n.º 1
0
	def event_toggle_menu(self, event):
		if self.player.get_item_list('edit_list'):
			return True
		return GenericPlayerEventHandler.event_toggle_menu(self, event)
Exemplo n.º 2
0
			return Menu.select(play, -event.arg['count'])
		self.player.action_seek(HMI_MUSIC['left'])
		return True

	def event_wheel_fwd(self, event):
		play = self.player
		if play.active_list == 'edit_list':
			Menu.select(play, event.arg['count'])
			return True
		self.player.action_seek(HMI_MUSIC['right'])
		return True

	def event_toggle_menu(self, event):
		if self.player.get_item_list('edit_list'):
			return True
		return GenericPlayerEventHandler.event_toggle_menu(self, event)



]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb76f26ec>}
from __future__ import absolute_import
from peewee.debug import PRINT_EXCEPTION, DEBUG
from peewee.messages import send as louie_send
from peewee.ranges import f_list
from pygui.config import HMI_MUSIC
from pygui.eventmanager.players import GenericPlayerEventHandler
from pygui.menu.menu import Menu