RE: 3000 toggle buttons in a table?

2006-04-10 Thread Sailaxmi korada
Hi, I've designed my application like this 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 are getting selected. Can anyone

Re: 3000 toggle buttons in a table?

2006-04-10 Thread David Necas (Yeti)
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

RE: 3000 toggle buttons in a table?

2006-04-10 Thread Sailaxmi korada
The radio buttons are only to improve the look and feel, as the checkbox with a tick looks bit awkward the application. Here is the code. static void toggle_cell(GtkCellRendererToggle *renderer, gchar *path

gtk_text_view again

2006-04-10 Thread Jose Hevia
Hello, I have an app that displays a series of integers into a gtk_text_view, something like: 123 45 67 6785 23 4 45 34 1211 This is displayed into a gtk_paned and I control manually the scrollbar so I only draw th

gtk_text_view again

2006-04-10 Thread Jose Hevia
Hello, I have an app that displays a series of integers into a gtk_text_view, something like: 123 45 67 6785 \n 23 4 45 34 1211 \n This is displayed into a gtk_paned and I control manually the scrollbar so I only dra

Re: Pango help

2006-04-10 Thread John Cupitt
On 4/10/06, nerdy <[EMAIL PROTECTED]> wrote: > In the following code segment, I am displaying a text at a position (50,50) > in a drawing area. For a font size of 24 and family=courier, i am NOT > gettting the message displayed at the exact position (50,50). The starting > of the text is displaced

GTK Image Widget, Inline animation Pixbufs

2006-04-10 Thread Rob Kendrick
Hi, Is it possible to seed a GdkPixbufAnimation from inline data created by gdk-pixbuf-csource? There doesn't appear to be the corresponding function to gdk_pixbuf_from_pixdata(). Also, is it possible to stop an animation being displayed in a GtkImage widget, and restart it later, without replac

Re: GtkTreeView: How do I detect right-click?

2006-04-10 Thread Ang Bodhi
Hi, Guy Rouillier wrote: Ang Bodhi wrote: Hi, I have a GtkTreeView widget that I would like to detect the mouse button right-click, how can I do that? In Gtk 1.2, I used to be able to connect to a button_press_event signal of a GtkTreeItem widget. Did you search archives before posting?

Re: Screen Resolution

2006-04-10 Thread Andreas Stricker
Sandy K wrote: When i add an image in a window, it is displayed properly only in some screen resolution. I have a screen resolution of 1024 * 768. The window is displayed properly in this resolution. But when the resolution is changed to either 800*600 or 640*480, then the window screen goes out

Re: 3000 toggle buttons in a table?

2006-04-10 Thread David Necas (Yeti)
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

RE: 3000 toggle buttons in a table?

2006-04-10 Thread Sai Korada
Thanks for the suggession, and certainly by the end of this week I shall do it perfectly. Afterall its matter of some time to understand the depth of any new language or packageright??? thanks once again for the support regards laxmi ---

Good day list, (buen día lista...)

2006-04-10 Thread Sergio-F Mendoza-Barrera
I google, but i don't find references for my problem. Well 2 put inside a context: I have an app with a number X of sensors, and capture some signals, all signal are processed and combined. And I have a very simple GUI for visualization of some data, i need to update a set of labels, i use so

interactive buttons inside treeview headings

2006-04-10 Thread Stefan Kost
hi list, I've added a couple of (toggle)-buttons and a label in a box into each of my treeview headers. They are shown properly. I can also modify them programatically (toggle). My problem is, that I can't click them. Honestly I have no idea how to debug this. Any idea? Thanks a lot. Stefan _

Re: Good day list, (buen día lista...)

2006-04-10 Thread Eduardo M KALINOWSKI
Sergio-F Mendoza-Barrera wrote: > in resume, i need automatic update of a set of labels from data, this > data is update each few milliseconds, then i need to choose the right > one and put in the label, any help will be appreciate thanks in advanced Certainly one of the most frequently asked que

Setting the Visual of a GtkWidget

2006-04-10 Thread Taras Zakharko
Hello everyone I am new to GTK+ and to mailing lists so I hope I didn't screw something up :-) I need a possibility of setting the visual for my widgets (for OpenGL rendering). Basically, I found the gdk_new_window() function that let's me create a window with my desired visual, but I have no i

Re: GtkTreeView: How do I detect right-click?

2006-04-10 Thread Guy Rouillier
Ang Bodhi wrote: Hi, Guy Rouillier wrote: Ang Bodhi wrote: Hi, I have a GtkTreeView widget that I would like to detect the mouse button right-click, how can I do that? In Gtk 1.2, I used to be able to connect to a button_press_event signal of a GtkTreeItem widget. Did you search archive

Re: interactive buttons inside treeview headings

2006-04-10 Thread Guy Rouillier
Stefan Kost wrote: hi list, I've added a couple of (toggle)-buttons and a label in a box into each of my treeview headers. They are shown properly. I can also modify them programatically (toggle). My problem is, that I can't click them. Honestly I have no idea how to debug this. Any idea? I'm