obtain parent from menu callback

2011-11-26 Thread Steve .
Hello folks, I've got a GtkItemFactoryEntry popup menu, the menu pops up from a button press event using gtk_menu_popup Inside my menu callback I need to be able to force a configure event on another widget. My hierarchy: window -Fixed Container --Drawable The menu is created using the window

Re: Unmaximize event

2011-11-26 Thread Steve .
_mask; GdkWindowState new_window_state; }; I believe the combination of changed_mask and new_window_state will provide what you need. http://developer.gnome.org/gdk/stable/gdk-Event-Structures.html#GdkEvent Steve - From: Dipesh Sudershan To: Gtk+ Devel Mailing

Re: Unmaximize event

2011-11-26 Thread Steve .
STROY"); gtk_signal_connect(GTK_OBJECT(window),"window-state-event", GTK_SIGNAL_FUNC(window_state),NULL); gtk_widget_show(window); gtk_main(); return 0; } Steve On Sat, Nov 26, 2011 at 5:02 AM, Steve . wrote: > I just joined this list so I'm not certain of the reply eti

"menu item not showing anything in its window

2011-12-19 Thread Steve .
Gary, Seems to work ok for me. results of: g_print("%d.%d.%d",GTK_MAJOR_VERSION,GTK_MINOR_VERSION,GTK_MICRO_VERSION); 2.20.0 what version of GTK are you using? any error messages? On Mon, Dec 19, 2011 at 7:46 PM, Gary Kline wrote: >i thought i would start to put up the standard ite

no joy...

2011-12-22 Thread Steve .
Always forget that gtk list sends private email, got in a habit of using reply with all the other lists -- Forwarded message -- From: Steve . Date: Thu, Dec 22, 2011 at 2:13 PM Subject: Re: no joy... To: Michael Torrie . However you can't really drive the app &

GtkButton bg color

2012-04-29 Thread Steve
/1241020/gtk-create-a-colored-regular-button Obviously that's phpgtk, I've not been able to convert it to C as i can't find adequate documentation on the context's of the rcstyles when reading and writing to the GtkRcStyle. Can anyone whip up a simple example that colors a s

Re: GtkButton bg color

2012-04-29 Thread Steve
ng to work with the bg color Any chance you can provide an example of a button with a background color? Steve ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: GtkButton bg color

2012-04-30 Thread Steve
On Mon, 30 Apr 2012 08:17:12 -0500 Michael Cronenworth wrote: > Steve wrote: > > Any chance you can provide an example of a button with a background > > color? > > > GdkColor colorGreen = { 0x, 0x90ff, 0xeeff, 0x90ff }; > > // without mouse hover

Re: GtkButton bg color

2012-04-30 Thread Steve
ng anything) The theme was no longer applied to the button, but once again i could not find anything in the documentation that could explain it. So, what options do i have to color a button when a theme is preventing such an action? Changing themes is NOT an opti

Vscale and Spin Button size

2006-11-03 Thread Steve Biggs
with a touch screen designed for finger control. Similarly the size of scrollbars is problematic for this sort of application. Thanks in advance Steve Biggs ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman

menu sensitivity setup hook

2008-01-10 Thread Steve Splonskowski
enabled/ disabled state setup. But I have not found this place in GTK. Any ideas? thanks, steve ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Pango layout multibyte character problem

2008-02-20 Thread Steve Splonskowski
ders a missing glyph) for this case. This also seems to happen for the degree symbol character 0xb0. The same code works just fine for a range of greek letters (they seem to go through the same basic conversion to UTF-8) and render correctly. Any ideas on wha

high light/selection color from GTK

2008-02-26 Thread Steve Splonskowski
Hello, I would like to get the selection/high light color for the currently selected UI theme (as setup in the Appearance Preferences panel). Can someone point me to how I can get this color via GTK? thanks, steve ___ gtk-app-devel-list mailing

high light/selection color from

2008-02-27 Thread Steve Splonskowski
Hello, I would like to get the selection/high light color for the currently selected UI theme (as setup in the Appearance Preferences panel). Can someone point me to how I can get this color via GTK? thanks, steve ___ gtk-app-devel-list mailing

app/window deactivation handling

2008-03-12 Thread Steve Splonskowski
on where to hook into this? thanks, steve ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: app/window deactivation handling

2008-03-12 Thread Steve Splonskowski
Sorry for the loose terminology (thankfully I am not from the Windows world!). I mean when the application looses focus (and is still running). steve On Mar 12, 2008, at 3:35 PM, G Hasse wrote: > On Wed, Mar 12, 2008 at 03:20:15PM -0700, Steve Splonskowski wrote: >> Hello, >&g

GtkTextView tags and insertion at begin/end

2008-03-13 Thread Steve Splonskowski
text view so that text typed at the beginning or end get styled to correspond to the existing text? thanks, steve ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

signal for detecting gtk app de-focus

2008-04-15 Thread Steve Splonskowski
determine how to get control. thanks, steve ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

text selection color accessor

2008-04-15 Thread Steve Splonskowski
my gtk app? thanks, steve ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

signal for detecting gtk app de-focus

2008-04-16 Thread Steve Splonskowski
determine how to get control. thanks, steve ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

gtk_text_view_get_iter_at_location

2008-07-07 Thread Steve Salazar
Hi, I'm having some problems and confusion. I am trying to truncate all text not visible in a GtkTextView but am getting very different results depending on if the text has any "\n" characters or not even if they all appear after where I would truncate. Here is the test case: http://pa

Re: gtk-app-devel-list Digest, Vol 51, Issue 21

2008-07-15 Thread Steve Splonskowski
More good list karma - this is a great resource. Does it work? splons On Jul 15, 2008, at 3:11 AM, [EMAIL PROTECTED] wrote: Send gtk-app-devel-list mailing list submissions to gtk-app-devel-list@gnome.org To subscribe or unsubscribe via the World Wide Web, visit http://mail

Re: Wait for gtk events with select?

2009-01-03 Thread Steve Lawrence
Till Harbaum / Lists wrote: Hi, is there a way to wait for gtk events via some file descriptor given to a select call? I am porting an application to gtk that calls some "gimme_input" function every now and then and want's me to do some waiting for net sockets there. Now i'd like to use the

Re: gtk-app-devel-list Digest, Vol 57, Issue 10

2009-01-08 Thread Steve Splonskowski
Did you try this out? Would you like me to take a whack at it? splons On Jan 8, 2009, at 4:00 AM, gtk-app-devel-list-requ...@gnome.org wrote: Message: 4 Date: Wed, 7 Jan 2009 17:21:08 - From: "Pavel A. da Mek" Subject: Re: Toolbar text makes toolbar very, very wide To: Message-ID: <00

g_object_get_data Programmer error

2009-11-03 Thread Steve Harrington
I am trying to use g_object_get_data() to retrieve the GtkWidget * of an object. Seems simple enough but The attached code doesn't work. I must have missed something simple but darned if I can see it. All help appreciated. /* * This program is free software; you can redistribute it and/or *

Clearing GtkComboBoxEntry

2009-12-07 Thread Steve Harrington
I have an application using GtkComboBoxEntry with a simple 2-column int/char * ListEntry model. If the user enters data in the box (as opposed to using a pull-down selector) I can access the index with gtk_combo_box_get_active( GTK_COMBO_BOX(W) ); and the text with gtk_combo_box_get

Re: Clearing GtkComboBoxEntry

2009-12-08 Thread Steve Harrington
Carlos Pereira wrote: David is right, you should get the entry pointer with gtk_bin_get_child, and after that you handle this entry as any other entry: entry = gtk_bin_get_child (GTK_BIN (combo_entry)); gtk_entry_set_text (GTK_ENTRY (entry), ""); In GTK 2.0 you can also use this: gtk_entry_s

Re: GtkTextView and glade 3

2010-06-07 Thread Steve Harrington
On 06/07/2010 09:36 PM, Mick wrote: I've spent the last month struggling with glade to layout the interface for my app, especially creating an incoming text pane and placing the text into it. I regret your struggles. I currently have glade set to libglade mode and use gtk-builder-convert t

GNOME images not displaying

2010-06-12 Thread Steve Harrington
I'm having a problem getting the gnome stock icons to display. Here is a simple XML file creating two buttons. Both have an image on the button but only one of the images displays. The program to display this GUI is also attached. What am I missing? XML: True True True True Tru

Re: GNOME images not displaying

2010-06-12 Thread Steve Harrington
On 06/12/2010 04:58 PM, Mario Kemper wrote: Did you have a look at the related gconf-settings? See: http://www.ubuntu-pics.de/bild/82215/konfigurationseditor___interface_084_eoQowm.png Regards Mario Am Samstag, den 12.06.2010, 15:28 -0700 schrieb Steve Harrington: I'm having a pr

Re: word wrap in liststore column

2010-06-26 Thread Steve Harrington
On 06/26/2010 07:25 PM, Mick wrote: On Sat, 26 Jun 2010 02:17:11 -0400 Tristan Van Berkom wrote: On Fri, Jun 25, 2010 at 8:44 PM, Mick wrote: I'm stuck again. I wish to set word-wrap for a single column in a treeview liststore, I've found the options I need to set but can't for th

Re: word wrap in liststore column

2010-06-26 Thread Steve Harrington
On 06/26/2010 08:19 PM, Florian Müllner wrote: Hi, El dom, 27-06-2010 a las 12:25 +1000, Mick escribió: I know that, I have searched but not found anything that says "this is how you set the properties of ..." ... an GObject: http://library.gnome.org/devel/gobject/stable/gobject-The-

Re: Doubt about free or dont free

2005-07-25 Thread Steve Feehan
iki page. If your suggestion isn't already present, then add it. http://live.gnome.org/IdealDeveloperDocumentation -- Steve Feehan ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list