frogstarr78 / gtkdialog

Automatically exported from code.google.com/p/gtkdialog
GNU General Public License v2.0
0 stars 0 forks source link

variable in edit display #72

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
In the script ( attached ), I am trying to take user input that accepts 
multiple options from tree (RLAYER) and display in <edit> (EDITOR) before 
looping it ( in start button ) 

Question is ( if this is the right place as i did not find this anywhere else)

How is it possible to display (variable and not file ) text in edit such that
EDITOR='you have selected'$RLAYER ( this comes from tree )

Original issue reported on code.google.com by singhai....@gmail.com on 18 Jan 2014 at 1:23

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Why you not use 
<hseparator></hseparator>
    <vbox>
                <text use-markup="True">
            <label>"'$"you have selected"'"</label>
            <input> $RLAYER</input>             
            <variable>DISPLAY1</variable>
        </text>
    </vbox>
instead of 
<hbox>
      <edit>
            <variable>EDITOR</variable>
            <width>300</width><height>200</height>
            <default>'"DISPLAY"'</default>
       </edit>
</hbox>
?

Regards
Daniel

Original comment by MeissS...@gmail.com on 25 Jan 2014 at 12:20