Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I enable text selection, copying, and pasting in a Shoes app?

Tags:

ruby

shoes

Is there any way to allow text selection, copying and pasting in a Shoes app? I'm making a little utility, and it would be great if it could support this functionality. I know shoes uses Pango/Cairo for text rendering, so I imagine there's a way to turn this on. Anyone? _why?

Also, _why, thanks for the great toolkit!

Much appreciated,

Bobby

like image 565
Bobby Calderwood Avatar asked Dec 06 '25 17:12

Bobby Calderwood


1 Answers

Text selection, copy and paste works in edit_boxes, but it is not possible to select text blocks (such as para). Reading through the gmane archive of the old mailing list, _why had this down for the release after Policeman. There are also mentions of Pango being the reason text selection of para was not possible.

like image 172
atomicules Avatar answered Dec 08 '25 08:12

atomicules



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!