protected virtual void TextView_OnFocused(object o, Gtk.FocusedArgs args) { // Update the cursor position (line,Col) on the statusbar: UpdCursorLocation(((TextView)o).Buffer); }
/// <summary> /// When the user 'enters' the position combo box, save the current text value for later. /// </summary> private void OnTitleTextBoxEnter(object sender, FocusedArgs e) { TreeIter iter; if (combobox1.GetActiveIter(out iter)) OriginalText = (string)combobox1.Model.GetValue(iter, 0); else OriginalText = null; }
protected void OnNodeview1Focused(object o, FocusedArgs args) { Console.Beep(); }
void Widget_Focused(object o, Gtk.FocusedArgs args) { nativeGrid.BecomeFirstResponder(); }
void Widget_Focused(object o, Gtk.FocusedArgs args) { nativeGrid.Window.MakeFirstResponder(nativeGrid); }