33 class FXFileAssociations;
38 PATHBOX_NO_OWN_ASSOC = 0x00020000
74 void drawArrow(
FXDCWindow& dc,FXint ix,FXint iy,FXint s)
const;
75 FXint getPathComponent(FXint mx,FXint my,FXint& f,FXint& t)
const;
76 static FXbool selectPathComponent(
const FXString& base,
const FXString& path,FXint& f,FXint& t);
87 long onPaint(
FXObject*,FXSelector,
void*);
88 long onEnter(
FXObject*,FXSelector,
void*);
89 long onLeave(
FXObject*,FXSelector,
void*);
90 long onLeftBtnPress(
FXObject*,FXSelector,
void*);
91 long onLeftBtnRelease(
FXObject*,FXSelector,
void*);
92 long onMiddleBtnPress(
FXObject*,FXSelector,
void*);
93 long onMiddleBtnRelease(
FXObject*,FXSelector,
void*);
94 long onRightBtnPress(
FXObject*,FXSelector,
void*);
95 long onRightBtnRelease(
FXObject*,FXSelector,
void*);
96 long onMotion(
FXObject*,FXSelector,
void*);
97 long onCmdSetValue(
FXObject*,FXSelector,
void*);
98 long onCmdSetStringValue(
FXObject*,FXSelector,
void*);
99 long onCmdGetStringValue(
FXObject*,FXSelector,
void*);
100 long onCmdSetHelp(
FXObject*,FXSelector,
void*);
101 long onCmdGetHelp(
FXObject*,FXSelector,
void*);
102 long onCmdSetTip(
FXObject*,FXSelector,
void*);
103 long onCmdGetTip(
FXObject*,FXSelector,
void*);
104 long onQueryHelp(
FXObject*,FXSelector,
void*);
105 long onQueryTip(
FXObject*,FXSelector,
void*);
106 long onTipTimer(
FXObject*,FXSelector,
void*);
110 FXPathBox(
FXComposite *p,
FXObject* tgt=
nullptr,FXSelector sel=0,FXuint opts=FRAME_SUNKEN|FRAME_THICK,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);
113 virtual void create();
116 virtual void detach();
119 virtual void destroy();
122 virtual void enable();
125 virtual void disable();
128 virtual FXint getDefaultWidth();
131 virtual FXint getDefaultHeight();
134 void setDirectory(
const FXString& newpath,FXbool notify=
false);
140 void setFont(
FXFont *fnt);
146 void setAssociations(
FXFileAssociations* assoc,FXbool owned=
false,FXbool notify=
false);
152 void setNumColumns(FXint cols);
158 void setTextColor(FXColor clr);
164 void setSelBackColor(FXColor clr);
170 void setSelTextColor(FXColor clr);
188 virtual void save(
FXStream& store)
const;
FXColor getSelBackColor() const
Return selected background color.
Definition: FXPathBox.h:167
const FXString & getDirectory() const
Return current directory.
Definition: FXPathBox.h:137
The Frame widget provides borders around some contents.
Definition: FXFrame.h:58
Base composite.
Definition: FXComposite.h:32
const FXString & getTipText() const
Get the tool tip message for this label.
Definition: FXPathBox.h:185
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
FXColor getTextColor() const
Get the current text color.
Definition: FXPathBox.h:161
Definition: FX4Splitter.h:28
An Icon is an image with two additional server-side resources: a shape bitmap, which is used to mask ...
Definition: FXIcon.h:42
Path selection widget.
Definition: FXPathBox.h:47
const FXString & getHelpText() const
Get the status line help text for this label.
Definition: FXPathBox.h:179
The FileAssociations object manages file associations between a file extension and a FileAssoc record...
Definition: FXFileAssociations.h:101
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:138
Window Device Context.
Definition: FXDCWindow.h:48
void setTipText(const FXString &text)
Set the tool tip message for this label.
Definition: FXPathBox.h:182
void setHelpText(const FXString &text)
Set the status line help text for this label.
Definition: FXPathBox.h:176
FXFileAssociations * getAssociations() const
Return file associations.
Definition: FXPathBox.h:149
Font class.
Definition: FXFont.h:137
FXFont * getFont() const
Get the text font.
Definition: FXPathBox.h:143
FXColor getSelTextColor() const
Return selected text color.
Definition: FXPathBox.h:173
FXString provides essential string manipulation capabilities in FOX.
Definition: FXString.h:42
FXint getNumColumns() const
Return number of visible columns.
Definition: FXPathBox.h:155