2 #ifndef _GTKMM_STOCKID_H
3 #define _GTKMM_STOCKID_H
27 #pragma GCC diagnostic push
28 #pragma GCC diagnostic ignored "-Wdeprecated-copy"
30 #pragma GCC diagnostic pop
38 struct BuiltinStockID;
58 explicit StockID(
const Glib::ustring&
id);
80 operator bool()
const;
107 {
return lhs.
equal(rhs); }
111 {
return !lhs.
equal(rhs); }
114 #ifndef DOXYGEN_SHOULD_SKIP_THIS
115 struct StockID_Traits :
public Glib::Container_Helpers::TypeTraits<Glib::ustring>
120 static StockID to_cpp_type(
const char* str) {
return StockID(str); }
127 #ifndef DOXYGEN_SHOULD_SKIP_THIS
132 class Value<
Gtk::StockID> :
public Glib::ValueBase_String
StockID(const Glib::ustring &id)
bool equal(const StockID &rhs) const
StockID(const StockID &other)
bool operator!=(const StockID &lhs, const StockID &rhs)
bool operator==(const StockID &lhs, const StockID &rhs)
const char * get_c_str() const
Glib::ustring get_string() const
StockID & operator=(const StockID &other)
StockID(const BuiltinStockID &id)