← Back to team overview

elementary-dev-community team mailing list archive

Re: Developing apps with PyGObject and Granite

 

LightWindow is deprecated, you should use gtkDialog instead. I just saw the
pic, not the code, but try with light.show instead show_all. I have had
problems with show_all with some gtk widgets, no idea why.
El 25/04/2014 10:37, "Mario César" <mariocesar.c50@xxxxxxxxx> escribió:

> Greetings,
>
> I started to develop an app using Python and I want to use Granite
> widgets, the Granite Application class is working but I have problems
> using the LightWindow widget.
>
> My code: https://gist.github.com/mariocesar/11290827
>
> The app_gtk3.py is working, but app_granite.py fails at showing the
> LightWindow Widget.
>
> Look at http://i.imgur.com/Zp9Ncn6.png, the LightWindow shows in Plank
> but nothing is being display.
>
> What I'm missing? How can I get LightWindow to work?
>
> --
> Mario César Señoranis Ayala.
>
> --
> Mailing list: https://launchpad.net/~elementary-dev-community
> Post to     : elementary-dev-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~elementary-dev-community
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References