[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Customising the text input cursor
- From: Tony Houghton <h realh co uk>
- To: gtk-app-devel-list gnome org
- Subject: Customising the text input cursor
- Date: Sun, 22 Apr 2007 00:43:35 +0100
I find the default cursor difficult to see, especially in a GtkTextView.
I eventually found out I could change it globally in ~/.gtkrc-2.0:
style "eyecatching-cursor" {
GtkTextView::cursor-aspect-ratio = 0.1
GtkTextView::cursor-color = "#cd0000"
}
class "GtkTextView" style "eyecatching-cursor"
which is nice.
But is there a way an application can perform the same customisation on
the fly? There seems to be no way of changing these style properties in
an application as they're not part of a GtkRcStyle or GtkStyle.
--
TH * http://www.realh.co.uk
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]