in reply to Re: Tk geometry function call
in thread Tk geometry function call

I tried this:
$Main->geometry(\?\+300,\+300\?);
However, this is what's returned to me:
search pattern not terminated at GUI.pl line 18
And when I put it in double quotes like this:
$Main->geometry("?+300,+300?");
I get this error:
bad geometry specifier "?+300,+300?" at C:/Perl/site/lib/Tk/Submethod. +pm line 37

TStanley
--------
There's an infinite number of monkeys outside who want to talk to us
about this script for Hamlet they've worked out
-- Douglas Adams/Hitchhiker's Guide to the Galaxy

Replies are listed 'Best First'.
Re: Re: Re: Tk geometry function call
by clintp (Curate) on Aug 09, 2001 at 04:18 UTC
    What are all these question marks? This is not the format for a geometry in Tk. They usually look something like these:
    $widget->geometry('640x480'); # Big as a VGA Screen $widget->geometry('+100+200'); # Slightly down to the right $widget->geometry('600x800+50+50'); # Big, out of corner
    And other variations. "perldoc Tk::Wm" for more details and options.