wex
v20.04.0
|
Offers window data to be used by windows or dialogs. More...
#include <wex/window-data.h>
Public Member Functions | |
window_data () | |
Default constructor. | |
const auto & | button () const |
Returns button flags. | |
window_data & | button (long button) |
Sets buttons flags. More... | |
const auto & | id () const |
Returns window id. | |
window_data & | id (wxWindowID id) |
Sets window id. | |
const auto & | name () const |
Returns name. | |
window_data & | name (const std::string &name) |
Sets window name. | |
auto | parent () const |
Returns parent. | |
window_data & | parent (wxWindow *parent) |
Sets parent. | |
const auto & | pos () const |
Returns window pos. | |
window_data & | pos (const wxPoint &point) |
Sets window pos. | |
const auto & | size () const |
Returns window size. | |
window_data & | size (const wxSize &size) |
Sets window size. | |
const auto & | style () const |
Returns window style. | |
window_data & | style (long style) |
Sets window style. More... | |
const auto & | title () const |
Returns window title. | |
window_data & | title (const std::string &title) |
Sets window title. | |
Offers window data to be used by windows or dialogs.
window_data& wex::window_data::button | ( | long | button | ) |
Sets buttons flags.
This is a bit list of the following flags:
window_data& wex::window_data::style | ( | long | style | ) |
Sets window style.
The style bits available depend on the context. Therefore default style is DATA_NUMBER_NOT_SET,