On Sat, Nov 15, 2008 at 7:09 PM, Eero Pajarre <[EMAIL PROTECTED]> wrote:
>
>> To be sure, you cannot create anything you want to outlive the current
>> scope with the "local" keyword since it will be GCed.
>
> It may be that one of things which led to my confusion was that
> with GUI objects you ca
On Sat, Nov 15, 2008 at 9:02 PM, John Labenski <[EMAIL PROTECTED]> wrote:
> On Sat, Nov 15, 2008 at 2:58 AM, Eero Pajarre <[EMAIL PROTECTED]> wrote:
>>
>> Just wanted to tell about my own experience, which I told on this
>> mailing list in June. wxTimers can be garbage collected even if they
>> are
On Sat, Nov 15, 2008 at 2:58 AM, Eero Pajarre <[EMAIL PROTECTED]> wrote:
>
> Just wanted to tell about my own experience, which I told on this
> mailing list in June. wxTimers can be garbage collected even if they
> are in use. So if you use timers you might want to check for that possibility.
>
C
On Wed, Jun 4, 2008 at 5:58 PM, Eero Pajarre <[EMAIL PROTECTED]> wrote:
>
> I will let you know when I find out what was the problem.
>
(I promised to tell, so here it comes)
Actually I lied earlier, but I didn't do it on purpose...
I said that I had changed my code to look like the
code from Pi
On Wed, Jun 4, 2008 at 5:58 PM, Eero Pajarre <[EMAIL PROTECTED]> wrote:
>
> I will let you know when I find out what was the problem.
>
(I promised to tell, so here it comes)
Actually I lied earlier, but I didn't do it on purpose...
I said that I had changed my code to look like the
code from Pi
On Wed, Jun 4, 2008 at 5:47 PM, John Labenski <[EMAIL PROTECTED]> wrote:
>
> I don't know how "old" your version is, but if it's more than a year
> old, the implementation is actually quite different. If I were you, I
> would upgrade it since the Lua code has changed very little, but the
> internal
On Wed, Jun 4, 2008 at 5:50 AM, Eero Pajarre <[EMAIL PROTECTED]> wrote:
> On Wed, Jun 4, 2008 at 12:29 PM, Eero Pajarre <[EMAIL PROTECTED]> wrote:
>
>>
>> I have to do some more tests, my wxLua base application is not
>> from the current wxLua distribution (instead it was originally
>> based on ver
On Wed, Jun 4, 2008 at 12:29 PM, Eero Pajarre <[EMAIL PROTECTED]> wrote:
>
> I have to do some more tests, my wxLua base application is not
> from the current wxLua distribution (instead it was originally
> based on version from long time ago, and I have updated it
> where I have noticed it necess
On Wed, Jun 4, 2008 at 11:45 AM, Piotr Strzelczyk <[EMAIL PROTECTED]> wrote:
>
>> I still don't get my Tick function called...
>> (my timer seems to be ok, it returns correct value for
>> GetInterval and IsRunning.)
>>
> Strange, I have no problems with it.
> But I'll try to ask some silly question
> I still don't get my Tick function called...
> (my timer seems to be ok, it returns correct value for
> GetInterval and IsRunning.)
>
Strange, I have no problems with it.
But I'll try to ask some silly questions which may help you:
I what part of program timer should work? All events work whe
On Wed, Jun 4, 2008 at 12:18 AM, Piotr Strzelczyk <[EMAIL PROTECTED]> wrote:
> Maybe this fragments of code will be useful for you:
>
> gstimer = wx.wxTimer(frame)
> frame:Connect(wx.wxEVT_TIMER, TimerTick)
>
> gstimer:Start(20)
>
Thanks,
Your code wasn't much different from my experiment,
and I
Hello,
> Has anybody used wxTimer in wxLua (lua-side) programming?
Yes, I've used it.
> I can create the wxTimer, but I am not sure what
> I am missing when I try to bind it to an event handler.
Maybe this fragments of code will be useful for you:
gstimer = wx.wxTimer(frame)
frame:Connect(wx.w
Has anybody used wxTimer in wxLua (lua-side) programming?
The only related example I found, was the wxluacan program,
and it seems to use timer events from the C/C++ side.
I can create the wxTimer, but I am not sure what
I am missing when I try to bind it to an event handler.
Eero
-
13 matches
Mail list logo