MxScrollable

MxScrollable

Functions

Properties

Types and Values

Object Hierarchy

    GInterface
    ╰── MxScrollable

Known Implementations

MxScrollable is implemented by MxBoxLayout, MxItemView, MxKineticScrollView, MxListView and MxViewport.

Description

Functions

mx_scrollable_set_adjustments ()

void
mx_scrollable_set_adjustments (MxScrollable *scrollable,
                               MxAdjustment *hadjustment,
                               MxAdjustment *vadjustment);

mx_scrollable_get_adjustments ()

void
mx_scrollable_get_adjustments (MxScrollable *scrollable,
                               MxAdjustment **hadjustment,
                               MxAdjustment **vadjustment);

Gets the adjustment objects that store the offsets of the scrollable widget into its possible scrolling area.

Parameters

hadjustment

location to store the horizontal adjustment, or NULL.

[transfer none][out][allow-none]

vadjustment

location to store the vertical adjustment, or NULL.

[transfer none][out][allow-none]

Types and Values

MxScrollable

typedef struct _MxScrollable MxScrollable;

This is an opaque structure whose members cannot be directly accessed.


struct MxScrollableIface

struct MxScrollableIface {
  void (* set_adjustments) (MxScrollable  *scrollable,
                            MxAdjustment  *hadjustment,
                            MxAdjustment  *vadjustment);
  void (* get_adjustments) (MxScrollable  *scrollable,
                            MxAdjustment **hadjustment,
                            MxAdjustment **vadjustment);
};

Property Details

The “horizontal-adjustment” property

  “horizontal-adjustment”    MxAdjustment *

The MxAdjustment for horizontal scrolling.

Flags: Read / Write


The “vertical-adjustment” property

  “vertical-adjustment”      MxAdjustment *

The MxAdjustment for vertical scrolling.

Flags: Read / Write