imageView: Hide controls after mouse inactivity

Closes #25

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/189>
This commit is contained in:
Sophie Herold 2023-04-20 02:32:41 +02:00 • committed by Marge Bot
parent 7b6ee24651
commit 916514604c
4 changed files with 180 additions and 10 deletions

View file

@ -203,5 +203,12 @@
</style>
</object>
</property>
<child>
<object class="GtkEventControllerMotion" id="motion_controller">
<signal name="motion" handler="on_motion_cb" swapped="yes"/>
<signal name="enter" handler="on_motion_cb" swapped="yes"/>
<signal name="leave" handler="on_motion_cb" swapped="yes"/>
</object>
</child>
</template>
</interface>