picker controls improvements: fixes to valid paths recognition and event generation under GTK (patch 1510064)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -32,11 +32,7 @@ It is only available if \texttt{wxUSE\_COLOURPICKERCTRL} is set to $1$ (the defa
|
||||
|
||||
\twocolwidtha{5cm}%
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{\windowstyle{wxCLRP\_DEFAULT}}{Default style.}
|
||||
\twocolitem{\windowstyle{wxCLRP\_USE\_TEXTCTRL}}{Creates a text control to the left of the
|
||||
picker button which is completely managed by the \helpref{wxColourPickerCtrl}{wxcolourpickerctrl}
|
||||
and which can be used by the user to specify a colour (see \helpref{SetColour}{wxcolourpickerctrlsetcolour}).
|
||||
The text control is automatically synchronized with button's value. Use functions defined in \helpref{wxPickerBase}{wxpickerbase} to modify the text control.}
|
||||
\twocolitem{\windowstyle{wxCLRP\_DEFAULT}}{The default style: 0.}
|
||||
\twocolitem{\windowstyle{wxCLRP\_USE\_TEXTCTRL}}{Creates a text control to the left of the
|
||||
picker button which is completely managed by the \helpref{wxColourPickerCtrl}{wxcolourpickerctrl}
|
||||
and which can be used by the user to specify a colour (see \helpref{SetColour}{wxcolourpickerctrlsetcolour}).
|
||||
|
@@ -32,7 +32,8 @@ It is only available if \texttt{wxUSE\_DIRPICKERCTRL} is set to $1$ (the default
|
||||
|
||||
\twocolwidtha{5cm}%
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{\windowstyle{wxDIRP\_DEFAULT\_STYLE}}{Default style.}
|
||||
\twocolitem{\windowstyle{wxDIRP\_DEFAULT\_STYLE}}{The default style: includes
|
||||
wxDIRP\_DIR\_MUST\_EXIST and, under wxMSW only, wxDIRP\_USE\_TEXTCTRL.}
|
||||
\twocolitem{\windowstyle{wxDIRP\_USE\_TEXTCTRL}}{Creates a text control to the left of the
|
||||
picker button which is completely managed by the \helpref{wxDirPickerCtrl}{wxdirpickerctrl}
|
||||
and which can be used by the user to specify a path (see \helpref{SetPath}{wxdirpickerctrlsetpath}).
|
||||
@@ -47,7 +48,10 @@ The text control is automatically synchronized with button's value. Use function
|
||||
|
||||
\twocolwidtha{7cm}%
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{{\bf EVT\_DIRPICKER\_CHANGED(id, func)}}{The user changed the directory selected in the control either using the button or using text control (see wxDIRP_USE_TEXTCTRL; note that in this case the event is fired only if the user's input is valid, e.g. an existing directory path).}
|
||||
\twocolitem{{\bf EVT\_DIRPICKER\_CHANGED(id, func)}}{The user changed the
|
||||
directory selected in the control either using the button or using text control
|
||||
(see wxDIRP\_USE\_TEXTCTRL; note that in this case the event is fired only if
|
||||
the user's input is valid, e.g. an existing directory path).}
|
||||
\end{twocollist}
|
||||
|
||||
\wxheading{See also}
|
||||
|
@@ -32,7 +32,9 @@ It is only available if \texttt{wxUSE\_FILEPICKERCTRL} is set to $1$ (the defaul
|
||||
|
||||
\twocolwidtha{5cm}%
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{\windowstyle{wxFLP\_DEFAULT\_STYLE}}{Default style.}
|
||||
\twocolitem{\windowstyle{wxFLP\_DEFAULT\_STYLE}}{The default style: includes
|
||||
wxFLP\_OPEN | wxFLP\_FILE\_MUST\_EXIST and, under wxMSW only,
|
||||
wxFLP\_USE\_TEXTCTRL.}
|
||||
\twocolitem{\windowstyle{wxFLP\_USE\_TEXTCTRL}}{Creates a text control to the left of the
|
||||
picker button which is completely managed by the \helpref{wxFilePickerCtrl}{wxfilepickerctrl}
|
||||
and which can be used by the user to specify a path (see \helpref{SetPath}{wxfilepickerctrlsetpath}).
|
||||
|
@@ -32,7 +32,8 @@ It is only available if \texttt{wxUSE\_FONTPICKERCTRL} is set to $1$ (the defaul
|
||||
|
||||
\twocolwidtha{5cm}%
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{\windowstyle{wxFNTP\_DEFAULT}}{Default style.}
|
||||
\twocolitem{\windowstyle{wxFNTP\_DEFAULT}}{The default style:
|
||||
wxFNTP\_FONTDESC\_AS\_LABEL | wxFNTP\_USEFONT\_FOR\_LABEL.}
|
||||
\twocolitem{\windowstyle{wxFNTP\_USE\_TEXTCTRL}}{Creates a text control to the left of the
|
||||
picker button which is completely managed by the \helpref{wxFontPickerCtrl}{wxfontpickerctrl}
|
||||
and which can be used by the user to specify a font (see \helpref{SetSelectedFont}{wxfontpickerctrlsetselectedfont}).
|
||||
|
Reference in New Issue
Block a user