Gtkdialog Tutorial Manual
Gtkdialog Tutorial Manual
I wrote a manual to introduce Bash programmers to the power
of Gtkdialog GUI scripting. It's available for download.
(untick the box to avoid installing the downloader)
http://www.datafilehost.com/d/6c860d52
EDIT: new version 2.4
___________________________________________________
For examples of apps that can be developed using Gtkdialog
http://www.murga-linux.com/puppy/viewtopic.php?t=69282
Example: pburn by Zigbert has been converted to Porteus
of Gtkdialog GUI scripting. It's available for download.
(untick the box to avoid installing the downloader)
http://www.datafilehost.com/d/6c860d52
EDIT: new version 2.4
___________________________________________________
For examples of apps that can be developed using Gtkdialog
http://www.murga-linux.com/puppy/viewtopic.php?t=69282
Example: pburn by Zigbert has been converted to Porteus
Last edited by don570 on 03 Dec 2013, 21:18, edited 4 times in total.
- mocabilly
- White ninja
- Posts: 21
- Joined: 12 Jan 2011, 17:53
- Distribution: Mint-Porteus
- Location: Belgium
Re: Gtkdialog Tutorial Manual
Hi don570,
Thnx for the great tutorial.
Kind regards,
Mocabilly
Thnx for the great tutorial.
Kind regards,
Mocabilly
There are only 10 kind of people in this world, those who can read binary and those who can't.
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: Gtkdialog Tutorial Manual
Great work. This is a great asset to gtkdialog. I hope people start writing stuff and unleashing the full power of gtkdialog.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
Re: Gtkdialog Tutorial Manual
Improved and updated to version 2.0
Re: Gtkdialog Tutorial Manual
New version 2.1 available in first post.
Re: Gtkdialog Tutorial Manual
new version 2.2 available in first post
Re: Gtkdialog Tutorial Manual
I've now reached version 2.4 of the manual.
See first post.
See first post.
- francois
- Contributor
- Posts: 6444
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Gtkdialog Tutorial Manual
gtkdialog:
http://www.tecmint.com/gtkdialog-create ... log-boxes/
Gtkdialog (or gtkdialog) is an open source nifty utility for creating and building GTK+ Interfaces and Dialog Boxes with the help of Linux shell scripts and using GTK library, as well as using an xml-like syntax, which makes easy to create interfaces using gtkdialog. It is much similar to most famous tool called Zenity, but it comes with some useful customizable features that enables you to easily create many widgets like vbox, hbox, button, frame, text, menu, and a lot more. ... and more.
Thanks Don.
http://www.tecmint.com/gtkdialog-create ... log-boxes/
Gtkdialog (or gtkdialog) is an open source nifty utility for creating and building GTK+ Interfaces and Dialog Boxes with the help of Linux shell scripts and using GTK library, as well as using an xml-like syntax, which makes easy to create interfaces using gtkdialog. It is much similar to most famous tool called Zenity, but it comes with some useful customizable features that enables you to easily create many widgets like vbox, hbox, button, frame, text, menu, and a lot more. ... and more.
Thanks Don.
Prendre son temps, profiter de celui qui passe.
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: Gtkdialog Tutorial Manual
A bit belated (beat you to it Ed 8) )francois wrote:Thanks Don.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
- francois
- Contributor
- Posts: 6444
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Gtkdialog Tutorial Manual
Don't laugh about old men.
Prendre son temps, profiter de celui qui passe.
- Ed_P
- Contributor
- Posts: 8572
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Gtkdialog Tutorial Manual
Yeah.
Kids today.
Kids today.
- Blaze
- DEV Team
- Posts: 3908
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
- Contact:
Re: Gtkdialog Tutorial Manual
Hello, everybody!
I Am trying to writing on gtkdialog simple application for automatically authorization on the government site.
This program after clicking on the user button is automatically opening web site http://government-site.org via Mozilla Firefox browser and automatically inserts login and password of chosen user.
I have the same application by me on AutoIt for Window$
1) for automatic insertion of user (visible_user_field) and password (visible_password_field) to the two fields of this html page
2) plus automatic pressing 'Enter' button of keyboard after 1st action or automatic pressing the button "Вход в систему"[/color]
source of html - download
I Am trying to writing on gtkdialog simple application for automatically authorization on the government site.
This program after clicking on the user button is automatically opening web site http://government-site.org via Mozilla Firefox browser and automatically inserts login and password of chosen user.
I have the same application by me on AutoIt for Window$
But I don't have idea how to add two actions (for four buttons):AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting.
1) for automatic insertion of user (visible_user_field) and password (visible_password_field) to the two fields of this html page
Code: Select all
<input id="visible_user_field" style="width: 100%" name="userName" tabindex="1" autocomplete="off" type="text">
<input id="visible_password_field" style="width: 100%" name="password" tabindex="2" autocomplete="off" type="password">
Code: Select all
<input name="loginButton" id="loginButton" value="Вход в систему" onclick="OnClick()" type="button">
source of gtkdialog (example)Вход в систему it's Sign in
Пользователь it's User
Пароль it's Password
Code: Select all
#!/bin/bash
GTKDIALOG=gtkdialog
export MAIN_DIALOG='
<window title="Title of app" icon-name="gtk-about" resizable="true" width-request="350" height-request="170">
<vbox>
<button>
<label>User 1</label>
<action>exec firefox http://government-site.org</action>
</button>
<button>
<label>User 2</label>
<action>exec firefox http://government-site.org</action>
</button>
<button>
<label>User 3</label>
<action>exec firefox http://government-site.org</action>
</button>
<button>
<label>User 4</label>
<action>exec firefox http://government-site.org</action>
</button>
<button>
<label>Exit</label>
<action type="exit">Cancel</action>
</button>
</vbox>
</window>
'
case $1 in
-d | --dump) echo "$MAIN_DIALOG" ;;
*) $GTKDIALOG --program=MAIN_DIALOG --center ;;
esac
Code: Select all
<tr>
<td class="bold">
<label for="visible_user_field">
Пользователь:
</label>
</td>
<td style="text-align: right;">
<input id="visible_user_field" style="width: 100%" name="userName" tabindex="1" autocomplete="off" type="text">
</td>
</tr>
<tr>
<td class="bold">
<label for="visible_password_field">
Пароль:
</label>
</td>
<td style="text-align: right;">
<input id="visible_password_field" style="width: 100%" name="password" tabindex="2" autocomplete="off" type="password">
</td>
</tr>
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
- Blaze
- DEV Team
- Posts: 3908
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
- Contact:
Re: Gtkdialog Tutorial Manual
Any suggestions are welcome.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16