Re: [gtkmm] signal_toggled only on "on"



On Wed, Apr 09, 2003 at 09:59:11AM -0700, Ann Smith wrote:
> Hi,
> I have a list of radio menu items.
> If item1 is selected, then I select item2
> I only want to receive one signle signal_toggled event
> for item 2, I do not want to receive first the item1
> toggled (off), then item2 toggled (on).  I only want
> to receive the "on" toggles.  Is this possible?

Don't know, but why don't you just ignore the off signals in your callback?
Check if (radio->get_active()) or something.

-- 
--Kjell



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]