Murga-Projects Forums

Full Version: How to keep track of a window?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
What calls do we make to get the rectangle of a window once we've made it?
If the user changes sizes during runtime how can I track that?

I tried getting data from quadmap:size_range() and quadmap:get_size_range()
and they both crashed.

Don't know what else to try.
I can't recall specifically right now...there are some very similarly named functions in FLTK.

Here are a few you could try...

Thanks I wonder what those would be called in the docs.

I get so lost in the land of FLTK.

widgetTongueosition() is illegal however.

But those others are just the values I need right now.
Thanks again.
I've found the FLTK docs to be a little confusing at times, but the one thing that has made them most clear to me is keeping in mind that they show a hierarchy.
If you think of "widget" as being the top level of FLTK widgets, practically all of the other widgets fall under that label. Most methods used by the "widget" object are also used by other widgets. Most any method used by "Input" is also used by Output and Multiline_Input, and on and on like that. So you might find some methods not described under a specific widget, but under the parent widget, or the parent of a parent of that widget.
Reference URL's