Re: Changing cursor in GtkTextView widget.



Erik de Castro Lopo wrote:

Unfortunately, doing this after the top level call to
gtk_widget_show_all () is a PITA and doing before fails because
the call to gtk_text_view_get_window () returns NULL.

While searching for something else I found a way to do this
using g_signal_connect_after() to connect to the "realize"
signal and fix the cursor there.

Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo
+-----------------------------------------------------------+
"One World, one Web, one Browser." - Microsoft promotion
"Ein Volk, ein Reich, ein Fuhrer." - Adolf Hitler



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]