Back to index

salome-gui  6.5.0
Public Types | Public Member Functions | Public Attributes
TGetActiveView Class Reference
Inheritance diagram for TGetActiveView:
Inheritance graph
Collaboration diagram for TGetActiveView:
Collaboration graph

List of all members.

Public Types

typedef int TResult

Public Member Functions

 TGetActiveView ()
virtual void Execute ()

Public Attributes

TResult myResult

Detailed Description

Definition at line 2292 of file SalomePyQt.cxx.

Member Typedef Documentation

Definition at line 2295 of file SalomePyQt.cxx.

Constructor & Destructor Documentation

Definition at line 2297 of file SalomePyQt.cxx.

    : myResult( -1 ) {}

Member Function Documentation

virtual void TGetActiveView::Execute ( ) [inline, virtual]

Definition at line 2299 of file SalomePyQt.cxx.

    LightApp_Application* app = getApplication();
    if ( app )
      SUIT_ViewManager* viewMgr = app->activeViewManager();
      if ( viewMgr )
        SUIT_ViewWindow* wnd = viewMgr->getActiveView();
        if ( wnd )
          myResult = wnd->getId();

Here is the call graph for this function:

Member Data Documentation

Definition at line 2296 of file SalomePyQt.cxx.

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