Re: [gtk-list] Re: Dumb question about GTK--



Owen Taylor <owt1@cornell.edu> writes:
> needed). But AFAIK, in C++,
> 
>   set_events (GDK_EXPOSURE_MASK | GDK_BUTTON_PRESS_MASK)
> 
> would be invalid if the argument was of type GdkEventMask. 

Why not use 
  set_events( GdkEventMask(GDK_EXPOSURE_MASK | GDK_BUTTON_PRESS_MASK) )
?

Bernd.



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