Ardour  9.0-pre0-582-g084a23a80d
Gtk::Stock Namespace Reference

Functions

void add (const Gtk::StockItem &item)
 
bool lookup (const Gtk::StockID &stock_id, Gtk::StockItem &item)
 
bool lookup (const Gtk::StockID &stock_id, Gtk::IconSet &iconset)
 
bool lookup (const Gtk::StockID &stock_id, Gtk::IconSize size, Gtk::Image &image)
 
Glib::SListHandle< Gtk::StockID, Gtk::StockID_Traits > get_ids ()
 

Variables

GTKMM_API const Gtk::BuiltinStockID DIALOG_AUTHENTICATION
 
GTKMM_API const Gtk::BuiltinStockID DIALOG_INFO
 
GTKMM_API const Gtk::BuiltinStockID DIALOG_WARNING
 
GTKMM_API const Gtk::BuiltinStockID DIALOG_ERROR
 
GTKMM_API const Gtk::BuiltinStockID DIALOG_QUESTION
 
GTKMM_API const Gtk::BuiltinStockID DND
 
GTKMM_API const Gtk::BuiltinStockID DND_MULTIPLE
 
GTKMM_API const Gtk::BuiltinStockID ABOUT
 
GTKMM_API const Gtk::BuiltinStockID ADD
 
GTKMM_API const Gtk::BuiltinStockID APPLY
 
GTKMM_API const Gtk::BuiltinStockID BOLD
 
GTKMM_API const Gtk::BuiltinStockID CANCEL
 
GTKMM_API const Gtk::BuiltinStockID CAPS_LOCK_WARNING
 
GTKMM_API const Gtk::BuiltinStockID CDROM
 
GTKMM_API const Gtk::BuiltinStockID CLEAR
 
GTKMM_API const Gtk::BuiltinStockID CLOSE
 
GTKMM_API const Gtk::BuiltinStockID COLOR_PICKER
 
GTKMM_API const Gtk::BuiltinStockID CONVERT
 
GTKMM_API const Gtk::BuiltinStockID CONNECT
 
GTKMM_API const Gtk::BuiltinStockID COPY
 
GTKMM_API const Gtk::BuiltinStockID CUT
 
GTKMM_API const Gtk::BuiltinStockID DELETE
 
GTKMM_API const Gtk::BuiltinStockID DIRECTORY
 
GTKMM_API const Gtk::BuiltinStockID DISCARD
 
GTKMM_API const Gtk::BuiltinStockID DISCONNECT
 
GTKMM_API const Gtk::BuiltinStockID EDIT
 
GTKMM_API const Gtk::BuiltinStockID EXECUTE
 
GTKMM_API const Gtk::BuiltinStockID FILE
 
GTKMM_API const Gtk::BuiltinStockID FIND
 
GTKMM_API const Gtk::BuiltinStockID FIND_AND_REPLACE
 
GTKMM_API const Gtk::BuiltinStockID FLOPPY
 
GTKMM_API const Gtk::BuiltinStockID FULLSCREEN
 
GTKMM_API const Gtk::BuiltinStockID LEAVE_FULLSCREEN
 
GTKMM_API const Gtk::BuiltinStockID GOTO_BOTTOM
 
GTKMM_API const Gtk::BuiltinStockID GOTO_FIRST
 
GTKMM_API const Gtk::BuiltinStockID GOTO_LAST
 
GTKMM_API const Gtk::BuiltinStockID GOTO_TOP
 
GTKMM_API const Gtk::BuiltinStockID GO_BACK
 
GTKMM_API const Gtk::BuiltinStockID GO_DOWN
 
GTKMM_API const Gtk::BuiltinStockID GO_FORWARD
 
GTKMM_API const Gtk::BuiltinStockID GO_UP
 
GTKMM_API const Gtk::BuiltinStockID HARDDISK
 
GTKMM_API const Gtk::BuiltinStockID HELP
 
GTKMM_API const Gtk::BuiltinStockID HOME
 
GTKMM_API const Gtk::BuiltinStockID INDEX
 
GTKMM_API const Gtk::BuiltinStockID INFO
 
GTKMM_API const Gtk::BuiltinStockID INDENT
 
GTKMM_API const Gtk::BuiltinStockID UNINDENT
 
GTKMM_API const Gtk::BuiltinStockID ITALIC
 
GTKMM_API const Gtk::BuiltinStockID JUMP_TO
 
GTKMM_API const Gtk::BuiltinStockID JUSTIFY_CENTER
 
GTKMM_API const Gtk::BuiltinStockID JUSTIFY_FILL
 
GTKMM_API const Gtk::BuiltinStockID JUSTIFY_LEFT
 
GTKMM_API const Gtk::BuiltinStockID JUSTIFY_RIGHT
 
GTKMM_API const Gtk::BuiltinStockID MISSING_IMAGE
 
GTKMM_API const Gtk::BuiltinStockID MEDIA_FORWARD
 
GTKMM_API const Gtk::BuiltinStockID MEDIA_NEXT
 
GTKMM_API const Gtk::BuiltinStockID MEDIA_PAUSE
 
GTKMM_API const Gtk::BuiltinStockID MEDIA_PLAY
 
GTKMM_API const Gtk::BuiltinStockID MEDIA_PREVIOUS
 
GTKMM_API const Gtk::BuiltinStockID MEDIA_RECORD
 
GTKMM_API const Gtk::BuiltinStockID MEDIA_REWIND
 
GTKMM_API const Gtk::BuiltinStockID MEDIA_STOP
 
GTKMM_API const Gtk::BuiltinStockID NETWORK
 
GTKMM_API const Gtk::BuiltinStockID NEW
 
GTKMM_API const Gtk::BuiltinStockID NO
 
GTKMM_API const Gtk::BuiltinStockID OK
 
GTKMM_API const Gtk::BuiltinStockID OPEN
 
GTKMM_API const Gtk::BuiltinStockID ORIENTATION_PORTRAIT
 
GTKMM_API const Gtk::BuiltinStockID ORIENTATION_LANDSCAPE
 
GTKMM_API const Gtk::BuiltinStockID ORIENTATION_REVERSE_LANDSCAPE
 
GTKMM_API const Gtk::BuiltinStockID ORIENTATION_REVERSE_PORTRAIT
 
GTKMM_API const Gtk::BuiltinStockID PASTE
 
GTKMM_API const Gtk::BuiltinStockID PREFERENCES
 
GTKMM_API const Gtk::BuiltinStockID PAGE_SETUP
 
GTKMM_API const Gtk::BuiltinStockID PRINT
 
GTKMM_API const Gtk::BuiltinStockID PRINT_ERROR
 
GTKMM_API const Gtk::BuiltinStockID PRINT_PREVIEW
 
GTKMM_API const Gtk::BuiltinStockID PRINT_REPORT
 
GTKMM_API const Gtk::BuiltinStockID PRINT_WARNING
 
GTKMM_API const Gtk::BuiltinStockID PROPERTIES
 
GTKMM_API const Gtk::BuiltinStockID QUIT
 
GTKMM_API const Gtk::BuiltinStockID REDO
 
GTKMM_API const Gtk::BuiltinStockID REFRESH
 
GTKMM_API const Gtk::BuiltinStockID REMOVE
 
GTKMM_API const Gtk::BuiltinStockID REVERT_TO_SAVED
 
GTKMM_API const Gtk::BuiltinStockID SAVE
 
GTKMM_API const Gtk::BuiltinStockID SAVE_AS
 
GTKMM_API const Gtk::BuiltinStockID SELECT_ALL
 
GTKMM_API const Gtk::BuiltinStockID SELECT_COLOR
 
GTKMM_API const Gtk::BuiltinStockID SELECT_FONT
 
GTKMM_API const Gtk::BuiltinStockID SORT_ASCENDING
 
GTKMM_API const Gtk::BuiltinStockID SORT_DESCENDING
 
GTKMM_API const Gtk::BuiltinStockID SPELL_CHECK
 
GTKMM_API const Gtk::BuiltinStockID STOP
 
GTKMM_API const Gtk::BuiltinStockID STRIKETHROUGH
 
GTKMM_API const Gtk::BuiltinStockID UNDELETE
 
GTKMM_API const Gtk::BuiltinStockID UNDERLINE
 
GTKMM_API const Gtk::BuiltinStockID UNDO
 
GTKMM_API const Gtk::BuiltinStockID YES
 
GTKMM_API const Gtk::BuiltinStockID ZOOM_100
 
GTKMM_API const Gtk::BuiltinStockID ZOOM_FIT
 
GTKMM_API const Gtk::BuiltinStockID ZOOM_IN
 
GTKMM_API const Gtk::BuiltinStockID ZOOM_OUT
 

Function Documentation

◆ add()

void Gtk::Stock::add ( const Gtk::StockItem item)

Add a stock item to the list of registered stock items.

Parameters
itemStockItem to register.

If an item already exists with the same stock ID the old item gets replaced.

◆ get_ids()

Glib::SListHandle<Gtk::StockID,Gtk::StockID_Traits> Gtk::Stock::get_ids ( )

Retrieves a list of all known stock IDs added to an IconFactory or registered with Stock::add().

Returns
list of all known stock IDs.

◆ lookup() [1/3]

bool Gtk::Stock::lookup ( const Gtk::StockID stock_id,
Gtk::IconSet iconset 
)

See IconSet::lookup_default()

Parameters
stock_idStockID to search for.
iconsetto fill.
Returns
true if the item was found - false otherwise.

◆ lookup() [2/3]

bool Gtk::Stock::lookup ( const Gtk::StockID stock_id,
Gtk::IconSize  size,
Gtk::Image image 
)

Receive an Image of the registered stock id with the correct size.

Parameters
stock_idStockID to search for.
sizeIconSize of the desired Image.
imageImage to fill.
Returns
true if the item was found - false otherwise

◆ lookup() [3/3]

bool Gtk::Stock::lookup ( const Gtk::StockID stock_id,
Gtk::StockItem item 
)

Fills item with the registered values for stock_id.

Parameters
stock_idStockID to search for.
itemitem to fill in case stockid was found.
Returns
true if the item was found - false otherwise.

Variable Documentation

◆ ABOUT

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::ABOUT
extern

◆ ADD

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::ADD
extern

◆ APPLY

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::APPLY
extern

◆ BOLD

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::BOLD
extern

◆ CANCEL

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::CANCEL
extern

◆ CAPS_LOCK_WARNING

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::CAPS_LOCK_WARNING
extern

◆ CDROM

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::CDROM
extern

◆ CLEAR

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::CLEAR
extern

◆ CLOSE

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::CLOSE
extern

◆ COLOR_PICKER

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::COLOR_PICKER
extern

◆ CONNECT

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::CONNECT
extern

◆ CONVERT

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::CONVERT
extern

◆ COPY

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::COPY
extern

◆ CUT

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::CUT
extern

◆ DELETE

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::DELETE
extern

◆ DIALOG_AUTHENTICATION

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::DIALOG_AUTHENTICATION
extern

◆ DIALOG_ERROR

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::DIALOG_ERROR
extern

◆ DIALOG_INFO

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::DIALOG_INFO
extern

◆ DIALOG_QUESTION

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::DIALOG_QUESTION
extern

◆ DIALOG_WARNING

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::DIALOG_WARNING
extern

◆ DIRECTORY

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::DIRECTORY
extern

◆ DISCARD

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::DISCARD
extern

◆ DISCONNECT

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::DISCONNECT
extern

◆ DND

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::DND
extern

◆ DND_MULTIPLE

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::DND_MULTIPLE
extern

◆ EDIT

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::EDIT
extern

◆ EXECUTE

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::EXECUTE
extern

◆ FILE

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::FILE
extern

◆ FIND

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::FIND
extern

◆ FIND_AND_REPLACE

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::FIND_AND_REPLACE
extern

◆ FLOPPY

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::FLOPPY
extern

◆ FULLSCREEN

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::FULLSCREEN
extern

◆ GO_BACK

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::GO_BACK
extern

left-to-right languages:

right-to-left languages:

◆ GO_DOWN

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::GO_DOWN
extern

◆ GO_FORWARD

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::GO_FORWARD
extern

left-to-right languages:

right-to-left languages:

◆ GO_UP

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::GO_UP
extern

◆ GOTO_BOTTOM

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::GOTO_BOTTOM
extern

◆ GOTO_FIRST

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::GOTO_FIRST
extern

left-to-right languages:

right-to-left languages:

◆ GOTO_LAST

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::GOTO_LAST
extern

left-to-right languages:

right-to-left languages:

◆ GOTO_TOP

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::GOTO_TOP
extern

◆ HARDDISK

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::HARDDISK
extern

◆ HELP

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::HELP
extern

◆ HOME

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::HOME
extern

◆ INDENT

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::INDENT
extern

left-to-right languages:

right-to-left languages:

◆ INDEX

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::INDEX
extern

◆ INFO

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::INFO
extern

◆ ITALIC

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::ITALIC
extern

◆ JUMP_TO

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::JUMP_TO
extern

left-to-right languages:

right-to-left languages:

◆ JUSTIFY_CENTER

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::JUSTIFY_CENTER
extern

◆ JUSTIFY_FILL

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::JUSTIFY_FILL
extern

◆ JUSTIFY_LEFT

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::JUSTIFY_LEFT
extern

◆ JUSTIFY_RIGHT

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::JUSTIFY_RIGHT
extern

◆ LEAVE_FULLSCREEN

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::LEAVE_FULLSCREEN
extern

◆ MEDIA_FORWARD

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::MEDIA_FORWARD
extern

left-to-right languages:

right-to-left languages:

◆ MEDIA_NEXT

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::MEDIA_NEXT
extern

left-to-right languages:

right-to-left languages:

◆ MEDIA_PAUSE

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::MEDIA_PAUSE
extern

◆ MEDIA_PLAY

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::MEDIA_PLAY
extern

left-to-right languages:

right-to-left languages:

◆ MEDIA_PREVIOUS

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::MEDIA_PREVIOUS
extern

left-to-right languages:

right-to-left languages:

◆ MEDIA_RECORD

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::MEDIA_RECORD
extern

◆ MEDIA_REWIND

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::MEDIA_REWIND
extern

left-to-right languages:

right-to-left languages:

◆ MEDIA_STOP

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::MEDIA_STOP
extern

◆ MISSING_IMAGE

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::MISSING_IMAGE
extern

◆ NETWORK

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::NETWORK
extern

◆ NEW

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::NEW
extern

◆ NO

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::NO
extern

◆ OK

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::OK
extern

◆ OPEN

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::OPEN
extern

◆ ORIENTATION_LANDSCAPE

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::ORIENTATION_LANDSCAPE
extern

◆ ORIENTATION_PORTRAIT

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::ORIENTATION_PORTRAIT
extern

◆ ORIENTATION_REVERSE_LANDSCAPE

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::ORIENTATION_REVERSE_LANDSCAPE
extern

◆ ORIENTATION_REVERSE_PORTRAIT

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::ORIENTATION_REVERSE_PORTRAIT
extern

◆ PAGE_SETUP

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::PAGE_SETUP
extern

◆ PASTE

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::PASTE
extern

◆ PREFERENCES

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::PREFERENCES
extern

◆ PRINT

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::PRINT
extern

◆ PRINT_ERROR

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::PRINT_ERROR
extern

◆ PRINT_PREVIEW

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::PRINT_PREVIEW
extern

◆ PRINT_REPORT

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::PRINT_REPORT
extern

◆ PRINT_WARNING

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::PRINT_WARNING
extern

◆ PROPERTIES

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::PROPERTIES
extern

◆ QUIT

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::QUIT
extern

◆ REDO

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::REDO
extern

left-to-right languages:

right-to-left languages:

◆ REFRESH

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::REFRESH
extern

◆ REMOVE

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::REMOVE
extern

◆ REVERT_TO_SAVED

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::REVERT_TO_SAVED
extern

left-to-right languages:

right-to-left languages:

◆ SAVE

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::SAVE
extern

◆ SAVE_AS

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::SAVE_AS
extern

◆ SELECT_ALL

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::SELECT_ALL
extern

◆ SELECT_COLOR

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::SELECT_COLOR
extern

◆ SELECT_FONT

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::SELECT_FONT
extern

◆ SORT_ASCENDING

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::SORT_ASCENDING
extern

◆ SORT_DESCENDING

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::SORT_DESCENDING
extern

◆ SPELL_CHECK

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::SPELL_CHECK
extern

◆ STOP

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::STOP
extern

◆ STRIKETHROUGH

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::STRIKETHROUGH
extern

◆ UNDELETE

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::UNDELETE
extern

left-to-right languages:

right-to-left languages:

◆ UNDERLINE

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::UNDERLINE
extern

◆ UNDO

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::UNDO
extern

left-to-right languages:

right-to-left languages:

◆ UNINDENT

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::UNINDENT
extern

left-to-right languages:

right-to-left languages:

◆ YES

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::YES
extern

◆ ZOOM_100

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::ZOOM_100
extern

◆ ZOOM_FIT

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::ZOOM_FIT
extern

◆ ZOOM_IN

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::ZOOM_IN
extern

◆ ZOOM_OUT

GTKMM_API const Gtk::BuiltinStockID Gtk::Stock::ZOOM_OUT
extern