Re: How to get a widget from a dialog widget
- From: Olivier Sessink <lists olivier pk wau nl>
- To: suganya dgbmicro com
- Cc: gtk-app-devel-list gnome org
- Subject: Re: How to get a widget from a dialog widget
- Date: Wed, 02 Nov 2005 14:41:41 +0100
suganya dgbmicro com wrote:
Hi all,
In function 1, I have created a a dialog widget which has 5 check buttons
and I am check marking first 2 check buttons.
The dialog widget is being passed as an argument for this function 2. How
will I see which check buttons are checked and which are not.
what I normally do, is to create a struct which holds a pointer to all
relevant widgets, and pass that as 'data' argument to the callbacks.
but don't forget to free the struct after you destroy the dialog.
regards,
Olivier Sessink
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]