mailing-list for TeXmacs Users

Text archives Help


[TeXmacs] Problem in extracting popup menu from the QAction


Chronological Thread 
  • From: siva prasad <address@hidden>
  • To: address@hidden, address@hidden, address@hidden
  • Subject: [TeXmacs] Problem in extracting popup menu from the QAction
  • Date: Wed, 25 Nov 2009 11:08:18 +0530
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=KN43w1R46zFuA0cPcN66KW+i+/ZObeevc8bL5OHG+HRMitGa4wIkEIPhfk69nnF60l Is0qHt6//uZ0Aqdq+lwrGAic+XmAobpE67LafJmZqWnXt6kwflGAPbRGYvIBfi+rtjPL ZxWulgAot0ZnWTMSYT1tCcS48L3LeZJdvhb4w=

Hi all,
In TeXmacs, There are some actions which have popup menu. I want the menu associated with that action. I want to have the list of actions in that menu.
I did like this :

Let "action" has some popup menu asociated.

QMenu *menu = action -> menu();
QList<QAction *> list = menu -> actions();

But  " list.count() "  is always returning ZERO ( 0 )  for all actions (those have popup menu also).
I want list of actions present in that popup menu.
How can I do ?
please help me if you know . . .  .

thank you in advance,

siva.
address@hidden


  • [TeXmacs] Problem in extracting popup menu from the QAction, siva prasad, 11/25/2009

Archive powered by MHonArc 2.6.19.

Top of page