Kratacoa_ has quit [Ping timeout: 255 seconds]
Tuplanolla has joined #racket
morte has joined #racket
morte has quit [Ping timeout: 272 seconds]
Tuplanolla has quit [Quit: Leaving.]
szkl has quit [Quit: Connection closed for inactivity]
thegeekinside has quit [Read error: Connection reset by peer]
Mooncairn has quit [Quit: Leaving]
skapate has quit [Remote host closed the connection]
notzmv has quit [Ping timeout: 260 seconds]
runrin has joined #racket
Tuplanolla has joined #racket
notzmv has joined #racket
Kratacoa has joined #racket
notzmv has quit [Ping timeout: 240 seconds]
a51 has quit [Ping timeout: 256 seconds]
skapata has joined #racket
zeroalef has joined #racket
<
zeroalef>
can anybody halp me to understand how to override callback for the `frame%` class from `racket/gui`?
<
zeroalef>
I need to override `on-close` method, but don't understand how it done
<
zeroalef>
it's error:
<
zeroalef>
`class*: superclass method for override, overment, inherit/super, or rename-super is not overrideable`
<
bremner>
I wonder if super-new should be last?
<
bremner>
nope, that doesn't make a difference
<
bremner>
zeroalef: dpm
<
zeroalef>
what is dpm?
<
bremner>
don't you have to specify which class it inherits from? Otherwise how does it now about graphics
<
bremner>
dpm was a typo
<
bremner>
but thinking more. maybe you need to define a new class that inherits from from frame%?
<
zeroalef>
I did it
<
zeroalef>
I think i did it inherit
<
bremner>
oh right, sorry I misunderstood the racket way of doing classes
<
zeroalef>
thx for help
<
bremner>
sure, sorry I don't know much about classes in racket
skapate has joined #racket
skapata has quit [Ping timeout: 255 seconds]
zeroalef has quit [Ping timeout: 255 seconds]
Kratacoa has quit [Ping timeout: 264 seconds]
Kratacoa has joined #racket
macabro has joined #racket
notzmv has joined #racket
morte has joined #racket
macabro has quit [Ping timeout: 256 seconds]
kengruven has quit [Quit: Leaving.]
pounce has quit [Ping timeout: 246 seconds]
szkl has joined #racket
meimei has quit [Ping timeout: 256 seconds]
morte has quit [Ping timeout: 260 seconds]
Mooncairn has joined #racket
skapate has quit [Remote host closed the connection]
skapate has joined #racket
Mooncairn has quit [Quit: Leaving]
Mooncairn has joined #racket
Origin has quit [Quit: Leaving]
Origin has joined #racket
Kratacoa has quit [Ping timeout: 264 seconds]
Kratacoa has joined #racket