Sign in Join
Wiki copytemporary

Gtk+3: what changed

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

OldNewLine
11*(GTK+ only)*
22
33# Info
44
55Gtk+3.0 bindings are being developed in the Lazarus-ccr
66
77They are based on the headers from gtk+3.8.6 which can be downloaded here:
88
99<http://ftp.gnome.org/pub/gnome/sources/gtk+/3.8/gtk+-3.8.6.tar.xz>
1010
1111# SVN
1212
1313The current result can be found in the Lazarus-CCR at this svn address:
1414
15-` svn checkout `[`svn://svn.code.sf.net/p/lazarus-ccr/svn/bindings/gtk3/`](svn://svn.code.sf.net/p/lazarus-ccr/svn/bindings/gtk3/)` gtk3`
15+```text
16+ svn checkout svn://svn.code.sf.net/p/lazarus-ccr/svn/bindings/gtk3/ gtk3
17+```
1618
1719-or-
1820
19-` svn checkout `[`https://svn.code.sf.net/p/lazarus-ccr/svn/bindings/gtk3/`](https://svn.code.sf.net/p/lazarus-ccr/svn/bindings/gtk3/)` gtk3`
21+```text
22+ svn checkout https://svn.code.sf.net/p/lazarus-ccr/svn/bindings/gtk3/ gtk3
23+```
2024
2125Or you can browse the files [here](https://sourceforge.net/p/lazarus-ccr/svn/HEAD/tree/bindings/gtk3/)
2226
2327These files were generated with [[gir2pascal]] which should be updated to generate correct bindings if errors are found.
2428
2529# FAQ
2630
2731## My simple program crashes immediately
2832
2933You probably need to include the Math unit and put
3034
31-` SetExceptionMask([exDenormalized,exInvalidOp,exOverflow,exPrecision,exUnderflow,exZeroDivide]);`
35+```text
36+ SetExceptionMask([exDenormalized,exInvalidOp,exOverflow,exPrecision,exUnderflow,exZeroDivide]);
37+```
3238
3339before gtk_init.
3440
3541## Where is class X
3642
3743Some classes have been deprecated in Gtk3 and the generator skips deprecated classes and functions.
3844
3945## Some functions are missing like g_signal_connect
4046
4147Many functions are actually c macros and are unavailable in the introspection files. In the case of g_signal_connect it is a macro around g_signal_connect_data.
4248
4349## Where are GtkHbox and GtkVBox
4450
4551In Gtk 3 GtkHBox and GtkVBox are combined in GtkBox. In gtk_box_new you specifiy an orientation.
4652
4753---
4854*From the Free Pascal wiki, page "Gtk+3", as it stood on 2021-01-12 after a change by Trev, 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).*
4955Category: GTK Widgetsets
5056Category: Lazarus-CCR

Back to history