Go to the source code of this file.
Detailed Description
Function Documentation
- Parameters:
-
- Returns:
- image size height
Return the height of a specific image size.
- Parameters:
-
- Returns:
- image size width
Return the width of a specific image size.
- Parameters:
-
stock_id | stock name |
label | button text |
- Returns:
- a visible GtkButton widget
Create a GtkButton widget with a stock image and custom label text.
- Parameters:
-
stock_id | stock name |
label | button text |
- Returns:
- a visible widget suitable as GtkButton child
This function does the same as gxk_stock_button() except for creating the actual button. The button's child is instead returned to the caller, this might e.g. be useful if a button is created containing multiple children which are shown only selectively during runtime.
- Parameters:
-
- Returns:
- this stock_id's pixbuf (or NULL for invalid stock ids)
Return the pixbuf associated with stock_id, the pixbuf is owned by the stock system and persists throughout runtime. To display stock icons in widgets use gxk_stock_image() and not this pixbuf.
- Parameters:
-
stock_id | a valid stock icon name |
- Returns:
- a window showing the stock icon
Create a window displaying a stock icon which is transparent according to the icon's alpha mask. Such windows are mostly useful to implement drag-and-drop operations with stock icons.
GtkWidget* gxk_stock_image |
( |
const gchar * |
stock_icon_id, |
|
|
GtkIconSize |
icon_size |
|
) |
| |
- Parameters:
-
stock_icon_id | stock name |
icon_size | image size |
- Returns:
- a visible GtkImage widget or NULL
Create a GtkImage widget with a stock image of a certain size, or return NULL if the image doesn't exist. The returned image widget correctly displays the stock icon, honouring prelight and sensitivity state of the widget.
- Parameters:
-
Register a new stock icon from an inlined pixbuf. The inlined pixbuf pixels are not copied, so the caller must make sure for the data to remain valid.
- Parameters:
-
Register a new stock item. The new stock item item->stock_id is registered with an item label of item->label and the stock icon item->stock_fallback. If item->label is NULL, item->stock_fallback must not be NULL, and item->stock_id becomes merely an alias of item->stock_fallback.