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
Matthew Flatt
74d858ceed
gtk: fix GdkAtom type
2010-12-02 06:20:07 -07:00
Matthew Flatt
7a37b07e26
gtk: fix clipboard problems on 64-bit mode; provide more text formats
2010-12-02 06:17:40 -07:00
Matthew Flatt
82ab45b11d
gtk: fix clipboard; implement ye olde X selection
2010-12-01 20:48:23 -07:00
Matthew Flatt
04a4ad269f
cocoa & gtk: fix set-label with bitmap on message%
...
Closes PR 11462
2010-11-26 11:59:31 -07:00
Matthew Flatt
5aff70029a
centralize glib loading as used by racket/draw and Gtk racket/gui
2010-11-26 11:20:15 -07:00
Matthew Flatt
7da127227a
gtk & cocoa: frame iconize repairs
...
In the "windowing.rktl" tests, for Gtk there are still race conditions
between the program and the window manager. But for the first
time ever, all platforms can pass the "windowing.rktl" test.
2010-11-26 08:33:59 -07:00
Matthew Flatt
168a2c1591
use #x3FFFFFF instead of #x3FFFFFFF for max size of an unbounded frame
...
because sawfish is unhappy with #x3FFFFFFF
2010-11-09 16:59:01 -07:00
Matthew Flatt
23908c2372
gtk: initialize canvas backing to white
2010-11-07 07:16:12 -07:00
Matthew Flatt
e402d68efc
fix `find-graphical-system-path'
2010-11-07 07:08:33 -07:00
Matthew Flatt
39596efef5
cocoa and gtk: fix combo% `on-popup' method
2010-11-05 15:54:56 -06:00
Matthew Flatt
b9f3957a76
gtk and cocoa: add flush method to canvas% and fix periodic flush
2010-11-05 15:54:55 -06:00
Matthew Flatt
72a19d2ab3
gtk: periodic canvas flushing
2010-11-05 15:54:54 -06:00
Matthew Flatt
e033d9edf1
cocoa & gtk: fix some test failures
2010-11-05 15:54:54 -06:00
Matthew Flatt
af6cad4913
destroy windows via finalization outside of the event loop
2010-11-05 15:54:52 -06:00
Matthew Flatt
9eabda614c
no need for libgio reference
2010-11-05 15:54:52 -06:00
Matthew Flatt
6065f8cf12
avoid functions not available in Debian Stable
2010-11-05 15:54:52 -06:00
Matthew Flatt
d7f1d12ea1
clean up
2010-11-05 15:54:49 -06:00
Matthew Flatt
3abecbc95d
gtk: enable "really overwrite?" dialog for `put-file'
2010-11-05 15:54:49 -06:00
Matthew Flatt
2c77565721
gtk: swap alt and meta reporting
2010-11-05 15:54:48 -06:00
Matthew Flatt
4f2e59e7a6
some fixes prompted by the test suite
2010-11-05 15:54:48 -06:00
Matthew Flatt
ad9209f1e9
gtk: image paste
2010-11-05 15:54:44 -06:00
Matthew Flatt
56f311d204
cocoa: bitmap from clipboard
2010-11-05 15:54:43 -06:00
Matthew Flatt
42dc870c10
gtk: use system preference for font
2010-11-05 15:54:43 -06:00
Matthew Flatt
93d59f4cf5
gtk: configurable control font
2010-11-05 15:54:43 -06:00
Matthew Flatt
c4ab7733c1
gtk: on-activate and single-instance fixes
2010-11-05 15:54:42 -06:00
Matthew Flatt
045da06ace
gtk: command line and single-instance support
2010-11-05 15:54:42 -06:00
Matthew Flatt
3f28042517
gtk: fix memory management for menus
2010-11-05 15:54:41 -06:00
Matthew Flatt
16b34c236a
gtk: misc fixes
2010-11-05 15:54:41 -06:00
Matthew Flatt
27f18efa88
gtk: make gl support optional and also clean up some unneeded unimplementeds
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
4d8497b985
minor clean-up
2010-11-05 15:54:40 -06:00
Matthew Flatt
46ae5ff086
font-dialog clean up and cocoa: play-sound
2010-11-05 15:54:39 -06:00
Matthew Flatt
18c99e52a5
cocoa & gtk: color dialog
2010-11-05 15:54:39 -06:00
Matthew Flatt
77399ddaf7
remove accidental objc dependency
2010-11-05 15:54:39 -06:00
Matthew Flatt
5e1c4ae1f8
gtk: printer-dc%
2010-11-05 15:54:39 -06:00
Matthew Flatt
0433cd0337
gtk: fix gl bitmap
2010-11-05 15:54:38 -06:00
Matthew Flatt
0a47a81aba
`make-gl-bitmap' for cocoa and maybe gtk
2010-11-05 15:54:38 -06:00
Matthew Flatt
bc509c86cd
gtk: fix gl canvas painting
2010-11-05 15:54:38 -06:00
Matthew Flatt
b9e6ffe18c
win32: canvas gl, almost
2010-11-05 15:54:38 -06:00
Matthew Flatt
b2981f05b2
gtk: more gl
2010-11-05 15:54:37 -06:00
Matthew Flatt
1a2ffacbbe
gtk: first cut at gl support
2010-11-05 15:54:37 -06:00
Matthew Flatt
905594ced3
gtk: fix get-directory dialog
2010-11-05 15:54:36 -06:00
Matthew Flatt
d4f7df6eb8
win32: misc repairs
2010-11-05 15:54:36 -06:00
Matthew Flatt
b843078284
gtk: fix clipboard string content
2010-11-05 15:54:35 -06:00
Matthew Flatt
9c15da955d
gtk: fix delete key
2010-11-05 15:54:35 -06:00
Matthew Flatt
e32475fbbf
fix frame size enforcement and gtk/cocoa positioning
2010-11-05 15:54:35 -06:00
Matthew Flatt
5dd568050b
move collecting-blit helper to common code
2010-11-05 15:54:35 -06:00
Matthew Flatt
b459fcf91c
win32: canvas autoscroll
2010-11-05 15:54:34 -06:00
Matthew Flatt
682355def4
move gtk+cocoa canvas autoscroll support to common mixin
2010-11-05 15:54:34 -06:00
Matthew Flatt
912a2d5151
win32: more menus and controls
2010-11-05 15:54:32 -06:00
Matthew Flatt
1dd3c8accb
gtk: try fullscreen
2010-11-05 15:54:32 -06:00
Matthew Flatt
604afc1803
win32 widgets, mouse events, and cursors
2010-11-05 15:54:32 -06:00
Matthew Flatt
35703b49b9
win32 theme and basic canvas
2010-11-05 15:54:31 -06:00
Matthew Flatt
abf1805d42
gtk clipboard repair
2010-11-05 15:54:31 -06:00
Matthew Flatt
24b016c8d5
gtk on-drop-file
2010-11-05 15:54:31 -06:00
Matthew Flatt
23f0296cb9
clean up unused
2010-11-05 15:54:31 -06:00