Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::detail::inline_widget_indicator< Index, Value > Class Template Referenceabstract

Public Types

using index_type = Index
 A type to index a item. More...
 
using value_type = Value
 A type to the value of the item. More...
 

Public Member Functions

virtual ~inline_widget_indicator ()=default
 The destructor. More...
 
virtual ::nana::widgethost () const =0
 Returns the host widget of the indicator. More...
 
virtual std::size_t column () const =0
 Returns the position of column. More...
 
virtual void modify (index_type pos, const value_type &) const =0
 Modifies the value of a item specified by pos. More...
 
virtual void selected (index_type)=0
 Sends a signal that a specified item is selected. More...
 
virtual void hovered (index_type)=0
 Sends a signal that a specified item is hovered. More...
 

Member Typedef Documentation

template<typename Index, typename Value>
using nana::detail::inline_widget_indicator< Index, Value >::index_type = Index

A type to index a item.

template<typename Index, typename Value>
using nana::detail::inline_widget_indicator< Index, Value >::value_type = Value

A type to the value of the item.

Constructor & Destructor Documentation

template<typename Index, typename Value>
virtual nana::detail::inline_widget_indicator< Index, Value >::~inline_widget_indicator ( )
virtualdefault

The destructor.

Member Function Documentation

template<typename Index, typename Value>
virtual std::size_t nana::detail::inline_widget_indicator< Index, Value >::column ( ) const
pure virtual

Returns the position of column.

Implemented in nana::drawerbase::listbox::inline_indicator.

template<typename Index, typename Value>
virtual ::nana::widget& nana::detail::inline_widget_indicator< Index, Value >::host ( ) const
pure virtual

Returns the host widget of the indicator.

Implemented in nana::drawerbase::listbox::inline_indicator.

template<typename Index, typename Value>
virtual void nana::detail::inline_widget_indicator< Index, Value >::hovered ( index_type  )
pure virtual

Sends a signal that a specified item is hovered.

template<typename Index, typename Value>
virtual void nana::detail::inline_widget_indicator< Index, Value >::modify ( index_type  pos,
const value_type  
) const
pure virtual

Modifies the value of a item specified by pos.

template<typename Index, typename Value>
virtual void nana::detail::inline_widget_indicator< Index, Value >::selected ( index_type  )
pure virtual

Sends a signal that a specified item is selected.