Button with an arrow; the arrow can point in any direction.
Inheritance:
Public Methods
-
FXArrowButton(FXComposite* p, FXObject* tgt=NULL, FXSelector sel=0, FXuint opts=ARROW_NORMAL, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=DEFAULT_PAD, FXint pr=DEFAULT_PAD, FXint pt=DEFAULT_PAD, FXint pb=DEFAULT_PAD)
- Construct arrow button
-
virtual FXint getDefaultWidth()
- Get default width
-
virtual FXint getDefaultHeight()
- Get default height
-
virtual void enable()
- Enable the button
-
virtual void disable()
- Disable the button
-
virtual FXbool canFocus() const
- Returns true because a button can receive focus
-
void setState(FXbool s)
- Set the button state (where TRUE means the button is down)
-
FXbool getState() const
- Get the button state (where TRUE means the button is down)
-
void setHelpText(const FXString& text)
- Set status line help text for this arrow button
-
FXString getHelpText() const
- Get status line help text for this arrow button
-
void setTipText(const FXString& text)
- Set tool tip message for this arrow button
-
FXString getTipText() const
- Get tool tip message for this arrow button
-
void setArrowStyle(FXuint style)
- Set the arrow style flags
-
FXuint getArrowStyle() const
- Get the arrow style flags
-
void setArrowSize(FXint size)
- Set the default arrow size
-
FXint getArrowSize() const
- Get the default arrow size
-
void setJustify(FXuint mode)
- Set the current justification mode
-
FXuint getJustify() const
- Get the current justification mode
-
FXColor getArrowColor() const
- Get the fill color for the arrow
-
void setArrowColor(FXColor clr)
- Set the fill color for the arrow
-
virtual void save(FXStream& store) const
- Save label to a stream
-
virtual void load(FXStream& store)
- Load label from a stream
-
virtual ~FXArrowButton()
- Destructor
Inherited from FXFrame:
Public Methods
-
void setFrameStyle(FXuint style)
-
FXuint getFrameStyle() const
-
FXint getBorderWidth() const
-
void setPadTop(FXint pt)
-
FXint getPadTop() const
-
void setPadBottom(FXint pb)
-
FXint getPadBottom() const
-
void setPadLeft(FXint pl)
-
FXint getPadLeft() const
-
void setPadRight(FXint pr)
-
FXint getPadRight() const
-
void setHiliteColor(FXColor clr)
-
FXColor getHiliteColor() const
-
void setShadowColor(FXColor clr)
-
FXColor getShadowColor() const
-
void setBorderColor(FXColor clr)
-
FXColor getBorderColor() const
-
void setBaseColor(FXColor clr)
-
FXColor getBaseColor() 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 isOwnerOf(const FXWindow* window) 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 create()
-
virtual void detach()
-
virtual void destroy()
-
virtual void raise()
-
virtual void lower()
-
virtual void move(FXint x, FXint y)
-
virtual void resize(FXint w, FXint h)
-
virtual void position(FXint x, FXint y, FXint w, FXint h)
-
virtual void recalc()
-
void forceRefresh()
-
virtual void reparent(FXWindow* newparent)
-
void scroll(FXint x, FXint y, FXint w, FXint h, FXint dx, FXint dy) const
-
void update(FXint x, FXint y, FXint w, FXint h) const
-
void update() const
-
void repaint(FXint x, FXint y, FXint w, FXint h) const
-
void repaint() const
-
void grab()
-
void ungrab()
-
FXbool grabbed() const
-
void grabKeyboard()
-
void ungrabKeyboard()
-
FXbool grabbedKeyboard() const
-
virtual void show()
-
virtual void hide()
-
FXbool shown() const
-
virtual FXbool isComposite() 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) const
-
void clearDragRectangle() const
-
void acceptDrop(FXDragAction action=DRAG_ACCEPT) const
-
FXDragAction didAccept() const
-
FXbool inquireDNDTypes(FXDNDOrigin origin, FXDragType*& types, FXuint& numtypes) const
-
FXbool offeredDNDType(FXDNDOrigin origin, FXDragType type) const
-
FXDragAction inquireDNDAction() const
-
FXbool setDNDData(FXDNDOrigin origin, FXDragType type, FXuchar* data, FXuint size) const
-
FXbool getDNDData(FXDNDOrigin origin, FXDragType type, FXuchar*& data, FXuint& size) const
-
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
Button with an arrow; the arrow can point in any direction.
When clicked, the arrow button sends a SEL_COMMAND to its target.
When ARROW_REPEAT is passed, the arrow button sends a SEL_COMMAND
repeatedly while the button is pressed.
FXArrowButton(FXComposite* p, FXObject* tgt=NULL, FXSelector sel=0, FXuint opts=ARROW_NORMAL, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=DEFAULT_PAD, FXint pr=DEFAULT_PAD, FXint pt=DEFAULT_PAD, FXint pb=DEFAULT_PAD)
- Construct arrow button
virtual FXint getDefaultWidth()
- Get default width
virtual FXint getDefaultHeight()
- Get default height
virtual void enable()
- Enable the button
virtual void disable()
- Disable the button
virtual FXbool canFocus() const
- Returns true because a button can receive focus
void setState(FXbool s)
- Set the button state (where TRUE means the button is down)
FXbool getState() const
- Get the button state (where TRUE means the button is down)
void setHelpText(const FXString& text)
- Set status line help text for this arrow button
FXString getHelpText() const
- Get status line help text for this arrow button
void setTipText(const FXString& text)
- Set tool tip message for this arrow button
FXString getTipText() const
- Get tool tip message for this arrow button
void setArrowStyle(FXuint style)
- Set the arrow style flags
FXuint getArrowStyle() const
- Get the arrow style flags
void setArrowSize(FXint size)
- Set the default arrow size
FXint getArrowSize() const
- Get the default arrow size
void setJustify(FXuint mode)
- Set the current justification mode
FXuint getJustify() const
- Get the current justification mode
FXColor getArrowColor() const
- Get the fill color for the arrow
void setArrowColor(FXColor clr)
- Set the fill color for the arrow
virtual void save(FXStream& store) const
- Save label to a stream
virtual void load(FXStream& store)
- Load label from a stream
virtual ~FXArrowButton()
- Destructor
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.