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
://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
Hi List,
I have drawn five circles in GtkDrawingArea as below :
#include gtk/gtk.h
#include cairo.h
#includemath.h
GtkWidget* window;
GtkWidget* darea;
static gboolean on_expose_event(GtkWidget *widget, GdkEventExpose *event,
gpointer data)
{
cairo_t *cr;
cr =
Are there any output widgets available with GTK+-2.0
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
From: Dov Grobgeld dov.grobg...@gmail.com
To: Mahesh Chaudhari mahesh.chaudh...@ymail.com
Cc: gtk-app-devel-list@gnome.org gtk-app-devel-list@gnome.org
Sent: Monday, 7 October 2013 3:41 AM
Subject: Re: Output Widgets
Please define what you mean with an output widget. All widgets are output
Does it make any difference, generating clicked event using mouse click OR
gtk_button_clicked() call
My clicked event callback rightly changes background colour when clicked using
mouse however change does not reflect when the event is generated using
gtk_button_clicked() with following code :
what am I doing wrong in Following Code
GtkWidget *button1;
void click_button1(GtkWidget *widget, gpointer data)
{
GdkColor color;
color.red = 27000;
color.green = 30325;
color.blue = 34181;
gtk_widget_modify_bg(GTK_WIDGET(widget), GTK_STATE_NORMAL, color);
}
some_callback_func()
{
what am I doing wrong in Following Code :
GtkWidget *button1;
void click_button1(GtkWidget *widget, gpointer data)
{
printf(I am in click_button\n);// able to print this
GdkColor color;
color.red = 27000;
color.green = 30325;
color.blue = 34181;
0;
}
On Friday, 1 November 2013 1:43 AM, Ruslan Kabatsayev b7.10110...@gmail.com
wrote:
Well, it worked. Didn't it work for you?
Also, in the future please give _compilable_ code - it's no fun to fix
compilation errors just to try it out.
On Thu, Oct 31, 2013 at 3:11 PM, Mahesh Chaudhari
() loop.
On Fri, Nov 1, 2013 at 3:56 PM, Mahesh Chaudhari
mahesh.chaudh...@ymail.com wrote:
thanks Ruslan,
it worked, it meant problem lies with other logic (using INOTIFY to wait for
file change)
The entire code (clean compilable) is
#includegtk/gtk.h
#includestdlib.h
#includesys/inotify.h
Hi ,
which one to use if I wants my button should not glow on hovering mouse pointer
over the button
1. g_signal_handler_block()
2. g_signal_handler_disconnect()
3. g_signal_stop_emmission()
4. g_signal_override_class_closure()
5. g_signal_override_class_handler()
, 2013 at 4:10 AM, Mahesh Chaudhari
mahesh.chaudh...@ymail.com wrote:
Also (unsuccessfully) tried :
void enter_button1(GtkWidget *widget, gpointer data)
{
GtkStyle *style;
style = gtk_widget_get_style(button1);
style-bg[GTK_STATE_PRELIGHT] = style-bg[GTK_STATE_NORMAL
Hi list,
is it possible to make GtkButton insensitive to mouse click and mouse hover
however it should catch the signal sent through gtk_button_clicked() and
gtk_button_entered()
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
that
gtk_toggle_button_set_active(Button,FALSE);
is doing the trick.
Cheers,
Mahesh Chaudhari wrote, On 22/11/2013 07:04,
Hi list,
is it possible to make GtkButton insensitive to mouse click and mouse hover
however it should catch the signal sent through gtk_button_clicked
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
15 matches
Mail list logo