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。

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-18
  • 2021-06-30
  • 2021-11-06
  • 2022-12-23
  • 2021-11-25
  • 2021-10-04
  • 2022-12-23
相关资源
相似解决方案