FSpot.MainWindow.HandlePossibleTagTyping C# (CSharp) Method

HandlePossibleTagTyping() public method

public HandlePossibleTagTyping ( object sender, Gtk args ) : void
sender object
args Gtk
return void
		public void HandlePossibleTagTyping (object sender, Gtk.KeyPressEventArgs args)
		{
			if (Selection.Count == 0 || tagbar.Visible && tag_entry.HasFocus)
				return;

			if (args.Event.Key != Gdk.Key.t)
				return;

			tagbar.Show ();
			UpdateTagEntryFromSelection ();
			tag_entry.GrabFocus ();
			tag_entry.SelectRegion (-1, -1);
		}
MainWindow