FXMDIChild

class FXMDIChild

The MDI child window contains the application work area in a Multiple Document Interface application

Inheritance:


Public Methods

[more] FXMDIChild(FXMDIClient* p, const FXString& name, FXIcon* ic=NULL, FXMenuPane* mn=NULL, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0)
Construct MDI Child window with given name and icon
[more]virtual void create()
Create window
[more]virtual void detach()
Detach window
[more]FXMDIChild* getMDINext() const
Get next MDI Child
[more]FXMDIChild* getMDIPrev() const
Get previous MDI Child
[more]virtual FXint getDefaultWidth()
Compute default size
[more]virtual FXbool canFocus() const
MDI Child can receive focus
[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]void setNormalX(FXint x)
Change normal (restored) position
[more]FXint getNormalX() const
Return normal (restored) position
[more]void setIconX(FXint x)
Change iconified position
[more]FXint getIconX() const
Return iconified position
[more]FXWindow* contentWindow() const
Return content window
[more]void setTitle(const FXString& name)
Change MDI Child's title
[more]FXString getTitle() const
Get current title
[more]FXColor getHiliteColor() const
Get colors
[more]void setHiliteColor(FXColor clr)
Change colors
[more]FXbool isMaximized() const
Return TRUE if maximized
[more]FXbool isMinimized() const
Return TRUE if minimized
[more]virtual void maximize(FXbool notify=FALSE)
Maximize MDI Child
[more]virtual void minimize(FXbool notify=FALSE)
Minimize/iconify MDI Child
[more]virtual void restore(FXbool notify=FALSE)
Restore MDI Child to normal
[more]FXIcon* getWindowIcon() const
Get window icon
[more]void setWindowIcon(FXIcon* icon)
Set window icon
[more]FXPopup* getWindowMenu() const
Get window menu
[more]void setWindowMenu(FXPopup* menu)
Set window menu
[more]void setFont(FXFont* fnt)
Set title font
[more]FXFont* getFont() const
Get title font
[more]virtual void save(FXStream& store) const
Save to stream
[more]virtual void load(FXStream& store)
Load from stream
[more]virtual ~FXMDIChild()
Destroy


Inherited from FXComposite:

Public Methods

ovirtual void destroy()
ovirtual FXint getDefaultHeight()
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
oFXbool hasFocus() const
ovirtual void setFocus()
ovirtual void killFocus()
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()
ovirtual void recalc()
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
ovirtual void show()
ovirtual void hide()
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

The MDI child window contains the application work area in a Multiple Document Interface application
o FXMDIChild(FXMDIClient* p, const FXString& name, FXIcon* ic=NULL, FXMenuPane* mn=NULL, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0)
Construct MDI Child window with given name and icon

ovirtual void create()
Create window

ovirtual void detach()
Detach window

oFXMDIChild* getMDINext() const
Get next MDI Child

oFXMDIChild* getMDIPrev() const
Get previous MDI Child

ovirtual FXint getDefaultWidth()
Compute default size

ovirtual FXbool canFocus() const
MDI Child can receive focus

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

ovoid setNormalX(FXint x)
Change normal (restored) position

oFXint getNormalX() const
Return normal (restored) position

ovoid setIconX(FXint x)
Change iconified position

oFXint getIconX() const
Return iconified position

oFXWindow* contentWindow() const
Return content window

ovoid setTitle(const FXString& name)
Change MDI Child's title

oFXString getTitle() const
Get current title

oFXColor getHiliteColor() const
Get colors

ovoid setHiliteColor(FXColor clr)
Change colors

oFXbool isMaximized() const
Return TRUE if maximized

oFXbool isMinimized() const
Return TRUE if minimized

ovirtual void maximize(FXbool notify=FALSE)
Maximize MDI Child

ovirtual void minimize(FXbool notify=FALSE)
Minimize/iconify MDI Child

ovirtual void restore(FXbool notify=FALSE)
Restore MDI Child to normal

oFXIcon* getWindowIcon() const
Get window icon

ovoid setWindowIcon(FXIcon* icon)
Set window icon

oFXPopup* getWindowMenu() const
Get window menu

ovoid setWindowMenu(FXPopup* menu)
Set window menu

ovoid setFont(FXFont* fnt)
Set title font

oFXFont* getFont() const
Get title font

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

ovirtual void load(FXStream& store)
Load from stream

ovirtual ~FXMDIChild()
Destroy


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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