AftGangAglay Documentation


fdiag

New in 2.3.0

Note: This function is only available in "dev builds". See here for more information.

Parameters

N/A

Return Value

Type Description
string The selected filename.

Description

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.

Example

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