[pygtk] How to remain visible on to p of fullscreen application?

Tomeu Vizoso tomeu at sugarlabs.org
Wed Jun 30 20:02:14 WST 2010


On Wed, Jun 30, 2010 at 12:03, Francesco Fumanti
<francesco.fumanti at gmx.net> wrote:
> Hi,
>
> Thanks for your reply.
>
> Onboard already users that flag but unfortunately it does not keep it above other applications. However, onscreen keyboard users usually don't have access to a hardware keyboard, it is important for the onscreen keyboard to remain available also when a nother application goes fullscreen.
>
> Does anybody have any idea about how to achieve it?

Maybe you this?

        self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_DOCK)

(In the realize callback)

Regards,

Tomeu

> Best regards,
>
> Francesco.
>
> On 06/29/2010 11:01 AM, Cornelius Kölbel wrote:
>> Hi Francesco,
>>
>> the gtk widget got a "set_keep_above".
>>
>> splash.set_keep_above(True)
>>
>> I am not sure at the moment, if it will also keep it above other
>> applications...
>>
>> Kind regards Cornelius
>>
>>
>> Am 29.06.2010 10:48, schrieb Francesco Fumanti:
>>> Hi,
>>>
>>> Onboard is an onscreen keyboard that is written in python and that
>>> uses gtk. I would like it to remain visible also when there is
>>> another application that goes fullscreen. Could anybody please tell
>>> me whether this is possible and how to do it; or point me to some
>>> documentation about how to achieve it?
>>>
>>> Many thanks in advance,
>>>
>>> Francesco. _______________________________________________ pygtk
>>> mailing list   pygtk at daa.com.au
>>> http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ:
>>> http://faq.pygtk.org/
>>>
>>
>>
>>
>>
>> _______________________________________________ pygtk mailing list
>> pygtk at daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read
>> the PyGTK FAQ: http://faq.pygtk.org/
>
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/


More information about the pygtk mailing list