BtMainPageSequence

BtMainPageSequence — the editor main sequence page

Synopsis

#include "bt-edit.h"

                    BtMainPageSequence;
BtMainPageSequence * bt_main_page_sequence_new          (const BtMainPages *pages);
BtMachine *         bt_main_page_sequence_get_current_machine
                                                        (const BtMainPageSequence *self);
void                bt_main_page_sequence_delete_selection
                                                        (const BtMainPageSequence *self);
void                bt_main_page_sequence_copy_selection
                                                        (const BtMainPageSequence *self);
void                bt_main_page_sequence_cut_selection (const BtMainPageSequence *self);
void                bt_main_page_sequence_paste_selection
                                                        (const BtMainPageSequence *self);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBox
                                 +----GtkVBox
                                       +----BtMainPageSequence

Implemented Interfaces

BtMainPageSequence implements AtkImplementorIface, GtkBuildable and GtkOrientable.

Properties

  "cursor-row"               glong                 : Read

Description

Provides an editor for BtSequence instances.

Details

BtMainPageSequence

typedef struct _BtMainPageSequence BtMainPageSequence;

the sequence page for the editor application


bt_main_page_sequence_new ()

BtMainPageSequence * bt_main_page_sequence_new          (const BtMainPages *pages);

Create a new instance

pages :

the page collection

Returns :

the new instance

bt_main_page_sequence_get_current_machine ()

BtMachine *         bt_main_page_sequence_get_current_machine
                                                        (const BtMainPageSequence *self);

Get the currently active BtMachine as determined by the cursor position in the sequence table. Unref the machine, when done with it.

self :

the sequence subpage

Returns :

the BtMachine instance or NULL in case of an error

bt_main_page_sequence_delete_selection ()

void                bt_main_page_sequence_delete_selection
                                                        (const BtMainPageSequence *self);

Delete (clear) the selected area.

self :

the sequence subpage

bt_main_page_sequence_copy_selection ()

void                bt_main_page_sequence_copy_selection
                                                        (const BtMainPageSequence *self);

Copy selected area.

Note

not yet working

self :

the sequence subpage

bt_main_page_sequence_cut_selection ()

void                bt_main_page_sequence_cut_selection (const BtMainPageSequence *self);

Cut selected area.

Note

not yet working

self :

the sequence subpage

bt_main_page_sequence_paste_selection ()

void                bt_main_page_sequence_paste_selection
                                                        (const BtMainPageSequence *self);

Paste at the top of the selected area.

Note

not yet working

self :

the sequence subpage

Property Details

The "cursor-row" property

  "cursor-row"               glong                 : Read

position of the cursor in the sequence view in bars.

Allowed values: >= 0

Default value: 0

See Also

BtSequence, BtSequenceView