Download

Support

lib/ewl_scrollpane.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Data Structures

struct  Ewl_Scrollpane
 Inherits from Ewl_Container and extends it to enclose a single widget in vertical and horizontal scrollbars for panning around displaying different regions of the enclosed widget. More...
struct  Ewl_Scrollpane_Scroll_Info_Base
 Enables a scrollpane to be scrolled with kinetic behaviour. More...

Defines

#define EWL_SCROLLPANE(scrollpane)   ((Ewl_Scrollpane *) scrollpane)
#define EWL_SCROLLPANE_IS(w)   (ewl_widget_type_is(EWL_WIDGET(w), EWL_SCROLLPANE_TYPE))
#define EWL_SCROLLPANE_SCROLL_INFO_BASE(scroll_info)   ((Ewl_Scrollpane_Scroll_Info_Base *) scroll_info)
#define EWL_SCROLLPANE_TYPE   "scrollpane"

Typedefs

typedef struct Ewl_Scrollpane Ewl_Scrollpane
typedef struct
Ewl_Scrollpane_Scroll_Info_Base 
Ewl_Scrollpane_Scroll_Info_Base

Functions

void ewl_scrollpane_cb_configure (Ewl_Widget *w, void *ev_data, void *user_data)
void ewl_scrollpane_cb_focus_jump (Ewl_Widget *w, void *ev_data, void *user_data)
void ewl_scrollpane_cb_hscroll (Ewl_Widget *w, void *ev_data, void *user_data)
void ewl_scrollpane_cb_vscroll (Ewl_Widget *w, void *ev_data, void *user_data)
void ewl_scrollpane_cb_wheel_scroll (Ewl_Widget *w, void *ev_data, void *user_data)
Ewl_Scrollpane_Flags ewl_scrollpane_hscrollbar_flag_get (Ewl_Scrollpane *s)
 Get flags for horizontal scrollbar.
void ewl_scrollpane_hscrollbar_flag_set (Ewl_Scrollpane *s, Ewl_Scrollpane_Flags f)
 Set flags for horizontal scrollbar.
double ewl_scrollpane_hscrollbar_step_get (Ewl_Scrollpane *s)
 Retrives the value of the stepping of the vertical scrollbar in s.
double ewl_scrollpane_hscrollbar_value_get (Ewl_Scrollpane *s)
 Retrieves the value of the horizontal scrollbar in s.
void ewl_scrollpane_hscrollbar_value_set (Ewl_Scrollpane *s, double val)
 Set the value of the horizontal scrollbar in s to val.
int ewl_scrollpane_init (Ewl_Scrollpane *s)
 Initialize the fields of a scrollpane.
double ewl_scrollpane_kinetic_dampen_get (Ewl_Scrollpane *s)
 Gets the minimum velocity for kinetic scrolling.
void ewl_scrollpane_kinetic_dampen_set (Ewl_Scrollpane *s, double d)
 Sets the multiplier to reduce the velocity of kinetic scrolling.
int ewl_scrollpane_kinetic_fps_get (Ewl_Scrollpane *s)
void ewl_scrollpane_kinetic_fps_set (Ewl_Scrollpane *s, int fps)
 Sets the number of times per second to recalculate velocity and update the tree.
double ewl_scrollpane_kinetic_max_velocity_get (Ewl_Scrollpane *s)
 Gets the maximum velocity for kinetic scrolling.
void ewl_scrollpane_kinetic_max_velocity_set (Ewl_Scrollpane *s, double v)
 Sets the maximum velocity for kinetic scrolling.
double ewl_scrollpane_kinetic_min_velocity_get (Ewl_Scrollpane *s)
 Gets the minimum velocity for kinetic scrolling.
void ewl_scrollpane_kinetic_min_velocity_set (Ewl_Scrollpane *s, double v)
 Sets the minimum velocity for kinetic scrolling.
Ewl_Kinetic_Scroll ewl_scrollpane_kinetic_scrolling_get (Ewl_Scrollpane *s)
 Gets the type of kinetic scrolling used.
void ewl_scrollpane_kinetic_scrolling_set (Ewl_Scrollpane *s, Ewl_Kinetic_Scroll type)
 Sets up default values and callbacks for kinetic scrolling.
Ewl_Widgetewl_scrollpane_new (void)
 Create a new scrollpane.
Ewl_Scrollpane_Flags ewl_scrollpane_vscrollbar_flag_get (Ewl_Scrollpane *s)
 Get flags for vertical scrollbar.
void ewl_scrollpane_vscrollbar_flag_set (Ewl_Scrollpane *s, Ewl_Scrollpane_Flags f)
 Set flags for vertical scrollbar.
double ewl_scrollpane_vscrollbar_step_get (Ewl_Scrollpane *s)
 Retrives the value of the stepping of the vertical scrollbar in s.
double ewl_scrollpane_vscrollbar_value_get (Ewl_Scrollpane *s)
 Retrieves the value of the vertical scrollbar in s.
void ewl_scrollpane_vscrollbar_value_set (Ewl_Scrollpane *s, double val)
 Set the value of the vertical scrollbar in s to val.

Copyright © Enlightenment.org

Enlightened Widget Library Documentation Generated: Sat May 17 16:50:37 2008