Pebble Foundation Classes  0.2.0
C++ for Pebble
ScrollLayerCallbacks Struct Reference

#include <pebble.h>

Public Attributes

ClickConfigProvider click_config_provider
 
ScrollLayerCallback content_offset_changed_handler
 

Detailed Description

All the callbacks that the ScrollLayer exposes for use by applications.

Note
The context parameter can be set using scroll_layer_set_context() and gets passed in as context with all of these callbacks.

Member Data Documentation

◆ click_config_provider

ClickConfigProvider ScrollLayerCallbacks::click_config_provider

Provider function to set up the SELECT button handlers. This will be called after the scroll layer has configured the click configurations for the up/down buttons, so it can also be used to modify the default up/down scrolling behavior.

◆ content_offset_changed_handler

ScrollLayerCallback ScrollLayerCallbacks::content_offset_changed_handler

Called every time the the content offset changes. During a scrolling animation, it will be called for each intermediary offset as well


The documentation for this struct was generated from the following file: