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 some features

From: "Abhik Sarkar" <sarkar.abhik@xxxxxxxxx>
Date: Mon, 30 Jun 2008 23:22:29 +0400
Hi,

You might find something of use here :
http://www.wireshark.org/docs/wsdg_html_chunked/ChapterUserInterface.html.
Most (all?) of the GUI code is in the gtk directory. For an example
from the Analyze menu, check out gtk\expert_dlg.c.

HTH
Abhik.

On Mon, Jun 30, 2008 at 5:03 PM, Embiza Tadesse <lahja2000@xxxxxxxxx> wrote:
> Hi all
>
>
>
> I built wireshark from source on my win xp and am trying to add a menu item
> called 'Radius Filter' on the 'Analyze' menu.
>
> I saw the 'gtk\main_menu.c' file and added on the menu_items item factory
> entry  the below code:
>
>   {"/Analyze/radius Filter...",NULL, GTK_MENU_FUNC(radius_cb),0,NULL,NULL},
>
>
>
>
>
> I want to know where my callback function implementation should be and where
> the GUI of the application that comes after clicking the menu item should
> reside
> thanks
>
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@xxxxxxxxxxxxx
> https://wireshark.org/mailman/listinfo/wireshark-dev
>
>