Skip to content

Instantly share code, notes, and snippets.

@codebrainz
Created November 10, 2013 20:03
Show Gist options
  • Save codebrainz/7403171 to your computer and use it in GitHub Desktop.
Save codebrainz/7403171 to your computer and use it in GitHub Desktop.
Another geanyobject.vala since the previous gist doesn't work.
using Gtk;
namespace Geany
{
public class Object : GLib.Object
{
// Document signals
public signal void document_new(Document doc);
public signal void document_open(Document doc);
public signal void document_reload(Document doc);
public signal void document_before_save(Document doc);
public signal void document_save(Document doc);
public signal void document_filetype_set(Document doc, Filetype ft);
public signal void document_activate(Document doc);
public signal void document_close(Document doc);
// Project signals
public signal void project_open(KeyFile kf);
public signal void project_save(KeyFile kf);
public signal void project_close();
public signal void project_dialog_open(Notebook nb);
public signal void project_dialog_confirmed(Notebook nb);
public signal void project_dialog_close(Notebook nb);
// Editor signals
public signal void update_editor_menu(string word, int pos, Document doc);
public signal bool editor_notify(Editor ed, SCNotification nt);
// General signals
public signal void geany_startup_complete();
public signal void build_start();
// Internal signals
public signal void save_settings(KeyFile kf);
public signal void load_settings(KeyFile kf);
}
public Geany.Object object;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment