[Fwd: [Gtk-sharp-list] ComboBox AppendText and Active]

Mike Kestner mkestner at novell.com
Tue Jun 28 12:37:31 EDT 2005


On Mon, 2005-06-27 at 20:45 -0400, Daniel Morgan wrote:
> Hmmm... There is no ActiveText property for me in gtk# 1.9.5 I'm using.
> Am I using something wrong here?

Oops, looks like it's 2.6 API.  It's there in 2.5.x.

> I had to create a class with static methods to do what I wanted.   I 
> would subclass, but I could not figure how how to get a subclassed 
> instance using Combo.NewText.

I added a ctor to trunk for ComboBox and ComboBoxEntry that takes a
string[] parameter and creates the combo with a populated dropdown list.
You can override that constructor for a "text" combo now.

-- 
Mike Kestner <mkestner at novell.com>



More information about the Gtk-sharp-list mailing list