dodal še mapping nekaterih tipk z numerične tipkovnice
This commit is contained in:
@@ -74,8 +74,11 @@ class SongProjector:
|
|||||||
root.bind("<Return>", self.enter_pressed)
|
root.bind("<Return>", self.enter_pressed)
|
||||||
root.bind("<KP_Enter>", self.enter_pressed)
|
root.bind("<KP_Enter>", self.enter_pressed)
|
||||||
root.bind("<plus>", self.clear_screen)
|
root.bind("<plus>", self.clear_screen)
|
||||||
|
root.bind("<KP_Add>", self.clear_screen)
|
||||||
root.bind("<minus>", self.prev_page)
|
root.bind("<minus>", self.prev_page)
|
||||||
|
root.bind("<KP_Subtract>", self.prev_page)
|
||||||
root.bind("<slash>", self.search_song)
|
root.bind("<slash>", self.search_song)
|
||||||
|
root.bind("<KP_Divide>", self.search_song)
|
||||||
root.bind("<Key>", self.key_pressed)
|
root.bind("<Key>", self.key_pressed)
|
||||||
|
|
||||||
screen_width = root.winfo_screenwidth()
|
screen_width = root.winfo_screenwidth()
|
||||||
|
|||||||
Reference in New Issue
Block a user