Hi,
You may use
For ex:
g_timeout_add_full(G_PRIORITY_DEFAULT,1000, periodicTask, NULL,
(GDestroyNotify)go_to_timeout);
Where in , the 'periodicTask' callback will be called every 1 sec (1000
msec),
Within this callback you can use, time_t to get the time current time.
Update your window and d
> How do I force a parent to tell the child how much space will be available
> to the child at this time? Is it even possible? Do I really have to call
> gtk_widget_set_size_request()/gtk_widget_size_request() on every parent so
> that the children have something to work with?
Use an alignment a
On Wednesday 13 December 2006 21:52, Philip Boulain wrote:
> On Wed, 2006-12-13 at 21:20 +, Chris Vine wrote:
[snip]
> > I does that by itself. You have probably not called g_thread_init() (or
> > Glib::thread_init()).
>
> Ah, I wondered if it was supposed to.
>
> I haven't, no; my understandi
On Wed, 2006-12-13 at 21:20 +, Chris Vine wrote:
> On Wednesday 13 December 2006 18:05, Philip Boulain wrote:
> > When GTK+ is in its main run loop, blocking on an event, is there a way
> > to awaken/unblock it from some external thread such that it will pay
> > attention to newly-added idle fu
I believe this goes against the GTK philosophy, but for the sake of
backwards compatibility I'm trying to get the width of a hbox so that I can
calculate a hardcoded spacing percentage between two widgets and use the
number as pack padding (sorta like an invisible pane that the user can't
adjust).
On Wednesday 13 December 2006 18:05, Philip Boulain wrote:
> Hullo,
>
> Short version:
> When GTK+ is in its main run loop, blocking on an event, is there a way
> to awaken/unblock it from some external thread such that it will pay
> attention to newly-added idle functions?
[snip]
I does that b
Hi All
In my project, I need to display the date time on the window as long as
the application is running. Kind of real time display of date,time on
the window. I can use time_t from time.h and obtain the date and time.
But, how do I make is real time? I am using libgtk2.8 and libgtkmm 2.4.
I sea
Hello All,
I'm creating a menu that is essentially an onscreen reproduction of a
keyboard. It has all the buttons of a keyboard and at the bottom has a
GtkEntry where whatever you type on the either the software keyboard or
your actual keyboard is displayed. What I'd like to know is, is it
pos
Hullo,
Short version:
When GTK+ is in its main run loop, blocking on an event, is there a way
to awaken/unblock it from some external thread such that it will pay
attention to newly-added idle functions?
Long version with context:
I have a lovely multithreaded application in C++/GTKmm that I'
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Wed, Dec 13, 2006 at 10:01:13AM -0500, John K Luebs wrote:
[...]
> What idiots write this shit, and wy are they allowed to practice law?
...maybe because they otherwise would write programs :-D
(SCNR)
- -- tomás
-BEGIN PGP SIGNATURE-
Ve
2006/12/13, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> Is there any similar way to get Enter key press event.
what about key-press-event...
http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#GtkWidget-key-press-event
cheers
--
Gian Mario Tagliaretti
http://www.parafernalia.org/pygtk/
_
On Wed, Dec 13, 2006 at 04:01:48PM +0100, Philippe Bertin wrote:
>
> So how(/where in the code) are these theme libraries coming in the game
> ? How can e.g. a GtkToggleButton possibly be drawn another way, e.g.
> with more rounding, or with another kind of shading (as I said, I'm
> explicitly
2006/12/13, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> How can I find which widget has focus set?
> I have lot of widgets so cannot explicitly check one by one.
> Is there any other way to do it?
gtk_window_get_focus () will get the focused widget whithin the main window.
cheers
--
Gian Mario Tag
On Wed, Dec 13, 2006 at 07:23:11PM +0530, Madhusudan E wrote:
>
> Sorry group,
> The Reply is for the earlier mail of M/s Krithika
>
>
> This e-mail and attachments contain confidential information from HUAWEI,
If this information is confidential, why are you posting it to a public
mailing li
Hello, all,
Some time ago I asked a question on a library that hadn't been found
upon installing a new GTK library (libqtengine.so, that was). I slowly
start realising now that this was a file belonging to what's called a
theme library, and that it is actually not an integral part of GTK
itsel
Sorry group,
The Reply is for the earlier mail of M/s Krithika
This e-mail and attachments contain confidential information from HUAWEI,
which is intended only for the person or entity whose address is listed
above. Any use of the information contained herein in any way (including,
but not lim
Hi krithika...
I am not very clear with your query.
Most of the widgets provide "activate" property, and a corresponding API to
Activate them.
Either you grab focus or not, on that widget. Its immaterial. You can
activate the widget with the API.
Other details you may require are:
Enter key Pres
Hi,
How can I find which widget has focus set?
I have lot of widgets so cannot explicitly check one by one.
Is there any other way to do it?
Regards,
Krithika
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman
Hi,
I need to simulate Key Enter pressed event from another application.
I'm able to simulate a move focus from my application by calling
g_signal_emit_by_name(window_main, "move_focus", GTK_DIR_TAB_FORWARD);
Is there any similar way to get Enter key press event.
Please let me how it can be do
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Wed, Dec 13, 2006 at 12:43:00PM +0530, Prasad Achar wrote:
> Hi
>
> I have a situation where in have to catch 2 different callbacks on 2
> different events from single fuction.
>
> Then how can i manage the below function..
>
> whether i have to
20 matches
Mail list logo