deleting entry from a combo box



hi all,
I have a combo box which i have filled using the function gtk_combo_set_popdown_strings() - passing a 
populated GList to the function.
Now i have to delete an entry in the combo box - how do i get access to the clist now. and how do i delete .

here is the code snippet of how am adding a list to the combo box..

/*wndmain is a pointer to the main window which houses the combo box "cmdAddedApps" */
        GList *lItems = NULL;
        GtkWidget *cmbAddedApps = gtk_object_get_data( GTK_OBJECT( wndmain), "cmbAddedApps");


        for(i=0;i<stGuiConf.app_count;i++)
        {
      
                lItems = g_list_append( lItems, stGuiConf.app[i].app_id.f_name);
      
        }
        if (lItems != NULL)
                gtk_combo_set_popdown_strings( GTK_COMBO( cmbAddedApps), lItems);

 
Any suggestions???
Thank you
-partha

_____________
parthasarathi s a
e-mail: parthasarathi at odysseytec dot com
___________________ 
Live to Win. Dare to Lose.
___________________



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