Shows the menu. Any `kwargs` supplied will be passed to
        `show_menu()`.
489063
def show(self, **kwargs):
        """"""
        show_kwargs = copy.deepcopy(self._show_kwargs)
        show_kwargs.update(kwargs)
        return show_menu(self.entries, **show_kwargs)
761283
def show_shortcuts(self, menu):
        """"""
        for element in getattr(self, menu + '_menu_actions'):
            if element and isinstance(element, QAction):
                if element._shown_shortcut is not None:
                    element.setShortcut(element._shown_shortcut)
653721
def showDescription( self ):
        
        plugin = self.currentPlugin()
        if ( not plugin ):
            self.uiDescriptionTXT.setText('')
        else:
            self.uiDescriptionTXT.setText(plugin.description())
1174368
function () {
        var self = this;

        if (self.menu) {
          self.menu.items().each(function (item) {
            if (item.hideMenu) {
              item.hideMenu();
            }
          });

          self.menu.hide();
        }
      }
492316
def show_actions
      return if @actions.empty?
      list = @actions
      menu = PromptMenu.new self do |m|
      list.each { |e| 
        m.add *e
      }
      end
      menu.display_new :title => 'Widget Menu (Press letter)'
    end
712474
def _show_context_menu(self, point):
        
        tc = self.textCursor()
        nc = self.cursorForPosition(point)
        if not nc.position() in range(tc.selectionStart(), tc.selectionEnd()):
            self.setTextCursor(nc)
        self._mnu = self.get_context_menu()
        if len(self._mnu.actions()) > 1 and self.show_context_menu:
            self._mnu.popup(self.mapToGlobal(point))
980970
def show(self, **kwargs):
        
        kwargs.setdefault('show', True)
        kwargs.setdefault('save', False)
        kwargs.setdefault('animate', False)
        return self._show_or_save(**kwargs)
66855
def init_menu():
    """"""
    # Register settings menu
    item = current_menu.submenu('settings.admin')
    item.register(
        "admin.index",
        # NOTE: Menu item text (icon replaced by a cogs icon).
        _('%(icon)s Administration', icon='<i class="fa fa-cogs fa-fw"></i>'),
        visible_when=_has_admin_access,
        order=100)
158236
def add_menu(self, name):
        
        if name in self._menus:
            raise exceptions.MenuAlreadyExists("Menu name {!r} already exists.".format(name))
        menu = self._menu.addMenu(name)
        self._menus[name] = menu
539754
def show(self):
        
        self.show_info()
        self.show_notes()
        if self.code != None:
            self.each_params_by_register(self.code.get_registers_size(),
                                         self.get_descriptor())
            self.code.show(self.CM.get_vmanalysis().get_method(self))
            self.show_xref(self.CM.get_vmanalysis().get_method_analysis(self))
677178
def showPanelMenu(self, panel, point=None):
        
        if not self._panelMenu:
            self._panelMenu = XViewPanelMenu(self)
        
        if point is None:
            point = QtGui.QCursor.pos()
        
        self._panelMenu.setCurrentPanel(panel)
        self._panelMenu.exec_(point)
728228
def menu(menu_config=None, **kwargs):
    
    request = kwargs.pop("request", None)
    user = kwargs.pop("user", None)
    url_full_name = ":".join(
        [request.resolver_match.namespace, request.resolver_match.url_name]
    )

    if not menu_config:
        menu_config = settings.ARCTIC_MENU

    menu_dict = OrderedDict()
    for menu_entry in menu_config:
        if type(menu_entry) in (list, tuple):

            # check permission based on named_url
            path = None
            if menu_entry[1]:
                if not view_from_url(menu_entry[1]).has_permission(user):
                    continue

                path = reverse(menu_entry[1])
            # icons and collapse are optional
            icon = None
            if (len(menu_entry) >= 3) and (
                not type(menu_entry[2]) in (list, tuple)
            ):
                icon = menu_entry[2]
            active_weight = len(path) if path else 0
            menu_dict[menu_entry[0]] = {
                "url": menu_entry[1],
                "icon": icon,
                "submenu": None,
                "active": is_active(menu_entry, url_full_name),
                "active_weight": active_weight,
            }

            # check if the last item in a menu entry is a submenu
            submenu = _get_submenu(menu_entry)
            if submenu:
                menu_dict[menu_entry[0]]["submenu"] = menu(
                    submenu, user=user, request=request
                )
    return menu_clean(menu_dict)
1350426
def showHeaderMenu( self, pos):
        
        header = self.header()
        index  = header.logicalIndexAt(pos)
        self._headerIndex = index
        
        # show a pre-set menu
        if self._headerMenu:
            menu = self._headerMenu
        else:
            menu = self.createHeaderMenu(index)
        
        # determine the point to show the menu from
        if pos is not None:
            point = header.mapToGlobal(pos)
        else:
            point = QtGui.QCursor.pos()
        
        self.headerMenuAboutToShow.emit(menu, index)
        menu.exec_(point)
830456
public void showSlideMenu() {
        synchronized (this) {
            if (!this.menuShown.getAndSet(true)) {
                final SlideMenuModel smm = getModel(Key.create(SlideMenuModel.class, this.selectedSlide));

                StackPane.setAlignment(smm.node(), Pos.CENTER);
                view().node().getChildren().add(smm.node());

                smm.node().parentProperty().addListener((observable, oldValue, newValue) -> {
                    if (newValue == null) {
                        this.menuShown.set(false);
                    }
                });
            }
        }
    }
943821
private void showSystemMenu() {
        Insets insets = frame.getInsets();

        if (!frame.isIcon()) {
            systemPopupMenu.show(frame, insets.left, getY() + getHeight());
        } else {
            systemPopupMenu.show(menuButton, getX() - insets.left - insets.right,
                                 getY() - systemPopupMenu.getPreferredSize().height - insets.bottom - insets.top);
        }
    }
1231246
def show(self):
        
        top = self.get_top_widget()
        if isinstance(top, (list, tuple)):
            for t in top:
                if t is not None:
                    t.show()
        elif top is not None:
            top.show_all()
501673
def show_help(self):
        
        self.s.move(1,0)
        self.s.clrtobot()
        self.set_header('Help'.center(self.pad_w))
        self.set_footer(' ESC or \'q\' to return to main menu')
        self.s.refresh()
        self.current_pad = 'help'
        self.refresh_current_pad()