---
name: "gtkimmov"
section: "3"
platform: "linux"
package: "libgtkimreg-dev"
version: "0.1.3.1-1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/gtkimmov"
---

# gtkimmov(3)

GTK+ widget to move a set of images

## NAME

gtkimmov - GTK+ widget to move a set of images

## SYNOPSIS

**#include \<gtk/gtkimreg.h\>**

GtkType **gtk\_imreg\_get\_type** (void);\
 GtkWidget\* **gtk\_imreg\_new** (const gchar \* *title*, GdkImlibImage \* *im*, int  *rw*, int  *rh*, GtkWidget \* *user\_area*);\
 gint **gtk\_imreg\_get\_left**   (GtkImReg \* *imreg*);\
 gint **gtk\_imreg\_get\_top**    (GtkImReg \* *imreg*);\
 gint **gtk\_imreg\_get\_right**  (GtkImReg \* *imreg*);\
 gint **gtk\_imreg\_get\_bottom** (GtkImReg \* *imreg*);\
 gint **gtk\_imreg\_get**        (GtkImReg \* *imreg*, gint \* *le*, gint \* *to*, gint \* *ri*, gint \* *bo*);\
 gint **gtk\_imreg\_set\_left**   (GtkImReg \* *imreg*, gint  *left*);\
 gint **gtk\_imreg\_set\_top**    (GtkImReg \* *imreg*, gint  *top*);\
 gint **gtk\_imreg\_set\_right**  (GtkImReg \* *imreg*, gint  *right*);\
 gint **gtk\_imreg\_set\_bottom** (GtkImReg \* *imreg*, gint  *bottom*);\
 gint **gtk\_imreg\_set**        (GtkImReg \* *imreg*, gint  *left*, gint  *top*, gint  *right*, gint  *bottom*);

## DESCRIPTION

Select an area in an image given as GdkImlib structure and obtain the coordinates of this image.  The  *user\_area* can be  **NULL** or an user supplied widget to add certain functionality.\
 The  **gtk\_imreg\_get\_** functions are useful in an OK-callback to obtain the chosen coordinates.  The  **gtk\_imreg\_set\_** functions enable the user to preset a region selection.

## EXAMPLE

See testimreg.c which is shipped with the sources.  In a Debian system you can find it under\
 /usr/share/doc/libgtkimreg-dev/example/testimreg\
 next to an appropriate Makefile and an image example.

## REQUIRES

GTK+ 1.2, GdkImlib 1.9.2 or higher

## AUTHOR

Andreas Tille \<tille@debian.org\>\
 http://fam-tille.de
