Re: Fetching gtkmm custom css style properties
- From: Mohith Manoj <mohith manoj skanray com>
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Fetching gtkmm custom css style properties
- Date: Wed, 19 Feb 2020 15:21:12 +0530
Of course... get_color() works as we have seen in the example code. But to get a property like 'border-top-left-radius' or 'border-right-color' there is no direct API and we are dependent on something like Gtk::StyleContext::get_style_property, but since this doesn't work we have our hunting hat on.
color is a normal css property, not a widget style property. use the right api for that. there is get_property() and iirc maybe even get_color().
don't use widget style properties in new code because they are removed in gtk 4.
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list
Please consider the Environment before printing this e-mail.
The information contained in this message
(including any attachments) is confidential and may be privileged or
otherwise protected from disclosure. If you are not the intended
recipient, you must not copy this message or attachment or disclose the
contents to any other person. If you have received this transmission in
error, please notify the sender immediately by return e-mail and
permanently delete this message and any attachments from your system.
Any dissemination, use, review, distribution, printing or copying of
this message in whole or in part is strictly prohibited. Please note
that e-mails are susceptible to change.
SKANRAY(including
its group of companies) shall not be liable for any omission or error
in the message, improper or incomplete transmission of the information
contained in this communication or for any delay in its receipt or
damage to your system. SKANRAY(or
its group of companies) does not guarantee that the integrity of this
communication has been maintained or that this communication is free of
viruses, interceptions or interference.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]