GTK4 documentation



 Hi, ALL,
On the page https://developer.gnome.org/gtk4/stable/gtk4-General.html
in the "Description"
part in the sample code it is referencing the "gtk_init( &argc, &argv );".
However, if you look at the actual function -
https://developer.gnome.org/gtk4/stable/gtk4-General.html#gtk-init -
it is documented as "void gtk_init(void);", i.e. it does not take any
arguments.

I am not sure which one is correct - just wanted to report this to you guys.

Moreover, if the function is documented correctly, then there is no
way to pass command-line
arguments to the program. Or is there?

Thank you.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]