> On Wed, Jul 7, 2010 at 1:37 PM, raghvendra misra wrote:
> > Hi all,
> > The values entered in combo box is defined by <value> in the xml files.
> > However i have a requirement in which the values are not fixed and
> > changes depending on certain conditions. So i cannot use xml files to
> > enter these values.
> >
> > Is there a way by which i can enter the values in combo box through
> > source file(fg_command.cxx) instead from the xml?
>
On Wed, Jul 7, 2010 at 8:25 AM, Csaba Halász wrote:
> The xml is loaded into the property tree, and the dialog is
> instantiated from there.
> You can use any means to set up the property nodes, including c++ code
> or nasal script.
>
I believe you can also create dialog boxes directly from a Nasal script.
It's been a while and I don't recall the details, but I wouldn't be
surprised if perhaps the bo105 would have some examples of this?
Curt.
--
Curtis Olson: http://baron.flightgear.org/~curt/
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel