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] how to reconstruct the menu

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Fri, 11 Sep 2009 16:51:03 +0200
Hi,

How about this section of the user guide?
http://www.wireshark.org/docs/wsug_html_chunked/wslua_tap_example.html
Shows you menu access through Lua.

Thanx,
Jaap

On Fri, 11 Sep 2009 10:22:38 +0800, "chenyintao" <chenyintao@xxxxxxxxxx>
wrote:
> Dear developer of wireshark
>      I was a user of wireshark,and still is,of course 。Recently my boss
>      ask me to add some functions to wireshark,such  as our own protocol
>      dissection,our own data lost rate statistics and so on。Still we
want
>      to add all the menu items we will use to one menu 。
>      I have used  lua scritp to carry out the dissection and the lost
data
>      count ,but I do not know how to reconstruct the menu using lua,so I
>      decided to
> download the source code and tried to modify the code。
>     I am a freshman in program development,so the task is really a
>     difficult for me。I originally intended to rename the
menu“statistics”
>     with “test” just for testing,by modifying the “GtkItemFactoryEntry
>     menu_items[]” in the souce file menu.c and orther places quoting the
>     string "statistics" in the libui.vcproj and rebuild the project,but
it
>     didn't work。
>    Is not the menu name decided by the GtkItemFactoryEntry menu_items[] 
>    in the souce file menu.c ?What should I do?Or What documents  should
I
>    read?
>    Hope for your help!Thank you very much!O(∩_∩)O
>    PS:I seldom write English letters,so there may be many
mistakes,forgive
>    me。
> --------------
> 陈银桃/工业通讯技术部
> chenyintao@xxxxxxxxxx
> 2009-09-11
> 
> 欢迎光临我们公司的网站,http://www.supcon.com
> **********************************************
> 浙江中控技术股份有限公司/ 研发中心/工业通讯技术部      
> 电话:0571- 88851888  9258   
> 传真:0571- 86667250            
> 邮箱:chenyintao@xxxxxxxxxx  
> 邮编:310053
> 地址:杭州市滨江区六和路309号中控科技园A区4楼 
> ***********************************************
>
___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>             
mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe