Re: need reminder for irc channel....



Bruno Boettcher said:
but somehow i seem to have lost the info about the irc channel where
some of the people here are lurking !

#gtk-perl on irc.gnome.org.  there's a link on http://gtk2-perl.sf.net/ .


i changed in a table a label to a button.... and have similar problems
as at the time with the labels itself :D

is it possible to apply pango to the text displayed in the button and is
it possible to have the text in the button left aligned and not
centered?

create the button with no string, and then put in a label with whatever you
like e.g.,

 $label = Gtk2::Label->new;
 $label->set_markup ("<big>hi there!</big> isn't this cool?!?");
 $label->set_alignment (0.0, 0.5); # left-aligned
 $button = Gtk2::Button->new;
 $button->add ($label);

-- 
muppet <scott at asofyet dot org>



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