index, gtk-- homepage
class Gtk_Style
#include <gtk--/style.h>
Public member index
- Gtk_Style();
- Gtk_Style(GtkStyle *castitem);
- virtual ~Gtk_Style();
- Gtk_Style* attach(GdkWindow *window);
- void detach();
- Gtk_Style* ref();
- void unref();
- void set_background(GdkWindow *window, GtkStateType state_type);
- void draw_hline(GdkWindow *window, GtkStateType state_type, gint x1, gint x2, gint y);
- void draw_vline(GdkWindow *window, GtkStateType state_type, gint y1, gint y2, gint x);
- void draw_shadow(GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, gint x, gint y, gint width, gint height);
- void draw_polygon(GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkPoint *points, gint npoints, gint fill);
- void draw_arrow(GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GtkArrowType arrow_type, gint fill, gint x, gint y, gint width, gint height);
- void draw_diamond(GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, gint x, gint y, gint width, gint height);
- void draw_oval(GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, gint x, gint y, gint width, gint height);
- void draw_string(GdkWindow *window, GtkStateType state_type, gint x, gint y, const string &string);
- GtkStyle * gtkstyle;
Public member descriptions
attach
Gtk_Style* Gtk_Style::attach(GdkWindow *window);
THIS METHOD RETURNS ALLOCATED OBJECT
gtkstyle
GtkStyle * Gtk_Style::gtkstyle;
gtkstyle data member is public because to change background color,
foreground color or to access GC's, you need to access to GtkStyle
structure.. I think at some point we need better access to that data,
but for now, this is enough.
(pages generated by PERCEPS -script.)