Class

PurpleCommand

unstable since: 3.0

Description [src]

final class Purple.Command : GObject.Object
{
  /* No available fields */
}

An object that represents a command.

See the Commands Overview for more information.

Available since: 3.0

Ancestors

Constructors

purple_command_new

Creates a new command with the given properties.

unstable since: 3.0

Instance methods

purple_command_execute

Emits the PurpleCommand::executed signal.

unstable since: 3.0

purple_command_executev

Emits the PurpleCommand::executed signal.

unstable since: 3.0

purple_command_get_icon_name

Gets the icon name of command.

unstable since: 3.0

purple_command_get_last_used

Gets the last used date time of command.

unstable since: 3.0

purple_command_get_name

Gets the name of the command.

unstable since: 3.0

purple_command_get_priority

Gets the priority of command.

unstable since: 3.0

purple_command_get_source

Gets the source of command.

unstable since: 3.0

purple_command_get_summary

Gets the summary of command.

unstable since: 3.0

purple_command_get_tags

Gets the PurpleTags from command.

unstable since: 3.0

purple_command_get_use_count

Gets the use count of command.

unstable since: 3.0

purple_command_set_icon_name

Sets the icon name of command to icon_name.

unstable since: 3.0

purple_command_set_last_used

Sets the last used time of command to last_used.

unstable since: 3.0

purple_command_set_summary

Sets the summary of command to summary.

unstable since: 3.0

purple_command_set_use_count

Sets the use count of command to use_count.

unstable since: 3.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Purple.Command:icon-name

The icon name for the command.

unstable since: 3.0

Purple.Command:last-used

The date time of when the command was last used.

unstable since: 3.0

Purple.Command:name

The name of the command.

unstable since: 3.0

Purple.Command:priority

The priority for the command.

unstable since: 3.0

Purple.Command:source

The source of the command.

unstable since: 3.0

Purple.Command:summary

A summary of the command.

unstable since: 3.0

Purple.Command:tags

The PurpleTags for the command.

unstable since: 3.0

Purple.Command:use-count

The count of how many times the command has been used.

unstable since: 3.0

Signals

Purple.Command::executed

Emitted when purple_command_execute() is called.

unstable since: 3.0

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct PurpleCommandClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.