gtk-- menufactory callbacks
- From: Marsel Osipov <virtuoso jps net>
- To: Gtk+ mailing list <gtk-list redhat com>
- Subject: gtk-- menufactory callbacks
- Date: Thu, 01 Oct 1998 12:49:53 -0700
Hello.
I was wondering if it is possible to connect the menu_entries to
callbacks which are located in some other classes.
for example
void MyClass::set_up_menus()
{
menufactory->add_entry("<Main>/File/Load", "L",
MenuFactoryConnector<MyClass, ignored>(this, &MyOtherClass::callback));?
also, if I specify "Ctrl+L" as the accelerator for the Load menu, and
"Ctrl+S" for save, and "Ctrl+Q" for quit, when the program is run, I get
"C" as the accelerator for the Quit. Is that a bug or am I doing
something wrong?
Thank you
Marsel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]