After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 634344 - GtkCellRendererText accessors
GtkCellRendererText accessors
Status: RESOLVED NOTABUG
Product: gtk+
Classification: Platform
Component: Widget: Other
2.23.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks: 597610
 
 
Reported: 2010-11-08 18:38 UTC by Morten Welinder
Modified: 2011-02-04 16:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Morten Welinder 2010-11-08 18:38:06 UTC
I need accessors for

background_set
foreground_set
background
editable
text

(There are more fields and no apparent reason for not having getters and
setters for them too.  The above are just the ones I hit.)
Comment 1 Javier Jardón (IRC: jjardon) 2010-11-08 21:22:42 UTC
Those are properties, so you can use the g_object_get/set() API. I'm not very sure if it's worth adding new api here.
Comment 2 Christian Dywan 2010-11-09 09:30:28 UTC
Cell renderers don't normally have accessor functions and if that were to change, it should be a decision for all renderers. Otherwise nothing is ‘needed’ here.
Comment 3 Matthias Clasen 2010-11-09 17:36:56 UTC
Just use the properties.