Gtkdialog Tutorial Manual
don,
Great tutorial. I've noticed that it doesn't display the following image:
Screen-30.png as It appears to be hard coded unlike the rest of the images.
Have you got a good real time example for the progress bar.
I'm trying to get a display when transferring files with ncat. The following strings work fine in a terminal.
To send----> ncat --send-only xxx.xxx.xxx.xxx port < /root/filename
To listen--> ncat -l 192.168.0.2 port > filename
How would you convert this to a ProgressBar in gtkdialog?
Thanks
Great tutorial. I've noticed that it doesn't display the following image:
Screen-30.png as It appears to be hard coded unlike the rest of the images.
Have you got a good real time example for the progress bar.
I'm trying to get a display when transferring files with ncat. The following strings work fine in a terminal.
To send----> ncat --send-only xxx.xxx.xxx.xxx port < /root/filename
To listen--> ncat -l 192.168.0.2 port > filename
How would you convert this to a ProgressBar in gtkdialog?
Thanks
To Smokey:
I'll look into the progress bar. I've never used it myself. Instead
I put a yaf-splash or gtkdialog splash screen at the top of screen
to remind the user that processing is being done in background.
Then kill command can be used to close the warning window.
The problem is that only a few distros have yaf-splash installed.
Carolina doesn't., but it has gtkdialog-splash
http://www.murga-linux.com/puppy/viewtopic.php?p=424522
Here's an example in Bulldog finder
and then kill with
I'll look into the progress bar. I've never used it myself. Instead
I put a yaf-splash or gtkdialog splash screen at the top of screen
to remind the user that processing is being done in background.
Then kill command can be used to close the warning window.
The problem is that only a few distros have yaf-splash installed.
Carolina doesn't., but it has gtkdialog-splash
http://www.murga-linux.com/puppy/viewtopic.php?p=424522
Here's an example in Bulldog finder
Code: Select all
yaf-splash -timeout 0 -placement top -bg orange -outline 0 -margin 10 -text "$(gettext 'Examining files, please wait...')" & PID=$!
Code: Select all
kill $PID
don570; Thanks for the: "PID=$!" I`ve not seen that, it beats parsing ps for the pid.
I posted a download Xdialog progress utility here:
http://www.murga-linux.com/puppy/viewto ... 943#739943
Any improvements or suggestions are welcome. I`ll be posting a new one Thursday - Friday.
.
I posted a download Xdialog progress utility here:
http://www.murga-linux.com/puppy/viewto ... 943#739943
Any improvements or suggestions are welcome. I`ll be posting a new one Thursday - Friday.
.
new version 2.3
- changed /root to $HOME and sh to bash
-I changed to this example to show an interesting input directive
________________________________________
- changed /root to $HOME and sh to bash
-I changed to this example to show an interesting input directive
Code: Select all
#! /bin/bash
export MAIN_DIALOG='
<vbox border-width="20">
<hbox>
<text>
<input>[ -d $HOME ] && echo "I found folder" && echo -e "\nYou bet I did" || echo -e "\n No, I did not find the folder"</input>
</text>
</hbox>
</vbox>
'
gtkdialog --program MAIN_DIALOG
version 2.4
I came up with a new example for the input directive page
________________________________________________
I came up with a new example for the input directive page
Code: Select all
#! /bin/bash
echo 5 > /tmp/value.tmp
export MAIN_DIALOG='
<vbox border-width="20">
<hbox>
<text>
<input>[ $(cat /tmp/value.tmp) -gt "8" ] && echo TRUE || echo FALSE </input>
</text>
</hbox>
</vbox>
'
gtkdialog --program MAIN_DIALOG
- koulaxizis
- Posts: 452
- Joined: Sun 17 Jul 2011, 18:43
- Location: Greece
- Contact:
- koulaxizis
- Posts: 452
- Joined: Sun 17 Jul 2011, 18:43
- Location: Greece
- Contact:
- koulaxizis
- Posts: 452
- Joined: Sun 17 Jul 2011, 18:43
- Location: Greece
- Contact:
SourceForge is a good, reliable and free solution!don570 wrote:datafilehost.com is forcing people to use their downloader app
apparently
[b]Christos Koulaxizis[/b]
[i]Woof woof from Greece![/i]
[color=darkred][url=https://sourceforge.net/projects/puppystuff/][ Puppy Stuff Repository ][/url][/color]
[i]Woof woof from Greece![/i]
[color=darkred][url=https://sourceforge.net/projects/puppystuff/][ Puppy Stuff Repository ][/url][/color]