Re: Label resizing window, ellipsizing

2012-01-02 Thread Tristan Van Berkom
Try setting "width-chars" property as well as "max-width-chars" property. GtkLabel apis could use a face-lift. It's possible that the default minimum width request exceeds the 10 max-width-chars which you set (which is what I assume is causing this problem). Cheers, -Tristan On Fri, De

Re: troubles porting from ubuntu to debian. [??]

2012-01-02 Thread Gary Kline
well, after some hours of findings and fixings bugs, the port works. i use espeak [etc, etc] | aplay that works here on ubuntu. the "espeak -f " causes strange driver problems here. in the morninh, i'll try the other means espeak -f on my netbook

release resource of gtk

2012-01-02 Thread wenmhappy
hi everyone, I run GtkLauncher(webkit/gtk/directfb), I find gtk/directfb are not released even if gtk_widget_destroy(top_window) has been called before gtk_main() quit. I don`t find function such as gtk_term or gtk_deinit() to release gtk . How to release whole gtk resources

Re: GTK app with scrolled window crashing trying to show a widget inside

2012-01-02 Thread Moritz Renftle
Thank you very much for your immediate response, this resolved my problem! Am Freitag, den 30.12.2011, 10:08 -0700 schrieb Michael Torrie: > On 12/30/2011 05:52 AM, David Nečas wrote: > > On Fri, Dec 30, 2011 at 01:28:32PM +0100, Moritz Renftle wrote: > >> i want to make one of those widgets visib

gtk_button_set_label does not change the label

2012-01-02 Thread ghum
Hello, I am trying to change button label with gtk_button_set_label. the code doesn't output any error messages, but the label doesn't change. Here is code: #include void pradetibutton_clicked (GtkWidget *proglog, GtkTextBuffer *logbuffer, GtkWidget *pradetibutton, gpointer data) { Gt

Label resizing window, ellipsizing

2012-01-02 Thread David Gomes
Hello there, I was wondering if there was a way of avoiding a label (in a notebook) to resize the window when the text in it is too big. I heard of ellipsizing, and EllipsizeMode.END seems great for me, but if I ellipsize it, it will be ellipsized even if the label is small. So, I want to ellips

Re: error in compile gtk3 in OSX

2012-01-02 Thread Luis Lopez
Apple's gcc doesn't seems to have the -x option that is passed from g-ir-scan. As a workaround, I use "make V=1" to see what is executed and I copy-paste the full command excluding the "-x". After doing this I can run make again with no errors. 2011/12/6 xiaobo : > Hi, All > > I got a error when

GTK 3 support status

2012-01-02 Thread John Lindgren
Hi, I am wondering what the status of GTK 3 is at this time with regard to bugs reported by application developers. I reported a rather serious bug (https://bugzilla.gnome.org/show_bug.cgi?id=662043) a month and a half ago, and there is still no comment from any GTK developer. The bug affec

Usage of gtk_list_store_set_valuesv()

2012-01-02 Thread Antonio Weber
Hi list, I'm trying to write a small app which uses a GtkTreeView to display a table. For some reason it does not work as expected so I extracted my usage in a small tableTest app (which a attach to this mail). I have 10 columns and 100 rows. Basically this is the central function: static void

Re: GTK 3 support status

2012-01-02 Thread tristan . van . berkom
On 2011-12-06, at 8:12 PM, Andrew Cowie wrote: > On Tue, 2011-12-06 at 17:47 +0900, Tristan Van Berkom wrote: > >> gtk_widget_set_size_request() should still succeed with the expected >> behaviour >> of setting the minimum size of a widget, > > So, does it do so for GtkLabel? ie, is it accepta

Re: troubles porting from ubuntu to debian. [??]

2012-01-02 Thread Gary Kline
nope:: an important part of what I need on my laptop, like maybe a gnome package, is missing. I tried to joining the gnome accessible group during a switch over in their mailing list utility. On Mon, Jan 02, 2012 at 02:42:43PM -0800, Gary Kline wrote: > Date:

Re: troubles porting from ubuntu to debian. [??]

2012-01-02 Thread David Nečas
On Mon, Jan 02, 2012 at 02:42:43PM -0800, Gary Kline wrote: > could you please explain more about this macro and how to > resolve the complaint? Use GTK_WIDGET_IS_SENSITIVE() instead of gtk_widget_is_sensitive(). > as you note, things do only now frown using the macro def: > >

Re: troubles porting from ubuntu to debian. [??]

2012-01-02 Thread Gary Kline
On Mon, Jan 02, 2012 at 09:29:23PM +0100, David Ne??as wrote: > Date: Mon, 2 Jan 2012 21:29:23 +0100 > From: David Ne??as > Subject: Re: troubles porting from ubuntu to debian. [??] > To: Gary Kline > Cc: GTK Devel List > > On Mon, Jan 02, 2012 at 12:15:45PM -0800, Gary Kline wrote: > > main.c:

Re: troubles porting from ubuntu to debian. [??]

2012-01-02 Thread David Nečas
On Mon, Jan 02, 2012 at 12:15:45PM -0800, Gary Kline wrote: > main.c:157: warning: implicit declaration of function ‘chdir’ > main.c:362: warning: implicit declaration of function ‘sleep’ Declared in unistd.h. Forgot to include it? > main.c: In function ‘inc_button_click_cb’: > main.

troubles porting from ubuntu to debian. [??]

2012-01-02 Thread Gary Kline
o can't figure this out. On my debian computer, make fails thusly: 4 -rw-r--r-- 1 kline 354 2012-01-01 13:59 Makefile pts/2 12:13 [441] k ~/bin gcc -std=gnu99 -Wall -g main.c -o main -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo