getUiStyle()

Returns the available display styles of windows and buttons dependent on the actually used style.

Synopsis

stringgetUiStyle();

Parameters

Parameter Description
-

Return value

The function returns the available styles, otherwise -1.

Description

This function returns the available display styles of windows and buttons dependent on the actually used style.

This function doesn't return KDE styles under KDE 3.x/Qt3!

The UI has to be started explicit with "-style windows" under Windows XP. Without this option only the Windows XP style will be returned, because it decides for itself which style it displays (WinNT or XP).

Example

Returns the available styles in the log viewer.

main()
{
  DebugN(getUiStyle());
}

Assignment

Graphics functions

Availability

UI