Why key snooper response twice on one key press?

2007-11-01 Thread Magicloud Magiclouds
Dear, I am using gtk_key_snooper_install. In the call back function, I just print out the keyval and state, then return TRUE. While the application running, I hit 'a', and I got '0x61 0x0' twice. Why it is like this? Thanks. ___

Re: Building and packaging for Windows - theme?

2007-11-01 Thread Daniel Atallah
On 11/1/07, Andrew Smith [EMAIL PROTECTED] wrote: Thanks everybody. I managed to build ISO Master on mingw and run it on a stock Windows box (just copied some dlls from the mingw bin directory), looks like the GTK parts work fine. Still, I'll be sure to look at all the examples that you

RFC: GLib testing framework

2007-11-01 Thread Tim Janik
hi All. with lots of help from Sven Herzberg and others, i've designed a unit test framework for GLib, which Sven and i plan to implement in the following weeks. i'll post about testing framework/utilities for Gtk+ at a later point. feedback is greatly appreciated. QUICK READERS: two short

Re: RFC: GLib testing framework

2007-11-01 Thread Behdad Esfahbod
Hi Tim, Thanks for the nice writeup. In cairo land we've got some new requirements for our test suite over time. I try to summarize our current infrastructure and requirements. Most of these was mentioned in the thread last year, but I repeat so you can double-check your model if you wish.

Re: RFC: GLib testing framework

2007-11-01 Thread Stefan Kost
Hi Tim, thanks for the work you put into this already! First some comment regarding check. We use check in gstreamer and I use that in buzztard too. I can understand that some people see an issue with having this as a dependency. Besides also the api is a bit chaotic (no namespace prefix).

Re: RFC: GLib testing framework

2007-11-01 Thread BJörn Lindqvist
Hello Tim, I have found that a good way to write tests, is to write them in Python. Almost all libraries (and certainly all in the GNOME platform) has Python bindings, so it doesn't matter if you use C or Python to write your tests. In fact, writing the tests in Python should be beneficial

Re: RFC: GLib testing framework

2007-11-01 Thread Behdad Esfahbod
On Thu, 2007-11-01 at 18:24 -0400, BJörn Lindqvist wrote: Hello Tim, I have found that a good way to write tests, is to write them in Python. Almost all libraries (and certainly all in the GNOME platform) has Python bindings, so it doesn't matter if you use C or Python to write your tests.

Change a widget's theme when being focused ?

2007-11-01 Thread Do Thu Thuy
Hi, Gtk+ provides several states for a widget including: ACTIVE, SELECTED,PRELIGHT, NORMAL, INSENSITIVE. We can use these states as the conditions to change widget's properties (background, border, stretch..) using the rc file.The PRELIGHT state has effect when the mouse moves over the widget