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?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum