class Fox::FXWindow

Base class for all windows

Events

The following messages are sent by FXWindow to its target:

SEL_MAP

sent when the window is mapped to the screen; the message data is an FXEvent instance.

SEL_UNMAP

sent when the window is unmapped; the message data is an FXEvent instance.

SEL_CONFIGURE

sent when the window’s size changes; the message data is an FXEvent instance.

SEL_ENTER

sent when the mouse cursor enters this window

SEL_LEAVE

sent when the mouse cursor leaves this window

SEL_FOCUSIN

sent when this window gains the focus

SEL_FOCUSOUT

sent when this window loses the focus

SEL_UPDATE

sent when this window needs an update

SEL_UNGRABBED

sent when this window loses the mouse grab (or capture)

For each of the following keyboard-related events, the message data is an FXEvent instance:

SEL_KEYPRESS

sent when a key is pressed

SEL_KEYRELEASE

sent when a key is released

For each of the following mouse-related events, the message data is an FXEvent instance:

SEL_MOTION

sent when the mouse moves

SEL_LEFTBUTTONPRESS

sent when the left mouse button goes down

SEL_LEFTBUTTONRELEASE

sent when the left mouse button goes up

SEL_MIDDLEBUTTONPRESS

sent when the middle mouse button goes down

SEL_MIDDLEBUTTONRELEASE

sent when the middle mouse button goes up

SEL_RIGHTBUTTONPRESS

sent when the right mouse button goes down

SEL_RIGHTBUTTONRELEASE

sent when the right mouse button goes up

SEL_MOUSEWHEEL

sent when the mouse wheel is scrolled

For each of the following selection-related events, the message data is an FXEvent instance:

SEL_SELECTION_GAINED

sent when this window acquires the selection

SEL_SELECTION_LOST

sent when this window loses the selection

SEL_SELECTION_REQUEST

sent when this window’s selection is requested

For each of the following clipboard-related events, the message data is an FXEvent instance:

SEL_CLIPBOARD_GAINED

sent when this window acquires the clipboard

SEL_CLIPBOARD_LOST

sent when this window loses the clipboard

SEL_CLIPBOARD_REQUEST

sent when this window’s clipboard data is requested

For each of the following drag-and-drop events, the message data is an FXEvent instance:

SEL_BEGINDRAG

sent at the beginning of a drag operation

SEL_DRAGGED

sent while stuff is being dragged around

SEL_ENDDRAG

sent at the end of a drag operation

SEL_DND_ENTER

drag-and-drop enter

SEL_DND_LEAVE

drag-and-drop leave

SEL_DND_MOTION

drag-and-drop motion

SEL_DND_DROP

drag-and-drop motion

SEL_DND_REQUEST

drag-and-drop request

Layout hints for child widgets

LAYOUT_NORMAL

Default layout mode

LAYOUT_SIDE_TOP

Pack on top side (default)

LAYOUT_SIDE_BOTTOM

Pack on bottom side

LAYOUT_SIDE_LEFT

Pack on left side

LAYOUT_SIDE_RIGHT

Pack on right side

LAYOUT_FILL_COLUMN

Matrix column is stretchable

LAYOUT_FILL_ROW

Matrix row is stretchable

LAYOUT_LEFT

Stick on left (default)

LAYOUT_RIGHT

Stick on right

LAYOUT_CENTER_X

Center horizontally

LAYOUT_FIX_X

X fixed

LAYOUT_TOP

Stick on top (default)

LAYOUT_BOTTOM

Stick on bottom

LAYOUT_CENTER_Y

Center vertically

LAYOUT_FIX_Y

Y fixed

LAYOUT_FIX_WIDTH

Width fixed

LAYOUT_FIX_HEIGHT

Height fixed

LAYOUT_MIN_WIDTH

Minimum width is the default

LAYOUT_MIN_HEIGHT

Minimum height is the default

LAYOUT_FILL_X

Stretch or shrink horizontally

LAYOUT_FILL_Y

Stretch or shrink vertically

LAYOUT_FILL

Stretch or shrink in both directions

LAYOUT_EXPLICIT

Explicit placement

LAYOUT_DOCK_SAME

Dock on same galley, if it fits

LAYOUT_DOCK_NEXT

Dock on next galley

Frame border appearance styles (for subclasses)

FRAME_NONE

Default is no frame

FRAME_SUNKEN

Sunken border

FRAME_RAISED

Raised border

FRAME_THICK

Thick border

FRAME_GROOVE

A groove or etched-in border

FRAME_RIDGE

A ridge or embossed border

FRAME_LINE

Simple line border

FRAME_NORMAL

Regular raised/thick border

Packing style (for packers)

PACK_NORMAL

Default is each its own size

PACK_UNIFORM_HEIGHT

Uniform height

PACK_UNIFORM_WIDTH

Uniform width

Message IDs common to most windows

ID_NONE

x

ID_HIDE

x

ID_SHOW

x

ID_TOGGLESHOWN

x

ID_LOWER

x

ID_RAISE

x

ID_DELETE

x

ID_DISABLE

x

ID_ENABLE

x

ID_TOGGLEENABLED

x

ID_UNCHECK

x

ID_CHECK

x

ID_UNKNOWN

x

ID_UPDATE

x

ID_AUTOSCROLL

x

ID_HSCROLLED

x

ID_VSCROLLED

x

ID_SETVALUE

x

ID_SETINTVALUE

x

ID_SETREALVALUE

x

ID_SETSTRINGVALUE

x

ID_SETINTRANGE

x

ID_SETREALRANGE

x

ID_GETINTVALUE

x

ID_GETREALVALUE

x

ID_GETSTRINGVALUE

x

ID_GETINTRANGE

x

ID_GETREALRANGE

x

ID_QUERY_MENU

x

ID_HOTKEY

x

ID_ACCEL

x

ID_UNPOST

x

ID_POST

x

ID_MDI_TILEHORIZONTAL

x

ID_MDI_TILEVERTICAL

x

ID_MDI_CASCADE

x

ID_MDI_MAXIMIZE

x

ID_MDI_MINIMIZE

x

ID_MDI_RESTORE

x

ID_MDI_CLOSE

x

ID_MDI_WINDOW

x

ID_MDI_MENUWINDOW

x

ID_MDI_MENUMINIMIZE

x

ID_MDI_MENURESTORE

x

ID_MDI_MENUCLOSE

x

ID_MDI_NEXT

x

ID_MDI_PREV

x