The cleaner way to add a new widget to consists to define a special C module for this widget. Defining the widget in a C module allows us to make the new widget dynamically loadable. The code for making the fscale widget dynamically loadable could be: