Chapter 10. GUI Construction: Part 1

In this chapter, we will cover:

  • Widget configuration
  • Button focus
  • The simplest push button with validation
  • The data entry box
  • Colored button causing message pop-ups
  • Complex interaction between buttons
  • Images on buttons and widget packing geometry
  • The grid geometry manager and button arrays
  • Drop-down menus to select from a list
  • Listbox
  • Text in a window

Introduction

In this chapter, we provide recipes for the components that are used to create user interfaces of the graphical kind. These are known as GUI or Graphic User Interface. The commonly-used term for GUI components is Widget. The word Widget has no particular meaning other than "general sort of gadget". If you used the example from Chapter 4, Animation Principles on a color-mixing palette, then you would have used the slider or scale widget which will be explained in this chapter. We will also demonstrate that it is not too difficult to create our own widgets.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.140.204