|
|
On 10/25/22 02:49 'melcher....@googlemail.com' via fltk.coredev wrote:
After coding around a bit, it returns 1 if a child widget is using
it's w() or h() as a fixed size, but still flexible in position, or 0
if Flex positions and resizes the widget.
Hmm, why not look at the documentation, wouldn't this be easier than
"coding around a bit"? ;-)
SCNR. ;-)
https://www.fltk.org/doc-1.4/classFl__Flex.html#a3235849fc0e99512d76c0048de68e6a8
"Return whether the given widget has a fixed size or resizes dynamically."
If this is not enough we can be more explicit, like saying that
`set_size(Fl_Widget *widget, int size) has been applied.
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/4758affc-b400-adcd-918c-53383b6f9191%40online.de.
[ Direct Link to Message ] | |
|
| |