Re: gtk_widget_destroy goes SIGSEGV

2006-07-04 Thread Yeti
On Tue, Jul 04, 2006 at 08:20:33PM -0400, Yoandy Rodriguez Martinez wrote: > I'm making a small Gtk application and this function (code sample below ) > keeps doing segfaults when gtk_widget_destroy is called. Any tip??? > > void message_dialog(const gchar * message){ > /* > * Santa ayuda

gtk_widget_destroy goes SIGSEGV

2006-07-04 Thread Yoandy Rodriguez Martinez
Hi all, I'm making a small Gtk application and this function (code sample below ) keeps doing segfaults when gtk_widget_destroy is called. Any tip??? void message_dialog(const gchar * message){ /* * Santa ayuda de Gtk */ GtkWidget *dialog; /* Create the widgets */ dialog

Re: How to set colors to Widgets

2006-07-04 Thread Anna
what didn't you understand? we cannot help you unless you show us how you tried to help yourself. On Fri, Jun 23, 2006 at 02:54:16PM +0530, prashanth km22 wrote: > Hi all.. > >I am beginer to GTK, i created window and butons, but i dont know > how to set colors to buttons. i saw gtk exampl

Re: Re: Re: Building gtk+ 2.10.0 under Mac OS X 10.3.9

2006-07-04 Thread Marius Schamschula
Michael, I installed the headers for the very version of cups for 10.3.9 from Apple's Darwin source site. I'd rather not install a different version of cups, since cups is a OS component. On 7/4/06, Michael Torrie <[EMAIL PROTECTED]> wrote: > On Tue, 2006-07-04 at 14:51 -0500, Marius Schamschula

Re: Re: Building gtk+ 2.10.0 under Mac OS X 10.3.9

2006-07-04 Thread Michael Torrie
On Tue, 2006-07-04 at 14:51 -0500, Marius Schamschula wrote: > Michael, > > I really don't care too much about the Quartz backend at this point, > as it is unstable at this point. My real build problem is cups. I misread your post. And the fact that you're targeting X11 is clear from the compile

Re: Re: Building gtk+ 2.10.0 under Mac OS X 10.3.9

2006-07-04 Thread Marius Schamschula
Michael, I really don't care too much about the Quartz backend at this point, as it is unstable at this point. My real build problem is cups. On 7/4/06, Michael Torrie <[EMAIL PROTECTED]> wrote: > On Tue, 2006-07-04 at 06:39 -0500, Marius Schamschula wrote: > > Hi, > > > > I'm running into proble

Re: Building gtk+ 2.10.0 under Mac OS X 10.3.9

2006-07-04 Thread Michael Torrie
On Tue, 2006-07-04 at 06:39 -0500, Marius Schamschula wrote: > Hi, > > I'm running into problems building gtk+ 2.10.0 on Mac OS X 10.3.9. Currently GTK with the quartz backend requires Tiger (10.4). I hope that at some point it will run on Panther, but currently the developers are focusing all t

Re: Apple Mighty Mouse

2006-07-04 Thread John Cupitt
Apple's X server doesn't seem to pass the events on, or at least I was unable to find them. You just get up/down scroll. Maybe the OS X native backend is smarter, but I've not tried it. On 7/4/06, Ben Powers <[EMAIL PROTECTED]> wrote: > Is there support for 4-way scrolling IE apple mighty mouse?

Re: when wride my own widget, how to keep the rate of the widget's height and width at a constant value

2006-07-04 Thread Daniel Haude
On Tue, 04 Jul 2006 09:33:41 +0200, chao yeaj <[EMAIL PROTECTED]> wrote: > I am writing my own gtk widget for my application > What i want to achieve is that: when the user change the > widget's size with his mouse,i want the widget keep this: > height/width = 3/4 .

Re: When packing widgets, what is the difference between "box" and "table "

2006-07-04 Thread tomas
On Tue, Jul 04, 2006 at 12:26:49PM +0800, chao yeaj wrote: > Hello, everyone >First ,i am sorry for my terrible English. > >When packing widgets ,we can use the box widget or the table > widget,but what is the difference ? Box widgets come basically in two flavours: VBox and HBox

Re: QUestion about memory footprint of GTK.

2006-07-04 Thread Tristan Van Berkom
David Moffatt wrote: > Hi all, > > > > I am a newbie working on reducing the memory footprint of GTK > applications for use on a cell phone. Does anyone know what some of > this is? Here is a pmap H, what exactly are you asking here... what libraries they are ? > > Of a trivial gtk app

Re: QUestion about memory footprint of GTK.

2006-07-04 Thread Padraig O'Briain
On Solaris I get: pmap `pgrep gnome-panel` | grep atk FB0F 96K r-x-- /usr/lib/libatk-1.0.so.0.1114.0 FB116000 16K rwx-- /usr/lib/libatk-1.0.so.0.1114.0 The 16K is the data segment used by libatk. libatk provides accessibility framework for GTK. Padraig David Moffatt wrote: > > Hi all, > >

QUestion about memory footprint of GTK.

2006-07-04 Thread David Moffatt
Hi all,   I am a newbie working on reducing the memory footprint of GTK applications for use on a cell phone.  Does anyone know what some of this is?  Here is a pmap Of a trivial gtk app (think hello world with buttons).   These appear to be memory segments with no permissions.  They a

Apple Mighty Mouse

2006-07-04 Thread Ben Powers
Is there support for 4-way scrolling IE apple mighty mouse? I'm specifically wondering about my MacBook touchpad, but I think it's the same thing.-- Cheerydayz... Bennyp ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listin

Button background colors

2006-07-04 Thread Michael Kahn
I am using Gtk 2.8.18. I would like to know how to set the background color in a GtkButton. I cannot set the background in a style, theme, or resource file because I am programming to requirements that specify different background colors for different buttons. I have tried using gtk_widg

Unable to install gtk2.8

2006-07-04 Thread Ahmed Farrag
Hi, I have RHEL 4 installed on my machine, and I want to update the installed gtk to version 2.8.1 . However each time I try to start the configure script, I got a configuration error stating that I have to install glib, atk, cairo and pango libraries with newer versions than the ones currently i

Building gtk+ 2.10.0 under Mac OS X 10.3.9

2006-07-04 Thread Marius Schamschula
Hi, I'm running into problems building gtk+ 2.10.0 on Mac OS X 10.3.9. 1) cairo 1.2.0 doesn't build unless one disables the Quartz backend. 2) gtk+ fails to build because of missing cups header files. 3) After manually installing the correct header files form Apple's repository I get the follow

Re: GtkTextBuffer "destroying"

2006-07-04 Thread Stefano Esposito
On Sun, 25 Jun 2006 12:49:33 -0700 chuck gilbert <[EMAIL PROTECTED]> wrote: > I can not seem to destroy a GtkTextBuffer created by calling > gtk_text_buffer_new. > To test my problem I used a function like below: > > somefunction() > { > GtkTextTagTable *tt = gtk_text_tag_table_new();

when wride my own widget, how to keep the rate of the widget's height and width at a constant value

2006-07-04 Thread chao yeaj
Hello everyone First ,i apologize for my poor English I am writing my own gtk widget for my application What i want to achieve is that: when the user change the widget's size with his mouse,i want the widget keep this: height/width = 3/4 .

Re: When packing widgets, what is the difference between "box" and "table "

2006-07-04 Thread Dov Grobgeld
Box is one dimensional, either horizontal (hbox) or vertical (vbox) and the widgets are packed in the beginning or the end of them. Table is two dimensional and widgets are packed by specifying the coordinates of the four sides to which the widget is to be attached. You can also get two dimension