2 #ifndef _GTKMM_STOCKID_H
3 #define _GTKMM_STOCKID_H
26 #pragma GCC diagnostic push
27 #pragma GCC diagnostic ignored "-Wdeprecated-copy"
29 #pragma GCC diagnostic pop
34 struct BuiltinStockID;
54 explicit StockID(
const Glib::ustring&
id);
76 operator bool()
const;
103 {
return lhs.
equal(rhs); }
107 {
return !lhs.
equal(rhs); }
110 #ifndef DOXYGEN_SHOULD_SKIP_THIS
111 struct StockID_Traits :
public Glib::Container_Helpers::TypeTraits<Glib::ustring>
116 static StockID to_cpp_type(
const char* str) {
return StockID(str); }
123 #ifndef DOXYGEN_SHOULD_SKIP_THIS
128 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)