Gtk
Image
GetStock
Gtk.Image.GetStock Method
Get the stock item name and size, if this is a stock image
Syntax
public
void
GetStock
(
out
string
stock_id,
out
IconSize
size)
Parameters
stock_id
the stock item name
size
the stock item size, a
Gtk.IconSize
Remarks
If the
Gtk.Image
is displaying a stock image, this method can be used to retrieve the stock item name and the size.
Requirements
Namespace:
Gtk
Assembly:
gtk-sharp (in gtk-sharp.dll)
Since:
Gtk# 2.4