Hello,
How can I make a GtkProgressBar thinner in this application.
See:
http://www.futuredesktop.com/tmp/test1.c
And
http://www.futuredesktop.com/tmp/screenshot1.png
Compile/link the code with
gcc test1.c -o test1 `pkg-config --cflags --libs gtk+-3.0`
and run
./test1
I have tried to use
for src/gtklevelbar.[ch]
It's nothing prime-art but works very well for this recorder.
Audio-recorder runs on all major Linux-distros.
I run Ubuntu 11.10/12.04.
Happy eastern
Osmo Antero
On Thu, Mar 29, 2012 at 12:03 PM, Osmo Antero osm...@gmail.com wrote:
Hello,
How can I make a GtkProgressBar
is:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 12.04 LTS
Release:12.04
Codename: precise
What is your opinion?
Should I use a thread to add data after the GUI has been displayed?
Kindly
Osmo Antero
http://www.futuredesktop.org
.
Kindly
Osmo Moma Antero
On Thu, May 24, 2012 at 10:14 PM, Michael Cronenworth m...@cchtml.com wrote:
Osmo Antero wrote:
Adding rows to a combo box with a GtkListStore is immensely slow.
Is it right that adding 500 rows can take upto 10 seconds and the GUI
freezes?
I have similar hardware
to linux 3.4 generic, but it did not help. So there's something
inside Ubuntu that is the hindrance.
$ dpkg -l | egrep -i dbg|debug
nada
Anyway, this is a happy ending.
LinuxMint13 runs like a dream on this 8-core Toshiba Satellite L755 laptop.
Osmo Antero
ps. audio-recorder;
https
for development,
sudo apt-get install libxml2-dev
// Osmo Antero
On Sun, May 27, 2012 at 12:19 PM, Rudra Banerjee bnrj.ru...@yahoo.com wrote:
Thanks Emmanuel and xiaohu
I am new to GTK and C programming. Hence don't know things.
Both of your reply helped me to find things out.
Google said libxml2
--libs gtk+-3.0
gdk-3.0 gthread-2.0)
And run:
./test2
TIA! All comments are welcomed.
Kindly
osmo antero
http://www.futuredesktop.org
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel
Oh, I forgot to mension.
Compile and start the test2 app and then press the Test... button at the top.
It will fire 10 threads. Each of them creates own a GRegex object.
Then the crash.
// Osmo Antero
___
gtk-app-devel-list mailing list
gtk-app-devel
sequence number. Only the thread
with highest sequence number can tick and change the GUI, others will
simply die away.
Now the project can progress.
Obrigado
Osmo Antero
On Wed, May 30, 2012 at 9:02 PM, David Nečas y...@physics.muni.cz wrote:
On Wed, May 30, 2012 at 08:30:40PM +0100, Osmo Antero
() macro works fine here and now, but can I trust it on all
*nix plattforms and GCC compilers.
Here is a código exemplo:
http://www.futuredesktop.org/tmp/test5.c
Compile and run it:
gcc test5.c -o test5 $(pkg-config --cflags --libs gdk-2.0)
./test5
TIA again.
Osmo Antero
http://www.futuredesktop.org
Very good.
This makes code much cleaner because I do not have to send around both the
type field and node separately. Now I simply
void func(gpointer node) {
switch (NODE_TYPE(node)) {
case TYPE_1:
...
case TYPE_2:
...
}
}
// Osmo Antero
On Sat
comments are welcome.
// Osmo Antero
/*
Adding GtkCellRendererCombo directly (as column) to the treeview, just to
study its behaviour.
GtkTreeStore *store = gtk_tree_store_new(NUM_COLS,
G_TYPE_INT,
G_TYPE_POINTER
Hello,
What if the GSourceFunc blocks for a longer time, eg. for 3 seconds time.
Does it freeze the GUI because it runs within the main-loop?
One possible approach:
My audio-recorder uses a message queue (g_async_queue_new()) to receive
data from various modules and threads.
Ref:
and optimally coded ;-)
The GNOME-desktop uses normally DConf as Gsettings backend. But that's
behind the curtains.
Bom fim de semana.
Osmo Antero
On Fri, Mar 1, 2013 at 10:45 AM, Geert Janssens i...@kobaltwit.be wrote:
Hi,
I'm working on replacing GConf with GSettings in the GnuCash
Hello,
I have made a small server for Audio-Recorder. Take a look at
dbus-server.[ch] modules.
http://bazaar.launchpad.net/~osmoma/audio-recorder/trunk/view/head:/src/
$ audio-recorder --help
can show the commands that can be sent to the server (to set or ask the
recording state).
// Osmo (Moma)
My audio-recorder that was based on GTK2 had some threads that also
modified the GUI-elements. I had to call
GDK_THREADS_ENTERhttps://developer.gnome.org/gdk3/3.10/gdk3-Threads.html#GDK-THREADS-ENTER:CAPS
/
:
https://launchpad.net/audio-recorder
Please enlighten me,
Osmo Antero
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Hello,
This code might work even you resize the window.
Please see: https://pastebin.com/GJMPwLU3
It draws the selected text in the "draw" event.
ps. I hard coded the PDF_DOC and FIND_TEXT values.
Feliz Natal,
moma, Portugal
Marius Gedminas escreveu no dia segunda, 3/12/2018 à(s)
17:12:
>
Re-hi,
I think the mark_text(...) function can be simplified.
Check also open_page(...).
Ref: https://pastebin.com/52dU2kv8
Feliz Natal
Moma
Osmo Antero escreveu no dia quarta, 19/12/2018 à(s)
20:08:
> Hello,
>
> This code might work even you resize the window.
> Pleas
Hello,
I am making a GTK3 application with GtkTreeView listing.
The simple listing will show country flags + names and number of
radio-channels (to later choose from).
I want to show a button or icon in a column (in the cell) when the row has
been selected.
Otherwise the cell should be empty
Hello,
Yes, g_desktop_app_info_search() is exactly what I need.
I will test it later.
Thanks a lot for your help.
// Moma
tito-wolit escreveu no dia segunda, 4/03/2019 à(s)
06:59:
>
>
> On 3/3/19 9:53 PM, Osmo Antero wrote:
> > Hello Tito,
> > Muito obrigado.
&g
Osmo Antero
20:53 (há 11 minutos)
para tito-wolit
Hello Tito,
Muito obrigado.
Thank you, the call with "kde4-" worked fine.
However, the "DesktopEntry" value from Amarok/DBus does not contain the
"kde4" part.
Please see the MRIS2-spec:
https://specifications.fre
ations/org.gnome.Totem.desktop
It is hard to co-operate on the Desktop when apps do stick to the damn
rules.
Boa noite,
Moma
Osmo Antero escreveu no dia domingo, 3/03/2019 à(s)
21:05:
>
> Osmo Antero
> 20:53 (há 11 minutos)
> para tito-wolit
>
> Hello Tito,
> Muito obrig
Hello,
I have an application that uses g_desktop_app_info_new() function to
find GDesktopAppInfo.
I just wonder why the g_desktop_app_info_new() FAILS to find the
GDesktopAppInfo if the .desktop file is in a sub directory
under usr/share/applications/.
So this fails:
GDesktopAppInfo *app_info =
I go down with the boat.
Emmanuele Bassi via gtk-app-devel-list
escreveu no dia quarta, 24/04/2019 à(s) 12:36:
> Hi all;
>
> next week, on May 1st, this list will be archived[0]. This means no new
> subscriptions, and no new email.
>
> If you have questions about GTK, GLib, and the rest of the
25 matches
Mail list logo