GError and gettext. Should I or shouldn't I?

2005-07-26 Thread Uzytkownik
Should I use gettext in GError messages? In message is position of error in file. Or it will be print on stdout or for example on GUI show fragment of file. Regards -- Linux user: #376500 (see http://counter.li.org/) -- W³ochy i Pary¿ - przewodniki turystyczne do wyboru. Tylko z lipcowym

Re: Scree Updating - Updating toooo soooow

2005-07-26 Thread Przemysław Więckowski
Użytkownik John Cupitt napisał: Hi, On 7/26/05, Przemysław Więckowski [EMAIL PROTECTED] wrote: i'm trying write DAQ/Visualisation application using GTk2.x, but i'm little confused , because i can't obtain satisfied efficiency. I written sample code to check this usig signals :

Re: Doubt about free or dont free

2005-07-26 Thread Stefan Kost
Hi again, Gus Koppel wrote: While the case of returned const gchar *s is rather simple, the real problem to me is that the API docs are quite less explicit when it comes to more complex objects than just string constants. For instance, whether and how reference counts of objects related to

cross-compiling GTK / Re: Simple Query

2005-07-26 Thread Toni Willberg
On Tue, 2005-07-26 at 10:45 +0100, Hasmeet Bedi wrote: Hello Everybody This is my 1st mail in this group. I have got Freescale's i.MX21 Board( as target. it's having ARM9T as its CPU core. .I m using Montavista Linux on the Host PC. I have to develop simple mobile Menu Screen( as we

popup menu

2005-07-26 Thread Trupthi N.T.
hello everybody, can anybody tell me how to create a pop-up window in gtk1.2 trupthi ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Scree Updating - Updating toooo soooow

2005-07-26 Thread John Cupitt
On 7/26/05, Przemysław Więckowski [EMAIL PROTECTED] wrote: Could you please tell me. What would be faster: directly putting prepared pixmap using gdk_draw_drawable(..) as rectangle or drawing rectangle using gdk_draw_rectangle(..)?? ( i heve't tested it so i ask...) Your choices are: 1)

Re: re:gtk entry

2005-07-26 Thread Iago Rubio
On Tue, 2005-07-26 at 15:35 +0530, srinivas wrote: hi; i am having pbm with gtk_entry widget, i created entry with glade, and i accessed entry using lookup_widget, when i tried to get text entered in to entry widget, i am not getting the text. here is the procedure i did,

Re: Problem with GScanner

2005-07-26 Thread Uzytkownik
Dnia 26-07-2005, wto o godzinie 10:42 +0200, Uzytkownik napisał(a): I use GScanner to parse same file. I test the first function of setting page size. In file it's represent by: PAGE A4; or PAGE A4; etc. This is parse loop: static void parse_head(WocPagerParser *parser, GError **error) {

Re: Problem with GScanner

2005-07-26 Thread Uzytkownik
Error was in another place :) Regards -- W³ochy i Pary¿ - przewodniki turystyczne do wyboru. Tylko z lipcowym numerem miesiêcznika Auto+. http://www.a-plus.pl ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: Scree Updating - Updating toooo soooow

2005-07-26 Thread Tristan Van Berkom
John Cupitt wrote: On 7/26/05, Przemysław Więckowski [EMAIL PROTECTED] wrote: Could you please tell me. What would be faster: directly putting prepared pixmap using gdk_draw_drawable(..) as rectangle or drawing rectangle using gdk_draw_rectangle(..)?? ( i heve't tested it so i ask...) You

Re: GError and gettext. Should I or shouldn't I?

2005-07-26 Thread Tristan Van Berkom
Uzytkownik wrote: Should I use gettext in GError messages? In message is position of error in file. Or it will be print on stdout or for example on GUI show fragment of file. Heh, You made me jump, I've been using error-message to display save/load errors in glade3, dont worry; I just

Where the stock items are stored?

2005-07-26 Thread Hazael Maldonado Torres
Hi guys Can anyone tell me where are *.[png|xpm] files for the stock items? Thanks Hazael Maldonado Torres ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Doubt about free or dont free

2005-07-26 Thread Tristan Van Berkom
Greg Breland wrote: [...] What really needs to happen(and I believe is in the works) is that the GTK manual needs user comments or wiki goodness. This would solve almost everything except that each function might have too much information before too long. :) While we're on a rant about API

Re: Where the stock items are stored?

2005-07-26 Thread Tristan Van Berkom
Hazael Maldonado Torres wrote: Hi guys Can anyone tell me where are *.[png|xpm] files for the stock items? This mailing list, this week: http://mail.gnome.org/archives/gtk-app-devel-list/2005-July/msg00238.html Cheers, -Tristan

Re: Where the stock items are stored?

2005-07-26 Thread John (J5) Palmieri
On Tue, 2005-07-26 at 16:14 +0100, Hazael Maldonado Torres wrote: Hi guys Can anyone tell me where are *.[png|xpm] files for the stock items? Thanks Hazael Maldonado Torres /usr/share/icons/theme name/icon size/stock -- John (J5) Palmieri [EMAIL PROTECTED]

GtkButton child-displacement-y

2005-07-26 Thread Boncek, John
Using GTK 2.2.4. GtkButton provides the following property, among others: Style Properties child-displacement-y (gint : Read) How far in the y direction to move the child when the button is depressed. Ibut says nothing about how to set it. Apparently you can't do it directly with g_object_set.

Re: GtkButton child-displacement-y

2005-07-26 Thread Matthias Clasen
On Tue, 2005-07-26 at 10:35 -0500, Boncek, John wrote: Using GTK 2.2.4. GtkButton provides the following property, among others: Style Properties child-displacement-y (gint : Read) How far in the y direction to move the child when the button is depressed. Ibut says nothing about how to

To spawn or not to spawn? This is the question...

2005-07-26 Thread The Saltydog
I have an application that performs deep directory recurrent scanning. During such scan, at each iteration, I execute while (gtk_events_pending()) { gtk_main_iteration(); }in order to keep the GUI updated from the directory scans results. It works fine, at an acceptable speed. Now my

Re: To spawn or not to spawn? This is the question...

2005-07-26 Thread Tristan Van Berkom
The Saltydog wrote: I have an application that performs deep directory recurrent scanning. During such scan, at each iteration, I execute while (gtk_events_pending()) { gtk_main_iteration(); }in order to keep the GUI updated from the directory scans results. It works fine, at an

Subject matter

2005-07-26 Thread Mike.Friedrichs
List, I am learning GTK+ for implementation on win2k/xp. I've been studying the GTK+ architecture, and appears much more appealing than ms windows architecture. Am I at the right mail list for questions about the GTK+ API's??? --- MikeFriedrichs This e-mail and any attachment are confidential

Pango-1.8.2 released

2005-07-26 Thread Owen Taylor
Pango-1.8.2 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.6/ pango-1.8.2.tar.bz2 md5sum: f5b5da7a173f0566d8217ec112fde993 pango-1.8.2.tar.gzmd5sum: 90fe9836f0e00c4da5c7499d6e3b7fc8 This is a stable branch release; notable changes since 1.8.1 include support for Khmer and

Pango-1.9.1 released [unstable]

2005-07-26 Thread Owen Taylor
Pango-1.9.1 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.7/ pango-1.9.1.tar.bz2 md5sum: 91f386893ff483e14dc4571e352150e4 pango-1.9.1.tar.gzmd5sum: f7750cb67b239ff6ef2144a94b4ea04e This is a development release leading up to Pango-1.10.0, which will be released together

simple example of gtk-scrolled-window not working

2005-07-26 Thread David Morse
I took the hello world example from the gtk+2 tutorial, but with a gtk_scrolled_window. The resulting program runs fine except that THERE'S NO WINDOW VISIBLE ON THE SCREEN! What am I doing wrong? The source is attached, you can quickly find the changed lines because the originals are commented

Question about GtkFileChooserDialog

2005-07-26 Thread Michal Porzuczek
Hi, When using the GtkFileChooserDialog, is there a way to get the number of files in the folder you select or when saving check if the file you select already exists in the folder or dosen't in the case of opening? Thanks a lot, Michal ___

Re: simple example of gtk-scrolled-window not working

2005-07-26 Thread Tristan Van Berkom
David Morse wrote: [...] The source is attached, hehe, no its not. you can quickly find the changed lines because the originals are commented with the c++ '//' comments. Basically I replaced gtk_window_new() with gtk_scrolled_window_new(), and also gtk_container_add() with

GTK+ 2.0, one button affecting another

2005-07-26 Thread flood
Hello, In my application I have two buttons, normal and toggle, what I want is when I press the normal button the toggle button would be released. Here is the signal and callback function g_signal_connect_swapped(GTK_OBJECT(button), clicked, G_CALLBACK(button_callback), G_OBJECT(toggle));

Re: GTK+ 2.0, one button affecting another

2005-07-26 Thread Arx Henrique
try gtk_toogle_button_set_active(GTK_TOOGLE_BUTTON(widget), FALSE) instead G_OBJECT or even gtk_toogle_button_set_active((GtkToogleButton *)widget, FALSE); On 7/26/05, flood [EMAIL PROTECTED] wrote: Hello, In my application I have two buttons, normal and toggle, what I want is when I press the