| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
Another nice thing you can do with a pixmap or better a pixmask is defining your own shape for widgets or whole windows. This means you can have can have a button with rounded corners or a window with "holes" in it by using the shape_combine_mask method of GtkWidget.
The XPM specification allows the use of symbolic color names
in the xpm. For example, if your pixmap should display a symbol of a button, the
button could have the real button colors: light shadow, dark
shadow and the normal flat surface color. The only thing you would have to do
is writing something like this:
Unfortunately, the Gtk, unlike CDE, does not support symbolic color names. So you cannot use them unless you define your own names and write a function which replaces the symbolic names by real colors. |
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「Other things you can do with pixmaps」をGoogle検索
|