Logo Search packages:      
Sourcecode: cadabra version File versions

NotebookCanvas Class Reference

#include <window.hh>

List of all members.

Detailed Description

NotebookCanvas is a view on notebook data. Any number of these may be instantiated, and they all reflect the current status of the document stored in the master XCadabra class.

Definition at line 175 of file window.hh.

Public Types

typedef std::list< VisualCell * > VisualCells_t

Public Member Functions

VisualCelladd_cell (Glib::RefPtr< DataCell >, Glib::RefPtr< DataCell > ref, bool before=true)
void cell_grab_focus (Glib::RefPtr< DataCell >)
void cell_grab_focus (VisualCell *)
bool handle_key_press_event (GdkEventKey *)
 NotebookCanvas (XCadabra &doc)
void redraw_cells ()
void remove_cell (Glib::RefPtr< DataCell >)
 As add_cell, but keep the cell hidden from view (for use during load).
void scroll_down ()
bool scroll_into_view (Glib::RefPtr< DataCell >, bool center=false)
bool scroll_into_view (VisualCell *, bool center=false)
bool scroll_into_view_callback (VisualCell *)
void scroll_to_end ()
void scroll_to_start ()
void scroll_up ()
void select_first_input_cell ()
virtual void show ()
void show_cell (Glib::RefPtr< DataCell >)

Public Attributes

Gtk::HSeparator bottomline
Gtk::EventBox ebox
Gtk::ScrolledWindow scroll
Gtk::VBox scrollbox
VisualCells_t visualcells

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

Generated by  Doxygen 1.6.0   Back to index