Home > Archive > PerlTk > April 2006 > about TKZinc pickaperture
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
about TKZinc pickaperture
|
|
| karl zero 2006-04-15, 7:00 pm |
| Hi List,
i may have misunderstood the purpose of the tkzinc pickaperture option
or it doesn't work as expected
I use it when declaring my zinc widget (as documented) and doing so, i
wish to lessen required precision when selecting icon items by dragging
the mouse over them. Wether i use value 1 or 500 doesn t seem to affect
the precision required to trigger an <enter> or <leave> event and by the
way the unit measure used by the option is not documented anywhere so i
presume it is pixels
Does someone has a working exemple of tkzinc pickaperture or at least a
positive experience with it
Also, do you know if tkzinc is still supported and if a new release is
coming out, the web site suggests the project is in frozen state for
about a year now. (nothing in the news section since July 2005)
Thank you, have a nice day
Karl
| |
| karl zero 2006-04-15, 7:00 pm |
| karl zero wrote:
> Hi List,
> i may have misunderstood the purpose of the tkzinc pickaperture option
> or it doesn't work as expected
> I use it when declaring my zinc widget (as documented) and doing so, i
> wish to lessen required precision when selecting icon items by dragging
> the mouse over them. Wether i use value 1 or 500 doesn t seem to affect
> the precision required to trigger an <enter> or <leave> event and by the
> way the unit measure used by the option is not documented anywhere so i
> presume it is pixels
> Does someone has a working exemple of tkzinc pickaperture or at least a
> positive experience with it
> Also, do you know if tkzinc is still supported and if a new release is
> coming out, the web site suggests the project is in frozen state for
> about a year now. (nothing in the news section since July 2005)
> Thank you, have a nice day
> Karl
>
I forgot to mention i am coding in a windows environment (XP)
just in case it may have some importance.
Thank you
Karl
| |
| karl zero 2006-04-15, 10:00 pm |
| karl zero wrote:
> karl zero wrote:
>
>
> I forgot to mention i am coding in a windows environment (XP)
> just in case it may have some importance.
> Thank you
> Karl
Let's resume my monologue :)
i just found out that it actually works for text and rectangle items but
for some reasons, doesn't with icon items.
I am now using a workaround based on a rectangle item with visibility
set to 0 and framing the icon item, so that my aperture option is
working for the hidden rectangle and therefore the inner icon (both are
sharing the same atomic group). Although using the aperture this way is
not really usefull anymore since it is enough to resize the rectangle to
achieve the same effect. Also the aperture doesn't reflect the actual
icon shape but instead the hidden rectangle.
If somebody know how to make it really work with icons, please let me know.
Please somebody confirms that great tkzinc project is still alive, it
would be very otherwise...
Thank you
Karl
| |
| zentara 2006-04-16, 8:01 am |
| On Sat, 15 Apr 2006 23:30:30 -0400, karl zero <karl_zero@free.net>
wrote:
>karl zero wrote:
>Let's resume my monologue :)
>i just found out that it actually works for text and rectangle items but
>for some reasons, doesn't with icon items.
>I am now using a workaround based on a rectangle item with visibility
>set to 0 and framing the icon item, so that my aperture option is
>working for the hidden rectangle and therefore the inner icon (both are
>sharing the same atomic group). Although using the aperture this way is
>not really usefull anymore since it is enough to resize the rectangle to
>achieve the same effect. Also the aperture doesn't reflect the actual
>icon shape but instead the hidden rectangle.
>If somebody know how to make it really work with icons, please let me know.
>
>Please somebody confirms that great tkzinc project is still alive, it
>would be very otherwise...
>Thank you
>Karl
Zinc is very alive. Your question is pretty specific, and probably is
only known by the Zinc experts, who don't frequent this list very often.
You should ask your question on the Zinc maillist
at http://www.tkzinc.org/
Try to include a minimal code snippet which demonstrates your problem.
--
I'm not really a human, but I play one on earth.
http://zentara.net/japh.html
| |
| zentara 2006-04-16, 8:01 am |
| On Sat, 15 Apr 2006 18:51:52 -0400, karl zero <karl_zero@free.net>
wrote:
>Also, do you know if tkzinc is still supported and if a new release is
>coming out, the web site suggests the project is in frozen state for
>about a year now. (nothing in the news section since July 2005)
>Thank you, have a nice day
>Karl
CPAN has a new 3.303 release dated April 2006. You can't
get more recent than that.
Zinc is used mainly by the Developers for Air Traffic controls systems.
You will not see alot of talk about it, except as a replacement for a Tk
Canvas.
It is still the most powerful and feature-filled Canvas out there. It is
better than Tk's canvas, and superior in features to Gtk2's
Gnome2::Canvas.
--
I'm not really a human, but I play one on earth.
http://zentara.net/japh.html
| |
| karl zero 2006-04-20, 4:00 am |
| zentara wrote:
> On Sat, 15 Apr 2006 18:51:52 -0400, karl zero <karl_zero@free.net>
> wrote:
>
>
>
>
> CPAN has a new 3.303 release dated April 2006. You can't
> get more recent than that.
>
> Zinc is used mainly by the Developers for Air Traffic controls systems.
> You will not see alot of talk about it, except as a replacement for a Tk
> Canvas.
>
> It is still the most powerful and feature-filled Canvas out there. It is
> better than Tk's canvas, and superior in features to Gtk2's
> Gnome2::Canvas.
>
>
>
>
>
Hello,
thank you for your fast reply
So their web site needs a refresh and
unfortunately it appears that release 3.303 doesn't compile on win32 as
it was reported both by cpan and activestate
(http://cpantesters.perl.org/show/tk...l#tk-zinc-3.303)
Do you know a repository that hosts a working pre-compiled 3.303 release
for win32 ?
Also do you think it is still worth using tkzinc on Windows considering
that Microsoft's next system Vista will introduce a significant slow
down to opengl applications ? what will be the real impact in term of
performance, somebody knows ?
Thx
Karl
| |
| Christophe Mertz 2006-04-20, 4:00 am |
| Hello,
I am (one of) the guy behind zinc-dev, who uploads the 3.303 release of
tkzinc on cpan.
I noticed the cpan tester report, but in fact it only reports than one
test failed after a successful complitation of tkzinc 3.303 on windows.
The bug is in fact a test bug... a pity to have a failure report...
However, tkzinc compiles proprely only with visual from microsoft and
activestate perl. As far as I know, it does not work with cygwin...
I will try to get a windows package in tghe next days... (sorry I
cannot do it myself). The 3.303 is in fact mostly a bug correction
release...
christophe
BTW if someone could explain me why I (zinc-dev) never receive
automatic notification of test report and how I could repair this, it
would be nice.
karl zero a =E9crit :
> Hello,
> thank you for your fast reply
> So their web site needs a refresh and
> unfortunately it appears that release 3.303 doesn't compile on win32 as
> it was reported both by cpan and activestate
> (http://cpantesters.perl.org/show/tk...l#tk-zinc-3.303)
> Do you know a repository that hosts a working pre-compiled 3.303 release
> for win32 ?
> Also do you think it is still worth using tkzinc on Windows considering
> that Microsoft's next system Vista will introduce a significant slow
> down to opengl applications ? what will be the real impact in term of
> performance, somebody knows ?
> Thx
> Karl
| |
| karl zero 2006-04-20, 7:01 pm |
|
Thank you for the update
et j'en profite aussi pour vous remercier de votre excellent travail!
I'm using tkzinc now for more than a year with great satisfaction, it is
simply the best among tk widgets.
I will wait for the next few days to put my hands on your win32 msi.
Thx.
Karl
Christophe Mertz wrote:
> Hello,
>
> I am (one of) the guy behind zinc-dev, who uploads the 3.303 release of
> tkzinc on cpan.
>
> I noticed the cpan tester report, but in fact it only reports than one
> test failed after a successful complitation of tkzinc 3.303 on windows.
> The bug is in fact a test bug... a pity to have a failure report...
>
> However, tkzinc compiles proprely only with visual from microsoft and
> activestate perl. As far as I know, it does not work with cygwin...
>
> I will try to get a windows package in tghe next days... (sorry I
> cannot do it myself). The 3.303 is in fact mostly a bug correction
> release...
>
> christophe
>
>
> BTW if someone could explain me why I (zinc-dev) never receive
> automatic notification of test report and how I could repair this, it
> would be nice.
>
>
>
> karl zero a écrit :
>
>
>
>
>
>
>
>
>
| |
| Christophe Mertz 2006-04-21, 8:01 am |
| Hello Karl,
nice to hear about a successfull use of TkZinc. BTW, at intuilab we
have many successful story and HMIs build above tkzinc (for those
interested in: please look at IntuiLab Gallery:
http://www.intuilab.com/presentation/en/202-demos.html)
As mentionned by Zentara, we set up both a mailing-list, a publicly
available cvs database and a bugzilla for tkzinc user. Feel free to use
them either to ask/answer questions or report bug or enhancement
desiderata. It would also be nice to get some feedback from your
experience if this is possible... A wiki is available (with a very
secret p@ssw0rd: tkzincdotorg to limit wiki hack.
|
|
|
|
|