linux gtk 编程
- Top 5 Programming Languages For Developing Linux Desktop Applications
- https://www.gtk.org/
- Overview of GTK+ and its Libraries
- GTK+ 3 Reference Manual
安装开发包和下载源码
编译
对于复杂ui的开发,可以通过GtkBuilder 实现xml来描述ui,同时可以通过 Glade 做图形化配置控件;
https://developer.gnome.org/gtk3/stable/gtk-getting-started.html
对象继承关系;
控件画廊
需要在非root用户 DISPLAY=:0 ./example-0 运行。
同时,x server 限制连接用户。所以如果要通过root调试,会麻烦一些。