strange font/style behaviour



Hi,

In a gtk perl program I working on, the user can open a new window with a 
Gtk::Text in it.

When changing the Gtk::Text font with:

$text->style->font(Gtk::Gdk::Font->load($font_name));

the Gtk::Text changes its font as expected.  However, the whole application
change its font to the $font_name.

What is even stranger the main window, behind the Text window, changes it fonts 
as it gets redrawed by X11.

This seems to be a bug with gtk, but I could be using fonts in the wrong way.

any clues about why this is happening?


Regards,

Raul Dias



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