Commit Graph

325 Commits

Author SHA1 Message Date
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
Matthew Flatt
379991c5bb fix text% `get-paragraph-{start,end}-position' bug and doc bugs
Merge to 5.2
2011-10-08 09:12:30 -06:00
Robby Findler
b52086ecae clarify the use-file-text-mode method. 2011-09-30 17:08:18 -05:00
Robby Findler
a4336c3997 docs for new read-snip-from-port function in the wxme library 2011-09-13 20:46:04 -05:00
Robby Findler
1ec5aee4a4 add a better link from the snip class docs to the relevant section of the
wxme library
2011-09-12 10:49:13 -05:00
Matthew Flatt
735ca7f3c3 racket/gui: add `application-start-empty-handler' 2011-09-09 17:03:18 -06:00
Matthew Flatt
ce4705cedc get-diplay-size' and get-display-left-top-inset' use #f for failure
Since the number of monitors can change at any time, reliable
use of these functions requires handling failure in some way.
Handling #f results is easier (and less likely to mask other
problems) than catching exceptions.
2011-09-09 17:03:17 -06:00
Robby Findler
57c59d2ed7 add yet another dialog-mixin argument to a standard dialog, this time
get-text-from-user

also, some minor rackety to that function/file
2011-09-05 20:19:16 -05:00
Robby Findler
9253707621 added a #:dialog-mixin argument to message-box and related functions
Also minor rackety (just enough to get keyword arguments)
2011-09-05 08:30:45 -05:00
Robby Findler
415868f914 added a #:dialog-mixin argument to get-file, put-file, get-file-list, and get-directory
Also, Rackety
2011-09-05 08:30:44 -05:00