Windows in Linux

Source: Internet
Author: User
In Linux, let's talk about Windows-general Linux technology-Linux programming and kernel information. The following is a detailed description. To write a window program in linux, we will mainly use Xlib, GTK, QT, etc. Xlib is too low-level and is also a function. Besides, the most popular window manager is Gnome and KDE, so we only mention GTK and KDE.

The GTK of QT and Gnome of KDE thinks so.

The things made by QT in KDE are really beautiful, and the GTK interface of Gnome is ugly, but GTK seems to be running more efficiently than QT, and some machines are relatively old.

In addition, QT is a company's product, although you write your own gadgets, everything is free of charge. But if you want some commercial software, you have to pay for it unless you don't care about it. However, in my personal sense, QT does feel better than GTK.

In the beginning, GTk is thought to be the same: GTK can be written in linux and is free of charge. Widows also has a Win32 runtime environment. And there is an object-oriented design in it. However, some people do not think it is appropriate that GTK is programmed in C language. I am used to C ++. It is really awkward to use C to write a window program. Later I heard that there is a GTKMM, which is a C ++ package for GTK. The trouble is that a layer of GTKMM Runtime Library must be installed in both linux and windows. Some people feel uncomfortable. --- In fact, writing window programs in linux, GTK is a good choice. It has a visual editing environment, GLADE, and uses C. If GTKMM is installed, GLADE can also generate C ++ code.

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.