Hi Hans,
On Mar 3, 2008, at 13:12, Hans van Thiel wrote:
>
> On Mon, 2008-03-03 at 09:29 +0000, Gtk2Hs wrote:
>> #1109: toggleActionIsActive in ToggleActionEntry not changed when
>> user checks or
>> unchecks menu item
>> -----------------------------------
>> +----------------------------------------
>> Reporter: guest | Owner: axel
>> Type: defect | Status: new
>> Priority: normal | Milestone:
>> Component: general (Gtk+, Glib) | Version: 0.9.12
>> Resolution: | Keywords: menu,
>> toolbar,ToggleActionEntry
>> -----------------------------------
>> +----------------------------------------
>> Changes (by axel):
>>
>> * owner: somebody => axel
>>
>> Comment:
>>
>> I don't quite understand what you're talking about and where the
>> {{{ToggleActionEntry}}} data structure comes that you define
>> above. Is
>> this in the context of the SOE modules or Glade? This isn't
>> anywhere in
>> the Gtk modules.
> It's defined in Graphics.UI.Gtk.ActionMenuToolbar.ActionGroup in the
> Gtk2Hs documentation. I'm using the FC8 package, but now I forgot
> whether I downloaded the docs from the Gtk2Hs web site or got it from
> the package (I can check if it's important). I believe it's fairly new
> (not in Gtk2Hs 0.9.11) but I'm using it for a GUI menu, which is why I
> reported the problem, as I see it. I've also covered it in my Gtk2Hs
> tutorial using 0.9.12 with FC6. Same with the RadioActionEntry
> (perceived) bug I reported.
Hm, I think Duncan did this bit, although I have added some stuff in
the ActionMenu directory, but it's quite a while ago.
I think the whole purpose of these data types is just to pass them to
the functions. They're just values, so they won't ever change (it's
Haskell after all). So from the bug report, I don't understand what
you expect to happen. The ...IsActive flag just states if the entry
should be activated or deactivated (grey and not editable). It has
nothing to do with the 'activate' signal which is sent every time the
user finishes editing.
Does that make sense? If not, please explain exactly what you
expected to see and what happens in practise.
Cheers,
Axel.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gtk2hs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel