NbtkScrollBar

NbtkScrollBar — a user interface element to control scrollable areas.

Synopsis

                    NbtkScrollBar;
NbtkWidget *        nbtk_scroll_bar_new                 (NbtkAdjustment *adjustment);
void                nbtk_scroll_bar_set_adjustment      (NbtkScrollBar *bar,
                                                         NbtkAdjustment *adjustment);
NbtkAdjustment *    nbtk_scroll_bar_get_adjustment      (NbtkScrollBar *bar);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----ClutterActor
               +----NbtkWidget
                     +----NbtkBin
                           +----NbtkScrollBar

Implemented Interfaces

NbtkScrollBar implements ClutterScriptable, ClutterAnimatable, AtkImplementorIface, NbtkStylable and ClutterContainer.

Properties

  "adjustment"               NbtkAdjustment*       : Read / Write
  "vertical"                 gboolean              : Read / Write

Signals

  "scroll-start"                                   : Run Last
  "scroll-stop"                                    : Run Last

Description

The NbtkScrollBar allows users to scroll scrollable actors, either by the step or page amount, or by manually dragging the handle.

Details

NbtkScrollBar

typedef struct _NbtkScrollBar NbtkScrollBar;

The contents of this structure are private and should only be accessed through the public API.


nbtk_scroll_bar_new ()

NbtkWidget *        nbtk_scroll_bar_new                 (NbtkAdjustment *adjustment);

adjustment :

Returns :


nbtk_scroll_bar_set_adjustment ()

void                nbtk_scroll_bar_set_adjustment      (NbtkScrollBar *bar,
                                                         NbtkAdjustment *adjustment);

bar :

adjustment :


nbtk_scroll_bar_get_adjustment ()

NbtkAdjustment *    nbtk_scroll_bar_get_adjustment      (NbtkScrollBar *bar);

bar :

Returns :

Property Details

The "adjustment" property

  "adjustment"               NbtkAdjustment*       : Read / Write

The adjustment.


The "vertical" property

  "vertical"                 gboolean              : Read / Write

Vertical Orientation.

Default value: FALSE

Signal Details

The "scroll-start" signal

void                user_function                      (NbtkScrollBar *nbtkscrollbar,
                                                        gpointer       user_data)          : Run Last

nbtkscrollbar :

the object which received the signal.

user_data :

user data set when the signal handler was connected.

The "scroll-stop" signal

void                user_function                      (NbtkScrollBar *nbtkscrollbar,
                                                        gpointer       user_data)          : Run Last

nbtkscrollbar :

the object which received the signal.

user_data :

user data set when the signal handler was connected.