logo top
Main Page   Widgets   Namespaces   Book  

Atk::Text Class Reference

Inheritance diagram for Atk::Text:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~Text ()
AtkText* gobj ()
 Provides access to the underlying C GObject.

const AtkText* gobj () const
 Provides access to the underlying C GObject.

Glib::ustring get_text (int start_offset, int end_offset) const
gunichar get_character_at_offset (int offset) const
Glib::ustring get_text_after_offset (int offset, TextBoundary boundary_type, int& start_offset, int& end_offset) const
Glib::ustring get_text_at_offset (int offset, TextBoundary boundary_type, int& start_offset, int& end_offset) const
Glib::ustring get_text_before_offset (int offset, TextBoundary boundary_type, int& start_offset, int& end_offset) const
int get_caret_offset () const
void get_character_extents (int offset, int& x, int& y, int& width, int& height, CoordType coords) const
AttributeSet get_run_attributes (int offset, int& start_offset, int& end_offset) const
AttributeSet get_default_attributes () const
int get_character_count () const
int get_offset_at_point (int x, int y, CoordType coords) const
int get_n_selections () const
Glib::ustring get_selection (int selection_num, int& start_offset, int& end_offset) const
bool add_selection (int start_offset, int end_offset)
bool remove_selection (int selection_num)
bool set_selection (int selection_num, int start_offset, int end_offset)
bool set_caret_offset (int offset)
Glib::SignalProxy2< void,
int, int > 
signal_text_changed ()
Glib::SignalProxy1< void,
int > 
signal_text_caret_moved ()
Glib::SignalProxy0<void> signal_text_selection_changed ()
Glib::SignalProxy0<void> signal_text_attributes_changed ()

Static Public Member Functions

void add_interface (GType gtype_implementer)

Protected Member Functions

virtual Glib::ustring get_text_vfunc (int start_offset, int end_offset)
virtual gunichar get_character_at_offset_vfunc (int offset)
virtual Glib::ustring get_text_after_offset_vfunc (int offset, TextBoundary boundary_type, int& start_offset, int& end_offset)
virtual Glib::ustring get_text_at_offset_vfunc (int offset, TextBoundary boundary_type, int& start_offset, int& end_offset)
virtual Glib::ustring get_text_before_offset_vfunc (int offset, TextBoundary boundary_type, int& start_offset, int& end_offset)
virtual int get_caret_offset_vfunc ()
virtual void get_character_extents_vfunc (int offset, int& x, int& y, int& width, int& height, CoordType coords)
virtual AtkAttributeSet* get_run_attributes_vfunc (int offset, int& start_offset, int& end_offset)
virtual AtkAttributeSet* get_default_attributes_vfunc ()
virtual int get_character_count_vfunc ()
virtual int get_offset_at_point_vfunc (int x, int y, CoordType coords)
virtual int get_n_selections_vfunc ()
virtual Glib::ustring get_selection_vfunc (int selection_num, int& start_offset, int& end_offset)
virtual bool add_selection_vfunc (int start_offset, int end_offset)
virtual bool remove_selection_vfunc (int selection_num)
virtual bool set_selection_vfunc (int selection_num, int start_offset, int end_offset)
virtual bool set_caret_offset_vfunc (int offset)
virtual void on_text_changed (int position, int length)
virtual void on_text_caret_moved (int location)
virtual void on_text_selection_changed ()
virtual void on_text_attributes_changed ()

Related Functions

(Note that these are not member functions.)

Glib::RefPtr<Atk::Textwrap (AtkText* object, bool take_copy=false)

Constructor & Destructor Documentation

virtual Atk::Text::~Text (  )  [virtual]
 


Member Function Documentation

void Atk::Text::add_interface ( GType  gtype_implementer  )  [static]
 

bool Atk::Text::add_selection ( int  start_offset,
int  end_offset
 

virtual bool Atk::Text::add_selection_vfunc ( int  start_offset,
int  end_offset
[protected, virtual]
 

int Atk::Text::get_caret_offset (  )  const
 

virtual int Atk::Text::get_caret_offset_vfunc (  )  [protected, virtual]
 

gunichar Atk::Text::get_character_at_offset ( int  offset  )  const
 

virtual gunichar Atk::Text::get_character_at_offset_vfunc ( int  offset  )  [protected, virtual]
 

int Atk::Text::get_character_count (  )  const
 

virtual int Atk::Text::get_character_count_vfunc (  )  [protected, virtual]
 

void Atk::Text::get_character_extents ( int  offset,
int&  x,
int&  y,
int&  width,
int&  height,
CoordType  coords
const
 

virtual void Atk::Text::get_character_extents_vfunc ( int  offset,
int&  x,
int&  y,
int&  width,
int&  height,
CoordType  coords
[protected, virtual]
 

AttributeSet Atk::Text::get_default_attributes (  )  const
 

virtual AtkAttributeSet* Atk::Text::get_default_attributes_vfunc (  )  [protected, virtual]
 

int Atk::Text::get_n_selections (  )  const
 

virtual int Atk::Text::get_n_selections_vfunc (  )  [protected, virtual]
 

int Atk::Text::get_offset_at_point ( int  x,
int  y,
CoordType  coords
const
 

virtual int Atk::Text::get_offset_at_point_vfunc ( int  x,
int  y,
CoordType  coords
[protected, virtual]
 

AttributeSet Atk::Text::get_run_attributes ( int  offset,
int&  start_offset,
int&  end_offset
const
 

virtual AtkAttributeSet* Atk::Text::get_run_attributes_vfunc ( int  offset,
int&  start_offset,
int&  end_offset
[protected, virtual]
 

Glib::ustring Atk::Text::get_selection ( int  selection_num,
int&  start_offset,
int&  end_offset
const
 

virtual Glib::ustring Atk::Text::get_selection_vfunc ( int  selection_num,
int&  start_offset,
int&  end_offset
[protected, virtual]
 

Glib::ustring Atk::Text::get_text ( int  start_offset,
int  end_offset
const
 

Glib::ustring Atk::Text::get_text_after_offset ( int  offset,
TextBoundary  boundary_type,
int&  start_offset,
int&  end_offset
const
 

virtual Glib::ustring Atk::Text::get_text_after_offset_vfunc ( int  offset,
TextBoundary  boundary_type,
int&  start_offset,
int&  end_offset
[protected, virtual]
 

Glib::ustring Atk::Text::get_text_at_offset ( int  offset,
TextBoundary  boundary_type,
int&  start_offset,
int&  end_offset
const
 

virtual Glib::ustring Atk::Text::get_text_at_offset_vfunc ( int  offset,
TextBoundary  boundary_type,
int&  start_offset,
int&  end_offset
[protected, virtual]
 

Glib::ustring Atk::Text::get_text_before_offset ( int  offset,
TextBoundary  boundary_type,
int&  start_offset,
int&  end_offset
const
 

virtual Glib::ustring Atk::Text::get_text_before_offset_vfunc ( int  offset,
TextBoundary  boundary_type,
int&  start_offset,
int&  end_offset
[protected, virtual]
 

virtual Glib::ustring Atk::Text::get_text_vfunc ( int  start_offset,
int  end_offset
[protected, virtual]
 

const AtkText* Atk::Text::gobj (  )  const [inline]
 

Provides access to the underlying C GObject.

Reimplemented from Glib::Interface.

Reimplemented in Atk::NoOpObject.

AtkText* Atk::Text::gobj (  )  [inline]
 

Provides access to the underlying C GObject.

Reimplemented from Glib::Interface.

Reimplemented in Atk::NoOpObject.

virtual void Atk::Text::on_text_attributes_changed (  )  [protected, virtual]
 

virtual void Atk::Text::on_text_caret_moved ( int  location  )  [protected, virtual]
 

virtual void Atk::Text::on_text_changed ( int  position,
int  length
[protected, virtual]
 

virtual void Atk::Text::on_text_selection_changed (  )  [protected, virtual]
 

bool Atk::Text::remove_selection ( int  selection_num  ) 
 

virtual bool Atk::Text::remove_selection_vfunc ( int  selection_num  )  [protected, virtual]
 

bool Atk::Text::set_caret_offset ( int  offset  ) 
 

virtual bool Atk::Text::set_caret_offset_vfunc ( int  offset  )  [protected, virtual]
 

bool Atk::Text::set_selection ( int  selection_num,
int  start_offset,
int  end_offset
 

virtual bool Atk::Text::set_selection_vfunc ( int  selection_num,
int  start_offset,
int  end_offset
[protected, virtual]
 

Glib::SignalProxy0<void> Atk::Text::signal_text_attributes_changed (  ) 
 

Prototype:
void text_attributes_changed()

Glib::SignalProxy1<void,int> Atk::Text::signal_text_caret_moved (  ) 
 

Prototype:
void text_caret_moved(int location)

Glib::SignalProxy2<void,int,int> Atk::Text::signal_text_changed (  ) 
 

Prototype:
void text_changed(int position, int length)

Glib::SignalProxy0<void> Atk::Text::signal_text_selection_changed (  ) 
 

Prototype:
void text_selection_changed()


Friends And Related Function Documentation

Glib::RefPtr<Atk::Text> wrap ( AtkText*  object,
bool  take_copy = false
[related]
 


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