PHP-GTK
Monday, September 01, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkTextMark::set_visible
GtkTextTag Constructornext

Last updated: Sun, 12 May 2013
view this page in English

GtkTextTag

An object used to change the display properties of a block of text in a GtkTextBuffer.

Object Hierarchy

Description

GtkTextTags are used to change the display properties of a block of text in a GtkTextBuffer.

A tag is applied across a range of text identified by two GtkTextIters and affects the way that range of text is displayed. For example, a tag may define the font-weight, color, text size or any combination of many different properties for the range of text.

Before a tag can be used with a GtkTextBuffer, it must be added to the buffer's GtkTextTagTable with add() (or by creating the tag with create_tag).

Constructors

GtkTextTag ([string name = null ]);

-- Creates a GtkTextTag instance.

Methods

event()
  Emits the event signal on the tag.
get_priority()
  Returns the tag's priority in relation to other tags in its GtkTextTagTable.
set_priority()
  Sets the priority of the tag in relation to the other tags in its GtkTextTagTable.

Signals

"event"
 


User Contributed Notes
gtk.gtktexttag.php
add a note about notes
There are no user contributed notes for this page.


previousGtkTextMark::set_visible
GtkTextTag Constructornext

Last updated: Sun, 12 May 2013
view this page in English


credits 

PHP  Copyright © 2001-2014 The PHP Group
 All rights reserved.
Last updated: Sun May 12 20:51:00 2013 CEST