I'm creating dynamic sections based on a ini file, in .onInit. I need to set the description of each section so that I could see the description while i hover over the component in components page.
In case of usual way we write
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT ${SectionName} ${SectionDescr}
!insertmacro MUI_FUNCTION_DESCRIPTION_END
but how this can be done for a dynamic sections.
-Shiva S
Section Descriptions
2 posts
In the case of dynamic sections, you might be best off handling the .onMouseOverSection callback yourself.
To use that, comment out your MUI_FUNCTION_DESCRIPTION bits, and add..
See also:
To use that, comment out your MUI_FUNCTION_DESCRIPTION bits, and add..
Function .onMouseOverSection
/* $0 contains the Section ID */
FunctionEnd Your dynamic sections code should have some handling in it for you to know which section is which, of course.See also: