Class: Wnck::ClassGroup

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.get(id) ⇒ Wnck::ClassGroup

Gets the Wnck::ClassGroup corresponding to id. id, or nil if there is no Wnck::ClassGroup with the specified id. The returned Wnck::ClassGroup is owned by libwnck and must not be referenced or unreferenced.

Parameters:

  • id (String)

    identifier name of the sought resource class.

Returns:

Instance Method Details

#iconGdkPixbuf::Pixbuf

Gets the icon to be used for class_group. Since there is no way to properly find the icon, a suboptimal heuristic is used to find it. The icon is the first icon found by looking at all the Wnck::Application for each Wnck::Window in class_group, then at all the #WnckWindow in class_group. If no icon was found, a fallback icon is used. reference the returned GdkPixbuf if it needs to keep the icon around.

Returns:

  • (GdkPixbuf::Pixbuf)

    the icon for class_group. The caller should

#idString

Gets the identifier name for class_group. This is the resource class for class_group. empty string if the group has no identifier name.

Returns:

  • (String)

    the identifier name of class_group, or an

#mini_iconGdkPixbuf::Pixbuf

Gets the mini-icon to be used for class_group. Since there is no way to properly find the mini-icon, the same suboptimal heuristic as the one for wnck_class_group_get_icon() is used to find it. should reference the returned GdkPixbuf if it needs to keep the mini-icon around.

Returns:

  • (GdkPixbuf::Pixbuf)

    the mini-icon for class_group. The caller

#nameString

Gets an human-readable name for class_group. Since there is no way to properly find this name, a suboptimal heuristic is used to find it. The name is the name of all Wnck::Application for each #WnckWindow in class_group if they all have the same name. If all Wnck::Application don't have the same name, the name is the name of all Wnck::Window in class_group if they all have the same name. If all Wnck::Window don't have the same name, the resource class name is used.

Returns:

  • (String)

    an human-readable name for class_group.

#res_classString

Gets the resource class name for class_group. empty string if the group has no resource class name.

Returns:

  • (String)

    the resource class name of class_group, or an

#windowsGLib::List<Wnck::Window>

Gets the list of Wnck::Window that are grouped in class_group. Wnck::Window grouped in class_group, or nil if the group contains no window. The list should not be modified nor freed, as it is owned by class_group.

Returns: