From help-request at octave dot org Sun Aug 14 09:39:25 2005 Subject: Re: Help me! Octave-FLTK. From: "Robert A. Macy" To: Shai Ayal , Muthiah Annamalai Cc: help at octave dot org Date: Sun, 14 Aug 2005 07:33:51 -0700 Shai: Thank you. Now I see two applications for FLTK. Muthu: Shai's excellent suggestion for a sample menu of plotting parameters sounds good. Especially matching what is being plotted to the menu selections, containing all the pesky options to enhance the plot, but remind us of all the ones we always forget how to ask for. My suggestion, could be complex setup for calling a script. For example, I have a several scripts, instead of functions, that change a variable here and there to watch for the effect. I see that the FLTK would be like "script at a glance" where I could change a parameter, or leave it the previous value, before running a script. Seems very useful enhancement to octave. Second example, select all the variables to save in a file. Again, I save something like 13 to 15 variables with unrelated names so it is difficult to write a script to save them all. It would be handy to have a menu that remembers all the ones I had saved before, ask if I wish to change any, then save the file. My examples, can all be worked around, but I see the possibility for enhanced performance using the FLTK. - Robert - On Sun, 14 Aug 2005 10:20:29 +0300 Shai Ayal wrote: > Robert: > > What muthu is doing is basically exposing FLTK's > interface to octave, so you can use FLTK from within > octave. So you could bring up windows, buttons dialog > boxes etc.. from octave. Note that the interface is not > standard -- you would have to learn FLTK in order to use > it. > > Muthu: > I think users really want to see an example of generating > buttons and linking them to octave functions -- I think > you had something like this for octave-gtk: > > How about a dialog box where you can change the params of > a functions you plot > > Shai > > > Robert A. Macy wrote: > > from their URL > > http://www.fltk.org > > > > * * * * * start of quote * * * * * > > FLTK (pronounced "fulltick") is a cross-platform C++ > GUI > > toolkit for UNIX®/Linux® (X11), Microsoft® Windows®, > and > > MacOS® X. FLTK provides modern GUI functionality > without > > the bloat and supports 3D graphics via OpenGL® and its > > built-in GLUT emulation. > > > > FLTK is designed to be small and modular enough to be > > statically linked, but works fine as a shared library. > FLTK > > also includes an excellent UI builder called FLUID that > can > > be used to create applications in minutes. > > > > FLTK is provided under the terms of the GNU Library > Public > > License, Version 2 with exceptions that allow for > static > > linking. > > * * * * end of quote * * * * > > > > Are you planning on using this for 3d graphic > interface? > > > > - Robert - > > > > On Fri, 12 Aug 2005 22:00:54 -0700 (PDT) > > Muthiah Annamalai wrote: > > > >>Hello Robert, > >> > >>FLTK is a platform independent GUI toolkit. > >>Read up at www.fltk.org. > >> > >>Now what Im doing is trying to make this toolkit > >>available for programming from Octave, so that > >>you could make GUI's straight from Octave. > >> > >>This is *NOT* handle graphics. This is programming > >>FLTK from Octave. > >> > >>Please see: http://octave-gtk.sf.net/octave-fltk/ > >> > >>Hope that fixes most of your problems.. > >> > >>Cheers > >>Muthu > > > > > > > > > > > ------------------------------------------------------------- > > Octave is freely available under the terms of the GNU > GPL. > > > > Octave's home on the web: http://www.octave.org > > How to fund new projects: > http://www.octave.org/funding.html > > Subscription information: > http://www.octave.org/archive.html > > > ------------------------------------------------------------- > > > > > > -- > Shai Ayal, Ph.D. > Head of Research > BioControl Medical BCM > 3 Geron St. > Yehud 56100 > ISRAEL > Tel: + 972 3 6322 126 ext 223 > Fax: + 972 3 6322 125 > email: shaia at biocontrol dot co dot il > > > > ------------------------------------------------------------- > Octave is freely available under the terms of the GNU > GPL. > > Octave's home on the web: http://www.octave.org > How to fund new projects: > http://www.octave.org/funding.html > Subscription information: > http://www.octave.org/archive.html > ------------------------------------------------------------- > ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------