Posted: Tue 04 Feb 2014, 13:28 Post_subject:
Gtkdialog: Function result to disable button
Hi there! This looks like a place where I can get some help with gtkdialog.
I'm writing a GUI for a script of mine and having trouble with some flags.
I want to have fileselect send a variable with a filepath, have it run through a md5 checker and enable an install button if md5 checks out ok.
So, fileselect to variable, have a function grab the variable and run its magic, return either true or false.
If true enable button, if false disable button.
Can this be done? I've tried creating flags within gtkdialog as well as bash function, but nothing seems to work - either returning wrong value or fileselect crashes after two failed entries.
Where can I find more advanced examples, other than those in the docs and wiki?