On 6 May 2010, at 10:07, Murray Cumming wrote:
You have to set the font of the label in the button, not the font of the
button. I generally think this is far too difficult.
I have to admit, I would never have guessed that! Thanks for the tip, Murray.
I'll try it out, later.
On 6 May 2010, at 10:07, Murray Cumming wrote:
You have to set the font of the label in the button, not the font of the
button. I generally think this is far too difficult.
I have to admit, I would never have guessed that! Thanks for the tip,
Murray. I'll try it out, later.
Hmmm
- Original Message -
From: Tadej Borovšak tadeb...@gmail.com
My advice to you would be to create label manually and then simply
pack it into empty GtkButton using gtk_container_add().
I created a derived class that uses an explicit label but strangely, it
didn't work. Here's my
- Original Message -
From: John Emmas
And that's it. The button works exactly like it did before. The
correct text gets displayed. FontableTextButton::modify_font() gets
called at the appropriate time. But the label's font remains the
stubbornly the same
:-(
Correction
- Original Message -
From: John Emmas
It's possible that these might be 'C runtime' issues - although it'd be
strange for it to work with some widgets but not others. However, I'll
try compiling with VC++6 and see if that makes any difference.
Because of template issues with VC++6
- Original Message -
From: John Emmas
The outcome is that the VC++6 build seems to work exactly as
expected, so it looks like this could well be a C runtime issue after
all :-(
I guess it might be worth asking this question here
My understanding is that gtk-win32 and its
On 3 May 2010, at 03:05, Javier Jardón wrote:
note that GnomeCanvas is deprecated, maybe you want to use GooCanvas
[1] instead.
Thanks for the suggestion Javier but this is a pre-existing project so I'm
pretty much stuck with the same canvas that everyone else is using.
No matter what
On 1 May 2010, at 19:18, John Emmas wrote:
Is this an appropriate forum for asking questions about libgnomecanvas or
does it have its own separate mailing list?
___
Or alternatively, would gtk-l...@gnome.org be a better place? Basically I'm
Is this an appropriate forum for asking questions about libgnomecanvas or does
it have its own separate mailing list?
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
I was going to post this on the gtk-win32 list but I remembered that it only
deals with certain specific issues, such as packaging and distribution
problems, so I hope someone here will be able to help.
I'm in the process of converting an app that was originally written for Linux
and uses
On 30 Apr 2010, at 13:09, Tor Lillqvist wrote:
Before I spend too much time tracking down the problem,
Do you actually have a problem? Have you tested dragging-and-dropping
files from Explorer?
Thanks Tor - yes I have tested it and it doesn't work but I haven't looked far
enough into it
Just testing
Please forgive me hi-jacking this thread. I'm testing to see if my post
gets through. During the past week, three of my posts have been
mysteriously lost when I tried to ask questions on this (and other) gtk
mailing lists. Just wondering if it works if I reply to an
---Original Message---
From: Jorge Opaso Pazos
Date: 29/03/2010 19:58:10
Can I use GTK and all its dependencies to develop Windows applications
at production level?
The simple answer is Yes. I've spent nearly 20 years developing Windows
apps the more conventional way (i.e. using
---Original Message---
From: LRN
Date: 30/03/2010 08:54:19
Make no mistake though, it's conceptually very different
from MFC and you might find it frustrating at first.
It's conceptually superior.
Well, that's a matter of opinion but in general I think I'd agree - except
to say
Several people already have responded to your question. You must have a
configuration problem if you're not seeing the responses.
John
- Original Message -
From: Jorge Opaso Pazos jop...@autologic.cl
To: gtk-list@gnome.org
Sent: 29 March 2010 18:45
Subject: gtk on win32
Hello
The following code is giving me strange results when I build it using MSVC++
and link to the binaries for glib-win32 (I've tried VC++8 and also falling
back to VC++6)
#include glib/gtimer.h
int main (int argc, char* argv[])
{
gulong microseconds;
int count;
GTimer* pTimer = g_timer_new ();
Doh! I mis-read the documentation. Thanks guys!
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
- Original Message -
From: Tor Lillqvist t...@iki.fi
If you post sample code, post a *complete* (but minimal) compilable
(single source file) program.
The problem is that I don't know if it's necessary to initialise gtk as a
prerequisite for using glib. Assuming that's NOT a
Many thanks for the quick response Tor.
GIOChannel* pChan = g_io_channel_win32_new_fd (hPipes[READ]);
// The above call always returns a NULL pointer
No it does not, for me. Not when compiled with MinGW, not when
compiled with MSVC6.
You did use -MD (use msvcrt.dll) I hope? If you don't use
- Original Message -
From: Tor Lillqvist t...@iki.fi
If it's not too much trouble Tor, could you let me know the dates for the
versions that you're using and I'll see if I can find a match somewhere?
Oh, the version shouldn't matter, as long as it is the system's
msvcrt.dll. The one
Agh!! I was kidding myself. The Debug build doesn't work and nor does
the VC8 build. Prior to messing around with the DLLs I'd changed this line
in my original code:-
GIOChannel* pChan = g_io_channel_win32_new_fd (hPipes[READ]);
and temporarily swapped it this, to see what would happen
Tor - you might not be the right person to ask about this - but do you know
if there are any plans to release official binaries for glib/gtk+ etc, built
to be compatible with VC++8? Or would that then screw things up for MinGW
users?
The reason I ask is that other open source libraries seem to
Or alternatively, would it help if glib had its own implementation of
'pipe()' etc, to go along with g_open(), g_fopen() etc? I couldn't find any
such implementation (just making a cursory search) but presumably that would
also solve the problem without impacting on MinGW usage??
John
- Original Message -
From: Heiko Lechner heiko.lech...@ruhr-uni-bochum.de
Am 03.03.2010 15:34, schrieb Tor Lillqvist:
Well, I don't have such plans, it takes enough time to provide builds
of the stack built with MinGW,
I really honor that, because I tried that myself and failed...
- Original Message -
From: Tor Lillqvist
It sounds like something that would be well worth having. Was any
conclusion reached?
There wasn't really much discussion. No forceful opposition, but no
cheering either;) And I just haven't had time and/or inspiration to do
it.
Well FWIW, Im
To be honest, I don't think that's a good analogy. A better analogy would
be a library that has a big supply of books but you can only take them out
in a digitized form, such as on a DVD. But the library hasn't digitized
many books - so users must be prepared to do that themselves.
However,
I posted this question on the gtk-win32 list but it no longer seems to be
providing general support for gtk-win32.
Basically, I'm trying to use the function g_io_channel_win32_new_fd() with a
view (eventually) of using it for pipe io with Win32. The function seems
always to return a NULL
How do I unsubscribe from this list?
I went to this web page:-
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
which contains a section where new users can subscribe. However, that
section doesn't allow me to unsubscribe.
Further down the page there's an option for unsubscribing -
Does gtk_window_new() allocate any system memory? I've always assumed
so - and yet whenever I see examples of gtk_window_new() in use, the
returned pointer is never freed anywhere, which suggests that no memory was
ever allocated. Which is right?
Thanks,
John
Thanks guys,
I've been following a (pretty well respected) book about GTK development but
it only seems to use gtk_widget_destroy() for dialog boxes. For example, a
dialog box might get created using gtk_dialog_new_with_buttons() and
eventually gets destroyed with gtk_widget_destroy(). But
- Original Message -
From: Tadej Borovšak
I'm no expert at those things, but during my coding with gtk I learned
some things about memory management that I described in this forum
post. You may find it useful quick-start introduction into official
gobject and gtk documentation.
Hi Dave,
That wiki page filled in the missing gaps and I've now managed to fix the
problem. Thanks for your help.
John
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
I hope this is the right list to post this query.
An application that I've built many times before is now suddenly refusing to
run. I see an error message saying:-
Gtk-WARNING: This process is currently running setuid or setgid
This is not a supported use of GTK+. You must create a helper
I'm trying to port a program which previously used gtk-x11 so that it will
work with gtk-win32. For the past day or two I've had a very strange
problem with the program crashing unexpectedly. Finally I tracked it down
to a problem with the function call g_type_query()
Here's a very simple
Oops, sorry Tor - I guess I should have copied and pasted instead of typing
this out manually. In fact I had carried out the initialisation but
slightly differently. This is how the real code looked (copied and pasted,
this time)
#include libgnomecanvas/gnome-canvas.h
int main (int argc, char
I think I might have figured this out (it's just a theory at the moment
though).
Here's the page that I used for installing gtk-win32:-
http://www.gtk.org/download-windows.html
I installed most of the libraries shown except for a few that I don't have
installed anyway, like libexpat. However,
Thanks again, Tor.
I seem to be making progress but after installing libgnomecanvas I've hit
another brick wall. When I try to run that same program, Windows tells me
that it cannot proceed because intl.dll isn't installed (note:
intl.dll - not libintl.dll).
Sorry to be a pest but I'm not sure
Hi there,
I've been using GTK under Linux for a year or so - and more recently, under
Cygwin - so I have a passable knowledge of GTK but I'm not an expert.
Recently I decided to take a look at the win32 backend for GTK which I
downloaded last week. For ease of use I'm using Cygwin's gcc
- Original Message -
From: Tor Lillqvist
Subject: Re: Getting started with gdk-pixbuf (gtk-win32)
So, as was mentioned on the mingw-users list, it is likely that you
have just moved the DLLs and/or config files around from their initial
(relative) locations. (I keep emphasizing
401 - 439 of 439 matches
Mail list logo