RE: [gtkmm] GdkDrawable Newbie Question



> From: Kent Moya [mailto:fliegen bellsouth net] 
> virtual bool rgb_draw_area::on_expose_event(GdkEventExpose *event)
> {
>      gdk_draw_rgb_image(this->get_window(),

You need to use gobj() to get the C instance. For instance,

gdk_draw_rgb_image(get_window()->gobj(), 

But of course you should check get_window() for null and you probably need
to cast the GdkWindow* to a GdkDrawable*.

Murray Cumming
murrayc usa net
www.murrayc.com 



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