《wxWidgets》wxSizer 使用 入门

来源:互联网 发布:java基础教程视频教程 编辑:程序博客网 时间:2024/05/29 13:52

貌似 wxWidgets 官方的 Simple 没有专门说 wxSizer 的,帮助文档可能是偶理解能力不够,没怎么看懂,然后谷歌之,找到这篇文章,总算对这个 wxSizer 有了点概念。。。

原文是英文的,由于太长了,个人时间不是很充裕,翻译的话等下次,先转载过来,原文链接: http://neume.sourceforge.net/sizerdemo/


PS:由于CSDN破烂排版问题,同时由于GFW,你懂的,偶特地翻出去将文档保存上传,需要的可以下载一份来看

文章内容

下载链接:http://download.csdn.net/detail/ccnyou/5059412

What Do These Sizer Things Do?

One of the most intimidating parts of wxWindows is figuring out how sizers work. They are quite powerful, but sometimes unintuitive. This is intended as a guide to aid in understanding what all those parameters do.

This tutorial focuses on box sizers because they are the most flexible and most commonly used. However, the information here also applies to other sizer types. Unscoped methods like SetSizer() belong to wxWindow, but really make most sense in a wxFrame, wxDialog, wxPanel, or similar classes.

附上截图




原创粉丝点击