[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Resizing and moving a window?



Is there a way to resize and move a window at the same time? Right now,
I am using this function, but it doesn't work very well, since it moves,
then resizes:

sub _setrect ($$) {
  my ($win, $nr) = @_;

  MoveWindow $win, $nr->left, $nr->top, 0;
  SizeWindow $win, $nr->right - $nr->left, $nr->bottom - $nr->top;
}

-- 
  Kevin Reid.      |         Macintosh.
   "I'm me."       |      Think different.

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch