Re: Question: Making a Gtk+ application interacts with octave

2005-07-19 Thread Muthiah Annamalai
Hello! You can use this code to show a image, in a persistent way. - #! /usr/bin/octave -q % (C) July 2005, Muthiah Annamalai % % Ensure: % %matrix you pass to gtk_imshow_set() has only % elements with normalized to value [0,1]. % %size of window m

Re: Question: Making a Gtk+ application interacts with octave

2005-07-19 Thread Muthiah Annamalai
Hello everyone! & Dear Mr Martinez, I dont know if what youre looking for is, Octave-GTK+, but have a look at this site: http://octave-gtk.sf.net/ and our project. I hope my project is useful for you. For an idea see http://octave-gtk.sourceforge.net/screenshot.html Octave-GTK+ is a set of GTK+

Re: Question: Making a Gtk+ application interacts with octave (ups)

2005-07-18 Thread Alem Dain
First thing is, how exactly are you starting the GTK app from octave? Octave has a system() function, as well as fork()/exec(), just like C. Probably you will want to use the latter, since it gives you information about process ID's. 2005/7/18, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > - Not

Re: Question: Making a Gtk+ application interacts with octave

2005-07-18 Thread Tristan Van Berkom
[EMAIL PROTECTED] wrote: OK. This is the question: octave is an interpreter, I have written a little application to show an image. But a want to keep the window alive when my function gtk_imshow is finished. I'd like to work in this way with Octave, for example: gtk_imshow (x, r

Re: Question: Making a Gtk+ application interacts with octave (ups)

2005-07-18 Thread amartinez
Thank you for the response. I think I haven't been as clear as can bee in my previous mail. I'd like to do this "from Octave" (as a script or in the Octave's command shell): 0. % this is a Octave script: 1. gtk_imshow (x, r,c); 2. pause 3. gtk_imshow (x.*2, r,c); 4.

Question: Making a Gtk+ application interacts with octave

2005-07-18 Thread amartinez
Hello: This is what I want to do: I want to rewrite the imshow Octave's command. I want a Gtk+ application to show an image given by octave in this way: gtk_imshow (x, r,c);% the command shows the image x and finished % but the windows is still alive where: x

Re: Question: Making a Gtk+ application interacts with octave

2005-07-18 Thread amartinez
Thank you for the response. I think I haven't been as clear as can bee in my previous mail. I'd like to do this "from Octave" (as a script or in the Octave's command shell): 0. % this is a Octave script: 1. gtk_imshow (x, r,c); 2. pause 3. gtk_imshow (x.*2, r,c); 4. p