shoes4 icon indicating copy to clipboard operation
shoes4 copied to clipboard

Resize window programmatically

Open PragTob opened this issue 11 years ago • 2 comments

We should be able to resize the window through a function call. I don't believe the original shoes had that feature but I imagine it to look something like:

resize width, height

This idea is imported from the shoes mailing list where it is mentioned that green_shoes can do that, maybe we could take that DSL or whatever is available on shoes3 and I'm not aware of.

PragTob avatar Jul 03 '14 14:07 PragTob

Sounds like a great feature, I would add positioning if possible. I've always liked the idea of being able to control window location and size programmatically.

The name of the method conflicts with the current resize method however: https://github.com/shoes/shoes4/blob/master/lib/shoes/dsl.rb#L523-L525

KCErb avatar Jul 03 '14 14:07 KCErb

hm we could magically work around that or change the name of the method as it was a recent addition.. good catch!

PragTob avatar Jul 03 '14 14:07 PragTob