Logo Search packages:      
Sourcecode: ardour version File versions

bool Gtk::Window::set_default_icon_from_file ( const std::string &  filename  )  [static]

Sets an icon to be used as fallback for windows that haven't had set_icon_list() called on them from a file on disk. Warns on failure if err is 0.

filename Location of icon file.
true if setting the icon succeeded.
Since: 2.2.

Definition at line 749 of file window.cc.

  GError *error = 0;
  bool retvalue = gtk_window_set_default_icon_from_file(filename.c_str(), &(error));
  if(error) ::Glib::Error::throw_exception(error);
  return retvalue;

Generated by  Doxygen 1.6.0   Back to index