The Gnome Chemistry Utils  0.14.0
Public Member Functions | List of all members
gccv::TextClient Class Reference

ItemClient for text items. More...

#include <text-client.h>

Inheritance diagram for gccv::TextClient:
gccv::ItemClient gcp::TextObject gcp::Fragment gcp::Text

Public Member Functions

 TextClient ()
virtual ~TextClient ()
virtual void SelectionChanged (unsigned start, unsigned end)=0
virtual void TextChanged (unsigned pos)=0
virtual void InterlineChanged (G_GNUC_UNUSED double interline)
virtual void JustificationChanged (G_GNUC_UNUSED GtkJustification justification)
- Public Member Functions inherited from gccv::ItemClient
 ItemClient ()
virtual ~ItemClient ()
virtual void AddItem ()
virtual void UpdateItem ()
virtual void SetSelected (int state)
ItemGetItem (void)

Additional Inherited Members

- Protected Attributes inherited from gccv::ItemClient
Itemm_Item

Detailed Description

ItemClient for text items.

A specialized ItemClient class for Text items. This class is virtual.

Definition at line 40 of file text-client.h.

Constructor & Destructor Documentation

gccv::TextClient::TextClient ( )

The default constructor.

virtual gccv::TextClient::~TextClient ( )
virtual

The destructor.

Member Function Documentation

virtual void gccv::TextClient::InterlineChanged ( G_GNUC_UNUSED double  interline)
inlinevirtual
Parameters
interlinethe new interline spacing.

Notifies the client that the interline has been changed.

Definition at line 70 of file text-client.h.

virtual void gccv::TextClient::JustificationChanged ( G_GNUC_UNUSED GtkJustification  justification)
inlinevirtual
Parameters
justificationthe new justification.

Notifies the client that the justification has been changed.

Definition at line 76 of file text-client.h.

virtual void gccv::TextClient::SelectionChanged ( unsigned  start,
unsigned  end 
)
pure virtual
Parameters
startnew selection start index.
endnew selection end index.

Notifies the client that the selection position has changed.

Implemented in gcp::TextObject.

virtual void gccv::TextClient::TextChanged ( unsigned  pos)
pure virtual
Parameters
posthe new cursor position.

Notifies the client that the text has been changed.

Implemented in gcp::TextObject.


The documentation for this class was generated from the following file: