Public Member Functions

gui2::policy::select_action::tshow Struct Reference

Show the item. More...

#include <generator_private.hpp>

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

List of all members.

Public Member Functions

void select (tgrid &grid, const bool show)
void init (tgrid *grid, const std::map< std::string, string_map > &data, void(*callback)(twidget *))
 Helper function to initialize a grid.

Detailed Description

Show the item.

Definition at line 501 of file generator_private.hpp.


Member Function Documentation

void gui2::policy::select_action::tshow::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. No widgets with id == "" are allowed.
callback The callback function is not used and should be NULL.

Definition at line 669 of file generator.cpp.

void gui2::policy::select_action::tshow::select ( tgrid grid,
const bool  show 
) [inline]

Definition at line 504 of file generator_private.hpp.

References gui2::twidget::HIDDEN, gui2::twidget::set_visible(), and gui2::twidget::VISIBLE.

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