Class Index Cross Index Namespace Index

Class Gtk::Arrow

Arrow widget
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);
Must specify the direction with arrow_type and the shadow with shadow_type.


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);