Generating key press event using gtk button

2009-08-14 Thread Sulabh Bista
Dear all: I am trying to write a virtual keyboard like application that can generate keyboard key press event on click of a button. How do I make a button click generate a key press event ? An example of such program is xvkbd (http://homepage3.nifty.com/tsato/xvkbd/ ). Regards, Sulabh Bista

Re: Generating key press event using gtk button

2009-08-14 Thread Eric Squires
I haven't done any signal emission of my own, but you probably want to look at putting g_signal_emit_by_namehttp://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-emit-by-name or one of its companions into your button click callback. Hopefully this will get you off in the

gtkAssistant

2009-08-14 Thread Sam Bull
Trying to use GtkAssistant.set_page_complete(), but keep getting an error: TypeError: GtkAssistant.set_page_complete() argument 1 must be gtk.Widget, not int The documentation says the first argument should be a page of the assistant, which I assumed to be a number. What should I be putting in

GTK application hangs in Windows and Wine, works fine in Linux

2009-08-14 Thread admin
Hi, I've been trying to fix this myself but I had no luck so far, so I'm asking here, I hope it's the right place to ask. So here is my problem: I developped a GTK application for converting encodings, it's open source and the URL is here if you want to see the source code perhaps :