Module view.ProjectDescription
Widget to define a description for the project.
Functions
ProjectDescription.new () | Constructor. |
ProjectDescription:get_description () | Gets the description text. |
ProjectDescription:project_selected (event, project) | Updates the interface if the project changed. |
ProjectDescription:project_will_save (event, project) | Copies the description to the project. |
ProjectDescription:set_description (text) | Sets the description text. |
(private) ProjectDescription:build_gui () | Builds the interface. |
Functions
- ProjectDescription.new ()
-
Constructor.
Return value:
New instance of ProjectDescription - ProjectDescription:get_description ()
-
Gets the description text.
Return value:
Description text - ProjectDescription:project_selected (event, project)
-
Updates the interface if the project changed.
Parameters
- event: Event that triggered this handler
- project: The current project
- ProjectDescription:project_will_save (event, project)
-
Copies the description to the project.
Parameters
- event: Event that triggered this handler
- project: The project to be filled
- ProjectDescription:set_description (text)
-
Sets the description text.
Parameters
- text: New description text
- (private) ProjectDescription:build_gui ()
- Builds the interface.