FXTopWindow

class FXTopWindow

Abstract base class for all top-level windows

Inheritance:


Public Methods

[more]virtual void create()
Create server-side resources
[more]virtual void detach()
Detach the server-side resources for this window
[more]virtual void setFocus()
Move the focus to this window
[more]virtual void killFocus()
Remove the focus from this window
[more]virtual void show()
Show this window
[more]virtual void hide()
Hide this window
[more]virtual void show(FXuint placement)
Show this window with given placement
[more]void place(FXuint placement)
Position the window based on placement
[more]virtual FXint getDefaultWidth()
Return the default width of this window
[more]virtual FXint getDefaultHeight()
Return the default height of this window
[more]virtual void move(FXint x, FXint y)
Move this window to the specified position in the parent's coordinates
[more]virtual void resize(FXint w, FXint h)
Resize this window to the specified width and height
[more]virtual void position(FXint x, FXint y, FXint w, FXint h)
Move and resize this window in the parent's coordinates
[more]virtual void iconify()
Iconify window
[more]virtual void deiconify()
Deiconify window
[more]FXbool isIconified() const
Return TRUE if window has been iconified
[more]void setTitle(const FXString& name)
Change window title
[more]FXString getTitle() const
Return window title
[more]void setPadTop(FXint pt)
Change top padding
[more]FXint getPadTop() const
Get top interior padding
[more]void setPadBottom(FXint pb)
Change bottom padding
[more]FXint getPadBottom() const
Get bottom interior padding
[more]void setPadLeft(FXint pl)
Change left padding
[more]FXint getPadLeft() const
Get left interior padding
[more]void setPadRight(FXint pr)
Change right padding
[more]FXint getPadRight() const
Get right interior padding
[more]FXint getHSpacing() const
Return horizontal spacing between children
[more]FXint getVSpacing() const
Return vertical spacing between children
[more]void setHSpacing(FXint hs)
Change horizontal spacing between children
[more]void setVSpacing(FXint vs)
Change vertical spacing between children
[more]void setPackingHints(FXuint ph)
Change packing hints for children
[more]FXuint getPackingHints() const
Return packing hints for children
[more]void setDecorations(FXuint decorations)
Change title and border decorations
[more]FXuint getDecorations() const
Return current title and border decorations
[more]FXIcon* getIcon() const
Return window icon
[more]void setIcon(FXIcon* ic)
Change window icon
[more]FXIcon* getMiniIcon() const
Return window mini (title) icon
[more]void setMiniIcon(FXIcon* ic)
Change window mini (title) icon
[more]virtual void save(FXStream& store) const
Save to stream
[more]virtual void load(FXStream& store)
Load from stream
[more]virtual ~FXTopWindow()
Destructor


Inherited from FXShell:

Public Methods

ovirtual void recalc()


Inherited from FXComposite:

Public Methods

ovirtual void destroy()
oFXint maxChildWidth() const
oFXint maxChildHeight() const
ovirtual FXbool isComposite() const


Inherited from FXWindow:

Public Methods

oFXWindow* getParent() const
oFXWindow* getOwner() const
oFXWindow* getShell() const
oFXWindow* getRoot() const
oFXWindow* getNext() const
oFXWindow* getPrev() const
oFXWindow* getFirst() const
oFXWindow* getLast() const
oFXWindow* getFocus() const
ovoid setKey(FXuint k)
oFXuint getKey() const
ovoid setTarget(FXObject* t)
oFXObject* getTarget() const
ovoid setSelector(FXSelector sel)
oFXSelector getSelector() const
oFXint getX() const
oFXint getY() const
ovirtual FXint getWidthForHeight(FXint givenheight)
ovirtual FXint getHeightForWidth(FXint givenwidth)
ovoid setX(FXint x)
ovoid setY(FXint y)
ovoid setWidth(FXint w)
ovoid setHeight(FXint h)
ovoid setLayoutHints(FXuint lout)
oFXuint getLayoutHints() const
oFXAccelTable* getAccelTable() const
ovoid setAccelTable(FXAccelTable* acceltable)
ovoid addHotKey(FXHotKey code)
ovoid remHotKey(FXHotKey code)
oFXbool isShell() const
oFXbool isChildOf(const FXWindow* window) const
oFXbool containsChild(const FXWindow* child) const
oFXWindow* getChildAt(FXint x, FXint y) const
oFXint numChildren() const
oFXint indexOfChild(const FXWindow* window) const
oFXWindow* childAtIndex(FXint index) const
ostatic FXWindow* commonAncestor(FXWindow* a, FXWindow* b)
ovoid setDefaultCursor(FXCursor* cur)
oFXCursor* getDefaultCursor() const
ovoid setDragCursor(FXCursor* cur)
oFXCursor* getDragCursor() const
oFXint getCursorPosition(FXint& x, FXint& y, FXuint& buttons) const
oFXint setCursorPosition(FXint x, FXint y)
oFXbool isEnabled() const
oFXbool isActive() const
ovirtual FXbool canFocus() const
oFXbool hasFocus() const
ovirtual void setDefault(FXbool enable=TRUE)
oFXbool isDefault() const
ovoid setInitial(FXbool enable=TRUE)
oFXbool isInitial() const
ovirtual void enable()
ovirtual void disable()
ovirtual void raise()
ovirtual void lower()
ovoid forceRefresh()
ovirtual void reparent(FXWindow* newparent)
ovoid scroll(FXint x, FXint y, FXint w, FXint h, FXint dx, FXint dy)
ovoid update(FXint x, FXint y, FXint w, FXint h)
ovoid update()
ovoid repaint(FXint x, FXint y, FXint w, FXint h)
ovoid repaint()
ovoid grab()
ovoid ungrab()
oFXbool grabbed() const
ovoid grabKeyboard()
ovoid ungrabKeyboard()
oFXbool grabbedKeyboard() const
oFXbool shown() const
oFXbool underCursor() const
oFXbool hasSelection() const
oFXbool acquireSelection(const FXDragType* types, FXuint numtypes)
oFXbool releaseSelection()
oFXbool hasClipboard() const
oFXbool acquireClipboard(const FXDragType* types, FXuint numtypes)
oFXbool releaseClipboard()
ovoid dropEnable()
ovoid dropDisable()
oFXbool isDropEnabled() const
oFXbool isDragging() const
oFXbool beginDrag(const FXDragType* types, FXuint numtypes)
oFXbool handleDrag(FXint x, FXint y, FXDragAction action=DRAG_COPY)
oFXbool endDrag(FXbool drop=TRUE)
oFXbool isDropTarget() const
ovoid setDragRectangle(FXint x, FXint y, FXint w, FXint h, FXbool wantupdates=TRUE)
ovoid clearDragRectangle()
ovoid acceptDrop(FXDragAction action=DRAG_ACCEPT)
oFXDragAction didAccept() const
oFXbool inquireDNDTypes(FXDNDOrigin origin, FXDragType*& types, FXuint& numtypes)
oFXbool offeredDNDType(FXDNDOrigin origin, FXDragType type)
oFXDragAction inquireDNDAction() const
oFXbool setDNDData(FXDNDOrigin origin, FXDragType type, FXuchar* data, FXuint size)
oFXbool getDNDData(FXDNDOrigin origin, FXDragType type, FXuchar*& data, FXuint& size)
ovirtual FXbool contains(FXint parentx, FXint parenty) const
ovoid translateCoordinatesFrom(FXint& tox, FXint& toy, const FXWindow* fromwindow, FXint fromx, FXint fromy) const
ovoid translateCoordinatesTo(FXint& tox, FXint& toy, const FXWindow* towindow, FXint fromx, FXint fromy) const
ovirtual void setBackColor(FXColor clr)
oFXColor getBackColor() const
ovoid linkBefore(FXWindow* sibling)
ovoid linkAfter(FXWindow* sibling)


Inherited from FXDrawable:

Public Methods

oFXint getWidth() const
oFXint getHeight() const
oFXVisual* getVisual() const
ovoid setVisual(FXVisual* vis)


Inherited from FXId:

Public Methods

oFXApp* getApp() const
oFXID id() const
ovoid setUserData(void* ptr)
ovoid* getUserData() const


Inherited from FXObject:

Public Methods

oconst FXchar* getClassName() const
oFXbool isMemberOf(const FXMetaClass* metaclass) const


Documentation

Abstract base class for all top-level windows
ovirtual void create()
Create server-side resources

ovirtual void detach()
Detach the server-side resources for this window

ovirtual void setFocus()
Move the focus to this window

ovirtual void killFocus()
Remove the focus from this window

ovirtual void show()
Show this window

ovirtual void hide()
Hide this window

ovirtual void show(FXuint placement)
Show this window with given placement

ovoid place(FXuint placement)
Position the window based on placement

ovirtual FXint getDefaultWidth()
Return the default width of this window

ovirtual FXint getDefaultHeight()
Return the default height of this window

ovirtual void move(FXint x, FXint y)
Move this window to the specified position in the parent's coordinates

ovirtual void resize(FXint w, FXint h)
Resize this window to the specified width and height

ovirtual void position(FXint x, FXint y, FXint w, FXint h)
Move and resize this window in the parent's coordinates

ovirtual void iconify()
Iconify window

ovirtual void deiconify()
Deiconify window

oFXbool isIconified() const
Return TRUE if window has been iconified

ovoid setTitle(const FXString& name)
Change window title

oFXString getTitle() const
Return window title

ovoid setPadTop(FXint pt)
Change top padding

oFXint getPadTop() const
Get top interior padding

ovoid setPadBottom(FXint pb)
Change bottom padding

oFXint getPadBottom() const
Get bottom interior padding

ovoid setPadLeft(FXint pl)
Change left padding

oFXint getPadLeft() const
Get left interior padding

ovoid setPadRight(FXint pr)
Change right padding

oFXint getPadRight() const
Get right interior padding

oFXint getHSpacing() const
Return horizontal spacing between children

oFXint getVSpacing() const
Return vertical spacing between children

ovoid setHSpacing(FXint hs)
Change horizontal spacing between children

ovoid setVSpacing(FXint vs)
Change vertical spacing between children

ovoid setPackingHints(FXuint ph)
Change packing hints for children

oFXuint getPackingHints() const
Return packing hints for children

ovoid setDecorations(FXuint decorations)
Change title and border decorations

oFXuint getDecorations() const
Return current title and border decorations

oFXIcon* getIcon() const
Return window icon

ovoid setIcon(FXIcon* ic)
Change window icon

oFXIcon* getMiniIcon() const
Return window mini (title) icon

ovoid setMiniIcon(FXIcon* ic)
Change window mini (title) icon

ovirtual void save(FXStream& store) const
Save to stream

ovirtual void load(FXStream& store)
Load from stream

ovirtual ~FXTopWindow()
Destructor


Direct child classes:
FXToolbarShell
FXToolBarShell
FXMainWindow
FXDialogBox

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.