Re: Set background color to ToggleButton

2015-11-15 Thread Allin Cottrell
On Tue, 10 Nov 2015, Daniel Peñalba wrote: Hi, I'm writing a simple GTK# application trying to change the background color to a ToggleButton:             ToggleButton firstButton = new ToggleButton ("Push me", targetColor);             firstButton.ModifyBg (StateType.Acti

Set background color to ToggleButton

2015-11-15 Thread Daniel Peñalba
Hi, I'm writing a simple GTK# application trying to change the background color to a ToggleButton:             ToggleButton firstButton = new ToggleButton ("Push me", targetColor);             firstButton.ModifyBg (StateType.Active,

ToggleButton Color Change

2009-09-07 Thread E.R. Uber
I have been successful on Fedora 11 changing a ToggleButton's background color. But the same code on Windows XP does nothing. Is more needed on XP?? My versions of software are: Fedora 11, Glade 3.6.1, PyGTK 2.14.1, GTK 2.16.1 Windows XP, Glade 3.6.7, PyGTK 2.12.1, GTK 2.16.4) The code that works

ToggleButton style

2007-08-22 Thread Diego A. Fons
Sorry for my mistake, here is the rc style file, in case i can help. pixmap_path "/usr/share/pixmaps" style "my-button" { xthickness = 0 ythickness = 0 engine "pixmap" { image { function = BOX state= ACTIVE

ToggleButton style

2007-08-22 Thread Diego A. Fons
Hi everyone, I'm playing with thr RC files to get my own styles, i'm using the pixbuf engine and setting the images for each widget. I could set the style for buttons (GtkButton) but i can't set the style for toggle buttons (GtkToggleButton) neither for radio buttons (GtkRadioButton). The toggl

problem with togglebutton in treeview

2003-06-13 Thread Ottavio Campana
togglebutton it becomes active, but if I click on it other time I cannot make it toggle any more. I can't understand why. I'm attaching the callback, can you please help me? Thank you void on_treeview_clicked (GtkCellRendererToggle *cellrend

Re: ToggleButton

2001-12-14 Thread Paul Davis
> I have a GtkToggleButton where I've inserted a GtkPixmap. It has two >different pixmaps, one for the toggle button being pressed in and >another one for it being raised. > It works fine, but I don't like the "pressed" appearance and since I >use two pixmaps to differentiate between the tw

ToggleButton

2001-12-14 Thread Ignacio Nodal
Hi, I have a GtkToggleButton where I've inserted a GtkPixmap. It has two different pixmaps, one for the toggle button being pressed in and another one for it being raised. It works fine, but I don't like the "pressed" appearance and since I use two pixmaps to differentiate between the tw