Web lists-archives.com

Re: Gtk::Widget::is_mapped ()




On 03/03/2019 11:22, Emmanuele Bassi wrote:
On Sun, 3 Mar 2019 at 11:09, John Emmas <john@xxxxxxxxxxxxxxxxxx> wrote:
Sorry to ask a dumb question...

What does it mean if a widget is "mapped" ?

It means that:

 - the widget is visible
 - the widget is realized
 - all its ancestors up to the top level window are mapped

Thanks Emmanuele - can I just check 'is_visible()'?  Does it mean 'literally visible' or 'capable of being visible'?

For example... let's say the widget is a top-level window.  If it's currently displayed on screen but there's some other window hiding it (maybe from a totally different app) would 'is_visible()' return true or false?

John
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-devel-list