#:import random random
#:import hex_colormap kivy.utils.hex_colormap
#:import get_color_from_hex kivy.utils.get_color_from_hex
#:import md_icons kivymd.icon_definitions.md_icons

#:set ICONS list(md_icons.keys())


<KitchenSinkIconButtonTooltips@MDIconButton+MDTooltip>


<KitchenSinkTooltips@Screen>
    name: "tooltips"

    Toolbar:
        id: toolbar
        pos_hint: {"top": 1}

    MDBoxLayout:
        adaptive_size: True
        padding: "10dp"
        spacing: "10dp"
        pos_hint: {'center_x': .5, "center_y": .5}

        KitchenSinkIconButtonTooltips:
            icon: random.choice(ICONS)
            tooltip_text: "MDIconButton"
        KitchenSinkIconButtonTooltips:
            icon: random.choice(ICONS)
            tooltip_text: "MDIconButton"
        KitchenSinkIconButtonTooltips:
            icon: random.choice(ICONS)
            tooltip_text: "MDIconButton"
        KitchenSinkIconButtonTooltips:
            icon: random.choice(ICONS)
            tooltip_text: "MDIconButton"
        KitchenSinkIconButtonTooltips:
            icon: random.choice(ICONS)
            tooltip_text: "MDIconButton"
        KitchenSinkIconButtonTooltips:
            icon: random.choice(ICONS)
            tooltip_text: "MDIconButton"