Single-item Containers,Frame

学习gtkmm有几周了,英语太烂了,硬着头皮边看边记,还没把握,发上来,大家斧正

Single-item Containers

单项容器

The single-item container widgets derive from Gtk::Bin, which provides the add() and remove() methods for the child widget. Note that Gtk::Button and Gtk::Window are technically single-item containers, but we have discussed them already elsewhere.

单项容器由Gtk::Bin派生而来,它为管理子控件提供了add()remove()方法。严格来说Gtk::Button Gtk::Window也是单项容器,我们已在别处进行了讨论。

 

We also discuss the Gtk::Paned widget, which allows you to divide a window into two separate "panes". This widget actually contains two child widgets, but the number is fixed so it seems appropriate.

我们同时还讨论Gtk::Paned控件,它允许你将一个窗口分隔为两个独立的区——“panes”。它实际上包含两个子控件,但数目固定(为两个)似乎很适当。(?)

§  7.1.1. Frame

§  7.1.2. Paned

§  7.1.3. ScrolledWindow

§  7.1.4. AspectFrame

§  7.1.5. Alignment

7.1.1. Frame

Frames can enclose one or a group of widgets within a box, optionally with a title. For instance, you might place a group of RadioButtons or CheckButtons in a Frame.

Frames可以将在一个盒子里的一个或一组控件围起来,并指定一个标题。如,你可以将一组RadioButtonCheckButton放进一个Frame里。

参考

§  7.1.1.1. 示例

7.1.1.1. 示例

7-1 Frame

源代码

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值