Pygobject (79) Glade installation

Source: Internet
Author: User
Tags gtk xsl

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.