← Back to team overview

elementary-dev-community team mailing list archive

Re: Developing apps with PyGObject and Granite

 

Thanks Erasmo,

I'm using Luna, so LightWindow is already deprecated in Luna?

I change it to light.show() still no change, I change it to Gtk.Dialog
and it works http://i.imgur.com/VuuYSIG.png, is possible to add the
LightWindow look at the Gtk.Dialog?


2014-04-25 10:42 GMT-04:00 Erasmo Marín <erasmo.marin@xxxxxxxxx>:
> 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



-- 
Mario César Señoranis Ayala.


References