tinywidgets: Thread: Re: How to display a clock with tnw2k?]


[<<] [<] Page 1 of 1 [>] [>>]
Subject: [Fwd: Re: [tinywidgets] How to display a clock with tnw2k?]
From: Roberto ####@####.####
Date: 5 Dec 2007 20:03:08 +0000
Message-Id: <475703D5.6040407@tnw2000.org>



Hello Daniel,

Theres a TNWClock example in TNW++

Regards

Robert

Daniel Nyström wrote:

>I can't figure out how to make a clock ticking on the display while
>using tnw2k.
>There seems to be a timer event for the RAW widget type, but I can't
>find any documentation how to access it.
>
>Any ideas?
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: ####@####.####
>For additional commands, e-mail: ####@####.####
>
>
>  
>


Subject: Re: [Fwd: Re: [tinywidgets] How to display a clock with tnw2k?]
From: Daniel ####@####.####
Date: 6 Dec 2007 08:28:33 +0000
Message-Id: <4757B2AC.3060805@displayonline.se>

Thanks, but I need to use plain C, and the timer seems only implemented
within TNW++.
On the frontpage of tnw2000.org it looks like tnw++ is built totaly upon
tnw2000, but as I see it tnw++ has its own "base" with it's own event
handler and stuff.

Why not let tnw2000 handle that part, and make tnw++ just a wrapper?

Roberto wrote:
> Hello Daniel,
>
> Theres a TNWClock example in TNW++
>
> Regards
>
> Robert
>
> Daniel Nyström wrote:
>
>> I can't figure out how to make a clock ticking on the display while
>> using tnw2k.
>> There seems to be a timer event for the RAW widget type, but I can't
>> find any documentation how to access it.
>>
>> Any ideas?
>>
Subject: Re: [Fwd: Re: [tinywidgets] How to display a clock with tnw2k?]
From: Roberto ####@####.####
Date: 6 Dec 2007 20:48:20 +0000
Message-Id: <4758600E.8050300@tnw2000.org>

Hi Daniel,

if you need plain C, it will be the only chance to implement a timer 
function
in tnw2000, or in your application. But you can investigate the TNW++ code
to see how it is handled there. A tnw2000 function is a good solution, too.

Regards

Robert

Daniel Nyström wrote:

>Thanks, but I need to use plain C, and the timer seems only implemented
>within TNW++.
>On the frontpage of tnw2000.org it looks like tnw++ is built totaly upon
>tnw2000, but as I see it tnw++ has its own "base" with it's own event
>handler and stuff.
>
>Why not let tnw2000 handle that part, and make tnw++ just a wrapper?
>
>Roberto wrote:
>  
>
>>Hello Daniel,
>>
>>Theres a TNWClock example in TNW++
>>
>>Regards
>>
>>Robert
>>
>>Daniel Nyström wrote:
>>
>>    
>>
>>>I can't figure out how to make a clock ticking on the display while
>>>using tnw2k.
>>>There seems to be a timer event for the RAW widget type, but I can't
>>>find any documentation how to access it.
>>>
>>>Any ideas?
>>>
>>>      
>>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: ####@####.####
>For additional commands, e-mail: ####@####.####
>
>
>  
>

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.