#include <wx/statbmp.h>

Public Member Functions | |
| wxStaticBitmap () | |
| wxStaticBitmap (wxWindow *parent, wxWindowID id, const wxBitmap &label, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name="staticBitmap") | |
| bool | Create (wxWindow *parent, wxWindowID id, const wxBitmap &label, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name="staticBitmap") |
| virtual wxBitmap | GetBitmap () const |
| virtual wxIcon | GetIcon () const |
| virtual void | SetBitmap (const wxBitmap &label) |
| virtual void | SetIcon (const wxIcon &label) |
| wxStaticBitmap::wxStaticBitmap | ( | ) |
Default constructor
| wxStaticBitmap::wxStaticBitmap | ( | wxWindow * | parent, | |
| wxWindowID | id, | |||
| const wxBitmap & | label, | |||
| const wxPoint & | pos = wxDefaultPosition, |
|||
| const wxSize & | size = wxDefaultSize, |
|||
| long | style = 0, |
|||
| const wxString & | name = "staticBitmap" | |||
| ) |
Constructor, creating and showing a static bitmap control.
| parent | Parent window. Should not be NULL. | |
| id | Control identifier. A value of -1 denotes a default value. | |
| label | Bitmap label. | |
| pos | Window position. | |
| size | Window size. | |
| style | Window style. See wxStaticBitmap. | |
| name | Window name. |
| bool wxStaticBitmap::Create | ( | wxWindow * | parent, | |
| wxWindowID | id, | |||
| const wxBitmap & | label, | |||
| const wxPoint & | pos = wxDefaultPosition, |
|||
| const wxSize & | size = wxDefaultSize, |
|||
| long | style = 0, |
|||
| const wxString & | name = "staticBitmap" | |||
| ) |
Creation function, for two-step construction. For details see wxStaticBitmap().
| virtual wxBitmap wxStaticBitmap::GetBitmap | ( | ) | const [virtual] |
Returns the bitmap currently used in the control. Notice that this method can be called even if SetIcon() had been used.
| virtual wxIcon wxStaticBitmap::GetIcon | ( | ) | const [virtual] |
Returns the icon currently used in the control. Notice that this method can only be called if SetIcon() had been used: an icon can't be retrieved from the control if a bitmap had been set (using wxStaticBitmap::SetBitmap).
| virtual void wxStaticBitmap::SetBitmap | ( | const wxBitmap & | label | ) | [virtual] |
| virtual void wxStaticBitmap::SetIcon | ( | const wxIcon & | label | ) | [virtual] |
Sets the label to the given icon.
| label | The new icon. |
|
[ top ] |