Anyone have an idea how I could create a widget that cannot be closed by the user and also cannot be moved by the user (disable the drag functionality)?
That woukld require you to create your own copy of the WidgetTemplate.as and remove the close button. To make a widget non-draggable all you have to do is set the widgetcontainer's layout to equal fixed.
Thanks Robert! I see also that WidgetTemplate has properties to enable closing, resizing, dragging etc. which hide the buttons. To hide the resize button in the lower right you must also set the resizable property to false.