Exemple #1
0
    private void MakeTransparentAgain(object obj, Gtk.StyleSetArgs args)
    {
        Gtk.Widget widget = (Gtk.Widget)obj;

        if (visual_is_rgba)
        {
            widget.GdkWindow.Background = Gdk.Color.Zero;
        }
        else
        {
            widget.GdkWindow.SetBackPixmap(null, true);
        }
    }
Exemple #2
0
 private void OnInnerEntryStyleSet (object o, StyleSetArgs args)
 {
     UpdateStyle ();
 }
Exemple #3
0
	void StyleHandler (object obj, StyleSetArgs args)
	{
		if (Style == my_style)
			return;

		my_style = style_widget.Style.Copy ();
		Style = my_style;
		my_style.SetBackgroundGC (StateType.Normal, Style.BaseGC (StateType.Normal));
		Refresh ();
	}
 protected void OnUpButtonStyleSet(object o, StyleSetArgs args)
 {
     //UpdateImageOn(up_button, "");
 }
 protected void OnRemoveButtonStyleSet(object o, StyleSetArgs args)
 {
     //UpdateImageOn(remove_button, "CatEye.UI.Gtk.Widgets.res.remove.png");
 }
 protected void OnFreezeTogglebuttonStyleSet(object o, StyleSetArgs args)
 {
     //UpdateImageOn(freeze_togglebutton, "CatEye.UI.Gtk.Widgets.res.snowflake.png");
 }
 protected void OnEditTogglebuttonStyleSet(object o, StyleSetArgs args)
 {
     //UpdateImageOn(edit_togglebutton, "CatEye.UI.Gtk.Widgets.res.pen.png");
 }
 protected void OnDownButtonStyleSet(object o, StyleSetArgs args)
 {
     //UpdateImageOn(down_button, "CatEye.UI.Gtk.Widgets.res.down.png");
 }
Exemple #9
0
	void BarStyleSet (object obj, StyleSetArgs args)
	{
		bar_style.SetBackgroundGC (StateType.Normal, MainWindow.Style.BackgroundGCs[1]);
	}
Exemple #10
0
		private void OnWidgetStyleSet (object o, StyleSetArgs args)
		{
			RefreshColors ();
		}
    private void MakeTransparentAgain(object obj, Gtk.StyleSetArgs args)
    {
        Gtk.Widget widget = (Gtk.Widget)obj;

        widget.GdkWindow.SetBackPixmap(null, true);
    }
	private void OnStyleSet (object o, StyleSetArgs args) {
		SetGCs();
	}
Exemple #13
0
        private void OnInnerEntryStyleSet(object o, StyleSetArgs args)
        {
            Gdk.Color color = entry.Style.Base(StateType.Normal);
            filter_button.ModifyBg(StateType.Normal, color);
            clear_button.ModifyBg(StateType.Normal, color);

            box.BorderWidth = (uint)entry.Style.XThickness;
        }
Exemple #14
0
 void UpdateStyle(object o = null, StyleSetArgs args = null)
 {
     if (entry != null) {
         ModifyBg (StateType.Normal, entry.Style.Base (StateType.Normal));
         iconClean.ModifyBg (StateType.Normal, entry.Style.Base (StateType.Normal));
         iconFind.ModifyBg (StateType.Normal, entry.Style.Base (StateType.Normal));
     }
 }