Re: [Vala] Vala in Python - Some progress and a question
- From: Donn <donn ingle gmail com>
- To: vala-list gnome org
- Subject: Re: [Vala] Vala in Python - Some progress and a question
- Date: Sat, 20 Apr 2013 13:40:13 +0200
A follow-up.
Progress
--------
In the python file (test.py) I got the idea to explicitly call the new()
method of the RedSquare object. I saw it when I did a dir() in Python.
(I first got the idea when I saw how a Clutter.Color was instanced -
with Clutter.Color.new() - in Python, this is deeply weird.)
New Python line 22
rs = Palelib.RedSquare.new()
Then restore the this.canvas.invalidate() call in the vala code under
boo(), build it - and the red square appears!
Nice. Odd, but nice.
Question
--------
Why are the various stdout.printf calls not working straight away? When
the app is closed they all print - as if they were stored in some
off-screen buffer someplace.
\d
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]