Logo Search packages:      
Sourcecode: ardour version File versions  Download package


// -*- c++ -*-
//  Generated by gtkmmproc from ./../arrow.gen_h -- DO NOT MODIFY!
#ifndef _GTKMM_ARROW_H
#define _GTKMM_ARROW_H

/* $Id: arrow.h,v 1.2 2003/06/17 16:37:40 pbd Exp $ */

/* arrow.h
 * Copyright (C) 1998-1999 The Gtk-- Development Team
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * Library General Public License for more details.
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the Free
 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

#include <gtk--/misc.h>
#include <gtk/gtkarrow.h>

namespace Gtk {
class Arrow;
class Arrow_Class;
namespace Gtk { Gtk::Arrow *wrap (GtkArrow *o); }
namespace Gtk
//: Produces an arrow pointing in one of the four cardinal directions.
//- 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.
class Arrow : public Misc {

  typedef Arrow          CppObjectType;
  typedef Arrow_Class    CppClassType;
  typedef GtkArrow           BaseObjectType;
  typedef GtkArrowClass      BaseClassType;

  friend class Arrow_Class;
  static CppClassType arrow_class;

  Arrow(const Arrow&);
  Arrow& operator=(const Arrow&); // not implemented

  void   initialize_class();
  explicit Arrow(GtkArrow *castitem);

  static GtkType get_type();
  GtkArrow* gtkobj()             { return (GtkArrow*)(gtkobject); }
  const GtkArrow* gtkobj() const { return (GtkArrow*)(gtkobject); }
  static bool isA(Object *checkcast);

  // Hook for proxies
  static const char* const signal_names[];

  virtual ~Arrow();



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

  //: Changes the direction and shadow of an arrow.

  void set(GtkArrowType arrow_type,GtkShadowType shadow_type);


  // impl functions



//+ PROPERTIES(Gtk_Arrow)
//. name: arrow_type
//. type: gint16
//. get:
//. set: {set()}
//. desc: Specifies which direction the arrow will point.
//. Possible Values: {\enum GTK_ARROW_UP}, {\enum GTK_ARROW_DOWN},
//.  {\enum  GTK_ARROW_LEFT}, {\enum GTK_ARROW_RIGHT}

//. name: shadow_type
//. type: gint16
//. get:
//. set: {set()}
//. desc: Specifies which direction the arrow will point.
//. Possible Values:
//.   {\enum GTK_SHADOW_IN}, {\enum GTK_SHADOW_OUT}


Generated by  Doxygen 1.6.0   Back to index