Followers
0
Following
0
Joined
Last Online
-
-
Python567
@cvp if I click „no“ on your code, the skript will close completely!
-
Python567
@cvp the code from @mikael is with with the Scene module, but I already have all of my Programm with ui, so...
-
Python567
That here is my code, but it doesn‘t work really:
import ui import console from scene import * class Scene(ui.View): def __init__(self): self.background_color = 'gray' self.name = 'Test' #def close(self,sender): self.paused = True if console.alert('Close Scene?','','Yes','No',hide_cancel_button=True) == 1: self.view.close() self.paused = False s = Scene() s.present('fullscreen')
-
-
Python567
@cvp @mikael Thanks a lot, that‘s awesome, but can I also create my Scene with ui or must I have it with the module „Scene“
-
Python567
@ccc I haven‘t a Mac only windows :( . But ok, than is this app only for me
-
Python567
On my Scene is on the left the „x“ to leave, how can I make a dialog that if I press the „x“ there come a dialog: Are you sure to leave?
-