Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

text errors on #:color keyword #6

Closed
DarrenN opened this issue Oct 24, 2021 · 3 comments
Closed

text errors on #:color keyword #6

DarrenN opened this issue Oct 24, 2021 · 3 comments

Comments

@DarrenN
Copy link

DarrenN commented Oct 24, 2021

Noticed this when trying to set #:color on a text component.

This is from the examples folder:

% racket text-color.rkt                                                                                     
send: no such method
  method name: set-color
  class name: message%
  context...:
   /Applications/Racket v8.2/collects/racket/private/class-internal.rkt:4680:0: obj-error
   /Users/kyushu/Library/Racket/8.2/pkgs/gui-easy-lib/gui/easy/private/view/text.rkt:20:4: create method in text%
   /Users/kyushu/Library/Racket/8.2/pkgs/gui-easy-lib/gui/easy/private/view/window.rkt:38:4: create method in window-like%
   .../private/arrow-higher-order.rkt:379:33
   /Users/kyushu/Library/Racket/8.2/pkgs/gui-easy-lib/gui/easy/private/renderer.rkt:34:4: render method in renderer%
   /Users/kyushu/Library/Racket/8.2/pkgs/gui-easy-lib/gui/easy/private/renderer.rkt:55:0: render
   /Applications/Racket v8.2/collects/racket/contract/private/arrow-val-first.rkt:489:18
   body of "/Users/kyushu/github/racket-gui-easy/examples/text-color.rkt"
@DarrenN
Copy link
Author

DarrenN commented Oct 24, 2021

Looks like message% doesn't have a set-color method

@Bogdanp
Copy link
Owner

Bogdanp commented Oct 24, 2021

That functionality depends on racket/gui#238 so if you upgrade gui-lib, it should work.

@Bogdanp
Copy link
Owner

Bogdanp commented Nov 9, 2021

I'm going to close this now that Racket 8.3 has been released, but let me know if you run into any other problems!

@Bogdanp Bogdanp closed this as completed Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants