Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Gtk3 and CSS styles

by holli (Monsignor)
on Feb 13, 2019 at 22:44 UTC ( #1229889=note: print w/replies, xml ) Need Help??


in reply to Gtk3 and CSS styles

Educated guess: my $theming = ".GtkTextView {\nbackground-color: #000000;\ncolor: #FF0000;\n}";


holli

You can lead your users to water, but alas, you cannot drown them.

Replies are listed 'Best First'.
Re^2: Gtk3 and CSS styles
by Anonymous Monk on Feb 14, 2019 at 08:37 UTC

    Thanks to a typo, I stumbled on the answer. Thanks, wobbly fingers!

    my $theming = "textview text {\nbackground-color: #000000;\ncolor: #FF +0000;\n}"; $provider->load_from_data($theming);
Re^2: Gtk3 and CSS styles
by Anonymous Monk on Feb 14, 2019 at 08:05 UTC

    Nope. I tried *TextView as well.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1229889]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2020-02-24 00:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (104 votes). Check out past polls.

    Notices?