Sign in Join
Wiki copytemporary

gtk2: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11The package GTK2 is a header to the GTK 2.x libraries. The headers mostly try to be compatible to 2.6 with some 2.8 extensions.
22
33It is expected that the next lazarus version (0.9.28) will default to gtk2. Currently, gtk1 is still the default, though gtk2 is already in wide use.
44
55Note that while GTK(2) is mostly used on Unix, it is known to work on Windows too, though to our knowledge not tested regularly.
66
77Reportedly (bug 12359) the following libraries are required for windows:
88
9-`libgdkglext-win32-1.0.0.dll`\
10-`libglade-2.0-0.dll`
9+```text
10+libgdkglext-win32-1.0.0.dll
11+libglade-2.0-0.dll
12+```
1113
1214# fpu problem under windows
1315
1416A documented problem [bug 12359](http://bugs.freepascal.org/view.php?id=12359) states that the default FPU mask of FPC under windows can be a problem for the GTK libraries. The gtk_demo example is affected by this.
1517
1618See also
1719
1820- [fpc-devel msg](http://www.mail-archive.com/fpc-devel@lists.freepascal.org/msg12237.html)
1921
2022This can be avoided by setting the FPU mask to \$133F as first line in your program.
2123
22-` Set8087CW($133F); `
24+```text
25+ Set8087CW($133F);
26+```
2327
2428This might have an affect on Delphi compatibility of floating point operations though.
2529
2630---
2731*From the Free Pascal wiki, page "gtk2", as it stood on 2013-04-30 after a change by Jwdietrich, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
2832Category: Headers and Bindings
2933Category: Packages

Back to history