From graphics-request at octave dot org Sat Jul 17 14:29:00 2004 Subject: Re: [Bulk] Octave bindings for GTK+ From: Shai Ayal To: Muthiah Annamalai Cc: graphics at octave dot org Date: Sat, 17 Jul 2004 22:24:59 +0300 Hi Muthiah This looks like a fine idea. However may I suggest that if you set about writing bindings to some graphics toolkit, it might be best to choose a toolkint which natively supports Windows and Mac. I know of at least two: fltk and wxwindows. It is hard to imagine, but there is some small minority of users who do not run Unix and X :) Shai Muthiah Annamalai wrote: > Greetings to the Octave Community. > Im planning to extend Octave with GTK+ support. > > GNU Octave, is the scientific computation tool that is > used for BLAS & Linear algebraic computations. > > Currently GNU Octave exists as a an interpreter > written in C++, with support for a language Octave > much similar to the language like Matlab. > > However it has severe limitation of not being able > to integrate a GUI framework for Octave, and remains > tied down to the simple Text UI. > > Im in looking forward to positively write a {GTK+ [or] GTK#} binding > for Octave. Please help me by suggesting the steps in > doing so. All useful pointers, code and samples are welcome. > > Adding GTK+ to octave would definitely add teeth to Octave > by giving GUI+Scientific computation together like Matlab does. > > In the view of the above idea, I would like to know how language > bindings work & how I could use the GTK+ accessible from Octave. > Octave, for the record *does not* support call by reference. > I have looked into the way Matlab does work around this. > Its costly, but it passes around the values of the *all widgets* > to all the function-callbacks registered with the system on compiletime > and uses a lot of global variables. > > I have Octave sources, GTK+2.4 & pyGTK GtkLisp binding code. > > Greetings to the GTK Community. > GNU Octave, as most you will be familiar with, > is the scientific computation tool that is > used for BLAS & Linear algebraic computations. > > Currently GNU Octave exists as a an interpreter > written in C++, with support for a language Octave > much similar to the language like Matlab. > > However it has severe limitation of not being able > to integrate a GUI framework for Octave, and remains > tied down to the simple Text UI. > > Im in looking forward to positively write a {GTK+ [or] GTK#} binding > for Octave. Please help me by suggesting the steps in > doing so. All useful pointers, code and samples are welcome. > > Adding GTK+ to octave would definitely add teeth to Octave > by giving GUI+Scientific computation together like Matlab does. > > In the view of the above idea, I would like to know how language > bindings work & how I could use the GTK+ accessible from Octave. > Octave, for the record *does not* support call by reference. > I have looked into the way Matlab does work around this. > Its costly, but it passes around the values of the *all widgets* > to all the function-callbacks registered with the system on compiletime > and uses a lot of global variables. > > I have Octave sources, GTK+2.4 & pyGTK GtkLisp binding code. > They have used 'lisp' variant 'scheme' for some 'defs'. > How does it work to connect GTK+ from a language like Octave? > Please guide me with some pointers to related data. > I have posted this mail to the GTK# list earlier & > the GTK language-bindings list. > > Thanks in Advance. > Cheers > Muthu. > > Life is beautiful. > http://cybernetics.freewebspace.com > > ------------------------------------------------- > This mail sent through IMP(http://www.nitt.edu) > >