year-view: implement scrolling to change year
Following the previous work on month view, this commit implements scrolling capabilities to Year view. We do this not only with the :scroll-event, but also using the :edge-overshot signal of GtkScrolledWindow.
This commit is contained in:
@@ -6,10 +6,12 @@
|
||||
<class name="year-view"/>
|
||||
</style>
|
||||
<child>
|
||||
<object class="GtkScrolledWindow">
|
||||
<object class="GtkScrolledWindow" id="scrolled_window">
|
||||
<property name="visible">True</property>
|
||||
<property name="shadow_type">none</property>
|
||||
<property name="vexpand">True</property>
|
||||
<signal name="edge-overshot" handler="navigator_edge_overshot_cb" object="GcalYearView" swapped="yes"/>
|
||||
<signal name="scroll-event" handler="navigator_scroll_event_cb" object="GcalYearView" swapped="yes"/>
|
||||
<child>
|
||||
<object class="GtkViewport">
|
||||
<property name="visible">True</property>
|
||||
|
||||
Reference in New Issue
Block a user