FLTK logo

Re: [fltk.coredev] Fl_Flex method name question

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Fl_Flex method name question Albrecht Schlosser Oct 25, 2022  
 
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 ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.