Hi Stefan,
> headers/footers customizable. Right now they are generated by the
> docbook stylesheets and this makes it slow. Feel free to file a bug an
> mention what changes you did. This will help me to design this features.
OK, bug here:
https://bugzilla.gnome.org/show_bug.cgi?id=781291
John
ded up doing something very simple. This line of Ruby:
template.at_css(".main-content").children = doc.at_css("body").children
Just takes everything inside and drops it into a standard
github pages template, making (for example) this:
http://jcupitt.github.io/libvips/API/curr
Hello everyone,
I'd like to customise the gtk-doc output for my project: I'd like a
new header, and some tracker stuff in the footer.
I see glib does this. The online docs here:
https://developer.gnome.org/gobject/unstable/
Have a new header and footer pasted into each page.
What's the best wa
On 29 December 2016 at 23:55, Emmanuele Bassi wrote:
> As Philip explained earlier in the thread, Valgrind can only accept a
> single suppression file. So, if GTK+ ships a suppression file, it
> would need to include suppression rules for all its dependencies, and
> you would still be unable to ad
dinates myself.
I suppose another solution would be to change the behaviour of
gtk_adjustment_clamp_page() for objects larger than the viewport, but
I doubt if there's much enthusiasm for that.
My code is here, if it's any help:
https://github.com/jcupitt/vipsdisp
John
___
Hi all, I've found some puzzling code in gtk_adjustment_clamp_page().
Maybe it's a bug? I'm unsure.
These lines:
https://git.gnome.org/browse/gtk+/tree/gtk/gtkadjustment.c#n932
Clamp the value of an adjustment so it lies between lower and upper.
But aren't the < and > reversed? Those lines sho
Hi Tim,
On 3 November 2015 at 14:53, Tim-Philipp Müller wrote:
> The build system GStreamer uses for this (cerbero) should be able to do
> that (our windows build bots do that):
>
> http://cgit.freedesktop.org/gstreamer/cerbero/
From reading the sources, it looks like cerbero/ide/vs/genlib.py is
On 3 November 2015 at 14:34, Ignacio Casal Quinteiro
wrote:
> have a look at this:
> https://github.com/nice-software/gtk-win32
Hi Ignacio, that looks great, but unfortunately I need to build on
linux and cross-compile :-(
Does anyone have a link to linux-hosted win64 gtk build system I could
ha
Hi everyone,
I'm trying to make my own 64-bit glib DLLs for Windows users. I'm
cross-compiling from linux with jhbuild. It seems to be working,
except that VS users can't link to the libraries I'm making.
It looks like I need to generate .def and .lib files. Does anyone know
the recommended way t
Hi Daniel,
On 4 July 2015 at 03:37, Daniel Kasak wrote:
> I've previously built OSX binaries, just for myself, but now I'd like
> to share amongst some workmates. I'm not really up-to-speed with OSX
> and packaging ( new job, Mac-only shop ).
I use this:
https://wiki.gnome.org/Projects/GTK+/O
>> >> I'm looking for the rational of using 'gint' instead of 'guint' in the
>> >> call:
>> >>
>> >> g_ptr_array_set_size (GPtrArray *array, gint length);
>>
>> >
>> > I imagine that the use of a signed integer was an oversight at the time
>> > which can now not be corrected without breaking API. I
On 13 June 2013 07:54, Simon Kågedal Reimer wrote:
> I've written a tutorial on how to make a basic multilevel "Hello
> World" using GObject Introspection:
>
> http://helgo.net/simon/introspection-tutorial/
Looks great, thank you for making this, Simon.
How about some notes on boxed types? They
This all sounds fantastic, but I have a stupid question:
On Thursday, October 4, 2012, Owen Taylor wrote:
>
> * When there is a frame where no painting ends up being done, we still
> at the moment are sending increments to the frame serial and waiting
> for_NET_WM_FRAME_DONE. It may be worth t
There was a useful thread last December about gtktreeview performance with
large data sets:
https://mail.gnome.org/archives/gtk-app-devel-list/2011-December/msg00092.html
It included this very nice example of making a treeview with a custom model:
http://pastebin.com/45br5X3Z
You need to add th
Hi Noam,
On 24 January 2012 10:12, Noam Yorav-Raphael wrote:
> Can someone guide me on how to compile GTK with debugging enabled, and
> how to compile a C program that would use the GTK I compiled, so I can
> run it under gdb and try to fix the bug?
It's pretty easy. Download the gtk sources, un
On 13 January 2012 22:21, Paul Davis wrote:
> there is a bigger issue there, i think. in an ideal world, you don't
> want to base the date store for the TreeView on an object, but on an
> interface. then you want a series of adapters/wrappers that wrap data
> structures implemented in any languag
Hi Tomeu,
On 12 January 2012 11:02, Tomeu Vizoso wrote:
> Looks like a bug in pygobject, could you file a bug with a backtrace?
>
> It may be worth trying out with the latest release to scope better the
> problem.
I've tried with git master gobject-introspection and 3.0.3 pygobject
and the cras
My 2p:
DATA GRID
I'd like to be able to display a grid of numbers with rectangular
selection, a little like a spreadsheet. Unfortunately this is not
possible with treeview. At the moment I use a fork of the ancient and
broken GtkSheet widget, which is unfortunate.
PLOTS
As Jean said, goffice has
Hi all,
I'm adding gobject-introspection support to my library. It's working
well for the GObject classes, but I just can't get it to work for
GBoxed objects. I'm sure I'm missing something obvious. Do I need to
write an override to make a class for the type myself?
I've spent some time googling
On 9 December 2011 04:34, Allin Cottrell wrote:
> On Thu, 8 Dec 2011, Ryan Lortie wrote:
>> Today I landed the GMenuModel work on glib master [...]
>> Menubars are no longer a per-window concept. They are now set for the
>> entire application. This is done for two reasons:
>>
>> 1) every app al
On 8 September 2011 11:39, Alberto Ruiz wrote:
> Third, and the most important. Windows has no package manager. You should
> not delegate on users the responsibility of making sure that a working copy
> of GTK is installed. This is annoying enough with Java.
>
> A .zip bundle (and maybe some facil
Hi,
2011/3/21 czk :
> Following is my test program and test result:
> Obviously, most time spend on the last gtk_widget_show.
You could try adding a call to realize, just before show():
gtk_widget_realize (window);
This will do most of the initialisation, but not actually show the
window. You
On 16 February 2011 10:50, Joshua Lee wrote:
> I'm curious why gvdb_table_is_valid works. Here's the implementation
> of gvdb_table_is_valid.
>
> gboolean
> gvdb_table_is_valid (GvdbTable *table)
> {
> return !!*table->data;
> }
Ah I see, sorry. This function will return 1 if table->data points
On Wednesday, 16 February 2011, Joshua Lee wrote:
> Then I run the test program, !!*data will always output 1. Here's the
> output.
Isn't that expected behaviour? Data points to a non-empty string, so
*data will always be non-zero. Therefore !*data will always be zero,
therefore !!*data will alwa
2010/6/16 Krzysztof Kosiński :
> 2010/6/14 Tor Lillqvist :
>> For anybody new looking into it, I certainly recommend using
>> cross-compilation. Have a look at the spec files for the
>> cross-compiled GTK+ stack (and much more) for Windows in the OpenSUSE
>> Build Service. See
>> http://download.op
On 2 April 2010 17:47, wrote:
> I've now read the equivalent functions in openmp (which has an
> incredibly complicated linux version, it's several hundred lines of
> code), qt and gimp. I'll put a patch and some notes on bugzilla.
I've put a patch on bugzilla, I guess discussion should continue
On 2 April 2010 11:21, Pavel Machek wrote:
> Actually, he got the naming right. Even single-core cpus have cores...
I've now read the equivalent functions in openmp (which has an
incredibly complicated linux version, it's several hundred lines of
code), qt and gimp. I'll put a patch and some note
On 15 March 2010 23:08, Andrew W. Nosenko wrote:
> GCC OpenMP implementation has one also. omp_get_num_procs().
> Mandated by OpenMP spec and essentially for the same reason :-)
Thanks, I see they have versions for several other platforms. I'll
nick some of their stuff too.
John
___
On 15 March 2010 22:43, Sven Neumann wrote:
> Feel free to use the implementation in GIMP as a starting point:
Perfect! Thank you very much Sven, I'll try to make a patch and submit a bug.
John
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
h
On 15 March 2010 17:46, Martin Nordholts wrote:
> On 03/15/2010 12:14 PM, jcup...@gmail.com wrote:
>> I'd my program (a threaded image processing system based on gthread)
>> to be able to find out how many cores the host machine has. This would
>> let me make my threadpools default to a sensible s
On 15 March 2010 11:36, Tor Lillqvist wrote:
>> int g_thread_get_cores( void );
>
> Well, firstly the function name should use "processors" and not
> "cores". But I think that in general such a function would be too
> simplistic, and just look at things from the perspective of the
> current low en
Hi everyone,
I'd my program (a threaded image processing system based on gthread)
to be able to find out how many cores the host machine has. This would
let me make my threadpools default to a sensible size. As far as I
know, this is a difficult thing to find out portably :-(
Is this something th
2010/1/2 :
> Sorry, I posted hastily, I do get an annoying number of leaks if I let
> it run a little longer, I see what you mean. I'm sure it wasn't as bad
> back in 9.04.
>
> I'll try to make a better suppression file tomorrow.
Here's another suppression file:
http://www.vips.ecs.soton.ac.uk/d
2010/1/3 Erik de Castro Lopo :
> Erik de Castro Lopo wrote:
>> Don't you think that maybe a suppression file is not the right approach
>> to this problem?
>
> Specifically, I am concerned about the possibility of a suppressions file
> that hides a real memory leak where a program bug continually al
2010/1/2 Erik de Castro Lopo :
>> for my 300,000 line GTK application.
>
> Is that public? In revision control somewhere?
It's the nip2 GUI for the vips image processing library:
http://www.vips.ecs.soton.ac.uk
Sources here:
http://vips.svn.sourceforge.net/viewvc/vips/
John
__
2010/1/2 Erik de Castro Lopo :
> With your suppressions file on the helloworld program from the GTK
> tutorial and valgrind on Ubuntu 9.10 run as:
Sorry, I posted hastily, I do get an annoying number of leaks if I let
it run a little longer, I see what you mean. I'm sure it wasn't as bad
back in 9
2010/1/2 Erik de Castro Lopo :
> when run as follows (suppression file from http://live.gnome.org/Valgrind):
I use the following suppression file on Ubuntu 9.10:
{
ldopen1
Memcheck:Addr4
obj:/lib/ld-2.6.1.so
}
{
xwrite1
Memcheck:Param
write(buf)
obj:/lib/ld-2.6.
2009/12/2 Alexander Larsson :
> On Wed, 2009-12-02 at 11:48 +, jcup...@gmail.com wrote:
>> 2009/12/2 Alexander Larsson :
>> > I'm certainly for this. Does anyone know of any system in use where
>> > gthreads are not availible?
>>
>> One problem I've had in the past is writing mysql plugins.
>>
2009/12/2 Alexander Larsson :
> I'm certainly for this. Does anyone know of any system in use where
> gthreads are not availible?
One problem I've had in the past is writing mysql plugins.
I help maintain an image processing library, and one use of the
library was a mysql plugin that added query-
2009/8/31 Dr. Michael J. Chudobiak :
> On 08/30/2009 09:51 AM, jcup...@gmail.com wrote:
>> able to supply pixels at a certain size. In particular, libjpeg can do
>> a very quick load-at-1/8th-size read where it just decompresses enough
>> to be able to get the DC component of each 8x8 block. If you
2009/8/28 Mark :
> static GdkPixbuf *
> scale_pixbuf_preserve_aspect_ratio (GdkPixbuf *pixbuf,
> gint size,
> GdkInterpType interp)
One more idea: this will be very slow for JPEGs (your use case, I think).
It will decode the wh
2009/8/11 :
> 2009/8/11 Alexander Larsson :
>> Clearly we should do at least 3, which will fix this case (and other
>> similar tempfile cases). However, given the extremely bad performance
>> here we should maybe add the extra API in 2 allowing apps to avoid the
>> cost when needed? Its kinda ugly
2009/8/11 Alexander Larsson :
> Clearly we should do at least 3, which will fix this case (and other
> similar tempfile cases). However, given the extremely bad performance
> here we should maybe add the extra API in 2 allowing apps to avoid the
> cost when needed? Its kinda ugly to expose that to
2008/12/22 Eugene Gorodinsky :
> question. My first impression when I looked at the architecture (using
> GObject etc.) was that this must take quite a bit of processing cycles and
> memory. So my question is: is there any room for improvement by rethinking
> the architecture (using Vala for some o
2008/8/20 Ali Sabil <[EMAIL PROTECTED]>:
> On Wed, Aug 20, 2008 at 9:15 PM, Bastien Nocera <[EMAIL PROTECTED]> wrote:
>> On Wed, 2008-08-20 at 15:10 -0400, Yu Feng wrote:
>> > Is there any particular reason that GLib doesn't provide a ref-counted
>> > string and a ref-counted array type? Lacking th
On 30/01/2008, Michael L Torrie <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Sorry to revive this again, but does anyone have a link to the
> > discussion of this? My google search is failing me.
> >
> > It seems strange to me that GTK goes to a lot of trouble to support
> > accessibil
On 30/01/2008, Martyn Russell <[EMAIL PROTECTED]> wrote:
> Paul Pogonyshev wrote:
> > Sorry, I noticed the discussion about new gtk.org design but didn't
> > follow it. The only thing I don't like in new design is fixed to
> > 700px page width. I think that goes against GTK+ friendliness to
> > d
On Jan 17, 2008 12:34 PM, Tim Janik <[EMAIL PROTECTED]> wrote:
> On Thu, 17 Jan 2008, Alexander Larsson wrote:
> > On Wed, 2008-01-16 at 15:03 +, [EMAIL PROTECTED] wrote:
> >> I noticed the weakref introduction says that notifies can be called many
> >> times:
> >>
> >> http://library.gnome.or
I noticed the weakref introduction says that notifies can be called many times:
http://library.gnome.org/devel/gobject/unstable/gobject-memory.html#gobject-memory-weakref
... which is invoked when the object runs its dispose method. As such,
each weak ref can be invoked more than once upon
On Dec 19, 2007 6:36 PM, Wolfman <[EMAIL PROTECTED]> wrote:
> i have few questions i have to write a new tool for my work its something
> like a node based node editor so the nodes must be connect via splines and
> as content the node must have a tree view for the properties. So my first
> thought
On 8/6/07, Prasanna Kumar K <[EMAIL PROTECTED]> wrote:
> At present I'm not very much clear about gtkrc (also don't want to use them)
Are you sure? They are easy to use and will do want you want very quickly.
http://developer.gnome.org/doc/API/2.0/gtk/gtk-Resource-Files.html
Use gtk_rc_add_defau
On 8/4/07, Benjamin Berg <[EMAIL PROTECTED]> wrote:
> If you already use a style, you can also use
>
> widget "*red_widget*" style "red_style"
>
> instead. And then you just need to set the name on the button and none
> of its children. As the label will also be affected with the above line
> (beca
On 8/3/07, Prasanna Kumar K <[EMAIL PROTECTED]> wrote:
> I have a GtkWidget "Button. I want the color of the button should be
> complete red.
You can do it with a gtkrc. For example, set this resource file:
--
style "red_style" = "default"
{
bg[NORMAL] = "#C1665A"
bg[PRELIGHT] =
On 6/29/07, Kieran Clancy <[EMAIL PROTECTED]> wrote:
> I'll have a look at the gtkplot API, it may give a good structure for
> starting this. This project will probably use cairo directly instead
> of using a canvas widget.
Your call, of course, but I would consider using a canvas widget.
If you
On 6/29/07, Kieran Clancy <[EMAIL PROTECTED]> wrote:
> Any comments would be very appreciated.
I realise this isn't quite what you're targetting, but gtkplot (from
gtkextra) redone on top of one of the nice new cairo canvas widgets
would be very useful.
The gtkplot API is just about OK (I think i
On 6/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> My problem is that i'd like that axis right and left have diffrent escales,and
> of couse different ticks.Is it possible??
Is this the gtkplot from gtkextra?
The testgtkplot.c demo program in the sources does this, though for
the top and b
On 5/4/07, la deng <[EMAIL PROTECTED]> wrote:
> Then ,what's the power of gobject vs c++ with the compiler's
> Intelligence in OOP?
I think the usual answers are:
1) portability: you can get a standard C compiler anywhere; C++ (at
least back when gtk was started) is less portable
2) ease of lang
57 matches
Mail list logo