Exemplo n.º 1
0
    protected virtual void TextView_OnFocused(object o, Gtk.FocusedArgs args)
    {
        // Update the cursor position (line,Col) on the statusbar:

        UpdCursorLocation(((TextView)o).Buffer);
    }
Exemplo n.º 2
0
 /// <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;
 }
Exemplo n.º 3
0
 protected void OnNodeview1Focused(object o, FocusedArgs args)
 {
     Console.Beep();
 }
Exemplo n.º 4
0
 void Widget_Focused(object o, Gtk.FocusedArgs args)
 {
     nativeGrid.BecomeFirstResponder();
 }
Exemplo n.º 5
0
 void Widget_Focused(object o, Gtk.FocusedArgs args)
 {
     nativeGrid.Window.MakeFirstResponder(nativeGrid);
 }