gtk_timeout_change()?

2001-10-29 Thread Esteban Quijano Vincenzi
Title: gtk_timeout_change()? > -Original Message- > From: David J. Topper [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 29, 2001 10:57 AM > To: Paul Davis > Cc: Havoc Pennington; [EMAIL PROTECTED] > Subject: Re: gtk_timeout_change()? > > > Hi folks, > > Well, at least I know wh

RE: signal_connect ??

2001-09-13 Thread Esteban Quijano Vincenzi
"delete_event",    GTK_SIGNAL_FUNC (file_quit_cmd_callback),    buf);    } Esteban Quijano V Artinsoft corp > -Original Message- > From: Andreas Scherf [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 13, 2001 2:58 AM > To: Es

RE: signal_connect ??

2001-09-12 Thread Esteban Quijano Vincenzi
Don't forget to put the middle parameter no matter if you're not gonna use it. Hope it helps, Esteban Quijano Vincenzi Artinsoft corp. > -Original Message- > From: Andreas Scherf [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 12, 2001 7:47 PM > To: [

RE: Screen updates while long time running subroutine

2001-07-19 Thread Esteban Quijano Vincenzi
rocess */   /* get back to the gtk_main() loop */ PD: About threads, take a look at: http://developer.gnome.org/doc/API/glib/glib-threads.html Esteban Quijano Vincenzi Artinsoft corp. Phone: ++(506) 283-3144 Fax: (506) 283-2655 e-mail: [EMAIL PROTECTED] <[EMAIL PROTECTED] >  -Or

RE: return values of event handlers

2001-07-19 Thread Esteban Quijano Vincenzi
drawing area widget to expose-event wich is contained in the top level window. configure-event is conected to the window. Esteban Quijano Vincenzi Artinsoft corp Phone: ++(506) 283-3144 Fax: (506) 283-2655 e-mail: [EMAIL PROTECTED] <[EMAIL PROTECTED] >  -Original Message- F

RE: Sending structures to callbacks

2001-07-17 Thread Esteban Quijano Vincenzi
vent, MyClass *sender) {   ...   return sender->OnEvent(event); } where OnEvent(...) is a virtual function member that can be overloaded Esteban Quijano Vincenzi Quality Assurance Artinsoft corp.

RE: Screen updates while long time running subroutine

2001-07-16 Thread Esteban Quijano Vincenzi
Title: RE: Screen updates while long time running subroutine What about using threads? Esteban Quijano Vincenzi Quality Assurance Artinsoft corp. -Original Message- From: Pedro Zorzenon Neto [mailto:[EMAIL PROTECTED]] Sent: Monday, July 16, 2001 12:52 PM To: [EMAIL PROTECTED

How to deallocate memory?

2001-07-13 Thread Esteban Quijano Vincenzi
any widget allocated with its gtk__new(...)? Esteban Quijano Vincenzi Artinsoft corp.

RE: fonts in GTK+

2001-07-10 Thread Esteban Quijano Vincenzi
dk_font_unref(label->style->font); and about where is the correct place for doing these kind of things. For buttons or other widgets try obtaining their contained labels. Esteban Quijano Vincenzi Artinsoft corp. Quality Assurance e-mail: [EMAIL PROTECTED] <[EMAIL PROTECTED] > -

Button events not working

2001-07-09 Thread Esteban Quijano Vincenzi
en I release it the key-release-event is emitted. Is there a problem connecting these events with toplevel windows? Is this the correct behavior? Thanks, Esteban Quijano Vincenzi Artinsoft corp. Quality Assurance Intel Project

RE: A Modal Window

2001-06-21 Thread Esteban Quijano Vincenzi
   while (exit_modal != TRUE) gtk_main_iteration(); and in your callback function do exit_modal = TRUE somewhere Esteban Quijano Vincenzi. Quality Assurance - Intel project Artinsoft corp. -Original Message- From: Andrés" Giraldo [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 19,

RE: Newbie questions

2001-06-11 Thread Esteban Quijano Vincenzi
Title: RE: Newbie questions Ok, you can pass whatever you want to the callback using your gpointer data: gboolean on_expose_event(GtkWidget *widget, GtkEvent *event, gpointer data) {    struct my_struct_t *ms = (my_struct_t *)data;    ...    /* Use ms as you wish */    ...    return TRUE; }

A topmost window

2001-05-29 Thread Esteban Quijano Vincenzi
Title: A topmost window How do you ask the window manager to set a window in front of all other windows? Esteban Q.

Processing show signal

2001-05-20 Thread Esteban Quijano Vincenzi
I tried to make a hook function that is connected to the show event of a widget. This function should evaluate an expression, and depending on its result, let the widget to be shown or not. However, no matter if I return TRUE or FALSE from the hook function, the widget will always be shown. How d

Re: GTK in win32.

2001-05-19 Thread Esteban Quijano Vincenzi
gtk-1.3.lib when building your .exe Hope it helps, Esteban Quijano Vincenzi Capitulino wrote: > On 17/05/01 at 21:10 Esteban Quijano Vincenzi wrote: > > >You don't need XWindows to run GTK on Win32. > >There is a GTK for Win32 implementation at: > > > >

Re: GTK in win32.

2001-05-17 Thread Esteban Quijano Vincenzi
You don't need XWindows to run GTK on Win32. There is a GTK for Win32 implementation at: http://user.sgic.fi/~tml/gimp/win32/ Esteban Q. Capitulino wrote: > I am trying to install GTK in Windows (in the truth i never knew how the things > works in win32. I don't use proprietary software for ni

Re: GTK in win32.

2001-05-17 Thread Esteban Quijano Vincenzi
I'm using GTK in win32 as in Linux. However I would like to know which C compiler are using with Windows. You need some .dlls, .libs and headers for compiling. Esteban Q. Capitulino wrote: > I am trying to install GTK in Windows (in the truth i never knew how the things > works in win32. I don'

Re: GtkLabel trouble #2

2001-05-13 Thread Esteban Quijano Vincenzi
So, is it fair doing something like this? gchar *text; text = GTK_LABEL(label_widget)->label; Esteban Q. (I know we should access all data members by its interface, and not directly) Helmethead wrote: > On Sat, May 12, 2001 at 11:57:23AM -0600, Esteban Quijano Vincenzi wrote: > >

What are map and realize for?

2001-05-03 Thread Esteban Quijano Vincenzi
What are map and realize functions for? Why are they so important? Esteban Quijano ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

GtkScrolled windows

2001-05-01 Thread Esteban Quijano Vincenzi
I found GtkScrolled windows as a good choice for this! But I have a question: When you have a widget contained in a window, you normally can't resize that window to a size smaller than the widget, aren't you? How could GtkScrolled windows could be implemented if this rule it's true? Sorry about

Is it possible to have sliding frames?

2001-05-01 Thread Esteban Quijano Vincenzi
Is it possible to have windows with sliding frames within it? A sliding frame would be an area with buttons and other controls which could be moveable using scroll bars. That way, we could have like a huge panel of controls that we could "slide" using a scroll bar in order to uncover those contro

How to get label widget size?

2001-04-29 Thread Esteban Quijano Vincenzi
How could I get the size and position of a widget before its Show() command. I have the next scenario: A GtkWidget window which size is 300x300 A GtkLabel label which text is a little string A GtkFixed fixed which is contained inside window label is contained inside fixed at 10, 10 and

How to get screen information

2001-04-28 Thread Esteban Quijano Vincenzi
How do you get screen information like resolution, color depth and things like that? I mean, using gtk functions? Esteban Quijano ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

System colors under GTK

2001-04-27 Thread Esteban Quijano Vincenzi
Is there a way to use "system colors" (colors customized by users) under GTK? I'd like, for example, to create a control that will use the default window color, the one the user can config under linuxconf or something. Esteban Q. ___ gtk-list mailing