DcGeneral version 2 compatibility.

Handle widget creation and options_callback with GetPropertyOptionsEvent in DC_General version 2.

It is backwards compatible to all other DCs, as it checks whether we are running in DcGeneral compatibility context.