Google

logo top
Main Page   Widgets   Namespaces   Book  

Gtk::TextTag Class Reference
[TextView Classes]

Inheritance diagram for Gtk::TextTag:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual ~TextTag ()
GtkTextTag* gobj ()
const GtkTextTag* gobj () const
GtkTextTag* gobj_copy ()
int get_priority () const
 Get the tag priority.

void set_priority (int priority)
 Sets the priority of a Gtk::TextTag.

bool event (const Glib::RefPtr<Glib::Object>& event_object, GdkEvent* event, const TextIter& iter)
 Emits the "event" signal on the Gtk::TextTag.

Glib::SignalProxy3< bool,
const Glib::RefPtr<Glib::Object>&,
GdkEvent*, const TextIter& > 
signal_event ()
Glib::PropertyProxy_WriteOnly<
Glib::ustring
property_background ()
Glib::PropertyProxy_WriteOnly<
Glib::ustring
property_foreground ()
Glib::PropertyProxy<Gdk::Colorproperty_background_gdk ()
Glib::PropertyProxy<Gdk::Colorproperty_foreground_gdk ()
Glib::PropertyProxy< Glib::RefPtr<
Gdk::Bitmap > > 
property_background_stipple ()
Glib::PropertyProxy< Glib::RefPtr<
Gdk::Bitmap > > 
property_foreground_stipple ()
Glib::PropertyProxy<Glib::ustringproperty_font ()
Glib::PropertyProxy<Pango::FontDescriptionproperty_font_desc ()
Glib::PropertyProxy<Glib::ustringproperty_family ()
Glib::PropertyProxy<Pango::Styleproperty_style ()
Glib::PropertyProxy<Pango::Variantproperty_variant ()
Glib::PropertyProxy<int> property_weight ()
Glib::PropertyProxy<Pango::Stretchproperty_stretch ()
Glib::PropertyProxy<int> property_size ()
Glib::PropertyProxy<double> property_size_points ()
Glib::PropertyProxy<double> property_scale ()
Glib::PropertyProxy<int> property_pixels_above_lines ()
Glib::PropertyProxy<int> property_pixels_below_lines ()
Glib::PropertyProxy<int> property_pixels_inside_wrap ()
Glib::PropertyProxy<bool> property_editable ()
Glib::PropertyProxy<WrapModeproperty_wrap_mode ()
Glib::PropertyProxy<Justificationproperty_justification ()
Glib::PropertyProxy<TextDirectionproperty_direction ()
Glib::PropertyProxy<int> property_left_margin ()
Glib::PropertyProxy<int> property_indent ()
Glib::PropertyProxy<bool> property_strikethrough ()
Glib::PropertyProxy<int> property_right_margin ()
Glib::PropertyProxy<Pango::Underlineproperty_underline ()
Glib::PropertyProxy<int> property_rise ()
Glib::PropertyProxy<bool> property_background_full_height ()
Glib::PropertyProxy<Glib::ustringproperty_language ()
Glib::PropertyProxy<Pango::TabArrayproperty_tabs ()
Glib::PropertyProxy<bool> property_invisible ()
Glib::PropertyProxy<bool> property_background_set ()
Glib::PropertyProxy<bool> property_foreground_set ()
Glib::PropertyProxy<bool> property_background_stipple_set ()
Glib::PropertyProxy<bool> property_foreground_stipple_set ()
Glib::PropertyProxy<bool> property_family_set ()
Glib::PropertyProxy<bool> property_style_set ()
Glib::PropertyProxy<bool> property_variant_set ()
Glib::PropertyProxy<bool> property_weight_set ()
Glib::PropertyProxy<bool> property_stretch_set ()
Glib::PropertyProxy<bool> property_size_set ()
Glib::PropertyProxy<bool> property_scale_set ()
Glib::PropertyProxy<bool> property_pixels_above_lines_set ()
Glib::PropertyProxy<bool> property_pixels_below_lines_set ()
Glib::PropertyProxy<bool> property_pixels_inside_wrap_set ()
Glib::PropertyProxy<bool> property_editable_set ()
Glib::PropertyProxy<bool> property_wrap_mode_set ()
Glib::PropertyProxy<bool> property_justification_set ()
Glib::PropertyProxy<bool> property_left_margin_set ()
Glib::PropertyProxy<bool> property_indent_set ()
Glib::PropertyProxy<bool> property_strikethrough_set ()
Glib::PropertyProxy<bool> property_right_margin_set ()
Glib::PropertyProxy<bool> property_underline_set ()
Glib::PropertyProxy<bool> property_rise_set ()
Glib::PropertyProxy<bool> property_background_full_height_set ()
Glib::PropertyProxy<bool> property_language_set ()
Glib::PropertyProxy<bool> property_tabs_set ()
Glib::PropertyProxy<bool> property_invisible_set ()

Static Public Methods

Glib::RefPtr<TextTag> create ()
Glib::RefPtr<TextTag> create (const Glib::ustring& name)

Protected Methods

 TextTag ()
 TextTag (const Glib::ustring& name)
virtual bool on_event (const Glib::RefPtr<Glib::Object>& event_object, GdkEvent* event, const TextIter& iter)

Related Functions

(Note that these are not member functions.)

Glib::RefPtr<Gtk::TextTag> wrap (GtkTextTag* object, bool take_copy=false)

Constructor & Destructor Documentation

virtual Gtk::TextTag::~TextTag (   [virtual]
 

Gtk::TextTag::TextTag (   [protected]
 

Gtk::TextTag::TextTag ( const Glib::ustring   name [explicit, protected]
 


Member Function Documentation

Glib::RefPtr<TextTag> Gtk::TextTag::create ( const Glib::ustring   name [static]
 

Glib::RefPtr<TextTag> Gtk::TextTag::create (   [static]
 

bool Gtk::TextTag::event ( const Glib::RefPtr<Glib::Object>&    event_object,
GdkEvent*    event,
const TextIter   iter
 

Emits the "event" signal on the Gtk::TextTag.

Parameters:
event_object Object that received the event, such as a widget.
event The event.
iter Location where the event was received.
Returns:
Result of signal emission (whether the event was handled).

int Gtk::TextTag::get_priority (   const
 

Get the tag priority.

Returns:
The tag's priority.

const GtkTextTag* Gtk::TextTag::gobj (   const [inline]
 

Reimplemented from Glib::ObjectBase.

GtkTextTag* Gtk::TextTag::gobj (   [inline]
 

Reimplemented from Glib::ObjectBase.

GtkTextTag* Gtk::TextTag::gobj_copy (  
 

virtual bool Gtk::TextTag::on_event ( const Glib::RefPtr<Glib::Object>&    event_object,
GdkEvent*    event,
const TextIter   iter
[protected, virtual]
 

Glib::PropertyProxy_WriteOnly<Glib::ustring> Gtk::TextTag::property_background (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_background_full_height (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_background_full_height_set (  
 

Glib::PropertyProxy<Gdk::Color> Gtk::TextTag::property_background_gdk (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_background_set (  
 

Glib::PropertyProxy<Glib::RefPtr<Gdk::Bitmap>> Gtk::TextTag::property_background_stipple (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_background_stipple_set (  
 

Glib::PropertyProxy<TextDirection> Gtk::TextTag::property_direction (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_editable (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_editable_set (  
 

Glib::PropertyProxy<Glib::ustring> Gtk::TextTag::property_family (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_family_set (  
 

Glib::PropertyProxy<Glib::ustring> Gtk::TextTag::property_font (  
 

Glib::PropertyProxy<Pango::FontDescription> Gtk::TextTag::property_font_desc (  
 

Glib::PropertyProxy_WriteOnly<Glib::ustring> Gtk::TextTag::property_foreground (  
 

Glib::PropertyProxy<Gdk::Color> Gtk::TextTag::property_foreground_gdk (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_foreground_set (  
 

Glib::PropertyProxy<Glib::RefPtr<Gdk::Bitmap>> Gtk::TextTag::property_foreground_stipple (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_foreground_stipple_set (  
 

Glib::PropertyProxy<int> Gtk::TextTag::property_indent (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_indent_set (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_invisible (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_invisible_set (  
 

Glib::PropertyProxy<Justification> Gtk::TextTag::property_justification (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_justification_set (  
 

Glib::PropertyProxy<Glib::ustring> Gtk::TextTag::property_language (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_language_set (  
 

Glib::PropertyProxy<int> Gtk::TextTag::property_left_margin (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_left_margin_set (  
 

Glib::PropertyProxy<int> Gtk::TextTag::property_pixels_above_lines (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_pixels_above_lines_set (  
 

Glib::PropertyProxy<int> Gtk::TextTag::property_pixels_below_lines (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_pixels_below_lines_set (  
 

Glib::PropertyProxy<int> Gtk::TextTag::property_pixels_inside_wrap (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_pixels_inside_wrap_set (  
 

Glib::PropertyProxy<int> Gtk::TextTag::property_right_margin (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_right_margin_set (  
 

Glib::PropertyProxy<int> Gtk::TextTag::property_rise (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_rise_set (  
 

Glib::PropertyProxy<double> Gtk::TextTag::property_scale (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_scale_set (  
 

Glib::PropertyProxy<int> Gtk::TextTag::property_size (  
 

Glib::PropertyProxy<double> Gtk::TextTag::property_size_points (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_size_set (  
 

Glib::PropertyProxy<Pango::Stretch> Gtk::TextTag::property_stretch (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_stretch_set (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_strikethrough (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_strikethrough_set (  
 

Glib::PropertyProxy<Pango::Style> Gtk::TextTag::property_style (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_style_set (  
 

Glib::PropertyProxy<Pango::TabArray> Gtk::TextTag::property_tabs (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_tabs_set (  
 

Glib::PropertyProxy<Pango::Underline> Gtk::TextTag::property_underline (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_underline_set (  
 

Glib::PropertyProxy<Pango::Variant> Gtk::TextTag::property_variant (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_variant_set (  
 

Glib::PropertyProxy<int> Gtk::TextTag::property_weight (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_weight_set (  
 

Glib::PropertyProxy<WrapMode> Gtk::TextTag::property_wrap_mode (  
 

Glib::PropertyProxy<bool> Gtk::TextTag::property_wrap_mode_set (  
 

void Gtk::TextTag::set_priority ( int    priority
 

Sets the priority of a Gtk::TextTag.

Valid priorities are start at 0 and go to one less than Gtk::TextTagTable::get_size(). Each tag in a table has a unique priority; setting the priority of one tag shifts the priorities of all the other tags in the table to maintain a unique priority for each tag. Higher priority tags "win" if two tags both set the same text attribute. When adding a tag to a tag table, it will be assigned the highest priority in the table by default; so normally the precedence of a set of tags is the order in which they were added to the table, or created with Gtk::TextBuffer::create_tag(), which adds the tag to the buffer's table automatically.

Parameters:
priority The new priority.

Glib::SignalProxy3<bool,const Glib::RefPtr<Glib::Object>&,GdkEvent*,const TextIter&> Gtk::TextTag::signal_event (  
 

Prototype:
bool event(const Glib::RefPtr<Glib::Object>& event_object, GdkEvent* event, const TextIter& iter)


Friends And Related Function Documentation

Glib::RefPtr<Gtk::TextTag> wrap ( GtkTextTag*    object,
bool    take_copy = false
[related]
 


The documentation for this class was generated from the following file:
Generated for gtkmm by Doxygen 1.3-rc1 © 1997-2001