![]() |
Lumiera 0.pre.04
»edit your freedom«
|
#include "stage/widget/mini-button.hpp"
A wrapper for ToolButton-like Button widgets.
Definition at line 36 of file mini-button.hpp.
Public Member Functions | |
| MiniWrapper (Gtk::StockID const &stock_id, const Gtk::IconSize icon_size=Gtk::ICON_SIZE_LARGE_TOOLBAR) | |
| Creates a new Button containing the image and text from a stock item. | |
| void | setStockID (Gtk::StockID const &stock_id, const Gtk::IconSize icon_size=Gtk::ICON_SIZE_LARGE_TOOLBAR) |
| Sets a new image from a stock-id for this button. | |
Private Attributes | |
| Gtk::Image | image_ |
| image widget for the button. | |
|
inline |
Creates a new Button containing the image and text from a stock item.
| stock_id | The stock_id of the image. |
| icon_size | The size of the image to show. |
Gtk::Stock::OK and Gtk::Stock::APPLY. Definition at line 49 of file mini-button.hpp.
References MiniWrapper< T >::image_.
|
inline |
Sets a new image from a stock-id for this button.
| stock_id | The stock_id of the image. |
| icon_size | The size of the image to show. |
Definition at line 65 of file mini-button.hpp.
References MiniWrapper< T >::image_.
|
private |
image widget for the button.
Definition at line 40 of file mini-button.hpp.
Referenced by MiniWrapper< T >::MiniWrapper(), and MiniWrapper< T >::setStockID().
Inheritance diagram for MiniWrapper< T >:
Collaboration diagram for MiniWrapper< T >: