![]() |
![]() |
![]() |
GIMP Widgets Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
GimpScrolledPreviewGimpScrolledPreview — A widget providing a GimpPreview enhanced by scrolling capabilities. |
GimpScrolledPreview; void gimp_scrolled_preview_set_position (GimpScrolledPreview *preview
,gint x
,gint y
); void gimp_scrolled_preview_set_policy (GimpScrolledPreview *preview
,GtkPolicyType hscrollbar_policy
,GtkPolicyType vscrollbar_policy
); void gimp_scrolled_preview_freeze (GimpScrolledPreview *preview
); void gimp_scrolled_preview_thaw (GimpScrolledPreview *preview
);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GimpPreview +----GimpScrolledPreview
GimpScrolledPreview implements AtkImplementorIface, GtkBuildable and GtkOrientable.
void gimp_scrolled_preview_set_position (GimpScrolledPreview *preview
,gint x
,gint y
);
|
a GimpScrolledPreview |
|
horizontal scroll offset |
|
vertical scroll offset |
Since GIMP 2.4
void gimp_scrolled_preview_set_policy (GimpScrolledPreview *preview
,GtkPolicyType hscrollbar_policy
,GtkPolicyType vscrollbar_policy
);
|
a GimpScrolledPreview |
|
policy for horizontal scrollbar |
|
policy for vertical scrollbar |
Since GIMP 2.4
void gimp_scrolled_preview_freeze (GimpScrolledPreview *preview
);
While the preview
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 GimpScrolledPreview. There is no point in calling this from a plug-in.
|
a GimpScrolledPreview |
Since GIMP 2.4
void gimp_scrolled_preview_thaw (GimpScrolledPreview *preview
);
While the preview
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 GimpScrolledPreview. There is no point in calling this from a plug-in.
|
a GimpScrolledPreview |
Since GIMP 2.4