Re: Combo box investigation + proposed new API
- From: Eric Lemings <eric b lemings lmco com>
- To: Havoc Pennington <hp redhat com>
- Cc: kristian planet nl, GTK Development list <gtk-devel-list gnome org>
- Subject: Re: Combo box investigation + proposed new API
- Date: Thu, 05 Oct 2000 16:40:02 -0600
Havoc Pennington wrote:
>
> Kristian Rietveld <kristian planet nl> writes:
> >
> > For the function which will get all the strings from the popdown I
> > propose:
> >
> > const gchar **gtk_combo_box_text_get_strings ( GtkComboBoxText *cboxtext
> > );
>
> I would instead return an allocated copy of the array, or an allocated
> list. If you do const gchar** you're locked into an implementation
> that stores the strings as an array.
How's that such a bad thing?
Eric.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]