[gtk-server] GtkTextView and focus-out-event

  • From: "Leonardo Cecchi" <leonardoce@xxxxxxxxxxxx>
  • To: <gtk-server@xxxxxxxxxxxxx>
  • Date: Fri, 11 Nov 2005 20:50:57 +0100


I'm trying to connect to "focus-out-event" on a textview but I obtain an
assertion error and the program exit with an error status.
The assertion error looks like this:

Assertion failed: (GTK_WIDGET_HAS_FOCUS (text_view)) on gtktextview.c in
line 4482

I found an issue on GtkEntry that is really similiar:


I think the problem is that I should connect to focus-out-event with
g_signal_connect_after instead of g_signal_connect.
I'm using a code like this:

(send-gtk "gtk_server_connect " textview " focus-out-event \"Trial\"")

Where I'm wrong? I'm probably using gtk_server_connect in a wrong manner...
I'm working with Clisp 2.35, GtkServer 2.0 build 5, Gtk 2.6.7, Windows XP

Thanks and excuse me for my bad english.


Other related posts: