[英]Gtk# HBox container
I am new to Mono/Gtk development, so I am having some trouble in finding what I need. 我是Mono / Gtk开发的新手,因此在寻找所需内容时遇到了一些麻烦。
I would like to accomplish a behavior similar to WrapPanel in .NET, meaning I would like to add widgets to container and have it go to next row when there is no more space available horizontally. 我想实现类似于.NET中WrapPanel的行为,这意味着我想在容器中没有水平可用空间时将小部件添加到容器并将其移至下一行。
I also need to be able to remove widgets from the container randomly. 我还需要能够从容器中随机删除小部件。
My question is: is there a way to do something like this with HBox/VBox containers? 我的问题是:有没有办法用HBox / VBox容器做类似的事情? I would appreciate if you could point me in the right direction.
如果您能指出正确的方向,我将不胜感激。
Thanks! 谢谢!
GTK具有GtkToolPalette
,但我认为C#不可用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.