Logo Search packages:      
Sourcecode: ardour version File versions

Glib::RefPtr< Gdk::Pixbuf > Gtk::Window::get_icon (  ) 

Gets the value set by set_icon() (or if you've called set_icon_list(), gets the first icon in the icon list).

Returns:
Icon for window.

Definition at line 719 of file window.cc.

References gobj().

{

  Glib::RefPtr<Gdk::Pixbuf> retvalue = Glib::wrap(gtk_window_get_icon(gobj()));

  if(retvalue)
    retvalue->reference(); //The function does not do a ref for us.
  return retvalue;
}


Generated by  Doxygen 1.6.0   Back to index