black promt window

2007-02-05 Thread Patrik Krizan
Hi, i'm newbie in gtk and i want develop applications on windows xp. i'm running gtk2.0, cygwin and eclipse. i compiled 'hello world' application (exact copied from tutorial) and it works fine. however, if i start it, i get a black promt window like this http://www.informatik.uni-frankfurt.de/~

Re: black promt window

2007-02-05 Thread Vivien Malerba
On 2/4/07, Patrik Krizan <[EMAIL PROTECTED]> wrote: > Hi, > i'm newbie in gtk and i want develop applications on windows xp. i'm > running gtk2.0, cygwin and eclipse. i compiled 'hello world' application > (exact copied from tutorial) and it works fine. however, if i start it, > i get a black promt

PROBLEM: bitmap in memory to gtkimage

2007-02-05 Thread Prest Alessandro
Hello, I have a bitmap image loaded in memory which structure is a standard bitmap structure (BITMAP Info Header). I want to display this bitmap in a GDKimage, which routine should I call? Is this correct: gdkPix = gdk_pixmap_create_from_data(NULL,(gchar*)img_out.data,640,480,2,fg,bg); image =

Re: PROBLEM: bitmap in memory to gtkimage

2007-02-05 Thread Ed Catmur
On Mon, 2007-02-05 at 15:28 +0100, Prest Alessandro wrote: > Hello, > I have a bitmap image loaded in memory which structure is a standard > bitmap structure (BITMAP Info Header). > > I want to display this bitmap in a GDKimage, which routine should I call? > > Is this correct: > > > gdkPix = >

GMutex vs GStaticMutex

2007-02-05 Thread Tomasz Jankowski
Hi! I'm not sure if I understood difference between these two types of mutexes. Can someone explain it for me more clearly, that it is in GLib's documentation ;) Next thing, I have program, which will run few threads (one thread - one object), so each object need to have it's own mutex, which will

Re: GMutex vs GStaticMutex

2007-02-05 Thread Tristan Van Berkom
On Mon, 2007-02-05 at 19:33 +0100, Tomasz Jankowski wrote: > Hi! > > I'm not sure if I understood difference between these two types of mutexes. > Can someone explain it for me more clearly, that it is in GLib's > documentation ;) Next thing, I have program, which will run few threads (one > threa

Re: What is the proper way of markig translations of static array initializers

2007-02-05 Thread Alexander Shopov
> The context is stripped when the string is *used*, for > marking it is irrelevant whether it has context or not, so > mark it normally with N_(). I am sorry but this does not work. When I mark strings simply with N_() the context information is not stripped away - in fact the original string in

Re: What is the proper way of markig translations of static array initializers

2007-02-05 Thread Brian J. Tarricone
Alexander Shopov wrote: >> The context is stripped when the string is *used*, for >> marking it is irrelevant whether it has context or not, so >> mark it normally with N_(). > I am sorry but this does not work. > > When I mark strings simply with N_() the context information is not > stripped awa

GTK Plug - Going Fullscreen

2007-02-05 Thread Kevin DeKorte
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a GtkPlug object and is connected to an out of process GtkSocket. I would like to to be able to call gtk_window_fullscreen on my plug object, but it doesn't seem to work. Any ideas on how I should do this. Also, there does not seem to be a way