#include <gtkmm/stockitem.h>
- Deprecated:
- Use icon names instead of StockItem, StockID and BuiltinStockID.
Key values are the codes which are sent whenever a key is pressed or released. The complete list of key values can be found in the gdk/gdkkeysyms.h header file. They are prefixed with GDK_KEY_
.
◆ StockItem() [1/5]
Gtk::StockItem::StockItem |
( |
| ) |
|
Constructs an invalid object.
E.g. for output arguments to methods. There is not much you can do with the object before it has been assigned a valid value.
◆ StockItem() [2/5]
Gtk::StockItem::StockItem |
( |
GtkStockItem * |
castitem, |
|
|
bool |
make_a_copy = false |
|
) |
| |
|
explicit |
◆ StockItem() [3/5]
Gtk::StockItem::StockItem |
( |
const StockItem & |
src | ) |
|
◆ StockItem() [4/5]
Gtk::StockItem::StockItem |
( |
StockItem && |
other | ) |
|
|
noexcept |
◆ ~StockItem()
Gtk::StockItem::~StockItem |
( |
| ) |
|
|
noexcept |
◆ StockItem() [5/5]
◆ get_keyval()
guint Gtk::StockItem::get_keyval |
( |
| ) |
const |
◆ get_label()
Glib::ustring Gtk::StockItem::get_label |
( |
| ) |
const |
◆ get_modifier()
◆ get_stock_id()
StockID Gtk::StockItem::get_stock_id |
( |
| ) |
const |
◆ get_translation_domain()
Glib::ustring Gtk::StockItem::get_translation_domain |
( |
| ) |
const |
◆ gobj() [1/2]
GtkStockItem * Gtk::StockItem::gobj |
( |
| ) |
|
|
inline |
◆ gobj() [2/2]
const GtkStockItem * Gtk::StockItem::gobj |
( |
| ) |
const |
|
inline |
◆ gobj_copy()
GtkStockItem * Gtk::StockItem::gobj_copy |
( |
| ) |
const |
Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.
◆ lookup()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ swap()
void Gtk::StockItem::swap |
( |
StockItem & |
other | ) |
|
|
noexcept |
◆ swap()
- Parameters
-
lhs | The left-hand side |
rhs | The right-hand side |
◆ wrap()
A Glib::wrap() method for this object.
- Parameters
-
object | The C instance. |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
- Returns
- A C++ instance that wraps this C instance.
◆ gobject_
GtkStockItem* Gtk::StockItem::gobject_ |
|
protected |