Gtk.HScrollbar

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable Gtk.Orientable Gtk.Orientable GObject.GInterface->Gtk.Orientable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Buildable->Gtk.Widget Gtk.HScrollbar Gtk.HScrollbar Gtk.Range Gtk.Range Gtk.Orientable->Gtk.Range Gtk.Scrollbar Gtk.Scrollbar Gtk.Range->Gtk.Scrollbar Gtk.Scrollbar->Gtk.HScrollbar Gtk.Widget->Gtk.Range

Subclasses:None

Style Properties

Inherited:Gtk.Scrollbar (6), Gtk.Range (8), Gtk.Widget (17)

Fields

Inherited:Gtk.Range (4), Gtk.Widget (69), GObject.Object (1)
Name Type Access Description
scrollbar Gtk.Scrollbar r  

Class Details

class Gtk.HScrollbar(*args, **kwargs)
Bases:Gtk.Scrollbar
Abstract:No
Structure:Gtk.HScrollbarClass

The Gtk.HScrollbar widget is a widget arranged horizontally creating a scrollbar. See Gtk.Scrollbar for details on scrollbars. Gtk.Adjustment pointers may be added to handle the adjustment of the scrollbar or it may be left None in which case one will be created for you. See Gtk.Scrollbar for a description of what the fields in an adjustment represent for a scrollbar.

Gtk.HScrollbar has been deprecated, use Gtk.Scrollbar instead.

classmethod new(adjustment)[source]
Parameters:adjustment (Gtk.Adjustment or None) – the Gtk.Adjustment to use, or None to create a new adjustment
Returns:the new Gtk.HScrollbar
Return type:Gtk.Widget

Creates a new horizontal scrollbar.

Deprecated since version 3.2: Use Gtk.Scrollbar.new() with Gtk.Orientation.HORIZONTAL instead