[gtkada] Window Icons
Rick Duley
30294025 at student.murdoch.edu.au
Thu Jun 2 03:01:36 CEST 2005
Hi Preben
Spot On! The quotes did the trick! Thanks.
I guess, some time, I'll try to get to know Pango. In the meantime, I'll stay
with this little bit. I have enough on my plate at the moment :)
Cheers
-------------------------------------------
"Professional qualitative judgement
consists in knowing the rules
for using (or occasionally breaking)
the rules."
D. Royce Sadler
-------------------------------------------
Rick Duley
Murdoch University
School of Engineering Science
Perth, Western Australia
http://eng.murdoch.edu.au/~rick
aussie : 040 910 6049 .-_|\
o'seas : + 61 40 910 6049 / \
perth *_.-._/
v
Quoting Preben Randhol <randhol+gtkada at pvv.org>:
> 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