[Gambas-user] How to run a python program in a control on a form?

Martin McGlensey mmcg29440 at ...3163...
Tue Dec 20 02:27:04 CET 2016


Jussi,

Thanks for the suggestion. I do not think the drawingarea control will work.
All formatting and display is handled by the python routine. The output is a
continuous stream of data. Think of a sine wave displayed on an oscilloscope
or strip chart. I just need a way of positioning the python output window on
the Gambas form. Like a window where python can put its output.

Hope this helps.

Marty



------------------------------

Message: 5
Date: Tue, 20 Dec 2016 00:07:43 +0200
From: Jussi Lahtinen <jussi.lahtinen at ...626...>
Subject: Re: [Gambas-user] How to run a python program in a control on
	a	form?
To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
Message-ID:
	<CAFJMe7TuQ7oV9X=qrykiYBV+xPPCDHP9n77353UD8XRvP6CNhg at ...627...>
Content-Type: text/plain; charset=UTF-8

Is there any reason you cannot show the results in example drawingarea?


Jussi

On Mon, Dec 19, 2016 at 5:35 PM, Martin McGlensey <mmcg29440 at ...3163...>
wrote:

> Hello,
>
>
>
> I want to design a form containing the usual Gambas objects (buttons,
> listboxes etc.). The form is used to input commands to the Python routine
> that will continually output, in graphic form, the result of the Python
> program. This routine will run until modified by the user by clicking on
> the
> controls on the form. I want to integrate this "window" into the main
form.
> I do not want to open a second form to display the data. Hopefully I've
> explained this properly. Please feel free to ask questions.
>
>
>
> All responses are appreciated.
>
>
>
> Regards,
>
> Marty
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
***************************************





More information about the User mailing list