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

Re: Cancel Button in a FileSelection + Tooltips on labels



The label widget does not have a window of its own,
so it can't collect events.  Normally those events
are captured by its parent, such as a GtkButton
or GtkMenuItem when dealing with traditional tooltips.
I don't know what you've selected as the label's parent,
but I think you'll need to add an intermediary GtkEventBox
as the label's parent, to collect the events for you.

Hope that helps.
Donna

----- Original Message -----
From: Eric Gavaldo <egavaldo@europe.shiva.com>
To: <gtk-app-devel-list@redhat.com>
Sent: Monday, October 18, 1999 6:00 AM
Subject: Re: Cancel Button in a FileSelection + Tooltips on labels


>
>
> Thanks Erik ... but some concerns:
>
> >> ******* Second Question:
> >> Why tooltips are not working on "non-active" widgets like labels or
> progressbar
> >> ??? I would need it ... How to do ?
>
> >Hmm, I don't know. My user interface intuition tells me because it is not
> >the Right Thing [tm] to do. A label should be self explaining or it
should
> >explain another UI element; if not, you put the wrong text in it. A
> >progressbar without a label explaining what it indicates makes no sense:
> >asking the user to put his mouse on top of it is an example of bad
> >interface design.
> >
> >Try to get a copy of the Sun/AT&T OpenLook style guide: the OpenLook
> >toolkit is old, but the user interface concepts described in it are still
> >valid today. Find a place with old Sun Sparc machines: every developer's
> >kit came with the book, so there should be plenty of them left.
>
> Let me explain a little bit ... I already developped the base program:
it's a
> PPP calls generator/Statistics collector/Data simulator etc... With one
PC, I
> can simulate at least 60 users transfering data & I am now writing the GUI
for
> that:
> SO ... the "monitor" section of the notebook display a HUGE tab of values
(to
> get a global view of the results / stats for each users).
> I've got 1 label for each column to explain what it is about ... But for
> displaying everything on a 800*600 env. the labels are only 3-4 char max.
The
> tooltip were a good way to explain more precisely these 3
"non-comprehensive"
> characters for the common user.
>
> That's why I think this is the only solution !
>
> (for another section of the notebook I use a box with lot of stuff in it
that I
> can go over using a scrollbar .... but for the section of interest, I
absolutely
> need to have all info in one eye shot)
>
> PS: the progress bar was just an example, only label interests me ;-)
>
> Thanks anyway !
> EricG.
>
>
>
>
>
>
>
> --
>          To unsubscribe: mail gtk-app-devel-list-request@redhat.com with
>                        "unsubscribe" as the Subject.
>
> Mailing list concerns should be mailed to <listmaster@redhat.com>
>
>
>



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