> Is there anyway to know if a window has been resized?
> Something like fl_at_winresize(...)
Use fl_addto_selected_xevent() to add a selection for ConfigureNotify
(the raw X Event signifying a window resize) and then register a raw
callback with fl_register_raw_callback() with the mask FL_ALL_EVENT.
Your callback will have to filter the extraneous events with something
like
int your_callback( FL_FORM *form, void *xevent )
{
XEvent *any_event = ( XEvent *) xevent;
if ( any_event->type == ConfigureNotify ) {
/* do your stuff */
}
return 0;
}
spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/