|
interface_region_*.cc sources.
|
| bool | blender::ui::button_menu_step_poll (const Button *but) |
| int | blender::ui::button_menu_step (Button *but, int direction) |
| Button * | blender::ui::popup_menu_memory_get (Block *block) |
| void | blender::ui::popup_menu_memory_set (Block *block, Button *but) |
| PopupBlockHandle * | blender::ui::popup_menu_create (bContext *C, ARegion *butregion, Button *but, MenuCreateFunc menu_func, void *arg, bool can_refresh) |
Support menu-memory, a feature that positions the cursor over the previously used menu item.
- Note
- This is stored for each unique menu title.
|
| static uint | blender::ui::popup_string_hash (const StringRef str, const bool use_sep) |
| uint | blender::ui::popup_menu_hash (const StringRef str) |
| static Button * | blender::ui::popup_menu_memory__internal (Block *block, Button *but) |
| static void | blender::ui::popup_menu_create_block (bContext *C, PopupMenu *pup, const StringRef title, const StringRef block_name) |
| static Block * | blender::ui::block_func_POPUP (bContext *C, PopupBlockHandle *handle, void *arg_pup) |
| static void | blender::ui::block_free_func_POPUP (void *arg_pup) |
| static PopupBlockHandle * | blender::ui::popup_menu_create_impl (bContext *C, ARegion *butregion, Button *but, const char *title, std::function< void(bContext *, Layout *)> menu_func, const bool can_refresh) |
| static void | blender::ui::create_title_button (Layout &layout, const char *title, int icon) |
| PopupMenu * | blender::ui::popup_menu_begin_ex (bContext *C, const char *title, const char *block_name, int icon) ATTR_NONNULL() |
| PopupMenu * | blender::ui::popup_menu_begin (bContext *C, const char *title, int icon) ATTR_NONNULL() |
| void | blender::ui::popup_menu_but_set (PopupMenu *pup, ARegion *butregion, Button *but) |
| void | blender::ui::popup_menu_end (bContext *C, PopupMenu *pup) |
| bool | blender::ui::popup_menu_end_or_cancel (bContext *C, PopupMenu *pup) |
| Layout * | blender::ui::popup_menu_layout (PopupMenu *pup) |
| void | blender::ui::popup_menu_reports (bContext *C, ReportList *reports) ATTR_NONNULL() |
| static void | blender::ui::popup_menu_create_from_menutype (bContext *C, MenuType *mt, const char *title, const int icon) |
| wmOperatorStatus | blender::ui::popup_menu_invoke (bContext *C, const char *idname, ReportList *reports) ATTR_NONNULL(1 |
| void | blender::ui::popup_block_invoke_ex (bContext *C, BlockCreateFunc func, void *arg, FreeArgFunc arg_free, bool can_refresh, StructRNA *srna_owner=nullptr) |
| void | blender::ui::popup_block_invoke (bContext *C, BlockCreateFunc func, void *arg, FreeArgFunc arg_free, StructRNA *srna_owner=nullptr) |
| void | blender::ui::popup_block_ex (bContext *C, BlockCreateFunc func, BlockHandleFunc popup_func, BlockCancelFunc cancel_func, void *arg, wmOperator *op) |
| static void | blender::ui::popup_block_template_close_cb (bContext *C, void *arg1, void *) |
| bool | blender::ui::popup_block_template_confirm_is_supported (const Block *block) |
| void | blender::ui::popup_block_template_confirm (Block *block, bool cancel_default, FunctionRef< Button *()> confirm_fn, FunctionRef< Button *()> cancel_fn) |
| void | blender::ui::popup_block_template_confirm_op (Layout *layout, wmOperatorType *ot, std::optional< StringRef > confirm_text, std::optional< StringRef > cancel_text, const int icon, bool cancel_default, PointerRNA *r_ptr) |
| void | blender::ui::popup_block_close (bContext *C, wmWindow *win, Block *block) |
| bool | blender::ui::popup_block_name_exists (const bScreen *screen, StringRef name) |
| bool | blender::ui::popup_region_from_operator (const bScreen *screen, const ARegion *region) |
| wmOperatorStatus void | blender::ui::popup_menu_close (const Block *block, bool is_cancel=false) |
| void | blender::ui::popup_menu_close_from_but (const Button *but, bool is_cancel=false) |
PopUp Menu Region
Definition in file interface_region_menu_popup.cc.