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 t

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)); vo

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_scrolled_windo

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 ___ gtk-app-dev

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

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

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

Re: Subject matter

2005-07-26 Thread Brian J. Tarricone
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: > 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 GT

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

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 accepta

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 que

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 abou

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: 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///stock -- John (J5) Palmieri <[EMAIL PROTECTED]> __

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: 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 doc

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: 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 veri

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: Window Visibility Signal

2005-07-26 Thread Owen Taylor
On Mon, 2005-07-25 at 14:45 -0600, Kevin DeKorte wrote: > On Monday 25 July 2005 02:11 pm, David Necas (Yeti) wrote: > > On Mon, Jul 25, 2005 at 01:57:02PM -0600, Kevin DeKorte wrote: > > > Nice tip, but unfortunately the expose event does not signal when the > > > object is covered up. Only when r

Re: strangeness of g_signal_connect

2005-07-26 Thread Owen Taylor
On Mon, 2005-07-25 at 12:50 +0530, Annamalai Gurusami wrote: > Colossus <[EMAIL PROTECTED]> writes: > > > In my app I have the following: > > > > g_signal_connect ((gpointer) AddFile_button, "clicked", > > G_CALLBACK (on_add_files_activate), > > "dummy");

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 http://mail.gnome.org/mai

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 **e

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: 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

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

Themes With Patterns

2005-07-26 Thread Neelesh Bodas
Hello All, Some of the GTK themes have patterns associated with them which appear on the background of window, buttons etc (Example : Smokey blue theme has blue colored horizontal lines). Is there a way by which this background image / pixbuf can be obtained using GTK APIs? Thanks in Advance, Nee

re:gtk entry

2005-07-26 Thread srinivas
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, GtkWidget *window_entry1, *window_entry, *entry_sel; const

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(

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 t

Simple Query

2005-07-26 Thread Hasmeet Bedi
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 see in mobiles) on the host, And finally I have to display my

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 : "motion_noti

Problem with GScanner

2005-07-26 Thread Uzytkownik
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) { GTokenType token; //1 g_debug("head"); //1 while(1

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 numer

Re: Scree Updating - Updating toooo soooow

2005-07-26 Thread John Cupitt
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 : > > "motion_notify_event" to obtain mouse

Re: Doubt about free or dont free

2005-07-26 Thread Greg Breland
On Sat, 2005-07-23 at 11:29, Gus Koppel wrote: > Arx Henrique wrote: > I wish the API docs would be added a line for _every_ get- or set- > function, which explicitly notes whether and how reference counts of > associated objects are changed by that function. What really needs to happen(and I bel

Scree Updating - Updating toooo soooow

2005-07-26 Thread Przemysław Więckowski
Hello , first of all i'm must say that i'm beginer in GTK, so please be patient. Well, 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 : "motion_notify_eve