Re: Mouse pointer on menus

2004-01-14 Thread Manuel Op de Coul
You didn't say which platform you use, but if it's Windows then it's a bug that's been reported to Bugzilla. The mouse cursor should change when it moves on a menu. Manuel ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listi

API for iterating the g_hash_table

2004-01-14 Thread Tony Yat-Tung Cheung
Hi, Is there any API for iterating GHashTable? I only see the the g_hash_table_foreach() here. But sometimes people may like to iterate through a hash table and stop the iteration when certain conditions are met. Currently, there is g_hash_table_size(), we could easily add iteration by provid

glib API for iterating the g_hash_table

2004-01-14 Thread Tony Yat-Tung Cheung
Hi, Is there any API for iterating GHashTable? I only see the the g_hash_table_foreach() here. But sometimes people may like to iterate through a hash table and stop the iteration when certain conditions are met. Currently, there is g_hash_table_size(), we could easily add iteration by providing

Re: glib API for iterating the g_hash_table

2004-01-14 Thread Krzysztof Garus
On Wed, Jan 14, 2004 at 10:02:54PM +0800, Tony Yat-Tung Cheung wrote: > Hi, > > Is there any API for iterating GHashTable? > > I only see the the g_hash_table_foreach() here. But sometimes people may > like to iterate through a hash table and stop the iteration when certain > conditions are met.

Re: API for iterating the g_hash_table

2004-01-14 Thread Sven Neumann
Hi, Tony Yat-Tung Cheung <[EMAIL PROTECTED]> writes: > Currently, there is g_hash_table_size(), we could easily add iteration > by providing the following two new APIs, > > gconstpointer g_hash_table_get_key(GHashTable *hash_table, int pos); > gconspointer g_hash_table_get_value(GHashTable *hash

Setting Background image for window

2004-01-14 Thread Manoj tr
Hai How can i set background image for a window. In this how to place other widget on this image. If any one know the idea please tell to me With regards Manoj -- __ Check out the latest SMS services @ http://www.linuxmail.org This allows you t

Re: API for iterating the g_hash_table

2004-01-14 Thread dhaude
> I only see the the g_hash_table_foreach() here. But sometimes people may > like to iterate through a hash table and stop the iteration when certain > conditions are met. It is rather trivial to construct a GList of hash table keys (or values) using g_hash_table_foreach. Of course it's only use

Re: API for iterating the g_hash_table

2004-01-14 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: > It is rather trivial to construct a GList of hash table keys (or > values) using g_hash_table_foreach. Of course it's only useful on > a table whose contents change never or seldom because the list > has to be updated on each change. Anyway, here's what I use. I >

Setting menu sensitivity via a resource file.

2004-01-14 Thread Michael Saunders
I would like to disable a menu item on an already existing GTK application and was wondering if it was possible to make a menu item insensitive (or remove a menu item for that mater) via a resource file. I believe the application creates the menus using the "easy" method; i.e. menu names separa

Re: Mouse pointer on menus

2004-01-14 Thread Nicolas George
Le quintidi 25 nivôse, an CCXII, Manuel Op de Coul a écrit : > You didn't say which platform you use, I thought my message made it quite plain it is an X11 platform. I am quite sure nothing else has an impact, but for completeness, it is a Debian Sarge. pgp0.pgp Description: PGP signature

Re: API for iterating the g_hash_table

2004-01-14 Thread dhaude
On 14 Jan 2004, Sven Neumann wrote: > Hi, > > [EMAIL PROTECTED] writes: > > > It is rather trivial to construct a GList of hash table keys (or > > values) using g_hash_table_foreach. Of course it's only useful on > > a table whose contents change never or seldom because the list > > has to be

Mouse scrolls half the window height

2004-01-14 Thread Mikhail Ramendik
Hello, In Gtk2 applications, notably Evolution 1.4.x, in text/html views (i.e. email), the mouse wheel scrolls all of half the window height in a single movement - whatever that height. This is somewhat inconvenient, especially with tall windows. In other apps, notably Qt apps, Mozilla and Evolut

Re: API for iterating the g_hash_table

2004-01-14 Thread Tony Yat-Tung Cheung
Sven Neumann wrote: Hi, Tony Yat-Tung Cheung <[EMAIL PROTECTED]> writes: Currently, there is g_hash_table_size(), we could easily add iteration by providing the following two new APIs, gconstpointer g_hash_table_get_key(GHashTable *hash_table, int pos); gconspointer g_hash_table

Re: API for iterating the g_hash_table

2004-01-14 Thread Tony Yat-Tung Cheung
[EMAIL PROTECTED] wrote: I only see the the g_hash_table_foreach() here. But sometimes people may like to iterate through a hash table and stop the iteration when certain conditions are met. It is rather trivial to construct a GList of hash table keys (or values) using g_ha