No, you must be doing something wrong. Maybe you haven't updated plananarama.hwp in Hollywood:LinkerPlugins? Keep in mind that when linking plugins Hollywood will not use the plugins in LIBS:Hollywood but in Hollywood:LinkerPlugins.
I've now tested this MCVE and it's working correctly with the latest Plananarama and with both Hollywood 9.1 and Hollywood 10:
Code: Select all
@IF #HW_AMIGAOS3
@REQUIRE "plananarama", {Link = True}
@ENDIF
@REQUIRE "RapaGUI", {Link = True}
moai.CreateApp([[
<?xml version="1.0" encoding="iso-8859-1"?>
<application>
<window title="Test program">
<vgroup>
<button id="btn">Hello World! </button>
</vgroup>
</window>
<window id="child" open="false" title="Child window">
<vgroup>
<button id="btn2">Click me</button>
</vgroup>
</window>
</application>
]])
dialog$ = [[
<dialog id="dlgs" title="AmidonSettings">
<vgroup>
<rectangle/>
<hgroup>
<rectangle/>
<button id="ok">ok</button>
<button id="cancel">Cancel</button>
</hgroup>
</vgroup>
</dialog>
]]
InstallEventHandler({RapaGUI = Function(msg)
If msg.id = "btn"
moai.CreateDialog(dialog$)
result = moai.DoMethod("dlgs", "showmodal")
EndIf
EndFunction})
Repeat
WaitEvent
Forever