.
Sure it's possible, check this out:
Code: Select all
echo '<entry><variable>VAR</variable><action signal="activate">echo $VAR</action></entry>' | gtkdialog -s
Greetings!http://code.google.com/p/gtkdialog/wiki/entry wrote:The "activate" signal is emitted when the user activates the entry with the Enter key (since 0.7.21).
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]
[b][color=green]Omnia mea mecum porto.[/color][/b]
SFR.SFR wrote:Sure it's possible, check this out:Code: Select all
echo '<entry><variable>VAR</variable><action signal="activate">echo $VAR</action></entry>' | gtkdialog -s
Greetings!http://code.google.com/p/gtkdialog/wiki/entry wrote:The "activate" signal is emitted when the user activates the entry with the Enter key (since 0.7.21).
Thanks for that tip.
It's very useful because in the past, I remember having to use a "activates-default="true" to refer to another button which then had a "can-default="true" has-default="true" sequence just to get to an action for pressing "enter".
Regards,
s