From 37434c1742e4eb4d25763e032f89ca3aece36d33 Mon Sep 17 00:00:00 2001 From: stefan <stefan@5a81b35b-ba03-0410-adc8-b2c5c5119f08> Date: Thu, 17 Jun 2010 13:38:06 +0000 Subject: [PATCH] Update documentation for SequenceViewer git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2417 5a81b35b-ba03-0410-adc8-b2c5c5119f08 --- modules/gui/doc/sequence_viewer.rst | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/modules/gui/doc/sequence_viewer.rst b/modules/gui/doc/sequence_viewer.rst index 87c2ae384..8b654a1c7 100644 --- a/modules/gui/doc/sequence_viewer.rst +++ b/modules/gui/doc/sequence_viewer.rst @@ -114,6 +114,20 @@ With `<ctrl + f>` you can show or hide the search bar which help you finding par The SequenceViewer class represents a graphical sequence viewer. To see the sequences of a :class:`gfx.Entity`, you can use the :meth:`AddEntity` method. If you want to load an alignment, the :meth:`AddAlignment` method can be used. + .. method:: AddEntity(entity) + + Add :class:`gfx.Entity` to SequenceViewer. + + :param entity: an entity instance + :type entity: :class:`gfx.Entity` + + .. method:: RemoveEntity(entity) + + Remove entity from sequence viewer. + + :param entity: an entity instance + :type entity: :class:`gfx.Entity` + .. method:: AddAlignment(alignment) Add :class:`seq.AlignmentHandle` to SequenceViewer. @@ -123,7 +137,7 @@ can use the :meth:`AddEntity` method. If you want to load an alignment, the :met .. method:: RemoveAlignment(alignment) - Remove alignment from sequenceviewer. + Remove alignment from sequence viewer. :param alignment: an alignment instance :type alignment: :class:`seq.AlignmentHandle` -- GitLab