Theme

Since: BlackBerry 10.0.0

#include <bb/cascades/Theme>

A class representing the application theme, which can consist of different elements, such as color values.

Currently, it's not possible to the set the theme for your application at run time. You can only set the theme by configuring it in the bar-descriptor.xml file for your application. You can read the current theme for your app by checking the Application::themeSupport property.


Overview

Properties Index

Public Functions Index

Properties

bb::cascades::ColorTheme colorTheme[read-only]

Retrieves the current ColorTheme.

Ownership of the returned object is not transferred.

Return:

The application's ColorTheme.

Since:

BlackBerry 10.0.0

Public Functions

bb::cascades::ColorTheme * colorTheme ()

Retrieves the ColorTheme object.

Ownership of the returned object is not transferred.

Return:

The application's ColorTheme object.

Since:

BlackBerry 10.0.0

Last modified: 2014-03-13

comments powered by Disqus