libgnomecanvasmm
|
#include <widget.h>
Public Member Functions | |
virtual | ~Widget () |
GnomeCanvasWidget * | gobj () |
Provides access to the underlying C GtkObject. More... | |
const GnomeCanvasWidget * | gobj () const |
Provides access to the underlying C GtkObject. More... | |
Widget (Group &parent, double x, double y, Gtk::Widget &w) | |
Widget (Group &parent) | |
Glib::PropertyProxy < Gtk::Widget * > | property_widget () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. More... | |
Glib::PropertyProxy_ReadOnly < Gtk::Widget * > | property_widget () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. More... | |
Glib::PropertyProxy< double > | property_x () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. More... | |
Glib::PropertyProxy_ReadOnly < double > | property_x () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. More... | |
Glib::PropertyProxy< double > | property_y () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. More... | |
Glib::PropertyProxy_ReadOnly < double > | property_y () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. More... | |
Glib::PropertyProxy< double > | property_width () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. More... | |
Glib::PropertyProxy_ReadOnly < double > | property_width () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. More... | |
Glib::PropertyProxy< double > | property_height () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. More... | |
Glib::PropertyProxy_ReadOnly < double > | property_height () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. More... | |
Glib::PropertyProxy < Gtk::AnchorType > | property_anchor () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. More... | |
Glib::PropertyProxy_ReadOnly < Gtk::AnchorType > | property_anchor () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. More... | |
Glib::PropertyProxy< bool > | property_size_pixels () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. More... | |
Glib::PropertyProxy_ReadOnly < bool > | property_size_pixels () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. More... | |
![]() | |
virtual | ~Item () |
GnomeCanvasItem * | gobj () |
Provides access to the underlying C GtkObject. More... | |
const GnomeCanvasItem * | gobj () const |
Provides access to the underlying C GtkObject. More... | |
void | move (double dx, double dy) |
Moves a canvas item by creating an affine transformation matrix for translation by using the specified values. More... | |
void | raise (int positions) |
Raises the item in its parent's stack by the specified number of positions. More... | |
void | lower (int positions) |
Lowers the item in its parent's stack by the specified number of positions. More... | |
void | raise_to_top () |
Raises an item to the top of its parent's stack. More... | |
void | lower_to_bottom () |
Lowers an item to the bottom of its parent's stack. More... | |
int | grab (unsigned int event_mask, const Gdk::Cursor &cursor, guint32 etime) |
int | grab (unsigned int event_mask, guint32 etime) |
void | ungrab (guint32 etime) |
Ungrabs the item, which must have been grabbed in the canvas, and ungrabs the mouse. More... | |
void | w2i (double &x, double &y) |
Converts a coordinate pair from world coordinates to item-relative coordinates. More... | |
void | i2w (double &x, double &y) |
Converts a coordinate pair from item-relative coordinates to world coordinates. More... | |
void | grab_focus () |
Makes the specified item take the keyboard focus, so all keyboard events will be sent to it. More... | |
void | get_bounds (double &x1, double &y1, double &x2, double &y2) const |
Queries the bounding box of a canvas item. More... | |
void | show () |
Shows a canvas item. More... | |
void | hide () |
Hides a canvas item. More... | |
void | affine_relative (const Art::AffineTrans &affine) |
void | affine_absolute (const Art::AffineTrans &affine) |
Art::AffineTrans | get_i2w_affine () const |
Art::AffineTrans | get_i2c_affine () const |
void | reparent (Group &new_group) |
Changes the parent of the specified item to be the new group. More... | |
Canvas * | get_canvas () const |
Returns the canvas we're on. More... | |
virtual void | update_vfunc (double *affine, ArtSVP *clip_path, int flags) |
virtual void | realize_vfunc () |
virtual void | unrealize_vfunc () |
virtual void | map_vfunc () |
virtual void | unmap_vfunc () |
virtual ArtUta * | coverage_vfunc () |
virtual void | draw_vfunc (const Glib::RefPtr< Gdk::Drawable > &drawable, int x, int y, int width, int height) |
virtual void | render_vfunc (GnomeCanvasBuf *buf) |
virtual double | point_vfunc (double x, double y, int cx, int cy, GnomeCanvasItem **actual_item) |
virtual void | bounds_vfunc (double *x1, double *y1, double *x2, double *y2) |
Glib::SignalProxy1< bool, GdkEvent * > | signal_event () |
Group * | get_parent_group () |
const Group * | get_parent_group () const |
Glib::PropertyProxy< Group * > | property_parent () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. More... | |
Glib::PropertyProxy_ReadOnly < Group * > | property_parent () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. More... | |
Related Functions | |
(Note that these are not member functions.) | |
Gnome::Canvas::Widget * | wrap (GnomeCanvasWidget *object, bool take_copy=false) |
A Glib::wrap() method for this object. More... | |
![]() | |
Gnome::Canvas::Item * | wrap (GnomeCanvasItem *object, bool take_copy=false) |
A Glib::wrap() method for this object. More... | |
Additional Inherited Members | |
![]() | |
virtual bool | on_event (GdkEvent *p1) |
void | item_construct (Group &group) |
void | item_construct (Group &group, const gchar *first_arg_name, va_list ap) |
void | set (const gchar *first_arg_name,...) |
void | request_update () |
To be used only by item implementations. More... | |
void | reset_bounds () |
Resets the bounding box of a canvas item to an empty rectangle. More... | |
void | update_svp (ArtSVP **p_svp, ArtSVP *new_svp) |
Sets the svp to the new value, requesting repaint on what's changed. More... | |
void | update_svp_clip (ArtSVP **p_svp, ArtSVP *new_svp, ArtSVP *clip_svp) |
Sets the svp to the new value, clipping if necessary, and requesting repaint on what's changed. More... | |
void | request_redraw_svp (const ArtSVP *svp) |
Request redraw of the svp if in aa mode, or the entire item in in xlib mode. More... | |
void | update_bbox (int x1, int y1, int x2, int y2) |
Sets the bbox to the new value, requesting full repaint. More... | |
|
virtual |
Gnome::Canvas::Widget::Widget | ( | Group & | parent, |
double | x, | ||
double | y, | ||
Gtk::Widget & | w | ||
) |
|
explicit |
|
inline |
Provides access to the underlying C GtkObject.
|
inline |
Provides access to the underlying C GtkObject.
Glib::PropertyProxy<Gtk::AnchorType> Gnome::Canvas::Widget::property_anchor | ( | ) |
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<Gtk::AnchorType> Gnome::Canvas::Widget::property_anchor | ( | ) | const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<double> Gnome::Canvas::Widget::property_height | ( | ) |
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<double> Gnome::Canvas::Widget::property_height | ( | ) | const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<bool> Gnome::Canvas::Widget::property_size_pixels | ( | ) |
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<bool> Gnome::Canvas::Widget::property_size_pixels | ( | ) | const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<Gtk::Widget*> Gnome::Canvas::Widget::property_widget | ( | ) |
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<Gtk::Widget*> Gnome::Canvas::Widget::property_widget | ( | ) | const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<double> Gnome::Canvas::Widget::property_width | ( | ) |
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<double> Gnome::Canvas::Widget::property_width | ( | ) | const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<double> Gnome::Canvas::Widget::property_x | ( | ) |
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<double> Gnome::Canvas::Widget::property_x | ( | ) | const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<double> Gnome::Canvas::Widget::property_y | ( | ) |
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<double> Gnome::Canvas::Widget::property_y | ( | ) | const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
related |
A Glib::wrap() method for this object.
object | The C instance. |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |