Re: Bug in Tutorial / Documentation: Missing h-files

2019-09-18 Thread Stefan Sauer
Hi Chris, On 11.09.19 07:09, notebook via gtk-doc-list wrote: > Hello Devs: > > On this site: > https://developer.gnome.org/gtk3/stable/ch01s04.html > > there are reference to h-files like exampleapp.h. But their content is > never listed on the website. This renders the tutorial rather useless.

preparing for a new gtk-doc release

2019-02-11 Thread Stefan Sauer
hi, did anyone try the new toolchain yet? In configure.ac all you need to do is: -GTK_DOC_CHECK([1.14]) +GTK_DOC_CHECK([1.29],[--flavour no-xslt]) for meson/cmake I have no idea and would glady take patches. The advantage of the new toolchain is that you won't need xsltproc +

Re: gtkdoc help wanted tickets

2018-12-01 Thread Stefan Sauer
On 11/30/2018 03:14 PM, Bastien Nocera wrote: > On Fri, 2018-11-30 at 13:08 +0100, Stefan Sauer wrote: >> hi, >> >> for the near future I won't be able to work on gtk-doc feature requests. >> I am cleaning up the code to make it testable and converting the silly >

Re: Functional programming with GLib

2017-08-07 Thread Stefan Sauer
Am 09.05.2017 um 10:59 schrieb Tristan Van Berkom: > On Mon, 2017-05-01 at 19:09 -0400, Matthias Clasen wrote: >> >> >> On Thu, Apr 27, 2017 at 10:29 AM, Emmanuele Bassi >> wrote: >>> For command line parsing I'd actually favour a slightly bolder >>> approach of deprecating

Re: CSS documentation and non-breakable hyphens

2017-06-02 Thread Stefan Sauer
On 05/31/2017 10:37 AM, Arnaud wrote: >> Wondering if there's a better way to do that. > Well, it seems that the most common answer for that problem is to use a > element with the 'white-space' property set to 'nowrap'. > > HTML:i-dont-want-to-be-broken > CSS:span.nobr { white-space:

Re: how to customise gtk-doc output

2017-04-13 Thread Stefan Sauer
On 04/12/2017 03:14 PM, jcup...@gmail.com wrote: > On 12 April 2017 at 13:23, Sébastien Wilmet wrote: >> On Wed, Apr 05, 2017 at 10:24:00AM +0100, jcup...@gmail.com wrote: >>> I'd like to customise the gtk-doc output for my project: I'd like a >>> new header, and some tracker

Re: Up-to-date Valgrind suppression file for GLib/GTK+ ?

2017-01-02 Thread Stefan Sauer
On 12/30/2016 12:09 PM, jcup...@gmail.com wrote: > 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

Re: Up-to-date Valgrind suppression file for GLib/GTK+ ?

2016-12-29 Thread Stefan Sauer
On 08/02/2016 05:13 PM, Sébastien Wilmet wrote: > On Tue, Aug 02, 2016 at 01:47:41PM +0100, Philip Withnall wrote: >> On Mon, 2016-08-01 at 20:10 +0200, Sébastien Wilmet wrote: >>> So, is there an up-to-date Valgrind suppression file somewhere? Or is >>> GNOME.supp the most up-to-date? >> The one

Re: dependency graph

2015-07-24 Thread Stefan Sauer
or jhbuild dot gtk+ | dot -Tpng -o /tmp/deps.png eog /tmp/deps.png (link valid for the next 7 days: http://picpaste.com/deps-07HMklsT.png) Stefan On 04/06/2015 08:07 PM, Jasper St. Pierre wrote: The one in here, perhaps? https://github.com/hexchat/gtk-win32/blob/master/README.md On Mon,

Re: Ruler Class in GTK+ 3

2015-01-09 Thread Stefan Sauer
On 01/09/2015 05:12 PM, Emmanuele Bassi wrote: hi; On 9 January 2015 at 16:02, Kamalpreet Grewal grewalkamal...@gmail.com wrote: I am trying to add ruler to my application based on GTK+ 3. A class namely is available in GTK2. I havebeen trying to find a class serving the purpose of

Re: gtktreeview: highlighting a cell

2015-01-06 Thread Stefan Sauer
On 12/12/2014 06:57 PM, Allin Cottrell wrote: I'm using GtkTreeView to implement a simple spreadsheet. With GTK 2, if use gtk_tree_view_set_cursor() to place keyboard focus on a given cell, with the last argument set to FALSE so that editing mode is not entered immediately, I get a visual

Re: Documenting properties and signals with gtk-doc

2015-01-06 Thread Stefan Sauer
On 12/20/2014 01:39 PM, Wouter Verhelst wrote: Hi list, I've been pouring over the (fairly scarce) documentation https://developer.gnome.org/gtk-doc-manual/unstable/ if anything is unclear, let me know. ... and FYI there also is a gtk-doc mailing list and irc channel. Stefan and trying to

Re: debugging broadway

2014-03-11 Thread Stefan Sauer
On 03/11/2014 09:42 AM, Alexander Larsson wrote: On mån, 2014-03-10 at 23:06 +0100, Stefan Sauer wrote: On 03/10/2014 09:07 PM, Alexander Larsson wrote: On mån, 2014-03-10 at 15:14 +0100, Stefan Sauer wrote: hi, I wanted to see the broadway backend in action. Using gtk+3.8 I run broadwayd

debugging broadway

2014-03-10 Thread Stefan Sauer
hi, I wanted to see the broadway backend in action. Using gtk+3.8 I run broadwayd --address=ipaddr --port=8080 :5 and BROADWAY_DISPLAY=:5 GDK_BACKEND=broadway ./my-gtk3-app On the browser side, all I get is a blank window with a title containing broadway 2.0. Tested with chrome 33.0 and firefox

Re: debugging broadway

2014-03-10 Thread Stefan Sauer
On 03/10/2014 09:07 PM, Alexander Larsson wrote: On mån, 2014-03-10 at 15:14 +0100, Stefan Sauer wrote: hi, I wanted to see the broadway backend in action. Using gtk+3.8 I run broadwayd --address=ipaddr --port=8080 :5 and This has 8080 BROADWAY_DISPLAY=:5 GDK_BACKEND=broadway ./my-gtk3

Re: spring cleaning in gtk-doc for next-next verison (1.21)

2014-02-06 Thread Stefan Sauer
has stale tmpl dirs pango has stale tmpl dirs telepathy-glib has stale tmpl dirs Stefan On 02/01/2014 11:58 AM, Stefan Sauer wrote: hi, while a gtk-doc 1.20 is brewing with some awesome stuff coming, I like to remove some legacy features in the cycle afterwards. 1) I'd like to remove 'gtkdoc

Re: What is the license of generated files?

2014-02-04 Thread Stefan Sauer
On 02/03/2014 08:18 PM, Tobias Mueller wrote: On Sat, Feb 01, 2014 at 12:04:09PM +0100, Stefan Sauer wrote: So, ho do we do this practically? we could replace the original files with new files, put them into a subdir and add a COPYING note there that declares them as public domain

spring cleaning in gtk-doc for next-next verison (1.21)

2014-02-01 Thread Stefan Sauer
hi, while a gtk-doc 1.20 is brewing with some awesome stuff coming, I like to remove some legacy features in the cycle afterwards. 1) I'd like to remove 'gtkdoc-scanobj'. This was used to introspect gtk-objects. The makefile fragments shipped with gtk-doc aren't calling this for years (since

Re: Error

2013-12-30 Thread Stefan Sauer
hi, I don't see anything gtk-doc specific here. You probably want to ask on the gtk-devel list. In order to fix one of the issues install Xvfb as the error suggests, Stefan On 09/01/2013 09:39 PM, Weiller Ronfini wrote: weiller@debian:~/Downloads/gtk+-3.8.4$ make check Making check in po

Re: Some shortcomings in gtestutils

2013-02-25 Thread Stefan Sauer
On 21.02.2013 03:46, Federico Mena Quintero wrote: Hi, everyone, I've been writing some tests for GtkFileChooserButton and putting them in gtk+/gtk/tests/filechooser.c - this is the old test suite, resurrected and alive. So, I've been learning what gtestutils provides. It is not bad, but

Re: one function to go...

2012-12-28 Thread Stefan Sauer
On 12/23/2012 10:39 PM, Gary Kline wrote: guys, I need one 'quit' button in a small widget that says via the label = gtk_label_new(File does not exist);, and displays OK with the Enter key icon. Instead of having the user click on a Quit or Close button,

Re: What is the license of generated files?

2012-12-14 Thread Stefan Sauer
On 12/10/2012 05:41 PM, Jeff Johnston wrote: I wish to use gtk-doc to create a test case for the Eclipse devhelp plug-in. I have a simple C test with one function which I generate devhelp for. The generation results in a set of files: a css file, the devhelp file, some .png files (home.png,

Re: Resolving cross-references among components

2012-11-18 Thread Stefan Sauer
On 11/18/2012 12:12 AM, David Nečas wrote: Hello, what is the recommended method/best practice for getting right bidirectional cross-references in documentation? Imagine a project that builds two libraries, libA and libB, with separate documentation. If documentation for libA is built while

Re: Glib for iOS

2012-08-01 Thread Stefan Sauer
On 07/18/2012 12:49 AM, Hubert Figuière wrote: On 17/07/12 03:46 PM, Paul Davis wrote: it can be very hard. there are two approaches. one is to build a pseudo/fake gtk-doc package for OS X, which does actually exist, but i can't tell you where to find it. google will help. the other is to

removal of legacy returns blcoks with next gtk-doc release

2012-06-14 Thread Stefan Sauer
hi, for legacy reasons gtk-doc accepted documenting the return value by starting a line with Returns (not Returns:) [1]. This of course can be ambiguous and thus is not recommended. Normally one can disambiguate, by having a proper Returns: block. Still this can cause trouble for void functions

Re: Push button with enter

2012-02-21 Thread Stefan Sauer
On 02/13/2012 03:18 PM, Manuel Ferrero wrote: I'd like to have a button pushed every time I press the Enter key, even if that button is not selected. Let say I click on a text box, I write some text and then when I press Enter the button is pressed. Is it possible? Right now the button is

Re: RFC: new features

2012-01-18 Thread Stefan Sauer
On 01/18/2012 08:53 PM, Christian Hergert wrote: On Wed, 2012-01-18 at 09:49 +0100, Sergio Villar Senin wrote: En 13/01/12 16:04, Bastien Nocera escribiu: On Thu, 2012-01-12 at 11:23 +0100, Alexander Larsson wrote: On Wed, 2012-01-11 at 20:38 -0800, Christian Hergert wrote: snip MENU BUTTON

Re: is thaere a way to exit(1)?

2012-01-17 Thread Stefan Sauer
On 01/15/2012 12:51 AM, Gary Kline wrote: On Fri, Jan 13, 2012 at 10:09:43PM +0100, David Ne??as wrote: On Fri, Jan 13, 2012 at 11:59:45AM -0800, Gary Kline wrote: I finally know =where= i want to exit my gtk program, but exit just doesn't break me out of my while() loop. what's the magin?

Re: How GTK styling works

2012-01-16 Thread Stefan Sauer
On 01/16/2012 11:21 PM, John Ralls wrote: On Jan 16, 2012, at 1:04 PM, Benjamin Otte wrote: CSS goes in, styled windows come out. You can't explain that. And quite frankly, that sucks. So here's a high-level overview of how the GTK CSS machinery works in master. [SNIP] Benjamin, That's

Re: RFC: new features

2012-01-14 Thread Stefan Sauer
On 01/14/2012 12:53 AM, Michael Torrie wrote: On 01/13/2012 12:52 AM, Stefan Sauer wrote: TIP-DIALOG I've seen several implementations in aps (e.g. gimp has one). I did one for buzztard. It shows a random message from the tips list. I don't know of anyone who actually finds such a dialog

Re: RFC: new features

2012-01-12 Thread Stefan Sauer
On 01/12/2012 03:59 AM, Benjamin Otte wrote: One thing I've been wondering about is what features GTK is missing. This is mostly about developer-visible APIs, ie new widgets, and not about internal changes. I have some ideas from IRC discussions, mails and applications, but of course there

Re: RFC: UI design

2012-01-10 Thread Stefan Sauer
On 01/09/2012 04:29 PM, Benjamin Otte wrote: Hey, Here's another discussion point I want people to think about before the hackfest. This time it's not so much about API in a direct way but more about a guiding principles for the kinds of APIs we want to provide. The short question is this:

Re: release resource of gtk

2012-01-08 Thread Stefan Sauer
On 01/02/2012 04:09 AM, wenmhappy wrote: hi everyone, I run GtkLauncher(webkit/gtk/directfb), I find gtk/directfb are not released even if gtk_widget_destroy(top_window) has been called before gtk_main() quit. I don`t find function such as gtk_term or gtk_deinit() to

Re: GMenuModel has landed

2011-12-12 Thread Stefan Sauer
On 12/12/2011 03:24 AM, Matthew Brush wrote: On 12/11/2011 12:14 PM, Stefan Sauer wrote: On 12/09/2011 01:00 AM, Ryan Lortie wrote: hi, Today I landed the GMenuModel work on glib master. A release will be following shortly. Just one quick question - why is this in GLib? Is that to allow

Re: GLIB for a webserver

2011-12-11 Thread Stefan Sauer
On 12/08/2011 02:13 PM, Marcelo Elias Del Valle - SYSMAP SOLUTIONS - Claro MA-SP - wrote: Hello, I am planning to use glib to write a C application server. I just like the library philosophy a lot and that’s why it is my first choice. However, after searching the web for a

Re: Displaying domain objects with GtkTreeView

2011-12-06 Thread Stefan Sauer
On 12/02/2011 03:55 PM, Rafał Krupiński wrote: 2011/12/1 David Nečas y...@physics.muni.cz: What are you talking about? You can pass any GObject-derived type as the column type (not that it matters much, the net result is the same as passing G_TYPE_OBJECT). You get back the objects that you

Re: error in compile gtk3 in OSX

2011-12-06 Thread Stefan Sauer
On 12/06/2011 02:47 AM, xiaobo wrote: Hi, All I got a error when I compile gtk3 in OSX . This is log. . . CCLD libgtk-3.la CC queryimmodules.o CCLD gtk-query-immodules-3.0 GISCAN Gtk-3.0.gir Usage: g-ir-scanner [options] sources g-ir-scanner: error: no

Re: string replace function

2011-12-06 Thread Stefan Sauer
On 12/06/2011 03:56 AM, Kevin Anthony wrote: I was thinking of making a g_strrpl and g_strnrpl The first one takes (gchar*,gchar*) and returns a gchar* in which the all instances of the second gchar* will be found and replaced in the first gchar*. replaced by what? g_strcannon can be used for

Re: GTK based media player in C

2011-12-06 Thread Stefan Sauer
On 09/19/2011 07:35 AM, Hitesh_Sharma wrote: Dear Team, I am looking for a sample code in C for GTK based media player.Kindly let me know from where I can get a sample code showig functionality of media player. super late reply, but anyway here is a gstreamer example that is a test app for

Re: error in compile gtk3 in OSX

2011-12-06 Thread Stefan Sauer
On 12/06/2011 11:32 AM, xiaobo wrote: 在 2011-12-6 下午6:00 時, Stefan Sauer 寫到: On 12/06/2011 02:47 AM, xiaobo wrote: Hi, All I got a error when I compile gtk3 in OSX . This is log. . . CCLD libgtk-3.la CC queryimmodules.o CCLD gtk-query-immodules-3.0 GISCAN

Re: GObjectClass.dispose and bringing objects back to life

2011-12-06 Thread Stefan Sauer
On 12/04/2011 05:03 PM, David Nečas wrote: On Sun, Dec 04, 2011 at 01:40:58PM +, Emmanuele Bassi wrote: this is, of course, not true: GNOME is full of badly written GObject code, mostly because it has been written at various stages of the learning process of various people. plus, the

Re: GTKDOC_DEPS in recent gtk-doc.m4

2011-12-04 Thread Stefan Sauer
On 12/04/2011 12:49 PM, Simon Josefsson wrote: Stefan Sauer enso...@hora-obscura.de writes: On 12/01/2011 08:30 PM, Nicola Fontana wrote: On Sun, 20 Nov 2011 22:13:34 +0100 Simon Josefsson si...@josefsson.org wrote: Hi! I'm using gtk-doc in for example GNU Libtasn1 and recently upgraded

Re: Valgrind questions

2011-11-29 Thread Stefan Sauer
On 10/07/2011 11:09 AM, Andrew Cowie wrote: On Tue, 2011-09-20 at 12:48 +0100, jcup...@gmail.com wrote: Ooop, thanks. I hadn't realised but I'd not updated the version on the website for a while. I've put my current one up now and it includes a thing for g_type_add_interface_static(), as you