Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
x button of scene object.
-
I would like to delete a button of scene object.
How do I make a source code to delete it?
There is no information about it. -
Scene objects don't have buttons, per se, just drawn boxes. Modification of a scene depends on how the scene does its drawing, so there is no universal answer.... Did you mean a
ui.View
? -
It is a bit difficult to understand the context of your question without code but you can take a look at
Layer.remove_layer()
on http://omz-software.com/pythonista/docs/ios/scene.html to see if that helps. -
I am sorry for less information.
I would like to delete a button in the following case.from scene import *
class MyScene (Scene):
def setup(self):
pass
def draw(self):
background(0, 0, 0)
run(MyScene())I can watch only 'x button' on the screen.
I would like to delete this button because I want to prepare other close button by my self.
I already check other sample and open source such as GitHub.
But there is no same case of situation and document. -
-
Thank you for your help.
I miss find it.