Class: Wnck::Application
- Inherits:
-
Object
- Object
- Wnck::Application
- Defined in:
- (unknown)
Class Method Summary collapse
-
.get(xwindow) ⇒ Wnck::Application
Gets the Wnck::Application corresponding to the group leader with xwindow as X window ID.
Instance Method Summary collapse
-
#icon ⇒ GdkPixbuf::Pixbuf
Gets the icon to be used for app.
-
#icon_is_fallback ⇒ Boolean
Gets whether a default fallback icon is used for app (because none was set on app).
-
#icon_name ⇒ String
Gets the icon name of app (to be used when app is minimized).
-
#mini_icon ⇒ GdkPixbuf::Pixbuf
Gets the mini-icon to be used for app.
-
#n_windows ⇒ Integer
Gets the number of Wnck::Window belonging to app.
-
#name ⇒ String
Gets the name of app.
-
#pid ⇒ Integer
Gets the process ID of app.
-
#startup_id ⇒ String
Gets the startup sequence ID used for startup notification of app.
-
#windows ⇒ GLib::List<Wnck::Window>
Gets the list of Wnck::Window belonging to app.
-
#xid ⇒ Wnck::gulong
Gets the X window ID of the group leader window for app.
Class Method Details
.get(xwindow) ⇒ Wnck::Application
Gets the Wnck::Application corresponding to the group leader with xwindow as X window ID. xwindow, or nil if there no such Wnck::Application could be found. The returned Wnck::Application is owned by libwnck and must not be referenced or unreferenced.
Instance Method Details
#icon ⇒ GdkPixbuf::Pixbuf
Gets the icon to be used for app. If no icon is set for app, a suboptimal heuristic is used to find an appropriate icon. If no icon was found, a fallback icon is used. reference the returned GdkPixbuf if it needs to keep the icon around.
#icon_is_fallback ⇒ Boolean
Gets whether a default fallback icon is used for app (because none was set on app).
#icon_name ⇒ String
Gets the icon name of app (to be used when app is minimized). Since there is no way to properly find this name, various suboptimal heuristics are used to find it. is available.
#mini_icon ⇒ GdkPixbuf::Pixbuf
Gets the mini-icon to be used for app. If no mini-icon is set for app, a suboptimal heuristic is used to find an appropriate icon. If no mini-icon was found, a fallback mini-icon is used. reference the returned GdkPixbuf if it needs to keep the mini-icon around.
#n_windows ⇒ Integer
Gets the number of Wnck::Window belonging to app.
#name ⇒ String
Gets the name of app. Since there is no way to properly find this name, various suboptimal heuristics are used to find it. GTK+ should probably have a function to allow applications to set the _NET_WM_NAME property on the group leader as the application name, and the EWMH should say that this is where the application name goes.
#pid ⇒ Integer
Gets the process ID of app.
#startup_id ⇒ String
Gets the startup sequence ID used for startup notification of app. or nil if none is available.
#windows ⇒ GLib::List<Wnck::Window>
Gets the list of Wnck::Window belonging to app. Wnck::Window belonging to app, or nil if the application contains no window. The list should not be modified nor freed, as it is owned by app.
#xid ⇒ Wnck::gulong
Gets the X window ID of the group leader window for app.