ARB
Enumerations | Functions
aw_advice.hxx File Reference
#include "aw_base.hxx"
Include dependency graph for aw_advice.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  AW_Advice_Type {
  AW_ADVICE_SIMPLE = 0, AW_ADVICE_TOGGLE = 1, AW_ADVICE_HELP = 2, AW_ADVICE_HELP_POPUP = 4,
  AW_ADVICE_TOGGLE_AND_HELP = AW_ADVICE_TOGGLE|AW_ADVICE_HELP
}
 define type of AW_advice by or-ing values More...
 

Functions

void init_Advisor (AW_root *awr)
 has to be called one time (before calling AW_advice) More...
 
void AW_advice (const char *message, AW_Advice_Type type=AW_ADVICE_SIMPLE, const char *title=NULp, const char *corresponding_help=NULp)
 Show a message box with an advice for the user. More...
 
void AW_reactivate_all_advices (AW_window *)
 reactivates all advices which were disabled by the user More...
 

Enumeration Type Documentation

define type of AW_advice by or-ing values

Enumerator
AW_ADVICE_SIMPLE 
AW_ADVICE_TOGGLE 
AW_ADVICE_HELP 
AW_ADVICE_HELP_POPUP 
AW_ADVICE_TOGGLE_AND_HELP 

Definition at line 24 of file aw_advice.hxx.

Function Documentation

void init_Advisor ( AW_root awr)

has to be called one time (before calling AW_advice)

Definition at line 41 of file AW_advice.cxx.

References AWAR_ADVICE_TEXT, AWAR_ADVICE_UNDERSTOOD, AW_root::awar_int(), AW_root::awar_string(), and initialized.

Referenced by AWT_create_root().

void AW_advice ( const char message,
AW_Advice_Type  type = AW_ADVICE_SIMPLE,
const char title = NULp,
const char corresponding_help = NULp 
)
void AW_reactivate_all_advices ( AW_window )

reactivates all advices which were disabled by the user

Definition at line 137 of file AW_advice.cxx.

References aw_assert, aw_message(), GBS_global_string(), GBS_string_eval(), get_disabled_advices(), AW_awar::read_string(), and AW_awar::write_string().

Referenced by add_common_property_menu_entries().