def create_literal_entry_subform(self):
        """Create form for literal entry arguments."""
        ### define an starting offset
        offset = 5, 30

        ### create list to hold widget
        literal_entry_subform = List2D()

        ### instantiate value argument widgets

        ## define argument name
        arg_name = "value"

        ## instantiate and store text object

        text_obj = get_text_obj(reference_rect=self.rect, offset=offset, text=arg_name)

        literal_entry_subform.append(text_obj)

        ## define needed arguments, instantiate and store
        ## widget for the string entry value

        ## define widget name
        widget_name = arg_name

        ## define position data

        offset = 65, offset[1] + 5
        coordinates_name = "topleft"
        coordinates_value = self.rect.move(offset).topleft

        ## instantiate and store

        value_entry = LiteralEntry(
            loop_holder=self,
            name=widget_name,
            draw_on_window_resize=self.draw,
            coordinates_name=coordinates_name,
            coordinates_value=coordinates_value,
        )

        literal_entry_subform.append(value_entry)

        ### finally store the subform list in the
        ### subform map
        self.subform_map["literal_entry"] = literal_entry_subform
Create form for literal entry arguments.
nodezator/editing/widgetpicker/subforms.py