GdkWindow's position

2007-02-03 Thread Matí­as Alejandro Torres
Hi all, i'm having problems trying to get top level windows' position (including WM decorations). It seems to me, that Widgets' GdkWindows are set when these are drawn. What i do to the position of a widget is: gtk_widget_show_all (GTK_WIDGET (tip)); if (!GTK_WIDGET_NO_WINDOW (GTK_WIDGET

Re: instal gtk on windows

2007-02-03 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Feb 03, 2007 at 01:40:28PM +0100, nostradamo wrote: > I installed gtk2 on windows. I want > compile with gcc. but compiler can not find the hedaer files. > > For example gtk.h > > Ich i make a include with > "dir direkt to gtk.h" a list of

Re: Gtkcanvas!!

2007-02-03 Thread Tristan Van Berkom
On Fri, 2007-02-02 at 10:13 +0100, [EMAIL PROTECTED] wrote: [...] > The problem is that when i add my canvas,this different cursor doesn't appear > in my window. Does the child widget of the event box have its own window ? Is the event box setup to have its window above or below child widget's

slice allocator

2007-02-03 Thread Philip Kovacs
Anyone happen to know at approximately what memory size the slice allocator defaults back to g_malloc? Just thinking that if my allocations are too large for the slice allocator, causing it to drop back to g_malloc anyway, that I should consider using g_malloc directly and using GTrashStack to re

Question about properties in GObject

2007-02-03 Thread Tomasz Jankowski
Hi! I have short question. I installed G_TYPE_STRING property in my object. Will it free allocated memory when object will be destroyed or i should do it on my own? -- Cya! Tom ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail

comipile gtk-dirctfb failed

2007-02-03 Thread yetist
hello, I used gtk+-2.10.6 to compile gtk-directfb: ./configure --prefix=/usr --with-gdktarget=directfb --without-x make then, it failed like this: /bin/sh ../libtool --mode=link gcc -DG_DISABLE_DEPRECATED -g -O2 -Wall -o gtk-query-immodules-2.0 queryimmodules.o libgtk-directfb-2.0.la ../gdk-p

Installing property in interface

2007-02-03 Thread Tomasz Jankowski
Hi! I'm trying to install property into main interface, but when I run program it always display me this warning: (lt-goofysender:10709): GLib-GObject-WARNING **: When installing property: type `GoofyFileTransfer' already has a property named `transfer-status' Here you have some code: /*>>> Int

instal gtk on windows

2007-02-03 Thread nostradamo
I installed gtk2 on windows. I want compile with gcc. but compiler can not find the hedaer files. For example gtk.h Ich i make a include with "dir direkt to gtk.h" a list of a lot of unknow files und dirs will be showed. What is wront. or what does i have to do that compiler can work correct

Re: gtk_text_buffer_insert() problem character code transfer

2007-02-03 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Feb 02, 2007 at 05:03:20PM +0800, 杨宇 wrote: > hi everyone, > > I have a GtkTextView to display the data in the buffer *buffer. > > The buffer i received from a socket consists of English and Chinese > Characters. > > How to display this C

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

2007-02-03 Thread Yeti
On Sat, Feb 03, 2007 at 09:21:14AM +0200, Alexander Shopov wrote: > Hi guys, > The docs: > http://developer.gnome.org/doc/API/2.0/glib/glib-I18N.html > > state that > N_() > Marks a string for translation, gets replaced with the untranslated > string at runtime. This is useful in situations where

Re: comipile gtk-dirctfb failed

2007-02-03 Thread Attilio Fiandrotti
wuxiaotian wrote: > hello, > > I used gtk+-2.10.6 to compile gtk-directfb: > > ./configure --prefix=/usr --with-gdktarget=directfb --without-x > make > > then, it failed like this: > and then, I used gtk+-2.10.9 to compile, but I get the same error like > that. Can anyone give me any pointers