Re: Three state check button

2006-07-07 Thread Yeti
On Fri, Jul 07, 2006 at 08:50:56AM +0200, Atanas Atanasov wrote: > It worked but I would say partially. I tested with a GtkCheckButton > and its appearance is a shaded tick. However I cannot see how I can > get and set the "third" state. Is the button supposed to change its > state automatically a

About multiple display

2006-07-07 Thread harvest li
We are supporting an old application, which is written by Gtk+ 1.2. For single display, it's fine. But it can't work on dual display. So my question is, Does Gtk+ 1.2 support multiple display? Thanks ___ gtk-app-devel-list mailing list gtk-app-devel-lis

How to get and change the RadioButton's display texts

2006-07-07 Thread chao yeaj
Hello ,all You know,the radio button has its display text, i think there is a label widget i want to chang the text of the radio button but i do not know how to do that i need your help Any comments would be much appreciated,and thanks in advance _

Re: About multiple display

2006-07-07 Thread Iago Rubio
On Fri, 2006-07-07 at 00:37 -0700, harvest li wrote: > We are supporting an old application, which is written by Gtk+ 1.2. For > single display, it's fine. But it can't work on dual display. So my question > is, Does Gtk+ 1.2 support multiple display? I think not. Multiple display support on GD

Re: GtkTreeStore foreach on row-inserted or row-changed or rows-reordered

2006-07-07 Thread Chris Vine
On Thursday 06 July 2006 17:06, Caleb Cullen wrote: > The situation: > I have a flat (tabular) data model in a GtkTreeView. I don't -need- the > tree-ness, because all I am displaying is a flat, ordered list. (They are > recipe ingredients.) I used a GtkTreeStore because it supports various > us

Re: How to get and change the RadioButton's display texts

2006-07-07 Thread Iago Rubio
On Fri, 2006-07-07 at 16:15 +0800, chao yeaj wrote: > Hello ,all > You know,the radio button has its display text, > i think there is a label widget > > i want to chang the text of the radio button > but i do not know how to do that > i need your help > Any comments would

Re: How to get and change the RadioButton's display texts

2006-07-07 Thread chao yeaj
thank you but i want to get the "label" widget of the radio button and then,chang the label text's color and font On 7/7/06, Iago Rubio <[EMAIL PROTECTED]> wrote: > On Fri, 2006-07-07 at 16:15 +0800, chao yeaj wrote: > > Hello ,all > > You know,the radio button has its display text, > >

Why ? When segmentation fault,there has no "core" file

2006-07-07 Thread chao yeaj
Hello everyone I compiled my application with the ``-g '' options and when debug with gdb, i can list the source file The problem is : when segmentation fault ,there has nocore file if the has a core file ,i can debug it, but there has nocore file why?

Re: Why ? When segmentation fault,there has no "core" file

2006-07-07 Thread John Cupitt
On 7/7/06, chao yeaj <[EMAIL PROTECTED]> wrote: > The problem is : when segmentation fault ,there has nocore file > if the has a core file ,i can debug it, but there has nocore file You probably have coredumps turned off. Try ulimit -c unlimited before running your program.

valgrind and uninitialized variables

2006-07-07 Thread Olivier Ramare
Dear all, Here is the beginning of the output when I send my program to valgrind: -- ==2314== Syscall param writev(vector[...]) points to uninitialised byte(s) ==2314==at 0x1BF4B8DE: (within /lib/libc-2.3.2.so) ==2314==

Re: valgrind and uninitialized variables

2006-07-07 Thread John Cupitt
On 7/7/06, Olivier Ramare <[EMAIL PROTECTED]> wrote: > Here is the beginning of the output when > I send my program to valgrind: It is harmless. You will (probably) find other harmless warnings too. I get lots from the dynamic linker as gtk's various modules are loaded. You probably need to make

GtkCellRendererCombo question

2006-07-07 Thread Ludo Van Put
Hi all, I am trying to create a TreeView, of which a column should display a combo box. So I have listmodel ListModelA with a GTK_TYPE_TREE_MODEL in it and then this model is filled with data. I add listmodels (ListModelB) with 2 columns to the listmodel ListModelA, previously created or possib

Re: How to get and change the RadioButton's display texts

2006-07-07 Thread Iago Rubio
On Fri, 2006-07-07 at 19:22 +0800, chao yeaj wrote: > thank you > but i want to get the "label" widget of the radio button > and then,chang the label text's color and font A radio button is a GtkContainer so it can be packed there anything, and not just a label. But if you know there's a label in

Re: Why ? When segmentation fault,there has no "core" file

2006-07-07 Thread Andrey Dubravin
On Fri, 7 Jul 2006 13:01:06 +0100 "John Cupitt" <[EMAIL PROTECTED]> wrote: > On 7/7/06, chao yeaj <[EMAIL PROTECTED]> wrote: > > The problem is : when segmentation fault ,there has no > > core file if the has a core file ,i can debug it, but there has > > nocore file > > You probably

gtk setup question

2006-07-07 Thread Shruthi Koundinya
Hello, I am new to GTK, and have installed the windows (binary) version of GTK on my computer. I have to use this with Java Memory Profiler. The profiler tries to find the path to pkg-config GTK+ -2.0 and fails to do so. I tried to find the gtk+-2.0.pc file so I can point the PKG_CONFIG_PATH to tha

Re: gtk setup question

2006-07-07 Thread Yeti
On Fri, Jul 07, 2006 at 12:43:49PM -0700, Shruthi Koundinya wrote: > I am new to GTK, and have installed the windows (binary) version of GTK on > my computer. I have to use this with Java Memory Profiler. The profiler > tries to find the path to pkg-config GTK+ -2.0 and fails to do so. I tried > to

Rebuilding GTK

2006-07-07 Thread simon kendall
Hi, After having run a format on the hard drive, my compiler program is of course gone. Therefore, I need to rebuild GTK, something which I've never been good at. So, I read through the guide included with GTK, which tells me there are packets available. I downloaded one of these, and installed it,

Cant start editing in a GtkTreeView

2006-07-07 Thread Juan Pablo
Hello all. I made a window with a GtkTreeView with editable cells. They work OK. Ive also put a "Clear" button, which empties the edited cells, and it works. What i wanted is that when it finishes clearing, the focus goes to the first editable cell of the treeview and start editing. The problem i

Why gtk_bin_get_child() does not work?

2006-07-07 Thread chao yeaj
Hello ,everyone I have a problem with "gtk_bin_get_child" my code is like this: // GtkWidget * radio_button = NULL; GtkWidget * label = NULL; radio_button = gtk_radio_button_new(NULL); /* There ,the pointer radio_b

Help, How to mange the id returned by g_timeout_add

2006-07-07 Thread chao yeaj
Hello,all You know ,we can register a timeout function using g_timeout_add and g_timeout_add return an ID And,we must mannually remove the timeout function using g_source_remove The problem is,in my application,there are several timeout functions ,in many modules In my ap