How to hide the gadget settings and server settings options of a custom gadget ?

Hello Dears,

How can we hide the gear button of our custom gadget which allows the user to change the gadget settings and server settings ?.
A user with just read only privilege also can access this gear button to change the settings.
Screen shot is attached.

Thanks and Regards,
Anish
GadgetSettings.png