If you look closely at the lines within the custom event handling function, you can see where the data
from the event parameter is extracted into arrays. Here, if the value of sig_prms is not an array, it is still
packed into one, thus paving the way for consistency.
Rapid hx G tk GUI Development with Glade
One of the benefits of using GTK for GUI development is the Glade Integrated Development
Environment (IDE). Glade is a cross - platform tool, and is very easy to use. Unfortunately, detailing how
to use Glade in all its glory is beyond the scope of this book as it is very functional, so only the minimum
504
Part III: Extending the Possibilities
functionality required to use Glade in haXe will be shown, as well as how to use a Glade file within a
haXe project using hxGtk , and how to interact with the controls it generates.
The Glade IDE
At the time of writing this book, the current version of Glade is 3.1 for UNIX - based systems and 3.0.2 for
Windows systems. Version 3+ of Glade is a recent rewrite of the original Glade application, but also a
welcome one, as it sports a new, more intuitive interface.
Pages:
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936