euporie.core.widgets.layout.to_dimension

euporie.core.widgets.layout.to_dimension(value: Union[None, int, Dimension, Callable[[], Any]]) Dimension

Turn the given object into a Dimension object.