Commit Graph

19 Commits

Author SHA1 Message Date
Matthew Flatt
55f98a15d4 racket/gui gtk: make `on-demand' for menus work better
There appears to be no way to make `on-demand' work right for the
Unity window manager's global menu bar, since there's no notificiation
when the menu bar is clicked. We approximate the correct behavior
by calling `on-demand' when a containing frame loses the keyboard
focus, which might be because the menu bar was clicked; that may be
too late (because the menu has already been shown), but it should
work most of the time.

Closes PR 13347.

Relevant to PR 13395, but DrRacket will have to change to work
around the remaining limitations of `on-demand'.
2013-01-01 15:55:36 -07:00
Matthew Flatt
ff49859c80 git: fix "&" and "_" handling in labels 2011-07-06 09:54:57 -06:00
Matthew Flatt
b4e3e065ac gtk: fix menu-bar height handling to work right with Ubuntu's patch to support out-of-frame menu bars in Unity 2011-06-20 14:46:14 -06:00
Robby Findler
df6be6e7f1 Adjust the menubar sizing code to explicitly take
into account the size of the dummy menu item that
was added.
  related to PR 11926
  related to PR 11893
  related to PR 11623
  related to PR 11917
2011-05-17 11:02:26 -05:00
Matthew Flatt
aabd5f7bd2 gtk: fix over-eager attempt at alt- menu activation
Closes PR 11843
2011-04-11 07:39:40 -06:00
Matthew Flatt
d7f1d12ea1 clean up 2010-11-05 15:54:49 -06:00
Matthew Flatt
3f28042517 gtk: fix memory management for menus 2010-11-05 15:54:41 -06:00
Matthew Flatt
c57c84721f gtk menu-bar fixes 2010-11-05 15:54:40 -06:00
Matthew Flatt
7e8a08cdd8 cocoa toolbar button and some unimplemented clean-up 2010-11-05 15:54:30 -06:00
Matthew Flatt
f21920c8e9 show gtk menu shortcuts 2010-11-05 15:54:17 -06:00
Matthew Flatt
43aeaacd7a finish pinning down gtk allocation 2010-11-05 15:54:15 -06:00
Matthew Flatt
0a9bdc11ad make platform-to-wx links weak 2010-11-05 15:54:14 -06:00
Matthew Flatt
b020c2f858 fix gtk widget size info for sizing and positioning 2010-11-05 15:54:12 -06:00
Matthew Flatt
72b671b665 eventspace shutdown 2010-11-05 15:54:12 -06:00
Matthew Flatt
e9e180847a enforce modality; more on-subwindow- callbacks; Cocoa font tweaks 2010-11-05 15:54:11 -06:00
Matthew Flatt
6ae09fca1c submenus 2010-11-05 15:54:09 -06:00
Matthew Flatt
e0bbe944aa windows fixes 2010-11-05 15:54:05 -06:00
Matthew Flatt
88f75dbc13 fix constrained-reply to use delim continuations 2010-11-05 15:54:01 -06:00
Matthew Flatt
5baba1d81a gracket2 wx re-implementation start 2010-11-05 15:53:55 -06:00