开发者

Gtk layered layout

开发者 https://www.devze.com 2023-03-05 13:35 出处:网络
I am building a simple interface using a 3 row GtkVbox. Inside middle row, I\'d like to show a centered image and a small config panel. If config panel is shown, it must appear over the image. How cou

I am building a simple interface using a 3 row GtkVbox. Inside middle row, I'd like to show a centered image and a small config panel. If config panel is shown, it must appear over the image. How could I simulate a layered panel w开发者_StackOverflow社区here the config panel appers in an upper level than the image. Any ideas?

Regards


Overlaying widgets on top of each other isn't really what GTK is built for - you might be using the wrong tool for the job. Maybe you should check out Clutter?


I believe you can use GtkOverlay to put the panel over the image.

0

精彩评论

暂无评论...
验证码 换一张
取 消