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 > 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 ruler in GTK+ 3.

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 t

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: 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 > m

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 "C

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

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

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: 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

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. >>> >>> . >>&g

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

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 f

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-scann

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 : >> 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 stored there. >

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(),