Re: Getting gnome preferred email-client

2006-06-19 Thread Greg Suarez
> For the web-browser: > $ gnome-www-browser > you can pass a link as a parameter > > Don't know about the email client. Sorry. > > I was able to use gnome-open for both web and email: gnome-open www.google.com and gnome-open mailto:[EMAIL PROTECTED] -- Greg Suarez ___

Position window on screen

2006-06-19 Thread 3saul
I need to position my window at the bottom (south) and centre (always) of the screen. I'm using GTK_WIN_POS_CENTER_ALWAYS to keep it centred even when the window resizes but how do I sent it to the bottom of the screen? I tried GDK_GRAVITY_SOUTH but that has no effect for some reason. I found the

Re: Simple Yes/No dialog

2006-06-19 Thread rk-list
hi, > In general, though, if you're writing an application, blocking yes/no > dialogues are often a stumbling block in the user interface -- i.e. > they can suck :-) yes, definitely. yes-no-dialogs are _bad_. it slows down the work _a lot_, because you have to read the question very carfully, and

Re: Getting gnome preferred email-client

2006-06-19 Thread Yianni
Greg Suarez wrote: > Hi all, > > I was wondering how to go about determining the peferred web-browser and > email-client set by the user? For the web-browser: $ gnome-www-browser you can pass a link as a parameter Don't know about the email client. Sorry. > > Thanks, > > Greg Suarez >

Re: Memory allocation using g_malloc

2006-06-19 Thread Yianni
3saul wrote: > Thanks for the response. Let me elaborate a little. I have a list of files in > a dir (without knowing how many) > > a.txt > b.txt > c.txt > > I want to be able to put the names of the files into an array so that I can > refer to them later like this > > array[0][0] = a.txt > array[0

Re: Startup splash screen..

2006-06-19 Thread blythe2
I use LyX a lot, and I like how they do their splash screen. When the application starts up, there is no file loaded into the main window, so a splash screen sits there, as part of the "background" before a file is opened. When a file is opened it just pops over the dull grey background, and over

Re: gtk+ win32 executable size

2006-06-19 Thread Tor Lillqvist
Egon Kocjan writes: > How big will be the final executable on win32? My guess is that people who use GTK+ seldom tend to stare at executable sizes. Please also note that the size of GTK+ itself and its dependencies is substantial. Before you ask, no, you can't link to GTK+ statically. Yes, feel f

Re: gtk+ win32 executable size

2006-06-19 Thread Patrik Fimml
> I'm investigating possible future GUI toolkits. I'm interested in size > of the smallest possible static build of a gtk+ app on win32. I intend > to write simple applications for now, several thousand lines of code, > some networking code, 20-30 icons, 5-10 dialogs, 3-5 tree widgets, or > so.

Re: Keybindings?!

2006-06-19 Thread Kenneth Østby
Hi. On 6/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Does anyone know of a tutorial (or even documentation with comments) that > explains how to connect key presses to functions? Check this out: http://www.gtk.org/tutorial/x201.html, connect the right signal and you're on your way.

Re: Is there any widget on which I can plot my own primitives?

2006-06-19 Thread Jose Hevia
2006/6/20, Mason <[EMAIL PROTECTED]>: > Thank you for your attention! I just need to draw primitives like point, > line, rectangle, circle.. But I don't know what widget to use. Well, a lot of people understand primitives as "low level functions" that are already made for doing high level stuf

Re: Startup splash screen..

2006-06-19 Thread Daniel Pekelharing
On Mon, 2006-06-19 at 17:47 +0200, Daniel Haude wrote: > This is not the way to do it. The function of a splash screen is to > entertain/inform the user while the application performs some necessary > start-up functions, not to keep him from working while a no-op timer runs > out. > > If you

debugging information

2006-06-19 Thread Yiannis
Sorry if this is beyond the scope of this list but on the following message (md:2198): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed which is a runtime error I am wondering what is the (md:2198). Yes md is the program name... but the 2198 is to which use to

Re: Startup splash screen..

2006-06-19 Thread Daniel Haude
On Fri, 16 Jun 2006 11:03:41 +0200, Daniel Pekelharing <[EMAIL PROTECTED]> wrote: > I want to implement a simple startup splash screen for my app, a simple > border-less window with an image which displays for a few seconds... > > It's really nothing complicated to implement, just a simple timer

gtk+ win32 executable size

2006-06-19 Thread Egon Kocjan
Hi, I'm investigating possible future GUI toolkits. I'm interested in size of the smallest possible static build of a gtk+ app on win32. I intend to write simple applications for now, several thousand lines of code, some networking code, 20-30 icons, 5-10 dialogs, 3-5 tree widgets, or so. How

GTK and Eclipse question

2006-06-19 Thread Sasa Dautovic
Hi! Is there an Eclipse plugin for GTK? Something like visual editor for GTK to create application masks that can be used with C/C++? Thnx.. -- Sasa Dautovic <[EMAIL PROTECTED]> ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://m

Keybindings?!

2006-06-19 Thread blythe2
Does anyone know of a tutorial (or even documentation with comments) that explains how to connect key presses to functions? The API has a short list of functions, but I'm not having much luck figuring out what to do with them. Any help is appreciated!

Limiting the number of characters

2006-06-19 Thread Sailaxmi korada
Hi Folks, Can anybody pl. help me of how to limit the number of characters that can be entered in an editable cell of List Store. I want to restrict the user to enter a hex value in 0x%4x format (total 6 characters). Thanks for your help in advance Regards Sai korada __