Re: List Item Background?



Paul Davis wrote:

>>I am working on an application where I wish the background color
>>for a GtkListItem to be different from the background color of the
>>GtkList.  I have tried setting the bg/base fields of the GtkListItem
>>but this doesn't appear to help.  Needless to say most of the widgets
>>I am packing into the gtkListItem are Labels(which don't draw their
>>own background).  Is there any way to give each ListItem its own
>>background color?  Thanks.
>>
>
> did you try gtk_clist_set_cell_style (clist, row, col) ?

Using a GtkList, not a GtkClist...  I'll try that if I can't do
it with the code I have.  But would prefer not to have to re-code
a bunch of stuff that depends on the gtkList... (e.g. reordering
widgets)

--Evan


--
Evan Van Dyke                               E-mail: evandy netcom com
Page: 15442232 pager mirabilis com          ICQ#: 15442232
DNRC's Minister of Lost Internet Packets.   O-
Amateur Radio Call Sign:  KB8PVE            Elder ResCon at Northwestern

GCS/S d+(-) s:+ a--- C++++ UH+I++L++++S++V++++ P+ L+++>++++ E W++ N++
w-- O- M-- !V PS+ PE+ Y+ PGP t+ 5+++ X+ R+ tv+ b+++ DI++++ D+ g e h !r y-

    "Quoth the Raven...  'Nevermore!'" --Edgar Allen Poe
    "I'll bet that all you can do is watch the ball bounce around the
screen.
                                       --Dilbert to Management





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