Commit Graph

258 Commits

Author SHA1 Message Date
Matthew Flatt
e78a60016f fix cross-reference 2011-04-24 07:55:32 -06:00
Asumu Takikawa
14ef89c37d Fix documentation for gui, draw, and framework.
- General cleanup/consistency (e.g. void -> void?)
  - Fix misdocumented methods (found violations via contracts)
2011-04-22 11:27:08 -04:00
Jay McCarthy
b80728f4b9 Add another useful method re: Robby 2011-04-06 11:14:25 -06:00
Matthew Flatt
b0115ee360 add 'wheel-left and 'wheel-right events 2011-04-03 09:49:56 -06:00
Matthew Flatt
68f7e9f33b doc clarifications 2011-03-29 19:53:06 -06:00
Matthew Flatt
ad922d545c document Unix lib dependencies for racket/draw' and racket/gui/base' 2011-03-28 06:23:14 -06:00
Robby Findler
288caacdfd added get-extend-start-position and get-extend-end-position
added the extend-position method
adjusted the wxme.rkt test suite so that it only prints when tests fail
2011-03-25 15:10:49 -05:00
Robby Findler
bd3a43db98 changed some nonnegative-real?'s into (and/c real? (not/c negative?))'s 2011-03-14 19:38:24 -05:00
Robby Findler
466abb9896 typo 2011-03-14 19:38:18 -05:00
Matthew Flatt
5f797b8f0b cocoa: fix put-file with extension as "" 2011-03-08 08:37:16 -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
Robby Findler
7cc3465486 clarify the style<%>'s get-delta's docs 2011-02-17 12:26:52 -06:00
Matthew Flatt
e2a0fd02ef document limitations of on-subwindow-event' and on-subwindow-char'
Merge to 5.1
2011-02-05 16:48:40 -07:00
Matthew Flatt
5eeec97878 adjust racket/gui/base' to re-export file/resource'
Merge to 5.1 along with b4ce4bb, 3375005, 18eb7c8, 3c4807f
2011-02-05 14:05:08 -07:00
Robby Findler
0fce29f552 adjust the wxme reader so that it now creates image-snip%s when it finds image-snips in file
it used to create image% objects that were simple containers for the
  data in the file; the change _should_ be backwards compatibile;
  the only know incompatibility is that the get-filename method
  now returns a path instead of bytes (this is to match the
  image-snip% class)

   closes PR 1168

   please merge to the 5.1 release branch
2011-02-02 20:26:52 -06:00
Matthew Flatt
dc2bdfcea3 `frame%' style doc corrections
to sync with gr2 changes
2011-01-28 11:14:01 -07:00
Matthew Flatt
5467f89a23 remove non-working get-font' method of control<%>'
Closes PR 9938
2011-01-28 05:55:41 -07:00
Matthew Flatt
5e3dbbc3f8 change gracket -z' to just use read-eval-print-loop'
instead of `textual-read-eval-print-loop'
2011-01-24 19:47:21 -07:00
Matthew Flatt
069a7c2b48 add current-get-interaction-input-port' and adjust racket/gui'
so that GUI events are dispatched while a REPL is blocked on input
2011-01-24 19:47:20 -07:00
Matthew Flatt
cf548f197e add eventspace-event-evt' to racket/gui/base' 2011-01-24 19:47:20 -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
128fedaceb fix `message-box' to use eventspace of parent, if any 2011-01-20 15:47:03 -07:00
Robby Findler
0f579711ac fixed the result contract of message+check-box (it was missing the second value) and then did a bunch of other minor contract tweaks to get rid of false/c and one-of/c 2011-01-20 14:08:34 -06:00
Matthew Flatt
98822cf1f9 adjust `racket/gui' and dependencies to survive a locked preference file
- adds a `#:timeout-lock-there' argument to `get-preference'
 - fixes preference looup in `racket/gui'
 - make preference names consistently use `GRacket' and consistently
   fall back on `MrEd' names
 - fix Emacs-style undo mode while we're at it
2011-01-18 17:37:33 -07:00
Matthew Flatt
183323a2c5 fix `editor<%>' printing problems
- pagination for `pastebard%'
 - always put everything on a single page for EPS mode
 - add PDF support to mirror PS support
2011-01-18 14:16:25 -07:00
Matthew Flatt
3ff7ca2d31 change `text-field%' to treat numpad Enter like normal Enter/Return
Closes PR 7890
2011-01-18 11:02:46 -07:00
Matthew Flatt
36155e913e get rid of the old barriers around GUI event dispatch
since, on further reflection, it doesn't seem needed, and a simple
 prompt seems to make everything work right
2011-01-17 09:21:50 -07:00
Matthew Flatt
7545d7d18f document the fact that event callbacks are now delimited by a prompt
using the default continuation prompt tag
2011-01-17 09:03:05 -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
9417beb7bd gtk: get-file' and put-file' replace "*.*" filter with "*"
Closes PR 11593
2011-01-08 10:29:31 -07:00
Matthew Flatt
d4e3d42d19 make `message-box' and variants work when called for a non-handler thread
This could be done to many other dialogs, but it seems especially
 worthwhile for `message-box'.
 Closes PR 11601.
2011-01-07 17:59:26 -07:00
Matthew Flatt
d6fc7da750 add refresh-now' to canvas%'
--- this method doesn't have to be built in, but it
     encapsulates a common and not-too-obvious pattern
2011-01-07 14:19:35 -07:00
Matthew Flatt
a5660f38eb document weak reference by `notify-on-change' 2011-01-07 13:02:11 -07:00
Matthew Flatt
be6ba896e0 repairs for line numbers in DrRacket 2011-01-07 11:57:50 -07:00
Matthew Flatt
4f56618c6d improve canvas-drawing docs 2011-01-06 07:43:26 -07:00
Matthew Flatt
81cbf1ae1f add get-client-handle' to window<%>' 2011-01-05 12:15:37 -07:00
Matthew Flatt
b0d95708bf fix docs on get-handle' from window<%>' 2011-01-05 08:50:21 -07:00
Matthew Flatt
b0095111d4 restore and document scrolling behavior
Closes PR 11583, and
 everts the previous fix for PR 10853 and fixes
  it in a different way
2011-01-05 07:02:00 -07:00
Asumu Takikawa
ed114c0750 Fix documentation to match editor<%>, text%, and pasteboard% changes. 2011-01-04 13:04:28 -05: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
eddae6749d clean up handling of not-ok?', bitmap-dc%'-selected, and mutated bitmaps 2010-12-30 08:35:56 -07:00
Matthew Flatt
d3fd1ba013 add `set-padding' to text% 2010-12-29 13:42:58 -07:00
Matthew Flatt
8ac21c745f add show-without-yield' to dialog%' 2010-12-28 10:52:17 -07:00
Robby Findler
7ac268e4da Rackety 2010-12-24 06:34:45 -06:00
Robby Findler
2f009ca529 changed the way equal<%> and snip% interact. Specifically:
- snip% now implements equal<%>
   its equal-to? delegates to other-equal-to?.

 - snip%'s other-equal-to and equal-hash-code and
   equal-secondary-hash-code all just amount to using eq?. The
   setup is here just to make snip% be the one that declares
   that it implements equal<%> so that various snips can adjust
   other-equal-to? (and the hash code methods)

 - image-snip% no longer implements equal<%>
   (but it extends snip% and it overrides other-equal-to?
    and the hash-code methods to do what they always did)
2010-12-24 06:34:42 -06:00
Matthew Flatt
43b96fe47c adjust racket/snip docs 2010-12-20 08:04:11 -07:00
Sam Tobin-Hochstadt
491eeaa759 Move mred/private/wxme/style to racket/snip/private/style.
`racket/snip' now exports the style classes and the add,mult-color interfaces.
2010-12-19 22:56:15 -05:00