ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Adding a new menu in the MenuBar

From: Tony Trinh <tony19@xxxxxxxxx>
Date: Mon, 9 Jul 2012 01:15:05 -0400
On Mon, Jul 9, 2012 at 1:01 AM, Richard Sharpe <realrichardsharpe@xxxxxxxxx> wrote:
Hi folks,

I would like to add a new menu in the Menubar, like "Menubar/Blah" and
place it before help, and after the tools menu (and probably before
Internals).

I would like to do it from Lua.

I think I can see how to do this, but I wonder if anyone else has done
that before?


WSLua does not support adding main menus. Currently, you can only add submenus to existing menus.