7.2.4. ButtonBoxes
来源:互联网 发布:软件过程改进模型 编辑:程序博客网 时间:2024/06/07 19:24
学习gtkmm有几周了,英语太烂了,硬着头皮边看边记,还没把握,发上来,大家斧正
7.2.4. ButtonBoxes
Button boxes are a convenient way to quickly arrange a group of buttons. They come in both horizontal (Gtk::HButtonBox) and vertical (Gtk::VButtonBox) flavours. They are exactly alike, except in name and orientation.
Button boxes(按钮框)是快速排列的一组按钮的简便方法。他们可提供(Gtk::HButtonBox)的水平和垂直(Gtk::VButtonBox)的两种特色。它们完全相同,除了名称和方向。
ButtonBoxes help to make applications appear consistent because they use standard settings, such as inter-button spacing and packing.
ButtonBoxes有助于使应用程序的外观保持一致,因为它们使用标准的设置,例如,按钮之间的间距和包装放置。
Buttons are added to aButtonBoxwith theadd()method.
按钮用add()方法添加到ButtonBox中。
Button boxes support several layout styles. The style can be retrieved and changed usingget_layout()andset_layout().
按钮框支持几种布局样式。样式可以检索和使用get_layout()和set_layout()更改。
参考
§ 7.2.4.1. 示例
7.2.4.1. 示例
图 7-9 ButtonBox
源代码
- 7.2.4. ButtonBoxes
- 7.2.3. Boxes
- 7.2.5. Grid
- 7.2.6. Table
- 7.2.7. Notebook
- 7.2.8. Assistant
- 7.1.5. Alignment
- 7.2
- 7.2
- 7.2
- 7.2
- 7.2
- 7.2
- 7.2
- 7.2
- 7.2
- 问题7.2
- Ogre1.7.2
- 部署.net framework 3.5 sp1编译出错解决
- java.sql.date和java.util.date
- SQL-to-MongoDB
- 今天看了Objective C中在方法中分配并返回对象这一节,应该坚决禁止这种行为。
- CListCtrl在SetImageList之后,如何去掉图像;;如何改变ClistCtrl行高
- 7.2.4. ButtonBoxes
- Android流媒体播放器
- ORACLE索引介绍和使用
- 利用VC++动态改变Windows的显示特性
- screenrc
- AppWidgetProvider 类使用
- 直接在程序中更改显示模式
- SharePoint 应用
- Android-SDK Samples --- ApiDemos(Animation)