HdySwipeGroup
This is an RFC, adds a HdySwipeable
interface (currently HdyPaginator
implements it), and a HdySwipeGroup
object for syncing multiple widgets together.
This will be necessary for swipeable HdyLeaflet
later, to sync content and headerbar, but for now I have some doubts about HdySwipeGroup
API.
-
Should the API use Swipeable or Widget naming, i.e.swipeablehdy_swipe_group_add_swipeable()
orhdy_swipe_group_add_widget()
? The second sounds a lot better to me, but it requires aHdySwipeable
, not any randomGtkWidget
. (though swipeable must be widget) -
Does it makes sense to haveit's fineHdySwipeTracker
useHdySwipeable
internally? -
CurrentlyfinalHdySwipeGroup
is derivable, just likeHdyHeaderGroup
was. I seriously doubt it needs to be derivable. :) (both of them, really, but changingHdyHeaderGroup
at this point would be an ABI break)
There's a rudimentary example in the libhandy demo, will remove it later.
(yes, I know it's missing docs and tests atm)
Edited by Alexander Mikhaylenko