class Inti::Gtk::Style is declared in the header inti/gtk/style.h.
Superclasses. Object
Subclasses. none
Public Constructors.
Style () |
Public Methods.
GtkStyle * gtk_style () const const Gdk::Color & fg (StateType state) const const Gdk::Color & bg (StateType state) const const Gdk::Color & light (StateType state) const const Gdk::Color & dark (StateType state) const const Gdk::Color & mid (StateType state) const const Gdk::Color & text (StateType state) const const Gdk::Color & base (StateType state) const const Gdk::Color & black () const const Gdk::Color & white () const const Pango::FontDescription & font_description () const void set_font_description (const Pango::FontDescription & desc) Gdk::GC * fg_gc (StateType state) const Gdk::GC * bg_gc (StateType state) const Gdk::GC * light_gc (StateType state) const Gdk::GC * dark_gc (StateType state) const Gdk::GC * mid_gc (StateType state) const Gdk::GC * text_gc (StateType state) const Gdk::GC * base_gc (StateType state) const Gdk::GC * black_gc () const Gdk::GC * white_gc () const Gdk::Pixmap * bg_pixmap (StateType state) const int xthickness () const int ythickness () const void set_fg (StateType state, const Gdk::Color & color) void set_bg (StateType state, const Gdk::Color & color) void set_light (StateType state, const Gdk::Color & color) void set_dark (StateType state, const Gdk::Color & color) void set_mid (StateType state, const Gdk::Color & color) void set_text (StateType state, const Gdk::Color & color) void set_base (StateType state, const Gdk::Color & color) void set_xthickness (int size) void set_ythickness (int size) |
Protected Constructors.
Style (GtkStyle * src, GtkStyleClass * orig) |
Protected Destructor.
virtual ~Style () |
Protected Methods.
void draw_hline_impl (Gdk::Window * window, StateType state_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x1, int x2, int y) void draw_vline_impl (Gdk::Window * window, StateType state_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int y1, int y2, int x) void draw_shadow_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height) void draw_polygon_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, const Gdk::Point & point, int npoints, gboolean fill) void draw_arrow_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, ArrowType arrow_type, gboolean fill, int x, int y, int width, int height) void draw_diamond_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height) void draw_oval_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height) void draw_string_impl (Gdk::Window * window, StateType state_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, const string & string) void draw_box_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height) void draw_flat_box_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height) void draw_check_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height) void draw_option_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height) void draw_cross_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height) void draw_ramp_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, ArrowType arrow_type, int x, int y, int width, int height) void draw_tab_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height) void draw_shadow_gap_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height, PositionType gap_side, int gap_x, int gap_width) void draw_box_gap_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height, PositionType gap_side, int gap_x, int gap_width) void draw_extension_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height, PositionType gap_side) void draw_focus_impl (Gdk::Window * window, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height) void draw_slider_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height, Orientation orientation) void draw_handle_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height, Orientation orientation) |
void set_font_description (const Pango::FontDescription & desc) |
| desc |
void set_light (StateType state, const Gdk::Color & color) |
| state | |
| color |
void set_dark (StateType state, const Gdk::Color & color) |
| state | |
| color |
void set_text (StateType state, const Gdk::Color & color) |
| state | |
| color |
void draw_hline_impl (Gdk::Window * window, StateType state_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x1, int x2, int y) |
| window | |
| state_type | |
| area | |
| widget | |
| detail | |
| x1 | |
| x2 | |
| y |
void draw_vline_impl (Gdk::Window * window, StateType state_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int y1, int y2, int x) |
| window | |
| state_type | |
| area | |
| widget | |
| detail | |
| y1 | |
| y2 | |
| x |
void draw_shadow_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height) |
| window | |
| state_type | |
| shadow_type | |
| area | |
| widget | |
| detail | |
| x | |
| y | |
| width | |
| height |
void draw_polygon_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, const Gdk::Point & point, int npoints, gboolean fill) |
| window | |
| state_type | |
| shadow_type | |
| area | |
| widget | |
| detail | |
| point | |
| npoints | |
| fill |
void draw_arrow_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, ArrowType arrow_type, gboolean fill, int x, int y, int width, int height) |
| window | |
| state_type | |
| shadow_type | |
| area | |
| widget | |
| detail | |
| arrow_type | |
| fill | |
| x | |
| y | |
| width | |
| height |
void draw_diamond_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height) |
| window | |
| state_type | |
| shadow_type | |
| area | |
| widget | |
| detail | |
| x | |
| y | |
| width | |
| height |
void draw_oval_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height) |
| window | |
| state_type | |
| shadow_type | |
| area | |
| widget | |
| detail | |
| x | |
| y | |
| width | |
| height |
void draw_string_impl (Gdk::Window * window, StateType state_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, const string & string) |
| window | |
| state_type | |
| area | |
| widget | |
| detail | |
| x | |
| y | |
| string |
void draw_box_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height) |
| window | |
| state_type | |
| shadow_type | |
| area | |
| widget | |
| detail | |
| x | |
| y | |
| width | |
| height |
void draw_flat_box_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height) |
| window | |
| state_type | |
| shadow_type | |
| area | |
| widget | |
| detail | |
| x | |
| y | |
| width | |
| height |
void draw_check_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height) |
| window | |
| state_type | |
| shadow_type | |
| area | |
| widget | |
| detail | |
| x | |
| y | |
| width | |
| height |
void draw_option_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height) |
| window | |
| state_type | |
| shadow_type | |
| area | |
| widget | |
| detail | |
| x | |
| y | |
| width | |
| height |
void draw_cross_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height) |
| window | |
| state_type | |
| shadow_type | |
| area | |
| widget | |
| detail | |
| x | |
| y | |
| width | |
| height |
void draw_ramp_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, ArrowType arrow_type, int x, int y, int width, int height) |
| window | |
| state_type | |
| shadow_type | |
| area | |
| widget | |
| detail | |
| arrow_type | |
| x | |
| y | |
| width | |
| height |
void draw_tab_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height) |
| window | |
| state_type | |
| shadow_type | |
| area | |
| widget | |
| detail | |
| x | |
| y | |
| width | |
| height |
void draw_shadow_gap_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height, PositionType gap_side, int gap_x, int gap_width) |
| window | |
| state_type | |
| shadow_type | |
| area | |
| widget | |
| detail | |
| x | |
| y | |
| width | |
| height | |
| gap_side | |
| gap_x | |
| gap_width |
void draw_box_gap_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height, PositionType gap_side, int gap_x, int gap_width) |
| window | |
| state_type | |
| shadow_type | |
| area | |
| widget | |
| detail | |
| x | |
| y | |
| width | |
| height | |
| gap_side | |
| gap_x | |
| gap_width |
void draw_extension_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height, PositionType gap_side) |
| window | |
| state_type | |
| shadow_type | |
| area | |
| widget | |
| detail | |
| x | |
| y | |
| width | |
| height | |
| gap_side |
void draw_focus_impl (Gdk::Window * window, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height) |
| window | |
| area | |
| widget | |
| detail | |
| x | |
| y | |
| width | |
| height |
void draw_slider_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height, Orientation orientation) |
| window | |
| state_type | |
| shadow_type | |
| area | |
| widget | |
| detail | |
| x | |
| y | |
| width | |
| height | |
| orientation |
void draw_handle_impl (Gdk::Window * window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle * area, Gtk::Widget * widget, const string & detail, int x, int y, int width, int height, Orientation orientation) |
| window | |
| state_type | |
| shadow_type | |
| area | |
| widget | |
| detail | |
| x | |
| y | |
| width | |
| height | |
| orientation |