gtk_text



Hello, i'm a newbie with gtk, and i'm a newbie with english too
I use it under windows and visualc and it works perfectly well, however I
would'nt have bet a penny on it :)

Anyway, since i don't have glade i have to write all the code by hand. Today
i came accross a difficulty : I want to draw a text widget, but how can i
determine its dimensions ? i mean its dimensions change when i change the
packing options but i'd like to force it...
Perhaps some sort of container or a fine use of adjustements widgets ?

Moreover when i want to write some text in it, it asks for a gdkfont. But i
don't care, i'd just like to use the default font (which must existe because
i can type something into the widget without any initialization). How should
I do that ?

Thank you





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