Patriot
Yes, I will update main post with your gap-code. But wouldn't
<text width-chars="10" height-request="80"><label>""</label></text>
be better than
<text width-chars="10" height-request="80"><input>echo ""</input></text>
..... In case you ever hit a brick wall , I think you should know these thoughts
You should not feel any of this as a pressure. - It is just for pleasure.....
I think gtkdialog could benefit of some simple fixes. I don't ask for new features, nor ask for fixing all known bugs. I will only talk about small fixes (I THINK they are small) that will give gtkdialog new kind of use.
1. <action type="closewindow"> doesn't work from other windows than itself. (The one containing this code. - Not from the window that launched the new window.) It would be very handy that the main gui could control its satellites.
2. Today gtkdialog supports drag'n drop as explained in my main post. To build drag'n drop support between <tree> widgets, they must be set to <tree hover-selection="true">. Most common, and most flexible is to use a normal selection mode. The reason why normal selection doesn't support drag'n drop is because <action signal="button-press-event"> is executed
before item is selected. If it was the other way around, drag'n drop would be possible.
3. What do we need to get a right-click-menu:
- First we need to fix the above (nr. 2).
- The <menu> widget must be loadable without a <menubar>.
- Now we could launch a new gui with a <menu> if user right-clicks.
- The launched gui must use <window decorated="false" skip_taskbar_hint="true">, but skip taskbar doesn't work.
4. Click on <table> header doesn't sort.
5. It is not easy to build a scalable gui (increase size by dragging in wm window corner, and gui still fill window). Including a notebook into the gui, makes it nearly impossible to remain scalable. If <notebook> could use another seperator than <vbox>, it would be easier to scale a gui including tabs.
6. Close gui including <menubar> from wm, doesn't kill pid. This major bug is irritating and it is hard to get an easy workaround.
7. <list selection-mode="3"> allows user to select multiple items in list, But gtkdialog doesn't output any value. Why multiple selection is included for <list>, and not <tree> is weird for me, but I promised not to ask for new features, so it's time to stop now
Take care
Sigmund