A pointer to the context's default font description. This value must not
be modified or freed
Well, yes. I interpreted this as meaning that I shouldn't modify the
pointer itself.
And yes -- the solution I gave was gtkmm. Glad you found the gtk solution.
I should point out that one thing that
But this doesn't work. What is the right solution of my problem? Finaly I
want make widgets smaller than default widgets, like
toolbox widgets in The GIMP.
void LXDialog::ShrinkWidgetFont(
Gtk::Widget* pCtrl, // [in] Control to shrink the text of
real scale) // [in] scale factor
On Monday 02 March 2009, Garth's KidStuff wrote:
But this doesn't work. What is the right solution of my problem? Finaly I
want make widgets smaller than default widgets, like
toolbox widgets in The GIMP.
void LXDialog::ShrinkWidgetFont(
Gtk::Widget* pCtrl, // [in] Control to shrink
Hi, list.
I've noticed many widgets calculate its base size relying on font sizes (font
size, ascent, descent...) of its pango context. Thus I've tried to change
PangoFontDescription of widgets in this way just after widget creation:
context = gtk_widget_get_pango_context ( wg );
descr1 =