[ruby-gnome2-doc-cvs] [Hiki] update - Gtk::Arrow

Back to archive index

ruby-****@lists***** ruby-****@lists*****
2003年 3月 29日 (土) 03:38:15 JST


-------------------------
REMOTE_ADDR = 211.7.202.36
REMOTE_HOST = 
-------------------------
= class Gtk::Arrow
Gtk::Arrow should be used to draw simple arrows that need to point in one of the four cardinal directions (up, down, left, or right). The style of the arrow can be one of shadow in, shadow out, etched in, or etched out. Note that these directions and style types may be ammended in versions of Gtk to come. 

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. 

Arrows are created with a call to Gtk::Arrow.new. The direction or style of an arrow can be changed after creation by using Gtk::Arrow#set. 

== super class
* Gtk::Misc

== class methods
--- Gtk::Arrow.new(arrow_type, shadow_type)
    Creates a new arrow widget. 
    * arrow_type: a valid ((<GtkArrowType|Gtk::Arrow#GtkArrowType>)).  
    * shadow_type: a valid GtkShadowType.  
    * Returns: the new GtkArrow widget.  

== public instance methods
--- set(arrow_type, shadow_type)
    Sets the direction and style. 
    * arrow_type: a valid GtkArrowType.  
    * shadow_type: a valid GtkShadowType.  
    * Returns: self.  

--- arrow_type
    Returns the arrow_type.
    * Returns: the arrow_type.

--- arrow_type=(arrow_type)
    Sets the arrow_type.
    * arrow_type: a valid GtkArrowType.  
    * Returns: the arrow_type.

--- set_arrow_type(arrow_type)
    Same as arrow_type=.
    * arrow_type: a valid GtkArrowType.  
    * Returns: self.

--- shadow_type
    Returns the shadow_type.
    * Returns: the shadow_type.
    
--- shadow_type=(shadow_type)
    Sets the shadow_type.
    * shadow_type: a valid GtkShadowType.  
    * Returns: the shadow_type.

--- set_shadow_type(shadow_type)
    Same as shadow_type=.
    * shadow_type: a valid GtkShadowType.  
    * Returns: self.

== constants
=== GtkArrowType
--- UP
    Represents an upward pointing arrow. 
--- DOWN
    Represents a downward pointing arrow. 
--- LEFT
    Represents a left pointing arrow. 
--- RIGHT
    Represents a right pointing arrow. 

- ((<Masao>))
-------------------------
= class Gtk::Arrow
Gtk::Arrow should be used to draw simple arrows that need to point in one of the four cardinal directions (up, down, left, or right). The style of the arrow can be one of shadow in, shadow out, etched in, or etched out. Note that these directions and style types may be ammended in versions of Gtk to come. 

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. 

Arrows are created with a call to Gtk::Arrow.new. The direction or style of an arrow can be changed after creation by using Gtk::Arrow#set. 

== super class
* Gtk::Misc

== class methods
--- Gtk::Arrow.new(arrow_type, shadow_type)
    Creates a new arrow widget. 
    * arrow_type: a valid ((<GtkArrowType|Gtk::Arrow#GtkArrowType>)).  
    * shadow_type: a valid ((<GtkShadowType|Gtk#GtkShadowType>)).  
    * Returns: the new Gtk::Arrow widget.  

== public instance methods
--- set(arrow_type, shadow_type)
    Sets the direction and style. 
    * arrow_type: a valid ((<GtkArrowType|Gtk::Arrow#GtkArrowType>)).  
    * shadow_type: a valid ((<GtkShadowType|Gtk#GtkShadowType>)).  
    * Returns: self.  

--- arrow_type
    Returns the arrow_type.
    * Returns: the arrow_type.

--- arrow_type=(arrow_type)
    Sets the arrow_type.
    * arrow_type: a valid ((<GtkArrowType|Gtk::Arrow#GtkArrowType>)).  
    * Returns: the arrow_type.

--- set_arrow_type(arrow_type)
    Same as arrow_type=.
    * arrow_type: a valid ((<GtkArrowType|Gtk::Arrow#GtkArrowType>)).  
    * Returns: self.

--- shadow_type
    Returns the shadow_type.
    * Returns: the shadow_type.
    
--- shadow_type=(shadow_type)
    Sets the shadow_type.
    * shadow_type: a valid ((<GtkShadowType|Gtk#GtkShadowType>)).  
    * Returns: the shadow_type.

--- set_shadow_type(shadow_type)
    Same as shadow_type=.
    * shadow_type: a valid ((<GtkShadowType|Gtk#GtkShadowType>)).  
    * Returns: self.

== constants
=== GtkArrowType
--- UP
    Represents an upward pointing arrow. 
--- DOWN
    Represents a downward pointing arrow. 
--- LEFT
    Represents a left pointing arrow. 
--- RIGHT
    Represents a right pointing arrow. 

- ((<Masao>))



ruby-gnome2-cvs メーリングリストの案内
Back to archive index