Re: how shrink entire GUI?
- From: Gavin Jefferies <gj262 yahoo com>
- To: gtk-list gnome org
- Subject: Re: how shrink entire GUI?
- Date: 18 Mar 2002 11:49:16 -0800
Hi Christian, There may be another more GTK correct way to do this. I
just hacked arround until I found what worked for me. The reason I use
(and like) the rc file aproach is that I have different needs for
different machine displays and this fits. I've never looked at the
graphics context code but it might be what you are looking for.
Gavin
Christian Seberino <seberino spawar navy mil> writes:
> Gavin
>
> Thanks! Can I assume that changing font size is likely
> easiest and most powerful way to change size of
> entire gui?? It would make sense since many widgets
> are resized to fit in their hbox/vbox and the only
> constraint is the font size I think.
>
> Your rc file trick just changed font right? Why
> didn't you set a graphics context to have font
> size you wanted?
>
> Chris
>
> On Fri, Mar 15, 2002 at 09:45:26AM -0800, Gavin Jefferies wrote:
> >
> > I had luck doing the opposite (i.e. expanding) with an RC style file
> > and a default font. This is my PERL code (check the API docs at
> > gtk.org for a C equivalent):
> >
> > my $rcfile = $ENV{'HOME'}."/.emptytree-seedy/rc";
> > Gtk::Rc->parse($rcfile) if (-e $rcfile);
> >
> > And the RC file with a small font:
> >
> > --
> > style "default"
> > {
> > font = "-adobe-helvetica-bold-r-normal--8-*-*-*-*-*-*-*"
> > }
> >
> > widget_class "*" style "default"
> > --
> >
> > Gavin
> >
> > Christian Seberino <seberino spawar navy mil> writes:
> >
> > > With all text and sliders and pixmaps my GUI
> > > is very large. Is there any easy way to
> > > shrink EVERYTHING a little??... smaller fonts, widgets,etc.?
> > >
> > > CS
> > > --
> > > =======================================================
> > > | Dr. Christian Seberino || (619) 553-7940 (office) |
> > > | SPAWARSYSCEN 2363 || (619) 553-2836 (fax) |
> > > | 53560 HULL ST || |
> > > | SAN DIEGO CA 92152-5001 || seberino spawar navy mil |
> > > =======================================================
> > > _______________________________________________
> > > gtk-list mailing list
> > > gtk-list gnome org
> > > http://mail.gnome.org/mailman/listinfo/gtk-list
> >
> > --
> > Gavin Jefferies. gavin at emptytree.com. http://emptytree.com/
> > _______________________________________________
> > gtk-list mailing list
> > gtk-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtk-list
>
> --
> =======================================================
> | Dr. Christian Seberino || (619) 553-7940 (office) |
> | SPAWARSYSCEN 2363 || (619) 553-2836 (fax) |
> | 53560 HULL ST || |
> | SAN DIEGO CA 92152-5001 || seberino spawar navy mil |
> =======================================================
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]