Re: Gray out a menu item Edit/copy etc
- From: Stefan Salewski <mail ssalewski de>
- To: Ian Chapman <ichapman videotron ca>, gtk-list <gtk-list gnome org>
- Subject: Re: Gray out a menu item Edit/copy etc
- Date: Fri, 07 Apr 2017 09:25:43 +0200
On Thu, 2017-04-06 at 19:52 -0400, Ian Chapman wrote:
Now I need to turn it on/off so that I can use/disable it.
For GTK3 we have
https://developer.gnome.org/gtk3/stable/GtkWidget.html#gtk-widget-set-sensitive
So there should be a similar function available for your programming
language.
Of course you need a reference to your menu item to pass to that
function. Is that your real problem, the missing reference because your
use of glade?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]