Commit Graph

201 Commits

Author SHA1 Message Date
Matthew Flatt
546faf8b34 fix gl canvas created after parent is shown
Merge to 5.1.1
2011-04-16 13:24:58 -06:00
Matthew Flatt
49903be78f gtk: fix button enable when mouse is over button 2011-04-15 16:54:49 -06: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
71df6ddc05 gtk, cocoa: fix auto-sizing of text `message%'s 2011-04-08 14:22:17 -06:00
Matthew Flatt
b0115ee360 add 'wheel-left and 'wheel-right events 2011-04-03 09:49:56 -06:00
Matthew Flatt
d77c92d087 fix support for a string result from get-data' of clipboard-client%'
and properly report an error when the result from `get-data' is not
  allowed
 Closes PR 11821
2011-03-27 10:51:46 -06:00
Matthew Flatt
e8cb27c08c add `get-device-scale' to dc<%> 2011-03-15 07:37:42 -06:00
Matthew Flatt
051ec4736d gtk: fix slider value display 2011-03-11 02:50:06 -06:00
Matthew Flatt
cd4d3e3d95 gtk: fix dragging events
Closes PR 11786
2011-03-08 07:55:53 -06:00
Matthew Flatt
fdef90e482 fix get-column-width' method of list-box%'
by changing the name to match the docs, plus some other
  bug fixes triggered by better testing
 Closes PR 11780
2011-02-28 19:12:34 -07:00
Matthew Flatt
93e1467b8b racket/gui: scrollbar support panels 2011-02-24 13:23:51 -07:00
Matthew Flatt
137d96c089 multi-column support in list-box% 2011-02-21 13:58:57 -07:00
Matthew Flatt
97870282c2 gtk: keep popup menus on the screen
Closes PR 11414
2011-02-19 19:42:20 -07:00
Matthew Flatt
85951bf665 gtk: smoother editor-canvas resize
- call `on-size' on setting the canvas size, like Win32 and Cocoa,
   which mainly shows/hides auto-shown scrollbars more on time
   (e.g., DrRacket doesn't start with horizontal scrollbars that
   immediately disappear)
 - switch mouse tracking to "hint" mode, instead of catching every
   single mouse position
 - when queueing `on-size' methos in response to client-size changes,
   cancel and queued but undelivered calls; in the case of editor
   canvases, this doesn't really have an effect, due to the other
   `on-size' call
 Closes PR 11369, hopefully
2011-02-19 16:10:00 -07:00
Matthew Flatt
f4a881f0e3 fix `set-icon' in frame% to make mask argument optional
Merge to 5.1
2011-02-09 09:01:34 -07:00
Matthew Flatt
f21f0bdba2 gtk: fix X selection for older Gtk versions
Merge to 5.1
2011-02-09 07:41:57 -07:00
David Van Horn
c9519fd113 Fixed various spelling errors. 2011-02-03 17:42:33 -05:00
Matthew Flatt
0eed4e9462 gtk: map left-tab key to #\tab
Closes PR 11697
 Merge to 5.1
2011-02-02 06:46:03 -07:00
Matthew Flatt
2d01241f7a gtk: fix drag-and-drop URI decoding
Closes PR 11695
 Merge to 5.1
2011-02-02 06:32:51 -07:00
Matthew Flatt
7291d944c3 gtk: force display of images in button labels
Merge to 5.1
2011-02-02 06:05:03 -07:00
Matthew Flatt
45999143a4 gtk: fix float frames to not appear in WM's window list 2011-01-27 12:25:53 -07:00
Matthew Flatt
08bf77deeb gtk: list-box dclick 2011-01-27 12:26:23 -07:00
Matthew Flatt
cef9f90c27 gtk: remove debugging printf 2011-01-22 13:30:05 -07:00
Matthew Flatt
127d563bd8 gtk: fix reparent problem with parent-relative location is unchanged 2011-01-22 13:10:01 -07:00
Matthew Flatt
69859850f3 finish implementing display of menu shortcuts
that involve non-chars shortcuts and alternate prefixes
2011-01-22 10:15:14 -07:00
Matthew Flatt
b112fd76df add reparent' to subwindow<%>' 2011-01-21 20:21:21 -07:00
Matthew Flatt
e331f1bce2 gtk: fix `get-focus-window' in frame%
Closes PR 11654
2011-01-21 09:07:46 -07:00
Matthew Flatt
5bdc8a58b4 gtk: add missing keycode for Insert key
Closes PR 11412
2011-01-18 11:02:47 -07:00
Matthew Flatt
d8e123753c gtk: enable input-method (e.g., Chinese) support 2011-01-17 18:28:31 -07:00
Matthew Flatt
a9dd80110a restore doc & page checking for `post-script-dc%' et al.
and also fix up wiring of `printer-dc%' in `editor<%>' so
 that `is-a?' tests works as expected
2011-01-14 20:30:51 -07:00
Matthew Flatt
f1e13a7921 modial dialog don't disable mouse motion, enter, and leave events
Closes PR 11599

 This is an API change relative to gr1, but it seems sensible,
 and it makes enter and leave events more reliable and easier
 to implement.
2011-01-10 07:53:03 -07:00
Matthew Flatt
eaa82cc84d gtk: fix floating windows 2011-01-08 11:55:31 -07:00
Matthew Flatt
9417beb7bd gtk: get-file' and put-file' replace "*.*" filter with "*"
Closes PR 11593
2011-01-08 10:29:31 -07:00
Matthew Flatt
81cbf1ae1f add get-client-handle' to window<%>' 2011-01-05 12:15:37 -07:00
Matthew Flatt
ae5093a134 more consistent on-size' and on-move' 2011-01-05 10:00:07 -07:00
Matthew Flatt
df2351f90f adapt better to available drawing and GUI libraries on Unix variants 2011-01-02 20:18:11 -07:00
Matthew Flatt
241bb79cb0 allow a button% to have both a string and a bitmap for its label 2011-01-01 13:54:45 -07:00
Matthew Flatt
07c272df4a gtk: fix screen-bitmap depth selection and a spurious tab callback 2010-08-12 23:35:40 -04:00
Matthew Flatt
15fa34b091 gtk: tolerate absence of a minor combo_box function 2010-08-12 19:52:37 -04:00
Matthew Flatt
eddae6749d clean up handling of not-ok?', bitmap-dc%'-selected, and mutated bitmaps 2010-12-30 08:35:56 -07:00
Matthew Flatt
80e5c6cec3 clean up 2010-12-28 20:15:30 -07:00
Matthew Flatt
5ea0c93e0f gtk: combo-field% fixes
Closes PR 11569
2010-12-28 14:58:22 -07:00
Matthew Flatt
68e477fd52 implement get-focus-window' and get-edit-target-window' in back end to avoid relying on `on-focus' callback handling 2010-12-28 05:25:26 -07:00
Matthew Flatt
94e6d8f399 gtk: clipboard fix
Closes PR 11552
2010-12-22 19:40:37 -07:00
Matthew Flatt
0c4d2e332c fix transparent-canvas detection 2010-12-17 10:46:06 -07:00
Matthew Flatt
f700a15d85 specially record transparent-canvas drawing for a small number of drawing ops
which enables background-sensitive smoothing of text
2010-12-17 09:27:10 -07:00
Matthew Flatt
c9e778c541 cocoa and gtk: make combo-field% `on-popup' work better 2010-12-16 10:48:28 -07:00
Matthew Flatt
790a91e520 fix minor potential GC bugs and add some debugging support 2010-12-13 16:31:13 -07:00
Matthew Flatt
3456ee185a gtk: fix clipboard text request to return "" instead of #f
to match weird old interface
2010-12-13 10:34:59 -07:00
Matthew Flatt
08eff21117 gtk: change clipboard access to keep racket in charge
instead of letting the ... _wait_...() function drive an
 event loop;
 hopefully Closes PR 11534
2010-12-13 10:26:23 -07:00