custom accel_key for a menu item
- From: gallows <g4ll0ws gmail com>
- To: gtkmm-list gnome org
- Subject: custom accel_key for a menu item
- Date: Thu, 05 Apr 2007 16:35:41 +0200
Hi!
I've a Gtk::MenuItem, how can I apply to it a custom accelerator key?
I've tried this:
menu_item.set_accel_key(Gtk::AccelKey('z', Gdk::CONTROL_MASK));
But set_accel_key() is protected!
What is the right way to do this?
Thanks,
s.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]