Re: Evolving ComboBox API



Owen Taylor <otaylor redhat com> writes:

> I wonder if we should add:
> 
>  GtkEntry *egg_combo_box_entry_get_entry(EggComboBoxEntry *combo_box_entry);
> 
> to keep from having to continually point people to gtk_bin_get_child().

Nooooooo.....

Lets add a comment in the header.  An example in the docs.  Anything at
all but this method.

Though, come to think of it, given that there are no methods on
GtkComboBoxEntry, what is the difference going to be between it and:

combo = gtk_combo_box_new ();
gtk_container_add (GTK_CONTAINER (combo), gtk_entry_new ());

...other than it's a registered GType yadda yadda...

Thanks,
-Jonathan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]