[gtkmm] Ack: Gtk::DrawingArea



On Thu, 21 Aug 2003, Ainsley Pereira wrote:

> On Wed, Aug 20, 2003 at 10:44:21PM +0200, Joerg Anders wrote:
> > I'm a gtkmm beginner. I tried the "cust_draw_area" example
> > class from:
> 
> Hi, Welcome to the wonderful world of gtkmm:)
> 
> call to 'size' in the constructor should read:
> 	set_size_request(width, height);

Thank you! "set_size_request" works!
> 
> As for the errors from line 25 onwards, I think they should be
> get_window()->draw... rather than get_window().draw...
> 

Yes, this was my mistak!

-- 
J.Anders, Chemnitz, GERMANY (ja informatik tu-chemnitz de)



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