Wireshark-dev: Re: [Wireshark-dev] how to reconstruct the menu
From: "chenyintao" <chenyintao@xxxxxxxxxx>
Date: Mon, 14 Sep 2009 08:53:38 +0800
  Jaap Keuter,thank  you for the advise!^_^
  I knew this method  and I have succeed  in adding a  new menu item    to  the menu“Statistics”。
  But what I need now is adding a new menu to the menubar and   adding some exited menu item such as“Endpoint”、“Io graphs” to the new menu。
 Still thanks very much.I will keep trying。

   祝
工作顺利!
 				
--------------
陈银桃/工业通讯技术部
chenyintao@xxxxxxxxxx
2009-09-14

欢迎光临我们公司的网站,http://www.supcon.com
**********************************************
浙江中控技术股份有限公司/ 研发中心/工业通讯技术部   
电话:0571- 88851888 9258    
传真:0571- 86667250            
邮箱:chenyintao@xxxxxxxxxx  
邮编:310053
地址:杭州市滨江区六和路309号中控科技园A区4楼 
***********************************************
-------------------------------------------------------------
发件人:Jaap Keuter
发送日期:2009-09-11 22:55:50
收件人:Developer support list for Wireshark
抄送:
主题:Re: [Wireshark-dev] how to reconstruct the menu

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
___________________________________________________________________________
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