gtkmm r1107 - in branches/gtkmm-2-12: . gtk/src



Author: daniel
Date: Fri Mar  6 16:51:47 2009
New Revision: 1107
URL: http://svn.gnome.org/viewvc/gtkmm?rev=1107&view=rev

Log:
* gtk/src/enums.hg (Gtk::Hildon::SizeType): New Maemo-specific
enumeration corresponding to HildonSizeType.
(Gtk::Hildon::InputMode): New Maemo-specific enumeration
corresponding to HildonGtkInputMode.

Modified:
   branches/gtkmm-2-12/ChangeLog
   branches/gtkmm-2-12/gtk/src/enums.hg

Modified: branches/gtkmm-2-12/gtk/src/enums.hg
==============================================================================
--- branches/gtkmm-2-12/gtk/src/enums.hg	(original)
+++ branches/gtkmm-2-12/gtk/src/enums.hg	Fri Mar  6 16:51:47 2009
@@ -99,6 +99,18 @@
 _WRAP_ENUM(PageOrientation, GtkPageOrientation)
 
 
+#ifdef GTKMM_MAEMO_EXTENSIONS_ENABLED
+namespace Hildon
+{
+
+#m4 dnl // TODO: Get the get_type stuff to work
+_WRAP_ENUM(SizeType, HildonSizeType, NO_GTYPE)
+_WRAP_ENUM(InputMode, HildonGtkInputMode, s#^GTK_##, NO_GTYPE)
+
+} // namespace Hildon
+#endif /* GTKMM_MAEMO_EXTENSIONS_ENABLED */
+
+
 /* We use a class to implement the GtkIconSize enum, because you can register
  * new "enum" values.  The strict type rules of C++ don't allow using an enum
  * like that.  Gtk::BuiltinIconSize is the actual GtkIconSize wrapper enum.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]