Lumiera
0.pre.03
»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. More... | |
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. More... | |
Private Attributes | |
Gtk::Image | image_ |
image widget for the button. More... | |
|
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.
|
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.
|
private |
image widget for the button.
Definition at line 40 of file mini-button.hpp.