Widgety odvozené z Range

Widgety Gtk::Scale a Gtk::Scrollbar jsou odvozené z Gtk::Range a sdílí s ním mnoho funkcionality. Obsahují „vodicí dráhu“ a „táhlo“ (v některých grafických prostředích nazývané „posuvné kolečko“). Tažením táhla pomocí ukazatele myši provádí posuv v mezích vodicí dráhy, klikání na vodicí dráhu posouvá táhlo přímo na místo kliku nebo o určenou vzdálenost, v závislosti na použitém tlačítku myši. Tohle by mělo být běžně známé chování posuvníku.

As will be explained in the Adjustments section, all Range widgets are associated with an Adjustment object. To change the lower, upper, and current values used by the widget you need to use the methods of its Adjustment, which you can get with the get_adjustment() method. The Range widgets' default constructors create an Adjustment automatically, or you can specify an existing Adjustment, maybe to share it with another widget. See the Adjustments section for further details.

Reference