init


Description:


public bool init (ref unowned string[]? argv)

Call this function before using any other Handy functions in your GUI applications.

If libhandy has already been initialized, the function will simply return without processing the new arguments.

Parameters:

argv

Address of the <parameter>argv</parameter> parameter of main, or null. Any options understood by Handy are stripped before return.

argc

Address of the <parameter>argc</parameter> parameter of your main function (or 0 if argv is null). This will be changed if any arguments were handled.

Returns:

true if initialization was successful, false otherwise.


Namespace: Hdy
Package: libhandy-0.0



2022 vala-language.org