RE: gtk_ctree_node_get_row_style()
- From: Lars Hamann <lars gtk org>
- To: Stuart Parmenter <pavlov innerx net>
- Cc: gtk-devel-list redhat com
- Subject: RE: gtk_ctree_node_get_row_style()
- Date: Sat, 17 Oct 1998 13:03:36 +0200 (CEST)
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]