ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] gtk: paint widgets, not primitives
@ 2004-04-13 16:29 Vitaly Ostanin
  0 siblings, 0 replies; only message in thread
From: Vitaly Ostanin @ 2004-04-13 16:29 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 518 bytes --]

Hello, All!

Все виденные мною примеры CellRenderer используют при отрисовке 
графические примитивы (paint_layout, paint_check, paint_polygon...).

А можно ли отрисовывать в on_render содержимое виджета? Например, 
в GtkTextView есть вся нужная функциональность (корректное 
расположение и отрисовка текста и графики), а вот как его 
рисовать в on_render - неясно.

textview.show() его не показывает, и правильно делает, т.к. 
виджет никуда не пакуется.

-- 
Regards, Vyt
mailto:  vyt@vzljot.ru
JID:     vyt@vzljot.ru

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-04-13 16:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-13 16:29 [devel] gtk: paint widgets, not primitives Vitaly Ostanin

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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