property of gtk widget

2002-04-16 Thread leonheart
What is properties of a widget for? I mean, in a program, how to use them? Thanks ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: gtk on Motif

2002-04-16 Thread rsteinke
From: Patrick Pell? <[EMAIL PROTECTED]> > > the thing is that I am working on a big application > with is using Motif for the IHM part... > > I have made a 'colorSelection' like object (in 'C') > and I would like to make the two application comunicate... > > Like U chose the color in the GTK frame

Re: Building Gtk+ (pkg-config not found)

2002-04-16 Thread Sven Neumann
Hi, Janos Blazi <[EMAIL PROTECTED]> writes: > > export PKG_CONFIG_PATH=/opt/gtk/bin > > > > > > Salut, Sven > > This does not help either. Now I have tried so many things... For example I > set PKG_CONFIG instead of PKG_CONFIG_PATH and the I got the message my > pkg-config was too old version

Re: gtk on Motif

2002-04-16 Thread Patrick Pellé
the thing is that I am working on a big application with is using Motif for the IHM part... I have made a 'colorSelection' like object (in 'C') and I would like to make the two application comunicate... Like U chose the color in the GTK frame , and this changes the color of a button in the Motif

Re: gtk on Motif

2002-04-16 Thread Paul Davis
>But concerning my problem... >I am sure there must be a way just to pass the GTK X Window system in the >2nd plan, so that I can refresh >The Motif Interface... there's no "just" about it. if you want to understand more, explain in more detail what you're attempting to do. --p _

Re: gtk on Motif

2002-04-16 Thread Patrick Pellé
Thanks Paul for the mail I didn t notice that... But concerning my problem... I am sure there must be a way just to pass the GTK X Window system in the 2nd plan, so that I can refresh The Motif Interface... maybe with gdk functions - Original Message - From: "Paul Davis" <[EMAIL

Re: motion events

2002-04-16 Thread Jean-Yves Lamoureux
Le Mardi 16 Avril 2002 18:08, Paul Davis a écrit : > this is quite different from focus, and uses an entirely different > mechanism. thanks for precision :) -- Jean-Yves Lamoureux Software Developper ___ gtk-list mailing list [EMAIL PROTECTED] http:

Re: motion events

2002-04-16 Thread Paul Davis
>Le Mardi 16 Avril 2002 10:53, vous avez écrit : >This isn't a problem but I am >> curious to know why this occurs. Sorry if this is obvious I'm new to all >> this. >> Nick Soffe. > >AS I know, this result is normal for one simple reason, which is that when >you click the button, you set focus on

Re: gtk on Motif

2002-04-16 Thread Paul Davis
1) just a quick note to point out that whether you know it or not, the email program you are using is sending out copies of your mail in both plain text and HTML formats. increasingly on the net, there are filters being put in place that silently dump HTML-formatted email. some mailing lists will

gtk on Motif

2002-04-16 Thread Patrick Pellé
I ve got a question about GTK's main loop...   Is it possible to suspend the GTK main loop And to reactivate it later... I am asking this because I have to add a gtk module to a Motif application...   thanks...   Patrick Pelle

Using GNU libplot with pixmaps

2002-04-16 Thread mvogt
Does anyone know how to configure GNU libplot to render to on offscreen pixmap? It appears to be controlled by two main variables, XDRAWABLE_DISPLAY, which I think I should set from gdk_get_display, and also XDRAWABLE_DRAWABLE1. How would I set this parameter to render to a pixmap I have created

Re: Building Gtk+ (pkg-config not found)

2002-04-16 Thread Janos Blazi
> Hi, > > Janos Blazi <[EMAIL PROTECTED]> writes: > > > I downloaded pkg-config... and installed it with > > > > ./configure --prefix/opt/gtk > > make > > make install > > > > After this I tried to build glib 2.02 but received the configuration > error > > "pkg-config not found". > > I can see

Help with GdkPixmap

2002-04-16 Thread Nuno Afonso
Hi, if anyone has worked with GdkPixmap with transparent areas, PLEASE mail me... Afonso ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Window position

2002-04-16 Thread Jean-Yves Lamoureux
Le Mardi 16 Avril 2002 15:26, Nuno Afonso a écrit : > GtkWindow is also a GtkWidget.. you can use > gtk_widget_set_uposition(your_window, x, y); right :) thanks it's ok -- Jean-Yves Lamoureux Software Developper ___ gtk-list mailing list [EMAIL PROTE

Help:Implement an widget derive from GtkLayout,puzzled in Handle expose event

2002-04-16 Thread robbie
Dear Sir: I'm porting some old gtk apps to 2.0 recently.It's somehow interesting getting into the gtk 2.0 internal code.But now I have a problem: An widget derived from GtkLayout,as below   struct MyWidget    {   GtkLayout layout;   GdkPixmap  *back_pix

Re: Window position

2002-04-16 Thread Nuno Afonso
GtkWindow is also a GtkWidget.. you can use gtk_widget_set_uposition(your_window, x, y); On Tue, 2002-04-16 at 10:15, Jean-Yves Lamoureux wrote: > Hi > I was trying to set a window position, but I found only a function like > gtk_window_position (GtkWindow *window, GtkWindowPosition position), w

Num keypad Enter doesn't work

2002-04-16 Thread Graham Ashton
Hi. I'm trying to work out why the Enter key on my numeric keypad prints a square into text entry widgets. It works just like the main enter key in most situations (e.g. in a gnome-terminal, while editing mail in evolution, etc.) but in bog standard GtkEntry widgets it just prints squares and does

Re: motion events

2002-04-16 Thread Nick Soffe
Thanks very much for the help. Yes that is what I guessed. I will pointer_grab the drawingarea. Thanks, Nick Soffe. On Tue, 16 Apr 2002, Jean-Yves Lamoureux wrote: > Le Mardi 16 Avril 2002 10:53, vous avez écrit : > This isn't a problem but I am > > curious to know why this occurs. Sorry if th

Window position

2002-04-16 Thread Jean-Yves Lamoureux
Hi I was trying to set a window position, but I found only a function like gtk_window_position (GtkWindow *window, GtkWindowPosition position), where the position can be only a state, as center, free or mouse. Is there a way to set the position of the window in pixels ? (I mean is there a fun

Re: motion events

2002-04-16 Thread Jean-Yves Lamoureux
Le Mardi 16 Avril 2002 10:53, vous avez écrit : This isn't a problem but I am > curious to know why this occurs. Sorry if this is obvious I'm new to all > this. > Nick Soffe. AS I know, this result is normal for one simple reason, which is that when you click the button, you set focus on the win

motion events

2002-04-16 Thread Nick Soffe
Hi, I have a drawing area in which I can place two vertical lines (used as cursors) using mouse buttons 1+2. The cursors can be moved around from mouse motion events whilst holding down a button. I have set GDK_BUTTON_PRESS_MASK and GDK_POINTER_MOTION_MASK on the drawing area and connected 'motio