On 3/24/06, eduardo fiss beloni <[EMAIL PROTECTED]> wrote:
>
> hello people
>
> according to this manual page (botton of page):
>                   Drawing Lines
>         Chapter 14. The Drawing Area Widget
>
> the background of Gtk::DrawingArea is gray by
> default...
> so, can I change it ???
>
> note that's relationed with my previous answer ( not
> yet replyed... )
>
> thanks to everybody
>

One way:

inside an expose event handler:
   Glib::RefPtr<Gdk::Window> win = this->get_window();
   win->set_background(c);
   win->clear();

where 'c' is a Gdk::Color object

Jonner
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to