![]() |
![]() |
This is intended for use where a directional arrow (in one of the four cardinal directions) is desired. As such, it has very limited functionality and basically only draws itself in a particular direction and with a particular shadow type.
Gtk::Arrow will fill any space alloted to it, but since it is inherited from Gtk::Misc, it can be padded and/or aligned, to fill exactly the space the programmer desires.
Public Member Functions | ||||
Arrow (ArrowType arrow_type, ShadowType shadow_type) | ||||
Creates an arrow. | ||||
const GtkArrow* | gobj () const | |||
Provides access to the underlying C GtkObject. | ||||
GtkArrow* | gobj () | |||
Provides access to the underlying C GtkObject. | ||||
Glib::PropertyProxy_ReadOnly< ArrowType > | property_arrow_type () const | |||
The direction the arrow should point. | ||||
Glib::PropertyProxy<ArrowType> | property_arrow_type () | |||
The direction the arrow should point. | ||||
Glib::PropertyProxy_ReadOnly< ShadowType > | property_shadow_type () const | |||
Appearance of the shadow surrounding the arrow. | ||||
Glib::PropertyProxy<ShadowType> | property_shadow_type () | |||
Appearance of the shadow surrounding the arrow. | ||||
void | set (ArrowType arrow_type, ShadowType shadow_type) | |||
Sets the direction and shadow of this Arrow. | ||||
virtual | ~Arrow () | |||
Related Functions | ||||
(Note that these are not member functions.) | ||||
Gtk::Arrow* | wrap (GtkArrow* object, bool take_copy=false) | |||
|
virtual Gtk::Arrow::~Arrow | ( | ) | [virtual] |
Gtk::Arrow::Arrow | ( | ArrowType | arrow_type, | |
ShadowType | shadow_type | |||
) | [explicit] |
Creates an arrow.
arrow_type | A Gtk::ArrowType enum describing the arrow direction. | |
shadow_type | A Gtk::ShadowType enum describing the shadow type of the arrow. |
const GtkArrow* Gtk::Arrow::gobj | ( | ) | const [inline] |
GtkArrow* Gtk::Arrow::gobj | ( | ) | [inline] |
Glib::PropertyProxy_ReadOnly<ArrowType> Gtk::Arrow::property_arrow_type | ( | ) | const |
The direction the arrow should point.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<ArrowType> Gtk::Arrow::property_arrow_type | ( | ) |
The direction the arrow should point.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<ShadowType> Gtk::Arrow::property_shadow_type | ( | ) | const |
Appearance of the shadow surrounding the arrow.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<ShadowType> Gtk::Arrow::property_shadow_type | ( | ) |
Appearance of the shadow surrounding the arrow.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
void Gtk::Arrow::set | ( | ArrowType | arrow_type, | |
ShadowType | shadow_type | |||
) |
Sets the direction and shadow of this Arrow.
arrow_type | A Gtk::ArrowType enum describing what arrow type to set this Arrow to. | |
shadow_type | A Gtk::ShadowType enum describing what shadow type to set this Arrow to. |
Gtk::Arrow* wrap | ( | GtkArrow * | object, | |
bool | take_copy = false | |||
) | [related] |
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. |