[gtkada] Window Icons

Preben Randhol randhol+gtkada at pvv.org
Wed Jun 1 08:46:07 CEST 2005


On Wed, Jun 01, 2005 at 09:44:39AM +0800, Rick Duley wrote:
> Hi folks
> 
> This is what I am trying to write to a Label:
> 
>       -- Add the text to the label according to the values pass in User_Data.
>       Gtk_New
>         (Analyse60_Confirmation.Analyse60_Confirmation_Label,
>          -(<tt>With_Leader(Word => "Recursive_Search",
>                        Column_Width => 25)

Should be: -("<tt>" & With_Leade ...

>            & Integer'Image(User_Data.ALV_Sample_Size))</tt>);

Should be: )) & "</tt>"));

> Problem seems to be that there is no such thing as a 'Font' attribute
> for a Lable (or any Editable as fas as I can find), yet surely there
> must be a way to use other than the default Font.

No, but you have to write the markup in the text just like in HTML.

I mean Gtk_New (Label, "<tt>some text</tt>");

not

      Gtk_New (Label, <tt>"some text"</tt>); 

Like you try to do.

Preben



More information about the gtkada mailing list