Re: Gtk3 MacOS (OSX) context menu issues

2015-03-03 Thread Vest .
Hello Konstantin,

I apologize that I probably cannot help you, but I am curious. Do you have
this issue, if you run a simple demo, where GtkMenu is used?
Because it seems that when you move the mouse outside of the menu's
boundaries, something inside the widget is cleared and the menu receives
mouse events again.

Kind regards,
Vest

On Sat, Feb 28, 2015 at 12:59 PM, Konstantin Dmitriev 
ksee.zelga...@gmail.com wrote:

 Hello!

 My name is Konstantin Dmitriev, I am a maintainer of Synfig Studio
 open-source animation software.

 Recently we have ported our software from Gtk2 to Gtk3. Unfortunately,
 after that we have encountered issues with context menus on OSX - the
 context menus are become insensitive sometimes. This happens randomly,
 but quite often.

 I have recorded a video to illustrate the problem -
 http://www.youtube.com/watch?v=Cscz45WeFEs

 I am stuck with this issue and don't know how to solve it. Any help,
 hints, suggestions are highly appreciated.

 Some information about the build environment:
 Gtk version 3.14.8, everything built through MacPorts environment.
 Gtk backend type: XQuartz.

 I will be happy to provide any additional information.
 Thank you!

 Konstantin.
 ___
 gtk-app-devel-list mailing list
 gtk-app-devel-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: widget to represent dial/speedometer kind of object

2013-12-10 Thread Vest V.
Hello Mahesh,

At the first glance, I would recommend you to review the old library:
http://www.dmitry-kazakov.de/ada/aicwl.htm But the main difficulty is that
the library has been written with Ada. Probably, you can try to adapt
required gauges that you like to the Cairo backend in C or C++.

Another solution that you can try to implement is to use SVG files and
render them with the library rsvg or cairo surfaces. Actually, I do not
know what is the recommended way. In the past, I used rsvg with GTK
2-something. SVG files you can make with Inkscape, and then simply rotate
necessary parts (arrows) with the code.

Hope this information helps you!

Let us wait if somebody has a better recommendation.

Kind regards,
Vest



On Tue, Dec 10, 2013 at 10:30 AM, Mahesh Chaudhari 
mahesh.chaudh...@ymail.com wrote:

 Hi list ,

 is there any widget available to represent meter/dial/speedometer kind of
 object, needle of which rotates dynamically with magnitude of input values


 one widget i found is Gtkdial , but it has support from gtk+-2.18 onwards
 and i am having gtk+-2.10.0



 HELP 
 ___
 gtk-app-devel-list mailing list
 gtk-app-devel-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: changing colour of widget

2013-10-03 Thread Vest V.
Hello Mahesh,

I did not know that you use the old version. Actually, Gnome VFS is
deprecated, but on your Linux it should be still available. This library
has a similar monitor:
https://developer.gnome.org/gnome-vfs/stable/gnome-vfs-2.0-gnome-vfs-monitor.htmlProbably,
this should suit you the most.
There is also another library that you can try to use:
http://en.wikipedia.org/wiki/Inotify
If you do not want to add additional libraries (I assume there are more
solutions like proposed above), you can write a custom function to get
information about the file in the main loop or in a separate thread. If the
information, such as changed date and size, changes, you can send a custom
event.

Kind regards,
Vlad



On Thu, Oct 3, 2013 at 12:13 PM, Mahesh Chaudhari 
mahesh.chaudh...@ymail.com wrote:

 Thanks Vest V for reply
 I can able to draw circles using GtkDrawingArea and cairo
 but is there any alternative to GIO as I have to use CentOS-5.3 (glib
 version 2.10) and I think GIO is not supported in this version
   OR
 from where do I install GIO library

*From:* Vest V. vest...@gmail.com
 *To:* gtk-app-devel-list@gnome.org gtk-app-devel-list@gnome.org
 *Sent:* Thursday, 26 September 2013 4:11 AM
 *Subject:* Re: changing colour of widget

 Hello Mahesh,

 It depends on which approach you want to use: draw LEDs manually, or
 display images. The first possible widget is GtkDrawingArea:
 https://developer.gnome.org/gtk3/3.2/GtkDrawingArea.html,the second is

 GtkImage: https://developer.gnome.org/gtk3/3.2/GtkImage.html

 Regarding the event: probably you need GIO library (especially the
 GFileMonitor: https://developer.gnome.org/gio/unstable/GFileMonitor.html)

 Kind regards,
 Vlad


 On Thu, Sep 26, 2013 at 12:17 PM, Mahesh Chaudhari 
 mahesh.chaudh...@ymail.com wrote:

  Hi List,
  I am very new to GTK+ programming and got a task of developing user
  interface (GUI) to one of our embedded board
  I went through basics of GTK searching for any widget that could
 represent
  on board LEDs, which can glows (basically changes colour)
  Also, is it possible to generate an event whenever file is updated
 instead
  of user (mouse clicks, keyboard press)
 
 
  Any Help
  ___
  gtk-app-devel-list mailing list
  gtk-app-devel-list@gnome.org
  https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
 
 ___
 gtk-app-devel-list mailing list
 gtk-app-devel-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: changing colour of widget

2013-09-26 Thread Vest V.
Hello Mahesh,

It depends on which approach you want to use: draw LEDs manually, or
display images. The first possible widget is GtkDrawingArea:
https://developer.gnome.org/gtk3/3.2/GtkDrawingArea.html, the second is
GtkImage: https://developer.gnome.org/gtk3/3.2/GtkImage.html

Regarding the event: probably you need GIO library (especially the
GFileMonitor: https://developer.gnome.org/gio/unstable/GFileMonitor.html)

Kind regards,
Vlad


On Thu, Sep 26, 2013 at 12:17 PM, Mahesh Chaudhari 
mahesh.chaudh...@ymail.com wrote:

 Hi List,
 I am very new to GTK+ programming and got a task of developing user
 interface (GUI) to one of our embedded board
 I went through basics of GTK searching for any widget that could represent
 on board LEDs, which can glows (basically changes colour)
 Also, is it possible to generate an event whenever file is updated instead
 of user (mouse clicks, keyboard press)


 Any Help
 ___
 gtk-app-devel-list mailing list
 gtk-app-devel-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list