Connect the signal of each button to the same slot.
On Wednesday, December 5, 2012, Rishis3D wrote: > sorry my mistake > > popup works fine in a single button > > but in my case i have losts of button, and i have add them all in a > QButton Group, > to get buttonclick event from QButton Group > so tat i can use single function for button call back command > > so how do connect customContextMenuRequested .connect function for all my > buttons > > > *self.Button*.**customContextMenuRequested.**connect(self.mymenu) > > instead of self.Button , is there any option to get button information form > QbuttonGrps > > for any other suggestions? > > > > > -- > view archives: http://groups.google.com/group/python_inside_maya > change your subscription settings: > http://groups.google.com/group/python_inside_maya/subscribe > -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe