On Sun, Sep 28, 2003 at 10:46:43PM -0500, Doug Quale wrote: > "Fernando San Martin W." <[EMAIL PROTECTED]> writes: > > > i'm trying to show a dateedit widget without time using this: > > > > gnome.ui.DateEdit(mktime(t), gtk.FALSE, gtk.TRUE) > > > > but doesn't works, the widget show de time section anyway > > > > some tips?, what's wrong? > > This is just a guess, but it seems that gnome.ui.DateEdit turns the > time widget off by making it invisible (gtkWidget.hide()). If you > subsequently show_all() the parent window, that will turn the hidden > time widget back on. See if you can use show() on the parent window > instead. As an alternative, you could do the show_all() first and
Note that this same problem occurs with GtkToolBar: button text/icons are hidden using a plain hide(), and a show_all() will bring everything up. I've added FAQ 23.14: http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq23.014.htp Take care, -- Christian Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331 _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
