Thanks Yeti, for all your advices. I could implement my 3168 toggle buttons
successfully, except that Editable cells don't serve the purpose. Anyways
thanks once again for all the support rendered by you.
Have a great day
Laxmi
___
gtk-app-devel-list
]
Sent: Mon 4/10/2006 10:05 AM
To: Sailaxmi korada
Cc: gtk-app-devel-list@gnome.org
Subject: Re: 3000 toggle buttons in a table?
You do not set the renderer "active" property anywhere
except in the toggle_cell callback. Therefore it always
renders *all* the cells in the last state
You do not set the renderer "active" property anywhere
except in the toggle_cell callback. Therefore it always
renders *all* the cells in the last state (active or
inactive) some cell was toggled to. You need either a cell
data func or to use gtk_tree_view_column_new_with_attributes()
to tell th
mp;iter,18,0, -1);
}
gtk_tree_view_append_column(treeView, column);
selection = gtk_tree_view_get_selection(treeView);
gtk_tree_selection_set_mode(selection, GTK_SELECTION_NONE);
gtk_container_add (GTK_CONTAINER(scroll), treeWidget);
gtk_widget_show_all(window);
gtk_main();
retu
On Mon, Apr 10, 2006 at 12:40:12PM +0530, Sailaxmi korada wrote:
>
> Address(label) 1-16 radio buttons(represent the binary value) hex value
>
> Data of 178 rows is filled in the above structure. But now when I'm
> selecting a radio button, all the radio buttons in the same column of 178
> rows
ected. Can anyone help me out
Laxmi
-Original Message-
From: David Necas (Yeti) [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 06, 2006 1:00 PM
To: Sailaxmi korada
Cc: gtk-app-devel-list@gnome.org
Subject: Re: 3000 toggle buttons in a table?
On Thu, Apr 06, 2006 at 12:24:18PM +0530, Saila
On Thu, Apr 06, 2006 at 12:24:18PM +0530, Sailaxmi korada wrote:
> I was trying to fulfill my requirement of 3000 toggle buttons, with list
> store...that was just fantasticBut I'm held up with another
> requirement...it is like this...
> The 16 toggle buttons in a row represent a hex value(
f doing it...
Thanks and Regards
Laxmi
-Original Message-
From: David Necas (Yeti) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 04, 2006 2:10 PM
To: Sailaxmi korada
Cc: gtk-app-devel-list@gnome.org
Subject: Re: 3000 toggle buttons in a table?
On Tue, Apr 04, 2006 at 01:47:10PM +0530
On Tue, Apr 04, 2006 at 01:47:10PM +0530, Sailaxmi korada wrote:
> Why I said Tree view doesn't fit my requirement was, in a row I've to
> display label, 15 toggle buttons, text entry...
> Like this I've to fill the widgets in 178 rows. Displaying label is fine
> with List store...
> But how can I
.
But how can I manage with text entry??
Thanks
Laxmi
-Original Message-
From: David Necas (Yeti) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 04, 2006 12:33 PM
To: Sailaxmi korada
Cc: gtk-app-devel-list@gnome.org
Subject: Re: 3000 toggle buttons in a table?
On Tue, Apr 04, 2006 at 1
On Tue, Apr 04, 2006 at 10:55:08AM +0530, Sailaxmi korada wrote:
>
> Perhaps, my application requires 16 toggle buttons to be placed in each row,
> that represent a hex value. So I need not write 3000 callbacks for them,
> instead with one call back I can manage to calculate the hex value, based
ement. With
this clear picture any suggessions??
Laxmi
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gus Koppel
Sent: Tuesday, April 04, 2006 2:54 AM
To: gtk-app-devel-list@gnome.org
Subject: Re: 3000 toggle buttons in a table?
Tristan Van Berkom wrote:
On Mon, Apr 03, 2006 at 11:23:51PM +0200, Gus Koppel wrote:
>
> On the other hand, filling the visible area of a treeview with 3000
> toggles would still result in suboptimal display performance.
Suboptimal maybe, OTOH if you try the example I attached to
my previous mail, you can see we are now
Tristan Van Berkom wrote:
> Gus Koppel wrote:
> > "Sailaxmi korada " wrote:
> >
> >> My application has to display around 3000 toggle buttons, in 178 rows of a
> >>table. It is taking almost 12 seconds to do so.
> >>
> >> Can you help me out in reducing this time.
> >> Here are the two steps t
On Mon, Apr 03, 2006 at 01:40:25PM -0400, Tristan Van Berkom wrote:
>
> Why not use GtkCellRendererToggle w/ GtkTreeView & GtkListStore ?
>
> Or use a GtkListStore to select your data item and some togglebuttons
> and whatever other control widgets below your treeview (i.e. the single
> toggle bu
Gus Koppel wrote:
"Sailaxmi korada " wrote:
My application has to display around 3000 toggle buttons, in 178 rows of a
table. It is taking almost 12 seconds to do so.
Can you help me out in reducing this time.
Here are the two steps that are consuming maximum time
gtk_button_set_label (G
16 matches
Mail list logo