Questions tagged [shoes-4]

A tiny graphical app kit for ruby.

Shoes 4 is the next version of . Shoes is currently in the preview version. See the github page for more details.

10 questions
1
vote
0 answers

Shoes GUI Always On Top

Is there a way to keep a Shoes GUI Always On Top of other windows. In AHK I use a checkbox: Gui, Add, CheckBox, x730 y520 gUpdate vCheck, Always on Top guicontrol, , check, 1 Update: Gui, Submit, NoHide If Check = 1 { Gui,…
LuaStart
  • 397
  • 2
  • 11
1
vote
1 answer

How to obtain a macOS transparent titlebar effect in SWT/Shoes via JRuby

I'm trying to obtain this effect (transparent title bar and full sized content) while using Shoes. However, I figured SWT doesn't even offer this option. How can I attain this?
pedrozath
  • 2,353
  • 4
  • 20
  • 23
1
vote
1 answer

Shoes Rb Hostname not known: sub.localhost:3000

I am using the shoes's GUI builder and I get the below error when I make a simple HTTP request to my local Rails server So when I make the request res = Net::HTTP.get(URI.parse("http://sub.localhost:3000")) I get the error: Hostname not known:…
teddybear
  • 546
  • 2
  • 6
  • 14
1
vote
1 answer

Does the shoes gem support HTTPS requests?

I've been looking around on how to make HTTPS requests using the Shoes GUI builder and I'm getting the SSL_connnect connect error and I'm unsure of what to do about it. I made a test app in this Gist Here's the Error: SSL_connect returned=1 errno=0…
teddybear
  • 546
  • 2
  • 6
  • 14
1
vote
1 answer

Shoes cannot find its own backend

I just installed Shoes 4, but when I try the most basic program: require 'shoes' Shoes.app { button "test" } It fails with this error: NameError: uninitialized constant Shoes::Swt::App I installed shoes using jruby -S gem install shoes --pre,…
Justin
  • 24,288
  • 12
  • 92
  • 142
0
votes
1 answer

Is there a way to package a Shoes Ruby App into an APK?

I am aware that I can package a Shoes Ruby app into a dmg, exe, and other Linux formats, but can I do an APK? I'm hoping to run a Shoes app on my Samsung Galaxy. Is there some gem or some long process to achieve this? Any method will do.
0
votes
0 answers

How to do multithreading with Shoes? Shoes.app blocks

After quite some headache, I realized that the Shoes.app call blocks the execution of further code. I tried wrapping it in Thread.new but then the window doesn't get displayed. How can I launch a window and manipulate it from the outside? require…
magmabyte
  • 397
  • 1
  • 2
  • 10
0
votes
0 answers

Can't Require Gem - Shoes

I have my simple shoes app running on shoes4 (I have JDK and jRuby installed as well) and I've installed the proper gems using jruby -S gem install , but when I require the gem inside the app and run it, it fails. I've tried requireing…
RedXTech
  • 406
  • 2
  • 7
  • 17
0
votes
0 answers

Shoes Ruby GUI toolkit [error while loading shared libraries: libcairo.so.2: cannot open shared object file: No such file or directory]

When I try to run shoes application like at console: shoes app.rb Getting following error on console- Verifying archive integrity... All good. Uncompressing…
Snm Maurya
  • 1,085
  • 10
  • 12
0
votes
1 answer

Flow is undefined - class inheritance issue? (Ruby Shoes)

I am following a sample located here in the samples folder on the official Shoes github repo. I saw that the programmer defined a class Book which inherited from Shoes. I have a relatively large program coming along with shoes that I'm porting for…
h3xc0ntr0l
  • 399
  • 1
  • 3
  • 14