Question about crash in gtkhtml

2007-08-15 Thread MD Tsai
Dear all, I'm tring to write an instant messenger program. I use gtkhtml to show received message. To show the messages, I set the gtkhtml widget to edit mode and non-edit mode. Then I can append html without reload. To control the request from protocol in the message receive area, I use hyper lin

how to grab focus using ATK

2007-08-15 Thread Andrey Tsyvarev
Hi, Could someone explain how an ATK user should properly implement focus grabbing for an object, so that atk_get_focus_object() would return that object? Suppose, for example, one needs to implement a virtual method corresponding to atk_component_grab_focus() in a class implement

Re: How to replace deprecated functions

2007-08-15 Thread Gian Mario Tagliaretti
2007/8/13, Joerg Anders <[EMAIL PROTECTED]>: > Thank you for this. But gtk_toolbar_insert() requires > an GtkToolItem as 2nd parameter. And I found now way to say: > "The GtkToolItem is a GtkSpinButton." GtkToolItem inherits from container, so create GtkToolItem and add your widget, then use gt