pangoContextSetBaseDir {RGtk2} | R Documentation

## pangoContextSetBaseDir

### Description

Sets the base direction for the context.

### Usage

    pangoContextSetBaseDir(object, direction)

### Arguments

``object`` | [`PangoContext`] a `PangoContext`
``direction`` | [`PangoDirection`] the new base direction

### Details

The base direction is used in applying the Unicode bidirectional algorithm; if the `direction` is `PANGO_DIRECTION_LTR` or `PANGO_DIRECTION_RTL`, then the value will be used as the paragraph direction in the Unicode bidirectional algorithm. A value of `PANGO_DIRECTION_WEAK_LTR` or `PANGO_DIRECTION_WEAK_RTL` is used only for paragraphs that do not contain any strong characters themselves.

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]