- Your Widget Set For OpenGL
Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | Related Pages

ufo::UPopup Class Reference

A general abstraction for a widget which pops up. More...

#include <upopup.hpp>

Inheritance diagram for ufo::UPopup:

ufo::UObject ufo::UCollectable List of all members.

Public Member Functions

virtual void hide ()=0
virtual void pack ()=0
virtual UWidgetgetContentPane () const =0
USignal1< UPopup * > & sigPopupAboutToClose ()

Detailed Description

A general abstraction for a widget which pops up.

A popup is created via the popup manager and is initially visible. The life cycle for popups are generally short. After hiding it, you shouldn't access it anymore. UPopup implementations should emit a popup about to close signal.

See also:
UPopupManager
Author:
Johannes Schmidt


Member Function Documentation

virtual UWidget* ufo::UPopup::getContentPane  )  const [pure virtual]
 

Returns the content pane for the user widgets.

virtual void ufo::UPopup::hide  )  [pure virtual]
 

Hides the popup and disposes its internal data. You shouldn't access a popup after hiding it.

virtual void ufo::UPopup::pack  )  [pure virtual]
 

Sets the size of the popup to the preferred size.


The documentation for this class was generated from the following file:
The libUFO Project - written by Johannes Schmidt