Re: Focus weirdness

2008-11-10 Thread David Munger
Alright I've finally solved it. I had to pass the focus manually from the GtkDrawingArea to the embedded xterm using XSetInputFocus(). Can somebody suggest a cleaner or a more GTK-ish way of doing this? I've tried with GtkSocket and gtk_socket_steal() but I still had to pass the focus manually. T

removing element from GHashTable returns FALSE

2008-11-10 Thread Luka Napotnik
Hello. I'm using a GHashTable to store some structures. The keys are unsigned integers. I create my hash table with: g_hash_table_new(g_direct_hash, NULL); Then I store same values with keys with: g_hash_table_insert(my_hash_table, GUINT_TO_POINTER(3), mystruct); But when I try to remove the v

Re: Glade signal connect data and full

2008-11-10 Thread Mike Massonnet
Hi, and really quickly, Le Mon, 10 Nov 2008 08:38:53 -0500, dhk <[EMAIL PROTECTED]> a écrit : > All, > > Could some explain how to use glade_xml_signal_connect_data() and > glade_xml_signal_connect_full()? Some good examples would be helpful > also. http://www.google.com/codesearch?q=lang%3Ac+

Glade signal connect data and full

2008-11-10 Thread dhk
All, Could some explain how to use glade_xml_signal_connect_data() and glade_xml_signal_connect_full()? Some good examples would be helpful also. I don't think I know the difference between the signal handler name and the signal handler function that is used as parameters. In my GTK program I w