[Gtk-sharp-list] GTK Window Events

Christopher David Howie me at chrishowie.com
Sat Aug 7 19:38:48 EDT 2010


On 08/06/2010 06:24 PM, jtemple wrote:
> I'm also not seeing where MonoDevelop is adding the code to fire the event. 
> I just used the GUI to generate the form and the code posted here.  I'm
> missing something, aren't I?  :)

If you connected the signal in the MD designer, it is adding the event
binding in the hidden partial class generated by the designer.

The issue I see is that you are not calling .Show() on the two widgets
you add to the notebook.  Note that widgets in GTK+ are hidden by
default.  If a notebook page's content widget is hidden then the tab is
not shown.

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers

If you correspond with me on a regular basis, please read this document:
http://www.chrishowie.com/email-preferences/

PGP fingerprint: 2B7A B280 8B12 21CC 260A DF65 6FCE 505A CF83 38F5

------------------------------------------------------------------------
                    IMPORTANT INFORMATION/DISCLAIMER

This document should be read only by those persons to whom it is
addressed.  If you have received this message it was obviously addressed
to you and therefore you can read it.

Additionally, by sending an email to ANY of my addresses or to ANY
mailing lists to which I am subscribed, whether intentionally or
accidentally, you are agreeing that I am "the intended recipient," and
that I may do whatever I wish with the contents of any message received
from you, unless a pre-existing agreement prohibits me from so doing.

This overrides any disclaimer or statement of confidentiality that may
be included on your message.


More information about the Gtk-sharp-list mailing list