7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
31 #include <glibmm/value.h>
32 #include <gtkmmconfig.h>
62 {
return static_cast<AccelFlags>(
static_cast<unsigned>(lhs) |
static_cast<unsigned>(rhs)); }
66 {
return static_cast<AccelFlags>(
static_cast<unsigned>(lhs) &
static_cast<unsigned>(rhs)); }
70 {
return static_cast<AccelFlags>(
static_cast<unsigned>(lhs) ^
static_cast<unsigned>(rhs)); }
74 {
return static_cast<AccelFlags>(~static_cast<unsigned>(flags)); }
78 {
return (lhs =
static_cast<AccelFlags>(
static_cast<unsigned>(lhs) |
static_cast<unsigned>(rhs))); }
82 {
return (lhs =
static_cast<AccelFlags>(
static_cast<unsigned>(lhs) &
static_cast<unsigned>(rhs))); }
86 {
return (lhs =
static_cast<AccelFlags>(
static_cast<unsigned>(lhs) ^
static_cast<unsigned>(rhs))); }
91 #ifndef DOXYGEN_SHOULD_SKIP_THIS
99 static GType value_type() G_GNUC_CONST;
137 #ifndef DOXYGEN_SHOULD_SKIP_THIS
145 static GType value_type() G_GNUC_CONST;
172 #ifndef DOXYGEN_SHOULD_SKIP_THIS
180 static GType value_type() G_GNUC_CONST;
228 {
return static_cast<AttachOptions>(
static_cast<unsigned>(lhs) |
static_cast<unsigned>(rhs)); }
232 {
return static_cast<AttachOptions>(
static_cast<unsigned>(lhs) &
static_cast<unsigned>(rhs)); }
236 {
return static_cast<AttachOptions>(
static_cast<unsigned>(lhs) ^
static_cast<unsigned>(rhs)); }
240 {
return static_cast<AttachOptions>(~static_cast<unsigned>(flags)); }
244 {
return (lhs =
static_cast<AttachOptions>(
static_cast<unsigned>(lhs) |
static_cast<unsigned>(rhs))); }
248 {
return (lhs =
static_cast<AttachOptions>(
static_cast<unsigned>(lhs) &
static_cast<unsigned>(rhs))); }
252 {
return (lhs =
static_cast<AttachOptions>(
static_cast<unsigned>(lhs) ^
static_cast<unsigned>(rhs))); }
257 #ifndef DOXYGEN_SHOULD_SKIP_THIS
265 static GType value_type() G_GNUC_CONST;
303 #ifndef DOXYGEN_SHOULD_SKIP_THIS
311 static GType value_type() G_GNUC_CONST;
335 #ifndef DOXYGEN_SHOULD_SKIP_THIS
343 static GType value_type() G_GNUC_CONST;
371 #ifndef DOXYGEN_SHOULD_SKIP_THIS
379 static GType value_type() G_GNUC_CONST;
406 #ifndef DOXYGEN_SHOULD_SKIP_THIS
414 static GType value_type() G_GNUC_CONST;
439 #ifndef DOXYGEN_SHOULD_SKIP_THIS
447 static GType value_type() G_GNUC_CONST;
475 #ifndef DOXYGEN_SHOULD_SKIP_THIS
483 static GType value_type() G_GNUC_CONST;
507 #ifndef DOXYGEN_SHOULD_SKIP_THIS
515 static GType value_type() G_GNUC_CONST;
540 #ifndef DOXYGEN_SHOULD_SKIP_THIS
548 static GType value_type() G_GNUC_CONST;
573 #ifndef DOXYGEN_SHOULD_SKIP_THIS
581 static GType value_type() G_GNUC_CONST;
607 #ifndef DOXYGEN_SHOULD_SKIP_THIS
615 static GType value_type() G_GNUC_CONST;
639 #ifndef DOXYGEN_SHOULD_SKIP_THIS
647 static GType value_type() G_GNUC_CONST;
678 #ifndef DOXYGEN_SHOULD_SKIP_THIS
686 static GType value_type() G_GNUC_CONST;
709 #ifndef DOXYGEN_SHOULD_SKIP_THIS
717 static GType value_type() G_GNUC_CONST;
742 #ifndef DOXYGEN_SHOULD_SKIP_THIS
750 static GType value_type() G_GNUC_CONST;
773 #ifndef DOXYGEN_SHOULD_SKIP_THIS
781 static GType value_type() G_GNUC_CONST;
808 #ifndef DOXYGEN_SHOULD_SKIP_THIS
816 static GType value_type() G_GNUC_CONST;
840 #ifndef DOXYGEN_SHOULD_SKIP_THIS
848 static GType value_type() G_GNUC_CONST;
872 #ifndef DOXYGEN_SHOULD_SKIP_THIS
880 static GType value_type() G_GNUC_CONST;
905 #ifndef DOXYGEN_SHOULD_SKIP_THIS
913 static GType value_type() G_GNUC_CONST;
938 #ifndef DOXYGEN_SHOULD_SKIP_THIS
946 static GType value_type() G_GNUC_CONST;
970 #ifndef DOXYGEN_SHOULD_SKIP_THIS
978 static GType value_type() G_GNUC_CONST;
1002 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1010 static GType value_type() G_GNUC_CONST;
1047 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1055 static GType value_type() G_GNUC_CONST;
1081 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1089 static GType value_type() G_GNUC_CONST;
1115 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1123 static GType value_type() G_GNUC_CONST;
1149 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1157 static GType value_type() G_GNUC_CONST;
1189 {
return static_cast<TargetFlags>(
static_cast<unsigned>(lhs) |
static_cast<unsigned>(rhs)); }
1193 {
return static_cast<TargetFlags>(
static_cast<unsigned>(lhs) &
static_cast<unsigned>(rhs)); }
1197 {
return static_cast<TargetFlags>(
static_cast<unsigned>(lhs) ^
static_cast<unsigned>(rhs)); }
1201 {
return static_cast<TargetFlags>(~static_cast<unsigned>(flags)); }
1205 {
return (lhs =
static_cast<TargetFlags>(
static_cast<unsigned>(lhs) |
static_cast<unsigned>(rhs))); }
1209 {
return (lhs =
static_cast<TargetFlags>(
static_cast<unsigned>(lhs) &
static_cast<unsigned>(rhs))); }
1213 {
return (lhs =
static_cast<TargetFlags>(
static_cast<unsigned>(lhs) ^
static_cast<unsigned>(rhs))); }
1218 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1226 static GType value_type() G_GNUC_CONST;
1251 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1259 static GType value_type() G_GNUC_CONST;
1283 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1291 static GType value_type() G_GNUC_CONST;
1315 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1323 static GType value_type() G_GNUC_CONST;
1349 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1357 static GType value_type() G_GNUC_CONST;
1380 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1388 static GType value_type() G_GNUC_CONST;
1413 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1421 static GType value_type() G_GNUC_CONST;
1444 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1452 static GType value_type() G_GNUC_CONST;
1477 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1485 static GType value_type() G_GNUC_CONST;
1509 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1517 static GType value_type() G_GNUC_CONST;
1528 #ifdef GTKMM_MAEMO_EXTENSIONS_ENABLED
1546 SIZE_AUTO_WIDTH = 0,
1547 SIZE_HALFSCREEN_WIDTH = 1,
1548 SIZE_FULLSCREEN_WIDTH = 2,
1549 SIZE_AUTO_HEIGHT = 0,
1550 SIZE_FINGER_HEIGHT = 4,
1551 SIZE_THUMB_HEIGHT = 8,
1556 inline SizeType
operator|(SizeType lhs, SizeType rhs)
1557 {
return static_cast<SizeType
>(
static_cast<unsigned>(lhs) |
static_cast<unsigned>(rhs)); }
1560 inline SizeType
operator&(SizeType lhs, SizeType rhs)
1561 {
return static_cast<SizeType
>(
static_cast<unsigned>(lhs) &
static_cast<unsigned>(rhs)); }
1564 inline SizeType
operator^(SizeType lhs, SizeType rhs)
1565 {
return static_cast<SizeType
>(
static_cast<unsigned>(lhs) ^
static_cast<unsigned>(rhs)); }
1568 inline SizeType
operator~(SizeType flags)
1569 {
return static_cast<SizeType
>(~static_cast<unsigned>(flags)); }
1572 inline SizeType&
operator|=(SizeType& lhs, SizeType rhs)
1573 {
return (lhs =
static_cast<SizeType
>(
static_cast<unsigned>(lhs) |
static_cast<unsigned>(rhs))); }
1576 inline SizeType&
operator&=(SizeType& lhs, SizeType rhs)
1577 {
return (lhs =
static_cast<SizeType
>(
static_cast<unsigned>(lhs) &
static_cast<unsigned>(rhs))); }
1580 inline SizeType&
operator^=(SizeType& lhs, SizeType rhs)
1581 {
return (lhs =
static_cast<SizeType
>(
static_cast<unsigned>(lhs) ^
static_cast<unsigned>(rhs))); }
1598 INPUT_MODE_ALPHA = 1 << 0,
1599 INPUT_MODE_NUMERIC = 1 << 1,
1600 INPUT_MODE_SPECIAL = 1 << 2,
1601 INPUT_MODE_HEXA = 1 << 3,
1602 INPUT_MODE_TELE = 1 << 4,
1603 INPUT_MODE_FULL = 0x07,
1604 INPUT_MODE_MULTILINE = 1 << 28,
1605 INPUT_MODE_INVISIBLE = 1 << 29,
1606 INPUT_MODE_AUTOCAP = 1 << 30,
1607 INPUT_MODE_DICTIONARY = 1 << 31
1612 {
return static_cast<InputMode>(
static_cast<unsigned>(lhs) |
static_cast<unsigned>(rhs)); }
1616 {
return static_cast<InputMode>(
static_cast<unsigned>(lhs) &
static_cast<unsigned>(rhs)); }
1620 {
return static_cast<InputMode>(
static_cast<unsigned>(lhs) ^
static_cast<unsigned>(rhs)); }
1624 {
return static_cast<InputMode>(~static_cast<unsigned>(flags)); }
1628 {
return (lhs =
static_cast<InputMode>(
static_cast<unsigned>(lhs) |
static_cast<unsigned>(rhs))); }
1632 {
return (lhs =
static_cast<InputMode>(
static_cast<unsigned>(lhs) &
static_cast<unsigned>(rhs))); }
1636 {
return (lhs =
static_cast<InputMode>(
static_cast<unsigned>(lhs) ^
static_cast<unsigned>(rhs))); }
1648 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1667 operator int()
const {
return size_; }
1734 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1739 class Value<
Gtk::IconSize> :
public Glib::Value_Enum<Gtk::IconSize>
1742 static GType value_type() G_GNUC_CONST;
1759 #ifndef GTKMM_DISABLE_DEPRECATED
1770 #ifndef DOXYGEN_SHOULD_SKIP_THIS
static IconSize from_name(const Glib::ustring &name)
static void register_alias(const Glib::ustring &alias, IconSize target)
IconSize(BuiltinIconSize size)
static bool lookup(IconSize size, int &width, int &height)
static Glib::ustring get_name(IconSize size)
static bool lookup(IconSize size, int &width, int &height, const Glib::RefPtr< Gtk::Settings > &settings)
static IconSize register_new(const Glib::ustring &name, int width, int height)
GtkImageIconNameData name