Google

logo top
Main Page   Widgets   Namespaces   Book  

Gtk::Style Class Reference

Inheritance diagram for Gtk::Style:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual ~Style ()
GtkStyle* gobj ()
const GtkStyle* gobj () const
GtkStyle* gobj_copy ()
void set_fg (StateType state, const Gdk::Color& color)
Gdk::Color get_fg (StateType state) const
void set_bg (StateType state, const Gdk::Color& color)
Gdk::Color get_bg (StateType state) const
void set_light (StateType state, const Gdk::Color& color)
Gdk::Color get_light (StateType state) const
void set_dark (StateType state, const Gdk::Color& color)
Gdk::Color get_dark (StateType state) const
void set_mid (StateType state, const Gdk::Color& color)
Gdk::Color get_mid (StateType state) const
void set_text (StateType state, const Gdk::Color& color)
Gdk::Color get_text (StateType state) const
void set_base (StateType state, const Gdk::Color& color)
Gdk::Color get_base (StateType state) const
void set_text_aa (StateType state, const Gdk::Color& color)
Gdk::Color get_text_aa (StateType state) const
void set_black (const Gdk::Color& value)
Gdk::Color get_black () const
void set_white (const Gdk::Color& value)
Gdk::Color get_white () const
void set_font (const Pango::FontDescription& font_desc)
Pango::FontDescription get_font () const
void set_xthickness (int xthickness)
int get_xthickness () const
void set_ythickness (int ythickness)
int get_ythickness () const
Glib::RefPtr<Gdk::GCget_fg_gc (StateType state_type)
Glib::RefPtr<const Gdk::GCget_fg_gc (StateType state_type) const
Glib::RefPtr<Gdk::GCget_bg_gc (StateType state_type)
Glib::RefPtr<const Gdk::GCget_bg_gc (StateType state_type) const
Glib::RefPtr<Gdk::GCget_light_gc (StateType state_type)
Glib::RefPtr<const Gdk::GCget_light_gc (StateType state_type) const
Glib::RefPtr<Gdk::GCget_dark_gc (StateType state_type)
Glib::RefPtr<const Gdk::GCget_dark_gc (StateType state_type) const
Glib::RefPtr<Gdk::GCget_mid_gc (StateType state_type)
Glib::RefPtr<const Gdk::GCget_mid_gc (StateType state_type) const
Glib::RefPtr<Gdk::GCget_text_gc (StateType state_type)
Glib::RefPtr<const Gdk::GCget_text_gc (StateType state_type) const
Glib::RefPtr<Gdk::GCget_base_gc (StateType state_type)
Glib::RefPtr<const Gdk::GCget_base_gc (StateType state_type) const
Glib::RefPtr<Gdk::GCget_black_gc ()
Glib::RefPtr<const Gdk::GCget_black_gc () const
Glib::RefPtr<Gdk::GCget_white_gc ()
Glib::RefPtr<const Gdk::GCget_white_gc () const
Gdk::Color get_background (StateType state_type) const
Glib::RefPtr<Gdk::Pixmapget_background_pixmap (StateType state_type)
void set_bg_pixmap (StateType state_type, const Glib::RefPtr<Gdk::Pixmap>& pixmap)
Glib::RefPtr<Gdk::Pixmapget_bg_pixmap (StateType state_type)
Glib::RefPtr<const Gdk::Pixmapget_bg_pixmap (StateType state_type) const
void paint_arrow (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget& widget, const Glib::ustring& detail, ArrowType arrow_type, bool fill, int x, int y, int width, int height) const
void paint_box (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget& widget, const Glib::ustring& detail, int x, int y, int width, int height) const
void paint_box_gap (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget& widget, const Glib::ustring& detail, int x, int y, int width, int height, PositionType gap_side, int gap_x, int gap_width) const
void paint_check (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget& widget, const Glib::ustring& detail, int x, int y, int width, int height) const
void paint_diamond (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget& widget, const Glib::ustring& detail, int x, int y, int width, int height) const
void paint_extension (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget& widget, const Glib::ustring& detail, int x, int y, int width, int height, PositionType gap_side) const
void paint_flat_box (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget& widget, const Glib::ustring& detail, int x, int y, int width, int height) const
void paint_focus (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, const Gdk::Rectangle& area, Widget& widget, const Glib::ustring& detail, int x, int y, int width, int height) const
void paint_handle (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget& widget, const Glib::ustring& detail, int x, int y, int width, int height, Orientation orientation) const
void paint_hline (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, const Gdk::Rectangle& area, Widget& widget, const Glib::ustring& detail, int x1, int x2, int y) const
 Draws a horizontal line from (, y ) to (, y ) in window using the given style and state.

void paint_option (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget& widget, const Glib::ustring& detail, int x, int y, int width, int height) const
void paint_polygon (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget& widget, const Glib::ustring& detail, const Glib::ArrayHandle<Gdk::Point>& points, bool fill) const
void paint_shadow (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget& widget, const Glib::ustring& detail, int x, int y, int width, int height) const
void paint_shadow_gap (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget& widget, const Glib::ustring& detail, int x, int y, int width, int height, PositionType gap_side, int gap_x, int gap_width) const
void paint_slider (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget& widget, const Glib::ustring& detail, int x, int y, int width, int height, Orientation orientation) const
void paint_tab (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget& widget, const Glib::ustring& detail, int x, int y, int width, int height) const
void paint_vline (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, const Gdk::Rectangle& area, Widget& widget, const Glib::ustring& detail, int y1, int y2, int x) const
 Draws a vertical line from ( x , ) to ( x , ) in window using the given style and state.

void paint_expander (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, const Gdk::Rectangle& area, Widget& widget, const Glib::ustring& detail, int x, int y, ExpanderStyle expander_style) const
void paint_layout (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, bool use_text, const Gdk::Rectangle& area, Widget& widget, const Glib::ustring& detail, int x, int y, const Glib::RefPtr<Pango::Layout>& layout) const
void paint_resize_grip (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, const Gdk::Rectangle& area, Widget& widget, const Glib::ustring& detail, Gdk::WindowEdge edge, int x, int y, int width, int height) const
Glib::RefPtr<Style> copy ()
void set_background (const Glib::RefPtr<Gdk::Window>& window, StateType state_type)
 Sets the background of window to the background color or pixmap specified by style for the given state.

void apply_default_background (const Glib::RefPtr<Gdk::Window>& window, bool set_bg, Gtk::StateType state_type, const Gdk::Rectangle& area, int x, int y, int width, int height)
IconSet lookup_icon_set (const Gtk::StockID& stock_id)
Glib::RefPtr<Gdk::Pixbufrender_icon (const IconSource& source, Gtk::TextDirection direction, Gtk::StateType state, Gtk::IconSize size, Gtk::Widget& widget, const Glib::ustring& detail)
 Renders the icon specified by source at the given size according to the given parameters and returns the result in a pixbuf.


Protected Methods

virtual void realize_vfunc ()
virtual void unrealize_vfunc ()
virtual void copy_vfunc (const Glib::RefPtr<Style>& src)
virtual Glib::RefPtr<Style> clone_vfunc ()
virtual void init_from_rc_vfunc (const Glib::RefPtr<RcStyle>& rc_style)
virtual void set_background_vfunc (const Glib::RefPtr<Gdk::Window>& window, StateType state_type)
virtual Glib::RefPtr<Gdk::Pixbufrender_icon_vfunc (const IconSource& source, TextDirection direction, StateType state, IconSize size, Widget* widget, const Glib::ustring& detail)
virtual void draw_hline_vfunc (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, const Gdk::Rectangle& area, Widget* widget, const Glib::ustring& detail, int x1, int x2, int y)
virtual void draw_vline_vfunc (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, const Gdk::Rectangle& area, Widget* widget, const Glib::ustring& detail, int y1, int y2, int x)
virtual void draw_shadow_vfunc (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget* widget, const Glib::ustring& detail, int x, int y, int width, int height)
virtual void draw_polygon_vfunc (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget* widget, const Glib::ustring& detail, GdkPoint* point, int npoints, bool fill)
virtual void draw_arrow_vfunc (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget* widget, const Glib::ustring& detail, Gtk::ArrowType arrow_type, bool fill, int x, int y, int width, int height)
virtual void draw_diamond_vfunc (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget* widget, const Glib::ustring& detail, int x, int y, int width, int height)
virtual void draw_string_vfunc (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, const Gdk::Rectangle& area, Widget* widget, const Glib::ustring& detail, int x, int y, const Glib::ustring& string)
virtual void draw_box_vfunc (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget* widget, const Glib::ustring& detail, int x, int y, int width, int height)
virtual void draw_flat_box_vfunc (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget* widget, const Glib::ustring& detail, int x, int y, int width, int height)
virtual void draw_check_vfunc (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget* widget, const Glib::ustring& detail, int x, int y, int width, int height)
virtual void draw_option_vfunc (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget* widget, const Glib::ustring& detail, int x, int y, int width, int height)
virtual void draw_tab_vfunc (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget* widget, const Glib::ustring& detail, int x, int y, int width, int height)
virtual void draw_shadow_gap_vfunc (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget* widget, const Glib::ustring& detail, int x, int y, int width, int height, Gtk::PositionType gap_side, int gap_x, int gap_width)
virtual void draw_box_gap_vfunc (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget* widget, const Glib::ustring& detail, int x, int y, int width, int height, Gtk::PositionType gap_side, int gap_x, int gap_width)
virtual void draw_extension_vfunc (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget* widget, const Glib::ustring& detail, int x, int y, int width, int height, PositionType gap_side)
virtual void draw_focus_vfunc (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, const Gdk::Rectangle& area, Widget* widget, const Glib::ustring& detail, int x, int y, int width, int height)
virtual void draw_slider_vfunc (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget* widget, const Glib::ustring& detail, int x, int y, int width, int height, Orientation orientation)
virtual void draw_handle_vfunc (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, ShadowType shadow_type, const Gdk::Rectangle& area, Widget* widget, const Glib::ustring& detail, int x, int y, int width, int height, Orientation orientation)
virtual void draw_expander_vfunc (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, const Gdk::Rectangle& area, Widget* widget, const Glib::ustring& detail, int x, int y, ExpanderStyle expander_style)
virtual void draw_layout_vfunc (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, bool use_text, const Gdk::Rectangle& area, Widget* widget, const Glib::ustring& detail, int x, int y, const Glib::RefPtr<Pango::Layout>& layout)
virtual void draw_resize_grip_vfunc (const Glib::RefPtr<Gdk::Window>& window, StateType state_type, const Gdk::Rectangle& area, Widget* widget, const Glib::ustring& detail, Gdk::WindowEdge edge, int x, int y, int width, int height)

Related Functions

(Note that these are not member functions.)

Glib::RefPtr<Gtk::Style> wrap (GtkStyle* object, bool take_copy=false)

Constructor & Destructor Documentation

virtual Gtk::Style::~Style (   [virtual]
 


Member Function Documentation

void Gtk::Style::apply_default_background ( const Glib::RefPtr<Gdk::Window>&    window,
bool    set_bg,
Gtk::StateType    state_type,
const Gdk::Rectangle   area,
int    x,
int    y,
int    width,
int    height
 

virtual Glib::RefPtr<Style> Gtk::Style::clone_vfunc (   [protected, virtual]
 

Glib::RefPtr<Style> Gtk::Style::copy (  
 

virtual void Gtk::Style::copy_vfunc ( const Glib::RefPtr<Style>&    src [protected, virtual]
 

virtual void Gtk::Style::draw_arrow_vfunc ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
Gtk::ArrowType    arrow_type,
bool    fill,
int    x,
int    y,
int    width,
int    height
[protected, virtual]
 

virtual void Gtk::Style::draw_box_gap_vfunc ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
int    width,
int    height,
Gtk::PositionType    gap_side,
int    gap_x,
int    gap_width
[protected, virtual]
 

virtual void Gtk::Style::draw_box_vfunc ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
int    width,
int    height
[protected, virtual]
 

virtual void Gtk::Style::draw_check_vfunc ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
int    width,
int    height
[protected, virtual]
 

virtual void Gtk::Style::draw_diamond_vfunc ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
int    width,
int    height
[protected, virtual]
 

virtual void Gtk::Style::draw_expander_vfunc ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
ExpanderStyle    expander_style
[protected, virtual]
 

virtual void Gtk::Style::draw_extension_vfunc ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
int    width,
int    height,
PositionType    gap_side
[protected, virtual]
 

virtual void Gtk::Style::draw_flat_box_vfunc ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
int    width,
int    height
[protected, virtual]
 

virtual void Gtk::Style::draw_focus_vfunc ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
int    width,
int    height
[protected, virtual]
 

virtual void Gtk::Style::draw_handle_vfunc ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
int    width,
int    height,
Orientation    orientation
[protected, virtual]
 

virtual void Gtk::Style::draw_hline_vfunc ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x1,
int    x2,
int    y
[protected, virtual]
 

virtual void Gtk::Style::draw_layout_vfunc ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
bool    use_text,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
const Glib::RefPtr<Pango::Layout>&    layout
[protected, virtual]
 

virtual void Gtk::Style::draw_option_vfunc ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
int    width,
int    height
[protected, virtual]
 

virtual void Gtk::Style::draw_polygon_vfunc ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
GdkPoint*    point,
int    npoints,
bool    fill
[protected, virtual]
 

virtual void Gtk::Style::draw_resize_grip_vfunc ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
Gdk::WindowEdge    edge,
int    x,
int    y,
int    width,
int    height
[protected, virtual]
 

virtual void Gtk::Style::draw_shadow_gap_vfunc ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
int    width,
int    height,
Gtk::PositionType    gap_side,
int    gap_x,
int    gap_width
[protected, virtual]
 

virtual void Gtk::Style::draw_shadow_vfunc ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
int    width,
int    height
[protected, virtual]
 

virtual void Gtk::Style::draw_slider_vfunc ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
int    width,
int    height,
Orientation    orientation
[protected, virtual]
 

virtual void Gtk::Style::draw_string_vfunc ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
const Glib::ustring   string
[protected, virtual]
 

virtual void Gtk::Style::draw_tab_vfunc ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
int    width,
int    height
[protected, virtual]
 

virtual void Gtk::Style::draw_vline_vfunc ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    y1,
int    y2,
int    x
[protected, virtual]
 

Gdk::Color Gtk::Style::get_background ( StateType    state_type const
 

Glib::RefPtr<Gdk::Pixmap> Gtk::Style::get_background_pixmap ( StateType    state_type
 

Gdk::Color Gtk::Style::get_base ( StateType    state const
 

Glib::RefPtr<const Gdk::GC> Gtk::Style::get_base_gc ( StateType    state_type const
 

Glib::RefPtr<Gdk::GC> Gtk::Style::get_base_gc ( StateType    state_type
 

Gdk::Color Gtk::Style::get_bg ( StateType    state const
 

Glib::RefPtr<const Gdk::GC> Gtk::Style::get_bg_gc ( StateType    state_type const
 

Glib::RefPtr<Gdk::GC> Gtk::Style::get_bg_gc ( StateType    state_type
 

Glib::RefPtr<const Gdk::Pixmap> Gtk::Style::get_bg_pixmap ( StateType    state_type const
 

Glib::RefPtr<Gdk::Pixmap> Gtk::Style::get_bg_pixmap ( StateType    state_type
 

Gdk::Color Gtk::Style::get_black (   const
 

Glib::RefPtr<const Gdk::GC> Gtk::Style::get_black_gc (   const
 

Glib::RefPtr<Gdk::GC> Gtk::Style::get_black_gc (  
 

Gdk::Color Gtk::Style::get_dark ( StateType    state const
 

Glib::RefPtr<const Gdk::GC> Gtk::Style::get_dark_gc ( StateType    state_type const
 

Glib::RefPtr<Gdk::GC> Gtk::Style::get_dark_gc ( StateType    state_type
 

Gdk::Color Gtk::Style::get_fg ( StateType    state const
 

Glib::RefPtr<const Gdk::GC> Gtk::Style::get_fg_gc ( StateType    state_type const
 

Glib::RefPtr<Gdk::GC> Gtk::Style::get_fg_gc ( StateType    state_type
 

Pango::FontDescription Gtk::Style::get_font (   const
 

Gdk::Color Gtk::Style::get_light ( StateType    state const
 

Glib::RefPtr<const Gdk::GC> Gtk::Style::get_light_gc ( StateType    state_type const
 

Glib::RefPtr<Gdk::GC> Gtk::Style::get_light_gc ( StateType    state_type
 

Gdk::Color Gtk::Style::get_mid ( StateType    state const
 

Glib::RefPtr<const Gdk::GC> Gtk::Style::get_mid_gc ( StateType    state_type const
 

Glib::RefPtr<Gdk::GC> Gtk::Style::get_mid_gc ( StateType    state_type
 

Gdk::Color Gtk::Style::get_text ( StateType    state const
 

Gdk::Color Gtk::Style::get_text_aa ( StateType    state const
 

Glib::RefPtr<const Gdk::GC> Gtk::Style::get_text_gc ( StateType    state_type const
 

Glib::RefPtr<Gdk::GC> Gtk::Style::get_text_gc ( StateType    state_type
 

Gdk::Color Gtk::Style::get_white (   const
 

Glib::RefPtr<const Gdk::GC> Gtk::Style::get_white_gc (   const
 

Glib::RefPtr<Gdk::GC> Gtk::Style::get_white_gc (  
 

int Gtk::Style::get_xthickness (   const
 

int Gtk::Style::get_ythickness (   const
 

const GtkStyle* Gtk::Style::gobj (   const [inline]
 

Reimplemented from Glib::ObjectBase.

GtkStyle* Gtk::Style::gobj (   [inline]
 

Reimplemented from Glib::ObjectBase.

GtkStyle* Gtk::Style::gobj_copy (  
 

virtual void Gtk::Style::init_from_rc_vfunc ( const Glib::RefPtr<RcStyle>&    rc_style [protected, virtual]
 

IconSet Gtk::Style::lookup_icon_set ( const Gtk::StockID   stock_id
 

void Gtk::Style::paint_arrow ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
ArrowType    arrow_type,
bool    fill,
int    x,
int    y,
int    width,
int    height
const
 

void Gtk::Style::paint_box ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
int    width,
int    height
const
 

void Gtk::Style::paint_box_gap ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
int    width,
int    height,
PositionType    gap_side,
int    gap_x,
int    gap_width
const
 

void Gtk::Style::paint_check ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
int    width,
int    height
const
 

void Gtk::Style::paint_diamond ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
int    width,
int    height
const
 

void Gtk::Style::paint_expander ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
ExpanderStyle    expander_style
const
 

void Gtk::Style::paint_extension ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
int    width,
int    height,
PositionType    gap_side
const
 

void Gtk::Style::paint_flat_box ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
int    width,
int    height
const
 

void Gtk::Style::paint_focus ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
int    width,
int    height
const
 

void Gtk::Style::paint_handle ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
int    width,
int    height,
Orientation    orientation
const
 

void Gtk::Style::paint_hline ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x1,
int    x2,
int    y
const
 

Draws a horizontal line from (, y ) to (, y ) in window using the given style and state.

Parameters:
style A Gtk::Style.
window A Gdk::Window.
state_type A state.
area Rectangle to which the output is clipped.
x1 The starting x coordinate.
x2 The ending x coordinate.
y The y coordinate.

void Gtk::Style::paint_layout ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
bool    use_text,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
const Glib::RefPtr<Pango::Layout>&    layout
const
 

void Gtk::Style::paint_option ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
int    width,
int    height
const
 

void Gtk::Style::paint_polygon ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
const Glib::ArrayHandle<Gdk::Point>&    points,
bool    fill
const
 

void Gtk::Style::paint_resize_grip ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
Gdk::WindowEdge    edge,
int    x,
int    y,
int    width,
int    height
const
 

void Gtk::Style::paint_shadow ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
int    width,
int    height
const
 

void Gtk::Style::paint_shadow_gap ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
int    width,
int    height,
PositionType    gap_side,
int    gap_x,
int    gap_width
const
 

void Gtk::Style::paint_slider ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
int    width,
int    height,
Orientation    orientation
const
 

void Gtk::Style::paint_tab ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
ShadowType    shadow_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    x,
int    y,
int    width,
int    height
const
 

void Gtk::Style::paint_vline ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type,
const Gdk::Rectangle   area,
Widget   widget,
const Glib::ustring   detail,
int    y1,
int    y2,
int    x
const
 

Draws a vertical line from ( x , ) to ( x , ) in window using the given style and state.

Parameters:
style A Gtk::Style.
window A Gdk::Window.
state_type A state.
area Rectangle to which the output is clipped.
y1_ The starting y coordinate.
y2_ The ending y coordinate.
x The x coordinate.

virtual void Gtk::Style::realize_vfunc (   [protected, virtual]
 

Glib::RefPtr<Gdk::Pixbuf> Gtk::Style::render_icon ( const IconSource   source,
Gtk::TextDirection    direction,
Gtk::StateType    state,
Gtk::IconSize    size,
Gtk::Widget   widget,
const Glib::ustring   detail
 

Renders the icon specified by source at the given size according to the given parameters and returns the result in a pixbuf.

Parameters:
source The Gtk::IconSource specifying the icon to render.
direction A text direction.
state A state.
size The size to render the icon at. A size of (GtkIconSize)-1 means render at the size of the source and don't scale.
widget The widget.
detail A style detail.
Returns:
A newly-created Gdk::Pixbuf containing the rendered icon.

virtual Glib::RefPtr<Gdk::Pixbuf> Gtk::Style::render_icon_vfunc ( const IconSource   source,
TextDirection    direction,
StateType    state,
IconSize    size,
Widget   widget,
const Glib::ustring   detail
[protected, virtual]
 

void Gtk::Style::set_background ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type
 

Sets the background of window to the background color or pixmap specified by style for the given state.

Parameters:
window A Gdk::Window.
state_type A state.

virtual void Gtk::Style::set_background_vfunc ( const Glib::RefPtr<Gdk::Window>&    window,
StateType    state_type
[protected, virtual]
 

void Gtk::Style::set_base ( StateType    state,
const Gdk::Color   color
 

void Gtk::Style::set_bg ( StateType    state,
const Gdk::Color   color
 

void Gtk::Style::set_bg_pixmap ( StateType    state_type,
const Glib::RefPtr<Gdk::Pixmap>&    pixmap
 

void Gtk::Style::set_black ( const Gdk::Color   value
 

void Gtk::Style::set_dark ( StateType    state,
const Gdk::Color   color
 

void Gtk::Style::set_fg ( StateType    state,
const Gdk::Color   color
 

void Gtk::Style::set_font ( const Pango::FontDescription   font_desc
 

void Gtk::Style::set_light ( StateType    state,
const Gdk::Color   color
 

void Gtk::Style::set_mid ( StateType    state,
const Gdk::Color   color
 

void Gtk::Style::set_text ( StateType    state,
const Gdk::Color   color
 

void Gtk::Style::set_text_aa ( StateType    state,
const Gdk::Color   color
 

void Gtk::Style::set_white ( const Gdk::Color   value
 

void Gtk::Style::set_xthickness ( int    xthickness
 

void Gtk::Style::set_ythickness ( int    ythickness
 

virtual void Gtk::Style::unrealize_vfunc (   [protected, virtual]
 


Friends And Related Function Documentation

Glib::RefPtr<Gtk::Style> wrap ( GtkStyle*    object,
bool    take_copy = false
[related]
 


The documentation for this class was generated from the following file:
Generated for gtkmm by Doxygen 1.3-rc1 © 1997-2001