ixbuf, then
stick the GdkPixbuf onto a cairo surface.
You could take a look at
https://sourceforge.net/p/gretl/git/ci/master/tree/gui/gpt_control.c
in particular the function render_pngfile().
--
Allin Cottrell
Department of Economics
Wake Forest Universit
(GtkSpinButton *spin_drawingparameter1,
int drawingparameter1);
Try
gtk_spin_button_set_value(GTK_SPIN_BUTTON(spin_drawingparameter1),...
You have a broken attempt at a cast.
--
Allin Cottrell
Department of Economics
Wake Forest University
___
gtk
On Mon, 21 May 2018, tito-wolit wrote:
On 21/05/2018 01:27, Allin Cottrell wrote:
gtk_init_with_args is still useful in my case: it automatically screens out
any command-line arguments that are just option flags or parameters, via
the GOptionEntry mechanism, leaving only a filename argument
tf8. So my workflow is:
GetCommandLineW
CommandLineToArgvW
convert array of UTF-16 strings to UTF-8
pass the converted array to gtk_init_with_args
Allin Cottrell
ref:
https://mail.gnome.org/archives/gtk-app-devel-list/2018-May/msg00052.html
and following
_
nds like what I need. Is there such a
thing as a standard way to hook this up with gtk_init_with_args?
I can imagine calling GetCommandLineW, then CommandLineToArgvW, but
then? If you converted the UTF-16 strings to UTF-8, could you then
pass the array to gtk_init_with_args?
Allin Cottrell
O
re, of course, the file cannot be opened.
I'm not sure if it's Windows itself that is making this substitution
or gtk. I'd be grateful if anyone could shed any light on the
matter.
--
Allin Cottrell
Department of Economics
Wake Forest University
___
g
-much-native appearance on Windows 10 out of the box when
using gtk2 with the MS-Windows theme and the libwimp engine (which
is the default on Windows). Latest version 2.24.32.
If you're using features specific to gtk3, of course, that won't do
it for you.
Allin Cottrell
On Tue, 11 Oct 2016, Jason Benjamin wrote:
On Wed, 5 Oct 2016 21:11:41 -0400 (EDT)
Allin Cottrell <cottr...@wfu.edu> wrote:
I'm wondering if anyone knows the machanism whereby Ubuntu
"commandeers" the main menu system of a GTK application and sticks
it into the global top-of
_set_sensitive). So I'm trying to figure out
if there's any way to protect my menus from mangling -- or failing
that, to frame a well-informed bug report to Ubuntu.
--
Allin Cottrell
Department of Economics
Wake Forest University
___
gtk-app-devel-list m
ility. In many years of reading
this list I don't think I've ever come across such a boorish and
pig-headed poster.
--
Allin Cottrell
Department of Economics
Wake Forest University
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://ma
.
Allin Cottrell
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
tiple
per-application copies of GTK, but you just have to get over it.
Basically the same on Mac OS X.
(I might note: even on Linux, GTK updates are not necessarily
harmless. For example, updating from GTK 3.18 to 3.20 breaks emacs
and gnumeric; they still run, but they're damaged.)
Alli
On Mon, 16 Nov 2015, Emmanuele Bassi wrote:
Hi;
On 15 November 2015 at 19:32, Allin Cottrell <cottr...@wfu.edu> wrote:
I'm trying to set a custom background for a GtkEntry (as a temporary thing,
by way of an alert for invalid input). I can do that fine for gtk 2 using
gtk_widget_modif
On Mon, 16 Nov 2015, Stefan Salewski wrote:
On Sun, 2015-11-15 at 19:30 -0500, Allin Cottrell wrote:
But how can I "undo" this? (I mean, make it so that the background
color for the selected state reverts to what it was before I messed
with it, for subsequent selections.) That
);
gtk_render_background(context, cr, r.x, r.y, r.width, r.height);
}
--
Allin Cottrell
Department of Economics
Wake Forest University, NC
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On Mon, 16 Nov 2015, Stefan Salewski wrote:
On Sun, 2015-11-15 at 14:32 -0500, Allin Cottrell wrote:
I'm trying to set a custom background for a GtkEntry
I think you have to use CSS -- unfortunately that is some work and I can
not provide an example yet. See
https://developer.gnome.org/gtk3
On Sun, 15 Nov 2015, Allin Cottrell wrote:
On Mon, 16 Nov 2015, Stefan Salewski wrote:
On Sun, 2015-11-15 at 14:32 -0500, Allin Cottrell wrote:
I'm trying to set a custom background for a GtkEntry
I think you have to use CSS -- unfortunately that is some work and I can
not provide
() getting a NULL
argument is a coder expecting NULL - no-op semantics by analogy
with C's free(). What sort of bug would you have in mind?
@McConville: the standard most relevant to your argument is the ISO
C standard, not POSIX.
Allin Cottrell
___
gtk
. The first two are OK, but
3.14.13 segfaults (see the code in my first message).
Does this happen on master as well?
I can check that this evening.
Allin Cottrell
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman
and cflags from `pkg-config gtk+-3.0 --libs` `pkg-config
gtk+-3.0 --cflags`.
Thanks, Jim. I guess this means that the problem was introduced after
gtk 3.10. I wonder if 3.12 and 3.14 are OK too.
--
Allin Cottrell
Department of Economics
Wake Forest University, NC
On Mon, 6 Jul 2015, Allin Cottrell wrote:
My app has a collection of objects which can be viewed either
individually or in a tabbed viewer based on GtkNotebook. When
objects are being viewed in the latter way, the user is supposed to
be able to drag an object out of the tabbed viewer
case for dragging a tab out of a
notebook onto the root window
Allin Cottrell cottr...@wfu.edu, 2015-07-06
*/
static GtkNotebook *detach_tab_callback (GtkNotebook *book,
GtkWidget *page,
gint x, gint y
, if gtk2 is itself
considered legacy (though personally I stil like it fine), why
drop XP support?
--
Allin Cottrell
Department of Economics
Wake Forest University
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman
On Tue, 31 Mar 2015, Emmanuele Bassi wrote:
Hi;
On 31 March 2015 at 21:58, Allin Cottrell cottr...@wfu.edu wrote:
so I was wondering if for 3.18/2.46 if we should drop XP. I think it would
make our life easier and anyway why do we need to support something that
microsoft is also
to get the
job done efficiently), who greatly appreciates gtk and codes using
both gtk2 and gtk3, and occasionally submits patches for both, and
who doesn't care for CSD: Go, Olivier! I hope your suggestions
have an impact.
--
Allin Cottrell
Department of Economics
Wake Forest University
On Thu, 5 Mar 2015, Florian Müllner wrote:
The worst thing that can happen when the toolkit forcefully rips
CSD from applications is that there is no more UI to save,
navigate, load or whatever essential UI the applications happens
to put into its decorations.
Isn't there some dissonance
On Thu, 5 Mar 2015, Paul Davis wrote:
On Thu, Mar 5, 2015 at 5:44 PM, Allin Cottrell cottr...@wfu.edu wrote:
On Thu, 5 Mar 2015, Florian Müllner wrote:
The worst thing that can happen when the toolkit forcefully rips CSD from
applications is that there is no more UI to save, navigate, load
On Fri, 6 Mar 2015, Florian Müllner wrote:
On Fri, Mar 6, 2015 at 12:44 AM Allin Cottrell cottr...@wfu.edu wrote:
Isn't there some dissonance here: essential UI embedded in
decorations? How did we come to this? [...] why not fix the WM
[...] rather than conflating UI with decoration
to subsequent runs of your gtk program on OS X.
--
Allin Cottrell
Department of Economics
Wake Forest University
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
talking about at
http://users.wfu.edu/cottrell/tmp/buttons.html
Thanks for any help!
--
Allin Cottrell
Department of Economics
Wake Forest University, NC
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo
?
(In this comparison I'm using the Adwaita theme with gtk 2.24.25 and
3.14.5.)
Thanks for any guidance.
--
Allin Cottrell
Department of Economics
Wake Forest University, NC
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https
effectively in slave mode and can
produce a wide variety of output formats (notably, using cairo and
pango).
Allin Cottrell
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
, it's not the ideal solution (using a library would be cleaner)
but it works quite nicely. You can generate a plot in batch mode using
gnuplot's pngcairo terminal and load the PNG into a GTK window.
Allin Cottrell
___
gtk-app-devel-list mailing list
simple, as Windows goes.
Allin Cottrell
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On Thu, 26 Jun 2014, Matthias Clasen wrote:
On Wed, Jun 25, 2014 at 4:58 PM, Allin Cottrell cottr...@wfu.edu wrote:
Just in case anyone else falls into this: there's a potential gotcha if
you're cross-compiling gtk for (say) Windows on Linux. It took me a while to
figure out why the Windows
of
experimentation.
--
Allin Cottrell
Department of Economics
Wake Forest University
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On Sat, 15 Mar 2014, Colomban Wendling wrote:
Le 15/03/2014 21:19, Allin Cottrell a écrit :
I'm reasonably familiar with the usage of both g_spawn_sync and
g_spawn_async, but recently I've found myself wanting to do domething
that seems to fall between the two and I can't quite work out how
, can hang at 100% CPU if one or more of the processes
launched by mpiexec bombs out at just the wrong moment.)
Any suggestions on how to achieve this using g_spawn* (or judgements on
whether it's even possible) would be gratefully received.
--
Allin Cottrell
Department of Economics
Wake
.
Allin Cottrell
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
mess-up of old and new
GLib/GTK? This is not really a gtk-app-devel question.
Allin Cottrell
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
crappier
with Gtk3.10.
+1. I can confirm that this bug is present in GTK 3.10.6 on Fedora
20, and that's _with_ Adwaita. It only affects some dialogs.
--
Allin Cottrell
Department of Economics
Wake Forest University___
gtk-devel-list mailing list
gtk
On Thu, 13 Feb 2014, Emmanuele Bassi wrote:
hi;
On 13 February 2014 16:22, Allin Cottrell cottr...@wfu.edu wrote:
+1. I can confirm that this bug is present in GTK 3.10.6 on Fedora 20, and
that's _with_ Adwaita. It only affects some dialogs.
instead of saying this on the mailing list, could
the parenthesis can actually go
around the type or the variable, correct?
No. In a regular C cast you can't put the parentheses around the
variable name.
Allin Cottrell
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman
rewrite my GTK code.
Allin Cottrell
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list
, effective immediately. Like Sébastien, I
hope that's not the case.
--
Allin Cottrell
Department of Economics
Wake Forest University
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
-text.)
Allin Cottrell
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
. GtkListStore inherits directly from
GObject.
Is this piece of code itself ok?
Certainly not. void main() is not valid C for a start (main
must return int), then the first loop runs off the end of the
str_type array...
Allin Cottrell
___
gtk-app-devel-list
the MS-Windows theme the default, in gtksettings.c
(2011-11-01). I can see it makes sense to default to the
MS-Windows theme, but how do you change the font in that case?
--
Allin Cottrell
Department of Economics
Wake Forest University, NC
___
gtk-app
) possible that I'm missing something, but unless I
hear to that effect I'll file a bug.
--
Allin Cottrell
Department of Economics
Wake Forest University
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman
(1.29.4)
gtk+-2.24.17 (2.24.10)
--
Allin Cottrell
Department of Economics
Wake Forest University, NC
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
the GUI
from looking dead.
Inside the numerical procedure I have something like
if (iter % k == 0 activity_callback != NULL) {
activity_callback();
}
Allin Cottrell
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https
?
That's right. And these days you don't need special versions
of the gcc and binutils sources; the primary packages work
fine so long as you pass the right magic to the configure
script.
Allin Cottrell
___
gtk-devel-list mailing list
gtk-devel-list
an eye
open for bug reports.
Allin Cottrell
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list
On Sat, 2 Mar 2013, Paul Davis wrote:
On Sat, Mar 2, 2013 at 12:08 PM, Allin Cottrell cottr...@wfu.edu wrote:
I recently did a native quartz build of the GTK stack on OS X 10.6.8,
using gtk+-2.24.16 along with latest-stable versions of GLib and all other
dependencies (including FreeType
.
--
Allin Cottrell
Department of Economics
Wake Forest University, NC
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list
of third
party software. Right now, to build current pango you need an rc
version of fontconfig. To avoid that, drop back to the previous
pango release. (Pango's configure script is pretty tight-lipped
about dependency problems, which is not very helpful.)
Allin Cottrell
I'd like to try building GTK with its Quartz backend, to see if it's
currently solid enough to distribute with the Mac version of my app.
Can anyone with recent experience tell me if I'm better off
targetting GTK 2.24 or GTK 3.6? Thanks.
--
Allin Cottrell
Department of Economics
Wake Forest
it to be themeable.
Allin Cottrell
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
till I was blue in the face, to no avail.
I also tried inserting debugging statements much like yours,
but couldn't work exactly where the problem lay. Eventually I
just gave up on using GtkPrintOperation on Windows. I hope you
have better luck!
--
Allin Cottrell
Department of Economics
Wake
++ are separate languages and
although C++ interfaces for GTK are available (gtkmm) the more
standard development path is to use C with GTK.
Allin Cottrell
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman
-base.
--
Allin Cottrell
Department of Economics
Wake Forest University, NC
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
(gtk_widget_path_get_object_type (path),
pspec-owner_type)' failed
(repeated 5 times) and is not filling out val.
Am I doing something wrong here or is this a bug? Thanks.
--
Allin Cottrell
Department of Economics
Wake Forest University
___
gtk-app
/
(I don't know about your other question.)
Allin Cottrell
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
release for gtk+-2.0.
Allin Cottrell
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
of glib 2.28, and the
most recent bug-fix variant of glib-2.28 is 2.28.7, so that would be
the version of choice -- if you want to avoid possible dependency
issues in updating to the current stable version, 2.30.
Allin Cottrell
___
gtk-app-devel-list
the main window is destroyed.
(Modified code attached.)
--
Allin Cottrell
Department of Economics
Wake Forest University, NC
#include gtk/gtk.h
static gboolean progressbar_pulse (gpointer data)
{
gtk_progress_bar_pulse(GTK_PROGRESS_BAR(data));
return TRUE;
}
static gboolean stop
, consider the environment variable PKG_CONFIG_PATH.
--
Allin Cottrell
Department of Economics
Wake Forest University
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On Sat, 28 Jan 2012, z...@excite.it wrote:
On Friday 27 January 2012 22:11:52 Allin Cottrell wrote:
For a long time I've built the Windows version of my app against gtk
2.16 (and included the corresponding runtime in the app's
installer). After hearing of progress with gtk 2.24 on Windows I
this paints in the
content, line by line.
Other sorts of window saw their contents appear and then disappear.
Any ideas what's going on here? (The gtk 2.16 build works fine on
the same system.)
--
Allin Cottrell
Department of Economics
Wake Forest University
On Tue, 17 Jan 2012, Tristan Van Berkom wrote:
2012/1/17 David Nečas y...@physics.muni.cz:
Hence
Are you sure you want to quit without saving ?
Should typically have the answers: Save Quit
is nonsense. This question should not occur in a sensible GUI no matter
what answers are
the UTF-8 representation of some character.
I can sort of see how this might be done (rather painfully) using
the GLib Unicode Manipulation API but I wonder if anyone has a
snappy implementation -- something like g_utf8_strncat(), if it were
to exist.
Allin Cottrell
) OS can tell when it
receives a huge request for memory that it definitely cannot honor.
In that case -- where memory is not currently exhausted -- it's much
preferable if the app can report Can't do it to the user rather
than aborting.
Allin Cottrell
are not one-trick ponies.
Allin Cottrell
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
at the moment to
build everything from scratch :(
Me too! It would be great to have updated packages on gtk.org.
--
Allin Cottrell
Department of Economics
Wake Forest University, NC
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http
scrolling via Trackpad.
Allin Cottrell
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
On Thu, 20 Oct 2011, Clemens Eisserer wrote:
Hi Allin,
(a) gtk-2.24.7 and friends (latest stable stack)
(b) gtk-3.2.1 and friends (again, all latest stable)
I can't detect any difference in the scrolling performance in the two cases;
it seems quite acceptable in both. This is on Linux
GtkTextTagTable, and using
gtk_text_buffer_insert_with_tags_by_name to wrap the option
strings. But, alas, it doesn't help: the monospace font is
applied OK, but I still get line breaks after --.
Any suggestions would be appreciated.
--
Allin Cottrell
Department of Economics
Wake Forest
On Wed, 19 Oct 2011, Ryan Lortie wrote:
At long last, GLib 2.31.0 has been released.
Thanks, the change log is impressive! One question: should we
consider this release latest stable GLib or is the odd minor
version number a sign of work-in-progress?
Allin Cottrell
-config --libs zlib, pkg-config --cflags zlib). The effect
of the calls to pkg-config is to define ZLIB_LIBS and
ZLIB_CFLAGS, but these could equally well be set manually.
Allin Cottrell
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http
if
this might be a known issue that is solved in more recent gtk, or if
there's any known workaround for use with gtk 2.16.6. Thanks!
--
Allin Cottrell
Department of Economics
Wake Forest University
___
gtk-app-devel-list mailing list
gtk-app-devel-list
On Tue, 13 Sep 2011, Allin Cottrell wrote:
I have found the relevant difference between gtk 2.24.5 and 2.24.6, which has
the effect -- on my system at least -- that the filter selection combo box is
not displayed correctly in the gtk file chooser when using 2.24.6.
It's the added material
On Wed, 14 Sep 2011, Bernhard Schuster wrote:
2011/9/14 Allin Cottrell cottr...@wfu.edu:
On Tue, 13 Sep 2011, Allin Cottrell wrote:
I have found the relevant difference between gtk 2.24.5 and 2.24.6, which
has the effect -- on my system at least -- that the filter selection combo
box
this was working OK with an
earlier gtk version.)
--
Allin Cottrell
Department of Economics
Wake Forest University, NC
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On Tue, 13 Sep 2011, Bernhard Schuster wrote:
Can you supply a minimal example where it fails? That would help to
find the culprit. I am atm at gtk 2.24.6 so if you can post that I
give it a run...
Thanks! I'm attaching a minimal case.
Allin Cottrell/* Test program for adding multiple
and replaced
gtk 2.24.6, and the problem I was seeing has gone away. I'll
try peering at the differences in the code between those
versions.
Allin Cottrell
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman
On Tue, 13 Sep 2011, Bernhard Schuster wrote:
2011/9/13 Allin Cottrell cottr...@wfu.edu:
On Tue, 13 Sep 2011, Bernhard Schuster wrote:
Can you supply a minimal example where it fails? That would help to
find the culprit. I am atm at gtk 2.24.6 so if you can post that I
give it a run
, guys, and keep up the
cooperation!
Allin Cottrell
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
at a simpler level (with
source code, obviously) ?
I'm attaching a little test program that I once used for
diagnosing GTK dnd problems on Windows.
Allin Cottrell
/*
Test program for drag and drop with two sorts of targets available.
Allin Cottrell (cottr...@wfu.edu), March 2003.
*/
#include
of context.
Any idea on what might account for the difference? I'm
wondering if I've inadvertantly done something that disables
Alt-key within menus but I don't know what that could be.
--
Allin Cottrell
Department of Economics
Wake Forest University, NC
On Mon, 5 Sep 2011, Allin Cottrell wrote:
I've noticed that in my GTK app Alt-key mnemonics work like this: pressing
Alt-F, for example, opens the _File menu, but once you're in the menu
pressing Alt-N does not activate _New, although pressing plain N does so.
In various other GTK apps both
_before_ the first call to
gtk_source_buffer_new()
but not after.
Allin Cottrell
Il giorno lun, 22/08/2011 alle 20.00 -0400, Allin Cottrell ha scritto:
First off, sorry if this is the wrong place to ask. I see from
http://projects.gnome.org/gtksourceview//development.html
or not the standard
styles directory was visible or hidden (renamed) at runtime.
--
Allin Cottrell
Department of Economics
Wake Forest University
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
of a widget
which is allocated off-screen and then nominally destroyed, but
which then shows up in valgrind as leaking.
On Thu, 5 May 2011, Allin Cottrell wrote:
There's one thing I've never quite understood: the correct
mechanism for destroying a gtk widget that is never parented or
shown
from GTK saying I can't do that on an object
which has only a floating reference.
Would the correct sequence be
label = gtk_label_new();
g_object_ref_sink(G_OBJECT(label));
/* do pango stuff */
g_object_unref(G_OBJECT(label));
? And if so, is there an equivalent in GLib 2.10? Thanks.
--
Allin
On Wed, 4 May 2011, jessonel wrote:
Have ever reported the memory leak of gtk_widget_destroy?
Yes, hundreds of people. Have you heard of a useful tool called
google? 99.9 percent of such leak reports are bogus, reflecting
lack of knowledge of how memory management works in the GTK stack.
Allin
to a gtk widget
using the function g_object_set_data() -- and can then retrieve it
with g_object_get_data(). See the section The Base Object Type
in the GObject Reference Manual.
--
Allin Cottrell
Department of Economics
Wake Forest University
___
gtk
On Tue, 29 Mar 2011, joey kuo wrote:
while I run configure in glib-1.2.5, I got error message saying checking
for extra flags to get ANSI library prototypes... configure: error: can not
run test program while cross compiling.
google: cross-compiling glib
Allin Cottrell
won't work.
Allin Cottrell
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On Mon, 28 Mar 2011, Craig Bakalian wrote:
Yes, Yes. I just read through this subject, or gleaned it. Is there an
code example of theme - ing in gtk3.0 anywhere in internet land?
If you want to see how the CSS works, take a look at adwaita.css.
Allin Cottrell
composite) and (b) the
functionality that was previously available via the struct itself
is not replicated via accessor functions. For example, there's no
gtk_target_list_get_n_targets()
to replace the original poster's GTK2 idiom:
int nTargetCnt = g_list_length (list-list);
Allin Cottrell
1 - 100 of 337 matches
Mail list logo