#include <FXApp.h>
Inheritance diagram for FX::FXEventLoop:
Definition at line 157 of file FXApp.h.
Public Types | |
ID_ASYNCRECALC | |
ID_LAST | |
enum | { ID_ASYNCRECALC, ID_LAST } |
Public Member Functions | |
FXApp * | getApp () const |
FXRootWindow * | getRootWindow () const |
void | setRootWindow (FXRootWindow *rt) |
FXWindow * | getFocusWindow () const |
FXWindow * | getCursorWindow () const |
FXWindow * | getActiveWindow () const |
FXPopup * | getPopupWindow () const |
FXWindow * | findWindowWithId (FXID xid) const |
FXWindow * | findWindowAt (FXint rx, FXint ry, FXID window=0) const |
void | addTimeout (FXObject *tgt, FXSelector sel, FXuint ms=1000, void *ptr=NULL) |
void | removeTimeout (FXObject *tgt, FXSelector sel) |
bool | hasTimeout (FXObject *tgt, FXSelector sel) const |
FXuint | remainingTimeout (FXObject *tgt, FXSelector sel) |
void | handleTimeouts () |
void | addChore (FXObject *tgt, FXSelector sel, void *ptr=NULL) |
void | removeChore (FXObject *tgt, FXSelector sel) |
bool | hasChore (FXObject *tgt, FXSelector sel) const |
void | addSignal (FXint sig, FXObject *tgt, FXSelector sel, FXbool immediate=FALSE, FXuint flags=0) |
void | removeSignal (FXint sig) |
bool | addInput (FXInputHandle fd, FXuint mode, FXObject *tgt, FXSelector sel) |
bool | removeInput (FXInputHandle fd, FXuint mode) |
bool | getKeyState (FXuint keysym) const |
bool | peekEvent () |
bool | runOneEvent (bool blocking=true) |
FXint | run () |
FXint | runUntil (FXuint &condition) |
FXint | runWhileEvents () |
FXint | runModalWhileEvents (FXWindow *window=NULL) |
FXint | runModal () |
FXint | runModalFor (FXWindow *window) |
FXint | runModalWhileShown (FXWindow *window) |
FXint | runPopup (FXWindow *window) |
bool | isModal (FXWindow *window) const |
FXWindow * | getModalWindow () const |
FXModality | getModality () const |
void | stop (FXint value=0) |
void | stopModal (FXWindow *window, FXint value=0) |
void | stopModal (FXint value=0) |
void | forceRefresh () |
void | refresh () |
void | flush (bool sync=false) |
void | repaint () |
FXWindow * | getDragWindow () const |
virtual | ~FXEventLoop () |
long | onCmdAsyncRecalc (FXObject *, FXSelector, void *) |
void | postAsyncMessage (FXObject *tgt, FXuint message, void *ptr=NULL, FXObject *src=NULL) |
virtual FXulong | getThreadId () const |
virtual void | lock () |
virtual void | unlock () |
virtual long | onDefault (FXObject *, FXSelector, void *) |
const FXchar * | getClassName () const |
bool | isMemberOf (const FXMetaClass *metaclass) const |
virtual long | tryHandle (FXObject *sender, FXSelector sel, void *ptr) |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
QTransString | tr (const char *text, const char *hint=0) |
virtual void * | getPythonObject () const |
virtual void | decouplePythonObject () const |
Static Public Member Functions | |
static void | postAsyncMessage (FXId *tgt, FXuint message, void *ptr=NULL, FXObject *src=NULL) |
static void | requestAsyncRecalc (FXWindow *what) |
Protected Member Functions | |
FXEventLoop (const FXEventLoop &) | |
FXEventLoop & | operator= (const FXEventLoop &) |
void | setup () |
void | leaveWindow (FXWindow *window, FXWindow *ancestor) |
void | enterWindow (FXWindow *window, FXWindow *ancestor) |
void | selectionSetData (const FXWindow *window, FXDragType type, FXuchar *data, FXuint size) |
void | selectionGetData (const FXWindow *window, FXDragType type, FXuchar *&data, FXuint &size) |
void | selectionGetTypes (const FXWindow *window, FXDragType *&types, FXuint &numtypes) |
void | clipboardSetData (const FXWindow *window, FXDragType type, FXuchar *data, FXuint size) |
void | clipboardGetData (const FXWindow *window, FXDragType type, FXuchar *&data, FXuint &size) |
void | clipboardGetTypes (const FXWindow *window, FXDragType *&types, FXuint &numtypes) |
void | dragdropSetData (const FXWindow *window, FXDragType type, FXuchar *data, FXuint size) |
void | dragdropGetData (const FXWindow *window, FXDragType type, FXuchar *&data, FXuint &size) |
void | dragdropGetTypes (const FXWindow *window, FXDragType *&types, FXuint &numtypes) |
void | addRepaint (FXID win, FXint x, FXint y, FXint w, FXint h, FXbool synth=0) |
void | removeRepaints (FXID win, FXint x, FXint y, FXint w, FXint h) |
void | scrollRepaints (FXID win, FXint dx, FXint dy) |
FXEventLoop (FXApp *app=NULL) | |
virtual bool | getNextEvent (FXRawEvent &ev, bool blocking=true) |
virtual bool | dispatchEvent (FXRawEvent &ev) |
virtual void | latchLoop () |
virtual void | resetLoopLatch () |
virtual bool | getNextEventI (FXRawEvent &ev, bool blocking) |
virtual bool | peekEventI () |
virtual void * | makeStaticPtr (void *val) |
virtual void | deleteStaticPtr (void *ref) |
virtual void * | getStaticPtr (const void *ref) const |
virtual void | setStaticPtr (void *ref, void *val) |
Static Protected Member Functions | |
static void | signalhandler (int sig) |
static void | immediatesignalhandler (int sig) |
Protected Attributes | |
FXApp * | app |
FXHash | hash |
FXWindow * | activeWindow |
FXWindow * | cursorWindow |
FXWindow * | mouseGrabWindow |
FXWindow * | keyboardGrabWindow |
FXWindow * | keyWindow |
FXWindow * | selectionWindow |
FXWindow * | clipboardWindow |
FXWindow * | dropWindow |
FXWindow * | dragWindow |
FXWindow * | refresher |
FXWindow * | refresherstop |
FXPopup * | popupWindow |
FXRootWindow * | root |
FXTimer * | timers |
FXChore * | chores |
FXRepaint * | repaints |
FXTimer * | timerrecs |
FXChore * | chorerecs |
FXRepaint * | repaintrecs |
FXInvocation * | invocation |
FXSignal * | signals |
FXint | nsignals |
FXEvent | event |
FXInput * | inputs |
FXint | ninputs |
FXint | maxinput |
FXAsyncMsg * | asyncmsgs |
FXAsyncMsg * | asyncmsgsrecs |
bool & | initialized |
void *& | display |
void *& | xim |
void * | r_fds |
void * | w_fds |
void * | e_fds |
int | latch [2] |
Friends | |
class | FXApp |
class | FXPopup |
class | FXWindow |
class | FXDockHandler |
class | FXEventLoop_Static |