もし定義されていれば、gdk_imlib がピックスマップの材料に使われる。 これはあなたを大いに助けるだろう。例えば、カラーマップに関することや、 GdkWindow が生成される前にピックスマップのサイズを決める時などである。
If defined, gdk_imlib is used for the pixmap stuff. That will help alot. As well for colormaps, as for determining the size of a pixmap before a GdkWindow is created.
TODO: 私はこれを永遠にこれを定義することはできない。もし定義されていれば、 全てのアプリケーションが gdk_imlib にリンクすることが要求されるからだ。 よって、gdk_imlib があるシステムにインストールされていて、なおかつ gdk_imlib を使うため、LIBS に -lgdk_imlib が含まれているかどうかという チェックを要求するであろう。
TODO: I cannot define this here permanently because it will require, that all apps link against gdk_imlib. We will require a check, if gdk_imlib is installed on the particular system and include -lgdk_imlib in LIBS for that.
struct _GnomeStockPixmapEntryAny GnomeStockPixmapEntryAny |
いくつかの内部の定義
some internal definitions
struct _GnomeStockPixmapWidget GnomeStockPixmapWidget |
the GnomeStockPixmapWidget
GtkPixmap *gnome_stock_pixmap(GtkWidget *window, char *icon, char *subtype);ただ、ピックスマップを入手する
just fetch a pixmap
GtkWidget *window
Not Descripted.
char *icon
Not Descripted.
char *subtype
Not Descripted.
GtkWidget *gnome_stock_pixmap_widget(GtkWidget *window, char *icon);ただ、GnomeStockPixmapWidget を入手する
just fetch a GnomeStockPixmapWidget
GtkWidget *window
Not Descripted.
char *icon
Not Descripted.
gint gnome_stock_pixmap_register(char *icon, char *subtype, GnomeStockPixmapEntry *entry);ピックスマップを登録する。成功したら非ゼロを返す
register a pixmap. returns non-zero, if successful
char *icon
Not Descripted.
char *subtype
Not Descripted.
GnomeStockPixmapEntry *entry
Not Descripted.
gint gnome_stock_pixmap_change(char *icon, char *subtype, GnomeStockPixmapEntry *entry);既に存在するエントリーを変更する。成功したら非ゼロを返す
change an existing entry. returns non-zero on success
char *icon
Not Descripted.
char *subtype
Not Descripted.
GnomeStockPixmapEntry *entry
Not Descripted.
GnomeStockPixmapEntry *gnome_stock_pixmap_checkfor(char *icon, char *subtype);エントリーの存在を調べる。存在すればそのエントリーを返し、 なければ NULL を返す。
check for the existence of an entry. returns the entry if it exists, or NULL otherwise
char *icon
Not Descripted.
char *subtype
Not Descripted.
GtkWidget *gnome_stock_button(char *type);ダイアログ用のデフォルトのボタンウイジェットを返す
returns a default button widget for dialogs
char *type
Not Descripted.
GtkWidget *gnome_stock_menu_item(char *type, char *text);ストックのアイコンとテキスト付きの GtkMenuItem を返す
returns a GtkMenuItem with an stock icon and text
char *type
Not Descripted.
char *text
Not Descripted.