Page 283 -
P. 283

label it



                                                                          SOlUTion


                                The interface elements that you add to a GUI are known as widgets.
                                You’ve met one already: the button. There are lots of others. You were
                                to look at the names of some other widgets below and see if you could
                                match them with the correct description.



                Drop down list                                  A widget that provides a way for large and
                                                                 small amounts of text to be entered




                Label                                           A separate window that pops up to request
                                                                 additional information from the user



                Text box                                        A widget that displays a string message in
                                                                 a window



                Menu                                            The combination of a drop-down list and
                                                                 a text box




                Combo box                                       A widget that allows you to select one item
                                                                 from a large list



                Dialog box                                      A list of command options that is attached
                                                                 to the top of a window






                              You were asked to identify which widget you would use in your program.

                                             Use the “Label" widget.
                 You need to add a label to your GUI in
                  order to display the results.



           248    Chapter 7
   278   279   280   281   282   283   284   285   286   287   288