Ethereal-dev: [Ethereal-dev] Access the main menu / Bring up the RTP dialog box

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Lars Ruoff" <lars.ruoff@xxxxxxxxxxxxxxxxxx>
Date: Wed, 18 Jun 2003 17:08:03 +0200
Hi,

i wish to bring up the "Tools/Statistics/RTP Analysis..." window from within
my own dialog box.
However, the corresponding function is static to tap_rtp, so i cannot call
it directly.
I thought of a way to search the menu item by its name and then somehow
calling its callback function.
However, as i'm new to GTK+, i couldn't figure out how to do it.
Also, i was getting confused with the stuff in menu.c, where the main menu
is created.
I didn't see a way of accessing it outside of menu.c.
Is there a way?
Any ideas on how to do that?