Finished and corrected the widget/panel implementation

Need to fill the trigger method from all the event it can receive