GTK Widget for volume control bar - widget

I want this kind of volume control bar shown in image. Is there any GtkWidget or separate package i can download and run? I've already searched but didn't found anything.
I was thinking about using it on polybar, like on Windows, when you click the volume icon and the volume control bar pops-up. Also, it would be nice the bar didn't had that little protrusion below, as i use the bar in the top of the screen but it doesn't necessarily needs to, any bar similar to this one would fit.
Thanks,
Erick César

Here it is: GtkVolumeButton :)

Related

How can I redesign octave

I downloaded octave and accidentally pressed some buttons which changed the design of the software to be more specific it doesn't look like how my professor at university was working with it . Could you please help me to fix it in order to look like how it did in the beginning?
I upload a picture of how it looks like now
OK, it appears you are only looking at the Editor window, which is normally docked with other windows like the command window, documentation, etc. It also appears to be maximized, hiding everything else.
In the upper right you see two icons, one that looms like an x, and one that looks like two overlapping squares (two windows). If you click the x, that should close the editor and you should be able to see the rest of your desktop including the rest of the octave GUI. If you cannot see octave anywhere, of you are in Windows try using ALT-Tab or clicking on Octave in the task bar to make the window visible.
In the main octave window there should be a "Reset Default Window Layout" menu item under the Window menu. That should restore everything to the default layout without having to go to the trouble of a full reinstall.
The following YouTube video doesn't exactly match your problem, but it does show how to change and restore the GUI layout:
https://youtu.be/0USOvYHLqSU

How to remove info bar when opening a webpage shortcut as a window (Google Chrome Browser)?

I use a program called Organizr that runs in the browser and in order to make it easier to use I use the create shortcut option in chrome and check the box to have it open as a window. This is nice because it doesn't have the address bar/tabs/bookmarks bloat from the main browser but the issue is that it has a wide white bar across the top with site information, and it doesn't go away when I make the window fullscreen which is problematic since I use Organizr to access my Plex library and watch videos. Can anyone advise on how to hide/remove this info bar from the window?
There's the thin bar at the very top that just says Organizr and that is fine, but the bar below it with the (i) and it says Organizr V2 and localhost is what I'm talking about.
(This is a repost from https://support.google.com/chrome/thread/8422935?hl=en)
I'm late here and what I'm going to propose here is not even a real solution because it slightly change the window's top bar (at least on edge chromium it becomes white and you can't manage anymore addons and other things):
add this option --app=https://www.yoursitehere.domainhere (replace yoursite.domainhere with the link of the site you want see as app) to the destination (in shortcut property).
If you find any other solution would be awesome

How can remove the circle of ApplicationBarIconButton in windows phone?

I create the Application Bar with 4 icon Buttons and 3 normal menus. It's working fine.
But i don't want, the circle around the icon button. How can i remove that.
And another one question is how to see the icon button text in normally. That means i click the more icon that time icon button visible. But i want no using more button and want to see the icon button text. It's Possible.
Please Help Me.Thanks In Advance.
you cannot remove the circle, neither you can "expand" the application bar so you can see the labels of each button. It is simply against the Windows Phone UI.
But as it is .NET, you can easily create your own buttons bar at the bottom of your page. Of course, it might be difficult to implement the UI logic for you menu items so they behave like the native application bar does (you could consider using the build-in application bar for you menu items and set its mode to "Minimized").
But: why would you do all this? In my opinion, apps should follow all UI guidelines and should all look the same (especially when compared to native apps) ;-)
Greetings

Monodevelop: can't drag widgets

I am trying to use monodevelop. Just at the beginning I came across an issue:
I was following a tutorial on building a Gtk application (http://monodevelop.com/Stetic_GUI_Designer). I was trying to drag a button from the Widgets Palette. Nothing happened. I'd been trying quite a few times without any luck.
After a break I launched monodevelop again and I simply placed a button on the window of the application. After that I removed it, dragged VBox container, and placed menu bar on the window, according to the tutorial instructions. I was pleasantly surprised.
By the second try the same problem occurred - I was not able to drag any widgets. Dragging was beginning, there was a “+” sign at the cursor and then - nothing was happening. I cannot figure out what happened by the first time, what the difference was. Have anyone had a similar problem? Monodevelop looks promising, but I can't go on with it. (I tried placing 'Fixed' container on the window, with no result - I could not drag it.)
(monodevelop v. 2.4, ubuntu 11.04, Polish language.
I did look for an answer to my problem, without much luck, that is why I post this question. The problem is described quite precisely. There is a probability that others encountered the same issue.)
You need to drag a container on the form first before you can add widgets to it. The VBox container is an example of a place where you can put your widgets.
If you want to place widgets where ever you want you can use the Fixed container. If you want things to align you can use the VBox, HBox or Table containers. Placing in a widget in one of the fields will automatically adjust the size of this field to fit the widget you have dragged into it.
So basically,
Create a form
Drag a container on the form
Drag a widget inside the container.
These widgets are not to be confused with the custom made widgets (in your Solution browser, right click the folder User Interfaces and click Add Widget...). These are like forms. I use these to create GUI's in advance so I can call these while the program is running.
FYI: if you want to create code for a widget (like a button) you can't just double click it like in Visual Studio. You need to select it, the go to the properties pane, and change the tab from Properties to Signals. You can then double click the "signal" to create the event for which you want to create code. For a button this is usually the Clicked event (somewhere at the bottom of the list, you'll need to open the Button Signals)
You can always visit the IRC channel of Monodevelop on irc://irc.gimp.org/monodevelop (IRC.Gimp.org #monodevelop)
I also sit in this channel and can help with smaller problems and I also still use Monodevelop 2.4.

PyGTK: Packing widgets before tabs in a gtk.Notebook

Basically, what I want to do is put some buttons before the tabs in a gtk.Notebook. I tried making my own notebook type widget and it worked well, but it would have required lots more work to make it as flexible as I would like, also it wasn't as efficient.
Here is a mock-up of what I'm trying to achieve: http://imagebin.ca/view/84SC0d.html
Any ideas would be much appreciated, thanks.
Ben.
You might be interested to know that this functionality has been added in GTK 2.20, see "Changes in GtkNotebook" in the following announcement: http://mail.gnome.org/archives/gtk-devel-list/2010-March/msg00132.html
It's a hack, but you can put your widgets on a separate tab, and then prevent the tab from being clicked by registering the following switch-page event for the notebook:
def onTabsSwitchPage(self, notebook, page_notUsableInPython, pageNumber):
# Don't allow to switch to the dummy tab containing widgets
if pageNumber == <put correct tab number here>:
notebook.stop_emission("switch-page")
Note that this doesn't look good with all GTK themes, but it works...
I don't think there's any way to do it without making your own notebook widget. There are a couple of hacks. One was posted by AndiDog. Another is to hide the tabs altogether (notebook.set_show_tabs(False)) and make a toolbar with buttons above the widget, with your buttons on the left, plus one button for each tab in the notebook that switches to that page.
Instead of making your own notebook-type widget from scratch, you could inherit from gtk.Notebook, overriding some of the methods like expose_event, size_request, and size_allocate, in order to deal with two types of container children: pages and buttons. I don't know how to do this in PyGTK though, only in C.
You might also consider whether the buttons in the tab space are really what you want. What if the user resizes your notebook small enough that some of the tabs disappear? Where do the previous tab/next tab arrows go? What happens to the buttons?