FX::FXApp Class Reference

#include <FXApp.h>

Inheritance diagram for FX::FXApp:

FX::FXLockable FX::FXObject FX::TnFXApp List of all members.

Detailed Description

Application Object.

Definition at line 529 of file FXApp.h.

Public Types

 ID_QUIT
 ID_DUMP
 ID_HOVER
 ID_LAST
enum  { ID_QUIT, ID_DUMP, ID_HOVER, ID_LAST }

Public Member Functions

long onCmdQuit (FXObject *, FXSelector, void *)
long onCmdDump (FXObject *, FXSelector, void *)
long onCmdHover (FXObject *, FXSelector, void *)
 FXApp (const FXString &name="Application", const FXString &vendor="FoxDefault")
const FXStringgetAppName () const
const FXStringgetVendorName () const
bool openDisplay (const FXchar *dpyname=NULL)
bool closeDisplay ()
void * getDisplay () const
bool isInitialized () const
FXint getArgc () const
const FXchar *const * getArgv () const
virtual FXEventLoopgetEventLoop () const
bool hasInputMethod () const
FXVisualgetDefaultVisual () const
void setDefaultVisual (FXVisual *vis)
FXVisualgetMonoVisual () const
FXRootWindowgetRootWindow () const
void setRootWindow (FXRootWindow *rt)
FXWindowgetFocusWindow () const
FXWindowgetCursorWindow () const
FXWindowgetActiveWindow () const
FXPopupgetPopupWindow () const
FXWindowfindWindowWithId (FXID xid) const
FXWindowfindWindowAt (FXint rx, FXint ry, FXID window=0) const
virtual void create ()
virtual void destroy ()
virtual void detach ()
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) const
void handleTimeouts ()
void addChore (FXObject *tgt, FXSelector sel, void *ptr=NULL)
void removeChore (FXObject *tgt, FXSelector sel)
FXbool 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)
FXbool isModal (FXWindow *window) const
FXWindowgetModalWindow () 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 ()
virtual void init (int &argc, char **argv, bool connect=true)
virtual void exit (FXint code=0)
FXRegistryreg ()
FXDragType registerDragType (const FXString &name) const
FXString getDragTypeName (FXDragType type) const
FXWindowgetDragWindow () const
void beep ()
void errorBeep ()
void setNormalFont (FXFont *font)
FXFontgetNormalFont () const
void beginWaitCursor ()
void endWaitCursor ()
void setWaitCursor (FXCursor *cur)
FXCursorgetWaitCursor () const
FXCursorgetDefaultCursor (FXDefaultCursor which) const
void setDefaultCursor (FXDefaultCursor which, FXCursor *cur)
FXbool writeWindow (FXStream &store, FXWindow *window)
FXbool readWindow (FXStream &store, FXWindow *&window, FXWindow *father, FXWindow *owner)
FXuint getTypingSpeed () const
FXuint getClickSpeed () const
FXuint getScrollSpeed () const
FXuint getScrollDelay () const
FXuint getBlinkSpeed () const
FXuint getAnimSpeed () const
FXuint getMenuPause () const
FXuint getTooltipPause () const
FXuint getTooltipTime () const
FXint getDragDelta () const
FXint getWheelLines () const
FXint getScrollBarSize () const
void setTypingSpeed (FXuint speed)
void setClickSpeed (FXuint speed)
void setScrollSpeed (FXuint speed)
void setScrollDelay (FXuint delay)
void setBlinkSpeed (FXuint speed)
void setAnimSpeed (FXuint speed)
void setMenuPause (FXuint pause)
void setTooltipPause (FXuint pause)
void setTooltipTime (FXuint time)
void setDragDelta (FXint delta)
void setWheelLines (FXint lines)
void setScrollBarSize (FXint size)
FXColor getBorderColor () const
FXColor getBaseColor () const
FXColor getHiliteColor () const
FXColor getShadowColor () const
FXColor getBackColor () const
FXColor getForeColor () const
FXColor getSelforeColor () const
FXColor getSelbackColor () const
FXColor getTipforeColor () const
FXColor getTipbackColor () const
FXColor getSelMenuTextColor () const
FXColor getSelMenuBackColor () const
void setBorderColor (FXColor color)
void setBaseColor (FXColor color)
void setHiliteColor (FXColor color)
void setShadowColor (FXColor color)
void setBackColor (FXColor color)
void setForeColor (FXColor color)
void setSelforeColor (FXColor color)
void setSelbackColor (FXColor color)
void setTipforeColor (FXColor color)
void setTipbackColor (FXColor color)
void setSelMenuTextColor (FXColor color)
void setSelMenuBackColor (FXColor color)
FXuint getWindowCount () const
virtual void save (FXStream &store) const
virtual void load (FXStream &store)
void dumpWidgets () const
void addDestructionUpcall (void(*func)(void *), void *data)
void removeDestructionUpcall (void(*func)(void *), void *data)
virtual ~FXApp ()
virtual void lock ()
virtual void unlock ()
virtual long onDefault (FXObject *, FXSelector, void *)
const FXchargetClassName () const
bool isMemberOf (const FXMetaClass *metaclass) const
virtual long tryHandle (FXObject *sender, FXSelector sel, void *ptr)
QTransString tr (const char *text, const char *hint=0)
virtual void * getPythonObject () const
virtual void decouplePythonObject () const

Static Public Member Functions

static FXEventLoopgetPrimaryEventLoop ()
static FXlong time ()
static FXAppinstance ()

Static Public Attributes

static const FXucharcopyright

Protected Member Functions

virtual bool getNextEvent (FXRawEvent &ev, bool blocking=true)
virtual bool dispatchEvent (FXRawEvent &ev)

Protected Attributes

FXEventLoopeventLoop

Friends

class FXEventLoop
class FXId
class FXBitmap
class FXImage
class FXIcon
class FXCursor
class FXDrawable
class FXWindow
class FXShell
class FXRootWindow
class FXTopWindow
class FXMainWindow
class FXPopup
class FXFont
class FXVisual
class FXGLVisual
class FXGLContext
class FXDC
class FXDCWindow
class FXEmbedderWindow
class FXDragCorner
class FXComposeContext


The documentation for this class was generated from the following file:
(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:32:39 2009 for TnFOX by doxygen v1.4.7