GTK glade SQLite Problem

2016-10-23 Thread Sangram Kakade
Hello Everyone, I am Newbie in Python and i want some help I already created DB and in glade two Text Entry Box and one button and i want when i put some value in text entry it must be stored in db here is my code: import gi gi.require_version('Gtk', '3.0') from gi.repository import Gtk import s

Help with keyboard event capture and focus in/out

2016-10-23 Thread Giovanni Panozzo
My application needs to capture keyboard events: when my windows is focused, I want all keystrokes routed to my app, and not to the WM. For example pressing Super key on Ubutntu Unity, should not open the dash, but activate a function in my application. So I used gdk_device_grab() to captur