Re: Implementing a LED-like widget

2005-08-22 Thread Antonio Coralles
Marcus Lundblad wrote: I'm trying to implement a widget simulating a LED. What I have is a widget derived from Gtk::Frame (with style SHADOW_IN). This frame holds a Gtk::DrawingArea (display in the follwing code..) I have the following code intended to turn the inside of the widget yellow (as

Re: Implementing a LED-like widget

2005-08-22 Thread Nickolai Dobrynin
Oops, forgot to CC to everyone. *** Marcus, Can you possibly post more code? In particular, where does the second code fragment reside? Is it called from on_realize() or on_expose_event()? Drawing should normally be done in

TreeView background color of a row

2005-08-22 Thread Nicolas Haller
Good Day all, I use a TreeView to see some informations. I would to know if it's possible to change the color background of an entire row. regards, -- Nicolas Haller ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listin

Implementing a LED-like widget

2005-08-22 Thread Marcus Lundblad
I'm trying to implement a widget simulating a LED. What I have is a widget derived from Gtk::Frame (with style SHADOW_IN). This frame holds a Gtk::DrawingArea (display in the follwing code..) I have the following code intended to turn the inside of the widget yellow (as an example). --

RE: Win32 .pc files

2005-08-22 Thread Foster Gareth
> The value of the prefix entry in the .pc files does not matter on > win32, as pkg-config dynamically changes /target into the root of your > GTK+ installation. > That's worth knowing. > Now, this dynamical change can fail for gtkmm if gtkmm is not > installed with the same root directory as G

RE: Win32 .pc files

2005-08-22 Thread Foster Gareth
> What does this subject have to do with the text that you had > quoted? > Probably bugger all, I just use peoples messages to reply to and change the subject - I forgot to remove the quoted text this time - oops. > I like cave goats when they cross the lakeside path - it helps to ease the malco

Re: Win32 .pc files

2005-08-22 Thread Damon Register
Foster Gareth wrote: I hate to bring this up again, but I still have this issue with the win32 gtk/gtkmm installers. All my .pc files have the path /target/ in them, rather than c:\gtk. I guess I can't answer your question but it is nice to know that I am not the only one who had that problem.

Re: Win32 .pc files

2005-08-22 Thread Cedric Gustin
Hi, The value of the prefix entry in the .pc files does not matter on win32, as pkg-config dynamically changes /target into the root of your GTK+ installation. Now, this dynamical change can fail for gtkmm if gtkmm is not installed with the same root directory as GTK+, say C:\Gtk for GTK+ and C:

Re: column's width

2005-08-22 Thread Bob Caryl
In addition to Armin's answer: You can call Gtk::TreeView::Column::set_min_width and Gtk::TreeView::Column::set_max_width to format your columns' widths. Bob Caryl ga wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi again... I have compiled this example: http://www.gtkmm.org/doc