Hello, everyone! I am having a issue with GtkEntry. When it is focused, it should glow blue. But if i connect it the way below, even if the GtkEntry is focused, it doesn't glows, and even doesn't shows the text cursor.
on_window_focus_in (GtkWidget *widget,
main (int argc,
gtk_init(&argc, & argv);
window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
gtk_container_set_border_width (GTK_CONTAINER(window), 8);
g_signal_connect (window, "destroy", G_CALLBACK(gtk_main_quit), NULL);
entry = gtk_entry_new();
g_signal_connect (window, "focus-in-event", G_CALLBACK(on_window_focus_in), entry); //comment this line to desactivate de bug
Here is screenshots:
In the two images the GtkEntry is focused.