# Linux-HTML-Application A spin off of Windows HTML Application!     By combining a small server with a GUI designed using Python and Gtk glade one gets the core of LHTA. Using the small server one can execute cgi scripts that can be based off of Bash, Pearl, Python or anything else considered a scripting language. The only thing currently un-availabe is using Php.

NOTES:

1.     To change the window frame, simply edit the .glade file located in the resources directory.
Edit between lines 5 through 10 with the tag
     ```toolbar ```
Edit the value with one bellow :
- Normal = Remove the mentioned tag
- Dialog = dialog
- Menu = menu
- Toolbar = toolbar
- Splash Screen = splashscreen
- Utility = utility
- Dock = dock
- Desktop = desktop
- Drop Down Menu = dropdown-menu
- Popup Menu = popup-menu
- Tooltip = tooltip
- Notification = notification
- Combo = combo
- Drag and Drop = dnd


2.     To handle window positioning, simply .glade file located in the resources directory. Edit between lines 5 through 10 with the tag
     ```center ```
Edit the value with one bellow :
- None = Remove the mentioned tag
- Center = center
- Mouse = mouse
- Always Center = center-always
- Center on Parent = center-on-parent

3.     To add an icon simply add or edit between lines 5 through 10 with either :
     ```application-exit ```
             OR
    ```icon.png ```
Icon_Name would be the name of a standard system icon. IE: refresh or play or stop, etc. Just having Icon means you need to give the path of an icon - Relative or otherwise.

4.     To allow/disallow resizing simply add or edit between lines 5 through 10 with either :
     ```True ```
     ```False ```

5.     To allow/disallow deletion of the window from the window border simply add or edit between lines 5 10 with either :
     ```True ```
     ```False ```
Please Note : You can still kill the program from a script if you so desire!
Please Also Note : It is urged to kill the program from the script as using the window border will not kill the server!

6.      You can change the server port to anything below 65535 but we recommend above 1024 as anything lower requires root privileges. Simply edit the root directory lhta python file with any text editor and edit line 27. By default the port is set to 8080. Also edit line 43 to match you new port number!