#Agui now offers BUTTON and TextField components
Function.py
This script should contain all the functions will be used in your gui
There are two module you can import from Agui package . One of them is bind and the other is Text.
bind module has two function bind ( function_name , button_name ) which binds your functions to the buttons you have created in AGui application and finish() which ends up all relation between your program and your gui
bind ( function_name , button_name ) has two parameters. First one is the exact name of your function(only name) .Second one is the name of button that you have created in AGui application.Two parameters are string
finish() has no parameters . It must be called after all binding operation
Text module has a function set_text( textFieldNumber , newText ) which sets new text to your textField
set_text( textFieldNumber , newText ) has two parameters first one is the order of your textField as an input which you would see during your gui design in AGui . Second one is the text that you want it to be prompted in the textField that you have chosen
This script must be interpreted before Gui.py script to set all connections between your gui and your codes
Gui.py
This script must be separated from Function.py as a script file
This script imports UserGui module from Agui package
UserGui module starts your gui
Aproject.py
This script is a component data file for your gui
Aproject.py is automatically created by AGui application when you save your project
Aproject.py should be copied to your main.py (Gui.py) script file directory