configure_event not sended

2005-12-13 Thread Flávio Alberto Lopes Soares
Hello all, I'm developing an application using GTK2 + libglade for use in a x86 embedded system, I'm compiled the gtk2, libglade2, pango, xft2, fontconfig, freetype, glib2 X 4.5.99.8 and kdrive small X (I will choose what X I will use) without problems to install in my target system. In my Debian

Re: Reparent a widget to a GdkDrawable

2005-12-09 Thread Flávio Alberto Lopes Soares
In GTK FAQ theres an explanation about this look at : http://www.gtk.org/faq/#AEN636 Good luck Flavio Alberto Lopes Soares [EMAIL PROTECTED] [EMAIL PROTECTED] escreveu: Hi, Can someone please tell me how t reparent a widget from a GdkWindow to a GdkDrawable? Thank you.

Serial data crazy (help !)

2002-04-23 Thread Flávio Alberto Lopes Soares
Hello all, I'm developing an aplication that makes serial communication with a device (LCD terminal) that has a specific protocol (it's simple), I made a gdk_input_add with the file descriptor pointing to a function named le_serial, in that function it write a GtkText in front-end and send this

Problem with autogen.sh configure

2002-03-12 Thread Flávio Alberto Lopes Soares
Hello, I installed Dedian Potato 2.2r5 in my machine, and tryied to compile one program that I was making, the interface was made by Glade, and when I run ./autogen.sh it creates the configure file and attempts to run it, but the configure file has an error in some macros (I don't know if this

Re: Problem with autogen.sh configure

2002-03-12 Thread Flávio Alberto Lopes Soares
I saw more one thing : my Glade doesn't generates the intl directory inside my project directory, I believe that this is the problem, but I don't know why this occurs and how to fix it. Thanks a lot Flavio Alberto Em 12 Mar 2002 08:51:34 -0300, Flávio Alberto Lopes Soares escreveu: Hello, I

Problem compiling GTK program (scrollkeeper not exists)

2002-03-11 Thread Flávio Alberto Lopes Soares
Hello all, I installed the Debian 2.2r5 in my system in the place of Conectiva 7.0 (Red Hat like), I attempt to compile a program that I made in GTK (interface made by Glade) but when I run ./configure this says that hasn't installed scrollkeeper and the Makefile doesn't generated, what package

Re: problems creating windows

2002-02-21 Thread Flávio Alberto Lopes Soares
You should use GTK_WINDOW_TOPLEVEL, GTK_WINDOW_POPUP or GTK_WINDOW_DIALOG Success Flavio Alberto window=gtk_window_new(GTK_WINDOW_TOPLEVEL); by pressing on a button , i'd like to create a child window. So that in the callback function i 'd like to create the child window. But i don't

RE: GtkEntry not accepting keyboard input (GTK+ 1.2)?

2002-02-07 Thread Flávio Alberto Lopes Soares
I had this same problem! I wanna create a full window popup (modal for my applications) but it didn't have focus... The solution, I don't know if is elegant, but works, I create a window TOPLEVEL with 0x0 dimension and I atached this big popup Window, when I run the program, the focus came in

How to compile in gtk+ 1.3

2002-02-04 Thread Flávio Alberto Lopes Soares
Hello all, I downloaded the GTK+ 1.3 (rpm packages) and make upgrade, aparently all OK, now I want to compile an aplication that I was making with gtk+1.2.10 (the interface was generated by Glade), but it always compile in gtk+1.2, I see in Makefile that it make many references to gtk+1.2, what I

Run time error in gtk1.3 application

2002-02-04 Thread Flávio Alberto Lopes Soares
Hello all, I make some modifications in my Makefile (attached in mail) in order to compile my application in gtk+1.3 (gtk+2.0), in compilation I get this messages (was several similar messages to each file of my application, I put only piece of messages) : gcc -DHAVE_CONFIG_H -I. -I. -I..

GTK without X ???

2002-02-01 Thread Flávio Alberto Lopes Soares
Hello all, I hear (in Linux for PlayStation2 Forum) about some version of GTK+ that access directly the framebuffer, does not need for X, this proceed , if yes where can I found information about this (for PC X86) ? Thanks in advance Flavio Alberto

RE: GTK without X ???

2002-02-01 Thread Flávio Alberto Lopes Soares
Can I compile my application normally (I making my application using GTK+ 1.2.10), or I must make some changes ? Thanks in advance Flavio Alberto Em 01 Feb 2002 15:50:59 +0100, zze-coframi balr001 escreveu: Hello, there's a version of GTK that directly access the framebuffer, but it's

Catching keys combinations

2002-02-01 Thread Flávio Alberto Lopes Soares
Hello again, I need to catch key combinations (ex.: CTRL + X + any key) , my application windows are connected with the key_press_event, but I view only 1 key press in moment, what I do ? Thanks in advance Flavio Alberto ___ gtk-list mailing list

Re: GTK without X ???

2002-02-01 Thread Flávio Alberto Lopes Soares
Hello again Where can I download GTK+2.0 ? Thanks Flavio Alberto Em 01 Feb 2002 11:10:38 -0500, Havoc Pennington escreveu: Flávio Alberto Lopes Soares [EMAIL PROTECTED] writes: Can I compile my application normally (I making my application using GTK+ 1.2.10), or I must make some changes

Re: change the colour of widget after it has been shown

2002-01-17 Thread Flávio Alberto Lopes Soares
I create 2 pixmaps equals and put a gtk_timeout_add to swap these pixmaps (I change the function create_pixmap from support.c from gladefiles to make this swap), I believe that works, in this way the pixmap seems to blink. I don't know if it is the better way, but...works. The function that make

How to catch enter pressed in a gtk entry text ?

2002-01-15 Thread Flávio Alberto Lopes Soares
Hello all, I need to detect when I press enter in a gtk entry text, callback function is here: void on_entry_senha_user_changed(GtkEditable *editable, gpointer user_data) { gchar string_senha_user[10]; int len; gchar

Re: How to catch enter pressed in a gtk entry text ?

2002-01-15 Thread Flávio Alberto Lopes Soares
I will use the key_press event because all windows in my application already use this signal, and I will send the gtk entry text contents to your manipulation function. Thanks by help Flavio Alberto Em 15 Jan 2002 14:07:09 -0500, Havoc Pennington escreveu: Flávio Alberto Lopes Soares

timer inside timer

2002-01-14 Thread Flávio Alberto Lopes Soares
Hello all I make an aplication that in some time uses timer to call some function in regular time interval, but inside this function I add other gtk_timeout_add with few milliseconds, but the callback function never is called; Is it forbidden to put gtk_timeout_add inside a callback

How to load a xpm picture in memory ?

2002-01-08 Thread Flávio Alberto Lopes Soares
Hello all I need to load a xpm picture in memory using gtk functions, but I don't know how to do this. I thanks so much for any help. Thanks Flavio Alberto ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: [Fwd: program flow--please help]

2001-12-07 Thread Flávio Alberto Lopes Soares
I use exactly this in my application, when I create a window yes/no, I connect this window to keyboard signal and the keyboard signal handler it verify the result, while the system waiting with gtk_main_iteration(), it's so. Good Look Flavio Alberto snip there's something i saw called

Browsing CList rows with keyboard

2001-12-04 Thread Flávio Alberto Lopes Soares
Hello all; I'm developing an application that uses CList but doens't use mouse, I has some doubts about CList, I need to control the movement of row selection using PagUp/PageDow, the keys aren't problem, I detect it easy, but how to detect in a CList that the row selected are in the bottom off

How to know the name of Widgets ?

2001-09-18 Thread Flávio Alberto Lopes Soares
Hello again ! I need to know how to discover the name of the windows, I know that gtk_widget_get_name catch the type of widget ex: GtkWindow, GtkButton, etc, but now I need to view the name of my widget, ex : window_ihm is a window, window_senha is other widget window, etc. Thanks for any help

How to write text in a window ?

2001-09-10 Thread Flávio Alberto Lopes Soares
Hello, I'm creating an application using Glade that shows 1 message box when something occurs, this message can be changed, with Glade I made this window, but your code is placed in interface.c (create_window_message()), that must be not changed (as Glade says), now I will attempt to obey that