RE: Problems with DrawingArea in VBox



I can't believe no one has answer this question!

Look at this thread from the list :

http://mail.gnome.org/archives/gtkmm-list/2005-October/msg00054.html

Hope it helps.


From: "jeff rob" <jeffrobins747 hotmail com>
To: gtkmm-list gnome org
Subject: Problems with DrawingArea in VBox
Date: Fri, 11 Nov 2005 13:10:54 -0800

I am adding a DrawingArea to a VBox, so that I acan have a menubar above the graph I am producing.

window->draw_rectangle() and window->draw_arc() do not draw on the window and I cannot change the background color, it defaults to black. I can use window->draw_line(), window->draw_point() and window->draw_layout() work sometimes.

Does anyone know why I cannot draw a rectangle or an arc and why the other functions work sometimes.

Here is a link to my code: www.jeffrobins.com/gtkmm_with_top_menus.tar.gz


_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list





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