138 virtual bool doesOverrideRedirect()
const;
141 virtual FXID GetDC()
const;
142 virtual int ReleaseDC(
FXID)
const;
143 virtual const char* GetClass()
const;
145 void addColormapWindows();
146 void remColormapWindows();
155 FLAG_SHOWN = 0x00000001,
156 FLAG_ENABLED = 0x00000002,
157 FLAG_UPDATE = 0x00000004,
158 FLAG_DROPTARGET = 0x00000008,
159 FLAG_FOCUSED = 0x00000010,
160 FLAG_DIRTY = 0x00000020,
161 FLAG_RECALC = 0x00000040,
162 FLAG_TIP = 0x00000080,
163 FLAG_HELP = 0x00000100,
164 FLAG_DEFAULT = 0x00000200,
165 FLAG_INITIAL = 0x00000400,
166 FLAG_SHELL = 0x00000800,
167 FLAG_ACTIVE = 0x00001000,
168 FLAG_PRESSED = 0x00002000,
169 FLAG_KEY = 0x00004000,
170 FLAG_CARET = 0x00008000,
171 FLAG_CHANGED = 0x00010000,
172 FLAG_LASSO = 0x00020000,
173 FLAG_TRYDRAG = 0x00040000,
174 FLAG_DODRAG = 0x00080000,
175 FLAG_SCROLLINSIDE = 0x00100000,
176 FLAG_SCROLLING = 0x00200000,
177 FLAG_OWNED = 0x00400000
279 ID_MDI_TILEHORIZONTAL,
299 static const FXchar octetTypeName[];
301 static const FXchar textTypeName[];
302 static const FXchar colorTypeName[];
304 static const FXchar utf8TypeName[];
305 static const FXchar utf16TypeName[];
313 FXWindow* getParent()
const {
return parent; }
316 FXWindow* getOwner()
const {
return owner; }
319 FXWindow* getShell()
const;
322 FXWindow* getRoot()
const;
325 FXWindow* getNext()
const {
return next; }
328 FXWindow* getPrev()
const {
return prev; }
331 FXWindow* getFirst()
const {
return first; }
334 FXWindow* getLast()
const {
return last; }
337 FXWindow* getFocus()
const {
return focus; }
340 void setKey(
FXuint k){ wk=k; }
343 FXuint getKey()
const {
return wk; }
346 void setTarget(FXObject *t){ target=t; }
349 FXObject* getTarget()
const {
return target; }
352 void setSelector(
FXSelector sel){ message=sel; }
355 FXSelector getSelector()
const {
return message; }
358 FXint getX()
const {
return xpos; }
361 FXint getY()
const {
return ypos; }
364 virtual FXint getDefaultWidth();
367 virtual FXint getDefaultHeight();
370 virtual FXint getWidthForHeight(
FXint givenheight);
373 virtual FXint getHeightForWidth(
FXint givenwidth);
386 void setWidth(
FXint w);
393 void setHeight(
FXint h);
396 void setLayoutHints(
FXuint lout);
399 FXuint getLayoutHints()
const;
402 FXAccelTable* getAccelTable()
const {
return accelTable; }
405 void setAccelTable(
FXAccelTable* acceltable){ accelTable=acceltable; }
414 void setHelpTag(
const FXString& text){ tag=text; }
417 const FXString& getHelpTag()
const {
return tag; }
420 bool isShell()
const;
423 bool isOwnerOf(
const FXWindow* window)
const;
426 bool isChildOf(
const FXWindow* window)
const;
429 bool containsChild(
const FXWindow* child)
const;
435 FXint numChildren()
const;
462 void createComposeContext();
465 void destroyComposeContext();
468 void setDefaultCursor(
FXCursor* cur);
471 FXCursor* getDefaultCursor()
const {
return defaultCursor; }
474 void setDragCursor(FXCursor* cur);
477 FXCursor* getDragCursor()
const {
return dragCursor; }
486 bool isEnabled()
const;
489 bool isActive()
const;
492 virtual bool canFocus()
const;
495 bool hasFocus()
const;
498 bool inFocusChain()
const;
501 virtual void setFocus();
504 virtual void killFocus();
507 virtual void changeFocus(FXWindow *child);
519 bool isDefault()
const;
522 void setInitial(
bool enable=
true);
525 bool isInitial()
const;
528 virtual void enable();
531 virtual void disable();
534 virtual void create();
537 virtual void attach(
FXID w);
540 virtual void detach();
543 virtual void destroy();
546 virtual void setShape(
const FXRegion& region);
549 virtual void setShape(FXBitmap* bitmap);
552 virtual void setShape(FXIcon* icon);
555 virtual void clearShape();
558 virtual void raise();
561 virtual void lower();
585 virtual void recalc();
588 virtual void layout();
594 virtual void reparent(FXWindow* father,FXWindow *other=
NULL);
609 void repaint()
const;
621 bool grabbed()
const;
627 void ungrabKeyboard();
630 bool grabbedKeyboard()
const;
642 virtual bool isComposite()
const;
645 bool underCursor()
const;
648 bool hasSelection()
const;
654 bool releaseSelection();
657 bool hasClipboard()
const;
663 bool releaseClipboard();
666 virtual void dropEnable();
669 virtual void dropDisable();
672 bool isDropEnabled()
const;
675 bool isDragging()
const;
693 bool isDropTarget()
const;
705 void clearDragRectangle()
const;
758 virtual bool contains(
FXint parentx,
FXint parenty)
const;
767 virtual void setBackColor(
FXColor clr);
770 FXColor getBackColor()
const {
return backColor; }
772 virtual bool doesSaveUnder()
const;
785 virtual void save(
FXStream& store)
const;
Pack on top side (default)
Definition: FXWindow.h:41
Accept any drop action.
Definition: fxdefs.h:325
FXDragAction
Drag and drop actions.
Definition: fxdefs.h:323
unsigned long FXID
Definition: fxdefs.h:435
Default layout mode.
Definition: FXWindow.h:40
Width fixed.
Definition: FXWindow.h:58
char FXchar
Definition: fxdefs.h:380
Default is no frame.
Definition: FXWindow.h:75
#define TRUE
Definition: fxdefs.h:32
X fixed.
Definition: FXWindow.h:50
Base class for all windows.
Definition: FXWindow.h:115
Uniform width.
Definition: FXWindow.h:94
unsigned int FXuint
Definition: fxdefs.h:389
FXuint FXHotKey
Definition: fxdefs.h:450
FXuint FXSelector
Association key.
Definition: FXObject.h:53
The accelerator table sends a message to a specific target object when the indicated key and modifier...
Definition: FXAccelTable.h:39
#define FXAPI
Definition: fxdefs.h:122
Copy.
Definition: fxdefs.h:326
FXuchar FXbool
Definition: fxdefs.h:386
Stretch or shrink horizontally.
Definition: FXWindow.h:62
Stick on bottom.
Definition: FXWindow.h:52
Application Object.
Definition: FXApp.h:158
Sunken border.
Definition: FXWindow.h:76
Reject all drop actions.
Definition: fxdefs.h:324
Default is each its own size.
Definition: FXWindow.h:92
Base composite.
Definition: FXComposite.h:35
FXDNDOrigin
Origin of data.
Definition: fxdefs.h:338
#define NULL
Definition: fxdefs.h:41
Matrix row is stretchable.
Definition: FXWindow.h:46
FXuint FXColor
Definition: fxdefs.h:447
Stick on top (default)
Definition: FXWindow.h:51
Minimum height is the default.
Definition: FXWindow.h:61
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:99
Pack on left side.
Definition: FXWindow.h:43
Center horizontally.
Definition: FXWindow.h:49
Matrix column is stretchable.
Definition: FXWindow.h:45
Uniform height.
Definition: FXWindow.h:93
Dock on same galley if it fits.
Definition: FXWindow.h:55
Stick on right.
Definition: FXWindow.h:48
Center vertically.
Definition: FXWindow.h:53
Definition: FX4Splitter.h:31
int FXint
Definition: fxdefs.h:390
Y fixed.
Definition: FXWindow.h:54
Compose Context manages the state of an input method if input method support is enabled.
Definition: FXComposeContext.h:42
Cursor class.
Definition: FXCursor.h:68
Raised border.
Definition: FXWindow.h:77
Stretch or shrink in both directions.
Definition: FXWindow.h:64
Visual describes pixel format of a drawable.
Definition: FXVisual.h:84
Stick on left (default)
Definition: FXWindow.h:47
Definition: FXWindow.h:57
Pack on bottom side.
Definition: FXWindow.h:42
height fixed
Definition: FXWindow.h:59
Minimum width is the default.
Definition: FXWindow.h:60
Regular raised/thick border.
Definition: FXWindow.h:82
Pack on right side.
Definition: FXWindow.h:44
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:166
unsigned char FXuchar
Definition: fxdefs.h:385
Thick border.
Definition: FXWindow.h:78
Explicit placement.
Definition: FXWindow.h:65
FXID FXDragType
Definition: fxdefs.h:454
A ridge or embossed border.
Definition: FXWindow.h:80
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92
Simple line border.
Definition: FXWindow.h:81
Stretch or shrink vertically.
Definition: FXWindow.h:63
FXString provides essential string manipulation capabilities.
Definition: FXString.h:33
A groove or etched-in border.
Definition: FXWindow.h:79
Drawable is an abstract base class for any surface that can be drawn upon, such as a FXWindow...
Definition: FXDrawable.h:41
Dock on next galley.
Definition: FXWindow.h:56