Re: question about the GtkEventBox and GtkFixed



Benjamin Hintze wrote:
> i have a gtkfixed to contain pixmap-widgets and a table of eventboxes to
> get the events from the gtkfixed. both (the fixed and the 
> eventboxtable) are attached into a big table named gRootTable at the same
> position.
> my problem looks as follows:
>  when i first put the fixed into the gRootTable and then the
> eventboxtable, it overdraws the eventboxes and prevents the eventboxes in
> the table from getting the events.
> 
>  but when i first put the eventboxtable into gRootTable and then the
> fixed, i cannot see the pixmaps which are in the fixed.
> 
> 
> is there a function to make the fixed let through all events and just show
> the contained widgets or is there a function to let the eventboxes let the
> pixmaps 'shine' through the table?

You can't overlay widgets :-( you need to find another way to do this.

What's the effect you are trying to achieve? It sounds like you're 
trying to make a grid of pixmaps which you can click on. Maybe you could 
just use a table of buttons, and put your pixmaps into the buttons?

John



========================================================== 
Aelbert Cuyp 13 February - 12 May 2002 

For information and tickets: 
http://www.nationalgallery.org.uk/exhibitions/cuyp/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]