hamburger toolbar button to open mainmenu

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
John Peterson
Posts: 14
Joined: 02 Mar 2012 13:27

hamburger toolbar button to open mainmenu

Post by John Peterson »

create a hamburger toolbar icon that display the main menu as a dropdown menu

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: hamburger icon

Post by bdeshi »

I have that. Create a CTB with this snippet. [HowTo]

Code: Select all

Snip: CTB 1
  
Action
  NewUserButton
Name
  MiniBar
Icon
  <get alias resources>\graphics\gentleface\align_just.ico
ScriptL
  popupmainmenu;
ScriptR
  popupmainmenu "window";
FireClick
  0
And the referenced icon is from this free set: http://www.gentleface.com/free_icon_set.html

Remember to adjust path to button's icon.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

kunkel321
Posts: 645
Joined: 10 Jun 2012 03:45
Location: Near Seattle

Re: hamburger toolbar button to open mainmenu

Post by kunkel321 »

Can we all agree that this is the most important project that has ever been conceived on this, or any, internet forum. Please find attached zip with alternate hamburger icons.
Image
Hamburgers.zip
(111.31 KiB) Downloaded 84 times
I got these straight off of Google Images... Hopefully nobody's got a beef with that.
ste(phen|ve) kunkel

Post Reply