summaryrefslogtreecommitdiff
path: root/gtk/gtkcomboboxtext.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace "gchar" with "char"Benjamin Otte2020-07-251-26/+26
|
* Replace "gint" with "int"Benjamin Otte2020-07-251-7/+7
|
* Add a few missing includesMatthias Clasen2020-06-231-0/+1
| | | | | | | | These sources are using GtkListStore apis, but were replying on indirect includes to get the header. Make this explicit, to prepare for GtkEntryCompletion losing its tree view dependencies.
* Use gtk_combo_box_set_child throughoutMatthias Clasen2020-05-041-1/+1
|
* comboboxtext: Inline functions into return_if_fail()Benjamin Otte2020-02-221-8/+3
|
* Use the new GtkBuildableParser type in GtkBuildable interfacesAlexander Larsson2019-09-101-35/+36
|
* Add nullable annotation to combo_box_text_get_active_textRyan Westlund2019-07-231-1/+1
|
* combo box text: Make finalMatthias Clasen2019-05-261-0/+13
|
* entry, spin button: Drop redundant APIMatthias Clasen2019-02-281-1/+1
| | | | Avoid duplicating GtkEditable APIs. Port existing users.
* The big versioning cleanupMatthias Clasen2018-02-061-22/+0
| | | | | | | Remove all the old 2.x and 3.x version annotations. GTK+ 4 is a new start, and from the perspective of a GTK+ 4 developer all these APIs have been around since the beginning.
* Fix fallout from g_object_ref changeMatthias Clasen2017-12-081-1/+1
| | | | | | g_object_ref now returns the type of the object that was passed. Introduce cast as necessary to avoid warnings due to this.
* combobox: Correct the CSS node docsMatthias Clasen2016-03-021-5/+6
| | | | The box was somehow overlooked in the diagrams.
* combo: Add .linked class when appropriateMatthias Clasen2016-01-151-2/+2
| | | | | Add the .linked style class to combo boxes which have an entry, since that is what they are.
* combobox: Document the popup window CSS nodeMatthias Clasen2016-01-151-1/+2
|
* combo box: Add diagrams to CSS documentationMatthias Clasen2015-11-031-0/+12
|
* GtkComboBoxText: Use the new helpersMatthias Clasen2015-04-271-65/+78
| | | | | Use the new GtkBuilder helpers and g_markup_collect_attributes in all builder subparsers.
* gtk: Don't use GObjectClass.constructorJasper St. Pierre2014-06-261-10/+4
| | | | Use the newer constructed instead, which has a fast path in GObject.
* docs: use Returns: consistentlyWilliam Jon McCann2014-02-191-2/+2
| | | | Instead of Return value:
* Docs: Remove all entities and turn off sgml modeMatthias Clasen2014-02-091-8/+7
| | | | | With all element markup gone, it is time to turn off sgml mode, and get rid of entities as well.
* docs: use proper quotations instead of '*'William Jon McCann2014-02-071-1/+1
|
* docs: use proper quotesWilliam Jon McCann2014-02-051-3/+3
|
* docs: Use "#" for refsect2 instead of ##William Jon McCann2014-02-041-1/+1
|
* docs: Convert to markdownMatthias Clasen2014-02-021-8/+3
| | | | Specifically, switch to using markdown syntax for sections.
* docs: use |[ ]| instead of <programlisting></programlisting>William Jon McCann2014-01-291-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=723119
* Fix string allocation handling with GtkBuilder translationsKalev Lember2013-06-081-2/+1
| | | | | | | | | | | | | Use g_string_assign to avoid issues with assigning GString's internal buffer back to the same string. This can happen when no translations are available and _gtk_builder_parser_translate returns back the same pointer that was passed in. This fixes a regression from commit e9f182e37a7f6e2dc339054841a3c9f930f that caused GtkComboBoxText <items> from GtkBuilder to show up empty if no translations are available. https://bugzilla.gnome.org/show_bug.cgi?id=700629
* GtkComboBoxText: Improved GtkBuildable documentation.Tristan Van Berkom2013-05-121-8/+5
| | | | | | | | Also removed a bogus FIXME comment which might have been true a long time ago. Clarification: the "domain" attribute specified in the builder script overrides any domain previously set with gtk_builder_set_translation_domain(), so the translation of items here is perfectly correct and does not need to be fixed.
* Fix a few memory leaks wrt to translationsMatthias Clasen2013-04-281-1/+1
| | | | | | | Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=699016 The fix here is slightly different. We make _gtk_builder_parser_translate return a const char * instead of a dup'ed string, and fix up the callers.
* Add missing annotation for gtk_combo_box_text_get_active_text()Tristan Brindle2013-01-041-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=688140
* Documentation: Correct references to properties.Murray Cumming2012-02-151-1/+1
| | | | | | | | These should use :, not ::, though signals would use ::. See http://developer.gnome.org/gtk-doc-manual/unstable/documenting_syntax.html.en and http://developer.gnome.org/gtk-doc-manual/unstable/documenting_symbols.html.en
* GtkComboBoxText: allow id='' tag in builder markupRyan Lortie2012-01-041-1/+6
| | | | | | | | | | | | | | | | | Presently, GtkComboBoxText lets you list the items for it in the GtkBuilder markup like so: <items> <item translatable='yes'>Red</item> <item translatable='yes'>Blue</item> </items> but has no way to set the "id" column for added items. Add an id='' tag for that purpose so that you can do: <item id='red' translatable='yes'>Red</item> https://bugzilla.gnome.org/show_bug.cgi?id=667319
* comboboxtext: Set entry-text-column and id-column props in the constructorKjell Ahlstedt2011-12-301-7/+10
| | | | | This is cleaner than setting the value in the _new() functions and makes binding and GtkBuilder instantiation easier. Bug #612396, comment 65.
* Fix incomplete &gt; entities in docs.Laszlo Pandy2011-08-131-2/+2
|
* Make gtk_combo_box_text_get_active_text() behave as documentedMatthias Clasen2011-02-191-6/+14
| | | | | | If there is an entry, it is supposed to return the contents of the entry. Pointed out by Allin Cottrell, https://bugzilla.gnome.org/show_bug.cgi?id=642681
* Add some missing symbols to the docsMatthias Clasen2011-02-081-4/+5
|
* Changed GtkComboBoxText <items> builder parser to use g_string_append_len().Tristan Van Berkom2011-01-261-7/+2
|
* Fix GtkComboBoxText GtkBuildable <items> parsing to handle incomming text ↵Tristan Van Berkom2011-01-261-22/+26
| | | | accumulatively
* More doc build fixesMatthias Clasen2011-01-101-1/+2
| | | | | Grr, our mixture of xml and plain text in long descriptions is a mess.
* Added GtkBuildable support for specifying <items> in GtkComboBoxText.Tristan Van Berkom2011-01-101-6/+226
|
* Documentation fixesMatthias Clasen2011-01-061-2/+3
|
* GtkComboBox(Text): Add documentation about the entryMilan Bouchet-Valat2011-01-041-2/+8
|
* [GtkComboBoxText] Add checks for id-column/entry-text-column >= 0Milan Bouchet-Valat2010-12-111-0/+3
| | | | | | | | | If the GtkComboBoxText doesn't have id-column or entry-text-column set for some reason (value -1), better warn and return. Else, unrelated assertions fail, and warnings from gtk_tree_model_get_column_type() are printed, which are not really obvious. https://bugzilla.gnome.org/show_bug.cgi?id=637018
* Bug 619148 - "active ID" properties (GtkComboBox)Ryan Lortie2010-11-301-4/+97
| | | | | | | Based on a patch by Matthias, add an "active-id" property for GtkComboBox and add some convenience API for GtkComboBoxText. Also, add a test case to gtk-demo.
* gtkcomboboxtext: remove unused variableXan Lopez2010-10-261-1/+0
|
* Revert the id-column patchMatthias Clasen2010-10-231-32/+2
| | | | | It didn't quite turn out as I wanted it. I'll put it in bug 619148 for now.
* docs: GtkComboBoxText: more fixesJavier Jardón2010-10-231-2/+2
|
* docs: Some fixes in GtkComboboxText notationsJavier Jardón2010-10-231-3/+3
|
* Add a way to associate numeric ids with combobox valuesMatthias Clasen2010-10-231-41/+42
| | | | | This will let us use combo boxes as property editors for GSettings enmerations easily.
* comboboxtext: Add gtk_combo_box_text_remove_all()Christian Dywan2010-10-211-0/+19
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=324899
* Don't add a second cell rendererMatthias Clasen2010-10-181-9/+30
| | | | | | | When has-entry is TRUE, GtkComboBox already adds a cell renderer for the text column, so avoid adding a second one in GtkComboBoxText. https://bugzilla.gnome.org/show_bug.cgi?id=632381
* Fix some GtkComboBoxText problemsMatthias Clasen2010-10-161-1/+3
| | | | We must use entry-text-column explicitly to 0, since it defaults to -1.