For a lark, I started making a UI, and one of the things I am using is AceGUI-3.0 to make the installer window. Following along the tutorial, I added SetClampedToScreen, SetUserPlaced, and SetFrameStrata. Lo and behold, Bugger reported that all three were unknown and caused errors. The code only advances when I comment out the lines.
In my code, line 118 of the following error code is line 66 in the paste.
[PHP]1x MyrroUI\MyrroUI-@project-version@.lua:118: attempt to call method 'SetClampedToScreen' (a nil value)
MyrroUI\MyrroUI-@project-version@.lua:118: in main chunk[/PHP]Further, I am using LibWindow-1.1 to control the thing, but that's another bag of kittens, and causing me issues. I'm working through those, but the frame sets are bugging me more, which is why the LibWindow code isn't included in the paste.
Just had a quick look at the AceGUI code itself (something you could have done yourself ;) ).
AceGUI:Create(type) returns an AceGUI widget of the given type and while there is a "frame" type, this isn't a normal frame. It thus doesn't have the same API.
In theory, you could dig into its internal frame and set the options there but these wouldn't be cleaned up on release.
So the best way would likely be to clone your own custom widget from the frame widget.
AceGUI frames or widgets are not meant to be "normal" frames, you access them through the AceGUI API, not anything else.
If you want a frame in full control, create your own and either implement the AceGUI container API, or just shove a invisible "SimpleGroup" into it to serve as your main container, or a ScrollFrame container if you need scrolling.