Notebook,tabs with own buttons

192 views
Skip to first unread message

giles holt

unread,
Apr 29, 2017, 12:56:04 PM4/29/17
to yad-common
Hi,

Using notebook and tabs, is it possible for each tab to have its own set of buttons?

If so could you help me sort how to do this? really stuck

Many thanks,

Giles

serge gabellon

unread,
Apr 30, 2017, 6:48:48 AM4/30/17
to yad-common
Bonjour.
with --form
id=$(echo $[($RANDOM % ($[10000 - 32000] + 1)) + 10000] )
echo
"$id"
yad
--plug="$id" --tabnum=1 --form \
--field="test:FBTN" "eom"  \
--field="test:BTN" "eom"&> /tmp/data1 &
yad
--plug="$id" --tabnum=2 --form --columns="3" \
--field="test:FBTN" "eom" \
--field="test:BTN" "eom" \
--field="test:FBTN" "eom" &> /tmp/data2 &
yad
--notebook --key="$id" --center --tab="tab1" --tab="tab 2"
case $? in
   
0)
   
exit;;
   
1)
   
exit;;
   
70)
   
exit;;
   
252)
   
exit;;
esac
Message has been deleted

giles holt

unread,
Apr 30, 2017, 7:16:45 AM4/30/17
to yad-common
Works Perfectly, thank you. I spent ages trying to sort this and I could only get --list to work with it. Your answer worked first time, after looking through your answer I realised where I had gone wrong :( I had put in all the --buttons rather than using --column, thank you again for your help
Reply all
Reply to author
Forward
0 new messages