titlebar

How can I hide the main window titlebar and place a transparent background in kivy framework?

对着背影说爱祢 提交于 2019-11-30 19:33:01
问题 I have a small problem and I am working on a small app that uses the python kivy gui framework. All i want is to hide the titlebar of the main window and make the background color transparent. I searched the net intensively but I couldn't find a solution for this. Does anyone know how to do this? Thanks 回答1: You can disable bar using kivy.config.Config . Set fullscreen as fake : from kivy.config import Config Config.set('graphics', 'fullscreen', 'fake') from kivy.app import App from kivy.uix

Android: Adding button to custom title bar

我与影子孤独终老i 提交于 2019-11-30 18:25:17
问题 I have created a custom title bar as shown in this example http://staticallytyped.wordpress.com/2011/03/18/android-dynamic-and-custom-title-bars/ "A custom title bar" - half way down. On some activities I would like to place a button on the right hand side of the titlebar (same as facebook app). I have attempted to add a button to the view as follows, but it doesn't appear. Custom title bar is displayed as follows requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); setContentView(R.layout

R flexdashboard remove title bar

好久不见. 提交于 2019-11-30 17:06:14
问题 I am working on a project using rMarkdown and the flexdashboard package from rStudio . Everything is coming together nicely. But I would like to remove the blue title bar you see at the top of the image here. We are dropping this html page into a window so it becomes a second title bar, which looks terrible. Is there a function in flexdashboard to remove this entire apparatus? Here is the YAML and the first chunk you see just below the blue bar in the photograph. Any suggestion would be

Changing the font of the application title in android

别来无恙 提交于 2019-11-30 15:22:33
I have a typeface, I want to change the font of the action-bar title in android. Is there a way to set title typeface like that? this.setTitle(myTitle.toUpperCase()); this.setTypefaceofTitle(tf); this is not a copy question, those methods on this link ( How to Set a Custom Font in the ActionBar Title? ) are not working. When I try them, eclipse gives that error : java.lang.noSuchMethodError Try this, int actionBarTitle = Resources.getSystem().getIdentifier("action_bar_title", "id", "android"); TextView actionBarTitleView = (TextView) getWindow().findViewById(actionBarTitle); Typeface

How to make title bar disappear in WPF window?

扶醉桌前 提交于 2019-11-30 12:26:49
问题 I know this has been asked before but I've tried answers: How to create a WPF Window without a border that can be resized via a grip only? How to remove the title bar from a window but keep the border and neither work, the title bar text sits there and im unable to move my grid up to the top of the window so that the grid takes up the whole window. I' am stuck on this. The XAML for the window : <Window x:Class="PlayWPF.TimerSlideWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml

Using Tkinter in python to edit the title bar

时光怂恿深爱的人放手 提交于 2019-11-30 12:23:41
问题 I am trying to add a custom title to a window but I am having troubles with it. I know my code isn't right but when I run it, it creates 2 windows instead, one with just the title tk and another bigger window with "Simple Prog". How do I make it so that the tk window has the title "Simple Prog" instead of having a new additional window. I dont think I'm suppose to have the Tk() part because when i have that in my complete code, there's an error from tkinter import Tk, Button, Frame, Entry,

C# - How can I rename a process window that I started?

南笙酒味 提交于 2019-11-30 10:02:04
Is there any way I can rename the window titlebar of an application that I've launched? I.e. if I launched Notepad.exe, I could rename its title bar from "Untitled - Notepad" to "New Notepad Name". You can do it using P/Invoke: [DllImport("user32.dll")] static extern int SetWindowText(IntPtr hWnd, string text); private void StartMyNotepad() { Process p = Process.Start("notepad.exe"); Thread.Sleep(100); // <-- ugly hack SetWindowText(p.MainWindowHandle, "My Notepad"); } The background of the ugly hack in the code sample is that it seems as if you call SetWindowText immediately after starting

Title Bar Buttons and Custom Title Bars

雨燕双飞 提交于 2019-11-30 05:27:15
I have created a custom title bar view for a blackened NSWindow (style 0), so that I can have it disappear in a similar manner to Quicktime X. The only problem is, the buttons don't respond to mouse over and mouse move actions on the title bar can get combined with pressing in the buttons. The full source code is here: https://github.com/iaefai/OrganicUI under Classes/ORTitleBar.m and ORWindow.m. The buttons are standard from this method: self.closeButton = [NSWindow standardWindowButton: NSWindowCloseButton forStyleMask:NSTexturedBackgroundWindowMask]; Then positioned: [self.closeButton

Hiding title bar / notification bar when device is oriented to landscape

杀马特。学长 韩版系。学妹 提交于 2019-11-30 04:22:34
问题 I want my title bar to be hidden when I turn my device to landscape. I have seen the XML option to hide the title bar, and the following example of doing it programmatically: //Remove title bar this.requestWindowFeature(Window.FEATURE_NO_TITLE); //Remove notification bar this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); BUT, I am using configChanges parameter for orientation and screenSize , so my activity is not re-created

Using Tkinter in python to edit the title bar

徘徊边缘 提交于 2019-11-30 02:38:41
I am trying to add a custom title to a window but I am having troubles with it. I know my code isn't right but when I run it, it creates 2 windows instead, one with just the title tk and another bigger window with "Simple Prog". How do I make it so that the tk window has the title "Simple Prog" instead of having a new additional window. I dont think I'm suppose to have the Tk() part because when i have that in my complete code, there's an error from tkinter import Tk, Button, Frame, Entry, END class ABC(Frame): def __init__(self,parent=None): Frame.__init__(self,parent) self.parent = parent