Public Member Functions

gui2::policy::select_action::tselect Struct Reference

Select the item, this requires the grid to contain a tselectable_. More...

#include <generator_private.hpp>

Inheritance diagram for gui2::policy::select_action::tselect:
Inheritance graph
[legend]
Collaboration diagram for gui2::policy::select_action::tselect:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Select the item, this requires the grid to contain a tselectable_.

Definition at line 480 of file generator_private.hpp.


Member Function Documentation

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.

Parameters:
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().

Here is the call graph for this function:


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

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