#include <wx/busyinfo.h>
Parameters for wxBusyInfo.
This class exists only in order to make passing attributes to wxBusyInfo constructor easier and the code doing it more readable.
All methods of this class return the reference to the object on which they are called, making it possible to chain them together, e.g. typically you would just create a temporary wxBusyInfoFlags object and then call the methods corresponding to the attributes you want to set, before finally passing the result to wxBusyInfo constructor, e.g.:
Public Member Functions | |
wxBusyInfoFlags () | |
Default constructor initializes all attributes to default values. More... | |
wxBusyInfoFlags & | Parent (wxWindow *parent) |
Sets the parent for wxBusyInfo. More... | |
wxBusyInfoFlags & | Icon (const wxIcon &icon) |
Sets the icon to show in wxBusyInfo. More... | |
wxBusyInfoFlags & | Title (const wxString &title) |
Sets the title, shown prominently in wxBusyInfo window. More... | |
wxBusyInfoFlags & | Text (const wxString &text) |
Sets the more detailed text, shown under the title, if any. More... | |
wxBusyInfoFlags & | Label (const wxString &label) |
Same as Text() but doesn't interpret the string as containing markup. More... | |
wxBusyInfoFlags & | Foreground (const wxColour &foreground) |
Sets the foreground colour of the title and text strings. More... | |
wxBusyInfoFlags & | Background (const wxColour &background) |
Sets the background colour of wxBusyInfo window. More... | |
wxBusyInfoFlags & | Transparency (wxByte alpha) |
Sets the transparency of wxBusyInfo window. More... | |
wxBusyInfoFlags::wxBusyInfoFlags | ( | ) |
Default constructor initializes all attributes to default values.
Call the other methods to really fill in the object.
wxBusyInfoFlags& wxBusyInfoFlags::Background | ( | const wxColour & | background | ) |
Sets the background colour of wxBusyInfo window.
wxBusyInfoFlags& wxBusyInfoFlags::Foreground | ( | const wxColour & | foreground | ) |
Sets the foreground colour of the title and text strings.
wxBusyInfoFlags& wxBusyInfoFlags::Icon | ( | const wxIcon & | icon | ) |
Sets the icon to show in wxBusyInfo.
wxBusyInfoFlags& wxBusyInfoFlags::Label | ( | const wxString & | label | ) |
Same as Text() but doesn't interpret the string as containing markup.
This method should be used if the text shown in wxBusyInfo comes from external source and so may contain characters having special meaning in simple markup, e.g. '<'.
wxBusyInfoFlags& wxBusyInfoFlags::Parent | ( | wxWindow * | parent | ) |
Sets the parent for wxBusyInfo.
wxBusyInfoFlags& wxBusyInfoFlags::Text | ( | const wxString & | text | ) |
Sets the more detailed text, shown under the title, if any.
The text string may contain markup as described in wxControl::SetLabelMarkup().
wxBusyInfoFlags& wxBusyInfoFlags::Title | ( | const wxString & | title | ) |
Sets the title, shown prominently in wxBusyInfo window.
The title string may contain markup as described in wxControl::SetLabelMarkup().
wxBusyInfoFlags& wxBusyInfoFlags::Transparency | ( | wxByte | alpha | ) |
Sets the transparency of wxBusyInfo window.
alpha | Value in wxALPHA_TRANSPARENT (0) to wxALPHA_OPAQUE (255) range. |