Mail Archives: geda-user/2012/02/07/17:40:46
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
- Raw text -