Re: [gtkmm] 3 states check box



thanks: I managed to do it with the inconsistent flag :)

----- Original Message -----
From: "ERDI Gergo" <cactus cactus rulez org>
To: "erwan ancel" <erwan ancel free fr>
Cc: <gtkmm-list gnome org>
Sent: Tuesday, March 25, 2003 5:30 PM
Subject: Re: [gtkmm] 3 states check box


On Tue, 25 Mar 2003, erwan ancel wrote:

> I need a widget like a check box that would have 3 states: checked,
> unchecked, and undefined.

GTK+ 2's checkbutton has an 'inconsistent' flag which if you set you will
get a third state. However, be aware that not all themes implement this
properly.

HTH,
Gergo

--
   .--= ULLA! =---------------------.   `We are not here to give users what
   \     http://cactus.rulez.org     \   they want'  -- RMS, at GUADEC 2001
    `---= cactus cactus rulez org =---'
Miért olyan hosszú szó az, hogy rövidítés?





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