ubit
Public Member Functions | Protected Attributes | List of all members
ubit::UViewEvent Class Reference

view event: base class for UPaintEvent and UResizeEvent. More...

#include <uevent.hpp>

Inheritance diagram for ubit::UViewEvent:
ubit::UEvent ubit::UPaintEvent ubit::UResizeEvent

Public Member Functions

 UViewEvent (const UCond &, UView *source_view)
 
virtual UViewEventtoViewEvent ()
 
UBoxgetSource () const
 returns the widget that received this event.
 
UViewgetView () const
 returns the view of getSource() that received this event.
 
UDispgetDisp () const
 returns the display that received this event. More...
 
- Public Member Functions inherited from ubit::UEvent
 UEvent (const UCond &c, UObject *source, UObject *aux=null)
 
const UCondgetCond () const
 returns the event condition that detected this event. More...
 
virtual UObjectgetAux () const
 returns auxilliary data.
 
virtual UInputEventtoInputEvent ()
 dynamic cast: returns 'this' converted to the requested class or null.
 
virtual UMouseEventtoMouseEvent ()
 
virtual UKeyEventtoKeyEvent ()
 
virtual UWheelEventtoWheelEvent ()
 
virtual UPaintEventtoPaintEvent ()
 
virtual UResizeEventtoResizeEvent ()
 
virtual UTimerEventtoTimerEvent ()
 
virtual UWinEventtoWinEvent ()
 
virtual UMessageEventtoMessageEvent ()
 
virtual USysWMEventtoSysWMEvent ()
 
virtual UUserEventtoUserEvent ()
 
void setCond (const UCond &)
 

Protected Attributes

UViewsource_view
 
- Protected Attributes inherited from ubit::UEvent
const UCondcond
 
UObjectsource
 
UObjectaux
 

Detailed Description

view event: base class for UPaintEvent and UResizeEvent.

Member Function Documentation

§ getDisp()

UDisp * UViewEvent::getDisp ( ) const

returns the display that received this event.

A Ubit application can open windows on multiple displays. The default display is the UAppli.

See also
UAppli and UAppli::getDisp().

The documentation for this class was generated from the following files: