Re: [gtkmm] Popup menu
- From: David Vest <davve674 student liu se>
- To: Bassoukos Tassos <abas aix meng auth gr>
- Cc: David Vest <davve674 student liu se>, gtkmm-list gnome org
- Subject: Re: [gtkmm] Popup menu
- Date: Tue, 6 May 2003 08:15:51 +0200
Thank you! Works great!
David
Den 2003.05.06 05:28 skrev Bassoukos Tassos:
David Vest wrote:
Hello all.
Is it possible to create a MenuElement which have a slot with
arguments? I see from
the reference documentation that CallSlot is typedef:ed to a
Slot0<void>. Is there
another way? What I want is to have a dynamic popup-menu that call
the same function with different arguments for each MenuElement a
push into the MenuList.
Thanks in advance.
David
Hello David,
please look at the SigC::bind template function, it can pass default
parameters to a slot. Oh, and don't forget to #include
<sigc++/bind.h> ...
HTH,
Tassos
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]