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


Public Member Functions
Xfc::Gtk::TextAppearance Class Reference

A GtkTextAppearance C++ wrapper class. More...

#include <xfc/gtk/texttag.hh>

List of all members.

Public Member Functions

Accessors

Detailed Description

A GtkTextAppearance C++ wrapper class.

TextAppearance is used to describe the attributes of the some text. You can get the text appearance attributes by calling Gtk::TextAttributes::appearance().


Member Function Documentation

Set the text background color.

Parameters:
colorThe background color.

Set the text background stipple bitmap.

Parameters:
maskThe background bitmap.
void Xfc::Gtk::TextAppearance::set_colors ( const Gdk::Color fg_color,
const Gdk::Color bg_color 
)

Set the text foreground and background colors.

Parameters:
fg_colorThe foreground color.
bg_colorThe background color.

Set the text foreground color.

Parameters:
colorThe foreground color.

Set the text foreground stipple bitmap.

Parameters:
maskThe foreground bitmap.

Sets the super/subscript rise.

Parameters:
riseThe rise, can be negative.
void Xfc::Gtk::TextAppearance::set_stipple ( const Gdk::Bitmap fg_mask,
const Gdk::Bitmap bg_mask 
)

Set the text foreground and background stipple bitmaps.

Parameters:
fg_maskThe foreground bitmap.
bg_maskThe background bitmap.

Sets whether the text should have strike through enabled.

Parameters:
settingtrue to enable strike through.

Sets the Pango::Underline type.

Parameters:
underlineOne of the values from the Pango::Underline enumeration.

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