> i'm evaluate, to change my code to satisfy gtk with g_idle_add,
> g_source_new, g_source_attach and related functions, so the signal,
> thread und gui stuff is well controlled.
I found it out.
By studie the main event loop website, i found the function g_timeout_add.
there is one event loop. but
On Thu, 2005-03-10 at 21:18 +0100, Dirk Huenniger wrote:
> Hello everybody,
> My name is Dirk, I'm writing a control programm for a 1m telescope in
> Germany. The current status of the device is periodically displayed in GTK
> using a thread. When the user clicks the quit butten a callback routine
> If reading and processing the incomming data takes so long or is so time
> sensitive that it needs to be done in a thread, how about reading and
> processing all the data ready for display first. When you've got the
> numbers and texts to poke into the neccesary places, notify the GUI that
> new
I am having treeview with visible headers.
What I need to do is to remove GTK_CAN_FOCUS flag from the header button
widgets
(GTK_WIDGET_UNSET_FLAGS(view, GTK_CAN_FOCUS)) .
My problem is that I don't know how to access header widget(s).
Is this possible ?
You can try with the 'widget' property o
Hi Danilo,
I believe that the following link may help you...
http://fedora.redhat.com/participate/developers-guide/ch-console-access.html
[I haven't even tried it... but I find some relavance]
Santhosh..
___
gtk-app-devel-list mailing list
gtk-
> Try to chage:
> gtk_entry_get_text(GTK_ENTRY (widget))
> .. with ...
> gtk_editable_get_chars(GTK_EDITABLE(widget), 0, -1)
>
You can also use...
picture->path = g_strdup (gtk_entry_get_text (GTK_ENTRY (widget));
[gtk_entry_get_text (..) returns the address of statically allocated
Hi Dave,
> when I try to set the width of the icons with:
>
> gtk_icon_view_set_item_width(icon_view,128);
>
> the placement of the icon become strange.
Which layout do you use? Horizontal or Vertical.. Why don't you
include a screenshot?
> I can't find some decente documentation on this widge
Thanks to Arren and Olexiy I finaly got it working
On Fri, 11 Mar 2005 09:16:58 +0200, Olexiy Avramchenko
<[EMAIL PROTECTED]> wrote:
> Pier-Luc Charbonneau wrote:
> > static gboolean recalculate_psi_consumption(GtkWidget *widget, gpointer
> > data)
> This is your callback declaration. It takes 2
Hi Gus,
On Fri, 2005-03-11 at 13:41 +0100, Gus Koppel wrote:
> No need for that! Speaking of the Linux kernel, OPEN_MAX is a legacy
> value without meaning any more.
Thanks for the hint :)
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-deve
Iago Rubio wrote:
> > > i get the message
> > > *** GLib *** : poll(2) failed due to: Invalid argument.
> > > thousand times when running my application.
> > > It seems that it happens if i have accepted 100 < x < 200
> > > tcp connection from which i listen for input.
> > >
> > > What can i do
On 11 Mar 2005 02:12:48 +0100, Markus Lausser
<[EMAIL PROTECTED]> wrote:
> run without problems: ./test 256
> run with endless loop: ./test 257
FWIW, I get:
no problems: ./test 1024
breaks: ./test 1025
Linux constable 2.4.21-273-smp4G
I have something like this near the start of programs of
how i can grub focus to my program.
i what to write a small xlocker.
#include
#include
#include
gboolean delete_event(GtkWidget* widget, GdkEvent* event, gpointer data)
{
fprintf(stderr,"delete event\n");
return TRUE;
}
gboolean focus_in_event (GtkWidget *widget, GdkEventFocus *event,
I am trying to make my toolbar (with tool buttons) not to receive focus when
Tab is used to move focus along the window widgets.
I've tried to call
GTK_WIDGET_UNSET_FLAGS(widget, GTK_CAN_FOCUS);
to both toolbar widget and every single tool button, but it doesn't seem to
work.
Toolbar still gets fo
I am having treeview with visible headers.
What I need to do is to remove GTK_CAN_FOCUS flag from the header button
widgets
(GTK_WIDGET_UNSET_FLAGS(view, GTK_CAN_FOCUS)) .
My problem is that I don't know how to access header widget(s).
Is this possible ?
TIA,
Miroslav Rajcic
_
14 matches
Mail list logo