|
ARB
|
#include "aw_base.hxx"

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... | |
| enum AW_Advice_Type |
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.
| 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 |
||
| ) |
Show a message box with an advice for the user.
| message | the text shown to the user |
| title | window title |
| type | type of advice |
| corresponding_help | name of corresponding ARB-helpfile |
Definition at line 160 of file AW_advice.cxx.
References advice_close_cb(), advice_currently_shown(), advice_disabled(), advice_hide_and_close_cb(), AW_ADVICE_HELP, AW_ADVICE_HELP_POPUP, AW_ADVICE_TOGGLE, aw_assert, AW_help_popup(), AW_root::awar(), AWAR_ADVICE_TEXT, AWAR_ADVICE_UNDERSTOOD, GB_checksum(), GBS_global_string(), GBS_global_string_copy(), initialized, makeHelpCallback(), NULp, toggle_advice_shown(), AW_awar::write_int(), and AW_awar::write_string().
Referenced by addid_changed_cb(), advice_close_cb(), aw_question(), color_group_name_changed_cb(), QUERY::copy_selection_list_2_query_box(), ArbImporter::detect_format(), ED4_Edit_String::edit(), NT_move_boot_branch(), popup_new_main_window(), QUERY::search_duplicated_field_content(), and warn_compression_type().
| 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().
1.8.8