signal emission process

2000-10-26 Thread Paul Barton-Davis
Aha! from gtk_propagate_event(): /* Only send key events within Window widgets to the Window * The Window widget will in turn pass the * key event on to the currently focused widget * for that window. */ window = gtk_widget_get_ancestor (widget, GTK_TY

signal emission process

2000-10-26 Thread Paul Barton-Davis
Here's what the current-ish GTK+ 1.2 tutorial says about signal emissions (its more complete, in some respects, than Havoc's book): -- 18.2 Signal Emission and Propagation Signal emission is the process whereby GTK runs all ha

Re: How to manage a window flowing over another?

2000-10-26 Thread Bluez Zhao
- Original Message - From: "Havoc Pennington" <[EMAIL PROTECTED]> To: "Bluez Zhao" <[EMAIL PROTECTED]> Cc: "gtk-list" <[EMAIL PROTECTED]> Sent: Friday, October 27, 2000 10:48 AM Subject: Re: How to manage a window flowing over another? > > "Bluez Zhao" <[EMAIL PROTECTED]> writes: > > Bu

Re: packing, spacing question

2000-10-26 Thread Paul Barton-Davis
>> OK, I've been using GTK for a couple of years or so. I *still* don't >> understand how to do this basic operation: >> >> pack a box with N elements, with X pixels of padding on >>the outer edge and Y pixels of spacing between them >> > >Create the box with spacing of Y, the

Re: using enter on numeric keypad in gtk

2000-10-26 Thread Havoc Pennington
Dave Reed <[EMAIL PROTECTED]> writes: > It seems that pressing the key on the numeric keypad produces a > space rather than an "activate" event in textfields. Is there a way to make > it produce an "activate" event like the regluar key? > GTK should likely do this by default, but you can wor

Re: packing, spacing question

2000-10-26 Thread Havoc Pennington
Paul Barton-Davis <[EMAIL PROTECTED]> writes: > OK, I've been using GTK for a couple of years or so. I *still* don't > understand how to do this basic operation: > > pack a box with N elements, with X pixels of padding on > the outer edge and Y pixels of spacing between them

Re: global keybindings

2000-10-26 Thread Havoc Pennington
Paul Barton-Davis <[EMAIL PROTECTED]> writes: > what's the latest word on how to do global key bindings ? > > i have an app in which i want focus to direct keystrokes to a specific > handler more or less all the time. that is, i don't care what widget > the pointer is in, 95% of the time, i just

Re: How to manage a window flowing over another?

2000-10-26 Thread Havoc Pennington
"Bluez Zhao" <[EMAIL PROTECTED]> writes: > But I want to know WHEN should I realize a widget? I seldom realize a > widget. Of course it give me many warnings when it runs in return. > You don't need to realize it yourself; just connect_after() to the realize signal and set the decorations in

Re: How to manage a window flowing over another?

2000-10-26 Thread Bluez Zhao
At first, I should express my thank to Havoc Pennington. This is the second time you help me. Thanks. Yes, I should use GTK_WINDOW_DIALOG as the first window, and set the second one transient for it. What is important is to realize the first one before I use gdk_window_set_decorations. Or, it wil

Re: installing 2.8

2000-10-26 Thread Drazen Kacar
Dugas, Alan wrote: > I see your point! What's the -R switch/option do? At link time, the link editor searches directories specified with the -L flag in order to find the libraries specified with -l flags. Then those libraries are recorded in the executable, but it's only their name, not the full

using enter on numeric keypad in gtk

2000-10-26 Thread Dave Reed
It seems that pressing the key on the numeric keypad produces a space rather than an "activate" event in textfields. Is there a way to make it produce an "activate" event like the regluar key? Thanks, Dave ___ gtk-list mailing list [EMAIL PROTECTED

RE: installing 2.8

2000-10-26 Thread Dugas, Alan
I see your point! What's the -R switch/option do? -- Stupid Genius > -- > From: Drazen Kacar[SMTP:[EMAIL PROTECTED]] > Sent: Thursday, October 26, 2000 7:36 PM > To: Dugas, Alan > Cc: Matt Eisemann; Drazen Kacar; [EMAIL PROTECTED] >

Re: installing 2.8

2000-10-26 Thread Drazen Kacar
Dugas, Alan wrote: > It appears either way works. For this particular application. Did you check if it breaks any other application on your system? > It seems to me just a qustion of preference. Until you have libraries with the same name in different directories. Without LD_LIBRARY_PATH

RE: installing 2.8

2000-10-26 Thread Dugas, Alan
It appears either way works. It seems to me just a qustion of preference. -- Stupid Genius > -- > From: Drazen Kacar[SMTP:[EMAIL PROTECTED]] > Sent: Thursday, October 26, 2000 5:58 PM > To: Matt Eisemann > Cc: 'Dugas,

RE: installing 2.8

2000-10-26 Thread Dugas, Alan
Hmm... I believe GLIB_CONFIG needs to point directly to the file (i.e. path/glib-config) not the directory containing the file, whereas LD_LIBRARY_PATH needs to point to the directory holding the glib libraries. -- Stupid Genius > -- > From: Matt

packing, spacing question

2000-10-26 Thread Paul Barton-Davis
OK, I've been using GTK for a couple of years or so. I *still* don't understand how to do this basic operation: pack a box with N elements, with X pixels of padding on the outer edge and Y pixels of spacing between them You can't use just spacing, because that doesn't ad

help

2000-10-26 Thread Edson Lima
I am brasilian and i dont speak english, but i like know more gtk, somebody help-me ?

Re: installation Problems

2000-10-26 Thread Neelakanth Nadgir
> I got a problem installing the gtk+ package. > Here is the conf.log file: > configure:4604: gcc -E conftest.c >/dev/null 2>conftest.out > configure:4600: X11/Intrinsic.h: No such file or directory > configure: failed program was: > #line 4599 "configure" > #include "confdefs.h" > #include > co

FW: help. refresh drawingarea pixmap.............

2000-10-26 Thread Jane Tseng
Hi I have a question regarding to a drawing area and how to update it. I understand from the examples that I can use gdk_draw_pixmap() to copy the updated pixmap onto my screen. But I have been trying to retrieve pixmap from my drawing area so taht i can use this function to update it.

Re: installing 2.8

2000-10-26 Thread Drazen Kacar
Matt Eisemann wrote: > so should my LD_LIBRARY_PATH be set to the directory that contains the > files such as libglib.a, libglib.la, libgmodule.a... and so forth. > If so, they both seem right. The environment GLIB_CONFIG is set to > /home/matt/mppcm/ssep/GTK/glib/glib-1.2.8 which is the direct

RE: installing 2.8

2000-10-26 Thread Matt Eisemann
so should my LD_LIBRARY_PATH be set to the directory that contains the files such as libglib.a, libglib.la, libgmodule.a... and so forth. If so, they both seem right. The environment GLIB_CONFIG is set to /home/matt/mppcm/ssep/GTK/glib/glib-1.2.8 which is the directory which contains the file

RE: installing 2.8

2000-10-26 Thread Dugas, Alan
Have you set environmental variables GLIB_CONFIG to point to the glib-config file and LD_LIBRARY_PATH to include the directory containing the glib libraries? These are environmental variables I had to set in order for me to get glib-1.2.8 and gtk+-1.2.8 installed locally (i.e. without root privle

installing 2.8

2000-10-26 Thread Matt Eisemann
Trying unsuccessfully to install GTK 1.2.8. It looks like I succeffully installed GLIB successfully and I downloaded 1.2.8 for both versions of GTK+ and GLIB. I am installing this on a Sun Solaris 2.6 machine, as far as I know and it seems the GLIB works succefully. When I did the ./confi

Progress

2000-10-26 Thread Edson Lima
I create a ProgressBar, but i dont know automatic close.

Re: Status of Objective C GTK+ bindings

2000-10-26 Thread Bruce Ide
> "Havoc" == Havoc Pennington <[EMAIL PROTECTED]> writes: Havoc> I think they're orphans. That's kind of a bummer. I always thought Objective C was more elegant than C++, though C++ has closed that gap somewhat. There are still some things Objective C does automatically which are very un

global keybindings

2000-10-26 Thread Paul Barton-Davis
what's the latest word on how to do global key bindings ? i have an app in which i want focus to direct keystrokes to a specific handler more or less all the time. that is, i don't care what widget the pointer is in, 95% of the time, i just want my handler to take care of it. this seems hard, esp

Re: Status of Objective C GTK+ bindings

2000-10-26 Thread Havoc Pennington
Hi, I think they're orphans. Havoc ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: How to manage a window flowing over another?

2000-10-26 Thread Havoc Pennington
"Bluez Zhao" <[EMAIL PROTECTED]> writes: > I create the two windows use gtk_window_new(). If I set the first one as > GTK_WINDOW_POPUP, then the second can't be set as transient for it. If I set > the second one as GTK_WINDOW_POPUP, it can be set transient but it can't be > moved. What should I

pthreads

2000-10-26 Thread Matt Eisemann
Currently I am creating an application using CLIST which updates UNIX processes or displays the result of what is occuring to various UNIX processes. The problem that I am having is a performance issue and am somewhat certain it is not a GTK issue but am sending it to the mailing list to see

Status of Objective C GTK+ bindings

2000-10-26 Thread Adam \"teferi\" Glasgall
What's the deal with Objective C bindings for GTK+/GNOME? None of the three projects listed on gtk.org seem to have been touched in over a year, and there's no documentation whatsoever. The README for obgtk/gnome-objc, especially, states that it's the official ObjC bindings, but it too seems un