Re: Fetching gtkmm custom css style properties

Daniel Boles via gtkmm-list <[email protected]>
Newsgroups gmane.comp.gnome.gtkmm
Message-ID <CAKChMKMdC3r-LiH21sDEPkahr9LXTGMd8xhMffzXnfag-D74_g@mail.gmail.com>
you can just type any property name though. the argument is just a string.
the symbols in the header are just macros and not exhaustive.

glad to help. have fun!


On Wed, 19 Feb 2020, 11:23 Mohith Manoj via gtkmm-list, <
[email protected]> wrote:

> viola... that gets the wheel rolling.
>
> *gtk_style_context_get* works. However, there are only 10 style
> properties defined in gtkstylecontext.h that we can retrieve this way and
> not all the style properties listed in Gtk-Inspector. For example there is
> a single definition for border radius as,
> #define GTK_STYLE_PROPERTY_BORDER_RADIUS "border-radius"
> While Gtk-Inspector lists one radii for each of the four corners. Which
> makes sense because in cases where you have linked buttons inside a button
> box (with 'linked' style class added), individual corners needs to be
> manipulated depending on the position of the button in the group and
> whether they are vertically stacked or horizontally.
>
> Anyway this is a good starting point. Many thanks to Daniel Boles.
> This post in Stackoverflow confirms the findings.
>
> https://stackoverflow.com/questions/47371967/getting-objects-out-of-a-gvalue
>
>
>
>
>
> *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* <http://www.skanray.com>*(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*
> <http://www.skanray.com>*(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.*
> _______________________________________________
> gtkmm-list mailing list
> [email protected]
> https://mail.gnome.org/mailman/listinfo/gtkmm-list
>

_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.