Chapter 9. Controlling The User Interface

In the previous sections we have already seen some YCP code that dealt with the creation and handling of on-screen dialogs. These examples were rather simple to show the basic strategy of creating dialogs. Of course designing “real” dialogs that do useful things is is bit more complicated and requires a rather good knowledge of the instruments provided by the UI.

Because the UI has been designed to be most flexible, the possibilities for creating and managing dialogs are quite versatile. Consequently the instruments for doing this are rather diverse. In fact the UI extends the basic YCP language to a large extent, thereby providing the means to create and manage on-screen dialogs.

For more information about the User Interface, handling events see the Layout HOWTO.