Class Index Cross Index Namespace Index

Class Gtk::Arrow

Produces an arrow pointing in one of the four cardinal directions.
Contained in: Gtk
Derived from: Gtk::Misc
Derived by: none

#include <gtk--/arrow.h>


public function member index:

Arrow(GtkArrowType arrow_type, GtkShadowType shadow_type);
GtkArrow* gtkobj();
const GtkArrow* gtkobj() const;
static bool isA(Object* object);
void set(GtkArrowType arrow_type, GtkShadowType shadow_type);
virtual ~Arrow();
 

Description:

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.


Function Member Descriptions:

Gtk::Arrow::Arrow - Creates an arrow.

Arrow(GtkArrowType arrow_type, GtkShadowType shadow_type);
arrow_type: The direction the arrow points. This is one of: GTK_ARROW_UP, GTK_ARROW_DOWN, GTK_ARROW_LEFT, or GTK_ARROW_RIGHT. shadow_type: The style of the arrow. Can be one of: GTK_SHADOW_NONE, GTK_SHADOW_IN, GTK_SHADOW_OUT, GTK_SHADOW_ETCHED_IN, or GTK_SHADOW_ETCHED_OUT.


Gtk::Arrow::gtkobj - Returns the underlaying gtk+ object.

GtkArrow* gtkobj();

Gtk::Arrow::isA - Returns true if object is this type.

static bool isA(Object* object);

Gtk::Arrow::set - Changes the direction and shadow of an arrow.

void set(GtkArrowType arrow_type, GtkShadowType shadow_type);