usage for --multi-progress

269 views
Skip to first unread message

Rc Spam

unread,
Aug 18, 2014, 10:20:40 AM8/18/14
to yad-c...@googlegroups.com
Hi
Is there examples for  --multi-progress

Thanx

Victor Ananjevsky

unread,
Aug 18, 2014, 10:29:17 AM8/18/14
to yad-c...@googlegroups.com

eval exec yad --title="xdf" --image=drive-harddisk --text="Disk\ usage:" --buttons-layout=end --width=650 --multi-progress \
$(df -hT $1 | tail -n +2 | awk '{printf "--bar=\"<b>%s</b> (%s - %s) [%s/%s]\" %s ", $7, $1, $2, $4, $3, $6}')

В Mon, 18 Aug 2014 07:20:40 -0700 (PDT)
Rc Spam <rcs...@gmail.com> писал:

> Hi
> Is there examples for --multi-progress
>
> Thanx
>
> --
> You received this message because you are subscribed to the Google Groups "yad-common" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to yad-common+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


--
Victor Ananjevsky <anan...@gmail.com>

Rc Spam

unread,
Aug 18, 2014, 10:35:35 AM8/18/14
to yad-c...@googlegroups.com

Thank you
Is it possibility to have a multi form window with progress options : i mean "yad   --form --field.....  --progress ...."

Victor Ananjevsky

unread,
Aug 18, 2014, 10:45:06 AM8/18/14
to yad-c...@googlegroups.com
sorry, i'm not sure i understand what you mean.

if you need a progressbar field in for - no, there are no such field
type now
if you need a couple of dialogs in one window at same time -
use yad --notebook. example of this kind of dialog is in man page


В Mon, 18 Aug 2014 07:35:35 -0700 (PDT)
Rc Spam <rcs...@gmail.com> писал:

>

Rc Spam

unread,
Aug 18, 2014, 10:51:14 AM8/18/14
to yad-c...@googlegroups.com
Thank Victor for your help....

I need a window with a progress bar and pause/restart switch which have a label changing (paused/runing). 
Is it more clear ? ;) 

Rc Spam

unread,
Aug 18, 2014, 11:17:38 AM8/18/14
to yad-c...@googlegroups.com
i have a solution i think:

echo... | yad --multi-progress --bar=bar1:NORM --percentage=0 --bar=bar2:NORM .......  --button="Pause/Continue:MyCommand"  

But i suppose that impossible to change the button label after press it ?
Reply all
Reply to author
Forward
0 new messages