GimpUi.OffsetArea¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.DrawingArea (1), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)
- Structs:
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Name |
Short Description |
|---|---|
Fields¶
- Inherited:
Class Details¶
- class GimpUi.OffsetArea(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Widget to control image offsets.
- classmethod new(orig_width, orig_height)¶
- Parameters:
- Returns:
the new
GimpUi.OffsetAreawidget.- Return type:
Creates a new
GimpUi.OffsetAreawidget. AGimpUi.OffsetAreacan be used when resizing an image or a drawable to allow the user to interactively specify the new offsets.
- set_offsets(offset_x, offset_y)¶
-
Sets the offsets of the image/drawable displayed by the
GimpUi.OffsetArea. It does not emit the “offsets-changed” signal.
- set_pixbuf(pixbuf)¶
- Parameters:
pixbuf (
GdkPixbuf.Pixbuf) – aGdkPixbuf.Pixbuf.
Sets the pixbuf which represents the original image/drawable which is being offset.
New in version 2.2.
- set_size(width, height)¶
-
Sets the size of the image/drawable displayed by the
GimpUi.OffsetArea. If the offsets change as a result of this change, the “offsets-changed” signal is emitted.
Signal Details¶
- GimpUi.OffsetArea.signals.offsets_changed(offset_area, object, p0)¶
- Signal Name:
offsets-changed- Flags:
- Parameters:
offset_area (
GimpUi.OffsetArea) – The object which received the signalobject (
int) –p0 (
int) –