comp.lang.ada
 help / color / mirror / Atom feed
* GtkAda Tree_View properties
@ 2007-05-22 11:36 Dr. Adrian Wrigley
  2007-05-22 13:21 ` Dmitry A. Kazakov
  0 siblings, 1 reply; 6+ messages in thread
From: Dr. Adrian Wrigley @ 2007-05-22 11:36 UTC (permalink / raw)


Hi guys!

Sorry this is not strictly a language question, but I figure people
here will know the answer.

Using GtkAda, I was to set properties for a Gtk_Tree_View.

The lines in the widget have rather excessive vertical spacing.
I think if I set "ypad" and/or "vertical-separator" properties,
I could reduce the spacing. (this seems to be a perennial problem
with gtk programs now. I though I had solved it, but it became unsolved)

Can't I set the properties in a gtkrc file? (this had no effect)

Thanks for any input!
--
Adrian

-- Code fragment  GtkAda, gtk2, Linux, GNAT etc.

   procedure RunTrans (Frame   : access Gtk.Frame.Gtk_Frame_Record'Class;
                       Model   : out Gtk_Tree_Store) is

      Tree          : Gtk_Tree_View;
 
   begin

      Gtk_New (Model,
               (Age_Column        => GType_String,
 -- stuff deleted
                Strike_Column     => GType_Boolean,
                Editable_Column   => GType_Boolean,
                Active_Column     => GType_Boolean,
                Foreground_Column => GType_String));

      Gtk_New (Tree, Model);

--  What goes here?
      Set_Property (Tree, "ypad", 0); -- This does not compile

--...
   end RunTrans;




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-05-25 15:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-22 11:36 GtkAda Tree_View properties Dr. Adrian Wrigley
2007-05-22 13:21 ` Dmitry A. Kazakov
2007-05-25  0:05   ` Dr. Adrian Wrigley
2007-05-25  8:01     ` Dmitry A. Kazakov
2007-05-25 14:43       ` petter_fryklund
2007-05-25 15:12         ` Dr. Adrian Wrigley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox