"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 then use the DateEdit.set_flags() method to turn the time off afterwards. I think the first method is better and I haven't tested the second method, but I think either one should work. _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
