You ??™ ll look at the VBox and Dialog controls in detail later
in this chapter. The Label control performs several functions in this example, both a textual control and
a graphical divider. The Label control can also act as a display for images and provide a vertical divider,
though this is not shown in the example. This is a common feature of nGui , whereby a control can serve
numerous functions depending on its context or how it is configured. Table 17 - 3 details the methods of
the Label control, while Table 17 - 4 details its properties.
Chapter 17: Desktop Applications with Neko
485
The Control Class
The nGui class framework is based on an object - oriented model, whereby all controls, including the
Label control, inherit a base class called Control . The Control class provides a number of universal
functions used for control manipulation and for setting properties that are available to all controls in
nGui , as well as permitting a generic type for the controls. Any of the controls can make use of the
attributes as detailed in the Control class, though not all of the controls will necessarily display any
obvious change based on those attributes.
Pages:
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901