xtd 0.2.0
Loading...
Searching...
No Matches
xtd::forms::menu_images Class Referencefinal
Inheritance diagram for xtd::forms::menu_images:
xtd::static_object

Definition

Provides a menu images factories for use by a menu control.

Header
#include <xtd/forms/menu_images>
Namespace
xtd::forms
Library
xtd.forms

Public Static Properties

static xtd::drawing::image file_new ()
 File new image object.
 
static xtd::drawing::image file_new (const xtd::string &theme)
 File new image object with specified theme.
 
static xtd::drawing::image file_new (const xtd::drawing::size &size)
 File new image object with specified size.
 
static xtd::drawing::image file_new (const xtd::string &theme, const xtd::drawing::size &size)
 File new image object with specified theme and size.
 
static xtd::drawing::image file_open ()
 File open image object.
 
static xtd::drawing::image file_open (const xtd::string &theme)
 File open image object with specified theme.
 
static xtd::drawing::image file_open (const xtd::drawing::size &size)
 File open image object with specified size.
 
static xtd::drawing::image file_open (const xtd::string &theme, const xtd::drawing::size &size)
 File open image object with specified theme and size.
 
static xtd::drawing::image file_save ()
 File save image object.
 
static xtd::drawing::image file_save (const xtd::string &theme)
 File save image object with specified theme.
 
static xtd::drawing::image file_save (const xtd::drawing::size &size)
 File save image object with specified size.
 
static xtd::drawing::image file_save (const xtd::string &theme, const xtd::drawing::size &size)
 File save image object with specified theme and size.
 
static xtd::drawing::image file_print ()
 File print image object.
 
static xtd::drawing::image file_print (const xtd::string &theme)
 File print image object with specified theme.
 
static xtd::drawing::image file_print (const xtd::drawing::size &size)
 File print image object with specified size.
 
static xtd::drawing::image file_print (const xtd::string &theme, const xtd::drawing::size &size)
 File print image object with specified theme and size.
 
static xtd::drawing::image file_print_preview ()
 File print preview image object.
 
static xtd::drawing::image file_print_preview (const xtd::string &theme)
 File print preview image object with specified theme.
 
static xtd::drawing::image file_print_preview (const xtd::drawing::size &size)
 File print preview image object with specified size.
 
static xtd::drawing::image file_print_preview (const xtd::string &theme, const xtd::drawing::size &size)
 File print preview image object with specified theme and size.
 
static xtd::drawing::image file_exit ()
 File exit image object.
 
static xtd::drawing::image file_exit (const xtd::string &theme)
 File exit image object with specified theme.
 
static xtd::drawing::image file_exit (const xtd::drawing::size &size)
 File exit image object with specified size.
 
static xtd::drawing::image file_exit (const xtd::string &theme, const xtd::drawing::size &size)
 File exit image object with specified theme and size.
 
static xtd::drawing::image edit_undo ()
 Edit undo image object.
 
static xtd::drawing::image edit_undo (const xtd::string &theme)
 Edit undo image object with specified theme.
 
static xtd::drawing::image edit_undo (const xtd::drawing::size &size)
 Edit undoEdit undo image object with specified size.
 
static xtd::drawing::image edit_undo (const xtd::string &theme, const xtd::drawing::size &size)
 Edit undo image object with specified theme and size.
 
static xtd::drawing::image edit_redo ()
 Edit undo image object.
 
static xtd::drawing::image edit_redo (const xtd::string &theme)
 Edit undo image object with specified theme.
 
static xtd::drawing::image edit_redo (const xtd::drawing::size &size)
 Edit undo image object with specified size.
 
static xtd::drawing::image edit_redo (const xtd::string &theme, const xtd::drawing::size &size)
 Edit undo image object with specified theme and size.
 
static xtd::drawing::image edit_cut ()
 Edit cut image object.
 
static xtd::drawing::image edit_cut (const xtd::string &theme)
 Edit cut image object with specified theme.
 
static xtd::drawing::image edit_cut (const xtd::drawing::size &size)
 Edit cut image object with specified size.
 
static xtd::drawing::image edit_cut (const xtd::string &theme, const xtd::drawing::size &size)
 Edit cut image object with specified theme and size.
 
static xtd::drawing::image edit_copy ()
 Edit copy image object.
 
static xtd::drawing::image edit_copy (const xtd::string &theme)
 Edit copy image object with specified theme.
 
static xtd::drawing::image edit_copy (const xtd::drawing::size &size)
 Edit copy image object with specified size.
 
static xtd::drawing::image edit_copy (const xtd::string &theme, const xtd::drawing::size &size)
 Edit copy image object with specified theme and size.
 
static xtd::drawing::image edit_paste ()
 Edit paste image object.
 
static xtd::drawing::image edit_paste (const xtd::string &theme)
 Edit paste image object with specified theme.
 
static xtd::drawing::image edit_paste (const xtd::drawing::size &size)
 Edit paste image object with specified size.
 
static xtd::drawing::image edit_paste (const xtd::string &theme, const xtd::drawing::size &size)
 Edit paste image object with specified theme and size.
 
static xtd::drawing::image view_back ()
 View back image object.
 
static xtd::drawing::image view_back (const xtd::string &theme)
 View back image object with specified theme.
 
static xtd::drawing::image view_back (const xtd::drawing::size &size)
 View back image object with specified size.
 
static xtd::drawing::image view_back (const xtd::string &theme, const xtd::drawing::size &size)
 View back image object with specified theme and size.
 
static xtd::drawing::image view_forward ()
 View forward image object.
 
static xtd::drawing::image view_forward (const xtd::string &theme)
 View forward image object with specified theme.
 
static xtd::drawing::image view_forward (const xtd::drawing::size &size)
 View forward image object with specified size.
 
static xtd::drawing::image view_forward (const xtd::string &theme, const xtd::drawing::size &size)
 View forward image object with specified theme and size.
 
static xtd::drawing::image help_about ()
 Help about image object.
 
static xtd::drawing::image help_about (const xtd::string &theme)
 Help about image object with specified theme.
 
static xtd::drawing::image help_about (const xtd::drawing::size &size)
 Help about image object with specified size.
 
static xtd::drawing::image help_about (const xtd::string &theme, const xtd::drawing::size &size)
 Help about image object with specified theme and size.
 
static xtd::drawing::size size ()
 Gets the height and width of the menu images.
 
static xtd::drawing::image from_name (const xtd::string &name)
 Gets image object with specified name.
 
static xtd::drawing::image from_name (const xtd::string &theme, const xtd::string &name)
 Gets image object with specified theme and name.
 
static xtd::drawing::image from_name (const xtd::string &name, const xtd::drawing::size &size)
 Gets image object with specified name and size.
 
static xtd::drawing::image from_name (const xtd::string &theme, const xtd::string &name, const xtd::drawing::size &size)
 Gets image object with specified theme, name and size.
 

Member Function Documentation

◆ file_new() [1/4]

static xtd::drawing::image xtd::forms::menu_images::file_new ( )
inlinestatic

File new image object.

Returns
A xtd::drawing::image that represent "document-new".

◆ file_new() [2/4]

static xtd::drawing::image xtd::forms::menu_images::file_new ( const xtd::string theme)
inlinestatic

File new image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "document-new".

◆ file_new() [3/4]

static xtd::drawing::image xtd::forms::menu_images::file_new ( const xtd::drawing::size size)
inlinestatic

File new image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "document-new".

◆ file_new() [4/4]

static xtd::drawing::image xtd::forms::menu_images::file_new ( const xtd::string theme,
const xtd::drawing::size size 
)
inlinestatic

File new image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "document-new".

◆ file_open() [1/4]

static xtd::drawing::image xtd::forms::menu_images::file_open ( )
inlinestatic

File open image object.

Returns
A xtd::drawing::image that represent "document-open".

◆ file_open() [2/4]

static xtd::drawing::image xtd::forms::menu_images::file_open ( const xtd::string theme)
inlinestatic

File open image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "document-open".

◆ file_open() [3/4]

static xtd::drawing::image xtd::forms::menu_images::file_open ( const xtd::drawing::size size)
inlinestatic

File open image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "document-open".

◆ file_open() [4/4]

static xtd::drawing::image xtd::forms::menu_images::file_open ( const xtd::string theme,
const xtd::drawing::size size 
)
inlinestatic

File open image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "document-open".

◆ file_save() [1/4]

static xtd::drawing::image xtd::forms::menu_images::file_save ( )
inlinestatic

File save image object.

Returns
A xtd::drawing::image that represent "document-save".

◆ file_save() [2/4]

static xtd::drawing::image xtd::forms::menu_images::file_save ( const xtd::string theme)
inlinestatic

File save image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "document-save".

◆ file_save() [3/4]

static xtd::drawing::image xtd::forms::menu_images::file_save ( const xtd::drawing::size size)
inlinestatic

File save image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "document-save".

◆ file_save() [4/4]

static xtd::drawing::image xtd::forms::menu_images::file_save ( const xtd::string theme,
const xtd::drawing::size size 
)
inlinestatic

File save image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "document-save".

◆ file_print() [1/4]

static xtd::drawing::image xtd::forms::menu_images::file_print ( )
inlinestatic

File print image object.

Returns
A xtd::drawing::image that represent "document-print".

◆ file_print() [2/4]

static xtd::drawing::image xtd::forms::menu_images::file_print ( const xtd::string theme)
inlinestatic

File print image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "document-print".

◆ file_print() [3/4]

static xtd::drawing::image xtd::forms::menu_images::file_print ( const xtd::drawing::size size)
inlinestatic

File print image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "document-print".

◆ file_print() [4/4]

static xtd::drawing::image xtd::forms::menu_images::file_print ( const xtd::string theme,
const xtd::drawing::size size 
)
inlinestatic

File print image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "document-print".

◆ file_print_preview() [1/4]

static xtd::drawing::image xtd::forms::menu_images::file_print_preview ( )
inlinestatic

File print preview image object.

Returns
A xtd::drawing::image that represent "document-print-preview".

◆ file_print_preview() [2/4]

static xtd::drawing::image xtd::forms::menu_images::file_print_preview ( const xtd::string theme)
inlinestatic

File print preview image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "document-print-preview".

◆ file_print_preview() [3/4]

static xtd::drawing::image xtd::forms::menu_images::file_print_preview ( const xtd::drawing::size size)
inlinestatic

File print preview image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "document-print-preview".

◆ file_print_preview() [4/4]

static xtd::drawing::image xtd::forms::menu_images::file_print_preview ( const xtd::string theme,
const xtd::drawing::size size 
)
inlinestatic

File print preview image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "document-print-preview".

◆ file_exit() [1/4]

static xtd::drawing::image xtd::forms::menu_images::file_exit ( )
inlinestatic

File exit image object.

Returns
A xtd::drawing::image that represent "application-exit".

◆ file_exit() [2/4]

static xtd::drawing::image xtd::forms::menu_images::file_exit ( const xtd::string theme)
inlinestatic

File exit image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "application-exit".

◆ file_exit() [3/4]

static xtd::drawing::image xtd::forms::menu_images::file_exit ( const xtd::drawing::size size)
inlinestatic

File exit image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "application-exit".

◆ file_exit() [4/4]

static xtd::drawing::image xtd::forms::menu_images::file_exit ( const xtd::string theme,
const xtd::drawing::size size 
)
inlinestatic

File exit image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "application-exit".

◆ edit_undo() [1/4]

static xtd::drawing::image xtd::forms::menu_images::edit_undo ( )
inlinestatic

Edit undo image object.

Returns
A xtd::drawing::image that represent "edit-undo".

◆ edit_undo() [2/4]

static xtd::drawing::image xtd::forms::menu_images::edit_undo ( const xtd::string theme)
inlinestatic

Edit undo image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "edit-undo".

◆ edit_undo() [3/4]

static xtd::drawing::image xtd::forms::menu_images::edit_undo ( const xtd::drawing::size size)
inlinestatic

Edit undoEdit undo image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "edit-undo".

◆ edit_undo() [4/4]

static xtd::drawing::image xtd::forms::menu_images::edit_undo ( const xtd::string theme,
const xtd::drawing::size size 
)
inlinestatic

Edit undo image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "edit-undo".

◆ edit_redo() [1/4]

static xtd::drawing::image xtd::forms::menu_images::edit_redo ( )
inlinestatic

Edit undo image object.

Returns
A xtd::drawing::image that represent "edit-redo".

◆ edit_redo() [2/4]

static xtd::drawing::image xtd::forms::menu_images::edit_redo ( const xtd::string theme)
inlinestatic

Edit undo image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "edit-redo".

◆ edit_redo() [3/4]

static xtd::drawing::image xtd::forms::menu_images::edit_redo ( const xtd::drawing::size size)
inlinestatic

Edit undo image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "edit-redo".

◆ edit_redo() [4/4]

static xtd::drawing::image xtd::forms::menu_images::edit_redo ( const xtd::string theme,
const xtd::drawing::size size 
)
inlinestatic

Edit undo image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "edit-redo" "edit-redo".

◆ edit_cut() [1/4]

static xtd::drawing::image xtd::forms::menu_images::edit_cut ( )
inlinestatic

Edit cut image object.

Returns
A xtd::drawing::image that represent "edit-cut".

◆ edit_cut() [2/4]

static xtd::drawing::image xtd::forms::menu_images::edit_cut ( const xtd::string theme)
inlinestatic

Edit cut image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "edit-cut".

◆ edit_cut() [3/4]

static xtd::drawing::image xtd::forms::menu_images::edit_cut ( const xtd::drawing::size size)
inlinestatic

Edit cut image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "edit-cut".

◆ edit_cut() [4/4]

static xtd::drawing::image xtd::forms::menu_images::edit_cut ( const xtd::string theme,
const xtd::drawing::size size 
)
inlinestatic

Edit cut image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "edit-cut".

◆ edit_copy() [1/4]

static xtd::drawing::image xtd::forms::menu_images::edit_copy ( )
inlinestatic

Edit copy image object.

Returns
A xtd::drawing::image that represent "edit-copy".

◆ edit_copy() [2/4]

static xtd::drawing::image xtd::forms::menu_images::edit_copy ( const xtd::string theme)
inlinestatic

Edit copy image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "edit-copy".

◆ edit_copy() [3/4]

static xtd::drawing::image xtd::forms::menu_images::edit_copy ( const xtd::drawing::size size)
inlinestatic

Edit copy image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "edit-copy".

◆ edit_copy() [4/4]

static xtd::drawing::image xtd::forms::menu_images::edit_copy ( const xtd::string theme,
const xtd::drawing::size size 
)
inlinestatic

Edit copy image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "edit-copy".

◆ edit_paste() [1/4]

static xtd::drawing::image xtd::forms::menu_images::edit_paste ( )
inlinestatic

Edit paste image object.

Returns
A xtd::drawing::image that represent "edit-paste".

◆ edit_paste() [2/4]

static xtd::drawing::image xtd::forms::menu_images::edit_paste ( const xtd::string theme)
inlinestatic

Edit paste image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "edit-paste".

◆ edit_paste() [3/4]

static xtd::drawing::image xtd::forms::menu_images::edit_paste ( const xtd::drawing::size size)
inlinestatic

Edit paste image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "edit-paste".

◆ edit_paste() [4/4]

static xtd::drawing::image xtd::forms::menu_images::edit_paste ( const xtd::string theme,
const xtd::drawing::size size 
)
inlinestatic

Edit paste image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "edit-paste".

◆ view_back() [1/4]

static xtd::drawing::image xtd::forms::menu_images::view_back ( )
inlinestatic

View back image object.

Returns
A xtd::drawing::image that represent "go-previous".

◆ view_back() [2/4]

static xtd::drawing::image xtd::forms::menu_images::view_back ( const xtd::string theme)
inlinestatic

View back image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "go-previous".

◆ view_back() [3/4]

static xtd::drawing::image xtd::forms::menu_images::view_back ( const xtd::drawing::size size)
inlinestatic

View back image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "go-previous".

◆ view_back() [4/4]

static xtd::drawing::image xtd::forms::menu_images::view_back ( const xtd::string theme,
const xtd::drawing::size size 
)
inlinestatic

View back image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "go-previous".

◆ view_forward() [1/4]

static xtd::drawing::image xtd::forms::menu_images::view_forward ( )
inlinestatic

View forward image object.

Returns
A xtd::drawing::image that represent "go-next".

◆ view_forward() [2/4]

static xtd::drawing::image xtd::forms::menu_images::view_forward ( const xtd::string theme)
inlinestatic

View forward image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "go-next".

◆ view_forward() [3/4]

static xtd::drawing::image xtd::forms::menu_images::view_forward ( const xtd::drawing::size size)
inlinestatic

View forward image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "go-next".

◆ view_forward() [4/4]

static xtd::drawing::image xtd::forms::menu_images::view_forward ( const xtd::string theme,
const xtd::drawing::size size 
)
inlinestatic

View forward image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "go-next".

◆ help_about() [1/4]

static xtd::drawing::image xtd::forms::menu_images::help_about ( )
inlinestatic

Help about image object.

Returns
A xtd::drawing::image that represent "help-about".

◆ help_about() [2/4]

static xtd::drawing::image xtd::forms::menu_images::help_about ( const xtd::string theme)
inlinestatic

Help about image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "help-about".

◆ help_about() [3/4]

static xtd::drawing::image xtd::forms::menu_images::help_about ( const xtd::drawing::size size)
inlinestatic

Help about image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "help-about".

◆ help_about() [4/4]

static xtd::drawing::image xtd::forms::menu_images::help_about ( const xtd::string theme,
const xtd::drawing::size size 
)
inlinestatic

Help about image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "help-about".

◆ size()

static xtd::drawing::size xtd::forms::menu_images::size ( )
inlinestatic

Gets the height and width of the menu images.

Returns
The size that represents the height and width of the menu images in pixels (16 x 16).

◆ from_name() [1/4]

static xtd::drawing::image xtd::forms::menu_images::from_name ( const xtd::string name)
inlinestatic

Gets image object with specified name.

Parameters
namethe image name to get.
Returns
A xtd::drawing::image that represent the specified name.
Remarks
Use xtd::drawing::system_images::context_names to get names by context.

◆ from_name() [2/4]

static xtd::drawing::image xtd::forms::menu_images::from_name ( const xtd::string theme,
const xtd::string name 
)
inlinestatic

Gets image object with specified theme and name.

Parameters
themethe theme name that contains the image to get.
namethe image name to get.
Returns
A xtd::drawing::image that represent the specified name.
Remarks
Use xtd::drawing::system_images::themes to get valid themes.
Use xtd::drawing::system_images::context_names to get valid names by context.

◆ from_name() [3/4]

static xtd::drawing::image xtd::forms::menu_images::from_name ( const xtd::string name,
const xtd::drawing::size size 
)
inlinestatic

Gets image object with specified name and size.

Parameters
namethe image name to get.
sizeThe size that represents the height and width of the button images in pixels.
Returns
A xtd::drawing::image that represent the specified name.
Remarks
Use xtd::drawing::system_images::themes to get valid themes.
Use xtd::drawing::system_images::context_names to get valid names by context.

◆ from_name() [4/4]

static xtd::drawing::image xtd::forms::menu_images::from_name ( const xtd::string theme,
const xtd::string name,
const xtd::drawing::size size 
)
inlinestatic

Gets image object with specified theme, name and size.

Parameters
themethe theme name that contains the image to get.
namethe image name to get.
sizeThe size that represents the height and width of the button images in pixels.
Returns
A xtd::drawing::image that represent the specified name.
Remarks
Use xtd::drawing::system_images::themes to get valid themes.
Use xtd::drawing::system_images::context_names to get valid names by context.

The documentation for this class was generated from the following file: