---------------------------------------------------------------------- This is the API documentation for the gdtest_src_layout library. ---------------------------------------------------------------------- ## Classes Main classes provided by the package Widget(name: str, color: str = 'red') A simple widget for demonstration. Parameters ---------- name The name of the widget. color The widget color. Examples -------- >>> w = Widget("button", color="blue") >>> w.name 'button' ## Functions Utility functions create_widget(name: str, **kwargs) -> gdtest_src_layout.Widget Factory function for creating widgets. Parameters ---------- name The widget name. **kwargs Additional keyword arguments passed to :class:`Widget`. Returns ------- Widget A new widget instance.