Top | ![]() |
![]() |
![]() |
![]() |
gboolean | antialiasing-in | Read / Write |
gboolean | antialiasing-out | Read / Write |
GdkRGBA * | background-color | Read / Write |
EogImage * | image | Read / Write |
gboolean | scrollwheel-zoom | Read / Write |
GdkRGBA * | transparency-color | Write |
EogTransparencyStyle | transparency-style | Read / Write |
gboolean | use-background-color | Read / Write |
EogZoomMode | zoom-mode | Read / Write |
gdouble | zoom-multiplier | Read / Write |
void | next-image | Run Last |
void | previous-image | Run Last |
void | rotation-changed | Run Last |
void | zoom-changed | Run Last |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkGrid ╰── EogScrollView
EogScrollView implements AtkImplementorIface, GtkBuildable and GtkOrientable.
void eog_scroll_view_set_scroll_wheel_zoom (EogScrollView *view
,gboolean scroll_wheel_zoom
);
void eog_scroll_view_set_zoom_upscale (EogScrollView *view
,gboolean upscale
);
void eog_scroll_view_set_zoom_multiplier (EogScrollView *view
,gdouble multiplier
);
void eog_scroll_view_set_antialiasing_in (EogScrollView *view
,gboolean state
);
void eog_scroll_view_set_antialiasing_out (EogScrollView *view
,gboolean state
);
void eog_scroll_view_set_transparency (EogScrollView *view
,EogTransparencyStyle style
);
gboolean
eog_scroll_view_scrollbars_visible (EogScrollView *view
);
void eog_scroll_view_set_zoom_mode (EogScrollView *view
,EogZoomMode mode
);
void eog_scroll_view_override_bg_color (EogScrollView *view
,const GdkRGBA *color
);
void eog_scroll_view_set_background_color (EogScrollView *view
,const GdkRGBA *color
);
void eog_scroll_view_set_transparency_color (EogScrollView *view
,GdkRGBA *color
);
void eog_scroll_view_set_use_bg_color (EogScrollView *view
,gboolean use
);
gboolean eog_scroll_view_event_is_over_image (EogScrollView *view
,const GdkEvent *ev
);
Tells if ev
's originates from inside the image area. view
must be
realized and have an image set for this to work.
It only works with GdkEvents that supply coordinate data, i.e. GdkEventButton.
view |
An EogScrollView that has an image loaded. |
|
ev |
A GdkEvent which must have window-relative coordinates. |
Used to define how transparent image parts are drawn.
Use the background color of the current UI theme |
||
Show transparent parts as a checkerboard pattern |
||
Show transparent parts in a user defined color (see “transparency-color” ) |
Used to determine the zooming behaviour of an EogScrollView.
Use the currently set zoom factor to display the image
(see |
||
If an image is to large for the window, zoom out until the image is fully visible. This will never zoom in on smaller images. |
“antialiasing-in”
property “antialiasing-in” gboolean
If TRUE
the displayed image will be filtered in a second pass
while being zoomed in.
Flags: Read / Write
Default value: TRUE
“antialiasing-out”
property “antialiasing-out” gboolean
If TRUE
the displayed image will be filtered in a second pass
while being zoomed out.
Flags: Read / Write
Default value: TRUE
“background-color”
property “background-color” GdkRGBA *
This is the default background color used for painting the background
of the image view. If set to NULL
the color is determined by the
active GTK theme.
Flags: Read / Write
“scrollwheel-zoom”
property “scrollwheel-zoom” gboolean
If TRUE
the scrollwheel will zoom the view, otherwise it will be
used for scrolling a zoomed image.
Flags: Read / Write
Default value: TRUE
“transparency-color”
property “transparency-color” GdkRGBA *
This is the color used to fill the transparent parts of an image
if “transparency-style” is set to EOG_TRANSP_COLOR
.
Flags: Write
“transparency-style”
property“transparency-style” EogTransparencyStyle
Determines how to fill the shown image's transparent areas.
Flags: Read / Write
Default value: EOG_TRANSP_CHECKED
“use-background-color”
property “use-background-color” gboolean
Flags: Read / Write
Default value: FALSE
“zoom-mode”
property“zoom-mode” EogZoomMode
Flags: Read / Write
Default value: EOG_ZOOM_MODE_SHRINK_TO_FIT
“next-image”
signalvoid user_function (EogScrollView *eogscrollview, gpointer user_data)
eogscrollview |
the object which received the signal. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“previous-image”
signalvoid user_function (EogScrollView *eogscrollview, gpointer user_data)
eogscrollview |
the object which received the signal. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“rotation-changed”
signalvoid user_function (EogScrollView *eogscrollview, gdouble arg1, gpointer user_data)
eogscrollview |
the object which received the signal. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“zoom-changed”
signalvoid user_function (EogScrollView *eogscrollview, gdouble arg1, gpointer user_data)
eogscrollview |
the object which received the signal. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last