key values on key pressed

2013-11-22 Thread Sergei Kolomeeyets
Hi, to write a trivial key-press handler like the following: static gboolean key_pressed (GtkWidget *area, GdkEventKey *event, GPtrArray *ptLinePoints) { GError *error; guint tt; if (event-keyval == GDK_Delete) { ... } if (event-keyval == GDK_Return) { ... } return FALSE; }

Re: key values on key pressed

2013-11-22 Thread Chris Angelico
On Sat, Nov 23, 2013 at 2:39 AM, Sergei Kolomeeyets kolomeey...@gmail.com wrote: The question about the possible meaning of GDK_KP_Enter, for instance, drivers me up the wall really. I'm actually able to guess the meaning of Enter and GDK,,, But what does that KP mean? Keypad. That would be

Re: key values on key pressed

2013-11-22 Thread Olivier Brunel
On 11/22/13 16:39, Sergei Kolomeeyets wrote: Hi, to write a trivial key-press handler like the following: static gboolean key_pressed (GtkWidget *area, GdkEventKey *event, GPtrArray *ptLinePoints) { GError *error; guint tt; if (event-keyval == GDK_Delete) { ... } if

GTK+ 3.6.4 not working for vc 2010 because of inline

2013-11-22 Thread jack zhu
Issue: The application works fine for GTK2 and have issue for GTK3。Most caused by improper inline macro defination. Solution: 1 /Dinline= not working as in link stage, some wield string function redefination reports 2 after some dig, replace inline region defined in glibconfig.h from gtk2 is

[PATCH 0/4] [RFC v1] gdbus: Preliminary kdbus-support patches

2013-11-22 Thread Karol Lewandowski
[ Cced systemd-devel@ and dev@tizen mailing lists in case someone there would be interested too. ] Folks, We have recently started experimenting with possibilities of adding kdbus-support to glib's gio. Following patchset is result of our work. Please note this is cleanup of modifications

[PATCH 1/4] gdbus: Import kdbus interface header

2013-11-22 Thread Karol Lewandowski
kdbus.h taken from git://github.com/gregkh/kdbus, commit cc5b49c0d. --- gio/kdbus.h | 436 1 file changed, 436 insertions(+) create mode 100644 gio/kdbus.h diff --git a/gio/kdbus.h b/gio/kdbus.h new file mode 100644 index

[PATCH 3/4] gdbus: Integrate kdbus into GDBus core

2013-11-22 Thread Karol Lewandowski
This commit hooks kdbus into GDBus and provides --enable-kdbus-transport configure switch. --- configure.ac | 10 +++ gio/Makefile.am | 4 + gio/gdbusaddress.c| 80 +++ gio/gdbusconnection.c | 20 - gio/gdbusprivate.c| 211

[PATCH 4/4] gdbus: Add basic kdbus tests

2013-11-22 Thread Karol Lewandowski
--- configure.ac | 1 + gio/tests/Makefile.am | 13 +++ gio/tests/kdbus-test/README | 108 gio/tests/kdbus-test/gdbus-example-kdbus-client.c | 51 ++

pygtk version

2013-11-22 Thread Rudra Banerjee
Hi, do pygtk still use gtk2.x? The tutorial in pygtk shows, that is the case (http://www.pygtk.org/tutorial.html ). Though I have found another site (non gnome, http://python-gtk-3-tutorial.readthedocs.org/en/latest/ ) I am still to find the official gnome document, ala pygtk. Any idea please?

Re: [systemd-devel] [PATCH 0/4] [RFC v1] gdbus: Preliminary kdbus-support patches

2013-11-22 Thread Karol Lewandowski
On 11/21/2013 02:15 PM, Lennart Poettering wrote: On Thu, 21.11.13 12:33, Karol Lewandowski (k.lewando...@samsung.com) wrote: Haven't looked at the actual patch, just two comments for now. - This patchset adds ability for glib programs to connect to kdbus busses via

Re: [systemd-devel] [PATCH 0/4] [RFC v1] gdbus: Preliminary kdbus-support patches

2013-11-22 Thread Lennart Poettering
On Thu, 21.11.13 12:33, Karol Lewandowski (k.lewando...@samsung.com) wrote: Haven't looked at the actual patch, just two comments for now. - This patchset adds ability for glib programs to connect to kdbus busses via DBUS_SESSION_BUS_ADDRESS=(kernel|kdbus):/dev/kdbus/0-kdbus/bus

Re: symbolic icon fallback failure

2013-11-22 Thread Patrick Welche
On Thu, Nov 21, 2013 at 10:40:42AM -0500, Jasper St. Pierre wrote: On Thu, Nov 21, 2013 at 10:35 AM, Patrick Welche pr...@cam.ac.uk wrote: On Thu, Nov 21, 2013 at 10:07:55AM -0500, Jasper St. Pierre wrote: On Thu, Nov 21, 2013 at 9:38 AM, Patrick Welche pr...@cam.ac.uk wrote:

Re: pygtk version

2013-11-22 Thread John Ralls
On Nov 16, 2013, at 12:09 PM, Rudra Banerjee bnrj.ru...@gmail.com wrote: Hi, do pygtk still use gtk2.x? The tutorial in pygtk shows, that is the case (http://www.pygtk.org/tutorial.html ). Though I have found another site (non gnome, http://python-gtk-3-tutorial.readthedocs.org/en/latest/ )

Re: pygtk version

2013-11-22 Thread Emmanuele Bassi
hi; On 16 November 2013 20:09, Rudra Banerjee bnrj.ru...@gmail.com wrote: Hi, do pygtk still use gtk2.x? The tutorial in pygtk shows, that is the case (http://www.pygtk.org/tutorial.html ). yes: pygtk is GTK+ 2.x, Python 2.x only and it's not maintained any more. GTK+ 3.x is wrapped through