def build_option_menu(self):
        """Build option menu to pick the kind of widget."""
        ### define arguments for option menu instantiation

        ## a (default) value
        value = "string_entry"

        ## position related arguments

        coordinates_name = "topleft"
        coordinates_value = self.caption.rect.move(0, 10).bottomleft

        ## command
        command = self.update_widget_subform

        ### instantiate option menu

        self.widget_kind_options = OptionMenu(
            loop_holder=self,
            value=value,
            options=AVAILABLE_WIDGETS,
            max_width=230,
            font_height=FONT_HEIGHT,
            draw_on_window_resize=self.draw,
            coordinates_name=coordinates_name,
            coordinates_value=coordinates_value,
            command=command,
        )
Build option menu to pick the kind of widget.
nodezator/editing/widgetpicker/main.py