{"id":1069,"date":"2005-07-10T14:19:47","date_gmt":"2005-07-10T18:19:47","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/2005\/07\/10\/making-gear-pop-up-menus\/"},"modified":"2005-07-10T14:19:47","modified_gmt":"2005-07-10T18:19:47","slug":"making-gear-pop-up-menus","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2005\/07\/10\/making-gear-pop-up-menus\/","title":{"rendered":"Making Gear Pop-up Menus"},"content":{"rendered":"<p>\r\n<a href=\"http:\/\/blogs.borland.com\/corbindunn\/archive\/2005\/01\/14\/2427.aspx\">New<\/a> Apple engineer Corbin Dunn <a href=\"http:\/\/www.corbinstreehouse.com\/blog\/archives\/2005\/07\/adding_a_popup.html\">posted a tip<\/a> for how to create pop-up menus that emanate from the &ldquo;action&rdquo; button, as seen in the Finder and Mail. However, it looks to me like his method will cause the menu to pop-up on mouse-up rather than mouse-down. So, when I add an action button to my app, I&rsquo;ll probably use a subclass so that the button can respond to the mouse click earlier.\r\n<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>New Apple engineer Corbin Dunn posted a tip for how to create pop-up menus that emanate from the &ldquo;action&rdquo; button, as seen in the Finder and Mail. However, it looks to me like his method will cause the menu to pop-up on mouse-up rather than mouse-down. So, when I add an action button to my [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1069","post","type-post","status-publish","format-standard","hentry","category-programming-category"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/1069","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=1069"}],"version-history":[{"count":0,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/1069\/revisions"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=1069"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=1069"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=1069"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}