Function

Plumautils_get_current_viewport

since: 1.0

Declaration [src]

void
pluma_utils_get_current_viewport (
  GdkScreen* screen,
  gint* x,
  gint* y
)

Description [src]

Get the current viewport origin

Get the currently visible viewport origin for the GdkScreen.

If the X11 window property isn’t found, (0, 0) is returned.

Available since: 1.0

Parameters

screen

Type: GdkScreen

No description available.

The data is owned by the caller of the function.
x

Type: gint*

No description available.

The data is owned by the caller of the function.
y

Type: gint*

No description available.

The data is owned by the caller of the function.