Easy quiestion: How would I do to get the width of a canvas text? I have tried this:

gtk_object_get_data (GTK_OBJECT (text), "text_width")

but it always returns NULL. Is this the right function or if not what is the right way? I've looked through the gtk+ docs and lots of source code but I haven't found the answer.


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