> "delete-event", G_CALLBACK (on_close_system_log_activate),
> gpointer(this));
> syslogdialog->run();
The delete-event signal handler needs to return a gboolean. The C API
doesn't do any checking of the signature of the signal handler's
function pointer. However,
'm not bothered by the lack of things like OK, Yes, and No, which
shouldn't be used anyway.
--
Murray Cumming
murr...@murrayc.com
www.murrayc.com
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
d be healthier in the long term if
you put it somewhere like github.
--
Murray Cumming
murr...@murrayc.com
www.murrayc.com
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On Thu, 2011-01-20 at 16:37 +0530, Karthikeyan Krishnamurthi wrote:
> Hi group,
>
>I try to append text to combo box using gtk_combo_box_append_text () i
> got the following error...
>
> gtk_combo_box_append_text: assertion `GTK_IS_LIST_STORE
> (combo_box->priv->model)' failed
>
> how to so
On Mon, 2011-01-10 at 11:40 +0100, Edheldil wrote:
> Dear listmembers,
>
> I am writing an application in Python+libglade (*) which displays a long
> table of objects and their properties (geocaches, actually. Similar to
> GSAK or GeoGet). The problem is that with more than 15000 objects the
> Tre
On Wed, 2010-10-06 at 07:56 +0700, John Matthewman wrote:
> > http://www.openismus.com/misc/multipress-gtk-input-method/source/
>
> Thanks for that - though I was hoping to see a simple makefile so I
> could make a bit more sense of what's going on. (Not a fan of
> autotools...)
Just watch the o
On Tue, 2010-10-05 at 11:03 +0700, John Matthewman wrote:
> Hi there - I'm trying to make a new GTK input method for Vietnamese
> (Telex) input. After looking at the source for the Vietnamese (VIQR)
> input method, it's fairly easy to create the source for my new input
> method.. So now I'm stuck o
On Tue, 2010-09-14 at 21:48 +0700, Dmitry Kruglov wrote:
> Written, I quote: In version 2.0, the system signals moved from GTK to
> GLib, so the functions and types in this section have the prefix "g_"
> and not "gtk_".
>
> Why are all using old technology? Why use a function of GTK 1.2?
> For
>
On Fri, 2010-05-28 at 19:17 +0200, Radovan TUČEK wrote:
> Hi
> Is it possible to map C++ object to Gobject and uset this Gobject in C
> application without writing C wrapper around C++ object?
If you are using gtkmm then you can use gobj() and Glib::wrap():
http://library.gnome.org/devel/gtkmm-tut
On Thu, 2010-05-06 at 09:04 +, John Emmas wrote:
> You can probably see that the progress bar's font gets successfully
> changed,
>
> whereas the button's font doesn't
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
On Wed, 2010-04-21 at 10:19 -0400, Shawn Bakhtiar wrote:
>
>
> FYI for OSX users
>
> I had to install the GNU Readline for Libgda for this to compile.
>
> without GNU Readline it popes the following error:
>
> /bin/sh ../libtool --tag=CC --mode=link gcc -arch i386
> -I/Developer/SDKs/
I strongly advise you to try libgda rather than reimplementing it
yourself.
--
murr...@murrayc.com
www.murrayc.com
www.openismus.com
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-
On Sun, 2010-04-11 at 09:51 +0300, Tor Lillqvist wrote:
> > Would filing tickets of the issues that arise generate a response?
>
> Filing tickets (bug reports in bugzilla.gnome.org) for individual
> clearly separate issues (that don't have bug reports already) is
> always good,
This is essential.
On Wed, 2010-02-24 at 10:50 -0600, Daniel Espinosa wrote:
> Using GDA (www.gnome-db.org) based on GObject/GLib and its GTK+
> objects, you can develop applications using a C API to access any
> supported database backend (postgresql, mysql and sqlite, are some of
> them). Any application can run si
On Wed, 2009-11-18 at 19:35 +0100, Per Hermansson wrote:
> Hi everyone
>
> I'm contributing to a project called the Common Printing Dialog
> which goal is to create the next generation print dialog for Gnome.
> The dialog allows users to customize different options which depends
> on the current p
On Mon, 2009-11-09 at 09:32 +0100, Nicola Fontana wrote:
> Il giorno Mon, 09 Nov 2009 03:24:04 -0500
> Braden McDaniel ha scritto:
>
> > Clearly the "" looks fishy; but I'm just
> > not seeing what could be a problem there; and I'm wondering if gdb
> > isn't just messing with me. The call site f
On Tue, 2009-09-08 at 13:32 +0200, Emmanuel Touzery wrote:
> It's annoying for me because I find that putting the real types
> in
> my code makes it easier to follow (rather than everything being a
> GtkWidget*), but if I go that route, I must constantly up and
> downcast...
>
> From m
On Tue, 2009-08-04 at 11:49 +0200, Nicola Fragale wrote:
> Il 04/08/2009 08:59, Andrea Zagli ha scritto:
> > Il giorno lun 03 ago 2009 18:03:43 CEST, Andrea Zagli ha scritto:
> >> i didn't find nothing about to manage (read/write) csv files with glib
> >>
> >> do you know about something that i did
make this much simpler, if you like that kind
of thing.
http://www.glom.org/
--
Murray Cumming
murr...@murrayc.com
www.murrayc.com
www.openismus.com
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html#_details
The answer, I think, is Just don't use std::cout and friends to show
UTF-8.
--
Murray Cumming
murr...@murrayc.com
www.murrayc.com
www.openismus.com
___
g
On Mon, 2009-01-05 at 18:43 +1100, Andrew Cowie wrote:
> ie, it sounds like we should switch to g_object_set_qdata() for our one
> and only use of GObject "data"; we request and set that value a *lot*,
> and I'm always pleased to use faster code paths. The key we use is
> already a static string an
; > "text-column", 0,
> >"has_entry", FALSE,
> >NULL );
> >/* Unref model (the same logic applies here as with the first unref) */
> >g_object_unref( G_OBJECT( model ) );
> >
> >gtk_tree_view_column_pack_start( col, renderer, TRUE );
> >gtk_tree_view_column_set_attributes( col, renderer,
> > "text", TEXT_COL,
> > "sensitive", TEXT_SENS_COL,
> > "editable", TEXT_SENS_COL,
> > NULL );
> >gtk_tree_view_append_column( GTK_TREE_VIEW( treeview ), col );
> >
> >/* column 3 */
> >/* Create adjustment for spin renderer */
> >adj = GTK_ADJUSTMENT( gtk_adjustment_new( 0, 0, 100, 1, 10, 0 ) );
> >
> >/* Create column and add renderer to it */
> >col = gtk_tree_view_column_new();
> >gtk_tree_view_column_set_resizable( col, TRUE );
> >
> >renderer = gtk_cell_renderer_spin_new();
> >g_signal_connect( G_OBJECT( renderer ), "edited",
> > G_CALLBACK( cb_integer_param_changed ), master );
> >g_object_set( G_OBJECT( renderer ), "adjustment", adj,
> >"editable", TRUE,
> >NULL );
> >gtk_tree_view_column_pack_start( col, renderer, TRUE );
> >gtk_tree_view_column_set_attributes( col, renderer,
> > "text", INT_COL,
> > "sensitive", INT_SENS_COL,
> > "editable", INT_SENS_COL,
> > NULL );
> >gtk_tree_view_append_column( GTK_TREE_VIEW( treeview ), col );
> >
> >
> >gtk_widget_show_all( window );
> >
> >gtk_main();
> >
> >return( 0);
> > }
> > --
>
>
> John Collins Xi Software Ltd www.xisl.com
>
> ___
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
--
Murray Cumming
murr...@murrayc.com
www.murrayc.com
www.openismus.com
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
when you remove something from a
container. We fix/hide this weirdness in gtkmm.
--
Murray Cumming
[EMAIL PROTECTED]
www.murrayc.com
www.openismus.com
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
wable area that I draw all my
> > application stuff on and I'd like to play a .mov file in a subportion of
> > that area.
>
> Maybe Kino sources?
gstreamermm (unstable but making great progress) has a working example
of a mini video player. It's probably useful.
--
Murray Cu
; http://www.nylxs.com/docs/workshops/toogle.h.html
> http://www.nylxs.com/docs/workshops/toogle_main.c
> http://www.nylxs.com/docs/workshops/toogle_main.c.html
[snip]
--
Murray Cumming
[EMAIL PROTECTED]
www.murrayc.com
www.openismus.com
___
gt
On Thu, 2008-10-02 at 12:31 -0400, Ruben Safir wrote:
>
> This is my src directory Makefile.am
> ___
>
> bin_PROGRAMS = onewindow
> onewindow_SOURCES = one_window.cc
You are not specifying any libraries to link to, or any paths to headers
to use.
htt
On Fri, 2008-09-26 at 02:31 -0400, Ruben Safir wrote:
> On Mon, Apr 28, 2008 at 08:01:13PM +0200, Luis Menina wrote:
> > If you have a recent version of GTK+ (>= 2.12), just go with GtkBuilder
> > instead of libglade: this is the way things should be done nowadays, if
> > you create a simple inte
he
> key in some of the cases?
That same section describes how you can use the return value to specify
that:
http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/sec-xeventsignals.html
--
Murray Cumming
[EMAIL PROTECTED]
www.murrayc.com
www.openismus.com
On Mon, 2008-08-04 at 16:12 -0700, Garth's KidStuff wrote:
> Hi All,
>
> Help! I'm trying to install a build environment on a machine I just
> installed Ubuntu 8.04.1 on and the package manager won't install
> libgtkmm-2.4-dev. It gives the following message:
>
> libgtkmm-2.4-dev:
> Depends: l
On Tue, 2008-06-24 at 16:55 -0600, Kevin DeKorte wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> I'm looking at trying to get a simple xml file back from a web site and
> I'm wondering if glib has anything that can do that for me, or do I need
> to go to another lib like libsoup. Any
On Sun, 2008-05-04 at 18:29 +0300, Stefan Kost wrote:
> you seem to have no suppressions for libc-2.7. These are all things in
> libc that
> you don't need to worry about.
Maybe you could link to a suppressions file from the live.gnome.org
valgrind page?
http://live.gnome.org/Valgrind
--
[EMAI
On Wed, 2008-04-30 at 10:49 +0200, Martin (OpenGeoMap) wrote:
> Hi all:
>
> It´s posible edit the cellrender for doubles??
>
> Always put 6 decimals. Can i modify that??
>
> Any tips appreciated.
You can use gtk_tree_view_column_set_cell_data_func() to change how data
is displayed in your cell
On Wed, 2008-04-09 at 08:15 -0700, Garth's KidStuff wrote:
> Hi,
>
> As covered in some earlier posts, Murry helped point me to the bug report on
> Ubuntu 7.10 that showed that gtk+ printing just didn't work there.
Specifically, there is a problem with the printing API when used from
gtkmm (not w
On Tue, 2008-04-01 at 10:05 -0700, Garth's KidStuff wrote:
> Hi Murray,
>
> Thanks. I'm running Ubuntu 7.10 Gutsy. I'm not sure how to tell what
> version of Gtkmm I'm linking to, but I just used package manager to
> get the latest available and here's what's in my /usr/lib:
> -rw-r--r-- 1 root
On Mon, 2008-03-31 at 07:34 -0700, Garth's KidStuff wrote:
> Hi,
>
> Thanks in advance. The sample code at:
> http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/sec-printing-example.html
>
> doesn't work for me. I get the on_begin_print callback as expected, but
> never receive the on_draw_
On Tue, 2008-02-26 at 14:19 +0100, Germán Diago wrote:
> Hello. I'm implementing an application in gtkmm. I want to add support for
> dynamic signal
> connection from a glade file in C++ (which is not supported by the C++
> bindings).
>
> I'd like to know if there is a way, once a glade file has
On Thu, 2008-01-03 at 22:52 +0800, Bin Chen wrote:
> I have ported a new GTK input method module to my platform, the
> regular steps to switch input method in a GTK+ text widget is to right
> click the entry point and select the desired input method.
>
> Now I want to do all this more simpler, I w
On Sat, 2007-12-29 at 16:22 +0100, Johannes Schmid wrote:
> Hi!
>
> I am currently try to set up a GtkContainer and all it's children as a
> drag target. As some of the children have their own GdkWindow I need to
> set up the drag targets for all of them.
>
> For a GtkImage child, this works wit
On Sat, 2007-12-15 at 21:27 -0500, Patrick wrote:
> Sorry for the long email but I really could use some help. I sell used
> lab instruments to people doing great work researching cures. The closed
> source programs to control and process data from these instruments often
> cost 20K. The people
On Fri, 2007-12-14 at 14:18 +1100, Michael Lamothe wrote:
> Valgrind for most of it. However, be warned, if you have a
> multi-threaded application and you're trying to debug a
> multi-threading issue, Valgrind is not going to work for you.
> Valgrind does some hocus-pocus to simulate multi-thread
On Thu, 2007-12-13 at 22:06 +0100, Dan H wrote:
> On Thu, 13 Dec 2007 11:40:41 -0700
> Michael L Torrie <[EMAIL PROTECTED]> wrote:
>
> > Dan H wrote:
>
> > > Isn't "smart pointers" just a reference counting scheme?
> >
> > Yup. Poor-man's garbage collection. Turns out to be just the
> > ticke
On Wed, 2007-12-05 at 09:42 +, Raja Mukherji wrote:
> Hi,
> Thanks for the advice, I will try using docbook with a custom script
> to convert the output as necessary. At the moment I'm simply using
> sgrep to search the html files in devhelp and converting them to plain
> text with html2text;
On Tue, 2007-11-27 at 23:24 +, Raja Mukherji wrote:
> Hi all,
>
> I'm writing a binding generator for my language to Gtk and want the
> generator to be able to insert documentation into the generated code
> automatically. Is there any existing program/script for getting the
> documentation as
On Sun, 2007-11-18 at 14:28 +0100, [EMAIL PROTECTED] wrote:
> > -Original Message-
> > From: Murray Cumming [mailto:[EMAIL PROTECTED]
> > Sent: zondag 18 november 2007 13:22
> >
> > You should generally catch C++ exceptions as const
> > references.
On Sun, 2007-11-18 at 12:53 +0100, [EMAIL PROTECTED] wrote:
> Hello all,
>
> I am an Inkscape developer and have problems with
> Gdk::Pixbuf::create_from_file.
>
> This is the code we have:
>
> try {
> img = Gdk::Pixbuf::create_from_file(fileName);
> }
> catch (Glib::FileErr
On Fri, 2007-11-09 at 16:40 +0100, c f wrote:
> Hi,
>
> I'm not sure if the following problem is a bug in gtk or it is a 'feature':
>
> Running the following code:
>
> GtkUIManager *uiManager = gtk_ui_manager_new();
> GtkAccelGroup *accelGroup = gtk_ui_manager_get_accel_group(uiManager);
>
> g_
On Mon, 2007-10-29 at 12:47 -0500, Chris Rorvick wrote:
> Stefan Kost wrote:
> > This is most likely caused by cairo. You should also see a bit less
> > CPU usage in 2.12 compared to 2.10 (or more precise newer cairo should
> > perform a bit better).
>
> For some reason, this happens to be one
On Fri, 2007-10-19 at 18:43 +0530, CHAITANYA KOMMURU wrote:
> hi all,
>
>iam new to gtk. i and my team mates ported gtk library on
> davinci borad successfully. i write an application program using gtk.
> Iam using 4x4 keyboard to my application and there is no mouse in my
> appl
On Wed, 2007-10-24 at 11:19 +0200, Olivier Delhomme wrote:
> Hello,
>
> I'm looking for a function that will return a date and time
> as a gchar * in a format that is made accordingly to the
> user preferences.
>
> For example 2007/10/24 or 24/10/2007 ...
>
> Does this exists in glib/gtk ?
sp
On Sun, 2007-10-14 at 21:12 +0200, Johannes Schmid wrote:
> I am trying drag and drop on an GtkContainer and I want to find out the
> nearest child from the drop point. So far I tried to get the child
> position using gtk_widget_get_window()
I can't find this function. Do you mean GtkWidget::win
in an attempt to get
> confirmation page in the foreground)
>
> After this sequence of events I would expect to see the settings page in the
> background with the confirmation page in the foreground.
This does seem to be an attempt to simulate stacked GtkWindows. Is there
a reason
51 matches
Mail list logo