Joined: 11 Oct 2012
Location: Mar del Plata, Argentina
|Posted: Fri 11 Jan 2013, 01:29 Post_subject:
Problems improving GUI with gtkdialog
Sub_title: Gtkdialog CD/DVD Burning Software. Seeking solutions/ideas to solve problems and/or improve the GUI.
I'm developing a CD/DVD bash burning program with "not-common" features.
I have a big progress with it, but i need some help to solve some "problems" to solve with my gtkdialog GUI.
First, a screenshot:
Expanding burn panel:
The program include a lightweight built-in browser. And it have a minimal toolbar that allows add files, folders.. etc.
(To add files/folders, i use the "fileselect function" for it's advantages on file filters etc.. )
One of my currently limitations with it, is that i can't use the "Multiple Selection" to add various files on one hand, because the widget cannot export all selected file paths.
:: If someone knows how to implement this...
or (Second way)
So, i test another way to add files (less usefull that the multiple selection), but for me it's "ok". The idea is:
Launch constantly a chooser gui when the "add file button" is pressed for the user, until he press the Cancel/Abort button. So, in this way, the user avoids to push the "add button" for every file who wants to add.
It consist on external choser dialog allowed in a file.
|<vbox space-expand="true" space-fill="true">
<chooser space-expand="true" space-fill="true">
<label>Add file to project</label>
On the main GUI, the "Add file" button, execute the next function:
until [ "$EXIT" = "Cancel" -o "$EXIT" = "Abort" ]
gtkdialog --center --file "$HOME/choser_gui.file"
Executing the current code, the program works fine only for the "Add button" (it shows the choser gui constantly for every pressed-add_button). But, when i push the "exit", it doesn't stop. So, the "exit" and "add" buttons works equal.
:: I need some help to solve this way.
If someone have a best idea how to implement this, it will be very usefull for me!
PD: Sorry for my english, i speak spanish. Long Life Gtkdialog!