|
List Info
Thread: Bug with GtkCellRendererToggle?
|
|
| Bug with GtkCellRendererToggle? |

|
2006-04-19 13:10:55 |
While developing an example Eagle application
(http://code.gustavobarbieri.com.br/eagle/examples/
vareditor.py) that
uses GtkTreeView and
GtkCellRendererToggle I noticed that it doesn't work as
expected.
At first I thought it was a bug with my software/library and
asserted
it was not the case, code is all right and it works on my
desktop.
Then after some research, Gaim port to Maemo also show the
same
problem, in the Accounts window.
So I want to confirm if this is a bug, a know bug, wont-fix,
...
--
Gustavo Sverzut Barbieri
--------------------------------------
Jabber: barbieri gmail.com
MSN: barbieri gmail.com
ICQ#: 17249123
Skype: gsbarbieri
Mobile: +55 (81) 9927 0010
Phone: +1 (347) 624 6296; 08122692 sip.stanaphone.com
GPG: 0xB640E1A2 wwwkeys.pgp.net
_______________________________________________
maemo-developers mailing list
maemo-developers maemo.org
h
ttps://maemo.org/mailman/listinfo/maemo-developers
|
|
| Bug with GtkCellRendererToggle? |

|
2006-04-19 14:34:35 |
> While developing an example Eagle application
> (http://code.gustavobarbieri.com.br/eagle/examples/
vareditor.py)
> that uses GtkTreeView and GtkCellRendererToggle I
noticed that
> it doesn't work as expected.
There are several bugs in bugzilla about gtk widget
rendering problems,
one of which is blocking the most recent release of
gpe-calendar. There
is also at least one bug related GrkTreeView. I didn't
find anything
about GrkCellRendererToggle, although I didn't look very
hard.
Searching bugzilla for gtk is a good start. If you have
confirmed a bug
that isn't already reported, report it and attach a
screenshot with some
example code.
Mike
_______________________________________________
maemo-developers mailing list
maemo-developers maemo.org
h
ttps://maemo.org/mailman/listinfo/maemo-developers
|
|
| Bug with GtkCellRendererToggle? |

|
2006-04-19 15:50:15 |
El Miércoles, 19 de Abril de 2006 15:10, Gustavo Sverzut
Barbieri escribió:
> While developing an example Eagle application
> (http://code.gustavobarbieri.com.br/eagle/examples/
vareditor.py) that
> uses GtkTreeView and
> GtkCellRendererToggle I noticed that it doesn't work
as expected.
>
> At first I thought it was a bug with my
software/library and asserted
> it was not the case, code is all right and it works on
my desktop.
>
> Then after some research, Gaim port to Maemo also show
the same
> problem, in the Accounts window.
Let me guess... the GtkCellRendererToogle is toogled when
you click anywhere
on the row? If that's the problem, it's not a bug, it's a
feature (tm). In
fact, it's the default behaviour in Hildon. I have some
code to disable it,
so if that's the problem just drop me a line and I'll
search that code.
Cheers,
Alberto
--
/* Alberto García Hierro (Skyhusker) */
http://www.handhe
lds.org/~skyhusker
_______________________________________________
maemo-developers mailing list
maemo-developers maemo.org
h
ttps://maemo.org/mailman/listinfo/maemo-developers
|
|
| Bug with GtkCellRendererToggle? |

|
2006-04-19 16:18:23 |
On Wed, 2006-04-19 at 17:50 +0200, Alberto GarcÃa Hierro
wrote:
> El Miércoles, 19 de Abril de 2006 15:10, Gustavo
Sverzut Barbieri escribió:
> > While developing an example Eagle application
> > (http://code.gustavobarbieri.com.br/eagle/examples/
vareditor.py) that
> > uses GtkTreeView and
> > GtkCellRendererToggle I noticed that it doesn't
work as expected.
> >
> > At first I thought it was a bug with my
software/library and asserted
> > it was not the case, code is all right and it
works on my desktop.
> >
> > Then after some research, Gaim port to Maemo also
show the same
> > problem, in the Accounts window.
>
> Let me guess... the GtkCellRendererToogle is toogled
when you click anywhere
> on the row? If that's the problem, it's not a bug,
it's a feature (tm). In
> fact, it's the default behaviour in Hildon. I have
some code to disable it,
> so if that's the problem just drop me a line and
I'll search that code.
Disable checkbox-mode:
g_object_set(G_OBJECT(tree_view),
"allow-checkbox-mode", FALSE, NULL);
This should be documented, see
https:
//maemo.org/bugzilla/show_bug.cgi?id=146
Jan Arne Petersen
_______________________________________________
maemo-developers mailing list
maemo-developers maemo.org
h
ttps://maemo.org/mailman/listinfo/maemo-developers
|
|
| Bug with GtkCellRendererToggle? |

|
2006-04-20 01:00:03 |
On 4/19/06, Jan Arne Petersen <maemo jpetersen.org> wrote:
> Disable checkbox-mode:
>
> g_object_set(G_OBJECT(tree_view),
"allow-checkbox-mode", FALSE, NULL);
No it doesn't help and I have an example code to
demonstrate it, see
attached file.
>From that code, Gaim and my library, it seems that
_FIRST_ append'ed
column that have a GtkCellRendererToogle fails, others works
as
expected.
Try the attached code both on your desktop and on 770 and
check it out.
Weird, at least...
--
Gustavo Sverzut Barbieri
--------------------------------------
Jabber: barbieri gmail.com
MSN: barbieri gmail.com
ICQ#: 17249123
Skype: gsbarbieri
Mobile: +55 (81) 9927 0010
Phone: +1 (347) 624 6296; 08122692 sip.stanaphone.com
GPG: 0xB640E1A2 wwwkeys.pgp.net
_______________________________________________
maemo-developers mailing list
maemo-developers maemo.org
h
ttps://maemo.org/mailman/listinfo/maemo-developers
|
|
| Bug with GtkCellRendererToggle? |

|
2006-04-20 14:03:19 |
Hi,
On Wed, 2006-04-19 at 22:00 -0300, Gustavo Sverzut Barbieri
wrote:
> On 4/19/06, Jan Arne Petersen <maemo jpetersen.org> wrote:
> > Disable checkbox-mode:
> >
> > g_object_set(G_OBJECT(tree_view),
"allow-checkbox-mode", FALSE, NULL);
>
> No it doesn't help and I have an example code to
demonstrate it, see
> attached file.
It fixed the problem here. I tried it with the modified
example
(attached).
>
> From that code, Gaim and my library, it seems that
_FIRST_ append'ed
> column that have a GtkCellRendererToogle fails, others
works as
> expected.
That is the maemo checkbox-mode: The first checkbox in a row
is active
if and only if the row is selected.
Regards
Jan Arne Petersen
_______________________________________________
maemo-developers mailing list
maemo-developers maemo.org
h
ttps://maemo.org/mailman/listinfo/maemo-developers
|
|
| Bug with GtkCellRendererToggle? |

|
2006-04-20 22:11:07 |
On 4/20/06, Jan Arne Petersen <maemo jpetersen.org> wrote:
> Hi,
>
> On Wed, 2006-04-19 at 22:00 -0300, Gustavo Sverzut
Barbieri wrote:
> > On 4/19/06, Jan Arne Petersen <maemo jpetersen.org> wrote:
> > > Disable checkbox-mode:
> > >
> > > g_object_set(G_OBJECT(tree_view),
"allow-checkbox-mode", FALSE, NULL);
> >
> > No it doesn't help and I have an example code to
demonstrate it, see
> > attached file.
>
> It fixed the problem here. I tried it with the modified
example
> (attached).
> >
> > From that code, Gaim and my library, it seems that
_FIRST_ append'ed
> > column that have a GtkCellRendererToogle fails,
others works as
> > expected.
>
> That is the maemo checkbox-mode: The first checkbox in
a row is active
> if and only if the row is selected.
Weird enough, it worked this time. I may have mistyped it
before.
Thank you very much! Revision 19 has this fixed!
--
Gustavo Sverzut Barbieri
--------------------------------------
Jabber: barbieri gmail.com
MSN: barbieri gmail.com
ICQ#: 17249123
Skype: gsbarbieri
Mobile: +55 (81) 9927 0010
Phone: +1 (347) 624 6296; 08122692 sip.stanaphone.com
GPG: 0xB640E1A2 wwwkeys.pgp.net
_______________________________________________
maemo-developers mailing list
maemo-developers maemo.org
h
ttps://maemo.org/mailman/listinfo/maemo-developers
|
|
[1-7]
|
|