Method GTK2.Pango.Layout()->set_markup_with_accel()


Method set_markup_with_accel

Pango.Layout set_markup_with_accel(string markup, int length, int|void accel_marker)

Description

Sets the layout text and attribute from marked-up text. Replaces the current text and attribute list.

If accel_marker is nonzero, the given character will mark the character following it as an accelerator. For example, the accel marker might be an ampersand or underscore. All characters marked as an acclerator will receive a GTK2.PANGO_UNDERLINE_LOW attribute, and the first character so marked will be returned. Two accel_marker characters following each other produce a single literal accel_marker character.