Xfce Foundation Classes
Main Page  | IndexNamespace List  |  Alphabetical List  |  Class List  |  File List


Public Member Functions
Xfc::Pango::LogAttr Class Reference

A PangoLogAttr C++ wrapper class. More...

#include <xfc/pango/break.hh>

List of all members.

Public Member Functions

Constructors

Detailed Description

A PangoLogAttr C++ wrapper class.

LogAttr stores information about the logical attributes of a single character.


Member Function Documentation

Returns true if the backspace key deletes one character rather than the entire grapheme cluster.

Returns true if the cursor can appear in front of character (that is this is a grapheme boundary, or the first character in the text).

Returns true if this character is a sentence boundary.

There are two ways to divide sentences. The first assigns all intersentence whitespace/control/format characters to some sentence, so all characters are in some sentence; is_sentence_boundary() denotes the boundaries there. The second way doesn't assign between-sentence spaces, etc. to any sentence, so is_sentence_start()/is_sentence_end() mark the boundaries of those sentences.

Set whether the backspace key deletes one character rather than the entire grapheme cluster.

Parameters:
settingThe setting.

Set whether a line can be broken at the character when wrapping characters.

Parameters:
settingThe setting.

Set whether the cursor can appear in front of character (that is this is a grapheme boundary, or the first character in the text).

Parameters:
settingThe setting.

Set whether the character is a line break.

Parameters:
settingThe setting.

Set whether the character is a mandatory line break.

Parameters:
settingThe setting.

Set whether the character is a sentence boundary.

Parameters:
settingThe setting.

Set whether the character marks the end of a sentence.

Parameters:
settingThe setting.

Set whether the character marks the start of a sentence.

Parameters:
settingThe setting.
void Xfc::Pango::LogAttr::set_is_white ( bool  setting)

Set whether the character is white space.

Parameters:
settingThe setting.
void Xfc::Pango::LogAttr::set_is_word_end ( bool  setting)

Set whether the character is the first non-word character after a word.

Parameters:
settingThe setting.

Set whether the character is the first character in a word.

Parameters:
settingThe setting.

The documentation for this class was generated from the following file:
Xfce Foundation Classes
Copyright © 2004-2005 The XFC Development Team XFC