Commit Graph

61 Commits

Author SHA1 Message Date
Stephen De Gabrielle
0e99b1f286 correct small typo in 'Animation in Canvases' (#40)
flushing to the screen can be starved if flushing is frequently suspend.
changed to
flushing to the screen can be starved if flushing is frequently suspended.
2016-08-19 07:37:35 -05:00
Leif Andersen
68dcd1156d Updated docs to point to gui-interactive.rkt 2016-07-30 13:38:47 -04:00
Robby Findler
18404570dd improve support for editing the ascii art (unicode) #2d rectangles
specifically, add a mode that avoids breaking the edges of
the rectangle when you type and add a keystroke for adding
a new in the existing row
2016-07-30 04:55:01 -05:00
Leif Andersen
ef78d330b6 Move docs for racket/gui/init and racket/gui/interactive
Previously they were part of the base repo.
2016-07-26 09:41:58 -04:00
Robby Findler
ed5f0ae09b clarify chaining precedence rules 2016-07-23 03:00:00 -05:00
Robby Findler
6941a07998 fix the "Show Active Keybindings" menu item
for the case where one keybinding's keys is a prefix of anothers (and the keymaps are chained)
2016-07-21 22:13:55 -05:00
Robby Findler
af33c70558 dont use get-keyword-type as the parameter name 2016-06-28 10:12:26 -05:00
Dan Feltey
d9dbfb01fd Fix racket:text-mixin docs to include required editor:keymap<%> interface (#34) 2016-06-20 22:32:15 -05:00
Robby Findler
7c857706d7 added an optional argument to compute-racket-amount-to-indent 2016-06-05 08:41:10 -05:00
Stephen De Gabrielle
7794ace98d Typo line 874 changed 'if' to 'of' 2016-05-27 15:40:07 -05:00
Matthew Flatt
399cfe9c5b add 'hide-hscroll and 'hide-vscroll for panel% 2016-05-18 15:30:33 -06:00
Asumu Takikawa
50fb0e9a93 Minor wording fix in highlight-range docs 2016-05-11 15:34:04 -04:00
Robby Findler
fc5c233cdd minor edit to undo docs 2016-04-20 13:11:18 -05:00
Matthew Flatt
30c8202656 fix focus for windows within a floating frame
Make the `focus` method shift focus to a floating frame. Also, shift
focus away from the floating frame when `focus` is used in an window
within the current main frame.
2016-03-28 17:25:22 -06:00
Matthew Flatt
282a22b8f0 add any-control+alt-is-altgr
Thanks to Bert De Ketelaere for helping to sort out this new
behavior.
2016-03-17 16:39:40 -06:00
Matthew Flatt
3ae70e6617 fix doc typos 2016-03-15 18:44:41 -06:00
Asumu Takikawa
6b9cd9fa9c Fix docs for get-search-hit-count to match code 2016-03-02 03:54:18 -05:00
Matthew Flatt
d28ab71058 fix -singleInstance for GTK+3
Closes PR 15240
2016-02-05 10:40:04 -07:00
Matthew Flatt
edc56ee8de Windows: change play-sound to use MCI
Provided by Eli Barzilay.

This approach is better than a separate process, because creating
too many processes can overwhelm the OS. Also, MCI supports more
sound formats.
2016-01-04 17:41:53 -07:00
Lehi Toskin
89007ae039 Fix typo, clarify get-file filter 2016-01-01 12:37:37 -06:00
Matthew Flatt
bf442a8c99 refine docs on play-sound 2015-12-28 09:42:23 -06:00
Robby Findler
fc61b26e04 fix snip test example setup 2015-12-27 08:26:03 -06:00
Matthew Flatt
65fc1c4e8f put-file: clarify filter and extension handling on Windows 2015-12-22 10:58:52 -07:00
Robby Findler
3af5db35be fix bugs in support and docs for the snip flag HANDLES-BETWEEN-EVENTS
(the previous commit was pushed too soon; it is completely broken. Apologies)
2015-12-17 22:24:59 -06:00
Robby Findler
759d89443f add support and docs for the snip flag HANDLES-BETWEEN-EVENTS 2015-12-17 16:18:46 -06:00
Robby Findler
23f22a8bcf extend the example snip with wxme support
and add some tests for the example
2015-12-17 10:33:36 -06:00
Robby Findler
6fd5459211 fix add-splash-icon contract 2015-12-15 17:41:09 -06:00
Robby Findler
6e97d0bc9d correct docs 2015-12-14 06:58:49 -06:00
Robby Findler
be9cd36922 added editor:font-size-message% 2015-11-27 10:41:57 -06:00
Robby Findler
fe77bb34d4 more on scroll-by-copy
make it per-editor customizable, add callbacks, and use
them to make the special first line mixin work properly
when it is enabled
2015-11-26 13:11:47 -06:00
Leif Andersen
16bf6cf55d Swap get-end-position and get-start-position 2015-10-30 19:17:47 -05:00
Vincent St-Amour
8bfd1bb25e Add missing history annotations.
Please merge to 6.3.
2015-10-12 14:16:16 -05:00
Matthew Flatt
cdc992ccb9 fix problems and consistency with fullscreen in frame%
The `fullscreen` method implied `show` on Mac OS X and Windows, but
not on Gtk, and a frae shown that was was not properly registered
as shown (e.g., the application could exit). For consistency, adjust
`fullscreen` to not imply `show`. Also, shift to a remaining frame
on Mac OS X when a fullscreen frame is closed.
2015-10-04 14:19:00 -06:00
Robby Findler
fc0e6a2ce4 correct contract 2015-08-29 08:12:54 -05:00
Matthew Flatt
20c11cb603 fix doc typo 2015-08-27 17:24:17 -06:00
Vincent St-Amour
115fe633a8 Fix docs to use new names. 2015-08-18 16:41:25 -05:00
Vincent St-Amour
75aed14d55 Move framework/notify docs from unstable docs. 2015-08-18 16:41:25 -05:00
Matthew Flatt
c6bbe7cacd fix doc typo 2015-08-18 15:21:06 -06:00
Matthew Flatt
d1736765b6 add get-gl-client-size to canvas%
GL scaling in a canvas depends on a combination of the `gl-config%`
setting and the platform, so `get-gl-client-size` takes into account
both.
2015-08-18 15:10:02 -06:00
Matthew Flatt
018dbd6add fix get-unscaled-client-size docs and Win32/GTK implementations
Fix `get-unscaled-client-size` for Win32 and GTK scaling, and make the
docs more generally sensible.
2015-08-18 15:10:02 -06:00
Matthew Flatt
6184a0d5c9 clarify PLT_DISPLAY_BACKING_SCALE interaction with GTK+ 2/3 2015-08-17 06:05:58 -06:00
Matthew Flatt
f42356da3f Support and prefer GTK+ 3 on Unix/X
The main advantage of GTK+ 3 is better support for HiDPI
displays. If GTK+ 3 libraries are not available or if the
`PLT_GTK2` environment variable is defined, GTK+ 2 is used
as before.
2015-08-16 20:55:35 -06:00
Matthew Flatt
54de09f30e add PLT_DISPLAY_BACKING_SCALE
Also, fix conversion of @2x bitmaps to pixbufs at 2.0 scale.
2015-08-03 20:44:29 -06:00
Matthew Flatt
5b7bf69a13 HiDPI support on Unix (Gtk2)
Support GUI scaling in much the same way as on Windows, where
the OS setting ("org.gnome.desktop.interface.scaling-factor"
times "...text-scaling-factor") determines the scale that is
used for both graphics and GUI sizing.

As I understand it, a complete solution requires porting to
Gtk3. With Gtk2, the graphical part of a widget doesn't scale.
Text and image labels should scale correctly, though.
2015-08-01 18:06:12 -06:00
Robby Findler
c9862f17c9 fix typos 2015-06-04 08:51:35 -05:00
Jay McCarthy
6fa420d947 add get-scaled-client-size 2015-05-20 12:59:51 -04:00
Matthew Flatt
030a02a53c add {get,set}-area-selctable to pasetboard% 2015-05-16 09:05:22 -06:00
Robby Findler
d1e3a991cd disable overwrite mode when the overwrite keybindings are disabled 2015-05-12 09:02:53 -05:00
Robby Findler
ab998c9f53 add all-string-snips<%> and all-string-snips-mixin
This is pulled out of DrRacket, mostly just to be able to add test cases
2015-05-09 11:17:54 -05:00
Matthew Flatt
f9870b0a4f clarify fullscreen requirements for Mac OS X 2015-05-01 12:41:09 -06:00