On Thu, 27 Aug 2015 13:57:08 -0700 (PDT)
john lunzer <lun...@gmail.com> wrote:

> Thanks Terry, I'll check out free_layout in the future but for the
> moment I think this will get me there (I think there will be less 
> redesign/refactoring this way). Thanks for pointing me in the right 
> direction.

Sure - just to be sure we're on the same page, which seems like it
should be a pun in this context but somehow isn't :-)

  c.styleSheetManager.get_master_widget(c.frame.top).styleSheet()

seems like the easiest way.

Cheers -Terry


> On Thursday, August 27, 2015 at 4:40:41 PM UTC-4, Terry Brown wrote:
> >
> > On Thu, 27 Aug 2015 15:38:22 -0500 
> > "'Terry Brown' via leo-editor" <leo-e...@googlegroups.com
> > <javascript:>> wrote: 
> >
> > > c.styleSheetManager.get_master_widget(c.frame.top).styleSheet() 
> >
> > Just for completeness,
> > c.config.getData('qt-gui-plugin-style-sheet') wasn't a bad idea,
> > but it would be something like 
> >
> > c.styleSheetManager.expand_css_constants(c.config.getData('qt-gui-plugin-style-sheet'))
> >  
> > + 
> > c.styleSheetManager.expand_css_constants(c.config.getData('qt-gui-user-style-sheet'))
> >  
> >
> >
> > Definitely better to grab the existing one. 
> >
> > Cheers -Terry 
> >
> 

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to