protected virtual void OnLocationsGridFocusInEvent(object o, Gtk.FocusInEventArgs args) { tbox_container.Visible = false; btn_AddContainer.Visible = false; btn_RemoveContainer.Visible = false; tbox_Location.Visible = true; btn_AddLocation.Visible = true; btn_RemoveLocation.Visible = true; tbox_item.Visible = false; btn_AddItem.Visible = false; btn_RemoveItem.Visible = false; }
protected virtual void OnItemsGridFocusInEvent(object o, Gtk.FocusInEventArgs args) { if (DataAccess.Instance.SelectedContainer != null) { tbox_container.Visible = false; btn_AddContainer.Visible = false; btn_RemoveContainer.Visible = false; tbox_Location.Visible = false; btn_AddLocation.Visible = false; btn_RemoveLocation.Visible = false; tbox_item.Visible = true; btn_AddItem.Visible = true; btn_RemoveItem.Visible = true; } }
void OnSourceFocusInEvent(object o, FocusInEventArgs args) { IsParallelMode = false; if(OutEntry != null && GetParallelTextFunc != null) { if (String.IsNullOrEmpty (OutEntry.Text)) IsParallelMode = true; else IsParallelMode = OutEntry.Text == GetParallelTextFunc(o); } if(IsParallelMode) { logger.Debug ("Включен режим паралельного редактирования."); OutEntry.ModifyText (StateType.Normal, new Gdk.Color(0, 152, 190)); } }
/// <summary> /// Handle receiving focus by adding accelerators for the popup menu /// </summary> /// <param name="o"></param> /// <param name="args"></param> private void Treeview1_FocusInEvent(object o, FocusInEventArgs args) { (treeview1.Toplevel as Gtk.Window).AddAccelGroup(accel); }
public void MemoTextViewGotFocus(object obj, FocusInEventArgs args) { }
void HandleFocusInEvent (object o, FocusInEventArgs args) { selectionColor = ColorStyle.SelectedText; currentLineColor = ColorStyle.LineMarker; }
protected void ValidateOnFocusInEvent(object o, FocusInEventArgs args) { this.ModifyBase (StateType.Normal); }
private void HandleFontSizeFocusIn(object o, FocusInEventArgs args) { size_combo.ComboBox.Changed -= HandleSizeChanged; temp_size = size_combo.ComboBox.ActiveText; }
protected void OnEntryServerFocusInEvent(object o, FocusInEventArgs args) { if (entryName.Text == entryServer.Text) entryName.ModifyText (StateType.Normal, new Gdk.Color (0, 152, 190)); }
private void OnFocusIn (object o, FocusInEventArgs args) { UpdateLineColStatus(); UpdateOverwriteStatus(); Core.Base.Ui.Menus.SetPasteSensitivity(true); }
// ============================================ // PRIVATE (Methods) Event Handlers // ============================================ private void OnPasswordFocusIn(object obj, FocusInEventArgs args) { Gtk.Application.Invoke(delegate { GUI.Dialogs.Login login = this.nyFolder.LoginDialog; login.Password = BuddyDb.AccountPassword(login.Username); }); }
protected void OnEntryDateFocusInEvent(object o, FocusInEventArgs args) { entryDate.SelectRegion(0,10); }
private void EntryFocusHandler(object sender, FocusInEventArgs args) { _viewportDocumentation.Text = _descriptors [IndexOf (sender)].Documentation; }
private void on_entry_focus_in(object sender, Gtk.FocusInEventArgs args) { QueueDraw(); }
protected virtual void OnEntryFocusInEvent(object o, Gtk.FocusInEventArgs args) { QueueDraw(); }
internal static void EditorFocusIn (object sender, FocusInEventArgs args) { TextEditor editor = (TextEditor)sender; UpdateCaretPosition (editor.Caret); }
protected void OnEntryP1AFocusInEvent(object o, Gtk.FocusInEventArgs args) { entrySelected = (Gtk.Entry)o; }
private void Parent_FocusInEvent(object o, Gtk.FocusInEventArgs args) { _isFocused = true; }
void FilterTextBox_FocusInEvent(object o, FocusInEventArgs args) { SetShowInfo(string.Empty); }
void OnFocusIn(object sender, FocusInEventArgs args) { //get the actual size of the top level window of current widget if (Toplevel.Allocation.Width - 20 > 20) Width = Toplevel.Allocation.Width - 20; SetSizeRequest (Width, Height); //Sets the minimum size of a widget }
/// <summary> /// Handle receiving focus by adding accelerators for the popup menu /// </summary> /// <param name="o"></param> /// <param name="args"></param> private void FocusInEvent(object o, FocusInEventArgs args) { ((o as Widget).Toplevel as Gtk.Window).AddAccelGroup(accel); }
private void Entry_FocusInEvent(object o, Gtk.FocusInEventArgs args) { temp_zoom = PintaCore.Actions.View.ZoomComboBox.ComboBox.ActiveText; }
void HandleFocusInEvent (object o, FocusInEventArgs args) { selectionColor = ColorStyle.SelectedText; }
void HandleParentFocusInEvent (object o, FocusInEventArgs args) { Hide (); }
private void widget_FocusInEvent(object o, FocusInEventArgs args) { if (widget.Toplevel is FormsWindow) { var window = (FormsWindow)widget.Toplevel; window.Decorator.Focused = this; } }