X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Message-ID: <4F31A80E.8000309@x-eike.de> Date: Tue, 07 Feb 2012 23:39:10 +0100 From: Eike Krumbacher User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0) Gecko/20120131 Thunderbird/10.0 MIME-Version: 1.0 To: geda-user AT delorie DOT com Subject: Re: [geda-user] Patch: change GtkoptionMenu to GtkComboBoxText (part one) References: <4F314AFF DOT 50201 AT x-eike DOT de> <1328635654 DOT 2423 DOT 12 DOT camel AT AMD64X2 DOT fritz DOT box> In-Reply-To: <1328635654.2423.12.camel@AMD64X2.fritz.box> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;eike DOT krumbacher AT x-eike DOT de;1328654358;2bb015e2; Reply-To: geda-user AT delorie DOT com Hi! Am 07.02.2012 18:27, schrieb Stefan Salewski: > > I had seen the announcement of your Book at > > http://www.gtk.org/documentation.php > > but I was not aware that is a free wiki book, because it is listed > together with the Krause book... Of course german language restricts the > number of readers. On de.wikibooks, there were a lot of launched books arround GTK+, but most of them died just before the first chapters are written. I wanted to sell the book, but no german publisher was interested in the idea. They told me, that there is no market for books about GTK+, so I decided to put everything I had to de.wikibooks. I hope, it is good enough for a public book. Some, but very few guys have contributed and I hope, more will do so. > > When you are subscribed to gtk-app-devel-list you may have seen my > recent question Sorry, I'm not. > I really tried hard to provide an example code for the problem in the > last post (my C GTK skills are not really good), but no replies... > * You need to call g_object_set_property() or similar with the property "has-tooltip". In this case only, your callback gets executed. * if you insert a button into your liststore.c file, your callback can call g_object_set_property( treeview, "has-tooltip", a_gvalue ) and this a_gvalue can change each time you hit the button. With this, you can toggle the tooltips. I don't know, if this is best practice. There may be some better solutions. Best regards Eike