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
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
- 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
>> 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
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
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
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
"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
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
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
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
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]
>
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
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,
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
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
I am brasilian and i dont speak english, but i like
know more gtk, somebody help-me ?
> 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
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.
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
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
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
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
I create a ProgressBar, but i dont know automatic
close.
> "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
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
Hi,
I think they're orphans.
Havoc
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
"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
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
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
30 matches
Mail list logo