gtk3 replacement for gdk_pixmap_foreign_new

2011-12-30 Thread salsaman
to find any reference to this anywhere. TIA, salsaman. http://lives.sourceforge.net https://www.ohloh.net/accounts/salsaman ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: gtk3 replacement for gdk_pixmap_foreign_new

2012-01-02 Thread salsaman
Hi, I sent this message on friday, but I did not see it in the list: On Fri, Dec 30, 2011 at 18:56, salsaman wrote: > Hi, > sorry if this question has been asked already, but I understand that > in gtk3 gdkpixmap is being replaced by cairo and all gkdpixmap > functions are being

Re: gtk3 replacement for gdk_pixmap_foreign_new

2012-01-04 Thread salsaman
ANSWER URGENTLY ! Regards, Salsaman http://lives.sourceforge.net https://www.ohloh.net/accounts/salsaman >> Hi, >> sorry if this question has been asked already, but I understand that >> in gtk3 gdkpixmap is being replaced by cairo and all gkdpixmap >> functions are

Re: gtk3 replacement for gdk_pixmap_foreign_new

2012-01-04 Thread salsaman
On Wed, Jan 4, 2012 at 11:09, Olav Vitters wrote: > On Wed, Jan 04, 2012 at 10:31:30AM -0300, salsaman wrote: >> I am getting tired of posting this. >> >> PLEASE CAN SOMEBODY RESPOND TO THIS. I NEED TO KNOW THE ANSWER URGENTLY ! > > Seems you depend on this for some bu

Re: gtk3 replacement for gdk_pixmap_foreign_new

2012-01-04 Thread salsaman
its a useful feature (you just click on a window and its output is recorded as a clip) and I will need to find a replacement function before I can implement GTK+ 3.completely in LiVES. Regards, Salsaman. http://lives.sourceforge.net https://www.ohloh.net/accounts/salsaman On Wed, Jan 4, 2012 at

Re: gtk3 replacement for gdk_pixmap_foreign_new

2012-01-06 Thread salsaman
nt find it now) which had replacement functions for only a subset of the gdk_pixbuf() functions (making it look like the other functions had simply been dropped without any thought given to their replacement). Hence my frustration, which unfortunately came across on this mailing list. Regards

Re: gtk3 replacement for gdk_pixmap_foreign_new

2012-01-18 Thread salsaman
, and even being mistaken for a PangoLayout object ! Regards, Salsaman. http://lives.sourceforge.net https://www.ohloh.net/accounts/salsaman On Fri, Jan 6, 2012 at 09:51, Olav Vitters wrote: > On Fri, Jan 06, 2012 at 12:51:32PM +0100, richard boaz wrote: >> i have been caugh

Re: gtk3 replacement for gdk_pixmap_foreign_new

2012-01-18 Thread salsaman
surf); gdk_cairo_set_source_pixbuf(cairo,pixbuf,0,0); layout = pango_cairo_create_layout(cairo); ... pango_cairo_show_layout(cairo, layout); cairo_paint(cairo); which no longer paints any text on the pixbuf. Any suggestions ? Regards, Salsaman. http://lives.sourceforge

Re: gtk3 replacement for gdk_pixmap_foreign_new

2012-01-23 Thread salsaman
I hope you all see now. This is exactly what I mean. You are removing functionality with no thought as to what will replace it. And when developers ask about it, they are met with silence. That is not the way to maintain a good developer community. Regards, Salsaman. main developer, LiVES

Re: gtk3 replacement for gdk_pixmap_foreign_new

2012-01-24 Thread salsaman
Dear Olav, How do you know it is a bug ? Regards, Salsaman. http://lives.sourceforge.net https://www.ohloh.net/accounts/salsaman On Tue, Jan 24, 2012 at 03:25, Olav Vitters wrote: > On Tue, Jan 24, 2012 at 12:58:25AM -0300, salsaman wrote: >> I hope you all see now. This is exact

Re: gtk3 replacement for gdk_pixmap_foreign_new

2012-01-24 Thread salsaman
more of a feature request to reintroduce the missing functionality in GTK 3. It's not really a priority with me any more, because in the end I was able to interface directly with Cairo, but other projects may not have that option. Regards, Salsaman. http://lives.sourceforge.net

Re: How to grab key combination event in GDK?

2012-02-04 Thread salsaman
Hi Paul, Have a look at gtk_key_snooper_install(). Salsaman. http://lives.sourceforge.net https://www.ohloh.net/accounts/salsaman On Sat, Feb 4, 2012 at 12:06, Paul Davis wrote: > On Sat, Feb 4, 2012 at 2:30 AM, victor-victor wrote: >> >> Hello >> >> I know how

Re: How to grab key combination event in GDK?

2012-02-04 Thread salsaman
What do you mean deprecated ? There is no mention of this in the documentation. Salsaman. http://lives.sourceforge.net https://www.ohloh.net/accounts/salsaman On Sat, Feb 4, 2012 at 12:54, Paul Davis wrote: > On Sat, Feb 4, 2012 at 10:34 AM, salsaman wrote: >> Hi Paul, >>

Re: How to grab key combination event in GDK?

2012-02-04 Thread salsaman
upgraded to GTK+3. Then you will have a load of GTK+3 apps. You will end up having to support both sets. Good luck to you all in that. Regards, Salsaman. http://lives.sourceforge.net https://www.ohloh.net/accounts/salsaman On Sat, Feb 4, 2012 at 13:25, Paul Davis wrote: > On

Re: How to grab key combination event in GDK?

2012-02-04 Thread salsaman
On Sat, Feb 4, 2012 at 14:07, Paul Davis wrote: > On Sat, Feb 4, 2012 at 11:41 AM, salsaman wrote: >> So whats the replacement ? Set key event handlers for every single window ? >> >> That makes no sense. Why remove a function which works perfectly well, >>

Re: How to grab key combination event in GDK?

2012-02-04 Thread salsaman
Yes I have it working here too. My thanks also. Salsaman. http://lives.sourceforge.net https://www.ohloh.net/accounts/salsaman On Sat, Feb 4, 2012 at 20:41, victor-victor wrote: > > > >>look into gdk event filters for gdk windows, which will allow you to >>catch and ha

Documentation for gdk_win32_* functions

2012-02-21 Thread salsaman
Hi. I have been trying in vain to find documentation for the gdk_win32_* functions but searching on google brings up nothing. Is there somewhere I can find the documentation for these functions ? What is their status (supported ? deprecated ? about to be deprecated ?) TIA, salsaman. http

Re: About the behaviour of g_strsplit_set

2013-01-15 Thread salsaman
Seems logical to me - in the middle of the string you have two delimiter characters together, with an empty string between them. So I would expect for example: g_strsplit_set ("abc://:def", ":/", -1) to return "abc","","","","def

Re: setting a dialog to popup instead of toplevel

2013-02-02 Thread salsaman
Maybe something like this ? gtk_window_set_decorated(GTK_WINDOW(dialog),FALSE); gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE); gtk_window_set_deletable(GTK_WINDOW(dialog), FALSE); Regards, Salsaman. http://lives.sourceforge.net https://www.ohloh.net/accounts/salsaman On Sat, Feb 2

Re: Difference between Gtk2 and Gtk3 output

2013-02-15 Thread salsaman
olled window inside another widget (eg an hbox or eventbox) which may or may not work. Or try putting both widgets inside a vertical GtkPaned which most likely will work better. Regards, Salsaman. http://lives.sourceforge.net https://www.ohloh.net/accounts/salsaman On Fri, Feb 15, 2013 at 5:13 P

Possible bug in gdk_window_get_device_position ?

2013-02-15 Thread salsaman
ered by a GdkEvent..." http://developer.gnome.org/gdk3/stable/GdkDeviceManager.html#gdk-device-manager-get-client-pointer If it is not a bug then the documentation is somewhat misleading. Regards, Salsaman. http://lives.sourceforge.net https://www.ohlo

Re: Possible bug in gdk_window_get_device_position ?

2013-02-15 Thread salsaman
=gdk_device_manager_list_devices(devman,GDK_DEVICE_TYPE_MASTER); ... for (k=0;khttp://lives.sourceforge.net https://www.ohloh.net/accounts/salsaman On Sat, Feb 16, 2013 at 2:53 AM, Lex Trotman wrote: > On 16 February 2013 16:07, salsaman wrote: >> Hi, >> with gtk 3.4.

gtkhruler in gtk3

2013-02-17 Thread salsaman
Hi, has anybody created a gtk3 widget similar to the gtkhruler in gtk2 ? It could save me a lot of work. Regards, Salsaman. http://lives.sourceforge.net https://www.ohloh.net/accounts/salsaman ___ gtk-list mailing list gtk-list@gnome.org https

Re: gtkhruler in gtk3

2013-02-17 Thread salsaman
for example the dial surround is always rendered in black). If I can get my head round stylecontext better, I might try to fix that myself. Regards, Salsaman. http://lives.sourceforge.net https://www.ohloh.net/accounts/salsaman On Sun, Feb 17, 2013 at 11:37 AM, Tristan Van Berkom wrote: > On

gtk_widget_override_color and other things

2013-02-19 Thread salsaman
r at rendering than gtk2 in some situations. For example, I have a vbox inside a scrolled window which contains 256 textviews and a checkbutton. It takes over 10 seconds in gtk3 before the window appears. Similarly, just closing the window takes 4 or 5 seconds too. Regards, Salsaman. http://live

Re: Alternative to gtk_widget_set_sensitive on GetComboBoxEntry

2013-03-12 Thread salsaman
Try: gtk_editable_set_editable(GTK_EDITABLE(entry), FALSE); Regards, Salsaman. http://lives.sourceforge.net https://www.ohloh.net/accounts/salsaman On Tue, Mar 12, 2013 at 4:52 PM, Ian Puleston wrote: > Hi, > > > > I have a dialog with a GetComboBoxEntry and under certain

Re: Alternative to gtk_widget_set_sensitive on GetComboBoxEntry

2013-03-13 Thread salsaman
Hmmm...how about: gtk_combo_box_set_button_sensitivity(GTK_COMBO_BOX(entry), GTK_SENSITIVITY_OFF); Salsaman. http://lives.sourceforge.net https://www.ohloh.net/accounts/salsaman On Wed, Mar 13, 2013 at 3:43 AM, Ian Puleston wrote: > Thanks, for the suggestion, but nope. Your suggest

Re: Example of writing gtk3 widgets

2013-03-19 Thread salsaman
support functions are found in http://sourceforge.net/p/lives/code/1810/tree/trunk/src/widget-helper.c I can't guarantee that any of this adheres to the official coding standards. Hope this helps ! Regards, Salsaman. http://lives.sourceforge.net https://www.ohloh.net/accounts/salsaman O

Re: GTK Question

2013-04-07 Thread salsaman
Red = GTK_ADJUSTMENT(Red_Adj)->value; http://lives.sourceforge.net https://www.ohloh.net/accounts/salsaman On Sat, Apr 6, 2013 at 3:18 PM, Thomas Dineen wrote: > Gentle People: > > The function Color_Panel is called from a higher level GTK application. > The following Sli

Re: How can I hook into any X input events sent to my app?

2013-09-22 Thread salsaman
Lately I have noticed that gdk_window_add_filter() no longer seems to be passing keypress / release events (event->type=2,3) to the filter function. Has anybody else observed this behaviour ? Is there a solution for this ? Salsaman. http://lives.sourceforge.net https://www.ohloh.net/accou

Re: Call external programs and keep showing its outputs

2013-10-10 Thread salsaman
After step 3, you may need to do: g_io_channel_set_encoding (iochan, NULL, NULL); g_io_channel_set_buffer_size(iochan, 0); g_io_channel_set_flags(iochan, G_IO_FLAG_NONBLOCK, &gerr); Salsaman. http://lives.sourceforge.net https://www.ohloh.net/accounts/salsaman On Thu, Oc

Re: How to get Colors?

2015-05-04 Thread salsaman
, except for a few cases like the background for labels in spinbuttons and the background colour for tabs in gtk notebook widgets. There is apparently no way to set these. You can try via the above functions or by CSS but the colour cannot be changed within an application. Regards, Salsaman http

Re: How to get Colors?

2015-05-04 Thread salsaman
http://lives.sourceforge.net https://www.openhub.net/accounts/salsaman On Mon, May 4, 2015 at 6:11 PM, Jasper St. Pierre wrote: > There are lots of widgets which don't (yet) respect all CSS > properties. That's because when you try, you break themes which do > something li

Re: Undeprecate GtkAlignment ?

2015-06-02 Thread salsaman
Yeah, I second that ! It's a very useful widget, it should be retained or replaced with something similar. Salsaman. http://lives-video.com https://www.openhub.net/accounts/salsaman On Mon, Jun 1, 2015 at 4:01 PM, Pierre Wieser wrote: > Hi all, > > I am the maintainer of Na

Re: Undeprecate GtkAlignment ?

2015-06-02 Thread salsaman
Thanks. What would be an example to center a widget horizontally and/or vertically in its container, without the center widget expanding ? Salsaman. http://lives-video.com https://www.openhub.net/accounts/salsaman On Tue, Jun 2, 2015 at 8:38 AM, Emmanuele Bassi wrote: > Hi; > >

Re: Switching GTK version

2017-08-22 Thread salsaman
b-2.0 >= 2.14.0],[HAVE_GLIB_VERSION214=true],[HAVE_GLIB_VERSION214=false]) PKG_CHECK_EXISTS([glib-2.0 >= 2.4.0],[HAVE_GLIB_VERSION24=true],[HAVE_GLIB_VERSION24=false]) Regards, Gabriel. http://lives-video.com https://www.openhub.net/accounts/salsaman On Tue, Aug 22, 2017 at 5:07 PM, Link Du