12 Jul
2016
12 Jul
'16
9:21 a.m.
On Mon, 2016-07-11 at 16:28 +0530, Kamalpreet Grewal wrote:
Hi
As double clicking any selector should open up the CSS dialog, I am trying to open CSS dialog in the _buttonEventsSelectObjs for GDK_2BUTTON_PRESS.
I have registered the CSS dialog correctly. Calling the constructor of CSS dialog does not open it. Therefore, I am calling it as:
_desktop->_dlg_mgr->showDialog("CssDialog"); // dialog opens
Looks like verb associated with the dialog has to be used so that it shows up on double click. If this is the only case, how can I pass the data (CSS properties) between Style Dialog and CSS Dialog?
Perhaps the model is wrong. The CSS dialog needs to know which selector is active. This points to making the CSS dialog part of the Style dialog.
Tav