Gtk2::CellRendererText font issue
- From: Chas Owens <alas wilma widomaker com>
- To: gtk-perl-list <gtk-perl-list gnome org>
- Subject: Gtk2::CellRendererText font issue
- Date: Fri, 2 May 2003 14:29:06 -0400 (EDT)
I have set the font for a Gtk2::TreeView by saying
my $list = Gtk2::TreeView->new($store);
my $renderer = Gtk2::CellRendererText->new;
$renderer->set("editable", 1);
$renderer->set("font", "Monospace 20");
my $i;
for my $col (@cols) {
$list->append_column(
Gtk2::TreeViewColumn->new_with_attributes(
$col,
$renderer,
text => $i++
)
);
}
and it works. Or at least it works until I go to edit a cell. Then the font drops back to original size.
When I am finished editing it jumps back. Is there some way to set the font size for editing?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]