From 2fa44cc20d6185c1aafdf2ecf0be67d23a7b9c21 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Mon, 12 May 2008 23:13:47 +0000 Subject: [PATCH] fix rename-in bug, and try to provide a better error message for attempting to use a run-time definition in a transformer expression svn: r9819 original commit: a932a757086ea50f335dbf93523f5d0d4dac8eff --- collects/scribblings/gui/frame-class.scrbl | 3 ++- collects/scribblings/gui/window-intf.scrbl | 8 +++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/collects/scribblings/gui/frame-class.scrbl b/collects/scribblings/gui/frame-class.scrbl index 0b58bdff..64e085e2 100644 --- a/collects/scribblings/gui/frame-class.scrbl +++ b/collects/scribblings/gui/frame-class.scrbl @@ -95,7 +95,8 @@ some platforms: shares the focus with an active non-floating frame; when this style is combined with @scheme['no-caption], then showing the frame does not cause the keyboard focus to shift to the window, and under X, - clicking the frame does not move the focus} + clicking the frame does not move the focus; under Windows, a floating + frame has no taskbar button} @item{@scheme['metal] --- draws the frame with a brushed-metal background (Mac OS X); this style is ignored when diff --git a/collects/scribblings/gui/window-intf.scrbl b/collects/scribblings/gui/window-intf.scrbl index 94f9cae8..e7ec2963 100644 --- a/collects/scribblings/gui/window-intf.scrbl +++ b/collects/scribblings/gui/window-intf.scrbl @@ -36,6 +36,11 @@ All @scheme[window<%>] classes accept the following named instantiation @index["global coordinates"]{Converts} local window coordinates to screen coordinates. +Under Mac OS X, the screen coordinates start with @math{(0, 0)} at the +upper left of the menu bar. In contrast, @xmethod[top-level-window<%> +move] considers @math{(0, 0)} to be below the menu bar. See also +@scheme[get-display-left-top-inset]. + } @defmethod[(enable [enable? any/c]) @@ -456,7 +461,8 @@ Enqueues an event to repaint the window. (integer-in -10000 10000))]{ @index["global coordinates"]{Converts} global coordinates to window -local coordinates. + local coordinates. See also @scheme[client->screen] for information + on screen coordinates. }