Ardour  8.7-14-g57a6773833
libs/tk/ytkmm/ytkmm/gtkmm/enums.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GTKMM_ENUMS_H
4 #define _GTKMM_ENUMS_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /* $Id: enums.hg,v 1.5 2006/05/09 16:51:34 murrayc Exp $ */
11 
12 /* enums.h
13  *
14  * Copyright (C) 2002 The gtkmm Development Team
15  *
16  * This library is free software; you can redistribute it and/or
17  * modify it under the terms of the GNU Lesser General Public
18  * License as published by the Free Software Foundation; either
19  * version 2.1 of the License, or (at your option) any later version.
20  *
21  * This library is distributed in the hope that it will be useful,
22  * but WITHOUT ANY WARRANTY; without even the implied warranty of
23  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
24  * Lesser General Public License for more details.
25  *
26  * You should have received a copy of the GNU Lesser General Public
27  * License along with this library; if not, write to the Free
28  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
29  */
30 
31 #include <glibmm/value.h>
32 #include <gtkmmconfig.h> //For GTKMM_MAEMO_EXTENSIONS_ENABLED
33 
34 
35 namespace Gtk
36 {
37 
38 
54 {
55  ACCEL_VISIBLE = 1 << 0,
56  ACCEL_LOCKED = 1 << 1,
57  ACCEL_MASK = 0x07
58 };
59 
62  { return static_cast<AccelFlags>(static_cast<unsigned>(lhs) | static_cast<unsigned>(rhs)); }
63 
66  { return static_cast<AccelFlags>(static_cast<unsigned>(lhs) & static_cast<unsigned>(rhs)); }
67 
70  { return static_cast<AccelFlags>(static_cast<unsigned>(lhs) ^ static_cast<unsigned>(rhs)); }
71 
74  { return static_cast<AccelFlags>(~static_cast<unsigned>(flags)); }
75 
78  { return (lhs = static_cast<AccelFlags>(static_cast<unsigned>(lhs) | static_cast<unsigned>(rhs))); }
79 
82  { return (lhs = static_cast<AccelFlags>(static_cast<unsigned>(lhs) & static_cast<unsigned>(rhs))); }
83 
86  { return (lhs = static_cast<AccelFlags>(static_cast<unsigned>(lhs) ^ static_cast<unsigned>(rhs))); }
87 
88 } // namespace Gtk
89 
90 
91 #ifndef DOXYGEN_SHOULD_SKIP_THIS
92 namespace Glib
93 {
94 
95 template <>
96 class Value<Gtk::AccelFlags> : public Glib::Value_Flags<Gtk::AccelFlags>
97 {
98 public:
99  static GType value_type() G_GNUC_CONST;
100 };
101 
102 } // namespace Glib
103 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
104 
105 
106 namespace Gtk
107 {
108 
114 {
132 };
133 
134 } // namespace Gtk
135 
136 
137 #ifndef DOXYGEN_SHOULD_SKIP_THIS
138 namespace Glib
139 {
140 
141 template <>
142 class Value<Gtk::AnchorType> : public Glib::Value_Enum<Gtk::AnchorType>
143 {
144 public:
145  static GType value_type() G_GNUC_CONST;
146 };
147 
148 } // namespace Glib
149 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
150 
151 
152 namespace Gtk
153 {
154 
155 
161 {
166  ARROW_NONE
167 };
168 
169 } // namespace Gtk
170 
171 
172 #ifndef DOXYGEN_SHOULD_SKIP_THIS
173 namespace Glib
174 {
175 
176 template <>
177 class Value<Gtk::ArrowType> : public Glib::Value_Enum<Gtk::ArrowType>
178 {
179 public:
180  static GType value_type() G_GNUC_CONST;
181 };
182 
183 } // namespace Glib
184 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
185 
186 
187 namespace Gtk
188 {
189 
190 
191 // TODO: There must be a better way to document the enum values.
192 // Extract them from the GTK+ docs as well?
193 
220 {
221  EXPAND = 1 << 0,
222  SHRINK = 1 << 1,
223  FILL = 1 << 2
224 };
225 
228  { return static_cast<AttachOptions>(static_cast<unsigned>(lhs) | static_cast<unsigned>(rhs)); }
229 
232  { return static_cast<AttachOptions>(static_cast<unsigned>(lhs) & static_cast<unsigned>(rhs)); }
233 
236  { return static_cast<AttachOptions>(static_cast<unsigned>(lhs) ^ static_cast<unsigned>(rhs)); }
237 
240  { return static_cast<AttachOptions>(~static_cast<unsigned>(flags)); }
241 
244  { return (lhs = static_cast<AttachOptions>(static_cast<unsigned>(lhs) | static_cast<unsigned>(rhs))); }
245 
248  { return (lhs = static_cast<AttachOptions>(static_cast<unsigned>(lhs) & static_cast<unsigned>(rhs))); }
249 
252  { return (lhs = static_cast<AttachOptions>(static_cast<unsigned>(lhs) ^ static_cast<unsigned>(rhs))); }
253 
254 } // namespace Gtk
255 
256 
257 #ifndef DOXYGEN_SHOULD_SKIP_THIS
258 namespace Glib
259 {
260 
261 template <>
262 class Value<Gtk::AttachOptions> : public Glib::Value_Flags<Gtk::AttachOptions>
263 {
264 public:
265  static GType value_type() G_GNUC_CONST;
266 };
267 
268 } // namespace Glib
269 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
270 
271 
272 namespace Gtk
273 {
274 
275 
291 {
298 };
299 
300 } // namespace Gtk
301 
302 
303 #ifndef DOXYGEN_SHOULD_SKIP_THIS
304 namespace Glib
305 {
306 
307 template <>
308 class Value<Gtk::ButtonBoxStyle> : public Glib::Value_Enum<Gtk::ButtonBoxStyle>
309 {
310 public:
311  static GType value_type() G_GNUC_CONST;
312 };
313 
314 } // namespace Glib
315 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
316 
317 
318 namespace Gtk
319 {
320 
326 {
330 };
331 
332 } // namespace Gtk
333 
334 
335 #ifndef DOXYGEN_SHOULD_SKIP_THIS
336 namespace Glib
337 {
338 
339 template <>
340 class Value<Gtk::CurveType> : public Glib::Value_Enum<Gtk::CurveType>
341 {
342 public:
343  static GType value_type() G_GNUC_CONST;
344 };
345 
346 } // namespace Glib
347 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
348 
349 
350 namespace Gtk
351 {
352 
358 {
366 };
367 
368 } // namespace Gtk
369 
370 
371 #ifndef DOXYGEN_SHOULD_SKIP_THIS
372 namespace Glib
373 {
374 
375 template <>
376 class Value<Gtk::DeleteType> : public Glib::Value_Enum<Gtk::DeleteType>
377 {
378 public:
379  static GType value_type() G_GNUC_CONST;
380 };
381 
382 } // namespace Glib
383 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
384 
385 
386 namespace Gtk
387 {
388 
394 {
400  DIR_RIGHT
401 };
402 
403 } // namespace Gtk
404 
405 
406 #ifndef DOXYGEN_SHOULD_SKIP_THIS
407 namespace Glib
408 {
409 
410 template <>
411 class Value<Gtk::DirectionType> : public Glib::Value_Enum<Gtk::DirectionType>
412 {
413 public:
414  static GType value_type() G_GNUC_CONST;
415 };
416 
417 } // namespace Glib
418 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
419 
420 
421 namespace Gtk
422 {
423 
429 {
434 };
435 
436 } // namespace Gtk
437 
438 
439 #ifndef DOXYGEN_SHOULD_SKIP_THIS
440 namespace Glib
441 {
442 
443 template <>
444 class Value<Gtk::ExpanderStyle> : public Glib::Value_Enum<Gtk::ExpanderStyle>
445 {
446 public:
447  static GType value_type() G_GNUC_CONST;
448 };
449 
450 } // namespace Glib
451 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
452 
453 
454 namespace Gtk
455 {
456 
462 {
470 };
471 
472 } // namespace Gtk
473 
474 
475 #ifndef DOXYGEN_SHOULD_SKIP_THIS
476 namespace Glib
477 {
478 
479 template <>
480 class Value<Gtk::BuiltinIconSize> : public Glib::Value_Enum<Gtk::BuiltinIconSize>
481 {
482 public:
483  static GType value_type() G_GNUC_CONST;
484 };
485 
486 } // namespace Glib
487 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
488 
489 
490 namespace Gtk
491 {
492 
498 {
502 };
503 
504 } // namespace Gtk
505 
506 
507 #ifndef DOXYGEN_SHOULD_SKIP_THIS
508 namespace Glib
509 {
510 
511 template <>
512 class Value<Gtk::TextDirection> : public Glib::Value_Enum<Gtk::TextDirection>
513 {
514 public:
515  static GType value_type() G_GNUC_CONST;
516 };
517 
518 } // namespace Glib
519 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
520 
521 
522 namespace Gtk
523 {
524 
530 {
535 };
536 
537 } // namespace Gtk
538 
539 
540 #ifndef DOXYGEN_SHOULD_SKIP_THIS
541 namespace Glib
542 {
543 
544 template <>
545 class Value<Gtk::Justification> : public Glib::Value_Enum<Gtk::Justification>
546 {
547 public:
548  static GType value_type() G_GNUC_CONST;
549 };
550 
551 } // namespace Glib
552 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
553 
554 
555 namespace Gtk
556 {
557 
563 {
568 };
569 
570 } // namespace Gtk
571 
572 
573 #ifndef DOXYGEN_SHOULD_SKIP_THIS
574 namespace Glib
575 {
576 
577 template <>
578 class Value<Gtk::MenuDirectionType> : public Glib::Value_Enum<Gtk::MenuDirectionType>
579 {
580 public:
581  static GType value_type() G_GNUC_CONST;
582 };
583 
584 } // namespace Glib
585 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
586 
587 
588 namespace Gtk
589 {
590 
596 {
602 };
603 
604 } // namespace Gtk
605 
606 
607 #ifndef DOXYGEN_SHOULD_SKIP_THIS
608 namespace Glib
609 {
610 
611 template <>
612 class Value<Gtk::MessageType> : public Glib::Value_Enum<Gtk::MessageType>
613 {
614 public:
615  static GType value_type() G_GNUC_CONST;
616 };
617 
618 } // namespace Glib
619 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
620 
621 
622 namespace Gtk
623 {
624 
630 {
634 };
635 
636 } // namespace Gtk
637 
638 
639 #ifndef DOXYGEN_SHOULD_SKIP_THIS
640 namespace Glib
641 {
642 
643 template <>
644 class Value<Gtk::MetricType> : public Glib::Value_Enum<Gtk::MetricType>
645 {
646 public:
647  static GType value_type() G_GNUC_CONST;
648 };
649 
650 } // namespace Glib
651 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
652 
653 
654 namespace Gtk
655 {
656 
662 {
673 };
674 
675 } // namespace Gtk
676 
677 
678 #ifndef DOXYGEN_SHOULD_SKIP_THIS
679 namespace Glib
680 {
681 
682 template <>
683 class Value<Gtk::MovementStep> : public Glib::Value_Enum<Gtk::MovementStep>
684 {
685 public:
686  static GType value_type() G_GNUC_CONST;
687 };
688 
689 } // namespace Glib
690 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
691 
692 
693 namespace Gtk
694 {
695 
701 {
704 };
705 
706 } // namespace Gtk
707 
708 
709 #ifndef DOXYGEN_SHOULD_SKIP_THIS
710 namespace Glib
711 {
712 
713 template <>
714 class Value<Gtk::Orientation> : public Glib::Value_Enum<Gtk::Orientation>
715 {
716 public:
717  static GType value_type() G_GNUC_CONST;
718 };
719 
720 } // namespace Glib
721 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
722 
723 
724 namespace Gtk
725 {
726 
732 {
737 };
738 
739 } // namespace Gtk
740 
741 
742 #ifndef DOXYGEN_SHOULD_SKIP_THIS
743 namespace Glib
744 {
745 
746 template <>
747 class Value<Gtk::CornerType> : public Glib::Value_Enum<Gtk::CornerType>
748 {
749 public:
750  static GType value_type() G_GNUC_CONST;
751 };
752 
753 } // namespace Glib
754 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
755 
756 
757 namespace Gtk
758 {
759 
765 {
767  PACK_END
768 };
769 
770 } // namespace Gtk
771 
772 
773 #ifndef DOXYGEN_SHOULD_SKIP_THIS
774 namespace Glib
775 {
776 
777 template <>
778 class Value<Gtk::PackType> : public Glib::Value_Enum<Gtk::PackType>
779 {
780 public:
781  static GType value_type() G_GNUC_CONST;
782 };
783 
784 } // namespace Glib
785 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
786 
787 
788 namespace Gtk
789 {
790 
796 {
802  PATH_PRIO_HIGHEST = 15
803 };
804 
805 } // namespace Gtk
806 
807 
808 #ifndef DOXYGEN_SHOULD_SKIP_THIS
809 namespace Glib
810 {
811 
812 template <>
813 class Value<Gtk::PathPriorityType> : public Glib::Value_Enum<Gtk::PathPriorityType>
814 {
815 public:
816  static GType value_type() G_GNUC_CONST;
817 };
818 
819 } // namespace Glib
820 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
821 
822 
823 namespace Gtk
824 {
825 
831 {
834  PATH_CLASS
835 };
836 
837 } // namespace Gtk
838 
839 
840 #ifndef DOXYGEN_SHOULD_SKIP_THIS
841 namespace Glib
842 {
843 
844 template <>
845 class Value<Gtk::PathType> : public Glib::Value_Enum<Gtk::PathType>
846 {
847 public:
848  static GType value_type() G_GNUC_CONST;
849 };
850 
851 } // namespace Glib
852 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
853 
854 
855 namespace Gtk
856 {
857 
863 {
867 };
868 
869 } // namespace Gtk
870 
871 
872 #ifndef DOXYGEN_SHOULD_SKIP_THIS
873 namespace Glib
874 {
875 
876 template <>
877 class Value<Gtk::PolicyType> : public Glib::Value_Enum<Gtk::PolicyType>
878 {
879 public:
880  static GType value_type() G_GNUC_CONST;
881 };
882 
883 } // namespace Glib
884 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
885 
886 
887 namespace Gtk
888 {
889 
895 {
900 };
901 
902 } // namespace Gtk
903 
904 
905 #ifndef DOXYGEN_SHOULD_SKIP_THIS
906 namespace Glib
907 {
908 
909 template <>
910 class Value<Gtk::ProgressBarOrientation> : public Glib::Value_Enum<Gtk::ProgressBarOrientation>
911 {
912 public:
913  static GType value_type() G_GNUC_CONST;
914 };
915 
916 } // namespace Glib
917 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
918 
919 
920 namespace Gtk
921 {
922 
928 {
932  POS_BOTTOM
933 };
934 
935 } // namespace Gtk
936 
937 
938 #ifndef DOXYGEN_SHOULD_SKIP_THIS
939 namespace Glib
940 {
941 
942 template <>
943 class Value<Gtk::PositionType> : public Glib::Value_Enum<Gtk::PositionType>
944 {
945 public:
946  static GType value_type() G_GNUC_CONST;
947 };
948 
949 } // namespace Glib
950 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
951 
952 
953 namespace Gtk
954 {
955 
961 {
965 };
966 
967 } // namespace Gtk
968 
969 
970 #ifndef DOXYGEN_SHOULD_SKIP_THIS
971 namespace Glib
972 {
973 
974 template <>
975 class Value<Gtk::ReliefStyle> : public Glib::Value_Enum<Gtk::ReliefStyle>
976 {
977 public:
978  static GType value_type() G_GNUC_CONST;
979 };
980 
981 } // namespace Glib
982 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
983 
984 
985 namespace Gtk
986 {
987 
993 {
997 };
998 
999 } // namespace Gtk
1000 
1001 
1002 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1003 namespace Glib
1004 {
1005 
1006 template <>
1007 class Value<Gtk::ResizeMode> : public Glib::Value_Enum<Gtk::ResizeMode>
1008 {
1009 public:
1010  static GType value_type() G_GNUC_CONST;
1011 };
1012 
1013 } // namespace Glib
1014 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
1015 
1016 
1017 namespace Gtk
1018 {
1019 
1025 {
1041  SCROLL_END
1042 };
1043 
1044 } // namespace Gtk
1045 
1046 
1047 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1048 namespace Glib
1049 {
1050 
1051 template <>
1052 class Value<Gtk::ScrollType> : public Glib::Value_Enum<Gtk::ScrollType>
1053 {
1054 public:
1055  static GType value_type() G_GNUC_CONST;
1056 };
1057 
1058 } // namespace Glib
1059 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
1060 
1061 
1062 namespace Gtk
1063 {
1064 
1070 {
1076 };
1077 
1078 } // namespace Gtk
1079 
1080 
1081 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1082 namespace Glib
1083 {
1084 
1085 template <>
1086 class Value<Gtk::SelectionMode> : public Glib::Value_Enum<Gtk::SelectionMode>
1087 {
1088 public:
1089  static GType value_type() G_GNUC_CONST;
1090 };
1091 
1092 } // namespace Glib
1093 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
1094 
1095 
1096 namespace Gtk
1097 {
1098 
1104 {
1110 };
1111 
1112 } // namespace Gtk
1113 
1114 
1115 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1116 namespace Glib
1117 {
1118 
1119 template <>
1120 class Value<Gtk::ShadowType> : public Glib::Value_Enum<Gtk::ShadowType>
1121 {
1122 public:
1123  static GType value_type() G_GNUC_CONST;
1124 };
1125 
1126 } // namespace Glib
1127 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
1128 
1129 
1130 namespace Gtk
1131 {
1132 
1138 {
1144 };
1145 
1146 } // namespace Gtk
1147 
1148 
1149 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1150 namespace Glib
1151 {
1152 
1153 template <>
1154 class Value<Gtk::StateType> : public Glib::Value_Enum<Gtk::StateType>
1155 {
1156 public:
1157  static GType value_type() G_GNUC_CONST;
1158 };
1159 
1160 } // namespace Glib
1161 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
1162 
1163 
1164 namespace Gtk
1165 {
1166 
1180 {
1184  TARGET_OTHER_WIDGET = 1 << 3
1185 };
1186 
1189  { return static_cast<TargetFlags>(static_cast<unsigned>(lhs) | static_cast<unsigned>(rhs)); }
1190 
1193  { return static_cast<TargetFlags>(static_cast<unsigned>(lhs) & static_cast<unsigned>(rhs)); }
1194 
1197  { return static_cast<TargetFlags>(static_cast<unsigned>(lhs) ^ static_cast<unsigned>(rhs)); }
1198 
1201  { return static_cast<TargetFlags>(~static_cast<unsigned>(flags)); }
1202 
1205  { return (lhs = static_cast<TargetFlags>(static_cast<unsigned>(lhs) | static_cast<unsigned>(rhs))); }
1206 
1209  { return (lhs = static_cast<TargetFlags>(static_cast<unsigned>(lhs) & static_cast<unsigned>(rhs))); }
1210 
1213  { return (lhs = static_cast<TargetFlags>(static_cast<unsigned>(lhs) ^ static_cast<unsigned>(rhs))); }
1214 
1215 } // namespace Gtk
1216 
1217 
1218 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1219 namespace Glib
1220 {
1221 
1222 template <>
1223 class Value<Gtk::TargetFlags> : public Glib::Value_Flags<Gtk::TargetFlags>
1224 {
1225 public:
1226  static GType value_type() G_GNUC_CONST;
1227 };
1228 
1229 } // namespace Glib
1230 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
1231 
1232 
1233 namespace Gtk
1234 {
1235 
1241 {
1246 };
1247 
1248 } // namespace Gtk
1249 
1250 
1251 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1252 namespace Glib
1253 {
1254 
1255 template <>
1256 class Value<Gtk::ToolbarStyle> : public Glib::Value_Enum<Gtk::ToolbarStyle>
1257 {
1258 public:
1259  static GType value_type() G_GNUC_CONST;
1260 };
1261 
1262 } // namespace Glib
1263 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
1264 
1265 
1266 namespace Gtk
1267 {
1268 
1274 {
1278 };
1279 
1280 } // namespace Gtk
1281 
1282 
1283 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1284 namespace Glib
1285 {
1286 
1287 template <>
1288 class Value<Gtk::UpdateType> : public Glib::Value_Enum<Gtk::UpdateType>
1289 {
1290 public:
1291  static GType value_type() G_GNUC_CONST;
1292 };
1293 
1294 } // namespace Glib
1295 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
1296 
1297 
1298 namespace Gtk
1299 {
1300 
1306 {
1310 };
1311 
1312 } // namespace Gtk
1313 
1314 
1315 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1316 namespace Glib
1317 {
1318 
1319 template <>
1320 class Value<Gtk::Visibility> : public Glib::Value_Enum<Gtk::Visibility>
1321 {
1322 public:
1323  static GType value_type() G_GNUC_CONST;
1324 };
1325 
1326 } // namespace Glib
1327 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
1328 
1329 
1330 namespace Gtk
1331 {
1332 
1338 {
1344 };
1345 
1346 } // namespace Gtk
1347 
1348 
1349 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1350 namespace Glib
1351 {
1352 
1353 template <>
1354 class Value<Gtk::WindowPosition> : public Glib::Value_Enum<Gtk::WindowPosition>
1355 {
1356 public:
1357  static GType value_type() G_GNUC_CONST;
1358 };
1359 
1360 } // namespace Glib
1361 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
1362 
1363 
1364 namespace Gtk
1365 {
1366 
1372 {
1374  WINDOW_POPUP
1375 };
1376 
1377 } // namespace Gtk
1378 
1379 
1380 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1381 namespace Glib
1382 {
1383 
1384 template <>
1385 class Value<Gtk::WindowType> : public Glib::Value_Enum<Gtk::WindowType>
1386 {
1387 public:
1388  static GType value_type() G_GNUC_CONST;
1389 };
1390 
1391 } // namespace Glib
1392 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
1393 
1394 
1395 namespace Gtk
1396 {
1397 
1403 {
1408 };
1409 
1410 } // namespace Gtk
1411 
1412 
1413 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1414 namespace Glib
1415 {
1416 
1417 template <>
1418 class Value<Gtk::WrapMode> : public Glib::Value_Enum<Gtk::WrapMode>
1419 {
1420 public:
1421  static GType value_type() G_GNUC_CONST;
1422 };
1423 
1424 } // namespace Glib
1425 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
1426 
1427 
1428 namespace Gtk
1429 {
1430 
1436 {
1439 };
1440 
1441 } // namespace Gtk
1442 
1443 
1444 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1445 namespace Glib
1446 {
1447 
1448 template <>
1449 class Value<Gtk::SortType> : public Glib::Value_Enum<Gtk::SortType>
1450 {
1451 public:
1452  static GType value_type() G_GNUC_CONST;
1453 };
1454 
1455 } // namespace Glib
1456 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
1457 
1458 
1459 namespace Gtk
1460 {
1461 
1467 {
1472 };
1473 
1474 } // namespace Gtk
1475 
1476 
1477 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1478 namespace Glib
1479 {
1480 
1481 template <>
1482 class Value<Gtk::PageOrientation> : public Glib::Value_Enum<Gtk::PageOrientation>
1483 {
1484 public:
1485  static GType value_type() G_GNUC_CONST;
1486 };
1487 
1488 } // namespace Glib
1489 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
1490 
1491 
1492 namespace Gtk
1493 {
1494 
1500 {
1504 };
1505 
1506 } // namespace Gtk
1507 
1508 
1509 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1510 namespace Glib
1511 {
1512 
1513 template <>
1514 class Value<Gtk::SensitivityType> : public Glib::Value_Enum<Gtk::SensitivityType>
1515 {
1516 public:
1517  static GType value_type() G_GNUC_CONST;
1518 };
1519 
1520 } // namespace Glib
1521 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
1522 
1523 
1524 namespace Gtk
1525 {
1526 
1527 
1528 #ifdef GTKMM_MAEMO_EXTENSIONS_ENABLED
1529 namespace Hildon
1530 {
1531 
1544 enum SizeType
1545 {
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,
1552  SIZE_AUTO = 0
1553 };
1554 
1556 inline SizeType operator|(SizeType lhs, SizeType rhs)
1557  { return static_cast<SizeType>(static_cast<unsigned>(lhs) | static_cast<unsigned>(rhs)); }
1558 
1560 inline SizeType operator&(SizeType lhs, SizeType rhs)
1561  { return static_cast<SizeType>(static_cast<unsigned>(lhs) & static_cast<unsigned>(rhs)); }
1562 
1564 inline SizeType operator^(SizeType lhs, SizeType rhs)
1565  { return static_cast<SizeType>(static_cast<unsigned>(lhs) ^ static_cast<unsigned>(rhs)); }
1566 
1568 inline SizeType operator~(SizeType flags)
1569  { return static_cast<SizeType>(~static_cast<unsigned>(flags)); }
1570 
1572 inline SizeType& operator|=(SizeType& lhs, SizeType rhs)
1573  { return (lhs = static_cast<SizeType>(static_cast<unsigned>(lhs) | static_cast<unsigned>(rhs))); }
1574 
1576 inline SizeType& operator&=(SizeType& lhs, SizeType rhs)
1577  { return (lhs = static_cast<SizeType>(static_cast<unsigned>(lhs) & static_cast<unsigned>(rhs))); }
1578 
1580 inline SizeType& operator^=(SizeType& lhs, SizeType rhs)
1581  { return (lhs = static_cast<SizeType>(static_cast<unsigned>(lhs) ^ static_cast<unsigned>(rhs))); }
1582 
1583 
1596 enum InputMode
1597 {
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
1608 };
1609 
1611 inline InputMode operator|(InputMode lhs, InputMode rhs)
1612  { return static_cast<InputMode>(static_cast<unsigned>(lhs) | static_cast<unsigned>(rhs)); }
1613 
1615 inline InputMode operator&(InputMode lhs, InputMode rhs)
1616  { return static_cast<InputMode>(static_cast<unsigned>(lhs) & static_cast<unsigned>(rhs)); }
1617 
1619 inline InputMode operator^(InputMode lhs, InputMode rhs)
1620  { return static_cast<InputMode>(static_cast<unsigned>(lhs) ^ static_cast<unsigned>(rhs)); }
1621 
1623 inline InputMode operator~(InputMode flags)
1624  { return static_cast<InputMode>(~static_cast<unsigned>(flags)); }
1625 
1627 inline InputMode& operator|=(InputMode& lhs, InputMode rhs)
1628  { return (lhs = static_cast<InputMode>(static_cast<unsigned>(lhs) | static_cast<unsigned>(rhs))); }
1629 
1631 inline InputMode& operator&=(InputMode& lhs, InputMode rhs)
1632  { return (lhs = static_cast<InputMode>(static_cast<unsigned>(lhs) & static_cast<unsigned>(rhs))); }
1633 
1635 inline InputMode& operator^=(InputMode& lhs, InputMode rhs)
1636  { return (lhs = static_cast<InputMode>(static_cast<unsigned>(lhs) ^ static_cast<unsigned>(rhs))); }
1637 
1638 
1639 } // namespace Hildon
1640 #endif /* GTKMM_MAEMO_EXTENSIONS_ENABLED */
1641 
1642 
1643 /* We use a class to implement the GtkIconSize enum, because you can register
1644  * new "enum" values. The strict type rules of C++ don't allow using an enum
1645  * like that. Gtk::BuiltinIconSize is the actual GtkIconSize wrapper enum.
1646  */
1647 
1648 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1649 class Settings;
1650 #endif //DOXYGEN_SHOULD_SKIP_THIS
1651 
1657 {
1658 private:
1659  int size_;
1660 
1661 public:
1662  IconSize() : size_ (0) {}
1663  IconSize(BuiltinIconSize size) : size_ (size) {}
1664 
1665  // Behave like an ordinary enum.
1666  explicit IconSize(int size) : size_ (size) {}
1667  operator int() const { return size_; }
1668 
1669  // These static methods are implemented in iconfactory.ccg. TODO: That's probably unnecessarily obscure. murrayc.
1670 
1683  static bool lookup(IconSize size, int& width, int& height);
1684 
1698  static bool lookup(IconSize size, int& width, int& height, const Glib::RefPtr<Gtk::Settings>& settings);
1699 
1707  static IconSize register_new(const Glib::ustring& name, int width, int height);
1708 
1714  static void register_alias(const Glib::ustring& alias, IconSize target);
1715 
1721  static IconSize from_name(const Glib::ustring& name);
1722 
1728  static Glib::ustring get_name(IconSize size);
1729 };
1730 
1731 } // namespace Gtk
1732 
1733 
1734 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1735 namespace Glib
1736 {
1737 
1738 template <>
1739 class Value<Gtk::IconSize> : public Glib::Value_Enum<Gtk::IconSize>
1740 {
1741 public:
1742  static GType value_type() G_GNUC_CONST;
1743 };
1744 
1745 } // namespace Glib
1746 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
1747 
1748 namespace Gtk
1749 {
1750 
1755  {
1758  ALIGN_END
1759 #ifndef GTKMM_DISABLE_DEPRECATED
1760 
1761  ,
1766 #endif // GTKMM_DISABLE_DEPRECATED
1767 
1768  };
1769 
1770 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1771 //We need this because we can't just use floats for enum value.
1772 float _gtkmm_align_float_from_enum(AlignmentEnum value);
1773 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
1774 
1775 } //namespace Gtk
1776 
1777 
1778 #endif /* _GTKMM_ENUMS_H */
1779 
WindowType
Definition: Window.h:23
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)
InputMode
Definition: device.h:57
TargetFlags operator~(TargetFlags flags)
CellRendererState & operator|=(CellRendererState &lhs, CellRendererState rhs)
Definition: cellrenderer.h:86
TargetFlags & operator|=(TargetFlags &lhs, TargetFlags rhs)
CellRendererState operator&(CellRendererState lhs, CellRendererState rhs)
Definition: cellrenderer.h:74
TargetFlags operator&(TargetFlags lhs, TargetFlags rhs)
CellRendererState operator^(CellRendererState lhs, CellRendererState rhs)
Definition: cellrenderer.h:78
CellRendererState operator~(CellRendererState flags)
Definition: cellrenderer.h:82
TargetFlags operator|(TargetFlags lhs, TargetFlags rhs)
CellRendererState & operator&=(CellRendererState &lhs, CellRendererState rhs)
Definition: cellrenderer.h:90
TargetFlags & operator&=(TargetFlags &lhs, TargetFlags rhs)
TargetFlags & operator^=(TargetFlags &lhs, TargetFlags rhs)
TargetFlags operator^(TargetFlags lhs, TargetFlags rhs)
CellRendererState operator|(CellRendererState lhs, CellRendererState rhs)
Definition: cellrenderer.h:70
CellRendererState & operator^=(CellRendererState &lhs, CellRendererState rhs)
Definition: cellrenderer.h:94
GtkImageIconNameData name
Definition: gtkimage.h:6
Definition: ardour_ui.h:188
Definition: lobject.h:100
gint height
Definition: xcursors.h:1
gint width
Definition: xcursors.h:1