Skip to content

How to get size of master ( or current window ) in loop function #578

Closed Answered by AllenDang
manuel-koch asked this question in Q&A
Discussion options

You must be logged in to vote

@manuel-koch MasterWindow has a method named "GetSize".

wnd := giu.NewMasterWindow("Hello world", 200, 200, 0)
width, height := wnd.GetSize()

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@gucio321
Comment options

gucio321 Nov 1, 2022
Collaborator

Comment options

You must be logged in to vote
0 replies
Answer selected by manuel-koch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants