npp-api v0.1.4-dev (2019-10-09T09:25:27Z)
Home
Dub
Repo
count_all_menu_items
npp_api
pluginfunc
menu
identifierがnullでもカウントする。
version(Windows && Not_betterC)
pure nothrow @
safe
@
nogc
int
count_all_menu_items
(
const
.
menu_item_t
[]
menu_container
)
out (result) { static import npp_api.powereditor.resource; enum int max_count = npp_api.powereditor.resource.ID_PLUGINS_CMD_DYNAMIC_LIMIT - npp_api.powereditor.resource.ID_PLUGINS_CMD_DYNAMIC; assert (result >= 0); assert (max_count >= result); }
Meta
Source
See Implementation
npp_api
pluginfunc
menu
functions
allocate_sub_menu_length
change_check
change_sub_menu_check
count_all_menu_items
count_menu_identifiers
count_sub_menu_identifiers
create_main_menu
create_main_menu_checked
create_main_menu_checked_identifier
create_menu_index
create_menu_index_checked
create_menu_index_checked_identifier
create_sub_menu_actions
disable_check
disable_sub_menu_check
enable_check
enable_sub_menu_check
end_sub_menu_pos
first_sub_menu_pos
init_submenu
is_chid_menu_checked
is_sub_menu_exists
max_identifier_length
same_menu_end_pos
same_menu_start_pos
search_index
search_menu_index
sub_menu_action
sub_menu_length
manifest constants
max_submenu_length
structs
menu_action
menu_item_t
sub_menu_index
variables
default_add_menu
default_submenu
identifierがnullでもカウントする。