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] Statistcs windows not destroyed with main window

From: "Anders Broman" <anders.broman@xxxxxxxxxxxx>
Date: Fri, 6 Mar 2009 19:12:55 +0100
Hi,
Tried but I didn't get it to work :-( 

-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Stephen Fisher
Sent: den 6 mars 2009 19:00
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Statistcs windows not destroyed with main
window

On Fri, Mar 06, 2009 at 05:50:28PM +0100, Anders Broman wrote:

> I have noted that many statistics windows does not get destroyed with 
> the main window.  E.g if the main window is destroyed first the 
> statistics window remains.
> How does one connect those windows to the main one?

Try gtk_window_set_destroy_with_parent(GTK_WINDOW(widget), TRUE); where
widget is the GtkWidget* for the child window.


Steve
________________________________________________________________________
___
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