Re: how to connect Gio::SimpleAction signal
- From: Daniel Boles <dboles src gmail com>
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: how to connect Gio::SimpleAction signal
- Date: Tue, 2 Jan 2018 17:45:19 +0000
> if I append a menu item with label and action the menu item is disabled.
I think that indicates the action you tried to set on the menuitem was not found, so it gets desensitised (normally it'd be sensitised according to whether the action is enabled, but obviously...)
I don't know what "act_group" is, but when I see this problem, it's usually because of not prepending app. or win. to the action name. In some contexts, like this, you need to use the detailed action name, i.e. the prefix of the map (app or win) followed by a period and then the simple action name.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]