[Glade-users] Comboboxtext in Glade3
- From: balakkvj at dcs.shef.ac.uk (BalaKrishna Kolluru)
- Subject: [Glade-users] Comboboxtext in Glade3
- Date: Tue, 19 May 2009 19:29:38 +0100
2009/5/19 Tristan Van Berkom <tristan.van.berkom at gmail.com>
Well, really there is no GtkComboBoxText, its just a convenience
api in GtkComboBox that you can use... it basically just assumes
a liststore with a single column of type G_TYPE_STRING and
then the set_text append_text and all just go through the liststore
api.
There doesnt seem to be a point to making a builder construct
that gives you a combobox as combobox_text(), since Glade should
be able set it up in a way that you should only need to access the
combo boxes liststore.
Fair enough.
I think that Glade should by default create comboboxes with a new
liststore with 1 string column and one text cell renderer then let the user
build on that, would you agree this would make things less confusing ?
It does keep things simple. You know glade is such an integral part of gtk,
I assumed that all gtk functions/templates are accessible from glade.
As I could find GtkComboboxText in GTK and not in Glade, my query was just
to make sure if I am missing some link between the two.
Cheers,
-Tristan
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20090519/035fe504/attachment.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]