GimpUi.ScrolledPreview

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 GimpUi.Preview GimpUi.Preview GimpUi.ScrolledPreview GimpUi.ScrolledPreview GimpUi.Preview->GimpUi.ScrolledPreview Gtk.Box Gtk.Box Gtk.Box->GimpUi.Preview Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Box Gtk.Orientable->Gtk.Box Gtk.Widget->Gtk.Container

Subclasses:

GimpUi.DrawablePreview, GimpUi.ZoomPreview

Methods

Inherited:

GimpUi.Preview (20), Gtk.Box (14), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2)

Structs:

Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)

freeze ()

get_adjustments ()

set_policy (hscrollbar_policy, vscrollbar_policy)

set_position (x, y)

thaw ()

Virtual Methods

Inherited:

GimpUi.Preview (7), Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)

Properties

Inherited:

GimpUi.Preview (1), Gtk.Box (3), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1)

Child Properties

Inherited:

Gtk.Box (5)

Style Properties

Inherited:

GimpUi.Preview (1), Gtk.Widget (17)

Signals

Inherited:

GimpUi.Preview (1), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Fields

Inherited:

GimpUi.Preview (1), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Name

Type

Access

Description

parent_instance

GimpUi.Preview

r

Class Details

class GimpUi.ScrolledPreview(*args, **kwargs)
Bases:

GimpUi.Preview

Abstract:

Yes

Structure:

GimpUi.ScrolledPreviewClass

A widget providing a GimpUi.Preview enhanced by scrolling capabilities.

freeze()

While the self is frozen, it is not going to redraw itself in response to scroll events.

This function should only be used to implement widgets derived from GimpUi.ScrolledPreview. There is no point in calling this from a plug-in.

New in version 2.4.

get_adjustments()
Returns:

hadj:

Horizontal adjustment

vadj:

Vertical adjustment

Return type:

(hadj: Gtk.Adjustment, vadj: Gtk.Adjustment)

set_policy(hscrollbar_policy, vscrollbar_policy)
Parameters:
  • hscrollbar_policy (Gtk.PolicyType) – policy for horizontal scrollbar

  • vscrollbar_policy (Gtk.PolicyType) – policy for vertical scrollbar

New in version 2.4.

set_position(x, y)
Parameters:
  • x (int) – horizontal scroll offset

  • y (int) – vertical scroll offset

New in version 2.4.

thaw()

While the self is frozen, it is not going to redraw itself in response to scroll events.

This function should only be used to implement widgets derived from GimpUi.ScrolledPreview. There is no point in calling this from a plug-in.

New in version 2.4.