Re: Changing cursor in GtkTextView widget.
- From: Erik de Castro Lopo <mle+gtk mega-nerd com>
- To: gtk-app-devel-list gnome org
- Subject: Re: Changing cursor in GtkTextView widget.
- Date: Wed, 19 Apr 2006 22:06:03 +1000
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]