Marcus Lundblad wrote:
---
desk_indicator.hh:
#include
#include
#ifndef DESK_INDICATOR
#define DESK_INDICATOR
class desk_indicator : public Gtk::Frame {
public:
desk_indicator();
~desk_indicator();
void set_active(bool active =
Marcus Lundblad wrote:
On Tue, 23 Aug 2005, Antonio Coralles wrote:
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
On Tue, 23 Aug 2005, Antonio Coralles wrote:
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 inten
> 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).
>
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
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