CEBL  2.1
Public Member Functions | Protected Member Functions
TabClassifiers Class Reference

#include <TabClassifiers.hpp>

Public Member Functions

 TabClassifiers (string title, GtkWidget *notebook, CEBLViewGTK *view)
 ~TabClassifiers ()
void updateView ()
 Updates the view from the model.
void updateModel ()
 updates model from view
- Public Member Functions inherited from Tab
 Tab (string title, GtkWidget *notebook, CEBLViewGTK *view)
virtual ~Tab ()
string GetTitle ()
 Get the title of the tab.
GtkWidget * GetContainer ()
 Get the container widget.
CEBLViewGTKgetView ()
 Get the parent view.
virtual void onHide ()
 optional function to be called when page is hidden
virtual void onShow ()
 optional function to be called when page is selected

Protected Member Functions

void CreateGUI ()
 Initialize the tab.
- Protected Member Functions inherited from Tab
void TabAdd (GtkWidget *, bool expand, bool fill, int padding)
 Add a widget to the tab.
void TabAdd (GtkWidget *)
 Add a widget to the tab;.
void TabFrameAdd (GtkWidget *, const char *title="", bool expand=false, bool fill=false)
 Add a widget to a frame inside the tab.
GtkWidget * TabFrameCreate (GtkWidget *widget, const char *title="")
 Function to create a standardized from.
void TabRemove (GtkWidget *)
 Remove a widget from the tab.

Additional Inherited Members

- Protected Attributes inherited from Tab
CEBLViewGTKview
 pointer to view
GtkWidget * container
 main container to hold tab contents
string title
 title of the tab
int notebook_id
 id of tab in notebook

Detailed Description

TabClassifiers.hpp

Author:
Jeshua Bratman

Tab containing options for classifiers

Definition at line 33 of file TabClassifiers.hpp.


Constructor & Destructor Documentation

TabClassifiers::TabClassifiers ( string  title,
GtkWidget *  notebook,
CEBLViewGTK view 
)
inline

Definition at line 67 of file TabClassifiers.hpp.

References CreateGUI().

TabClassifiers::~TabClassifiers ( )

TabClassifiers.cpp

Author:
Jeshua Bratman

Definition at line 12 of file TabClassifiers.cpp.


Member Function Documentation

void TabClassifiers::CreateGUI ( )
protected

Initialize the tab.

Definition at line 22 of file TabClassifiers.cpp.

References CEBLViewGTK::getString(), Tab::TabAdd(), Tab::TabFrameAdd(), Tab::title, updateView(), and Tab::view.

Referenced by TabClassifiers().

void TabClassifiers::updateModel ( )
virtual

updates model from view

Implements Tab.

Definition at line 150 of file TabClassifiers.cpp.

References CEBLModel::classifierSetParams(), CEBLView::getModel(), WidgetPanel::getParams(), and Tab::getView().

void TabClassifiers::updateView ( )
virtual

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