ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Баталов Григорий" <bga@kgok.murmansk.su>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] Отладка GTK-приложений
Date: Tue Nov 20 20:04:14 2001
Message-ID: <20011120201136.73e8001b.bga@kgok.murmansk.su> (raw)
In-Reply-To: <3BFA667B.AEEE514C@altlinux.ru>

Tue, 20 Nov 2001 17:19:39 +0300
Aleksey Novodvorsky <aen@altlinux.ru> писал:

AN> >   SHARE_PATH в программе объявлено как '/usr/local/share/LinPopUp',
AN> >   такой директории нет (видимо, я стер). Непосредственно вызовов
AN> >   gdk_font[set]_load в программе нет.
AN> 
AN> Да, здесь надо разбираться индивидуально.

    Алексей, я обнаружил конструкцию:
-------------------------------
  style = gtk_style_new ();
  style->base[GTK_STATE_NORMAL] = text_bg;
  style->font = gdk_font_load ("fixed"); //это я вставил, помогло

  gtk_widget_set_style (GTK_WIDGET (this_text), style);
-------------------------------

    А не знаете, каким предполагается GtkStyle->font сразу
  после инициализации?
    Если мне придется оставить строку с gdk_font_load,
  то как лучше указывать шрифт (или фонтсет)?

-- 
Баталов Григорий.



      reply	other threads:[~2001-11-20 20:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-20  8:58 "Баталов Григорий"
2001-11-20 10:09 ` AVL
2001-11-20 10:18   ` [mdk-re] Отладка GTK-приложенй Korshunov Ilya
2001-11-21  7:45     ` Alexey Voinov
2001-11-20 14:08   ` [mdk-re] Re: [mdk-re] Отладка GTK-приложений Aleksey Novodvorsky
2001-11-20 16:42     ` [mdk-re] " "Баталов Григорий"
2001-11-20 16:59       ` Aleksey Novodvorsky
2001-11-20 20:04         ` Баталов Григорий [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011120201136.73e8001b.bga@kgok.murmansk.su \
    --to=bga@kgok.murmansk.su \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git