FoundationsofGTKDevelopment:Appendix D

From 흡혈양파의 번역工房
Jump to navigation Jump to search
부록 D GTK+ 스톡 항목

GTK+ 스톡 항목

스톡 항목은 이미지와 약간의 텍스트를 제공하는 데에 자주 사용되는 항목이다. 이는 메뉴, 툴바, 버튼을 비롯해 여러 장소에서 사용된다. 스톡 문자열은 각 스톡 항목을 식별하기에 충분하지만 편의상 전처리기 매크로가 제공된다.


스톡 항목은 오른쪽에서 왼쪽으로 변형체(right-to-left variant)를 가질 수 있으므로 이를 선호하는 사람들에게 이용할 수 있다. 예를 들자면 GTK_STOCK_GOTO_FIRST, GTK_STOCK_GOTO_LAST, GTK_STOCK_GO_BACK, GTK_STOCK_GO_FORWARD, GTK_STOCK_INDENT, GTK_STOCK_JUMP_TO, GTK_STOCK_MEDIA_FORWARD, GTK_STOCK_MEDIA_NEXT, GTK_STOCK_MEDIA_PLAY, GTK_STOCK_MEDIA_PREVIOUS, GTK_STOCK_REWIND, GTK_STOCK_REDO, GTK_STOCK_REVERT_TO_SAVED, GTK_STOCK_UNDELETE, GTK_STOCK_UNDO, GTK_STOCK_UNINDENT 가 있다.


애플리케이션에서 자신만의 스톡 항목을 등록하는 것도 가능하다. 표 D-1은 GTK+ 2.10 버전부터 이용할 수 있는 98개 항목을 열거하고 있다. 그 중 일부는 GTK+ 2.0 배포판부터 소개되며, 각 항목의 소개 일자도 명시하겠다.

Stock ID Display Introduced
GTK_STOCK_ABOUT
Appendix D stock about 24.png
About
GTK+ 2.6
GTK_STOCK_ADD
Appendix D stock add 24.png
Add
GTK+ 2.0
GTK_STOCK_APPLY
Appendix D stock apply 20.png
Apply
GTK+ 2.0
GTK_STOCK_BOLD
Appendix D stock text bold 24.png
Bold
GTK+ 2.0
GTK_STOCK_CANCEL
Appendix D stock cancel 20.png
Cancel
GTK+ 2.0
GTK_STOCK_CDROM
Appendix D stock cdrom 24.png
CD-Rom
GTK+ 2.0
GTK_STOCK_CLEAR
Appendix D stock clear 24.png
Clear
GTK+ 2.0
GTK_STOCK_CLOSE
Appendix D stock close 24.png
Close
GTK+ 2.0
GTK_STOCK_COLOR_PICKER
Appendix D stock color picker 25.png
Color picker
GTK+ 2.2
GTK_STOCK_CONNECT
Appendix D stock connect 24.png
Connect
GTK+ 2.6
GTK_STOCK_CONVERT
Appendix D stock convert 24.png
Convert
GTK+ 2.0
GTK_STOCK_COPY
Appendix D stock copy 24.png
Copy
GTK+ 2.0
GTK_STOCK_CUT
Appendix D stock cut 24.png
Cut
GTK+ 2.0
GTK_STOCK_DELETE
Appendix D stock trash 24.png
Delete
GTK+ 2.0
GTK_STOCK_DIALOG_AUTHENTICATION
Appendix D stock dialog authentication 48.png
Authentication
GTK+ 2.4
GTK_STOCK_DIALOG_ERROR
Appendix D stock dialog error 48.png
Error
GTK+ 2.0
GTK_STOCK_DIALOG_INFO
Appendix D stock dialog info 48.png
Information
GTK+ 2.0
GTK_STOCK_DIALOG_QUESTION
Appendix D stock dialog question 48.png
Question
GTK+ 2.0
GTK_STOCK_DIALOG_WARNING
Appendix D stock dialog warning 48.png
Warning
GTK+ 2.0
GTK_STOCK_DIRECTORY
Appendix D stock directory 24.png
Directory
GTK+ 2.6
GTK_STOCK_DISCONNECT
Appendix D stock disconnect 24.png
Disconnect
GTK+ 2.6
GTK_STOCK_DND
Appendix D stock dnd 32.png
Drag-And-Drop
GTK+ 2.0
GTK_STOCK_DND_MULTIPLE
Appendix D stock dnd multiple 32.png
Drag-And-Drop multiple
GTK+ 2.0
GTK_STOCK_EDIT
Appendix D stock edit 24.png
Edit
GTK+ 2.6
GTK_STOCK_EXECUTE
Appendix D stock exec 24.png
Execute
GTK+ 2.0
GTK_STOCK_FILE
Appendix D stock file 24.png
File
GTK+ 2.6
GTK_STOCK_FIND
Appendix D stock search 24.png
Find
GTK+ 2.0
GTK_STOCK_FIND_AND_REPLACE
Appendix D stock search replace 24.png
Find and Replace
GTK+ 2.0
GTK_STOCK_FLOPPY
Appendix D stock save 24.png
Floppy
GTK+ 2.0
GTK_STOCK_FULLSCREEN
Appendix D view-fullscreen.png
Fullscreen
GTK+ 2.8
GTK_STOCK_GO_BACK
Appendix D stock left arrow 24.png
Back
GTK+ 2.0
GTK_STOCK_GO_DOWN
Appendix D stock down arrow 24.png
Down
GTK+ 2.0
GTK_STOCK_GO_FORWARD
Appendix D stock right arrow 24.png
Forward
GTK+ 2.0
GTK_STOCK_GO_UP
Appendix D stock up arrow 24.png
Up
GTK+ 2.0
GTK_STOCK_GOTO_BOTTOM
Appendix D stock bottom 24.png
Bottom
GTK+ 2.0
GTK_STOCK_GOTO_FIRST
Appendix D stock first 24.png
First
GTK+ 2.0
GTK_STOCK_GOTO_LAST
Appendix D stock last 24.png
Last
GTK+ 2.0
GTK_STOCK_GOTO_TOP
Appendix D stock top 24.png
Top
GTK+ 2.0
GTK_STOCK_HARDDISK
Appendix D stock harddisk 24.png
Harddisk
GTK+ 2.4
GTK_STOCK_HELP
Appendix D stock help 24.png
Help
GTK+ 2.0
GTK_STOCK_HOME
Appendix D stock home 24.png
Home
GTK+ 2.0
GTK_STOCK_INDENT
Appendix D stock text indent 24.png
Increase Indent
GTK+ 2.4
GTK_STOCK_INDEX
Appendix D stock index 24.png
Index
GTK+ 2.0
GTK_STOCK_INFO
Appendix D gtk-info.png
Information
GTK+ 2.8
GTK_STOCK_ITALIC
Appendix D stock text italic 24.png
Italic
GTK+ 2.0
GTK_STOCK_JUMP_TO
Appendix D stock jump to 24.png
Jump to
GTK+ 2.0
GTK_STOCK_JUSTIFY_CENTER
Appendix D stock align center 24.png
Center
GTK+ 2.0
GTK_STOCK_JUSTIFY_FILL
Appendix D stock align justify 24.png
Fill
GTK+ 2.0
GTK_STOCK_JUSTIFY_LEFT
Appendix D stock align left 24.png
Left
GTK+ 2.0
GTK_STOCK_JUSTIFY_RIGHT
Appendix D stock align right 24.png
Right
GTK+ 2.0
GTK_STOCK_LEAVE_FULLSCREEN
Appendix D gtk-leave-fullscreen.png
Leave Fullscreen
GTK+ 2.8
GTK_STOCK_MEDIA_FORWARD
Appendix D stock media forward 24.png
Forward
GTK+ 2.6
GTK_STOCK_MEDIA_NEXT
Appendix D stock media next 24.png
Next
GTK+ 2.6
GTK_STOCK_MEDIA_PAUSE
Appendix D stock media pause 24.png
Pause
GTK+ 2.6
GTK_STOCK_MEDIA_PLAY
Appendix D stock media play 24.png
Play
GTK+ 2.6
GTK_STOCK_MEDIA_PREVIOUS
Appendix D stock media previous 24.png
Previous
GTK+ 2.6
GTK_STOCK_MEDIA_RECORD
Appendix D stock media record 24.png
Record
GTK+ 2.6
GTK_STOCK_MEDIA_REWIND
Appendix D stock media rewind 24.png
Rewind
GTK+ 2.6
GTK_STOCK_MEDIA_STOP
Appendix D stock media stop 24.png
Stop
GTK+ 2.6
GTK_STOCK_MISSING_IMAGE
Appendix D stock broken image 24.png
Missing Image
GTK+ 2.0
GTK_STOCK_NETWORK
Appendix D stock network 24.png
Network
GTK+ 2.4
GTK_STOCK_NEW
Appendix D stock new 24.png
New
GTK+ 2.0
GTK_STOCK_NO
Appendix D stock no 20.png
No
GTK+ 2.0
GTK_STOCK_OK
Appendix D stock ok 20.png
OK
GTK+ 2.0
GTK_STOCK_OPEN
Appendix D stock open 24.png
Open
GTK+ 2.0
GTK_STOCK_ORIENTATION_LANDSCAPE
Appendix D gtk-orientation-landscape.png
Landscape
GTK+ 2.10
GTK_STOCK_ORIENTATION_PORTRAIT
Appendix D gtk-orientation-portrait.png
Portrait
GTK+ 2.10
GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE
Appendix D gtk-orientation-reverse-landscape.png
Reverse Landscape
GTK+ 2.10
GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT
Appendix D gtk-orientation-reverse-portrait.png
Reverse Portrait
GTK+ 2.10
GTK_STOCK_PASTE
Appendix D stock paste 24.png
Paste
GTK+ 2.0
GTK_STOCK_PREFERENCES
Appendix D stock preferences 24.png
Preferences
GTK+ 2.0
GTK_STOCK_PRINT
Appendix D stock print 24.png
Print
GTK+ 2.0
GTK_STOCK_PRINT_PREVIEW
Appendix D stock print preview 24.png
Print Preview
GTK+ 2.0
GTK_STOCK_PROPERTIES
Appendix D stock properties 24.png
Properties
GTK+ 2.0
GTK_STOCK_QUIT
Appendix D stock exit 24.png
Quit
GTK+ 2.0
GTK_STOCK_REDO
Appendix D stock redo 24.png
Redo
GTK+ 2.0
GTK_STOCK_REFRESH
Appendix D stock refresh 24.png
Refresh
GTK+ 2.0
GTK_STOCK_REMOVE
Appendix D stock remove 24.png
Remove
GTK+ 2.0
GTK_STOCK_REVERT_TO_SAVED
Appendix D stock revert 24.png
Revert
GTK+ 2.0
GTK_STOCK_SAVE
Appendix D stock save 24.png
Save
GTK+ 2.0
GTK_STOCK_SAVE_AS
Appendix D stock save as 24.png
Save As
GTK+ 2.0
GTK_STOCK_SELECT_ALL
Appendix D gtk-select-all.png
Select All
GTK+ 2.10
GTK_STOCK_SELECT_COLOR
Appendix D stock colorselector 24.png
Color
GTK+ 2.0
GTK_STOCK_SELECT_FONT
Appendix D stock font 24.png
Font
GTK+ 2.0
GTK_STOCK_SORT_ASCENDING
Appendix D stock sort ascending 24.png
Ascending
GTK+ 2.0
GTK_STOCK_SORT_DESCENDING
Appendix D stock sort descending 24.png
Descending
GTK+ 2.0
GTK_STOCK_SPELL_CHECK
Appendix D stock spellcheck 24.png
Spell Check
GTK+ 2.0
GTK_STOCK_STOP
Appendix D stock stop 24.png
Stop
GTK+ 2.0
GTK_STOCK_STRIKETHROUGH
Appendix D stock text strikethrough 24.png
Strikethrough
GTK+ 2.0
GTK_STOCK_UNDELETE
Appendix D stock undelete 24.png
Undelete
GTK+ 2.0
GTK_STOCK_UNDERLINE
Appendix D stock text underline 24.png
Underline
GTK+ 2.0
GTK_STOCK_UNDO
Appendix D stock undo 24.png
Undo
GTK+ 2.0
GTK_STOCK_UNINDENT
Appendix D stock text unindent 24.png
Decrease Indent
GTK+ 2.4
GTK_STOCK_YES
Appendix D stock yes 20.png
Yes
GTK+ 2.0
GTK_STOCK_ZOOM_100
Appendix D stock zoom 1 24.png
Normal Size
GTK+ 2.0
GTK_STOCK_ZOOM_FIT
Appendix D stock zoom fit 24.png
Best Fit
GTK+ 2.0
GTK_STOCK_ZOOM_IN
Appendix D stock zoom in 24.png
Zoom In
GTK+ 2.0
GTK_STOCK_ZOOM_OUT
Appendix D stock zoom out 24.png
Zoom Out
GTK+ 2.0
표 D-1. GTK+ 스톡 항목


Notes