Deprecated-Unsupported/Python Projects/gtk/Linux HTML Application
2021-04-09 02:15:18 -05:00
..
resources Added projects, updated names 2021-04-09 02:15:18 -05:00
lhta Added projects, updated names 2021-04-09 02:15:18 -05:00
LICENSE Added projects, updated names 2021-04-09 02:15:18 -05:00
README.md Added projects, updated names 2021-04-09 02:15:18 -05:00

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 <br>
- Dialog = dialog <br>
- Menu = menu <br>
- Toolbar = toolbar <br>
- Splash Screen = splashscreen <br>
- Utility = utility <br>
- Dock = dock <br>
- Desktop = desktop <br>
- Drop Down Menu = dropdown-menu <br>
- Popup Menu = popup-menu <br>
- Tooltip = tooltip <br>
- Notification = notification<br>
- Combo = combo <br>
- Drag and Drop = dnd <br>


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<br>
- Center = center <br>
- Mouse = mouse <br>
- Always Center = center-always <br>
- Center on Parent = center-on-parent <br>

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!