How to highligh a frame

2005-09-19 Thread Nick Johnson
Hello, I am developing an application in which multiple Frame widgets appear on the screen at once. I would like to be able to highlight one of those. Currently, I highlight a frame by making the text in the frame's title bold... I would like to do more. I envision giving the frame a different

Set position of a Paned widget to 50%

2005-09-19 Thread Nick Johnson
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 manually. Any tips? Thanks, Nick Johnson ___

[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

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

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[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

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 help.

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,

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

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 synchronously

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

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_callin()

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 code inside

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' to compile

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

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

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 you