Graphical User Interface: Difference between revisions
m (→Controls: Added link to label.) |
m (Category:GUI) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{stub}} | {{stub}} | ||
''' | A '''graphical user interface''' (GUI) is a type of user interface that allows users to interact with electronic devices through graphical icons and visual indicators such as secondary notation, as opposed to text-based interfaces, typed command labels or text navigation. AutoIt can be used to create GUIs which consist of simple controls. | ||
== Concepts == | == Concepts == | ||
A GUI consists of one or more windows and each window contains one or more controls. GUIs are "event driven" which means you react to events - like a button that is clicked. You spend most of your time idling and waiting for an event to happen - this is a little different to a normal script where you are in control of what happens and when! Think of it as waiting by the door for the postman - you sit there until a letter pops through the postbox and then you look at the letters and decide what to do with them - this is exactly how GUIs work - you wait for the postman to come to you. | A GUI consists of one or more windows and each window contains one or more controls. GUIs are "event driven" which means you react to events - like a button that is clicked. You spend most of your time idling and waiting for an event to happen - this is a little different to a normal script where you are in control of what happens and when! Think of it as waiting by the door for the postman - you sit there until a letter pops through the postbox and then you look at the letters and decide what to do with them - this is exactly how GUIs work - you wait for the postman to come to you. | ||
Of course, you may choose to do other tasks while the GUI is active - for example you might use the GUI functions to create an elaborate progress box that you update while your script performs complex actions. | Of course, you may choose to do other tasks while the GUI is active - for example you might use the GUI functions to create an elaborate progress box that you update while your script performs complex actions. | ||
== Controls == | |||
'''Controls''' are components of GUI. Whatever you can click on in a GUI is a control. | |||
[[Label]] A Label is a simple, plain piece of text appearing in a GUI. | |||
== | [[InputBox]] An InputBox displays a popup box prompting the user to enter a string. | ||
[ | == Tutorials == | ||
[ | [[Tabs]] | ||
== Sources == | |||
1. [http://en.wikipedia.org/wiki/Graphical_user_interface Graphical User Interface] | |||
[[Category:GUI]] | |||
Latest revision as of 03:25, 1 August 2013
A graphical user interface (GUI) is a type of user interface that allows users to interact with electronic devices through graphical icons and visual indicators such as secondary notation, as opposed to text-based interfaces, typed command labels or text navigation. AutoIt can be used to create GUIs which consist of simple controls.
Concepts
A GUI consists of one or more windows and each window contains one or more controls. GUIs are "event driven" which means you react to events - like a button that is clicked. You spend most of your time idling and waiting for an event to happen - this is a little different to a normal script where you are in control of what happens and when! Think of it as waiting by the door for the postman - you sit there until a letter pops through the postbox and then you look at the letters and decide what to do with them - this is exactly how GUIs work - you wait for the postman to come to you.
Of course, you may choose to do other tasks while the GUI is active - for example you might use the GUI functions to create an elaborate progress box that you update while your script performs complex actions.
Controls
Controls are components of GUI. Whatever you can click on in a GUI is a control.
Label A Label is a simple, plain piece of text appearing in a GUI.
InputBox An InputBox displays a popup box prompting the user to enter a string.