Next: Part III Deprecated Objects, Previous: Part III Other Objects, Up: Top [Contents][Index]
Popup is not an object class. In contrast to normal objects popups are
only shown for a short time in their own window and, while they are
shown, no interaction with other objects is possible. So they don’t
fit directly into the normal event loop where one waits for user
actions via fl_do_forms()
. Instead, when used stand-alone
(e.g., for a context menu) they are shown on a call of the function
fl_popup_do()
, which returns when the the user is done
with the popup and it has been removed from the screen. Only idle
callbacks and timers etc. are executed in the background while a
popup is being shown.
Popups are the building blocks for menu and selector objects, which internally create and use popups. Thus it might be helpful to understand how popups work to get the most out of these objects.
All functions dealing with popups have names starting with
'fl_popup_'
, functions for individual entries start with
'fl_popup_entry_'
and typedefs as well as macros with
'FL_POPUP_'
.
• Adding Popups: | ||
• Popup Interaction: | ||
• Other Popup Routines: | ||
• Popup Attributes: |