Web lists-archives.com

Re: Effective size of drawing area




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 <kj@xxxxxxxxxxxx> 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@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list