As
you can probably guess, this function provides the constructor functionality for the window object.
If you guessed incorrectly, take a closer look at the function name. You ??™ ll see that the name is made up
of three segments. The first of these segments is always the word hx_gtk . This is a formality, and
was necessary only to provide a namespace for the function collective within the C source code. The
second part of the name is window . This part represents the object that the function is associated with.
You could imagine this as being a class that the function is a member of, if such a class existed. Finally,
the third part is the name of the action or method that will be applied to the object. In this case, the
method is new , which is a constructor method. With this in mind, use the function to instantiate a new
window object.
When you use the proxy system, all functions of hxGtk are called using the static call function of the
Gtk class. This function reforms the passed function name, then performs a checkup on the SQLite
database file to check if it exists.
Pages:
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929