static void iconfocused_cb(IntPtr gil, int num) { try { IconList gil_managed = GLib.Object.GetObject(gil, false) as IconList; gil_managed.OnIconFocused(num); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void iconunselected_cb(IntPtr gil, int num, IntPtr evnt) { try { IconList gil_managed = GLib.Object.GetObject(gil, false) as IconList; gil_managed.OnIconUnselected(num, Gdk.Event.GetEvent(evnt)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void togglecursorselection_cb(IntPtr gil) { try { IconList gil_managed = GLib.Object.GetObject(gil, false) as IconList; gil_managed.OnToggleCursorSelection(); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void movecursor_cb(IntPtr gil, int dir, bool clear_selection) { try { IconList gil_managed = GLib.Object.GetObject(gil, false) as IconList; gil_managed.OnMoveCursor((Gtk.DirectionType)dir, clear_selection); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static bool textchanged_cb(IntPtr gil, int num, IntPtr new_text) { try { IconList gil_managed = GLib.Object.GetObject(gil, false) as IconList; return(gil_managed.OnTextChanged(num, GLib.Marshaller.Utf8PtrToString(new_text))); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call doesn't return throw e; } }