GTK+ Draw a Rectangle over other widgets?

2006-08-20 Thread Wolfman
Does someone know how can draw a simple rectangle over other widgets or a complete window? Cause iam trying to write a window splitting system but i dont know how to draw this rectangle...:( best regards.. -- View this message in context:

custom widget + xft drawable

2006-08-20 Thread Mikhail Gusarov
Hi, I'm trying to create custom widget using Xft drawable to render data. I've got standard example of using drawing area and it works fine, when area is drawn using gdk_draw_arc (see attach test-gdkexpose.c). However, when I try to render data by using Xft drawable (see attach test.c), widget

Re: custom widget + xft drawable

2006-08-20 Thread Mikhail Gusarov
MG (see attach test-gdkexpose.c) Ah, attaches were stripped. They are at http://dottedmag.net/test-gdkexpose.c http://dottedmag.net/test.c -- JID: [EMAIL PROTECTED] ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: Sockets in GTK+?

2006-08-20 Thread Luka Napotnik
GTK+ is a graphical library for creating UI's. For socket programming you have to use the Unix socket API. Greets, Luka On ned, 2006-08-20 at 10:18 -0500, n3ck wrote: Hi every1! Im was delphi (win) coder for a while but now i use linux as OS. I really like to code so i choose GTK for build

Re: Sockets in GTK+?

2006-08-20 Thread Tristan Van Berkom
Luka Napotnik wrote: GTK+ is a graphical library for creating UI's. For socket programming you have to use the Unix socket API. Well that is less and less true, glib/gobject is also becomming something like an stl of choice for C programming and is widely used outside the GUI domain.

Re: custom widget + xft drawable

2006-08-20 Thread Mikhail Gusarov
MG I'm trying to create custom widget using Xft drawable to render MG data. Will answer to myself to keep solution in mailing list archives (thanks to Chong Kai Xiong from #gtk+ channel!). gdk_window_get_internal_paint_info() If you bypass the GDK layer and use windowing system primitives to

Re: GTK+ Draw a Rectangle over other widgets?

2006-08-20 Thread Stefan Kost
hi, Wolfman wrote: Does someone know how can draw a simple rectangle over other widgets or a complete window? Cause iam trying to write a window splitting system but i dont know how to draw this rectangle...:( best regards.. you can subclass the widget, override the _expose_event()

debugging gtk-related memory leaks

2006-08-20 Thread David Ellis
Hello, Could anyone offer help or advice on debugging mysterious gtk-related memory leaks and errors reported by valgrind when checking a threaded GTK+ program? The primary potential leak seems to be a sizeable chunk in g_thread_init, and there are quite a few errors from various unknown contexts

Re: [Valgrind-users] debugging gtk-related memory leaks

2006-08-20 Thread David Eriksson
On Sun, 2006-08-20 at 05:48 -0400, David Ellis wrote: Hello, Could anyone offer help or advice on debugging mysterious gtk-related memory leaks and errors reported by valgrind when checking a threaded GTK+ program? The primary potential leak seems to be a sizeable chunk in g_thread_init,

(solution) Re: gtk_widget_show() crashes with GTK Entry on Ubuntu Dapper

2006-08-20 Thread Sylvain Vedrenne
Sylvain Vedrenne wrote: Hi, This GTK Entry example from the tutorial crashes on gtk_widget_show() on Ubuntu Dapper: http://www.gtk.org/tutorial/x941.html I got this problem with GTKmm, so I tried using GTK+. Same result with GTK+: a crash on gtk_widget_show(). Actually I'm not certain

Re: [Valgrind-users] debugging gtk-related memory leaks

2006-08-20 Thread Julian Seward
Maybe you should set G_SLICE=always-malloc in the environment in order to make valgrind more useful: http://developer.gnome.org/doc/API/2.0/glib/glib-running.html I agree; from a guess I'd say that glib is using a private allocator, which confuses the issue. Unrelatedly .. It looks like

Re: GTK+ Draw a Rectangle over other widgets?

2006-08-20 Thread Wolfman
@Stefan Can u tell me how to call the expose in simple example? @Matt Do u mean something like an overlay window? That could also do this job but is there a way to make a popup window transparent? -- View this message in context:

Re: GTK+ Draw a Rectangle over other widgets?

2006-08-20 Thread Guy Rouillier
Wolfman wrote: Does someone know how can draw a simple rectangle over other widgets or a complete window? Cause iam trying to write a window splitting system but i dont know how to draw this rectangle...:( You can't just draw a rectangle in order to group widgets. Well, I suppose you can

pango and cairo pc

2006-08-20 Thread Mike Emmel
Hi all I recently change the configure.in for gtk to check for cairo-directfb.pc I was looking at the pango configure.in and am wondering if it might need to also check for backend specific pc files. I don't think so but would like to know what others think. It does test for the xlib backend

Re: pango and cairo pc

2006-08-20 Thread Behdad Esfahbod
On Sun, 2006-08-20 at 12:02 -0400, Mike Emmel wrote: Hi all I recently change the configure.in for gtk to check for cairo-directfb.pc I was looking at the pango configure.in and am wondering if it might need to also check for backend specific pc files. I don't think so but would like to

Re: pango and cairo pc

2006-08-20 Thread Behdad Esfahbod
On Sun, 2006-08-20 at 12:02 -0400, Mike Emmel wrote: Hi all I recently change the configure.in for gtk to check for cairo-directfb.pc I was looking at the pango configure.in and am wondering if it might need to also check for backend specific pc files. I don't think so but would like to

how we get pop-up on treeview

2006-08-20 Thread cnu_sree
i have notebook on window in that i have treeview on 1st page. i wnat to get the popup in treeview when we right click in treeview. iam getting this but i have small problem that is iam getting the pop up when i right click on labels of the note book. thanku for reading. sree -- View this

Re: [gtk-list] pango on MAC OS X

2006-08-20 Thread Calvin Ellis
That is exactly correct. I was able to get it working, but only with the full gtk env. I tried packaging the software up, and got the same problem. There are no fonts, only square boxes like what your image shows.How did you fix it? CalvinOn 8/20/06, [EMAIL PROTECTED] [EMAIL PROTECTED]

Re: [gtk-list] pango on MAC OS X

2006-08-20 Thread mpsuzuki
Hi, On Sun, 20 Aug 2006 13:32:29 -0400 Calvin Ellis [EMAIL PROTECTED] wrote: That is exactly correct. I was able to get it working, but only with the full gtk env. I tried packaging the software up, and got the same problem. There are no fonts, only square boxes like what your image shows. I

Gtk2 1.133 (unstable)

2006-08-20 Thread Torsten Schoenfeld
Gtk2 is a Perl extension providing Perl bindings to the 2.x series of the Gtk+ graphical user interface library. This module allows you to write graphical user interfaces in a perlish and object-oriented way, freeing you from the casting and memory management in C, yet remaining very close

Error compiling Cairo 0.92 and how to fix it

2006-08-20 Thread Mario Fischer
I'm getting along compiling the newest versions of the Gtk2 packages. Glib still fails the 64 bit test suites, but for now I ignored that. Now I've tried to compile the new Cairo 0.92 release and during the run of nmake I got the following:

Re: Error compiling Cairo 0.92 and how to fix it

2006-08-20 Thread Torsten Schoenfeld
On Sun, 2006-08-20 at 20:33 +0200, Torsten Schoenfeld wrote: These occur because you don't have the SVG backend installed, and because backend-specific enum-related stuff wasn't properly protected in Cairo 0.92. I just committed something to HEAD of CVS that I think fixes this. Please test.

Re: Error compiling Cairo 0.92 and how to fix it

2006-08-20 Thread muppet
On Aug 20, 2006, at 4:47 PM, Sergei Steshenko wrote: --- Torsten Schoenfeld [EMAIL PROTECTED] wrote: These occur because you don't have the SVG backend installed, and because backend-specific enum-related stuff wasn't properly protected in Cairo 0.92. I just committed something to HEAD

Re: Error compiling Cairo 0.92 and how to fix it

2006-08-20 Thread Emmanuele Bassi
Hi; On Sun, 2006-08-20 at 18:16 -0400, muppet wrote: [1] In fact, i think Torsten has been doing everything by himself for the last several months. Anyone who lives near him should buy him a beer. Actually, more than one beer. And a hug. Ciao, Emmanuele. -- Emmanuele Bassi, E: