C# Class Xwt.GtkBackend.FastPangoAttrList

This creates a Pango list and applies attributes to it with *much* less overhead than the GTK# version.
Inheritance: IDisposable
Afficher le fichier Open project: mono/xwt Class Usage Examples

Méthodes publiques

Свойство Type Description
DefaultLinkColor Gdk.Color

Méthodes publiques

Méthode Description
Add ( IntPtr attribute, uint start, uint end ) : void
AddAttribute ( TextIndexer indexer, Xwt.Drawing.TextAttribute attr ) : void
AddAttributes ( TextIndexer indexer, IEnumerable attrs ) : void
AddBackgroundAttribute ( Gdk color, uint start, uint end ) : void
AddFontAttribute ( Pango font, uint start, uint end ) : void
AddForegroundAttribute ( Gdk color, uint start, uint end ) : void
AddStrikethroughAttribute ( bool strikethrough, uint start, uint end ) : void
AddStyleAttribute ( Pango style, uint start, uint end ) : void
AddUnderlineAttribute ( Pango underline, uint start, uint end ) : void
AddWeightAttribute ( Pango weight, uint start, uint end ) : void
AssignTo ( Pango layout ) : void
Dispose ( ) : void
FastPangoAttrList ( ) : System
Splice ( Pango attrs, int pos, int len ) : void

Private Methods

Méthode Description
pango_attr_background_new ( ushort red, ushort green, ushort blue ) : IntPtr
pango_attr_font_desc_new ( IntPtr desc ) : IntPtr
pango_attr_foreground_new ( ushort red, ushort green, ushort blue ) : IntPtr
pango_attr_list_insert ( IntPtr list, IntPtr attr ) : void
pango_attr_list_new ( ) : IntPtr
pango_attr_list_splice ( IntPtr attr_list, IntPtr other, Int32 pos, Int32 len ) : void
pango_attr_list_unref ( IntPtr list ) : void
pango_attr_stretch_new ( Pango stretch ) : IntPtr
pango_attr_strikethrough_new ( bool strikethrough ) : IntPtr
pango_attr_style_new ( Pango style ) : IntPtr
pango_attr_underline_new ( Pango underline ) : IntPtr
pango_attr_weight_new ( Pango weight ) : IntPtr
pango_layout_set_attributes ( IntPtr layout, IntPtr attrList ) : void

Method Details

Add() public méthode

public Add ( IntPtr attribute, uint start, uint end ) : void
attribute System.IntPtr
start uint
end uint
Résultat void

AddAttribute() public méthode

public AddAttribute ( TextIndexer indexer, Xwt.Drawing.TextAttribute attr ) : void
indexer TextIndexer
attr Xwt.Drawing.TextAttribute
Résultat void

AddAttributes() public méthode

public AddAttributes ( TextIndexer indexer, IEnumerable attrs ) : void
indexer TextIndexer
attrs IEnumerable
Résultat void

AddBackgroundAttribute() public méthode

public AddBackgroundAttribute ( Gdk color, uint start, uint end ) : void
color Gdk
start uint
end uint
Résultat void

AddFontAttribute() public méthode

public AddFontAttribute ( Pango font, uint start, uint end ) : void
font Pango
start uint
end uint
Résultat void

AddForegroundAttribute() public méthode

public AddForegroundAttribute ( Gdk color, uint start, uint end ) : void
color Gdk
start uint
end uint
Résultat void

AddStrikethroughAttribute() public méthode

public AddStrikethroughAttribute ( bool strikethrough, uint start, uint end ) : void
strikethrough bool
start uint
end uint
Résultat void

AddStyleAttribute() public méthode

public AddStyleAttribute ( Pango style, uint start, uint end ) : void
style Pango
start uint
end uint
Résultat void

AddUnderlineAttribute() public méthode

public AddUnderlineAttribute ( Pango underline, uint start, uint end ) : void
underline Pango
start uint
end uint
Résultat void

AddWeightAttribute() public méthode

public AddWeightAttribute ( Pango weight, uint start, uint end ) : void
weight Pango
start uint
end uint
Résultat void

AssignTo() public méthode

public AssignTo ( Pango layout ) : void
layout Pango
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

FastPangoAttrList() public méthode

public FastPangoAttrList ( ) : System
Résultat System

Splice() public méthode

public Splice ( Pango attrs, int pos, int len ) : void
attrs Pango
pos int
len int
Résultat void

Property Details

DefaultLinkColor public_oe property

public Gdk.Color DefaultLinkColor
Résultat Gdk.Color