MxWebView

MxWebView

Synopsis

struct              MxWebView;
GType               mx_web_view_get_type                (void);
ClutterActor *      mx_web_view_new                     (void);
void                mx_web_view_set_fast_zoom_level     (MxWebView *webView,
                                                         double zoomLevel);
void                mx_web_view_set_x_scroll_offset     (MxWebView *webView,
                                                         int offset);
void                mx_web_view_set_y_scroll_offset     (MxWebView *webView,
                                                         int offset);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----ClutterActor
               +----MxWidget
                     +----MxWebView

Implemented Interfaces

MxWebView implements ClutterContainer, ClutterScriptable, ClutterAnimatable, AtkImplementorIface, MxStylable, WebKitIWebView and MxScrollable.

Properties

  "fast-zoom-level"          gdouble               : Read / Write
  "scroll-offset-x"          gint                  : Read / Write
  "scroll-offset-y"          gint                  : Read / Write

Description

Details

struct MxWebView

struct MxWebView;

The contents of this structure are private and should only be accessed through the public API.


mx_web_view_get_type ()

GType               mx_web_view_get_type                (void);


mx_web_view_new ()

ClutterActor *      mx_web_view_new                     (void);


mx_web_view_set_fast_zoom_level ()

void                mx_web_view_set_fast_zoom_level     (MxWebView *webView,
                                                         double zoomLevel);

Scales the content without having to re-render it, making it fast enough to be used in animations.

The "fast-zoom-level" property is animatable.

webView :

a MxWebView

zoomLevel :

the zoom scale factor

mx_web_view_set_x_scroll_offset ()

void                mx_web_view_set_x_scroll_offset     (MxWebView *webView,
                                                         int offset);

Sets the horizontal scroll offset of the MxWebView.

webView :

a MxWebView

offset :

the horizontal scroll offset

mx_web_view_set_y_scroll_offset ()

void                mx_web_view_set_y_scroll_offset     (MxWebView *webView,
                                                         int offset);

Sets the vertical scroll offset of the MxWebView.

webView :

a MxWebView

offset :

the vertical scroll offset

Property Details

The "fast-zoom-level" property

  "fast-zoom-level"          gdouble               : Read / Write

The zoom level to scale without having to re-render the content, making it fast enough to be used in animations.

The "fast-zoom-level" property is animatable.

Default value: 1


The "scroll-offset-x" property

  "scroll-offset-x"          gint                  : Read / Write

The horizontal offset to which to scroll.

The "scroll-offset-x" property is animatable.

Default value: 0


The "scroll-offset-y" property

  "scroll-offset-y"          gint                  : Read / Write

The vertical offset to which to scroll.

The "scroll-offset-y" property is animatable.

Default value: 0