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 :

Notes and thoughts on the GTK+ meeting at GUADEC

2009-08-14 Thread Kristian Rietveld
Hi All, First my apologies for being so late writing you this e-mail. I had some very high priority tasks related to my studies to take care of first. At GUADEC early July this year (roughly a month ago), we did not schedule for a GTK+ meeting in person like we did in the preceding years. When

Re: Notes and thoughts on the GTK+ meeting at GUADEC

2009-08-14 Thread Alberto Ruiz
2009/8/14 Kristian Rietveld k...@gtk.org: Hi All, A different way to start working on the new features is to decide on a feature set first, research the features and (if required) make required changes *before* an ABI frozen GTK+ 3.0 is put out.  This brings up the next question: what

Re: Quartz DnD patch review approval sought

2009-08-14 Thread Alberto Ruiz
2009/8/12 Kristian Rietveld k...@gtk.org: Hi Paul and John, On Tue, Aug 11, 2009 at 7:17 PM, John Rallsjra...@ceridwen.us wrote: http://bugzilla.gnome.org/show_bug.cgi?id=588449 I'd appreciate some more review and possible approval of this patch. It would remove the last substantive item in

patches to make gtk head build on win32 with MSVC

2009-08-14 Thread Shixin Zeng
Hi, all I spent a day on building gtk head on win32 by utilizing OAH (https://launchpad.net/oah) and came up with these small patches. I'm not sure if I should file a bug report first and then attach patches there, since they are so small and trivial. The 6th and 7th are not required, since gdk

Re: GZip{In,Out}putStream in GIO?

2009-08-14 Thread Shaun McCance
2009/7/31 Brian J. Tarriconebj...@cornell.edu: On 07/31/2009 05:48 AM, Mikkel Kamstrup Erlandsen wrote: From the looks of it, it should be straight forward to write GZip{In,Out}putStream classes based on zlib I'd say call it GCompressed{In,Out}putStream and have it either auto-detect

Re: Problems with GBufferedOutputStream

2009-08-14 Thread Jürg Billeter
On Fri, 2009-08-14 at 20:49 +0200, Sebastian Pölsterl wrote: I came across a problem with GBufferedOutputStream and g_output_stream_write recently. If I try to write more data than the buffer size, not everything is written to the file. From the documentation of g_output_stream_write: On

Re: Problems with GBufferedOutputStream

2009-08-14 Thread Sebastian Pölsterl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jürg Billeter schrieb: On Fri, 2009-08-14 at 20:49 +0200, Sebastian Pölsterl wrote: I came across a problem with GBufferedOutputStream and g_output_stream_write recently. If I try to write more data than the buffer size, not everything is written