gnome-app-helper.h
- From: "Chris Jones" <chris black-sun co uk>
- To: "Gnome Devel" <gnome-devel-list gnome org>
- Subject: gnome-app-helper.h
- Date: Tue, 9 Nov 1999 01:38:44 -0000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
Just browsing through the API docs for the gnome-app-helper code and I
noticed that while there are macros for GNOMEUIINFO_ITEM_STOCK and
GNOMEUIINFO_ITEM_DATA, there isn't one for people that want to use a
stock pixmap AND pass data to the callback. This is something that
would probably be quite useful, so here it is:
#define GNOMEUIINFO_ITEM_STOCK_DATA(label, tooltip, callback,
user_data, stock_id) \
{ GNOME_APP_UI_ITEM, label, tooltop, (gpointer)callback,
user_data, NULL \
GNOME_APP_PIXMAP_STOCK, stock_id, 0, (GdkModifierType)
0, NULL }
- ---
_____ _ _ _____
| __ | |___ ___| |_ ___| __|_ _ ___ Chris "Ng" Jones
| __ -| | .'| _| '_|___|__ | | | | chris@black-sun.co.uk
|_____|_|__,|___|_,_| |_____|___|_|_| www.black-sun.co.uk
S o f t w a r e
"Linux is beating Windows" - David Cole, Microsoft Executive
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.5.3i for non-commercial use <http://www.pgpi.com>
iQA/AwUBOCd7IphmBipjerS3EQIgGQCfeVVYyE7l6zfliB7pssLgZvjIxLsAn1qC
5mllzBP04zwLpZr2YGWUH+iu
=sCeC
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]