Re: Accompany index of deprecated symbols with GTK+ version?

2006-11-12 Thread Yeti
On Mon, Nov 13, 2006 at 12:28:29AM +0100, Jan-Oliver Wagner wrote: > I wonder whether it is feasible to accompany the index of deprecated symbols > [1] with the GTK+ version number describing since when the symbol is > deprecated. Ideally, this should work automatically of course. > > I came acr

RE: Linux signals and GLIB g_io_channel usage

2006-11-12 Thread Freddie Unpenstein
On Mon 10/23, James Scott Jr < [EMAIL PROTECTED] > wrote: > I am about to write the socket module of a program that follows the > gnu standard structure for a daemon. I am using glib wherever > possible and have a question concerning the use of linux signals. > Basically, I have blocked all signal

Re: Problem with gsignal connect

2006-11-12 Thread Jim George
On 11/12/06, Naveen Kumar <[EMAIL PROTECTED]> wrote: > > > Hi all, > > I am using GTK+-2.2.0 to develop my application in that i am using 5 > entries.. and 2 spin buttons and i have 1 button. When i click the button i > nned to access all the data of entries and spin buttons to some variabl

Problem with gsignal connect

2006-11-12 Thread Naveen Kumar
Hi all, I am using GTK+-2.2.0 to develop my application in that i am using 5 entries.. and 2 spin buttons and i have 1 button. When i click the button i nned to access all the data of entries and spin buttons to some variables. Using g_signal_connect i am able to pass only one object but

Accompany index of deprecated symbols with GTK+ version?

2006-11-12 Thread Jan-Oliver Wagner
Hi, I wonder whether it is feasible to accompany the index of deprecated symbols [1] with the GTK+ version number describing since when the symbol is deprecated. Ideally, this should work automatically of course. I came across this question because developers might need to create a application

GtkFileSelection vs. GtkFileChooser

2006-11-12 Thread Jan-Oliver Wagner
Hi, the API documentation (section Migrating from GtkFileSelection to GtkFileChooser [1]) says that GtkFileSelection has "numerous problems". What is the rationale that GtkFileSelection is not marked as deprecated then? Best Jan [1] http://developer.gnome.org/doc/API/2.0/gtk/gtk-migr

Re: help with window widgets

2006-11-12 Thread Liam R E Quin
On Sat, 2006-11-11 at 20:05 -0800, ybisou wrote: > Hi,[...] Hello! :-) > I'm writing a code that should allow me to read a list of int(one at the > time) from a STDIN into my GTK program. Eventually you'll probably want to do this by registering stdin as a file descripter (fileno(STDIN), or just

Re: Glade-2's "Object" field

2006-11-12 Thread Tristan Van Berkom
Jim George wrote: >What is the function of Glade-2's "Object" field in the signals tab in >the properties browser? I initially thought if you put in a variable >name here, it's used in the user parameter passed to the signal >handler. I'm not sure, though, if I need some other magic incantation >o

Glade-2's "Object" field

2006-11-12 Thread Jim George
What is the function of Glade-2's "Object" field in the signals tab in the properties browser? I initially thought if you put in a variable name here, it's used in the user parameter passed to the signal handler. I'm not sure, though, if I need some other magic incantation on gcc's command line (li

Re: Controlling a widget from an other

2006-11-12 Thread Yeti
On Sun, Nov 12, 2006 at 06:12:00PM +, Kalap kabat wrote: > > Here there is actual need for it. It's an item selector window which is > designed this way, so that it can be operated with the absolute minimum > number > of keypresses: > > The user types something into the text field. The rel

entrycompletion in gtkcomboboxentry

2006-11-12 Thread control H
Hi all, in a gtktreestore with 1 column I store names (textfields) in three groups: group A, group B and group C resp. This store is being used as the model for a gtkcomboboxentry. This widget shows up as expected: correctly shows the three groups with the "expander icon" in front of it, and expan

Re: Could I make some signal instead of keyboard signal to a widget?

2006-11-12 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Nov 12, 2006 at 11:08:37PM +0900, Kim Jongha wrote: > greeting. > > I'm developing a embedded program. > when specified input from serial port is coming, I want to change that > interrupt to keyboard signal. > > Ex ) 0xff (from serial port )

Re: help with window widgets

2006-11-12 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Nov 11, 2006 at 08:05:19PM -0800, ybisou wrote: > > Hi, > I'm just starting with GTK+ programming...(linux) > I hope someone could help me with this. [...] > //widgets initializations > > while( read(0,&x,strln(x)) Someone might be able to h

Re: Glade GUI: changing mechanism

2006-11-12 Thread Tristan Van Berkom
Stephen Watson wrote: >"Olexiy Avramchenko" <[EMAIL PROTECTED]> 31/Oct/2006 12:58:37 >>> > > >>On 10/31/06, Johan Kohler <[EMAIL PROTECTED]> wrote: >> >> >>>Isn't it possible to "inline" the .glade file in the compiled code? >>>Ie. Instead of reading from a text file, it reads from a declar

Re: normal gtk code mixed with libglade

2006-11-12 Thread Tristan Van Berkom
Andrea Zagli wrote: >is there some known problem about using normal gtk code mixed with >libglade??? > >i explain myself better > >when i use libglade to show a window and then i use normal gtk code >(without liglade) to show another window i receive a strange segfault > >the first window, showed

Re: Mutex or atomic operations for multithread app?

2006-11-12 Thread Peter Lund
On Sat, 2006-11-11 at 14:29 +0100, Tomasz Jankowski wrote: > I looking for someone, who will say if my idea is bad or good ;) > I have an object based on GObject, which have quite many int variables. This > object is used by many threads and i'm wondering if I really need to use > mutex when I wan

help with window widgets

2006-11-12 Thread ybisou
Hi, I'm just starting with GTK+ programming...(linux) I hope someone could help me with this. I'm writing a code that should allow me to read a list of int(one at the time) from a STDIN into my GTK program. The reading is fine but I am trying to output those numbers into a window. I can ouput the

Could I make some signal instead of keyboard signal to a widget?

2006-11-12 Thread Kim Jongha
greeting. I'm developing a embedded program. when specified input from serial port is coming, I want to change that interrupt to keyboard signal. Ex ) 0xff (from serial port ) -> "clicked" event give me an advise : ) ___ gtk-app-devel-list mailing list

normal gtk code mixed with libglade

2006-11-12 Thread Andrea Zagli
is there some known problem about using normal gtk code mixed with libglade??? i explain myself better when i use libglade to show a window and then i use normal gtk code (without liglade) to show another window i receive a strange segfault the first window, showed with libglade, is showed with

Re: General question about inheritance of properties in GTK

2006-11-12 Thread Yeti
On Sun, Nov 12, 2006 at 02:41:22AM +, Clarity ThroughConfusion wrote: > > 1. How can I reuse the parent widgets properties along with my new > properties I have created using g_object_class_install_property? > > 2. Are the parents properties inherited and set by default in the child? Proper