The script has been made as general as possible.
The script first creats a file in /root.
Then the Yes-No box appears and asks if you want to overwrite the file
with different text. 'Yes' results in overwriting of the file and the
window closes. You can check to see if the file has been overwritten.

When the user clicks 'No' an alternate action is possible.
It is of course possible to have the 'No' button have one action

EDIT: I changed the script from using an if statement to a case statement.
This clearly shows that three posibilities are possible

Hi everyone,
I play a little thing about gtkdialog.
finally, I make a 'Limukstart'. with gtktheme wdz8.1 from here:
http://murga-linux.com/puppy/viewtopic.php?p=671393#671393
my startmenu tobe like this:
but i still have a problem. I can't use mouse scroll to scroll horizontally with gtkdialog unless my pointer over the hscrollbar. Is possible to scroll horizontal with mouse? How?
Thanks

@Recobayu
I think there's a reason why it works this way - if you would had both horizontal AND vertical scrollbars at the same time, they would be scrolled simultaneously.
But horizontal scrolling works fine when I use touchpad ('Horizontal Edge Scroll' enabled).

@Zigbert
Is this what you mean? (see screenshot)
If so, leaving the default "value-changed" signal makes the given action executed properly while moving slider: