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 <k...@limes.com.pl> wrote: > 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 actually do all > drawing? > > > -- > Regards > Krzysztof J. > > _______________________________________________ > gtk-list mailing list > gtk-list@gnome.org > https://mail.gnome.org/mailman/listinfo/gtk-list >
_______________________________________________ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list