Select the item, this requires the grid to contain a tselectable_. More...
#include <generator_private.hpp>


Public Member Functions | |
| void | select (tgrid &grid, const bool select) |
| void | init (tgrid *grid, const std::map< std::string, string_map > &data, void(*callback)(twidget *)) |
| Helper function to initialize a grid. | |
Select the item, this requires the grid to contain a tselectable_.
Definition at line 480 of file generator_private.hpp.
| void gui2::policy::select_action::tselect::init | ( | tgrid * | grid, | |
| const std::map< std::string, string_map > & | data, | |||
| void(*)(twidget *) | callback | |||
| ) |
Helper function to initialize a grid.
| grid | The grid to initialize. | |
| data | The data to initialize the parameters of the new item. | |
| callback | The callback function to call when an item in the grid is (de)selected. |
Definition at line 633 of file generator.cpp.
| void gui2::policy::select_action::tselect::select | ( | tgrid & | grid, | |
| const bool | select | |||
| ) |
Definition at line 624 of file generator.cpp.
References gui2::tgrid::widget().

| Generated by doxygen 1.7.1 on Fri May 25 2012 01:23:43 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |