Re: bar with label and two buttons

2012-12-29 Thread Lance Dillon
- Original Message - > From: rastersoft > To: GTK App Devel > Cc: > Sent: Saturday, December 29, 2012 6:31 PM > Subject: bar with label and two buttons > > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi all: > > I want to create a bar with two buttons and a label betwee

Re: modifiable dialog button labels?

2012-03-08 Thread Lance Dillon
> > From: Roger Davis >To: Lance Dillon >Cc: "gtk-app-devel-list@gnome.org" >Sent: Thursday, March 8, 2012 2:07 AM >Subject: Re: modifiable dialog button labels? > > > >On Wed, 7 Mar 2012, Lance Dillon wrote: >

Re: modifiable dialog button labels?

2012-03-07 Thread Lance Dillon
> > From: Roger Davis >To: gtk-app-devel-list@gnome.org >Sent: Wednesday, March 7, 2012 7:59 PM >Subject: modifiable dialog button labels? > > >Hi all, > >I am trying to code some reusable GtkDialogs (i.e., create them only once, >then hide and reuse them lat

Re: GDK/Cairo question

2011-05-18 Thread Lance Dillon
- Original Message > From: Fabian Greffrath > To: gtk-app-devel-list@gnome.org > Sent: Wed, May 18, 2011 5:04:12 PM > Subject: Re: GDK/Cairo question > > Am 18.05.2011 03:50, schrieb Miroslav Rajcic: > > You need to add a call like gtk_main_iteration_do() within your while > > loop.

Re: Bring a widget to the foreground

2011-01-02 Thread Lance Dillon
- Original Message > From: John Emmas > To: gtk-app-devel-list > Sent: Sun, January 2, 2011 10:42:28 AM > Subject: Re: Bring a widget to the foreground > > > On 2 Jan 2011, at 15:39, John Emmas wrote: > > > > > I'm probably being incredibly dim but I couldn't find a way to do th

GtkBuilder issue?

2010-09-28 Thread Lance Dillon
I'm trying to add gtkbuilder support to pike (pike.roxen.com). In loading a glade3 file, it says Invalid Object 'blah', unless I create an instance of the object first. I narrowed it down to (in gtkbuilder.c): static GType gtk_builder_real_get_type_from_name (GtkBuilder *builder,

Re: GTK/GDK equivalent to UpdateWindow() ?

2010-07-04 Thread Lance Dillon
- Original Message > From: "jcup...@gmail.com" > To: John Emmas > Cc: gtk-app-devel-list > Sent: Sun, July 4, 2010 12:51:52 PM > Subject: Re: GTK/GDK equivalent to UpdateWindow() ? > > On 4 July 2010 16:50, John Emmas < > href="mailto:john...@tiscali.co.uk";>john...@tiscali.co.uk>

Re: Setting the font for Gtk::Button

2010-05-06 Thread Lance Dillon
- Original Message > From: John Emmas > To: gtk-app-devel-list@gnome.org > Sent: Thu, May 6, 2010 7:23:16 AM > Subject: Re: Setting the font for Gtk::Button > > > > On 6 May 2010, at 10:07, Murray Cumming > wrote: > >> >> You have to set the font of the label in > the button, not t

Re: outstream question [i think]

2009-08-27 Thread Lance Dillon
The best I can think of is to capture the output into a TextBuffer, and display using a TextView. But as far as I know there really isn't anything like a fictional gtk_display_text() function. - Original Message From: "dev...@iamaquatics.org" To: gtk-app-devel-list@gnome.org Sent: Th

Re: status bars with multiples part

2008-12-17 Thread Lance Dillon
I believe you can set the size of a widget (gtk_widget_set_size_request). That is the minimum size for the widget. It can still be bigger if the containing widget is bigger. - Original Message From: Luiz Rafael Culik Guimaraes To: Lance Dillon ; gtk-app-devel-list@gnome.org Sent

Re: status bars with multiples part

2008-12-17 Thread Lance Dillon
I would just pack 4 different statusbars in an hbox, and have each statusbar have it's own information. - Original Message From: Luiz Rafael Culik Guimaraes To: gtk-l...@gnome.org; gtk-app-devel-list@gnome.org Sent: Wednesday, December 17, 2008 9:09:52 AM Subject: status bars with mu

Re: inserting model in a GtkTreeStore

2008-04-27 Thread Lance Dillon
- Original Message From: Carlos Pereira <[EMAIL PROTECTED]> Cc: gtk-app-devel-list@gnome.org Sent: Sunday, April 27, 2008 12:10:27 PM Subject: inserting model in a GtkTreeStore Hi all! To insert the various nodes in a GtkTreeStore, the code below works for me. The problem is, this shou

Re: GtkTextView: inserting text with different styles

2008-03-17 Thread Lance Dillon
- Original Message From: Carlos Pereira <[EMAIL PROTECTED]> To: gtk-app-devel-list@gnome.org Sent: Monday, March 17, 2008 8:46:02 AM Subject: GtkTextView: inserting text with different styles Hi, Let's say I have a GtkTextView, with two color tags, red and blue: text_view = gtk_text_vi

Re: Signal prototypes

2008-02-21 Thread Lance Dillon
- Original Message From: Gabriele Greco <[EMAIL PROTECTED]> To: gtk-app-devel-list@gnome.org Sent: Thursday, February 21, 2008 8:40:05 AM Subject: Signal prototypes Given that different signals may have different prototypes: "clicked": void (*)(GtkWidget *, void *) "keypre

Re: how to insert a menu_item into the middle of a menu list ?

2008-01-27 Thread Lance Dillon
- Original Message From: John Coppens <[EMAIL PROTECTED]> To: Gregory Hosler <[EMAIL PROTECTED]> Cc: gtk-app-devel-list@gnome.org Sent: Sunday, January 27, 2008 12:09:39 PM Subject: Re: how to insert a menu_item into the middle of a menu list ? On Sun, 27 Jan 2008 22:42:47 +0800 Gregor

Re: IP address entry widget

2008-01-07 Thread Lance Dillon
You could probably use libview, also. It is a bunch of widgets that vmware made for their user interface. I believe it has an ip address entry widget. Go to freshmeat.net and look up libview. - Original Message From: Micah Carrick <[EMAIL PROTECTED]> To: gtk-app-devel-list@gnome.org

Re: App blueprint, advice please!

2007-12-16 Thread Lance Dillon
- Original Message From: Niels Heirbaut <[EMAIL PROTECTED]> To: gtk-app-devel-list@gnome.org Sent: Sunday, December 16, 2007 2:32:04 AM Subject: Re: App blueprint, advice please! On Dec 16, 2007 3:27 AM, Patrick <[EMAIL PROTECTED]> wrote: [snip] > I want to build an App to control do

Re: changing menu item labels

2007-12-09 Thread Lance Dillon
- Original Message From: Dr. Michael J. Chudobiak <[EMAIL PROTECTED]> To: gtk-app-devel-list@gnome.org Sent: Sunday, December 9, 2007 9:18:15 AM Subject: changing menu item labels Hi all, Is there an easy way to dynamically change the label associated with a menu item? It want to im

Re: how to destroy window if ptr to mainWindow not known

2007-12-06 Thread Lance Dillon
- Original Message From: Jim George <[EMAIL PROTECTED]> To: Lukasz Gromotowicz <[EMAIL PROTECTED]> Cc: gtk-app-devel-list@gnome.org Sent: Thursday, December 6, 2007 8:45:24 AM Subject: Re: how to destroy window if ptr to mainWindow not known On Dec 6, 2007 4:46 AM, Lukasz Gromotowicz <

Re: GtkPageSetupUnixDialog and GtkPrintUnixDialog

2007-10-09 Thread Lance Dillon
WTF? If the Fedora 7 packages gtk2-2.10.14-3.fc7 gtk2-devel-2.10.14-3.fc7 *you* asked about are not provided by your Fedora 7, then at least one of us is confused. No, I meant the ones you referenced before: rpm -q gtk2-devel | grep unix [EMAIL PROTECTED] ~]# yum list|grep gtk2-deve

Re: GtkPageSetupUnixDialog and GtkPrintUnixDialog

2007-10-09 Thread Lance Dillon
- Original Message From: David Nečas (Yeti) <[EMAIL PROTECTED]> To: gtk-app-devel-list@gnome.org Sent: Tuesday, October 9, 2007 1:36:55 PM Subject: Re: GtkPageSetupUnixDialog and GtkPrintUnixDialog On Tue, Oct 09, 2007 at 10:26:30AM -0700, Lance Dillon wrote: > GtkPageSetupU

GtkPageSetupUnixDialog and GtkPrintUnixDialog

2007-10-09 Thread Lance Dillon
GtkPageSetupUnixDialog and GtkPrintUnixDialog don't exist on my system, even though it seems that they should. Fedora 7 gtk2-2.10.14-3.fc7 gtk2-devel-2.10.14-3.fc7 Documentation (http://library.gnome.org/devel/gtk/unstable/GtkPageSetupUnixDialog.html) shows it was added in gtk+ 2.10. However,

Re: Animation with GTK+

2007-09-12 Thread Lance Dillon
If you have an animated gif, you can use GtkImage. If you need to actually sync it with something external, you can use GdkPixbufAnimation and GdkPixbufAnimationIter: http://library.gnome.org/devel/gtk/unstable/GtkImage.html http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-animatio

Re: Alternative GTK widgets

2007-05-14 Thread Lance Dillon
Their is also libview, which is the widgets that vmware created. You can search on freshmeat for it. Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.

Re: GtkImage problem

2007-05-06 Thread Lance Dillon
I'm thinking you'll want to add: gtk_widget_show_all(window); With that you can remove: gtk_widget_show(image); - Original Message From: beginner.c <[EMAIL PROTECTED]> To: gtk-app-devel-list@gnome.org Sent: Sunday, May 6, 2007 6:36:32 PM Subject: Re: GtkImage problem You are right.

Re: GModule

2007-01-29 Thread Lance Dillon
- Original Message From: Jordan Walsh <[EMAIL PROTECTED]> To: gtk-app-devel-list@gnome.org Sent: Sunday, January 28, 2007 11:30:02 PM Subject: GModule Hi all. I need to be able to see from what library (using GModule) a certain symbol comes from. In my main program when a plugin unloads

Re: g_signal_connect_swapped

2006-11-26 Thread Lance Dillon
- Original Message From: Matt Hoosier <[EMAIL PROTECTED]> To: Richard <[EMAIL PROTECTED]> Cc: gtk-app-devel-list@gnome.org Sent: Sunday, November 26, 2006 6:44:13 PM Subject: Re: g_signal_connect_swapped On 11/25/06, Richard <[EMAIL PROTECTED]> wrote: > > Could someone explain the reaso

Re: gtk_file_selection - select only folder?

2006-10-27 Thread Lance Dillon
- Original Message From: Alvis Koon <[EMAIL PROTECTED]> To: gtk-app-devel-list@gnome.org Sent: Friday, October 27, 2006 5:31:17 AM Subject: gtk_file_selection - select only folder? Hi, Quick question: Is there a way to limit users to only select folders on gtk_file_selection? ---

Re: GtkTextView: Applying tags at the cursor

2006-10-24 Thread Lance Dillon
- Original Message From: Samuel Lidén Borell <[EMAIL PROTECTED]> To: gtk-app-devel-list@gnome.org Sent: Tuesday, October 24, 2006 1:49:54 PM Subject: GtkTextView: Applying tags at the cursor Hi, I'm working on a web site creation software that uses Gtk, Glade and Python for the UI. I'm u

Re: number of entries in GtkCombobox

2006-09-19 Thread Lance Dillon
Okay, that's better. I didn't see the special case. - Original Message From: [EMAIL PROTECTED] To: Lance Dillon <[EMAIL PROTECTED]> Cc: gtk-app-devel-list@gnome.org Sent: Tuesday, September 19, 2006 11:45:06 AM Subject: Re: number of entries in GtkCombobox -

Re: number of entries in GtkCombobox

2006-09-19 Thread Lance Dillon
I'm not sure I like this answer, it seems to be way to much for this question, but it looks like the best way to do it is to get a GtkTreeIter with gtk_tree_model_get_iter_first(), then walk the list with gtk_tree_model_iter_next(), counting up the number of rows: GtkTreeIter iter; int num,v; G

Re: GTK Curves

2006-09-12 Thread Lance Dillon
Check out gtkdatabox: http://www.eudoxos.net/gtk/gtkdatabox/ - Original Message From: Matias Torres <[EMAIL PROTECTED]> To: gtk-app-devel-list@gnome.org Sent: Tuesday, September 12, 2006 3:25:58 PM Subject: GTK Curves hello, i'm trying to make a curve based on some values passing a fl

question about gclosures

2006-09-11 Thread Lance Dillon
The following code works: // GtkTextView *tv; g_signal_connect(G_OBJECT(tv),"button-press-event",G_CALLBACK(click_link),NULL ); However, I'm writing gtk2 bindings for pike, and use the following: // signal_connect function for pike language binding // blah blah GClosure *gc=g_cclosure_new_swap(

Re: text with links

2006-09-11 Thread Lance Dillon
This example code does it. You may want to make some changes, but it works. #include #include GtkTextTag *tag1; static void print_coords(GtkWidget *w, int x, int y) { gint bx,by; GtkTextIter iter; gint trail; gtk_text_view_window_to_buffer_coords(GTK_TEXT_VIEW(w),GTK_TEXT_WINDOW_WIDGET

Re: combo box

2006-09-11 Thread Lance Dillon
I would try the "changed" signal of GtkComboBox: http://developer.gnome.org/doc/API/2.0/gtk/GtkComboBox.html#GtkComboBox-changed - Original Message From: shibu Alampatta <[EMAIL PROTECTED]> To: gtk-app-devel-list@gnome.org Sent: Monday, September 11, 2006 7:27:56 AM Subject: combo box

Re: Conversion from GdkPixbuf to png

2006-09-08 Thread Lance Dillon
gdk_pixbuf_save() will save a pixbuf to png,jpg,ico,bmp http://developer.gnome.org/doc/API/2.0/gdk-pixbuf/gdk-pixbuf-file-saving.html#gdk-pixbuf-save ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listin

Re: text with links

2006-09-06 Thread Lance Dillon
- Original Message From: Paul Drynoff <[EMAIL PROTECTED]> To: Lance Dillon <[EMAIL PROTECTED]> Cc: gtk-app-devel-list@gnome.org Sent: Wednesday, September 6, 2006 2:52:00 PM Subject: Re: text with links >I would have to test this. I think the gtk example does some

Re: text with links

2006-09-06 Thread Lance Dillon
- Original Message From: Paul Drynoff <[EMAIL PROTECTED]> To: Lance Dillon <[EMAIL PROTECTED]> Cc: gtk-app-devel-list@gnome.org Sent: Wednesday, September 6, 2006 12:31:20 PM Subject: Re: text with links On 9/6/06, Lance Dillon <[EMAIL PROTECTED]> wrote: > The eas

Re: text with links

2006-09-06 Thread Lance Dillon
- Original Message From: Paul Drynoff <[EMAIL PROTECTED]> To: gtk-app-devel-list@gnome.org Sent: Wednesday, September 6, 2006 11:40:20 AM Subject: text with links Hello. I need component like GtkTextView, but with abbilities handle click on some words (links), with interface like this:

Re: GObject exposure

2006-08-22 Thread Lance Dillon
Maybe it is just me, but I don't see a problem with letting users access the object with gobject methods. If you look at the api, there aren't that many, and there don't seem to be any that would harm too much. Also, restricting access too much prevents people from using it in (perhaps benefic

Re: Key-value file parser, howto get all groups and create loop from them

2006-08-14 Thread Lance Dillon
(I hate yahoo's quoting) - Original Message From: "Peter "Firefly" Lund" <[EMAIL PROTECTED]> To: Lance Dillon <[EMAIL PROTECTED]> Cc: gtk-app-devel-list@gnome.org Sent: Monday, August 14, 2006 8:07:43 AM Subject: Re: Key-value file parser, howt

Re: Key-value file parser, howto get all groups and create loop from them

2006-08-14 Thread Lance Dillon
- Original Message From: rupert <[EMAIL PROTECTED]> To: Peter Firefly Lund <[EMAIL PROTECTED]> Cc: gtk-app-devel-list@gnome.org Sent: Monday, August 14, 2006 7:53:40 AM Subject: Re: Key-value file parser, howto get all groups and create loop from them which gets started here, before t

Re: How to copy data between widgets?

2006-08-08 Thread Lance Dillon
> From: Román Gorojovsky <[EMAIL PROTECTED]> > To: gtk-app-devel-list@gnome.org > Sent: Tuesday, August 8, 2006 10:07:06 AM > Subject: How to copy data between widgets? > Hi all, sorry if this is a FAQ, but I've been reading the docs and I > couldn't find the answer. Not being too fluent in engl

Re: Fwd: Animation problem

2006-08-06 Thread Lance Dillon
What you can do is use g_object_get_property on the image to get the reference (or, if it doesn't reference it, you may need to use g_object_ref), then use g_object_set_property to set the image. This works on GtkImage, for example. - Original Message From: [EMAIL PROTECTED] To: gtk-ap

Re: Storing GObject in GtkListStore

2006-08-02 Thread Lance Dillon
As far as I can tell you can, as per this example: http://developer.gnome.org/doc/API/2.0/gtk/GtkListStore.html#gtk-list-store-new Notice how they set a column as a GDK_TYPE_PIXBUF, which is derived from G_OBJECT. This implies that you can store anything derived from G_OBJECT in a column desi

Re: GObject - problem, as usual

2006-08-01 Thread Lance Dillon
If I understand the problem correctly, you need to call the ancestor method's manually (regardless of whether it is a finalize methoed or anything else). There is s section on it in the gobject documentation: http://developer.gnome.org/doc/API/2.0/gobject/howto-gobject-chainup.html - Origi