Step 1 Step 2 Step 3
As mentioned in the previous article Gtk.builder, the user UI interface can be generated using glade. So what is Glade?
Glade is a simple UI creation tool, with many parts that can be dragged and dropped directly into the view, grouped, and the final view will be saved in the form of a. glade file.
Let's show you what the Glade program looks like after it's opened.
The left side is the part area, the middle is the view area, the upper-right corner is the view hierarchy, and the lower-right corner is the part attribute browsing and setting area.
This article does not specifically explain how to use glade. It is mainly about the installation method. Step 1
Temporarily block out the contents of the ~/.CONFIG/JHBUILDRC file after adding a few lines. Step 2
$jhbuild build libxml2
$jhbuild Build Glade
If there is an error
I/O error:attempt to load network entity
Http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
Select 4 to enter the shell
$./configure--enable-gtk-doc python=python3--enable-gladeui--prefix=/users/xiaosanyu/gtk/inst
$make
If make error
Making all in doc
DOC Building HTML
MAKE[2]: * [Html-build.stamp] Error 5
MAKE[1]: * [all-recursive] Error 1
Make: * [All] Error 2
Can be ignored, then make install
$make instal
Step 3
Enter Glade command after Setup completes
Glade
command in the ~/gtk/inst/bin directory
The picture that is shown above will then appear. But there is no middle view of that part.
To learn about Glade, see the official website https://glade.gnome.org/
Code Download Address: http://download.csdn.net/detail/a87b01c14/9594728