Re: Effective size of drawing area

2016-11-03 Thread Paul Davis
use the size-allocate event for the widget, or check its size via gtk_widget_get_allocation() and cousins. On Thu, Nov 3, 2016 at 10:47 PM, Krzysztof wrote: > Assume that: > > window default size is 300x300 > > window has box with menu bar and drawing area: > > box = new

Effective size of drawing area

2016-11-03 Thread Krzysztof
Assume that: window default size is 300x300 window has box with menu bar and drawing area: box = new Gtk::Box(Gtk::ORIENTATION_VERTICAL); box->pack_start(menuBar, Gtk::PACK_SHRINK); box->pack_start(*darea, Gtk::PACK_EXPAND_WIDGET); What is and how to determine the size of area where I can