EditorGuide Class Reference

A widget which sits near the top of the editor and shows usage hints. More...

#include <EditorGuide.h>

Inheritance diagram for EditorGuide:

InfoBar List of all members.

Public Member Functions

 EditorGuide ()

Protected Member Functions

void show_message (unsigned int index)
 Show one of the tips.
virtual void on_response (int response_id)

Protected Attributes

Gtk::Label m_label
 The label displaying the tip.
unsigned int m_message_index
 Index of displayed hint.

Detailed Description

A widget which sits near the top of the editor and shows usage hints.

Definition at line 21 of file EditorGuide.h.

Constructor & Destructor Documentation

EditorGuide::EditorGuide (  ) 

Definition at line 40 of file EditorGuide.cpp.

Member Function Documentation

void EditorGuide::on_response ( int  response_id  )  [protected, virtual]

Definition at line 66 of file EditorGuide.cpp.

void EditorGuide::show_message ( unsigned int  index  )  [protected]

Show one of the tips.

Sets the label's text, m_message_index, and sensitivity of buttons.

index Index of tip to show. 0 is the first tip.

Definition at line 58 of file EditorGuide.cpp.

Member Data Documentation

Gtk::Label EditorGuide::m_label [protected]

The label displaying the tip.

Definition at line 36 of file EditorGuide.h.

unsigned int EditorGuide::m_message_index [protected]

Index of displayed hint.

0 is the first hint.

Definition at line 41 of file EditorGuide.h.

The documentation for this class was generated from the following files:
Get Racer at SourceForge.net. Fast, secure and Free Open Source software downloads

Generated at Mon Sep 6 00:41:16 2010 by Doxygen version 1.4.7 for Racer version svn335.