GSI Object Oriented Online Offline (Go4)
GO4-6.2.0
|
#include <TWebMenuItem.h>
Public Member Functions | |
TWebCheckedMenuItem (const std::string &name, const std::string &title, bool checked=false) | |
virtual | ~TWebCheckedMenuItem ()=default |
void | SetChecked (bool on=true) |
bool | IsChecked () const |
![]() | |
TWebMenuItem (const std::string &name, const std::string &title) | |
TWebMenuItem (const TWebMenuItem &rhs) | |
virtual | ~TWebMenuItem ()=default |
void | SetExec (const std::string &exec) |
void | SetClassName (const std::string &clname) |
const std::string & | GetName () const |
const std::string & | GetExec () const |
Protected Attributes | |
bool | fChecked {false} |
![]() | |
std::string | fName |
std::string | fTitle |
std::string | fExec |
std::string | fClassName |
Definition at line 55 of file TWebMenuItem.h.
|
inline |
Create checked menu item
Definition at line 60 of file TWebMenuItem.h.
|
virtualdefault |
virtual destructor need for vtable, used when vector of TMenuItem* is stored
|
inline |
Definition at line 71 of file TWebMenuItem.h.
References fChecked.
|
inline |
Set checked state for the item, default is none
Definition at line 69 of file TWebMenuItem.h.
References fChecked.
|
protected |
Definition at line 57 of file TWebMenuItem.h.
Referenced by IsChecked(), and SetChecked().