Questions tagged [gdk]

Used to tag things that relate to the GIMP Drawing Kit. The GIMP Drawing Kit is the low-level library that provides platform abstraction for the GTK+ widget toolkit.

Best used to tag things that relate to the GIMP Drawing Kit.

Unfortunately there's some overlap with which deals with the (Google) Glass Development Kit.

317 questions
0
votes
1 answer

Newbie: Render RGB to GTK widget -- howto?

Big picture: I want to render an RGB image via GTK on a linux box. I'm a frustrated GTK newbie, so please forgive me. I assume that I should create a Drawable_area in which to render the image -- correct? Do I then have to create a graphics context…
Billy Pilgrim
  • 1,842
  • 3
  • 22
  • 32
0
votes
1 answer

How to create voice command inside immersion app - gdk

I want to design a voice command to control(like a gesture) inside an app. for example, instead of, swipe-right to go next card, using voice command "next". Currently, I develop immersion card app, using gesture to control a cards.
0
votes
2 answers

Is there any gdk which is based on SDK 4.0.4?

For some reason I will develop a app in Google glass which is based on sdk 4.0.4(API 15). I know gdk is delivered with sdk 4.4.2(API 19), so i can't use it. Is there any gdk which is based on sdk 4.0.4 now? PS: I can't update system for Google glass…
David Sun
  • 3
  • 2
0
votes
1 answer

How to create a Gdk.Pixbuf from uint8[]

I have a uint8[] (that I got from a Gst.MapInfo.data) that represents an image (I don't know which format JPEG, PNG, etc) and I want to get a Gdk.Pixbuf out of it. The issue is that the only PixBuf constructor that would take a uint8[] also requires…
Name is carl
  • 5,961
  • 3
  • 29
  • 44
0
votes
1 answer

Close a GTK Window

Bear with me as I am very new to GTK and GDK. I am trying to cycle through several images, make modifications to them (draw a circle at various points), and take user input from stdin. I wrote C++ classes to wrap around the GTK framework so I can…
user3002273
0
votes
1 answer

SIGABRT signal from gdk_window_get_frame_clock

I am fairly new to GDK/GTK but I'm trying to make some C code thread-safe. (It's quite large otherwise I would post it here.) I was doing some stress tests and GDB stopped with an error: program received signal SIGABRT, aborted. The program halted…
Chris
  • 55
  • 8
0
votes
1 answer

How to have a GDK app stay active after the glass is removed from the head

I am developing an app which requires the gdk program to continue running as-is even after the device is removed from the head. Currently the program is paused when this happens seemingly by default, but I need the program to stay running because it…
Rboreal_Frippery
  • 2,016
  • 1
  • 19
  • 22
0
votes
1 answer

gstreamer and gdkpixbuf sink eats huge amounts of memory - possible leak

I have a simple program which reads GdkPixbufs from a video stream frame by frame. The problem is that the memory usage grows at about 300-400MB per second! That way my 8GB RAM are used up in no time. Valgrind / Cachegrind didn't point me anywhere…
0
votes
0 answers

TagLib-Sharp missing references: gdk & glib

I'd like to rebuild Taglib.dll from source code but in the solution there are some references missing. I tried to re-add them with NuGet and it worked for some, but gdk-sharp and glib-sharp are posing problems: Gdk doesn't show up in "manage NuGet…
progon
  • 1
  • 1
0
votes
1 answer

Update text of card in Google Glass

My Glass app is very simple. I have one static card and I set its text and display it in the overridden "onCreate()" method of my Activity: myCard.setText("First text"); View cardView = myCard.getView(); // Display the card we just…
MikeN
  • 3
  • 2
0
votes
1 answer

The function "GdkPixbuf.from_file" doesn't work well

I use Lablgtk and all functions except the function "GdkPixbuf.from_file" work well. I can compile the code including the function "GdkPixbuf.from_file", but I can't execute it. When I type the command "./programname" to execute it, I get an error:…
mmsss
  • 263
  • 1
  • 2
  • 7
0
votes
1 answer

Troubles getting up and running with GDK on Android Studio

So I'm new to Glass and really want to build something on it. I downloaded one of the samples and the error that Android Studio is giving me when I try to Run is Error: Default Activity not found. Being extremely new to Android/Glass/Java…
Alex Cory
  • 10,635
  • 10
  • 52
  • 62
0
votes
1 answer

How to scale GdkPixmap or XPixmap via X server?

I'm interested in offloading heavy computations from the X client. I think I can do so using XRender in some way, but I can't figure out how.
vitaly.v.ch
  • 2,485
  • 4
  • 26
  • 36
0
votes
1 answer

Is it possible to insert new card using mirror API to my APP in the Glass, and not to the main timeline?

I want to push card into my app in the Google Glass, and not to the timeline, my app in the glass contains cards with names of friends, I want to give ability to each one of the friends sending card under the friend name. I will be happy to know…
kimo
  • 1,864
  • 5
  • 23
  • 29
0
votes
1 answer

Google Glass Heating

I am having hard time developing apps for Google Glass. I have very simple app that uses Scandit bar code reader... The glass heats > 30 degrees in 5 minutes and becomes unresponsive. Anybody else encountered such a problem? Thanks.