Re: window is not shown



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

No display events occur for any widget occur until Gtk::Main::run is
called.  Period.

The reason your window in your example code is ultimately displayed is
because you allow Gtk::Main to run.


/*Bob Caryl*
Fiscal Systems,Inc.
256.772.8920 Ext. 108
http://www.fis-cal.com <http://www.fis-cal.com/>/

/This email message may contain privileged or confidential information.
If you are not the intended recipient, you may not disclose, use,
disseminate, distribute, copy or rely on this message or attachment in
any way. If you received this email message in error, please return by
forwarding the message and its attachment to the sender and then delete
the message and its attachment from your computer.

Neither Fiscal Systems, Inc., nor its affiliates, accept any liability
for any errors, omissions, corruption or virus in the contents of this
message or any attachments that arise as a result of e-mail transmission./



Diether Knof wrote:
> Hello Paul,
> 
>>> when I hide a window and show it again before the main event loop is called, the window is not shown.
>> nothing ever happens "on screen" until the main event loop is running
>> (and actively running).
> 
> But that is the case in my example. If you remove the 'hide'-line, the window is shown.
> 
> 
> Diether
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFE7ykQuCj6XIbb5UIRAkGKAKC+Hv7iJ5J8AT0xYepvxbUY0TFuZwCgwgzZ
4s8TQseezM364c9VpclF0As=
=YPrT
-----END PGP SIGNATURE-----
begin:vcard
fn:Robert Caryl
n:Caryl;Robert
org:Fiscal Systems, Inc.
adr:;;102 Commerce Circle;Madison;AL;35758;USA
email;internet:bob fis-cal com
title:Senior Software Design Engineer
tel;work:356-772-8920 X108
x-mozilla-html:TRUE
url:http://www.fis-cal.com
version:2.1
end:vcard



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]