| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
GdkGC::backgroundAccess: Read Write
It is not possible to apply a new or existing GdkColor to a GdkGC, because there is no colormap there for the color to reference. You will need to take an existing GdkColormap, either by using gdk::colormap_get_system() or by accessing the colormap property in the existing GdkWindow that most widgets have, and give it a handle. Then you do something like: $gc->background = $colormap->alloc('lime green'); and the color is allocated intelligently. The background color fills the areas not taken up by the foreground color, e.g. the gaps in a dashed line will take the background color. If you don't want this, just don't set this property. |
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「GdkGC::background」をGoogle検索
|