I am writing an Application with Gtkmm in C++. At some point, the Application will show live footage of some cameras. They are drawn on a Gtk::DrawingArea
, so we can treat everything for the question as a Gtk::DrawingArea
.
I have something between 3 and 9 cameras. I want all cameras to always be on the screen as big as possible organized in a grid and all camera images shall be of the same size.
Is there a way to achive this with existing Widgets or do I have to implement some dark-gtk-magic? I thought maybe about something like Gtk::FlowBox
but I cannot find any informations on this kind of issue.
I've just answered a question about filling a grid, maybe this is what you are looking for to apply to your Gtk::DrawingArea
.
You may also be interested in this methods for the grid: