Re: widget's signal callback: inside gdk lock?

2005-09-19 Thread Brian J. Tarricone
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 9/19/2005 9:11 AM, Tristan Van Berkom wrote: > Felix Kater wrote: > [...] > >> a. The lock is already aquired by gtk when the button is toggled by >> the user's mouse click--so the callback is already (automatically) >> inside the lock from the cli

keeping track of time.

2005-09-19 Thread oracle nine
Hi. Im new to gtk and the list. I am writing billiards management program under gtk2 on Linux. Each billiards table is represented by a widget that will toggle the table open or closed. While a table is open, I want to insert a label that displays how much time has elapsed. I want the applic

Re: To Mr. Lillqvist : building gtk+ application on windows (again)

2005-09-19 Thread Mirco \"MacSlow\"
Am Montag, den 19.09.2005, 16:29 -0700 schrieb Suyono: > I'm a student who attend linux programming class. I > used to develop on windows. I use both GCC and MSVC 7 > (.NET). I've compiled Gimp on linux. Could tell me how > can you make the gimp run on windows without X server? > What library do yo

To Mr. Lillqvist : building gtk+ application on windows (again)

2005-09-19 Thread Tor Lillqvist
Suyono writes: > Could tell me how can you make the gimp run on windows without X > server? Using GTK+ built with the Win32 backend. > What library do you use? Do you have special libraries to make gimp > run without X server? I don't know what you mean with "special". Win32 has been an offi

To Mr. Lillqvist : building gtk+ application on windows (again)

2005-09-19 Thread Suyono
I'm a student who attend linux programming class. I used to develop on windows. I use both GCC and MSVC 7 (.NET). I've compiled Gimp on linux. Could tell me how can you make the gimp run on windows without X server? What library do you use? Do you have special libraries to make gimp run without X s

Re: msgfmt -c

2005-09-19 Thread Roger Leigh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Stricker <[EMAIL PROTECTED]> writes: to add a new language (po file) to my project, i simply edit configure.in and add the language code to 'ALL_LINGUAS', and the po file gets compiled when i 'make'. now, how can i tell 'make' t

Re: widget's signal callback: inside gdk lock?

2005-09-19 Thread Felix Kater
On 9/19/05, Tristan Van Berkom <[EMAIL PROTECTED]> wrote: > Fe Kater wrote: > > Hi, > > > > I wonder if the callback function I connect to a widget's signal (like > > "toggled" signal of a checkbutton) is already inside the gdk lock--or if I > > have to take care of gdk_threads_enter/leave with any

msgfmt -c

2005-09-19 Thread Gyözö Both
ah, thank you. this helped. gyözö > You're right, autogen.sh calls glib-gettextize with the --force option > that will overwrite your changes. > It looks like this Makefile don't need to be overwritten in your case. > Try if this patch fit your needs. > > Cheers, > > Andy -- panic("smp_calli

Re: widget's signal callback: inside gdk lock?

2005-09-19 Thread Tristan Van Berkom
Felix Kater wrote: [...] a. The lock is already aquired by gtk when the button is toggled by the user's mouse click--so the callback is already (automatically) inside the lock from the client programmer's view. b. The lock has to be aquired explicitly by the client programmer who is using gtk (i

Re: widget's signal callback: inside gdk lock?

2005-09-19 Thread Tristan Van Berkom
Fe Kater wrote: Hi, I wonder if the callback function I connect to a widget's signal (like "toggled" signal of a checkbutton) is already inside the gdk lock--or if I have to take care of gdk_threads_enter/leave with any code inside this callback function? Since signals are run synchronousl

widget's signal callback: inside gdk lock?

2005-09-19 Thread Fe Kater
Hi, I wonder if the callback function I connect to a widget's signal (like "toggled" signal of a checkbutton) is already inside the gdk lock--or if I have to take care of gdk_threads_enter/leave with any code inside this callback function? Felix -- 5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de

Re: Re[2]: Border

2005-09-19 Thread John Cupitt
On 9/19/05, Alexander S.Kresin <[EMAIL PROTECTED]> wrote: > And yet another question: > are there any functions, which draws the standard header of a top > window, so I could draw such a header for my container widget ? No, sorry :-( The window title bar and margins are not drawn by GTK,

Re: shortcut keys for buttons.

2005-09-19 Thread Afonso Costa
Hi, Try to use accelerators. Take a look at http://developer.gnome.org/doc/API/2.0/gtk/gtk-Keyboard-Accelerators.html#id3015290and enjoy it. Regards, Afonso On 9/19/05, Deekshit Mantampady <[EMAIL PROTECTED]> wrote: > > Hi all, > I have a window, which has some buttons. Say OK, cancel and hel

Re[2]: Border

2005-09-19 Thread Alexander S.Kresin
Monday, September 19, 2005, 12:00:41 AM, John Cupitt <[EMAIL PROTECTED]> wrote: JC> If you want to draw a focus rectangle, you can use gtk_paint_focus() JC> in _expose(). Thanks for the tip ! And yet another question: are there any functions, which draws the standard header of a top w

Re: gtk_window_set_default does not work (for me)

2005-09-19 Thread Christian Neumair
Am Montag, den 19.09.2005, 10:33 +0530 schrieb Deekshit Mantampady: > Does it mean, I cannot do this on a window. I mean do I need to > use GtkDialog instead of window.. Having windows with OK buttons that are not dialogs sounds heavily broken. However, you can either connect to the "activate"

Re: Set position of a Paned widget to 50%

2005-09-19 Thread Brian J. Tarricone
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 9/18/2005 11:15 PM, Nick Johnson wrote: > Hello, > > I need to set the initial position of a Paned widget to be 50% of the > size of the widget itself. However, the Paned widget doesn't have a > get_size() method, and so users must adjust this man

Re: msgfmt -c

2005-09-19 Thread Andreas Stricker
>>> to add a new language (po file) to my project, i simply edit >>> configure.in and add the language code to 'ALL_LINGUAS', and the po >>> file gets compiled when i 'make'. now, how can i tell 'make' to >>> compile with 'msgfmt -c' -- instead of simply 'msgfmt' -- so that >>> the po file is ch

Re: endless Makefile creation loop (was: Query - Pango)

2005-09-19 Thread Gus Koppel
Hazzy wrote: > i m trying to install pango on ARM board.. > > I m able to configure it but as i give make command > it goes into infinite loop of > > [EMAIL PROTECTED]:/try/pango-1.8.2# make > cd . && /bin/sh ./config.status Makefile > config.status: creating Makefile > cd . && /bin/sh ./config

[ANNOUNCE] GtkJavaScript and RadojoWidgets

2005-09-19 Thread Michael Clark
Hi Folks, I'l like to announce some proof-of-concept code i've been working on. This is the first public announcement of this work. The general problem i'm trying to address is the divergence of web UI programming and native UI programming and I have a novel solution (travelling on the wake of wh