New in 2.3.0
Note: This function is only available in "dev builds". See here for more information.
N/A
Type | Description |
string | The selected filename. |
Prompts the user with a file selection dialog, and returns the selected file path. Whether the path is relative to the current working directory or an absolute path varies by system.
import agan
class game():
def create(self):
sel = agan.fdiag()
agan.log('Selected file: ' + sel)
return self
#
def update(self):
pass
#
def close(self):
pass