Nemiver  0.3
Public Member Functions | List of all members
nemiver::DBGPerspectiveDefaultLayout Class Reference

#include <nmv-dbg-perspective-default-layout.h>

Inheritance diagram for nemiver::DBGPerspectiveDefaultLayout:
nemiver::Layout nemiver::common::Object

Public Member Functions

 DBGPerspectiveDefaultLayout ()
 
void activate_view (int)
 activate a view More...
 
Gtk::Widget * widget () const
 gets the layout container widget More...
 
void do_init ()
 Initialize the layout. More...
 
void do_lay_out (IPerspective &)
 initialize the layout More...
 
void do_cleanup_layout ()
 clean-up the layout More...
 
const UStringidentifier () const
 gets the layout unique identifier More...
 
const UStringname () const
 gets the layout name More...
 
const UStringdescription () const
 gets the layout description More...
 
void save_configuration ()
 save the configuration of the layout More...
 
void append_view (Gtk::Widget &, const UString &, int)
 appends a view to the layout More...
 
void remove_view (int)
 remove a view from the layout More...
 
virtual ~DBGPerspectiveDefaultLayout ()
 
- Public Member Functions inherited from nemiver::Layout
virtual ~Layout ()
 
- Public Member Functions inherited from nemiver::common::Object
 Object ()
 
 Object (Object const &)
 
Objectoperator= (Object const &)
 
virtual ~Object ()
 
void ref ()
 
void unref ()
 
void enable_refcount (bool a_enabled=true)
 
bool is_refcount_enabled () const
 
long get_refcount () const
 
void attach_object (const UString &a_key, const Object *a_object)
 
bool get_attached_object (const UString &a_key, const Object *&a_object)
 

Additional Inherited Members

- Protected Member Functions inherited from nemiver::Layout
 Layout ()
 
- Protected Attributes inherited from nemiver::common::Object
SafePtr< ObjectPrivm_priv
 

Constructor & Destructor Documentation

◆ DBGPerspectiveDefaultLayout()

nemiver::DBGPerspectiveDefaultLayout::DBGPerspectiveDefaultLayout ( )

◆ ~DBGPerspectiveDefaultLayout()

virtual nemiver::DBGPerspectiveDefaultLayout::~DBGPerspectiveDefaultLayout ( )
virtual

Member Function Documentation

◆ activate_view()

void nemiver::DBGPerspectiveDefaultLayout::activate_view ( int  a_view_identifier)
virtual

activate a view

Parameters
a_view_identifierThe view to activate

Implements nemiver::Layout.

◆ append_view()

void nemiver::DBGPerspectiveDefaultLayout::append_view ( Gtk::Widget &  a_widget,
const UString a_title,
int  a_index 
)
virtual

appends a view to the layout

The view is added to the end of the existing list of views contained in the layout.

Parameters
a_widgetWidget of the view to add to the layout
a_titleTitle of the view (will appears in notebook label, ...)
a_indexUnique identifier of the view to add to the layout

Implements nemiver::Layout.

◆ description()

const UString& nemiver::DBGPerspectiveDefaultLayout::description ( ) const
virtual

gets the layout description

Returns
layout description

Implements nemiver::Layout.

◆ do_cleanup_layout()

void nemiver::DBGPerspectiveDefaultLayout::do_cleanup_layout ( )
virtual

clean-up the layout

Must be called before initializing a new layout for a perspective.

Implements nemiver::Layout.

◆ do_init()

void nemiver::DBGPerspectiveDefaultLayout::do_init ( )
virtual

Initialize the layout.

Implements nemiver::Layout.

◆ do_lay_out()

void nemiver::DBGPerspectiveDefaultLayout::do_lay_out ( IPerspective a_perspective)
virtual

initialize the layout

Parameters
a_perspectiveThe associated perspective.

Implements nemiver::Layout.

◆ identifier()

const UString& nemiver::DBGPerspectiveDefaultLayout::identifier ( ) const
virtual

gets the layout unique identifier

Returns
layout unique identifier

Implements nemiver::Layout.

◆ name()

const UString& nemiver::DBGPerspectiveDefaultLayout::name ( ) const
virtual

gets the layout name

Returns
layout name

Implements nemiver::Layout.

◆ remove_view()

void nemiver::DBGPerspectiveDefaultLayout::remove_view ( int  a_index)
virtual

remove a view from the layout

Parameters
a_indexUnique identifier of the view to remove from the layout

Implements nemiver::Layout.

◆ save_configuration()

void nemiver::DBGPerspectiveDefaultLayout::save_configuration ( )
virtual

save the configuration of the layout

Implements nemiver::Layout.

◆ widget()

Gtk::Widget* nemiver::DBGPerspectiveDefaultLayout::widget ( ) const
virtual

gets the layout container widget

Returns
layout container widget

Implements nemiver::Layout.


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