Class for working with fixed text controls in a dialog.
All :py:protocol:`~ooodev.utils.type_var.EventArgsCallbackT` callbacks include control_src
as a keyword argument.
A callback can be in the format of:
def on_some_event(
src: Any, event: EventArgs, control_src: CtlFixedText, *args, **kwargs
) -> None:
pass
or
def on_some_event(src: Any, event: EventArgs, *args, **kwargs) -> None:
# can get control from kwargs
ctl = cast(CtlFixedText, kwargs['control_src'])
.. cssclass:: screen_shot .. image:: https://user-images.githubusercontent.com/4193389/283562180-33f4293a-408d-43d8-92db-d287a4168050.png :alt: Radio Button Example Screen Shot :align: center :width: 550px
For an example see Tab and List Box Dialog Example
.. autoclass:: ooodev.dialog.dl_control.CtlFixedText :members: :undoc-members: :show-inheritance: :inherited-members: