Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkWidget
               +----GtkDrawingArea
                     +----AdgGtkArea
                           +----AdgGtkLayout

Implemented Interfaces

AdgGtkLayout implements AtkImplementorIface, GtkBuildable and GtkScrollable.

Description

This is an AdgGtkArea derived object with scrolling capabilities. It means an AdgGtkLayout object can be added directly to a GtkScrolledWindow container without the need for an intermediate GtkViewport container.

Details

struct AdgGtkLayout

struct AdgGtkLayout;

All fields are private and should not be used directly. Use its public methods instead.

Since 1.0


struct AdgGtkLayoutClass

struct AdgGtkLayoutClass {
};

adg_gtk_layout_new ()

GtkWidget *         adg_gtk_layout_new                  (void);

Creates a new empty AdgGtkLayout. The widget is useful only after an AdgCanvas has been added either using the "canvas" property or with adg_gtk_layout_set_canvas().

Returns :

the newly created widget. [transfer full]

Since 1.0


adg_gtk_layout_new_with_canvas ()

GtkWidget *         adg_gtk_layout_new_with_canvas      (AdgCanvas *canvas);

Creates a new AdgGtkLayout and sets the "canvas" property to canvas.

canvas :

the AdgCanvas shown by this widget

Returns :

the newly created widget. [transfer full]

Since 1.0


adg_gtk_layout_set_hadjustment ()

void                adg_gtk_layout_set_hadjustment      (AdgGtkLayout *layout,
                                                         GtkAdjustment *hadjustment);

Sets the new horizontal adjustment for layout to hadjustment. The old adjustment, if present, is unreferenced.

This is basically the same as manually setting the "hadjustment" property with g_object_set().

layout :

an AdgGtkLayout

hadjustment :

the new adjustment

Since 1.0


adg_gtk_layout_get_hadjustment ()

GtkAdjustment *     adg_gtk_layout_get_hadjustment      (AdgGtkLayout *layout);

Retrieves the current horizontal adjustment of layout.

The returned alignment is owned by layout and should not be modified or freed.

layout :

an AdgGtkLayout

Returns :

the alignment of layout. [transfer none]

Since 1.0


adg_gtk_layout_set_vadjustment ()

void                adg_gtk_layout_set_vadjustment      (AdgGtkLayout *layout,
                                                         GtkAdjustment *vadjustment);

Sets the new vertical adjustment for layout to vadjustment. The old adjustment, if present, is unreferenced.

This is basically the same as manually setting the "vadjustment" property with g_object_set().

layout :

an AdgGtkLayout

vadjustment :

the new adjustment

Since 1.0


adg_gtk_layout_get_vadjustment ()

GtkAdjustment *     adg_gtk_layout_get_vadjustment      (AdgGtkLayout *layout);

Retrieves the current vertical adjustment of layout.

The returned alignment is owned by layout and should not be modified or freed.

layout :

an AdgGtkLayout

Returns :

the alignment of layout. [transfer none]

Since 1.0