The MDI child window contains the application work area in a Multiple Document Interface application
Inheritance:
Public Methods
-
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
-
virtual void create()
- Create window
-
virtual void detach()
- Detach window
-
FXMDIChild* getMDINext() const
- Get next MDI Child
-
FXMDIChild* getMDIPrev() const
- Get previous MDI Child
-
virtual FXint getDefaultWidth()
- Compute default size
-
virtual FXbool canFocus() const
- MDI Child can receive focus
-
virtual void move(FXint x, FXint y)
- Move this window to the specified position in the parent's coordinates
-
virtual void resize(FXint w, FXint h)
- Resize this window to the specified width and height
-
virtual void position(FXint x, FXint y, FXint w, FXint h)
- Move and resize this window in the parent's coordinates
-
void setNormalX(FXint x)
- Change normal (restored) position
-
FXint getNormalX() const
- Return normal (restored) position
-
void setIconX(FXint x)
- Change iconified position
-
FXint getIconX() const
- Return iconified position
-
FXWindow* contentWindow() const
- Return content window
-
void setTitle(const FXString& name)
- Change MDI Child's title
-
FXString getTitle() const
- Get current title
-
FXColor getHiliteColor() const
- Get colors
-
void setHiliteColor(FXColor clr)
- Change colors
-
FXbool isMaximized() const
- Return TRUE if maximized
-
FXbool isMinimized() const
- Return TRUE if minimized
-
virtual void maximize(FXbool notify=FALSE)
- Maximize MDI Child
-
virtual void minimize(FXbool notify=FALSE)
- Minimize/iconify MDI Child
-
virtual void restore(FXbool notify=FALSE)
- Restore MDI Child to normal
-
FXIcon* getWindowIcon() const
- Get window icon
-
void setWindowIcon(FXIcon* icon)
- Set window icon
-
FXPopup* getWindowMenu() const
- Get window menu
-
void setWindowMenu(FXPopup* menu)
- Set window menu
-
void setFont(FXFont* fnt)
- Set title font
-
FXFont* getFont() const
- Get title font
-
virtual void save(FXStream& store) const
- Save to stream
-
virtual void load(FXStream& store)
- Load from stream
-
virtual ~FXMDIChild()
- Destroy
Public Methods
-
virtual void destroy()
-
virtual FXint getDefaultHeight()
-
FXint maxChildWidth() const
-
FXint maxChildHeight() const
-
virtual FXbool isComposite() const
Public Methods
-
FXWindow* getParent() const
-
FXWindow* getOwner() const
-
FXWindow* getShell() const
-
FXWindow* getRoot() const
-
FXWindow* getNext() const
-
FXWindow* getPrev() const
-
FXWindow* getFirst() const
-
FXWindow* getLast() const
-
FXWindow* getFocus() const
-
void setKey(FXuint k)
-
FXuint getKey() const
-
void setTarget(FXObject* t)
-
FXObject* getTarget() const
-
void setSelector(FXSelector sel)
-
FXSelector getSelector() const
-
FXint getX() const
-
FXint getY() const
-
virtual FXint getWidthForHeight(FXint givenheight)
-
virtual FXint getHeightForWidth(FXint givenwidth)
-
void setX(FXint x)
-
void setY(FXint y)
-
void setWidth(FXint w)
-
void setHeight(FXint h)
-
void setLayoutHints(FXuint lout)
-
FXuint getLayoutHints() const
-
FXAccelTable* getAccelTable() const
-
void setAccelTable(FXAccelTable* acceltable)
-
void addHotKey(FXHotKey code)
-
void remHotKey(FXHotKey code)
-
FXbool isShell() const
-
FXbool isChildOf(const FXWindow* window) const
-
FXbool containsChild(const FXWindow* child) const
-
FXWindow* getChildAt(FXint x, FXint y) const
-
FXint numChildren() const
-
FXint indexOfChild(const FXWindow* window) const
-
FXWindow* childAtIndex(FXint index) const
-
static FXWindow* commonAncestor(FXWindow* a, FXWindow* b)
-
void setDefaultCursor(FXCursor* cur)
-
FXCursor* getDefaultCursor() const
-
void setDragCursor(FXCursor* cur)
-
FXCursor* getDragCursor() const
-
FXint getCursorPosition(FXint& x, FXint& y, FXuint& buttons) const
-
FXint setCursorPosition(FXint x, FXint y)
-
FXbool isEnabled() const
-
FXbool isActive() const
-
FXbool hasFocus() const
-
virtual void setFocus()
-
virtual void killFocus()
-
virtual void setDefault(FXbool enable=TRUE)
-
FXbool isDefault() const
-
void setInitial(FXbool enable=TRUE)
-
FXbool isInitial() const
-
virtual void enable()
-
virtual void disable()
-
virtual void raise()
-
virtual void lower()
-
virtual void recalc()
-
void forceRefresh()
-
virtual void reparent(FXWindow* newparent)
-
void scroll(FXint x, FXint y, FXint w, FXint h, FXint dx, FXint dy)
-
void update(FXint x, FXint y, FXint w, FXint h)
-
void update()
-
void repaint(FXint x, FXint y, FXint w, FXint h)
-
void repaint()
-
void grab()
-
void ungrab()
-
FXbool grabbed() const
-
void grabKeyboard()
-
void ungrabKeyboard()
-
FXbool grabbedKeyboard() const
-
virtual void show()
-
virtual void hide()
-
FXbool shown() const
-
FXbool underCursor() const
-
FXbool hasSelection() const
-
FXbool acquireSelection(const FXDragType* types, FXuint numtypes)
-
FXbool releaseSelection()
-
FXbool hasClipboard() const
-
FXbool acquireClipboard(const FXDragType* types, FXuint numtypes)
-
FXbool releaseClipboard()
-
void dropEnable()
-
void dropDisable()
-
FXbool isDropEnabled() const
-
FXbool isDragging() const
-
FXbool beginDrag(const FXDragType* types, FXuint numtypes)
-
FXbool handleDrag(FXint x, FXint y, FXDragAction action=DRAG_COPY)
-
FXbool endDrag(FXbool drop=TRUE)
-
FXbool isDropTarget() const
-
void setDragRectangle(FXint x, FXint y, FXint w, FXint h, FXbool wantupdates=TRUE)
-
void clearDragRectangle()
-
void acceptDrop(FXDragAction action=DRAG_ACCEPT)
-
FXDragAction didAccept() const
-
FXbool inquireDNDTypes(FXDNDOrigin origin, FXDragType*& types, FXuint& numtypes)
-
FXbool offeredDNDType(FXDNDOrigin origin, FXDragType type)
-
FXDragAction inquireDNDAction() const
-
FXbool setDNDData(FXDNDOrigin origin, FXDragType type, FXuchar* data, FXuint size)
-
FXbool getDNDData(FXDNDOrigin origin, FXDragType type, FXuchar*& data, FXuint& size)
-
virtual FXbool contains(FXint parentx, FXint parenty) const
-
void translateCoordinatesFrom(FXint& tox, FXint& toy, const FXWindow* fromwindow, FXint fromx, FXint fromy) const
-
void translateCoordinatesTo(FXint& tox, FXint& toy, const FXWindow* towindow, FXint fromx, FXint fromy) const
-
virtual void setBackColor(FXColor clr)
-
FXColor getBackColor() const
-
void linkBefore(FXWindow* sibling)
-
void linkAfter(FXWindow* sibling)
Public Methods
-
FXint getWidth() const
-
FXint getHeight() const
-
FXVisual* getVisual() const
-
void setVisual(FXVisual* vis)
Inherited from FXId:
Public Methods
-
FXApp* getApp() const
-
FXID id() const
-
void setUserData(void* ptr)
-
void* getUserData() const
Public Methods
-
const FXchar* getClassName() const
-
FXbool isMemberOf(const FXMetaClass* metaclass) const
Documentation
The MDI child window contains the application
work area in a Multiple Document Interface application
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
virtual void create()
- Create window
virtual void detach()
- Detach window
FXMDIChild* getMDINext() const
- Get next MDI Child
FXMDIChild* getMDIPrev() const
- Get previous MDI Child
virtual FXint getDefaultWidth()
- Compute default size
virtual FXbool canFocus() const
- MDI Child can receive focus
virtual void move(FXint x, FXint y)
- Move this window to the specified position in the parent's coordinates
virtual void resize(FXint w, FXint h)
- Resize this window to the specified width and height
virtual void position(FXint x, FXint y, FXint w, FXint h)
- Move and resize this window in the parent's coordinates
void setNormalX(FXint x)
- Change normal (restored) position
FXint getNormalX() const
- Return normal (restored) position
void setIconX(FXint x)
- Change iconified position
FXint getIconX() const
- Return iconified position
FXWindow* contentWindow() const
- Return content window
void setTitle(const FXString& name)
- Change MDI Child's title
FXString getTitle() const
- Get current title
FXColor getHiliteColor() const
- Get colors
void setHiliteColor(FXColor clr)
- Change colors
FXbool isMaximized() const
- Return TRUE if maximized
FXbool isMinimized() const
- Return TRUE if minimized
virtual void maximize(FXbool notify=FALSE)
- Maximize MDI Child
virtual void minimize(FXbool notify=FALSE)
- Minimize/iconify MDI Child
virtual void restore(FXbool notify=FALSE)
- Restore MDI Child to normal
FXIcon* getWindowIcon() const
- Get window icon
void setWindowIcon(FXIcon* icon)
- Set window icon
FXPopup* getWindowMenu() const
- Get window menu
void setWindowMenu(FXPopup* menu)
- Set window menu
void setFont(FXFont* fnt)
- Set title font
FXFont* getFont() const
- Get title font
virtual void save(FXStream& store) const
- Save to stream
virtual void load(FXStream& store)
- Load from stream
virtual ~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++.