[Lazarus] Gtk3 "hello world" application crash

Andrew Haines AndrewD207 at aol.com
Mon Oct 7 01:45:57 CEST 2013


On 10/06/2013 02:31 PM, Krzysztof wrote:
>
> 2013/10/6 Andrew Haines <AndrewD207 at aol.com <mailto:AndrewD207 at aol.com>>
>
>
>     Which function's for box layouts are missing? The generator does not
>     include things which are marked deprecated in the introspection
>     files so that could be the cause.
>
>
> For example gtk_vbox_new();
>
>

Ah ok this is a deprecated class in Gtk 3. Now you should use 
gtk_box_new(<Orientation>);
GTK_ORIENTATION_HORIZONTAL
GTK_ORIENTATION_VERTICAL

Regards,

Andrew





More information about the Lazarus mailing list