"Michelle Konzack" <[EMAIL PROTECTED]> writes:
> Hello,
>
> Maybe I fing here a GTK (1.2) specialist...
>
> I have some tools (BASH scripts) which use Xdialog and one of
> the tools (picture attached) I use regulary drives me crazy...
>
> The left dialog is run from crontab and it shows the list
> in fixed font but the Date/Time and the phrase are in a TOO BIG
> font.
>
> +---[ '/home/michelle.konzack/.tdnewmsg/gtkrc' ]----------
> |
> | style "tdnewmsg-fixed" {
> | font="-*-fixed-medium-r-normal--9-*-*-*-*-*-iso8859-1"
> | }
> |
> | widget "*GtkCList" style "tdnewmsg-fixed"
> +---------------------------------------------------------
>
> The right dialog is run from a FvwmButton or a menu, where the
> fixed font is ignored but the Date/Time and the phrase is right.
>
> This give me a Arghhhhhhhhhhhhhhhhhh!!!!!!!!!!!!!!!!!
>
> Can anyone give me some hints HOW to setup the Dialog with fixed
> font in the LIST-Box and the small font in the rest of the dialog?
>
> I mean ALWAYS, and not only from crontab OR FvwmButton.
>
> Oh yes, since some weeks I am coding with GTK+2.0 which give me
> other problems... The scalable fonts are TOOOOOOO small and I
> can not make it bigger.
You can't post attachments here.
Put them on the web somewhere and post a link.
I don't think this is an Fvwm question.
I'm not a Gtk expert.
Most of my use is thru Gtk-Perl.
For Gtk1, I used the Gtk preferences dialog to control font size.
For Gtk2, you can also use preference dialogs, but if
you don't want global control you can do this:
my $font_desc = Gtk2::Pango::FontDescription->from_string ("Nimbus bold 8");
$object->modify_font ($font_desc);
(The 8 is the font size.)
--
Dan Espen E-mail: [EMAIL PROTECTED]