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 widge

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 te

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 because

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). Beside

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. Tes

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 test