Title: Message
Hello,every,
i found a problem. when i set
the following code:
gtk_label_set_text(label,"hello");
gtk_widget_hide(fixed); gtk_widget_show
(fixed);
note: label is put into fixed,
other settings about fix and label are ok.
after this setting, i
found "hello
> Hi,
>
> "NavEcos" <[EMAIL PROTECTED]> writes:
>
> > Or why doesn't, say, gdk_threads_enter() say with an ASSERT "hey
> > stupid: I noticed that g_thread_init() was never called".
>
> But that's exactly what the code does:
>
> void
> gdk_threads_init ()
> {
> if (!g_thread_supported ())
> g_
Hi,
"NavEcos" <[EMAIL PROTECTED]> writes:
> Or why doesn't, say, gdk_threads_enter() say with an ASSERT "hey
> stupid: I noticed that g_thread_init() was never called".
But that's exactly what the code does:
void
gdk_threads_init ()
{
if (!g_thread_supported ())
g_error ("g_thread_init()
Hi Michael,
On Mon, 26 Jul 2004 17:01:37 -0600
Michael L Torrie <[EMAIL PROTECTED]> wrote:
> On Sat, 2004-07-24 at 12:29, Andre Costa wrote:
> > Hi,
> >
> > is this the right place to ask for help about truetype font
> > rendering problems with GTK 1.x apps with Xorg (Fedora Core 2)? It
> > brok
- Original Message -
From: "Sven Neumann" <[EMAIL PROTECTED]>
To: "Arnaud Charlet" <[EMAIL PROTECTED]>
Cc: "NavEcos" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, July 27, 2004 3:47 AM
Subject: Re: Stupid question regarding g_thread_init() and
gtk_threads_init()
> Hi,
>
> Arnau
* John Cupitt ([EMAIL PROTECTED]) wrote:
> On Wed, 14 Jul 2004 20:53:16 -0700, Carl B. Constantine
> <[EMAIL PROTECTED]> wrote:
> > gchar *userid = NULL;
> >
> > userid = gtk_entry_get_text(GTK_ENTRY(lookup_widget(logon, "password)));
>
> Try
>
> const char *userid = gtk_entry_get_text( GTK_
Igor Gorbounov wrote:
Hi, All!
Now, as Todd Kulesza from http://www.dropline.net/gtk/ has dropped the
development
of his (hers?) GTK+ for Windows packages, would anyone explain, please,
which (and how)
packages I should use for gtk+ development under win32?
I recommend the gladewin32 installer
Hi Owen,
Thanks a lot for the immediate response.
When I use the window id I get in the "focus" parameter of the following call
XGetInputFocus(disp,&focus,&revert);
as an input to xprop, I donot get any output.
that is, say I get the value 0x220001a in focus,
xprop -id 0x220001a doesnot give me t
Actually, I can probably guess the technical reason why gdk_threads_init
does not call g_thread_init: this would require the gdk shared lib to
depend on libgthread-2.0, which isn't the case currently... and
may require a libgdk-thread. Ugly.
Arno
___
gtk
> Well, one thing is the vtable that g_thread_init() uses. But I think the
Of course, there's a default value: NULL, that pretty much everyone uses
(and that would be used in my proposal).
> main reason I did it the way I did it was the idea that g_thread_init()
> should be the very first thing a
On Tue, 2004-07-27 at 05:06, NavEcos wrote:
> Why are there two functions for this? Why doesn't g_thread_init() call
> gtk_threads_init()?
The equivalent of gdk_threads_init() used to be done at gtk_init()
time if g_thread_init() had been called, but it turned out that many
applications wanted to
On Tue, 2004-07-27 at 06:41, Arnaud Charlet wrote:
> > If gdk_thread_init() would call g_thread_init() you couldn't use GTK+
> > with another library or any code that needs to call g_thread_init()
> > before gtk_init(). Doesn't sound like a good idea to me.
>
> That's misleading: gdk_thread_init w
On Tue, 2004-07-27 at 05:43, Kala B wrote:
> Hi,
> The following code does not give me the correct window id for GTK based applications.
>
> #include
> #include
> #include
> main()
> {
> Window focus = 0;
> int revet = 0;
> Display *disp = XOpenDisplay(0);
> assert(disp);
>
Thanks very much for the suggestions.
For now I've gone with 2) + I've just submitted a bug request as suggested. http://bugzilla.gnome.org/show_bug.cgi?id=148558
Thanks again for the help, much appreciated.
John
Suggestions:
1) You can access column->button directly and connect to
Hi,
Arnaud Charlet <[EMAIL PROTECTED]> writes:
> > If gdk_thread_init() would call g_thread_init() you couldn't use GTK+
> > with another library or any code that needs to call g_thread_init()
> > before gtk_init(). Doesn't sound like a good idea to me.
>
> That's misleading: gdk_thread_init wou
> If gdk_thread_init() would call g_thread_init() you couldn't use GTK+
> with another library or any code that needs to call g_thread_init()
> before gtk_init(). Doesn't sound like a good idea to me.
That's misleading: gdk_thread_init would call g_thread_init if not already done
(it already check
Hi,
Arnaud Charlet <[EMAIL PROTECTED]> writes:
> > > Why are there two functions for this? Why doesn't
> > > g_thread_init() call gtk_threads_init()?
> >
> > g_thread_init() is part of GLib and GLib doesn't know anything about
> > GTK+. You don't seriously expect the lower level library to cal
if i understand well from the syntax g_thread_init() must be part of
glib while gtk_threads_init() is part of gtk+ which are two completely
different libraries (although gtk uses glib) one for robustness and
portability and the other for designing graphical interfaces. so each
one must have its
> > Why are there two functions for this? Why doesn't g_thread_init() call
> > gtk_threads_init()?
>
> g_thread_init() is part of GLib and GLib doesn't know anything about
> GTK+. You don't seriously expect the lower level library to call
> functions in the higher level library, do you?
On the
Hi,
Erik Jonsson <[EMAIL PROTECTED]> writes:
> Is the GtkDrawingArea using a GdkWindow internaly or is it using
> a client side image representation for some implementation reasons?
A GtkDrawingArea is just a simple widget with a GdkWindow. It doesn't
do any drawing. Whether you do client- or se
Hi,
"NavEcos" <[EMAIL PROTECTED]> writes:
> Why are there two functions for this? Why doesn't g_thread_init() call
> gtk_threads_init()?
g_thread_init() is part of GLib and GLib doesn't know anything about
GTK+. You don't seriously expect the lower level library to call
functions in the higher
Hi again...
I'm sorry but I didn't understand your answer.
On Mon, Jul 26, 2004 at 05:33:37PM -0400, Tristan Van Berkom wrote:
> Erik Jonsson wrote:
> >If I create a GtkDrawingArea and only use GdkPixMaps to
> >update it. Will all graphics be handled on the server side?
> A GdkPixmap is on the X
Cedric Gustin wrote:
Igor Gorbounov wrote:
Hi, All!
Now, as Todd Kulesza from http://www.dropline.net/gtk/ has dropped
the development
of his (hers?) GTK+ for Windows packages, would anyone explain,
please, which (and how)
packages I should use for gtk+ development under win32?
I recommend the
Hi,
The following code does not give me the correct window id for GTK based applications.
#include #include #include
main(){ Window focus = 0; int revet = 0; Display *disp = XOpenDisplay(0); assert(disp); sleep(2); XGetInputFocus(disp,&focus,&revert); printf("Win id is %x\n
Why are there two functions for this? Why doesn't g_thread_init() call
gtk_threads_init()?
Has this ALWAYS been the case the g_thread_init() has to be followed by
gtk_threads_init() because if so, I have a very long standing bug, that's
been in my code for years.
-Rich
_
Hi,
"Matt Strange" <[EMAIL PROTECTED]> writes:
> I am a gtk newbie working on a widget which consists of 16 toggle
> buttons in an hbox. I have sucessfully stopped the emission of
> the "event" and button_press/release signals on the toggle buttons
> and set up a callback to these event
Hi,
"åæ" <[EMAIL PROTECTED]> writes:
> I am a new commer to gtk programming.Today I got two small questions.
> 1. Why "gtk_toolbar_append_element","gtk_toolbar_append_widget", ...
> ... should be deprecated ? If I do not use those deprecated
> function ,how can I add widget to the GtkToolbar
27 matches
Mail list logo