Chapter 12Native UI Controls

  • UI controls
  • Container controls
  • Event handlers and listeners
  • Headers, footers, and forms
  • Lists and tables

Tizen provides more than 40 native UI controls, from simple controls, such as push buttons and labels, to sliders, split panels, and icon lists. These controls provide you with the tools to create an efficient, well-designed, and great-looking UI for your Tizen applications.

In this chapter you learn how to work with the different types of UI controls and some of the key concepts, such as containers, the coordinate system, layout, and listeners. You will discover how to handle editable text items, create groups of check buttons, build a simple slide show, and use advanced lists and table views. Each section is accompanied by code snippets to show you how to make use of a control in your own code.

AN OVERVIEW OF UI CONTROLS

UI controls are the user interface elements, such as forms, buttons, lists, and edit fields, that serve as the visual building blocks used to create an application’s layout. Some platforms refer to these user interface elements as widgets. The Tizen native environment provides around 40 controls, some of which are shown in Figure 12-1.

image

FIGURE 12-1

In the class hierarchy, all control classes are derived from an abstract base class Tizen::Ui::Control. This class provides the following:

  • Control ...

Get Professional Tizen Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.