It would be useful if the theme_previewer could take a more active part in the selection of the themes.
Current behaviour
Currently the theme_previewer provides a static example of all the themes. The caller needs to also then provide a mechanism to handle the selection of the theme, such as a scrollable list.
Recommendation
The theme_previewer function is updated so that the individual example frames “Ok” buttons can return the name of the theme.
Resolution
I will be creating a pull request with a solution for this.
Example usage
The following example code can demonstrate how it would be used.
theme_previewer
It would be useful if the theme_previewer could take a more active part in the selection of the themes.
Current behaviour
Currently the theme_previewer provides a static example of all the themes. The caller needs to also then provide a mechanism to handle the selection of the theme, such as a scrollable list.
Recommendation
The theme_previewer function is updated so that the individual example frames “Ok” buttons can return the name of the theme.
Resolution
I will be creating a pull request with a solution for this.
Example usage
The following example code can demonstrate how it would be used.