Beispiel #1
0
    def test_show_tooltip(self, ahk: AHK):
        ahk.show_tooltip('hello')
        ahk.show_tooltip('🚀 Hello unicode 🚀', second=2)
        ahk.show_tooltip('⽲ hello3', x=10, y=10)
        ahk.show_tooltip('hello4', second=2, x=10, y=10)

        with raises(ValueError):
            ahk.show_tooltip('hello', id=30)
Beispiel #2
0
    def test_show_tooltip(self, ahk: AHK):
        ahk.show_tooltip("hello")
        ahk.show_tooltip("🚀 Hello unicode 🚀", second=2)
        ahk.show_tooltip("⽲ hello3", x=10, y=10)
        ahk.show_tooltip("hello4", second=2, x=10, y=10)

        with raises(ValueError):
            ahk.show_tooltip("hello", id=30)