[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk
Subject:    GtkOverlay problem after reparent in to GtkOffscreenWindow
From:       Denis Linvinus <linvinus () gmail ! com>
Date:       2011-11-20 10:15:18
Message-ID: CA+Qxh1bHUDBSqftbxqk_YgPTOEPQwWYpmXxhS6XjWyJsuefcsw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi, all!
I'm use GtkOffscreenWindow as tmp container, while animating window.
This is my object hierarchy:

GtkWindow
----------------GtkVBox - main container
-----------------------------GtkOverlay
--------------------------------------------GtkNotebook as main object in
GtkOverlay
-------------------------------------------------------------VteTerminal
--------------------------------------------GtkButton as overlay object
-----------------------------GtkHbox
...

GtkOffscreenWindow

After reparent GtkVBox in to GtkOffscreenWindow, all widgets working well
(GtkNoteBook/Vte too), except overlay object, button don't drawn after
reparent,
even if reparent back to GtkWindow,
until call

this.main_overlay.hide();
this.main_overlay.unrealize();
this.main_overlay.show();

after that button drawing again.

This is my video with this problem
http://www.youtube.com/watch?v=DIZd7pdIszI

I don't know is it GtkOffscreenWindow problem, or GtkOverlay (but think
that it is GtkOverlay problem)
If i just show/hide GtkWindow, then button drawing without problems.

My system:
Ubuntu 11.10 amd64
libgtk-3-0     3.2.0-0ubuntu3
valac-0.14   0.14.0-0ubuntu1

[Attachment #5 (text/html)]

Hi, all!<br>I&#39;m use GtkOffscreenWindow as tmp container, while animating \
window.<br>This is my object hierarchy:<br><br>GtkWindow<br>----------------GtkVBox - \
                main container<br>-----------------------------GtkOverlay<br>
--------------------------------------------GtkNotebook as main object in \
GtkOverlay<br>-------------------------------------------------------------VteTerminal<br>--------------------------------------------GtkButton \
                as overlay object<br>
-----------------------------GtkHbox<br>...<br><br>GtkOffscreenWindow<br><br>After \
reparent GtkVBox in to GtkOffscreenWindow, all widgets working well (GtkNoteBook/Vte \
too), except overlay object, button don&#39;t drawn after reparent,<br> even if \
reparent back to GtkWindow,<br>until \
call<br><br>this.main_overlay.hide();<br>this.main_overlay.unrealize();<br>this.main_overlay.show();<br><br>after \
that button drawing again.<br><br>This is my video with this problem <a \
href="http://www.youtube.com/watch?v=DIZd7pdIszI">http://www.youtube.com/watch?v=DIZd7pdIszI</a><br>
 <br>I don&#39;t know is it GtkOffscreenWindow problem, or GtkOverlay (but think that \
it is GtkOverlay problem)<br>If i just show/hide GtkWindow, then button drawing \
without problems.<br><br>My system:<br>Ubuntu 11.10 amd64<br> libgtk-3-0         \
3.2.0-0ubuntu3<br>valac-0.14     0.14.0-0ubuntu1<br>



_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic