exchange a Table widget by another

2005-11-29 Thread Flavio Alberto Lopes Soares
belong to any window, the glade-2 load this file OK. Thanks for any help. -- Flavio Alberto Lopes Soares [EMAIL PROTECTED] ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Problems - GTK no receiving signals - no running callbacks

2005-11-08 Thread Flavio Alberto Lopes Soares
) { printf(MAIN DESTROY\n); } -- Flavio Alberto Lopes Soares [EMAIL PROTECTED] ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Repeated timeouts period

2005-10-12 Thread Flavio Alberto Lopes Soares
I saw this behavior occur in my application, what your sugestion to fix it ? Thanks Good Lucky Nicolas George wrote: you've already given a pretty good example of how to deal with this problem properly. something like: use the timeout to fetch the real system time once every 999/1000's of a

How to change the GtkViewPort border color

2004-12-07 Thread Flavio Alberto Lopes Soares
Hello all, I writing an application in GTK+ using C language and your interface was made using Glade and now I need to set the border color of a GtkViewPort using resource files but I can't change only the border color, how to change this ? Thanks a lot, -- Flavio Alberto Lopes Soares [EMAIL

Problems in Camorama+GTK+Debian Unstable (GtkDrawingArea)

2004-09-16 Thread Flavio Alberto Lopes Soares
the same problem but I don't saw your code in this moment, I don't know if it uses GtkDrawingArea Thanks a lot Excuse-me for my bad english -- Flavio Alberto Lopes Soares [EMAIL PROTECTED] MAQPLAS Indstria e Comrcio de Mquinas LTDA http://www.maqplas.com.br

Re: which IDE do u suggest to use to develop gtk applicacions?

2004-05-19 Thread Flavio Alberto Lopes Soares
interesting, where can I find some documentation, tutorials about libglade ? I like of emacs as IDE for Gtk+ and general soft development ;-) Best regards -- Flavio Alberto Lopes Soares [EMAIL PROTECTED] MAQPLAS Indústria e Comércio de Máquinas LTDA http://www.maqplas.com.br

Re: glade

2004-05-18 Thread Flavio Alberto Lopes Soares
___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list -- Flavio Alberto Lopes Soares [EMAIL PROTECTED] MAQPLAS Indústria e Comércio de Máquinas LTDA http://www.maqplas.com.br

Problems compiling application Gtk1.2

2004-05-17 Thread Flavio Alberto Lopes Soares
as examples libgtk-1.2-dev, xlibs-dev, etc and I don't have solution for this Someone have a solution PS : this occurs with Gtk2 programs too. Thanks for any help -- Flavio Alberto Lopes Soares [EMAIL PROTECTED] MAQPLAS Indústria e Comércio de Máquinas LTDA http://www.maqplas.com.br

Compile/Link program static in Gtk

2004-03-28 Thread Flavio Alberto Lopes Soares
is the parameter to put in ./configure (or whatever) to specify to system that I want my program compiled static ? Thanks for all help Flavio Alberto Lopes Soares [EMAIL PROTECTED] ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman

Re: Size of Gtk Libs ?

2004-03-26 Thread Flavio Alberto Lopes Soares
Em Sex, 2004-03-26 às 05:04, Nils O. Selåsdal escreveu: On Thu, 2004-03-25 at 18:06, Flavio Alberto Lopes Soares wrote: Hello all, I have a program made with gtk-1.2 in Linux (Now I'm drawing the interface of a new version using gtk2.0) and this system will run in a Industrial PC

Size of Gtk Libs ?

2004-03-25 Thread Flavio Alberto Lopes Soares
english -- Flavio Alberto Lopes Soares [EMAIL PROTECTED] MAQPLAS Indústria e Comércio de Máquinas LTDA. ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: hide titlebar

2003-12-03 Thread Flavio Alberto Lopes Soares
-- Flavio Alberto Lopes Soares [EMAIL PROTECTED] MAQPLAS INDÚSTRIA E COMÉRCIO DE MÁQUINAS LTDA. http://www.maqplas.com.br ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: hide titlebar

2003-11-30 Thread Flavio Alberto Lopes Soares (MAQPLAS)
/API/2.0/gtk/GtkWindow.html#gtk-window-set-decorated -- Flavio Alberto Lopes Soares (MAQPLAS) [EMAIL PROTECTED] ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Problems with text alignment in labels

2003-10-10 Thread Flavio Alberto Lopes Soares
On Fri, 10 Oct 2003 13:46:48 +0200 Preben Randhol [EMAIL PROTECTED] wrote: Flavio Alberto Lopes Soares [EMAIL PROTECTED] wrote on 10/10/2003 (09:25) : I saw your file, I compiled it in C and it works, but if you put strings of diferent sizes (you used label1=label2 in size (width

Re: Problems with text alignment in labels

2003-10-10 Thread Flavio Alberto Lopes Soares
On Fri, 10 Oct 2003 17:47:43 +0200 Preben Randhol [EMAIL PROTECTED] wrote: Flavio Alberto Lopes Soares [EMAIL PROTECTED] wrote on 10/10/2003 (17:21) : But I allways get: label1 some more text label2 less Check in glade that your label has Justify

Problems with text alignment in labels

2003-10-09 Thread Flavio Alberto Lopes Soares
Hello all I'm developing an application made with glade-2 and all labels that I attempt write 2 paragraphs (2 words, one in each line) with central alignment, the 2nd paragraph doesn't centralize, there's some way to do this ? -- Flavio Alberto Lopes Soares [EMAIL PROTECTED] MAQPLAS

How to align center 2nd line in a GtkLabel using pango ?

2003-10-09 Thread Flavio Alberto Lopes Soares
will be been thankful Thanks for all help -- Flavio Alberto Lopes Soares [EMAIL PROTECTED] MAQPLAS Indústria e Comércio de Máquinas LTDA. http://www.maqplas.com.br -- Flavio Alberto Lopes Soares [EMAIL PROTECTED] MAQPLAS Indústria e Comércio de Máquinas LTDA. http://www.maqplas.com.br

Re: Problems with text alignment in labels

2003-10-09 Thread Flavio Alberto Lopes Soares
On Thu, 9 Oct 2003 14:49:23 +0200 Preben Randhol [EMAIL PROTECTED] wrote: Flavio Alberto Lopes Soares [EMAIL PROTECTED] wrote on 09/10/2003 (14:28) : Hello all I'm developing an application made with glade-2 and all labels that I attempt write 2 paragraphs (2 words, one in each line

gtk_window_set_decorated to false put GtkWindow in screen corner

2003-09-29 Thread Flavio Alberto Lopes Soares
)); if(gtk_window_get_decorated(GTK_WINDOW(user_data))) gtk_window_set_decorated(GTK_WINDOW(user_data), FALSE); return 0; } int set_window_center(gpointer user_data) { gtk_window_set_position(GTK_WINDOW(user_data), GTK_WIN_POS_CENTER_ALWAYS); return 0; } -- Flavio Alberto Lopes Soares [EMAIL

Re: windows not send widget to callback

2003-09-18 Thread Flavio Alberto Lopes Soares
for all help On Thu, 18 Sep 2003 17:39:09 -0300 Flavio Alberto Lopes Soares [EMAIL PROTECTED] wrote: Hello all, I'm creating an application that uses GTK2 and your interface is made using Glade 2, I attached in each window a signal key_press_event and in your callback I read

This the correct way to catch keys pressed ?

2003-09-10 Thread Flavio Alberto Lopes Soares
Hello all, I'm developing an application that catch the key press and do something depending wich key is this, my application will occupy all screen and the directional keys will change pixmaps in main window to select the function to do Reading the helps docs I found the gdkkeysyms.h that

substitute for GtkCList ???

2003-07-31 Thread Flavio Alberto Lopes Soares
Hello all, I'm developing an application (using Glade) that uses GtkCList in Gtk1.2, but now I'm starting to change this application to Gtk2.0 and I'm using GLADE-2 to make your interface, but in my old app I use GtkCList, and now I don't know what can substitute GtkCList in Gtk2.0 (and in

Re: Placing text over a GtkImage

2003-07-29 Thread Flavio Alberto Lopes Soares
, there some tutorial for beginners (I have some knowledge in GTK+1.2 in c) ? Thanks for all help Flavio Alberto On Tue, 29 Jul 2003 09:15:39 +0200 [EMAIL PROTECTED] wrote: From: Flavio Alberto Lopes Soares [mailto:[EMAIL PROTECTED] Hello all, I'm using GTK2.0 to develop a program

There some way to overlap text in a pixmap ?

2003-07-24 Thread Flavio Alberto Lopes Soares
way, overlap the text (GtkLabel ?) on the pixmap, changing this text dynamically with my code. Thanks for all help and excuse-me for my bad english (I'm from Brazil); Flavio Alberto Lopes Soares ___ gtk-list mailing list [EMAIL PROTECTED] http

Gtk-WARNING, How to fix ?

2003-05-27 Thread Flavio Alberto Lopes Soares
is this and how to fix this ? I will be been thankful Success for all -- Flavio Alberto Lopes Soares [EMAIL PROTECTED] Linux User n. 257636 MAQPLAS INDÚSTRIA E COMÉRCIO DE MÁQUINAS LTDA. www.maqplas.com.br [EMAIL PROTECTED] ___ gtk-list mailing list

Re: How to identify a particular checkbutton ?

2002-12-12 Thread Flavio Alberto Lopes Soares
= checkbutton_ponto11_29 . . . as you said that your program does. What's wrong ??? If work I will manipulate this string to know what checkbutton was clicked. PS: Excuse-me for horrible english. Thanks for all help -- Flavio Alberto Lopes Soares [EMAIL PROTECTED] Linux User n. 257636 MAQPLAS

Re: How to identify a particular checkbutton ?

2002-12-11 Thread Flavio Alberto Lopes Soares
to data passed by gtk_object_set_data... but this is not what I want. living learning. I go to continue searching some solution, if someone have some tip for me I will be thankful. -- Flavio Alberto Lopes Soares [EMAIL PROTECTED] Linux User n. 257636 MAQPLAS INDÚSTRIA E COMÉRCIO DE MÁQUINAS LTDA

Re: Releasing client-side pixmaps

2002-10-23 Thread Flavio Alberto Lopes Soares
thankful. Thanks -- Flavio Alberto Lopes Soares [EMAIL PROTECTED] Linux User n. 257636 MAQPLAS INDÚSTRIA E COMÉRCIO DE MÁQUINAS LTDA. www.maqplas.com.br [EMAIL PROTECTED] Hi, I'm trying to minimize the memory usage of a GTK application which uses a GtkPixmap to show a background pixmap

gtk_rc_parse doesn't work, but worked in the past !

2002-10-18 Thread Flavio Alberto Lopes Soares
/); */ gnome_init (ihm_princ, VERSION, argc, argv); . . . -- Flavio Alberto Lopes Soares [EMAIL PROTECTED] Linux User n. 257636 MAQPLAS INDÚSTRIA E COMÉRCIO DE MÁQUINAS LTDA. www.maqplas.com.br [EMAIL PROTECTED] ___ gtk-list mailing list [EMAIL PROTECTED

threads in GTK+

2001-11-30 Thread Flavio Alberto Lopes Soares
Hello all. Yesterday I made some experiences in a GTK program that I make using pthread_ functions but the program crashed. I want to know where I can obtain information about threads in GTK ? Is possible ? Very thanks. Flavio Alberto ___ gtk-list

clist make scroll ???

2001-11-27 Thread Flavio Alberto Lopes Soares
Hello all, I need to know how to make scrolls in a Clist Widget, is the only way using vscroll (my application only has vertical scroll) ?, I attempt to use gtk_clist_moveto() but this function doesn't make what I was thinking. Thanks for any help Flavio Alberto

Re: Static Compiling - -static option problem

2001-11-27 Thread Flavio Alberto Lopes Soares
Havoc Pennington wrote: Flavio Alberto Lopes Soares [EMAIL PROTECTED] writes: LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -static -o $@ but when I compile/link using make it says this error message: /usr/bin/ld: cannot find -lgdk_imlib collect2: ld returned 1 exit status

Re: Static Compiling - -static option problem

2001-11-27 Thread Flavio Alberto Lopes Soares
Flavio Alberto Gregory McLean wrote: On Tue, 2001-11-27 at 12:32, Havoc Pennington wrote: Flavio Alberto Lopes Soares [EMAIL PROTECTED] writes: Maybe you don't have a static version of gdk_imlib? Do you have libgdk_imlib.a? Really, I has only libgdk_imlib.so, where can I obtain

Re: Hiding a window instead of destroying it

2001-10-30 Thread Flavio Alberto Lopes Soares
Use gtk_widget_hide(GtkWidget *widget) to hide (obvious) your widget and gtk_widget_show(GtkWidget *widget) to show, if you use gtk_widget_destroy(your_window) you will need to re-make this window when you have to re-use it. Success Best regards Flavio Alberto Ignacio wrote: Hi, I have an

Re: Simple question:How to destroy a child window?

2001-10-22 Thread Flavio Alberto Lopes Soares
Use gtk_widget_destroy(widget); this will destroy only the widget that you want, gtk_main_quit() exit of your application. Good lucky Sucess Flavio Alberto Pengjun Pei wrote: Hi,I made a program containing a main window and may pop up a new window. But I always have problems in

How to change pixmap of pixmap widget

2001-10-08 Thread Flavio Alberto Lopes Soares
Hello, I need to change the file from pixmaps widgets to change the picture in some position, first I think in catch the properties of pixmap (x, y coord, etc), and I will destroy this pixmap and create a new pixmap with same properties (name, position, etc) except the picture file, but I don't

How I get the name of a window ?

2001-09-19 Thread Flavio Alberto Lopes Soares
Hello ! I need to know how to catch the name of the windows to identify the window that is active to manipulate pixmaps in this windows; The problem is this : I catch the key that was pressed and if the key are the arrows (up, down, left,right) (my application will not use mouse) a pixmap

How to Beep with GTK ????

2001-07-12 Thread Flavio Alberto Lopes Soares
Hello, I need to emitt one beep when something in my program happens, I used printf(\a); or printf(\n%c\n,7); but it only works if I call my program from prompt line and I don't want this. Theres a GTK command that emit sounds like a Beep ? Thanks for any help and excuse my ugly english.

[Fwd: Technical reference for GTK_BUTTON() GTK_BIN()]

2001-07-12 Thread Flavio Alberto Lopes Soares
Flavio Alberto Lopes Soares wrote: I search in GTK reference manual for GTK_BUTTON() GTK_BIN and GtkWidget structure for my study and I can't found any reference, somebody can say where I can find any reference for this ? Thanks Flavio Alberto

fonts in GTK+

2001-07-10 Thread Flavio Alberto Lopes Soares
I'm a beginer aplication developer in GTK+ and I want to know how to change the fonts of labels in objects in GTK+ (ex: gtk_button... gtk_label..., ...); I thanks for any help flaviothunder [EMAIL PROTECTED] [EMAIL PROTECTED] ___ gtk-list mailing

Focus in GTK+

2001-07-10 Thread Flavio Alberto Lopes Soares
I'm developing an aplication that does not uses mouse with C in GTK+, and I need to turn off the focus for objects in my Window, only catching keyboards events. All works, only this focus that I don't know how to eliminate. How to do this ? Thanks for any help Flavio