Class: Wnck::ClassGroup
- Inherits:
-
Object
- Object
- Wnck::ClassGroup
- Defined in:
- (unknown)
Class Method Summary collapse
-
.get(id) ⇒ Wnck::ClassGroup
Gets the Wnck::ClassGroup corresponding to id.
Instance Method Summary collapse
-
#icon ⇒ GdkPixbuf::Pixbuf
Gets the icon to be used for class_group.
-
#id ⇒ String
Gets the identifier name for class_group.
-
#mini_icon ⇒ GdkPixbuf::Pixbuf
Gets the mini-icon to be used for class_group.
-
#name ⇒ String
Gets an human-readable name for class_group.
-
#res_class ⇒ String
Gets the resource class name for class_group.
-
#windows ⇒ GLib::List<Wnck::Window>
Gets the list of Wnck::Window that are grouped in class_group.
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.
Instance Method Details
#icon ⇒ GdkPixbuf::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.
#id ⇒ String
Gets the identifier name for class_group. This is the resource class for class_group. empty string if the group has no identifier name.
#mini_icon ⇒ GdkPixbuf::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.
#name ⇒ String
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.
#res_class ⇒ String
Gets the resource class name for class_group. empty string if the group has no resource class name.
#windows ⇒ GLib::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.