Home Download Buy Blog Forum Support

Detect color scheme change

Detect color scheme change

Postby damccull on Sun Jul 14, 2013 7:50 pm

Does anyone know if there's a way to detect when an option from "Preferences->Color Scheme" is chosen?
damccull
 
Posts: 5
Joined: Sun Jul 14, 2013 7:48 pm

Re: Detect color scheme change

Postby weslly on Sun Jul 14, 2013 8:32 pm

You can get the current color_scheme value (loading the user settings) and use the post_window_command event listener to verify if the value of color_scheme was changed everytime the set_user_setting command is called.
weslly
 
Posts: 202
Joined: Sun Aug 28, 2011 3:57 am
Location: Brazil


Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 9 guests