[pygtk] limit width of gtk.ComboBox

Casey McGinty casey.mcginty at gmail.com
Thu Oct 2 07:20:45 WST 2008


I think this is what you want.

      cell = gtk.CellRendererText()
      cell.props.ellipsize = pango.ELLIPSIZE_END
      ls = gtk.ListStore( object)
      cb = gtk.ComboBox( ls)
      cb.pack_start( cell, True)

- Casey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20081001/b7e82b5a/attachment.htm 


More information about the pygtk mailing list