I've wrapped the gestures classes and pushed them to
the git repository, together with a demo example, which is a
translation to C++ of the gestures demo in gtk+. I have not been
able to test it on a touchscreen, but some of the gestures work
with a mouse or touchpad. If you get these new classes from the git repository, note that you must also get the latest version of glibmm from git. Some of the gesture*.hg files require the latest fix in gmmproc. (Allow multi-word parameter types, like unsigned int, in _WRAP_METHOD.) I leave GtkLockButton and GPermission to you, Juan. Kjell 2014-06-29 12:54, Juan R. Garcia Blanco
skrev:
Hi, I think I prefer working on GtkLockButton+GPermission for now. For these I'll file a bug for you all to review the code. Thank you. Best regards, Juan. On Sun, 2014-06-29 at 09:47 +0200, Kjell Ahlstedt wrote:I've started working on all of the gesture API. Most of these classes are very small. If you want to share the work with me, it would be great if you could make some code that uses this API. The gtk+ gesture classes are used in gtk+/demos/gtk-demo/gestures.c and gtk+/testsuite/gtk/gestures.c. The demos file is probably a good starting point. I realize that you can't finish such a job before I've pushed the Gtk::Gesture classes. Perhaps I can do that late today. If not, within the next few days. I have not started wrapping GtkLockButton. I'm not sure I'll do it, at least not soon. If you want to do it, go ahead. Kjell 2014-06-28 11:58, Juan Rafael GarcĂa Blanco skrev:Hi, I could work on some of them. Have you started working on any? Do you have a split proposal? Best regards, Juan. On 25 Jun 2014, at 10:08, Murray Cumming <murrayc murrayc com> wrote:On Mon, 2014-06-23 at 17:19 +0200, Kjell Ahlstedt wrote:There are many new gesture classes in gtk+ 3.13.2. Shall we wrap them in gtkmm? Now or later? Gtk+'s NEWS file says "The gesture-related APIs are still subject to change."[snip] I guess they will become stable when this verision of GTK+ becomes stable, so it would be great to start wrapping them now. ThanksThere is also the GtkLockButton class from gtk+ 3.2, which is not wrapped yet. It requires GPermission (gio), which is also not wrapped yet. GPermission is an abstract base class. The only subclass I've found is GSimplePermission. I can wrap some of these classes, but I doubt that I will wrap all of them. Is anyone interested in C++ versions?It sounds less useful, but it would be nice to have. |