Matthew Flatt
e0486a7cf0
racket/gui: add warp-pointer' to
window<%>'
...
Removed the method from `canvas<%>', where it was never implemented
with the `racket/gui' reimplementation.
2013-03-19 15:53:13 -07:00
Eli Barzilay
af6be85ff5
Fix lots of indentation mistakes.
...
(Found by my ayatollah script...)
2013-03-14 10:55:47 -04:00
Matthew Flatt
dbdfd4236f
racket/snip: fix style-list%'
notify-on-change' and contracts
...
The method uses the new `impersonator-ephemeron' function to
retain a callback as long any value that it impersonates
is reachable.
2013-02-18 17:01:11 -07:00
Matthew Flatt
5c896395cd
racket/gui: fix some contracts in docs
2013-02-12 14:17:57 -07:00
Matthew Flatt
d0cfc34a77
racket/gui/base: fix menu-bar%'
get-frame' to return 'root
...
Return 'root istead of exposing the (hidden) root frame for
a menu bar that is shown when no frames are visible.
2013-02-05 11:44:38 +01:00
Matthew Flatt
660fc4d7b3
racket/gui: add doc cross-reference
2013-02-05 11:44:38 +01:00
Matthew Flatt
404e884cd5
racket/gui: doc clarifications on refreshes and edit sequences
2013-02-01 18:23:29 -08:00
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
Robby Findler
3f9e60a908
add display-changed method
2012-12-21 19:22:59 -06:00
Robby Findler
253ae42558
clarify what 'displayed' is programmatically (a call to get-admin)
2012-11-28 13:17:41 -06:00
Robby Findler
6fff8a3030
make right-clicking on non-text offer copy and cut in the
...
popup menu
Extends append-editor-operation-menu-items so that when you
pass an editor and a position, it checks to see if that spot
has a non-string% snip and, if so, copies that one position
(or cuts it, depending).
Then, use that extension in DrRacket
closes PR 12791
2012-11-22 17:33:34 -06:00
Matthew Flatt
843aa670e9
racket/gui: fix docs for `printer-dc%' and related functions
...
A page-setup dialog is now available on all platforms, which means
that no dialog will appear when a `pirinter-dc%' is created. Meanwhile,
note that `end-doc' normally shows a (different) dialog.
2012-11-18 10:31:21 -07:00
Matthew Flatt
7b04571fac
racket/gui: add `get-current-mouse-state'
2012-11-07 14:37:39 -07:00
Robby Findler
f311676096
clarify the way the undoable? flag in begin-edit-sequence works
2012-11-06 09:46:17 -06:00
Matthew Flatt
0c82f54912
racket/gui: add delete' to
choice%' and `list-control<%>'
...
Closes PR 13230
2012-11-04 08:25:43 -07:00
Asumu Takikawa
4948ca0863
Fix typo
...
Closes PR 13158
2012-11-02 18:17:38 -04:00
Robby Findler
33eba697a0
adjust the fields of the gui-event struct
2012-10-29 06:45:13 -05:00
Robby Findler
7e8ac872fe
add logging to mred's event callback mechanism to record
...
how long event processing takes
2012-10-26 21:49:44 -05:00
Matthew Flatt
afeeb56fe8
fix doc bug for `gauge%'
2012-09-27 08:12:56 -06:00
Vincent St-Amour
f1f1826bff
Move screenshot scripts to the meta collect.
2012-09-18 14:17:36 -04:00
Vincent St-Amour
a2157b86dc
Rackety and minor edits.
2012-09-18 14:17:36 -04:00
Diogo F. S. Ramos
f147871728
Add instructions on how to take screen shots
...
This instructs the adventurer on how to take screen shots using the
same look and feel used to take the ones that can be found at
`collects/scribblings/gui/image'.
There are also two scripts that might help automate this process.
2012-09-18 14:17:36 -04:00
Diogo F. S. Ramos
54ab1bfbfa
Add a Widget Gallery to Racket GUI documentation
...
It's very helpful to have a visual aid when dealing with a graphical
interface toolkit.
This patch adds an overview of the widgets available in the library
consisting of screen shots of the main ones and the snippets used to
produce them.
Each widget image link back to the full documentation.
2012-09-18 14:17:36 -04:00
Matthew Flatt
ff35e7c95b
racket/gui: fix docs on reparenting (which is now possible)
...
Closes PR 13108
2012-09-13 14:17:14 -06:00
Asumu Takikawa
7d20e0cbe2
Fix docs for radio-box%
...
Closes PR 13005
2012-08-18 00:23:16 -04:00
Matthew Flatt
7df91a6148
racket/gui: clarify graphical min size in docs for `text-field%'
...
Closes PR 12959
2012-08-01 09:34:12 -06:00
Asumu Takikawa
e0e5f7dd28
Fix GUI doc typo reported by Kieron Hardy
...
Closes PR 12830
Merge to v5.3
2012-07-23 12:53:33 -04:00
Eli Barzilay
18883681a2
Convert all uses of (integer-in 0 255) to `byte?'.
2012-07-22 13:00:05 -04:00
Robby Findler
119d1ff9d3
fix the append-editor-font-menu-items and
...
append-editor-operation-menu-items docs
closes PR 12878
2012-07-02 18:59:38 -05:00
Matthew Flatt
a8a0835fc1
fix doc typo
2012-06-25 23:29:25 -06:00
Rodolfo Henrique Carvalho
1b5069f47a
Fix minor typo
2012-06-09 09:20:55 -04:00
Matthew Flatt
e8d7b8696e
doc fix
...
Closes PR 12772
2012-05-15 20:13:12 -06:00
Matthew Flatt
b30374824a
racket/draw: add #:eventspace' argument to
open-output-text-editor'
...
The argument is `(curent-eventspace)' by default, which makes ports
work better with threads.
Closes PR 12749
2012-05-05 10:32:05 -06:00
Matthew Flatt
48f7ddafe4
racket/gui: fix some concurrency problems `text%'
...
Changed `open-output-text-editor' to put its additions into
an edit sequence to better work with threads.
Fixed problems in editor-canvas refresh and resize events, where
the editor's refresh synchronization wasn't used properly.
Fixed race conditions in the the protocol that is used to separate
refreshes and edit sequences.
Related to PR 12749
2012-05-05 10:32:05 -06:00
Matthew Flatt
fc7f6bbe0f
racket/gui: add a 'no-icon style for `message-box'
2012-04-25 19:32:58 -06:00
Matthew Flatt
2bdcdbb197
racket/draw, racket/gui: modernize contracts, mostly in documentation
...
Use `or/c' instead of `one-of/c', `#f' instead of `false/c'.
2012-04-06 18:51:10 -06:00
Asumu Takikawa
0f5f611f12
Fix docs for get-selected-text-color
method.
2012-03-31 00:43:43 -04:00
Robby Findler
92e8740105
add the #:validate argument to get-text-from-user
2012-03-30 16:42:34 -05:00
Robby Findler
fffafbab18
edit wxme docs to clarify the text-only? argument passed to read-snip
2012-02-26 21:43:44 -06:00
Matthew Flatt
eb032c2fef
improvements to the bitmap docs
2012-02-23 07:12:22 -06:00
Robby Findler
1945ff2709
add make-platform-bitmap
...
also: use it in pict's rendering and
remove redex's platform-specific font choice
(going back to using 'modern on all platforms)
closes PR 12554
2012-02-21 16:19:45 -06:00
Robby Findler
f2d244cb1f
clarify auto scrollbars & on-event interaction (ie, they don't interact)
2012-02-12 20:24:17 -06:00
Matthew Flatt
9389947f6f
clarify docs on is-enabled?' and
is-shown?'
2012-01-07 21:17:12 -07:00
Matthew Flatt
fd019a3478
add on-subwindow-focus' to
window<%>'
...
relevant to PR 12474
2012-01-07 21:17:12 -07:00
Matthew Flatt
f93c94f6ff
add 'shift, 'control, 'rshift, and 'rcontrol events
2011-12-08 15:05:41 -07:00
Sam Tobin-Hochstadt
04b8962542
Fix doc mistake.
...
Close PR 9508.
2011-12-01 16:54:52 -05:00
Matthew Flatt
0f6c267798
add #:fail argument to with-gl-context' in
canvas%'
2011-11-03 17:42:36 -06:00
Matthew Flatt
718229387c
fix cocoa `get-clipboard-string' to never return #f; fix docs
...
Merge to 5.2
2011-10-18 06:35:38 -06:00
Matthew Flatt
8f0fa96d69
docs and release notes for `set-icon' change
...
Merge to 5.2
2011-10-09 09:45:42 -06:00
Matthew Flatt
ed38297c97
editor<%> doc fixes
2011-10-08 09:12:31 -06:00