FXMDIChild

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


FXMDIChild(p, name, ic=None, mn=None, opts=0, x=0, y=0, w=0, h=0)

Construct MDI Child window with given name and icon.

ArgumentTypeDefaultDescription
pFXMDIClient  
nameString  
icFXIconNone 
mnFXMenuPaneNone 
optsInt0 
xInt0 
yInt0 
wInt0 
hInt0 


canFocus()

MDI Child can receive focus.

Reimplemented from FXWindow.


contentWindow()

Return content window.


create()

Create window.

Reimplemented from FXComposite.


detach()

Detach window.

Reimplemented from FXComposite.


getDefaultHeight()

Return default height.

Reimplemented from FXComposite.


getDefaultWidth()

Compute default size.

Reimplemented from FXComposite.


getFont()

Get title font.


getHiliteColor()

Get colors.


getIconX()

Return iconified position.


getMDINext()

Get next MDI Child.


getMDIPrev()

Get previous MDI Child.


getNormalX()

Return normal (restored) position.


getTitle()

Get current title.


getWindowIcon()

Get window icon.


getWindowMenu()

Get window menu.


isMaximized()

Return True if maximized.


isMinimized()

Return True if minimized.


maximize(notify=False)

Maximize MDI Child.

ArgumentTypeDefaultDescription
notifyBoolFalse 


minimize(notify=False)

Minimize/iconify MDI Child.

ArgumentTypeDefaultDescription
notifyBoolFalse 


move(x, y)

Move this window to the specified position in the parent's coordinates.

Reimplemented from FXWindow.

ArgumentTypeDefaultDescription
xInt  
yInt  


position(x, y, w, h)

Move and resize this window in the parent's coordinates.

Reimplemented from FXWindow.

ArgumentTypeDefaultDescription
xInt  
yInt  
wInt  
hInt  


resize(w, h)

Resize this window to the specified width and height.

Reimplemented from FXWindow.

ArgumentTypeDefaultDescription
wInt  
hInt  


restore(notify=False)

Restore MDI Child to normal.

ArgumentTypeDefaultDescription
notifyBoolFalse 


setFont(fnt)

Set title font.

ArgumentTypeDefaultDescription
fntFXFont  


setHiliteColor(clr)

Change colors.

ArgumentTypeDefaultDescription
clrFXColor  


setIconX(x)

Change iconified position.

ArgumentTypeDefaultDescription
xInt  


setNormalX(x)

Change normal (restored) position.

ArgumentTypeDefaultDescription
xInt  


setTitle(name)

Change MDI Child's title.

ArgumentTypeDefaultDescription
nameString  


setWindowIcon(icon)

Set window icon.

ArgumentTypeDefaultDescription
iconFXIcon  


setWindowMenu(menu)

Set window menu.

ArgumentTypeDefaultDescription
menuFXPopup  


Global flags

MDI Child Window styles

MDI_NORMAL

Normal display mode.

MDI_MAXIMIZED

Window appears maximized.

MDI_MINIMIZED

Window is iconified or minimized.