wex v24.10.0
|
Offers window data to be used by windows or (file) dialogs. More...
#include <wex/factory/window.h>
Public Member Functions | |
window () | |
Default constructor. | |
window & | allow_move_path_extension (const std::string &rhs) |
Sets move path extension. | |
const auto & | allow_move_path_extension () const |
Returns the extension for which it is allowed to move path extension in a file dialog. | |
const auto & | button () const |
Returns button flags. | |
window & | button (long button) |
Sets buttons flags. | |
const auto & | id () const |
Returns window id. | |
window & | id (wxWindowID id) |
Sets window id. | |
const auto & | name () const |
Returns name. | |
window & | name (const std::string &name) |
Sets window name. | |
auto | parent () const |
Returns parent. | |
window & | parent (wxWindow *parent) |
Sets parent. | |
const auto & | pos () const |
Returns window pos. | |
window & | pos (const wxPoint &point) |
Sets window pos. | |
const auto & | size () const |
Returns window size. | |
window & | size (const wxSize &size) |
Sets window size. | |
const auto & | style () const |
Returns window style. | |
window & | style (long style) |
Sets window style. | |
const auto & | title () const |
Returns window title. | |
window & | title (const std::string &title) |
Sets window title. | |
const auto & | wildcard () const |
Returns wildcard. | |
window & | wildcard (const std::string &rhs) |
Sets wildcard. | |
Offers window data to be used by windows or (file) dialogs.
window & wex::data::window::allow_move_path_extension | ( | const std::string & | rhs | ) |
Sets move path extension.
This is used in file_dialog, to move a matching path extension to front. Default extensions are not moved.
window & wex::data::window::button | ( | long | button | ) |
Sets buttons flags.
This is a bit list of the following flags:
window & wex::data::window::style | ( | long | style | ) |
Sets window style.
The style bits available depend on the context. Therefore default style is NUMBER_NOT_SET,
window & wex::data::window::wildcard | ( | const std::string & | rhs | ) |
Sets wildcard.
if wildcard is default and file is initialized, the wildcard is taken from the file