[gtkada] Window Icons

Preben Randhol randhol+gtkada at pvv.org
Tue May 31 08:33:21 CEST 2005


On Tue, May 31, 2005 at 09:02:21AM +0800, Rick Duley wrote:
> Hi folks
> 
> Preben writes that there is a function Set_Icon (to change the Icon in the 
> top
> left corner of a window) somewhere around.  How can I get it?
> 
> Also,  Is there a function to set the font in a GtkDialog?  I am using 
> a Dialog
> to pass information to the User and being able to use Courier or some other
> fixed-width font would allow tabulation.

If the text is in a label then use <tt>your text</tt> and enable markup
on the label:

   Gtk_New (Text_Label, "<tt>Some text</tt>");
   Set_Use_Markup (Text_Label, true);

Preben



More information about the gtkada mailing list