Re: stock buttons without labels

2010-02-16 Thread Pierre-Luc Beaudoin
On Tue, 2010-02-16 at 15:44 +, james morris wrote: Is it possible to create a new stock button and it have no label? I guess you can create an empty GtkButton, and insert a GtkImage created with gtk_image_new_from_stock. Pierre-Luc ___

Re: simple internalisation

2010-01-16 Thread Pierre-Luc Beaudoin
On Sun, 2010-01-17 at 01:30 +0200, Stefan Kost wrote: The whole stock business is kind of obsolete anyway, as the the images are not shown anymore by default in latest gnome :/ But using stock menu items do save time for translators :) Pierre-Luc

Re: How does the dialog's default button respond enter key

2009-10-07 Thread Pierre-Luc Beaudoin
with: gtk_entry_set_activates_default Unfortunately, there seems to be no way to do the same on GtkTreeView. You will have to connect to the row-activated signal and manually return a response in the handler with gtk_dialog_response. Pierre-Luc Beaudoin ___ gtk-app-devel-list

Re: Fwd: gtk gis

2009-06-12 Thread Pierre-Luc Beaudoin
On Fri, 2009-06-12 at 21:43 +0200, Andrea Zagli wrote: do you know some widget that can display maps (from shp or postgis) and also allows very simple editing? As Emmnanuel already pointed out, there is libchamplain [1] that is aiming at being a full fledged map widget. Right now, you cannot