GimpOverlayBox

GimpOverlayBox

Synopsis

                    GimpOverlayBox;
struct              GimpOverlayBoxClass;
void                gimp_overlay_box_add_child          (GimpOverlayBox *box,
                                                         GtkWidget *child,
                                                         gdouble xalign,
                                                         gdouble yalign);
GtkWidget *         gimp_overlay_box_new                (void);
void                gimp_overlay_box_scroll             (GimpOverlayBox *box,
                                                         gint offset_x,
                                                         gint offset_y);
void                gimp_overlay_box_set_child_alignment
                                                        (GimpOverlayBox *box,
                                                         GtkWidget *child,
                                                         gdouble xalign,
                                                         gdouble yalign);
void                gimp_overlay_box_set_child_angle    (GimpOverlayBox *box,
                                                         GtkWidget *child,
                                                         gdouble angle);
void                gimp_overlay_box_set_child_opacity  (GimpOverlayBox *box,
                                                         GtkWidget *child,
                                                         gdouble opacity);
void                gimp_overlay_box_set_child_position (GimpOverlayBox *box,
                                                         GtkWidget *child,
                                                         gdouble x,
                                                         gdouble y);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GimpOverlayBox
                                 +----GimpCanvas

Implemented Interfaces

GimpOverlayBox implements AtkImplementorIface and GtkBuildable.

Description

Details

GimpOverlayBox

typedef struct _GimpOverlayBox GimpOverlayBox;


struct GimpOverlayBoxClass

struct GimpOverlayBoxClass {
  GtkContainerClass  parent_class;
};


gimp_overlay_box_add_child ()

void                gimp_overlay_box_add_child          (GimpOverlayBox *box,
                                                         GtkWidget *child,
                                                         gdouble xalign,
                                                         gdouble yalign);


gimp_overlay_box_new ()

GtkWidget *         gimp_overlay_box_new                (void);

Creates a new GimpOverlayBox widget.

Returns :

a new GimpOverlayBox widget

gimp_overlay_box_scroll ()

void                gimp_overlay_box_scroll             (GimpOverlayBox *box,
                                                         gint offset_x,
                                                         gint offset_y);

Scrolls the box using gdk_window_scroll() and makes sure the result is displayed immediately by calling gdk_window_process_updates().

box :

the GimpOverlayBox widget to scroll.

offset_x :

the x scroll amount.

offset_y :

the y scroll amount.

gimp_overlay_box_set_child_alignment ()

void                gimp_overlay_box_set_child_alignment
                                                        (GimpOverlayBox *box,
                                                         GtkWidget *child,
                                                         gdouble xalign,
                                                         gdouble yalign);


gimp_overlay_box_set_child_angle ()

void                gimp_overlay_box_set_child_angle    (GimpOverlayBox *box,
                                                         GtkWidget *child,
                                                         gdouble angle);


gimp_overlay_box_set_child_opacity ()

void                gimp_overlay_box_set_child_opacity  (GimpOverlayBox *box,
                                                         GtkWidget *child,
                                                         gdouble opacity);


gimp_overlay_box_set_child_position ()

void                gimp_overlay_box_set_child_position (GimpOverlayBox *box,
                                                         GtkWidget *child,
                                                         gdouble x,
                                                         gdouble y);