xCHM  1.23
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
CHMIndexPanel Class Reference

Custom panel for displaying the .chm index (if available). More...

#include <chmindexpanel.h>

Inheritance diagram for CHMIndexPanel:
wxPanel

Public Member Functions

 CHMIndexPanel (wxWindow *parent, CHMHtmlNotebook *nbhtml)
 Initializes the panel. More...
 
CHMListCtrlGetResultsList ()
 Accesor for the CHMListCtrl used by this panel.
 
void Reset ()
 Clears the textbox and removes all items from the list control.
 
void SetNewFont (const wxFont &font)
 Sets the font.
 

Protected Member Functions

void OnIndexSel (wxListEvent &event)
 This gets called when the user clicks on a list item.
 
void OnIndexSelRet (wxCommandEvent &event)
 This gets called when the user presses enter on a list item.
 
void OnText (wxCommandEvent &event)
 Called whenever the user types a letter in the textbox.
 

Private Attributes

CHMHtmlNotebook_nbhtml
 
wxTextCtrl * _text
 
CHMListCtrl_lc
 
bool _navigate
 

Detailed Description

Custom panel for displaying the .chm index (if available).

Constructor & Destructor Documentation

CHMIndexPanel::CHMIndexPanel ( wxWindow *  parent,
CHMHtmlNotebook nbhtml 
)

Initializes the panel.

Parameters
parentParent widget.
nbhtmlHTML-capable widget used for displaying pages from the index.

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