Re: Stocks list



On Tue, 2005-02-22 at 19:03 +0100, Peter Simon wrote:
Hi List,

I can not find the usable stocks' list. Could you tell me where can I find it 
(a dir, an rc file, etc..)?

I've attached three scripts that may be of help.

gtk2-gdk-pixbuf-formats - list the known image formats supported
gtk2-perl-enum          - list the known enums (relies on the POD)
gtk2-perl-stock-id      - list the stock ids

Example usage of the stock id one:

$ gtk2-perl-stock-id
gtk-zoom-out
gtk-zoom-in
gtk-zoom-fit
gtk-zoom-100
...

$ gtk2-perl-stock-id dialog
'dialog' is not a valid Gtk2 Stock ID.
However, 'dialog' is similar to the following IDs:
        gtk-dialog-warning
        gtk-dialog-question
        gtk-dialog-info
        gtk-dialog-error
        gtk-dialog-authentication

-- 
Kevin C. Krinke <kckrinke opendoorsoftware com>
Open Door Software Inc.

Attachment: gtk2-gdk-pixbuf-formats
Description: Perl program

Attachment: gtk2-perl-enum
Description: Perl program

Attachment: gtk2-perl-stock-id
Description: Perl program



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]