7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
34 #ifndef DOXYGEN_SHOULD_SKIP_THIS
40 #ifndef DOXYGEN_SHOULD_SKIP_THIS
42 {
class RcStyle_Class; }
77 {
return static_cast<RcFlags>(
static_cast<unsigned>(lhs) |
static_cast<unsigned>(rhs)); }
81 {
return static_cast<RcFlags>(
static_cast<unsigned>(lhs) &
static_cast<unsigned>(rhs)); }
85 {
return static_cast<RcFlags>(
static_cast<unsigned>(lhs) ^
static_cast<unsigned>(rhs)); }
89 {
return static_cast<RcFlags>(~static_cast<unsigned>(flags)); }
93 {
return (lhs =
static_cast<RcFlags>(
static_cast<unsigned>(lhs) |
static_cast<unsigned>(rhs))); }
97 {
return (lhs =
static_cast<RcFlags>(
static_cast<unsigned>(lhs) &
static_cast<unsigned>(rhs))); }
101 {
return (lhs =
static_cast<RcFlags>(
static_cast<unsigned>(lhs) ^
static_cast<unsigned>(rhs))); }
106 #ifndef DOXYGEN_SHOULD_SKIP_THIS
114 static GType value_type() G_GNUC_CONST;
128 #ifndef DOXYGEN_SHOULD_SKIP_THIS
137 static CppClassType rcstyle_class_;
145 explicit RcStyle(
const Glib::ConstructParams& construct_params);
157 #ifndef DOXYGEN_SHOULD_SKIP_THIS
160 static GType get_base_type() G_GNUC_CONST;
189 Glib::RefPtr<RcStyle>
copy()
const;
197 void set_font(
const Pango::FontDescription& font_desc);
241 explicit RC(
const Glib::ustring& filename);
270 static bool reparse_all(
const Glib::RefPtr<Settings>& settings,
bool force_load =
true);
296 static Glib::ustring
find_pixmap_in_path(
const Glib::RefPtr<Settings>& settings, GScanner* scanner,
const Glib::ustring& pixmap_file);
306 static Glib::ustring
find_pixmap_in_path(
const Glib::RefPtr<Settings>& settings,
const Glib::ustring& pixmap_file);
static Glib::RefPtr< Style > get_style(const Widget &widget)
static void parse_string(const Glib::ustring &rc_string)
static bool reparse_all()
RC(const Glib::ustring &filename)
static Glib::ustring find_pixmap_in_path(const Glib::RefPtr< Settings > &settings, GScanner *scanner, const Glib::ustring &pixmap_file)
static Glib::ustring find_module_in_path(const Glib::ustring &pixmap_file)
static Glib::ustring get_theme_dir()
static Glib::ustring get_module_dir()
static bool reparse_all(const Glib::RefPtr< Settings > &settings, bool force_load=true)
static void reset_styles(const Glib::RefPtr< Settings > &settings)
static Glib::ustring find_pixmap_in_path(const Glib::RefPtr< Settings > &settings, const Glib::ustring &pixmap_file)
int get_ythickness() const
void set_bg(Gtk::StateType state, const Gdk::Color &color)
GtkRcStyle * gobj_copy()
Provides access to the underlying C instance. The caller is responsible for unrefing it....
int get_xthickness() const
void set_fg(Gtk::StateType state, const Gdk::Color &color)
void set_base(Gtk::StateType state, const Gdk::Color &color)
Gdk::Color get_fg(Gtk::StateType state) const
static Glib::RefPtr< RcStyle > create()
void unset_color_flags(Gtk::StateType state, RcFlags flags)
Pango::FontDescription get_font() const
void set_bg_pixmap_name(Gtk::StateType state, const Glib::ustring &name)
void set_name(const Glib::ustring &name)
void set_xthickness(int xthickness)
RcFlags get_color_flags(Gtk::StateType state) const
Glib::ustring get_bg_pixmap_name(Gtk::StateType state) const
void set_font(const Pango::FontDescription &font_desc)
Glib::ustring get_name() const
Glib::RefPtr< RcStyle > copy() const
Gdk::Color get_bg(Gtk::StateType state) const
static GType get_type() G_GNUC_CONST
GtkRcStyle * gobj()
Provides access to the underlying C GObject.
Gdk::Color get_base(Gtk::StateType state) const
Gdk::Color get_text(Gtk::StateType state) const
void set_ythickness(int ythickness)
const GtkRcStyle * gobj() const
Provides access to the underlying C GObject.
void set_text(Gtk::StateType state, const Gdk::Color &color)
void set_color_flags(Gtk::StateType state, RcFlags flags)
Glib::RefPtr< Gtk::RcStyle > wrap(GtkRcStyle *object, bool take_copy=false)
GtkImageIconNameData name
PBD::PropertyDescriptor< uint32_t > color