Re: gtkmm-list Digest, Vol 195, Issue 6

josephenry via gtkmm-list <[email protected]> Mon, 24 Aug 2020 17:51:25 +0000
Newsgroups gmane.comp.gnome.gtkmm
Message-ID <P0DbJplQJ4RmasvyU11XPZ-avIs8M46SNL5Ji-VWlBzRQzv_mTtSf5HucJm1kfwl0Lahn3Vhd4C5qZhX0_mbNatYvB6zpKGrInVSXyDqgBs=@protonmail.com>
Hi,

Thank you for your answers!

@aitor
I didn't know paste.debian.net thanks for the tip!

@Kjell Ahlstedt / @Ian Martin
In fact what I want isn't really an infinite canvas but rather a canvas that I can scroll and extend so your solution seems nice. (increase the adjustments when the user reaches the borders)

However I the example I sent you, I can't figure out how to scroll in the window. More precisely, which Gtk::Adjustement is responsible for doing that, is it in the ScrolledWindow or the Layout? I declared some adjustments when creating the scrolled window object but it doesn't affect the scrollbars.

I don't understand how to properly instantiate those classes so that I can scroll in the window and for example, the button moves.
Can someone provide me a comprehensive example with Gtk::ScrolledWindow and Gtk::Layout?

Thanks again

Joseph

_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list