Re: style name for Text insertion cursor

On Jun 19, 2005, at 7:02 PM, zentara wrote:

style "my_text" {
font_name ="sans 24"
text[NORMAL] = "#FFAA00"
base[NORMAL] = "#000000"

GtkTextView::cursor-color = "red"  # or whatever you like


widget "*Text*" style "my_text"

i'm sure that's documented somewhere, but i found it by romping through the gtk+ sources... for some reason, you have to set the cursor-color style property for GtkEntry and GtkTextView separately.

If I lived in Teletubby Land, the homicide rate would be four.
  -- elysse

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