class Inti::Gtk::Style

Name

class Inti::Gtk::Style -- 

Synopsis

class Inti::Gtk::Style is declared in the header inti/gtk/style.h.

Superclasses. Object

Subclasses. none

Class members

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)

Description

Public Constructors

method Inti::Gtk::Style::Style

Style ()

Public Methods

method Inti::Gtk::Style::gtk_style

GtkStyle * gtk_style () const

method Inti::Gtk::Style::fg

const Gdk::Color & fg (StateType state) const

state 

method Inti::Gtk::Style::bg

const Gdk::Color & bg (StateType state) const

state 

method Inti::Gtk::Style::light

const Gdk::Color & light (StateType state) const

state 

method Inti::Gtk::Style::dark

const Gdk::Color & dark (StateType state) const

state 

method Inti::Gtk::Style::mid

const Gdk::Color & mid (StateType state) const

state 

method Inti::Gtk::Style::text

const Gdk::Color & text (StateType state) const

state 

method Inti::Gtk::Style::base

const Gdk::Color & base (StateType state) const

state 

method Inti::Gtk::Style::black

const Gdk::Color & black () const

method Inti::Gtk::Style::white

const Gdk::Color & white () const

method Inti::Gtk::Style::font_description

const Pango::FontDescription & font_description () const

method Inti::Gtk::Style::set_font_description

void set_font_description (const Pango::FontDescription & desc)

desc 

method Inti::Gtk::Style::fg_gc

Gdk::GC * fg_gc (StateType state) const

state 

method Inti::Gtk::Style::bg_gc

Gdk::GC * bg_gc (StateType state) const

state 

method Inti::Gtk::Style::light_gc

Gdk::GC * light_gc (StateType state) const

state 

method Inti::Gtk::Style::dark_gc

Gdk::GC * dark_gc (StateType state) const

state 

method Inti::Gtk::Style::mid_gc

Gdk::GC * mid_gc (StateType state) const

state 

method Inti::Gtk::Style::text_gc

Gdk::GC * text_gc (StateType state) const

state 

method Inti::Gtk::Style::base_gc

Gdk::GC * base_gc (StateType state) const

state 

method Inti::Gtk::Style::black_gc

Gdk::GC * black_gc () const

method Inti::Gtk::Style::white_gc

Gdk::GC * white_gc () const

method Inti::Gtk::Style::bg_pixmap

Gdk::Pixmap * bg_pixmap (StateType state) const

state 

method Inti::Gtk::Style::xthickness

int xthickness () const

method Inti::Gtk::Style::ythickness

int ythickness () const

method Inti::Gtk::Style::set_fg

void set_fg (StateType state, const Gdk::Color & color)

state 
color 

method Inti::Gtk::Style::set_bg

void set_bg (StateType state, const Gdk::Color & color)

state 
color 

method Inti::Gtk::Style::set_light

void set_light (StateType state, const Gdk::Color & color)

state 
color 

method Inti::Gtk::Style::set_dark

void set_dark (StateType state, const Gdk::Color & color)

state 
color 

method Inti::Gtk::Style::set_mid

void set_mid (StateType state, const Gdk::Color & color)

state 
color 

method Inti::Gtk::Style::set_text

void set_text (StateType state, const Gdk::Color & color)

state 
color 

method Inti::Gtk::Style::set_base

void set_base (StateType state, const Gdk::Color & color)

state 
color 

method Inti::Gtk::Style::set_xthickness

void set_xthickness (int size)

size 

method Inti::Gtk::Style::set_ythickness

void set_ythickness (int size)

size 

Protected Constructors

method Inti::Gtk::Style::Style

Style (GtkStyle * src, GtkStyleClass * orig)

src 
orig 

Protected Destructor

method Inti::Gtk::Style::~Style

virtual  ~Style ()

Protected Methods

method Inti::Gtk::Style::draw_hline_impl

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 

method Inti::Gtk::Style::draw_vline_impl

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 

method Inti::Gtk::Style::draw_shadow_impl

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 

method Inti::Gtk::Style::draw_polygon_impl

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 

method Inti::Gtk::Style::draw_arrow_impl

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 

method Inti::Gtk::Style::draw_diamond_impl

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 

method Inti::Gtk::Style::draw_oval_impl

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 

method Inti::Gtk::Style::draw_string_impl

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 

method Inti::Gtk::Style::draw_box_impl

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 

method Inti::Gtk::Style::draw_flat_box_impl

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 

method Inti::Gtk::Style::draw_check_impl

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 

method Inti::Gtk::Style::draw_option_impl

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 

method Inti::Gtk::Style::draw_cross_impl

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 

method Inti::Gtk::Style::draw_ramp_impl

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 

method Inti::Gtk::Style::draw_tab_impl

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 

method Inti::Gtk::Style::draw_shadow_gap_impl

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 

method Inti::Gtk::Style::draw_box_gap_impl

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 

method Inti::Gtk::Style::draw_extension_impl

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 

method Inti::Gtk::Style::draw_focus_impl

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 

method Inti::Gtk::Style::draw_slider_impl

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 

method Inti::Gtk::Style::draw_handle_impl

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