Wireshark-dev: Re: [Wireshark-dev] I want to pop up a window when http dissector dissect some k
From: 刘昆 <[email protected]>
Date: Tue, 14 Dec 2010 15:48:00 +0800
于 2010年12月14日 13:21, Bill Meier 写道:
On 12/13/2010 10:41 PM, 刘昆 wrote:
If I want to pop up a window when http dissector dissect some kind of
payload,where can I write the gtk code ?
As Guy Harris already indicated to you when you asked this question

    "You should solve the problem by not using GUI functions in
     packet-http.c.  Wireshark does not support GUI functions in
     dissectors, and never will."

     "Try to do whatever you're trying to do with a tap, instead.  You
      *can* perform GUI operations in taps."

Why do you want to pop up a window ? What information are you trying to
display ?

Sent via:    Wireshark-dev mailing list<[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
              mailto:[email protected]?subject=unsubscribe
In fact,I just want pop up a window to display some very simple information just like "warning ..............",because I have done some work about analysing the payload of http packets in "packet-http.c"just like who is accessing a certain web site by proxy ,then I need a pop-up GUI window to dispaly some warning and maybe some other widgets just like a button to print and so on.