Back to index

Public Member Functions | Public Attributes | Private Attributes
close_embedded_command_rep Class Reference
Inheritance diagram for close_embedded_command_rep:
Inheritance graph
Collaboration diagram for close_embedded_command_rep:
Collaboration graph

List of all members.

Public Member Functions

 close_embedded_command_rep (tm_view vw2)
void apply ()
tm_ostreamprint (tm_ostream &out)
virtual void apply (object args)

Public Attributes

int ref_count

Private Attributes

tm_view vw

Detailed Description

Definition at line 82 of file tm_window.cpp.

Constructor & Destructor Documentation

Definition at line 85 of file tm_window.cpp.

: vw (vw2) {}

Member Function Documentation

void command_rep::apply ( object  args) [virtual, inherited]

Reimplemented in object_command_rep.

Definition at line 20 of file command.cpp.

  (void) args;
  apply ();

Here is the call graph for this function:

Implements command_rep.

Definition at line 92 of file tm_window.cpp.

  //cout << "Destroy " << vw->buf->buf->name << "\n";
  window_focus (vw->ed->mvw->win->id);
  //cout << "Changed focus\n";
  tm_window win= vw->win;
  ASSERT (N(vw->buf->vws) == 1, "invalid cloned embedded TeXmacs widget");
  delete_buffer (vw->buf);
  //cout << "Deleted buffer\n";
  tm_delete (win);
  //cout << "Deleted window\n";

Here is the call graph for this function:

Reimplemented from command_rep.

Definition at line 87 of file tm_window.cpp.

    return out << "Close_Embedded widget command"; }

Member Data Documentation

int abstract_struct::ref_count [inherited]

Definition at line 142 of file basic.hpp.

Definition at line 83 of file tm_window.cpp.

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