Hello,
I get my answer : the followning directive gets the list of data displayed
from the combo reference. It is what I'm looking for.
items = self.combo.get_model()
Thank you for all
Marco Antonio Islas Cruz-2 wrote:
>
> The combo is just a Viewer, it never stores data, just shows it. In
Marco Antonio Islas Cruz-2 wrote:
>
> The combo is just a Viewer, it never stores data, just shows it. In
> order to retrieve data you need to use the model (liststore, treestore,
> or another TreeModel kind of object)
>
>
> On Fri, 2007-11-30 at 06:24 -0800, awalter1 wrote:
>> Hi,
>>
>> I h
Marco Antonio Islas Cruz-2 wrote:
>
> The combo is just a Viewer, it never stores data, just shows it. In
> order to retrieve data you need to use the model (liststore, treestore,
> or another TreeModel kind of object)
>
>
> On Fri, 2007-11-30 at 06:24 -0800, awalter1 wrote:
>> Hi,
>>
>> I h
Marco Antonio Islas Cruz-2 wrote:
>
> The combo is just a Viewer, it never stores data, just shows it. In
> order to retrieve data you need to use the model (liststore, treestore,
> or another TreeModel kind of object)
>
>
> On Fri, 2007-11-30 at 06:24 -0800, awalter1 wrote:
>> Hi,
>>
>> I h
I am able to access the data of the model as such
items = self.combo.get_model()
for item in items:
print 'Found Item: ', item[0]
Steve
awalter1 wrote:
Hi,
I have some difficulties to manipulate ListStore. I define a liststore and
associated it to a combobox:
lis
The combo is just a Viewer, it never stores data, just shows it. In
order to retrieve data you need to use the model (liststore, treestore,
or another TreeModel kind of object)
On Fri, 2007-11-30 at 06:24 -0800, awalter1 wrote:
> Hi,
>
> I have some difficulties to manipulate ListStore. I define
Hi,
I have some difficulties to manipulate ListStore. I define a liststore and
associated it to a combobox:
liststore = gtk.ListStore(str)
fieldCombo = gtk.ComboBox(liststore)
liststore.append(['Field'])
for field in l_fields:
liststore.append([field])
fieldCombo.connect('changed', self.C