Re: Three state check button

2006-07-07 Thread Atanas Atanasov
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 as it does with not-inconsistent buttons or I have to receive the pressed

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 as it

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

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 GDK

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 useful

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 be

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, i think

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.

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

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 have coredumps

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

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

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

GtkBinding: this seems a hack to me

2006-07-07 Thread Mardy
Hi all! I have registered in a widget of mine a signal of type action to be activated by a key binding. I declared a gboolean return type for my signal, but now I realize this was a mistake: in gtkbinding.c the boolean return value for signals is handled in a special way, which causes the

Re: GtkPrintOperationPreview

2006-07-07 Thread Murray Cumming
On Wed, 2006-07-05 at 13:30 -0400, Matthias Clasen wrote: On 7/5/06, Murray Cumming [EMAIL PROTECTED] wrote: GtkPrintOperationPreview is a GInterface, which only seems to be used in the GtkPrintOperation::preview signal. I think it's implemented by GtkPrintOperation. Is it implemented

Re: GtkBinding: this seems a hack to me

2006-07-07 Thread Owen Taylor
On Fri, 2006-07-07 at 12:45 +0200, Mardy wrote: Hi all! I have registered in a widget of mine a signal of type action to be activated by a key binding. I declared a gboolean return type for my signal, but now I realize this was a mistake: in gtkbinding.c the boolean return value for signals

Re: gtk file open dialog usability.

2006-07-07 Thread Federico Mena Quintero
On Sat, 2006-06-24 at 15:45 +0300, [EMAIL PROTECTED] wrote: Anyone except me also disappointed by it? Yes, it sucks. Whoever wrote it should be shot. Any way how we can have old file open dialog back? You are free to use GtkFileSelection in your applications; it still works. I really find

Re: hi what is the G_GNUC_NULL_TERMINATED?

2006-07-07 Thread Sven Neumann
Hi, looks like the compiler is picking up an old version of the GLib headers from somewhere. Sven ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

gtk - install tutorial needed

2006-07-07 Thread Robert Uhl
Hi, If I didn't have Debian I probably would not be able to use gtk-src at all. It is very easy to say apt-get install gnome ... . The reason of this mail is to mention that I tried to install gtk and ALL its dependencies to my home account at university. And this is not my first try! I can

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

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: Scrolling performance

2006-07-07 Thread Roo
On Thu, 06 Jul 2006 17:49:31 -0600, Mark Leisher wrote: Roo wrote: On Thu, 06 Jul 2006 16:52:40 -0600, Mark Leisher wrote: Roo wrote: %configure --with-xinput=xfree --disable-gtk-doc --without-pic Another configure annoyance. The command line parameter to disable shared code is typically

Re: Scrolling performance

2006-07-07 Thread Roo
On Fri, 07 Jul 2006 07:54:33 +0200, Clemens Eisserer wrote: Just to be clear here: I am a reasonably proficient user. I'm not an expert. I am just a user with a working knowledge of compiling stuff up. I So no code from you ... sad :-( As I've said all along, I'm not a coder. I'm just a user

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

2006-07-07 Thread Valdis . Kletnieks
On Fri, 07 Jul 2006 19:51:53 +0800, chao yeaj said: Hello everyone I compiled my application with the ``-g '' options and when debug with gdb, i can list the source file You can also say 'gdb my_program' at the shell prompt, and then issue the gdb command 'run'. When the

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

2006-07-07 Thread Micah Carrick
/* radio is a GtkWidget for your radio button */ gtk_button_set_label(GTK_BUTTON(radio), Some New Text); ___ - Micah Carrick http://www.micahcarrick.com | http://www.gtkforums.com chao yeaj wrote: Hello ,all You know,the radio button has its

Gtk+ -1.2 questions

2006-07-07 Thread William D. Tallman
Hello, First of all, do any of the reader/contributors here remember anything about GTK+-1.2? If so, would they be willing to answer questions? Thanks, Bill Tallman ___ gtk-list mailing list gtk-list@gnome.org

Re: gtk - install tutorial needed

2006-07-07 Thread Michael Ekstrand
On Jul 7, 2006, at 2:46 AM, Robert Uhl wrote: If I didn't have Debian I probably would not be able to use gtk-src at all. It is very easy to say apt-get install gnome ... . The reason of this mail is to mention that I tried to install gtk and ALL its dependencies to my home account at

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

Re: Why gtk_bin_get_child() does not work?

2006-07-07 Thread Micah Carrick
This should work: GtkWidget *radio /* More code here to get or create 'radio' as a GtkRadioButton widget */ gtk_label_set_markup(GTK_LABEL(GTK_BIN(radio)-child), bhello/b); - Micah Carrick http://www.micahcarrick.com | GTK+ Forums http://www.gtkforums.com chao yeaj wrote: Hello ,everyone

Re: Help, How to mange the id returned by g_timeout_add

2006-07-07 Thread Micah Carrick
Well, I'm hardly the expert, but I typically declare things like that in main() and pass them to the routines and callbacks as userdata if it's needed. For example, let's say you have an array of guint's to hold each of your timer id's (or if you don't know how many you'll have, perhaps a

set_rules_hint on windows

2006-07-07 Thread rahed
Hello, I applied set_rules_hint(TRUE) function to Gtk::SimpleList to alternate background color on the rows in the list. This did run on a linux box but not on a windows box. Linux: gtk+ runtime version is 2.8.17, compile 2.8.16, Gtk2 perl version 1.121 Windows: gtk+ runtime version is 2.8.9,

GStreamer 0.08

2006-07-07 Thread Torsten Schoenfeld
GStreamer makes everybody dance like crazy. It provides the means to play, stream, and convert nearly any type of media -- be it audio or video. GStreamer wraps the 0.10.x series of the GStreamer library in a nice and Perlish way, freeing the programmer from any memory management and object

GStreamer::Interfaces 0.03

2006-07-07 Thread Torsten Schoenfeld
GStreamer::Interfaces provides access to some of the interfaces in the GStreamer Interfaces library. Currently, that's GStreamer::PropertyProbe and GStreamer::XOverlay. The package is available from: http://sourceforge.net/project/showfiles.php?group_id=64773package_id=165756release_id=430476

Re: set_rules_hint on windows

2006-07-07 Thread muppet
On Jul 7, 2006, at 3:34 PM, rahed wrote: I applied set_rules_hint(TRUE) function to Gtk::SimpleList to alternate background color on the rows in the list. This did run on a linux box but not on a windows box. Linux: gtk+ runtime version is 2.8.17, compile 2.8.16, Gtk2 perl version 1.121