shoes / shoes3

a tiny graphical app kit for ruby
http://walkabout.mvmanila.com
Other
179 stars 19 forks source link

Iframes in app? #461

Closed JDsnyke closed 4 years ago

JDsnyke commented 4 years ago

Is it possible to add an iframe or show web content within shoes itself? I'm basically trying to show a show a pdf within the shoes app itself.

ccoupe commented 4 years ago

Not possible with Shoes. The best you can do is ask a browser to show it and you won't have any control of what happens in the browser, assuming it does launch. Someone has written a Ruby gem to parse pdf's and in theory, if true, you might be able to display individual parts in Shoes elements or widgets but it would be tricky.

JDsnyke commented 4 years ago

Cool. As always, thanks @ccoupe!