Re: strange problem with radiomenuitem
- From: Olivier Sessink <lists olivier pk wau nl>
- To: gtk-app-devel-list gnome org
- Subject: Re: strange problem with radiomenuitem
- Date: Thu, 27 Oct 2005 15:49:21 +0200
Alexander Nagel wrote:
1. During compilation i get a warning about
'cast to pointer from integer of different size'
for the g_signal_connect line. How can i avoid this?
use the GINT_TO_POINTER() macro
2. It is normal that the callback is called twice?
For example if group 3 is marked and i change to 5 i get
Gruppe 3
Gruppe 5
then marking group 9
Gruppe 5
Gruppe 9
Is that normal?
you get both a callback when a toggle is unset, and when it is set. So
if you add a `if (toggle->active) ` statement in your callback you only
handle the one that bcomes active.
regards,
Olivier
(b.t.w. which programming language is this?)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]