瑞雪年

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: :: 订阅 订阅 :: 管理 ::
Gtk.Alignment           Gtk.Arrow          Gtk.Bin
Gtk.Box Gtk.Button Gtk.CheckButton
Gtk.Fixed Gtk.Image Gtk.Label
Gtk.MenuItem Gtk.Notebook Gtk.Paned
Gtk.RadioButton Gtk.Range Gtk.ScrolledWindow
Gtk.Separator Gtk.Table Gtk.Toolbar
Gtk.AspectFrame Gtk.Frame Gtk.VBox
Gtk.HBox Gtk.VSeparator Gtk.HSeparator

上面这些构件没有“窗体”, 所以要捕获它们的事件,就要用到EventBox.

 Button: 有4种,Button, ToggleButton, CheckButton, RadioButton.  其中ToggleButton和CheckButton 等同与Windows的CheckBox,只不过ToggleButton还表现为按钮,有被按下的效果,CheckButton更象CheckBox;RadionButton就是RadioBox了。

Gtk#的布局相比好用很多,有GtkAlignment, GtkFixed, GtkVBox, GtkHBox 和 GtkTable。

 

posted on 2009-07-10 15:18  瑞雪年  阅读(938)  评论(0编辑  收藏  举报