That ??™ s all there is to it. The resolved function call may or may not return a value. This is detailed in
the SQLite database file under the rettype column. When creating a new control, this return value will
likely be a C pointer handle to the control, so you must store it in a variable of type Void , so that
Neko knows it is not a type it can modify. Alternatively, the type may be one of the values listed in
Table 17 - 11 .
Chapter 17: Desktop Applications with Neko
501
The Gtk Class
You now know how to execute the various functions within the hxGtk ndll library. However, aside
from control instantiation and interaction, the actual running of hxGtk can be far simpler and certainly
less generic, thanks to the Gtk class. As with nGui , the hxGtk library needs to first be initialized.
Likewise, once your controls have been created and configured, the application then needs to enter an
event loop, so that messages passed from the operating system can be handled. All of this can be
accomplished with the methods contained in the Gtk class.
Pages:
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931