Hi,
I wish to set the start-size of my widget to 80% of width and height.
But for this, I need to know the resolution of the computer.
Is this doable?
Hi,
I wish to set the start-size of my widget to 80% of width and height.
But for this, I need to know the resolution of the computer.
Is this doable?
Found it in the API docu:
x = Gdk::Screen.default
x.width
x.height
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs