For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > March 2006 > Tk place geometry mng









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 Tk place geometry mng
Walter Copenhaver

2006-03-25, 6:57 pm

I made an application using Perl::Tk and I used the $wid->place(args) for my
geometry manager.
At my desktop the application works fine, but when I ran this in my laptop,
the widget placement
is all wrong. I mean the window looks all deform and the widgets are not in
the place where they
belong. Can this be fix? Is this a resolution problem? anyone!

kenTk

2006-03-26, 7:57 am


Walter Copenhaver wrote:
> I made an application using Perl::Tk and I used the $wid->place(args) for my
> geometry manager.
> At my desktop the application works fine, but when I ran this in my laptop,
> the widget placement
> is all wrong. I mean the window looks all deform and the widgets are not in
> the place where they
> belong. Can this be fix? Is this a resolution problem? anyone!
>


What operating systems are you using on the desktop and laptop?
I use place() extensively on Linux, windoze 2k and xp and have never
seen this problem except when the font size determines the size of a
widget because its size is determined by number of characters and/or
lines.

Zentara

2006-03-26, 7:57 am

On Sat, 25 Mar 2006 12:36:07 -0800, wcopenhaver@gmail.com ("Walter
Copenhaver") wrote:

>I made an application using Perl::Tk and I used the $wid->place(args) for my
>geometry manager.
>At my desktop the application works fine, but when I ran this in my laptop,
>the widget placement
>is all wrong. I mean the window looks all deform and the widgets are not in
>the place where they
>belong. Can this be fix? Is this a resolution problem? anyone!


Can you be more specific? Like are you're versions of Tk and Perl
the same on the desktop and laptop? Programs written in the latest
Tk release, demand proper use of the - dash for options, where
the older version allows sloppy use of -. Maybe - is being interpreted
as subtraction on the laptop?

Can you post a minimal example which demonstrates this problem?

Give what operating systems you are using on each computer, what
Perl and Tk versions, etc.

Also, you could try asking this on the newsgroup comp.lang.perl.tk,
where it would reach a broader Tk audience.



--
I'm not really a human, but I play one on earth.
http://zentara.net/japh.html
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com