Let's talk about gtk and anjuta-Linux general technology-Linux programming and kernel information. The following is a detailed description. In LINUX, I am not a good developer. I can only find a dummies IDE.
Some time ago, when I got a point embedded into the 2410 wrench, I tortured the use of QT and kdevelop. However, it seems that I have forgotten it.
Recently, a VB program is to be transferred to LINUX. It is estimated that the Windows virus is so rampant.
Just playing UBUNTU, let's get to gtk.
Install anjuta and gtk. They are all installed by dummies. You can directly install apt-get. Hey hey, the original OS versions of anjuta1.2.2 and gtk2 are a little old, and the source anjuta.org/apt is added. /, the old version should be completely deleted first. The first time I got rid of some of my things, it's still a cainiao, after the 64-bit system is installed with I386, it still returns to 32-bit.
Now I got anjuta 2.2.1 and gtk2. a few times. I don't remember, but anjuta is still a good IDE.
However, because C ++ was used in the past, I had to stop suffering C. I 'd better use the C ++ class I remember.
If you do not use the rpm or tar package to install the package, you will be able to install it DOWN and run less DD,
Let's talk about anjuta first.
Deb http://anjuta.org/apt ./
Sudo apt-get update
Sudo apt-get install anjuta
Check out sudo dpkg-I anjuta // sudo apt-cache anjuta ??
Check the dependencies. Many supported databases have some version requirements.
Gtk + is a graphical interface of C language, and gtkmm is a graphical interface of C ++ encapsulated on C. (Since C ++ is used for development, it is necessary to install glademm, libglade/libglademm)
GLADE is a graphic development tool for gtk ++/gtkmm. Glade2 can be called in anjuta. After the interface is created, it is embedded into the c program through association and the source code is automatically generated into the interface. c interface code file. However, glade3 uses the separation principle between the interface and code to generate only. glade files, that is, XML files. libglade/libglademm class library is used in anjuta and other program codes for import. (I 've been bundling this problem for several days. I'm so stupid that I won't use glade3,) but I still think that although glade2 can be automatically generated, it may be troublesome, just as you like APIs and don't like MFC, you may be dazzled. The original intention of GLADE is to completely separate the design interface from other code.
The interface code generated by lGade is as follows:
1. Let Glade design the interface elements, set the Interface Element attributes, and set the callback function for the component signal;
2. Save it as XML format, observe and modify the parts that do not meet the requirements;
3. compile other part of the application code, load the Glade file in the application, and compile the C code to generate the execution file.
GTK2 online. There are a lot of materials for 0 +, but it seems that there are not many gtkmm. I really don't know if C ++ should be used. Let's record the code analysis in detail tomorrow. In the past two days, there have been a great deal of trouble. The interface designed by glade3 has been unable to find the definition of the control in the program, and the signal processing is dizzy. It's easy to make progress this evening. It turns out to be libglademm. I plan to solve the difficult problem tomorrow. It is easier to use a tool that can design and draw a complex interface.
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