wnckmm  0.1.1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Related Functions | List of all members
Wnck::Application Class Reference

This represents an application. More...

Inherits Object.

Public Member Functions

virtual ~Application ()
 
WnckApplication* gobj ()
 Provides access to the underlying C GObject. More...
 
const WnckApplication* gobj () const
 Provides access to the underlying C GObject. More...
 
gulong get_xid () const
 
std::string get_name () const
 
int get_pid () const
 
int is_icon_fallback () const
 
Glib::RefPtr< Gdk::Pixbuf > get_icon () const
 
Glib::RefPtr< Gdk::Pixbuf > get_mini_icon () const
 
std::string get_startup_id () const
 
Glib::ListHandle< Window* > get_windows () const
 
int get_window_count () const
 
Glib::SignalProxy< void > signal_name_changed ()
 
Glib::SignalProxy< void > signal_icon_changed ()
 

Static Public Member Functions

static GType get_type () G_GNUC_CONST
 Get the GType for this class, for use with the underlying GObject type system. More...
 
static Windowget_for_xid (gulong xid)
 

Protected Member Functions

 Application ()
 
virtual void on_name_changed ()
 This is a default handler for the signal signal_name_changed(). More...
 
virtual void on_icon_changed ()
 This is a default handler for the signal signal_icon_changed(). More...
 

Related Functions

(Note that these are not member functions.)

Wnck::Applicationwrap (WnckApplication* object, bool take_copy=false)
 A Glib::wrap() method for this object. More...
 

Detailed Description

This represents an application.

Constructor & Destructor Documentation

◆ ~Application()

virtual Wnck::Application::~Application ( )
virtual

◆ Application()

Wnck::Application::Application ( )
protected

Member Function Documentation

◆ get_for_xid()

static Window* Wnck::Application::get_for_xid ( gulong  xid)
static

◆ get_icon()

Glib::RefPtr<Gdk::Pixbuf> Wnck::Application::get_icon ( ) const

◆ get_mini_icon()

Glib::RefPtr<Gdk::Pixbuf> Wnck::Application::get_mini_icon ( ) const

◆ get_name()

std::string Wnck::Application::get_name ( ) const

◆ get_pid()

int Wnck::Application::get_pid ( ) const

◆ get_startup_id()

std::string Wnck::Application::get_startup_id ( ) const

◆ get_type()

static GType Wnck::Application::get_type ( )
static

Get the GType for this class, for use with the underlying GObject type system.

◆ get_window_count()

int Wnck::Application::get_window_count ( ) const

◆ get_windows()

Glib::ListHandle<Window*> Wnck::Application::get_windows ( ) const

◆ get_xid()

gulong Wnck::Application::get_xid ( ) const

◆ gobj() [1/2]

WnckApplication* Wnck::Application::gobj ( )
inline

Provides access to the underlying C GObject.

◆ gobj() [2/2]

const WnckApplication* Wnck::Application::gobj ( ) const
inline

Provides access to the underlying C GObject.

◆ is_icon_fallback()

int Wnck::Application::is_icon_fallback ( ) const

◆ on_icon_changed()

virtual void Wnck::Application::on_icon_changed ( )
protectedvirtual

This is a default handler for the signal signal_icon_changed().

◆ on_name_changed()

virtual void Wnck::Application::on_name_changed ( )
protectedvirtual

This is a default handler for the signal signal_name_changed().

◆ signal_icon_changed()

Glib::SignalProxy< void > Wnck::Application::signal_icon_changed ( )
Slot Prototype:
void on_my_icon_changed()

Flags: Run Last

◆ signal_name_changed()

Glib::SignalProxy< void > Wnck::Application::signal_name_changed ( )
Slot Prototype:
void on_my_name_changed()

Flags: Run Last

Friends And Related Function Documentation

◆ wrap()

Wnck::Application* wrap ( WnckApplication *  object,
bool  take_copy = false 
)
related

A Glib::wrap() method for this object.

Parameters
objectThe C instance.
take_copyFalse if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns
A C++ instance that wraps this C instance.

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