Package: gtk
Class gtk:scrollbar
Superclassesgtk:widget, gobject:initially-unowned, gtk:accessible-range, gtk:accessible, gtk:buildable, gtk:constraint-target, gtk:orientable, gobject:object, common-lisp:standard-object, common-lisp:t Documented Subclasses
None
Direct SlotsDetails The gtk:scrollbar widget is a horizontal or vertical scrollbar, depending on the value of the orientation property. ![]() Its position and movement are controlled by the adjustment that is passed to or created by the gtk:scrollbar-new function. See the gtk:adjustment documentation for more details. The value property sets the position of the thumb and must be between the lower and upper - page-size values. The page-size property represents the size of the visible scrollable area. The step-increment and page-increment properties are added to or subtracted from the value property when the user asks to move by a step, using, for example, the cursor arrow keys, or by a page, using, for example, the Page Down/Page Up keys. CSS nodesscrollbar ╰── range[.fine-tune] ╰── trough ╰── sliderThe gtk:scrollbar implementation has a main CSS node with name scrollbar and a subnode for its contents. The main node gets the .horizontal or .vertical style classes applied, depending on the orientation of the scrollbar. The range node gets the .fine-tune style class added when the scrollbar is in 'fine-tuning' mode. Other style classes that may be added to scrollbars inside the gtk:scrolled-window widget include the .left, .right, .top, .bottom positional classes and .overlay-indicator, .dragging, .hovering style classes related to overlay scrolling. Accessibility | Returned bySlot Access FunctionsInherited Slot Access FunctionsSee also |
2024-6-1