Re: Problems with GnomeCanvasItem



>  I tred to use the GnomeCanvasItem but the string that I send in the parameter "text" never be 
>  displayed in the canvas.
>  
>  I added this code in the gnome canvas example:
>  setup_item( gnome_canvas_item_new( group,
>  gnome_canvas_text_get_type( ), "x", 100.0, "y", 100.0, "text","Test
>  String" )

You have to specify the "font" argument.  Also, the last argument in
the list should be a NULL.

  Federico



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]