very basic question



A newbie (seemingly perpetually), I am stumped trying to change the background color of an eventbox. I have included this line:

  eventbox.modify_bg(Gtk::STATE_NORMAL, &color)

(having defined a color, I think appropriately), but I keep being told that eventbox has no member called "modify_bg. Obviously I am missing something obvious, but what?

Thanks.

Andy Gilman


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