Re: Gray out a menu item Edit/copy etc



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]