RE: gtk_ctree_node_get_row_style()




On Sat, Oct 17, 1998 at 05:59:33AM -0400, Stuart Parmenter wrote:

> gtk_ctree_node_get_row_style() returns NULL on a ctree node that hasn't been
> shown yet (?)

No, it returns NULL until you changed it yourself.

> I need to do this before I set the style, so that I get the
> style correctly, i.e. the stuff that gtkrc sets.  Otherwise, I set the font,
> and it removes the background color, etc that the user may have specified
> already.

Like row fore/background colors, row and cell styles can't be changed out
of gtkrc. Only the ctree style can be changed.

> So my question is: how should I go about setting the font without
> overwriting the other things?

Just copy the ctree style, change the font and set it as row style.

bye,
  Lars



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