Sophie

Sophie

distrib > Fedora > 15 > x86_64 > by-pkgid > 0d2c760c00774fa1d350bb3c66520f68 > files > 227

GtkAda-doc-2.14.1-4.fc15.noarch.rpm

<?xml version='1.0' encoding='utf-8' />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html><head>
 <title>GtkAda: Gtk.Cell_Renderer_Text</title>
 <link rel='stylesheet' href='gtkada_rm.css' type='text/css'>
 <script src='gtkada_rm.js' type='text/javascript'></script>
</head><body>
<div id='objectName'>
 <span><a href='index.html'><img src='home.png' alt='Toc' title='Table of Contents'/></a> <a href='gallery.html'><img src='gallery.png' alt='Gallery' title='Widgets gallery'/></a>
 <a href='entities.html'><img src='entities.png' alt='Index' title='Global Index'/></a>
 <a href='tree.html'><img src='tree.png' alt='Tree' title='Widgets Inheritance Tree'/></a>
  </span>
Gtk.Cell_Renderer_Text
</div> <!--  objectName -->

<div id='leftSide'>
  <div id='classHierarchy'>
   <h2>Hierarchy</h2>
<ul class='top'>
  <li><img src='childtree.png' alt='_' /><a class='tree' onclick='treetoggle(this)'><img src='treeopen.png' alt='[-]' /></a><a href='glib-object.html'>GObject_Record</a></li><ul>
  <li><img src='childtree2.png' alt='  '/><img src='childtree.png' alt='_' /><a class='tree' onclick='treetoggle(this)'><img src='treeopen.png' alt='[-]' /></a><a href='gtk-object.html'>Gtk_Object_Record</a></li><ul>
  <li><img src='childtree2.png' alt='  '/><img src='childtree2.png' alt='  '/><img src='childtree.png' alt='_' /><a class='tree' onclick='treetoggle(this)'><img src='treeopen.png' alt='[-]' /></a><a href='gtk-cell_renderer.html'>Gtk_Cell_Renderer_Record</a></li><ul>
  <li><img src='childtree2.png' alt='  '/><img src='childtree2.png' alt='  '/><img src='childtree2.png' alt='  '/><img src='childtree.png' alt='_' />Gtk_Cell_Renderer_Text_Record</li></ul>
</ul>
</ul>
</ul>
  </div> <!--  classHierarchy -->

  <div id='navigation'>
   <h2>Navigation</h2>
   <ul>
     <li><a href='#Description' onclick='return switchPage("page1")'>Description</a></li>
     <li><a href='#Types' onclick='return switchPage("page1")'>Types</a></li>
     <li><a href='#Subprograms' onclick='return switchPage("page1")'>Subprograms</a>
       <ul>
        <li><a href='#Subprograms__General' onclick='return switchPage("page1")'>General</a></li>
       </ul>
   </li>
     <li><a href='#Signals' onclick='return switchPage("page2")'>Signals</a></li>
     <li><a href='#Properties' onclick='return switchPage("page3")'>Properties</a></li>
   </ul>
  </div> <!--  navigation -->

</div>  <!--  leftSide -->

<div id='documentation'>
  <ul id='notebook'>
   <li id='tab_page1' class='current'><a href='' onclick='return !switchPage("page1")'>Entities</a></li>
   <li id='tab_page2'><a href='#Signals' onclick='return !switchPage("page2")'>Signals</a></li>
   <li id='tab_page3'><a href='#Properties' onclick='return !switchPage("page3")'>Properties</a></li>
  </ul>  <!-- notebook --> 

  <div id='notebook_page1' class='notebookPage'>
  <a name='Description'></a>
  <div class='description'>
   <h2>Description</h2>
A <a href='gtk-cell_renderer_text.html'>Gtk_Cell_Renderer_Text</a> renders a given text in its cell, using the font,
color and style information provided by its properties. The text will be
ellipsized if it is too long and the ellipsize property allows it.
<p>
If the mode is CELL_RENDERER_MODE_EDITABLE, the <a href='gtk-cell_renderer_text.html'>Gtk_Cell_Renderer_Text</a>
allows to edit its text using an entry.
  </div> <!-- description -->

  <a name='Types'></a>
  <div id='types'>
   <h2>Types</h2>
   <ul>
     <li><a name='Gtk_Cell_Renderer_Text_'></a>
         <div class='profile'><b>type</b> Gtk_Cell_Renderer_Text <b>is</b>
     <b>access</b> <b>all</b> Gtk_Cell_Renderer_Text_Record'Class;</div>
         <div class='comment'></div></li>
     <li><a name='Gtk_Cell_Renderer_Text_Record_'></a>
         <div class='profile'><b>type</b> Gtk_Cell_Renderer_Text_Record <b>is</b>
     <b>new</b> <a href='gtk-cell_renderer.html'>Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record</a> <b>with</b> <b>private</b>;</div>
         <div class='comment'></div></li>
   </ul>
  </div> <!-- types -->

  <a name='Subprograms'> </a>
  <a name='Subprograms__General'> </a>
  <div id='subprograms'>
   <h2>Subprograms</h2>
   <ul>
     <li><a name='Gtk_New_1_'></a>
<div class='profile'><b>procedure</b> <span class='name'>Gtk_New</span> (Widget : <b>out</b> Gtk_Cell_Renderer_Text);</div>
<a name='Initialize_2_'></a>
<div class='profile'><b>procedure</b> <span class='name'>Initialize</span> (Widget : <b>access</b> Gtk_Cell_Renderer_Text_Record'Class);</div>
<div class='comment'>Creates or initializes a new renderer
</div></li>
     <li><a name='Get_Type_3_'></a>
<div class='profile'><b>function</b> <span class='name'>Get_Type</span> <b>return</b> <a href='gtk.html'>Gtk.Gtk_Type</a>;</div>
<div class='comment'>Return the internal value associated with this widget.
</div></li>
     <li><a name='Set_Fixed_Height_From_Font_4_'></a>
<div class='profile'><b>procedure</b> <span class='name'>Set_Fixed_Height_From_Font</span>
  (Renderer       : <b>access</b> Gtk_Cell_Renderer_Text_Record;
   Number_Of_Rows : Gint);</div>
<div class='comment'>Sets the height of a renderer to explicitly be determined by the "font"
and "y_pad" property set on it. Further changes in these properties do
not affect the height, so they must be accompanied by a subsequent call
to this function. Using this function is unflexible, and should really
only be used if calculating the size of a cell is too slow (ie, a
massive number of cells displayed). If number_of_rows is -1, then the
fixed height is unset, and the height is determined by the properties
again.
</div></li>
    </ul>
   </div> <!--  subprograms -->

  </div> <!--  notebook_page1 --> 
  <div id='notebook_page2' class='notebookPage'>
    <a name='Signals'></a>
    <div id='signals'>
      <h2>Signals</h2>
   <ul>
    <li><div class='name'>edited</div>
        <div class='profile'><b>procedure</b> <span class='name'>Handler</span>
     (Widget : <b>access</b> Gtk_Cell_Renderer_Text_Record'Class;
       Path : UTF8_String;
       New_Text : UTF8_String);</div>
        <div class='comment'>  Called when the text has been edited interactively . Note that you
  also need to set the attribute "editable" for users to be able to
  interactively edit the cell. If you want to take into account the
  change, you need to change the value in the model appropriately, for
  instance through a call to Set_Value
<div></li>
   </ul>
    </div> <!-- signals -->
  </div> <!--  notebook_page2 -->

  <div id='notebook_page3' class='notebookPage'>
    <a name='Properties'></a>
    <div class='properties'>
      <h2>Properties</h2>
      <ul>
        <li><div class='name'>Alignment_Property</div>
            <div class='profile'>Enum</div>
            <div class='comment'>How to align the lines
</div></li>
        <li><div class='name'>Attributes_Property</div>
            <div class='profile'>Boxed</div>
            <div class='comment'>A list of style attributes to apply to the text of the renderer
</div></li>
        <li><div class='name'>Background_Gdk_Property</div>
            <div class='profile'>Boxed</div>
            <div class='comment'>Background color as a GdkColor
</div></li>
        <li><div class='name'>Background_Property</div>
            <div class='profile'>String</div>
            <div class='comment'>Background color as a string
</div></li>
        <li><div class='name'>Editable_Property</div>
            <div class='profile'>Boolean</div>
            <div class='comment'>Whether the text can be modified by the user
</div></li>
        <li><div class='name'>Ellipsize_Property</div>
            <div class='profile'>Enum</div>
            <div class='comment'>The preferred place to ellipsize the string,
</div></li>
        <li><div class='name'>Family_Property</div>
            <div class='profile'>String</div>
            <div class='comment'>Name of the font family, e.g. Sans, Helvetica, Times, Monospace
</div></li>
        <li><div class='name'>Font_Desc_Property</div>
            <div class='profile'>Boxed</div>
            <div class='comment'>Font description as a PangoFontDescription struct
</div></li>
        <li><div class='name'>Font_Property</div>
            <div class='profile'>String</div>
            <div class='comment'>Font description as a string
</div></li>
        <li><div class='name'>Foreground_Gdk_Property</div>
            <div class='profile'>Boxed</div>
            <div class='comment'>Foreground color as a GdkColor
</div></li>
        <li><div class='name'>Foreground_Property</div>
            <div class='profile'>String</div>
            <div class='comment'>Foreground color as a string
</div></li>
        <li><div class='name'>Language_Property</div>
            <div class='profile'>String</div>
            <div class='comment'>The language this text is in, as an ISO code.
</div></li>
        <li><div class='name'>Markup_Property</div>
            <div class='profile'>String</div>
            <div class='comment'>Marked up text to render
</div></li>
        <li><div class='name'>Rise_Property</div>
            <div class='profile'>Int</div>
            <div class='comment'>Offset of text above the baseline
</div></li>
        <li><div class='name'>Scale_Property</div>
            <div class='profile'>Double</div>
            <div class='comment'>Font scaling factor
</div></li>
        <li><div class='name'>Single_Paragraph_Mode_Property</div>
            <div class='profile'>Boolean</div>
            <div class='comment'>Whether or not to keep all text in a single paragraph
</div></li>
        <li><div class='name'>Size_Points_Property</div>
            <div class='profile'>Double</div>
            <div class='comment'>Font size in points
</div></li>
        <li><div class='name'>Size_Property</div>
            <div class='profile'>Int</div>
            <div class='comment'>Font size
</div></li>
        <li><div class='name'>Stretch_Property</div>
            <div class='profile'>Enum</div>
            <div class='comment'>Font stretch
</div></li>
        <li><div class='name'>Strikethrough_Property</div>
            <div class='profile'>Boolean</div>
            <div class='comment'>Whether to strike through the text
</div></li>
        <li><div class='name'>Style_Property</div>
            <div class='profile'>Enum</div>
            <div class='comment'>Font style
</div></li>
        <li><div class='name'>Text_Property</div>
            <div class='profile'>String</div>
            <div class='comment'>Text to render
</div></li>
        <li><div class='name'>Underline_Property</div>
            <div class='profile'>Enum</div>
            <div class='comment'>Style of underline for this text
</div></li>
        <li><div class='name'>Variant_Property</div>
            <div class='profile'>Enum</div>
            <div class='comment'>Font variant
</div></li>
        <li><div class='name'>Weight_Property</div>
            <div class='profile'>Int</div>
            <div class='comment'>Font weight
</div></li>
        <li><div class='name'>Width_Chars_Property</div>
            <div class='profile'>Int</div>
            <div class='comment'>The desired width of the label, in characters
</div></li>
        <li><div class='name'>Wrap_Mode_Property</div>
            <div class='profile'>Enum</div>
            <div class='comment'>How to break the string into multiple lines,
</div></li>
        <li><div class='name'>Wrap_Width_Property</div>
            <div class='profile'>Int</div>
            <div class='comment'>The width at which the text is wrapped
</div></li>
      </ul>
    </div> <!-- properties -->
  </div> <!-- notebook_page3 -->

</div> <!-- documentation -->

<div id='rightSide'>
 <div id='Index'>
  <h2>Alphabetical Index</h2>
  <ul>
   <li><a href='#Get_Type_3_' onclick='return switchPage("page1")'>Get_Type</a></li>
   <li><a href='#Gtk_New_1_' onclick='return switchPage("page1")'>Gtk_New</a></li>
   <li><a href='#Initialize_2_' onclick='return switchPage("page1")'>Initialize</a></li>
   <li><a href='#Set_Fixed_Height_From_Font_4_' onclick='return switchPage("page1")'>Set_Fixed_Height_From_Font</a></li>
  </ul>
 </div> <!-- Index -->
</div> <!-- rightSide -->

   <script language='javascript'>switchPage('page1');
adjust_height()</script>
 </body>
</html>