[gtkada] Problem using a gtk-sheet

jf Menon jean-francois.menon at meteo.fr
Mon May 9 15:26:16 CEST 2005


Hello ,

I try to use the gtk-sheet widget in read-only mode. I would like to 
make disappear the cell with the focus that have  a bold border.
The ony way that seems to be convenient for this purpose is in the file 
gtk-extra-sheet.ads :


   ----------------
   -- Enum types --
   ----------------

   --  <doc_ignore>
   type Sheet_Attr_Type is
     (Sheet_Foreground,
      Sheet_Background,
      Sheet_Font,
      Sheet_Justification,
      Sheet_Border,
      Sheet_Border_Color,
      Sheet_Is_Editable,
      Sheet_Is_Visible);
   --  Attributes that can be set for the sheet.
   --  No function is provided at the Ada level to modify these attributes
   --  directly.
   pragma Convention (C, Sheet_Attr_Type);
   --  </doc_ignore>

Is there a way to set the attribute "Sheet_Is_Editable" to False ?

thank you,


jfm





More information about the gtkada mailing list